/* /Components/Layout/MainLayout.razor.rz.scp.css */


[b-91g9i2ht84] .mud-nav-link {
    font-family: 'Inter', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    color: var(--slate-400) !important;
    border-radius: 8px !important;
    margin: 2px 12px !important;
    padding: 8px 12px !important;
    transition: all 0.2s ease;
}

[b-91g9i2ht84] .mud-nav-link:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
    color: #FFFFFF !important;
}

[b-91g9i2ht84] .mud-nav-link.active {
    background-color: var(--slate-800) !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
}

[b-91g9i2ht84] .mud-nav-link.active .mud-nav-link-icon-default {
    color: #FFFFFF !important;
}

[b-91g9i2ht84] .mud-nav-link-icon-default {
    color: var(--slate-500) !important;
    width: 20px !important;
    height: 20px !important;
    margin-right: 12px !important;
}

[b-91g9i2ht84] .mud-nav-group .mud-nav-link-text {
    font-weight: 500;
}

.search-container[b-91g9i2ht84] {
    background-color: var(--slate-50);
    border: 1px solid var(--slate-200);
    border-radius: 6px;
    padding: 0 12px;
    width: 100%;
    max-width: 600px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s ease;
}

.search-container:hover[b-91g9i2ht84] {
    background-color: var(--slate-100);
}

.search-kbd[b-91g9i2ht84] {
    background-color: #FFFFFF;
    border: 1px solid var(--slate-200);
    border-radius: 4px;
    padding: 2px 6px;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    color: var(--slate-500);
    font-weight: 500;
    display: flex;
    align-items: center;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

[b-91g9i2ht84] .sidebar-header {
    color: #64748B;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 16px 16px 4px 24px;
    text-transform: uppercase;
}


#blazor-error-ui[b-91g9i2ht84] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-91g9i2ht84] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-1wy418q9aq] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
}

.navbar-toggler:checked[b-1wy418q9aq] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-1wy418q9aq] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-1wy418q9aq] {
    font-size: 1.1rem;
}

.bi[b-1wy418q9aq] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-1wy418q9aq] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-plus-square-fill-nav-menu[b-1wy418q9aq] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-1wy418q9aq] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.nav-item[b-1wy418q9aq] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-1wy418q9aq] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-1wy418q9aq] {
        padding-bottom: 1rem;
    }

    .nav-item[b-1wy418q9aq]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-1wy418q9aq]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-1wy418q9aq]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-1wy418q9aq] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-1wy418q9aq] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-1wy418q9aq] {
        display: none;
    }

    .nav-scrollable[b-1wy418q9aq] {

        display: block;


        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-p6pq4oins6],
.components-reconnect-repeated-attempt-visible[b-p6pq4oins6],
.components-reconnect-failed-visible[b-p6pq4oins6],
.components-pause-visible[b-p6pq4oins6],
.components-resume-failed-visible[b-p6pq4oins6],
.components-rejoining-animation[b-p6pq4oins6] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-p6pq4oins6],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-p6pq4oins6],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-p6pq4oins6],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-p6pq4oins6],
#components-reconnect-modal.components-reconnect-retrying[b-p6pq4oins6],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-p6pq4oins6],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-p6pq4oins6],
#components-reconnect-modal.components-reconnect-failed[b-p6pq4oins6],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-p6pq4oins6] {
    display: block;
}


#components-reconnect-modal[b-p6pq4oins6] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-p6pq4oins6 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-p6pq4oins6 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-p6pq4oins6 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-p6pq4oins6]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-p6pq4oins6 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-p6pq4oins6 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-p6pq4oins6 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-p6pq4oins6 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-p6pq4oins6] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-p6pq4oins6] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-p6pq4oins6] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-p6pq4oins6] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-p6pq4oins6] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-p6pq4oins6] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-p6pq4oins6] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-p6pq4oins6 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-p6pq4oins6] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-p6pq4oins6 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Shared/PurchaseOrderPreview.razor.rz.scp.css */
.preview-container[b-11k1p4vd5w] {
    background: white;
    padding: 0 40px 32px 40px;
    max-width: 1100px;
    margin: 0 auto;
}

.back-button-container[b-11k1p4vd5w] {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 8px;
}

.preview-content[b-11k1p4vd5w] {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #1a1a2e;
}

/* â”€â”€ Header â”€â”€ */
.preview-header[b-11k1p4vd5w] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    gap: 24px;
}

.po-title[b-11k1p4vd5w] {
    font-size: 28px;
    font-weight: 800;
    margin: 0 0 6px 0;
    color: #0f172a;
    letter-spacing: -0.5px;
}

.po-number[b-11k1p4vd5w] {
    font-size: 20px;
    color: #2563eb;
    font-weight: 700;
}

.header-right[b-11k1p4vd5w] {
    text-align: right;
}

.company-name[b-11k1p4vd5w] {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.company-address[b-11k1p4vd5w] {
    font-size: 13px;
    color: #64748b;
    white-space: pre-line;
    line-height: 1.5;
}

/* â”€â”€ Divider â”€â”€ */
.divider[b-11k1p4vd5w] {
    height: 2px;
    background: linear-gradient(to right, #2563eb, #e2e8f0);
    margin: 0 0 24px 0;
    border-radius: 2px;
}

/* â”€â”€ Info Section â”€â”€ */
.info-section[b-11k1p4vd5w] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    gap: 40px;
}

.section-label[b-11k1p4vd5w] {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.manufacturer-name[b-11k1p4vd5w] {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 4px;
}

.manufacturer-address[b-11k1p4vd5w],
.manufacturer-email[b-11k1p4vd5w] {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 3px;
    white-space: pre-line;
    line-height: 1.5;
}

.po-details[b-11k1p4vd5w] {
    min-width: 260px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 14px 18px;
}

.detail-row[b-11k1p4vd5w] {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 8px;
    font-size: 13px;
}

.detail-row:last-child[b-11k1p4vd5w] {
    margin-bottom: 0;
}

.detail-label[b-11k1p4vd5w] {
    color: #64748b;
    white-space: nowrap;
}

.detail-value[b-11k1p4vd5w] {
    color: #0f172a;
    font-weight: 600;
    text-align: right;
}

/* â”€â”€ Design Option Header â”€â”€ */
.design-option-header[b-11k1p4vd5w] {
    background: #eff6ff;
    border-left: 3px solid #2563eb;
    padding: 10px 16px;
    border-radius: 0 6px 6px 0;
    font-weight: 700;
    font-size: 13px;
    color: #1d4ed8;
    margin-bottom: 12px;
    margin-top: 24px;
}

/* â”€â”€ Line Items Table â”€â”€ */
.line-items-section[b-11k1p4vd5w] {
    margin-bottom: 8px;
}

.line-items-table[b-11k1p4vd5w] {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.line-items-table thead[b-11k1p4vd5w] {
    background: #f1f5f9;
}

.line-items-table th[b-11k1p4vd5w] {
    padding: 11px 14px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
    border-bottom: 2px solid #e2e8f0;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.line-items-table td[b-11k1p4vd5w] {
    padding: 12px 14px;
    font-size: 13px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    color: #334155;
}

.line-items-table tbody tr:last-child td[b-11k1p4vd5w] {
    border-bottom: none;
}

.line-items-table tbody tr:hover[b-11k1p4vd5w] {
    background: #f8fafc;
}

.col-description[b-11k1p4vd5w] {
    width: 28%;
}

.col-sizes[b-11k1p4vd5w] {
    width: 32%;
}

.col-qty[b-11k1p4vd5w] {
    width: 10%;
    text-align: right;
}

.col-price[b-11k1p4vd5w] {
    width: 15%;
    text-align: right;
}

.col-total[b-11k1p4vd5w] {
    width: 15%;
    text-align: right;
}

th.col-qty[b-11k1p4vd5w],
th.col-price[b-11k1p4vd5w],
th.col-total[b-11k1p4vd5w] {
    text-align: right;
}

.description-cell[b-11k1p4vd5w] {
    vertical-align: top;
}

.description-with-thumb[b-11k1p4vd5w] {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.line-item-thumb[b-11k1p4vd5w] {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid #e2e8f0;
    background: #fff;
    flex-shrink: 0;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
}

.description-text[b-11k1p4vd5w] {
    min-width: 0;
}

.item-description[b-11k1p4vd5w] {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3px;
    font-size: 13px;
}

.item-garment-type[b-11k1p4vd5w] {
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
}

.sizes-cell[b-11k1p4vd5w] {
    font-size: 12px;
    color: #475569;
    line-height: 1.4;
    vertical-align: top;
}

.sizes-list[b-11k1p4vd5w] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    align-items: flex-start;
}

.size-tag[b-11k1p4vd5w] {
    white-space: nowrap;
    font-size: 11px;
    color: #475569;
}

.qty-cell[b-11k1p4vd5w] {
    text-align: right;
    font-weight: 600;
    color: #0f172a;
}

.price-cell[b-11k1p4vd5w],
.total-cell[b-11k1p4vd5w] {
    text-align: right;
    font-weight: 600;
    color: #0f172a;
}

/* â”€â”€ Totals â”€â”€ */
.totals-section[b-11k1p4vd5w] {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
    margin-bottom: 32px;
}

.totals-box[b-11k1p4vd5w] {
    min-width: 300px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: #f8fafc;
}

.total-row[b-11k1p4vd5w] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 18px;
    font-size: 14px;
    border-bottom: 1px solid #e2e8f0;
}

.total-row:last-child[b-11k1p4vd5w] {
    border-bottom: none;
}

.total-label[b-11k1p4vd5w] {
    color: #64748b;
    font-weight: 500;
}

.total-value[b-11k1p4vd5w] {
    font-weight: 700;
    color: #0f172a;
}

.grand-total[b-11k1p4vd5w] {
    background: #eff6ff;
    border-top: 2px solid #2563eb !important;
    font-size: 16px;
}

.grand-total .total-label[b-11k1p4vd5w] {
    font-weight: 700;
    color: #1d4ed8;
}

.grand-total .total-value[b-11k1p4vd5w] {
    font-weight: 800;
    color: #1d4ed8;
}

/* â”€â”€ Notes â”€â”€ */
.notes-section-wrapper[b-11k1p4vd5w] {
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notes-block[b-11k1p4vd5w] {
    border-radius: 8px;
    border: 1px solid;
    overflow: hidden;
}

.notes-manufacturer[b-11k1p4vd5w] {
    border-color: #bfdbfe;
    background: #eff6ff;
}

.notes-internal[b-11k1p4vd5w] {
    border-color: #fed7aa;
    background: #fff7ed;
}

.notes-heading[b-11k1p4vd5w] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    border-bottom: 1px solid;
}

.notes-manufacturer .notes-heading[b-11k1p4vd5w] {
    color: #1d4ed8;
    border-color: #bfdbfe;
    background: #dbeafe;
}

.notes-internal .notes-heading[b-11k1p4vd5w] {
    color: #c2410c;
    border-color: #fed7aa;
    background: #ffedd5;
}

.notes-icon[b-11k1p4vd5w] {
    font-size: 14px;
}

.notes-badge[b-11k1p4vd5w] {
    margin-left: auto;
    background: #f97316;
    color: white;
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.notes-body[b-11k1p4vd5w] {
    padding: 12px 16px;
    font-size: 13px;
    color: #334155;
    line-height: 1.6;
    white-space: pre-line;
}

/* â”€â”€ Footer â”€â”€ */
.footer-section[b-11k1p4vd5w] {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    font-size: 12px;
    border-top: 1px solid #e2e8f0;
    color: #94a3b8;
    line-height: 1.7;
}

.footer-contact[b-11k1p4vd5w] {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

/* â”€â”€ Action Buttons â”€â”€ */
.preview-actions[b-11k1p4vd5w] {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 28px;
    padding: 20px;
}

@page {
    size: auto;
    margin: 0.35in;
}

@media print {
    :global(*)[b-11k1p4vd5w] {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }

    :global(html)[b-11k1p4vd5w],
    :global(body)[b-11k1p4vd5w] {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: white !important;
    }

    /* Hide app chrome (display:none avoids visibility offset bug) */
    :global(.mud-appbar)[b-11k1p4vd5w],
    :global(.mud-drawer)[b-11k1p4vd5w],
    :global(.mud-drawer-overlay)[b-11k1p4vd5w],
    :global(.mud-nav-menu)[b-11k1p4vd5w],
    :global(.mud-tabs-toolbar)[b-11k1p4vd5w],
    :global(.no-print)[b-11k1p4vd5w],
    :global(.d-print-none)[b-11k1p4vd5w],
    .back-button-container[b-11k1p4vd5w],
    .preview-actions[b-11k1p4vd5w],
    :global(.intake-page > .mud-stack)[b-11k1p4vd5w] {
        display: none !important;
    }

    /* Only print the tab that contains the PO preview */
    :global(.mud-tabs-panels > .mud-tab-panel:not(:has(#purchaseOrderPreview)))[b-11k1p4vd5w] {
        display: none !important;
    }

    /* Collapse Mud layout shells so they do not reserve viewport space */
    :global(.mud-layout)[b-11k1p4vd5w],
    :global(.mud-drawer-container)[b-11k1p4vd5w],
    :global(.mud-main-content)[b-11k1p4vd5w],
    :global(.intake-page)[b-11k1p4vd5w],
    :global(.mud-container)[b-11k1p4vd5w],
    :global(.mud-tabs)[b-11k1p4vd5w],
    :global(.mud-tabs-panels)[b-11k1p4vd5w],
    :global(.mud-tab-panel)[b-11k1p4vd5w],
    :global(.mud-paper:has(#purchaseOrderPreview))[b-11k1p4vd5w],
    :global(.mud-paper .mud-paper:has(#purchaseOrderPreview))[b-11k1p4vd5w] {
        display: block !important;
        position: static !important;
        width: 100% !important;
        max-width: none !important;
        min-height: 0 !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        box-shadow: none !important;
        border: none !important;
        background: transparent !important;
        transform: none !important;
        filter: none !important;
    }

    #purchaseOrderPreview[b-11k1p4vd5w] {
        display: block !important;
        position: static !important;
        left: auto !important;
        top: auto !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        background: white !important;
        box-shadow: none !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    .preview-content[b-11k1p4vd5w] {
        font-family: 'Segoe UI', Arial, sans-serif !important;
    }

    .preview-header[b-11k1p4vd5w] {
        display: flex !important;
        justify-content: space-between !important;
        margin-bottom: 18px !important;
        page-break-after: avoid !important;
    }

    .info-section[b-11k1p4vd5w] {
        page-break-inside: avoid !important;
        margin-bottom: 16px !important;
    }

    .divider[b-11k1p4vd5w] {
        height: 2px !important;
        background: #2563eb !important;
        margin-bottom: 18px !important;
    }

    .po-details[b-11k1p4vd5w] {
        border: 1px solid #cbd5e1 !important;
        border-radius: 6px !important;
        background: #f8fafc !important;
        padding: 12px 16px !important;
    }

    .line-items-section[b-11k1p4vd5w] {
        margin-bottom: 8px !important;
    }

    .line-items-table[b-11k1p4vd5w] {
        border: 1px solid #cbd5e1 !important;
        width: 100% !important;
        border-collapse: collapse !important;
        table-layout: fixed !important;
        page-break-inside: auto !important;
    }

    .line-items-table thead[b-11k1p4vd5w] {
        display: table-header-group !important;
        background: #f1f5f9 !important;
    }

    .line-items-table th[b-11k1p4vd5w] {
        border-bottom: 2px solid #cbd5e1 !important;
        padding: 8px 10px !important;
        font-weight: 700 !important;
        font-size: 11px !important;
    }

    th.col-qty[b-11k1p4vd5w],
    th.col-price[b-11k1p4vd5w],
    th.col-total[b-11k1p4vd5w] {
        text-align: right !important;
    }

    .line-items-table td[b-11k1p4vd5w] {
        border-bottom: 1px solid #e2e8f0 !important;
        padding: 8px 10px !important;
        font-size: 12px !important;
    }

    .qty-cell[b-11k1p4vd5w],
    .price-cell[b-11k1p4vd5w],
    .total-cell[b-11k1p4vd5w] {
        text-align: right !important;
        vertical-align: top !important;
    }

    /* Keep each line item on one page; avoid orphaned row fragments */
    .line-items-table tbody tr[b-11k1p4vd5w] {
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    .sizes-list[b-11k1p4vd5w] {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 3px 8px !important;
    }

    .size-tag[b-11k1p4vd5w] {
        white-space: nowrap !important;
        font-size: 10px !important;
    }

    .design-option-header[b-11k1p4vd5w] {
        background: #eff6ff !important;
        border-left: 3px solid #2563eb !important;
        padding: 8px 14px !important;
        page-break-after: avoid !important;
        break-after: avoid !important;
        page-break-inside: avoid !important;
    }

    .design-option-header+.line-items-table[b-11k1p4vd5w] {
        page-break-before: avoid !important;
    }

    .totals-section[b-11k1p4vd5w] {
        display: flex !important;
        justify-content: flex-end !important;
        margin-top: 8px !important;
        margin-bottom: 16px !important;
        page-break-inside: avoid !important;
    }

    .totals-box[b-11k1p4vd5w] {
        min-width: 280px !important;
        border: 1px solid #cbd5e1 !important;
        border-radius: 6px !important;
        overflow: hidden !important;
        background: #f8fafc !important;
    }

    .total-row[b-11k1p4vd5w] {
        display: flex !important;
        justify-content: space-between !important;
        padding: 9px 16px !important;
        border-bottom: 1px solid #e2e8f0 !important;
    }

    .total-row:last-child[b-11k1p4vd5w] {
        border-bottom: none !important;
    }

    .grand-total[b-11k1p4vd5w] {
        background: #eff6ff !important;
        border-top: 2px solid #2563eb !important;
    }

    .notes-section-wrapper[b-11k1p4vd5w] {
        margin-bottom: 16px !important;
        page-break-inside: avoid !important;
    }

    .notes-block[b-11k1p4vd5w] {
        border: 1px solid !important;
        border-radius: 6px !important;
        overflow: hidden !important;
        margin-bottom: 10px !important;
        page-break-inside: avoid !important;
    }

    .notes-manufacturer[b-11k1p4vd5w] {
        border-color: #bfdbfe !important;
        background: #eff6ff !important;
    }

    .notes-internal[b-11k1p4vd5w] {
        border-color: #fed7aa !important;
        background: #fff7ed !important;
    }

    .notes-heading[b-11k1p4vd5w] {
        padding: 8px 14px !important;
        border-bottom: 1px solid !important;
    }

    .notes-manufacturer .notes-heading[b-11k1p4vd5w] {
        background: #dbeafe !important;
        border-color: #bfdbfe !important;
    }

    .notes-internal .notes-heading[b-11k1p4vd5w] {
        background: #ffedd5 !important;
        border-color: #fed7aa !important;
    }

    .notes-badge[b-11k1p4vd5w] {
        background: #f97316 !important;
        color: white !important;
        padding: 1px 7px !important;
        border-radius: 10px !important;
    }

    .notes-body[b-11k1p4vd5w] {
        padding: 10px 14px !important;
    }

    .footer-section[b-11k1p4vd5w] {
        border-top: 1px solid #e2e8f0 !important;
        padding-top: 12px !important;
        margin-top: 16px !important;
        page-break-inside: avoid !important;
    }
}
