/* /Layout/MainLayout.razor.rz.scp.css */
.fd-shell[b-r4abyt767u] {
    min-height: 100dvh;
    background: var(--fd-background);
}

.fd-main[b-r4abyt767u] {
    padding-bottom: var(--fd-nav-height);
}

@media (min-width: 768px) {
    .fd-main[b-r4abyt767u] {
        padding-bottom: 0;
        padding-left: var(--fd-sidebar-width);
    }
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* Mobile: fixed bottom bar */
.fd-nav[b-tn3f5ds1po] {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--fd-nav-height);
    background: var(--fd-surface);
    border-top: 1px solid var(--fd-border);
    display: flex;
    align-items: center;
    justify-content: space-around;
    z-index: 200;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.fd-nav-item[b-tn3f5ds1po] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 10px;
    color: var(--fd-text-muted);
    text-decoration: none;
    border-radius: var(--fd-radius-sm);
    transition: color 0.15s;
    min-width: 56px;
}

.fd-nav-item.active[b-tn3f5ds1po] {
    color: var(--fd-primary-dark);
}

.fd-nav-icon[b-tn3f5ds1po] {
    width: 24px;
    height: 24px;
}

.fd-nav-label[b-tn3f5ds1po] {
    font-size: 10.5px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.fd-nav-desktop[b-tn3f5ds1po] {
    display: none;
}

/* Tablet / Desktop: fixed left sidebar */
@media (min-width: 768px) {
    .fd-nav[b-tn3f5ds1po] {
        top: 0;
        right: auto;
        bottom: 0;
        width: var(--fd-sidebar-width);
        height: 100dvh;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        border-top: none;
        border-right: 1px solid var(--fd-border);
        padding: 24px 12px;
        gap: 4px;
        overflow-y: auto;
    }

    .fd-nav-item[b-tn3f5ds1po] {
        flex-direction: row;
        gap: 12px;
        padding: 12px 16px;
        min-width: unset;
        justify-content: flex-start;
    }

    .fd-nav-item.active[b-tn3f5ds1po] {
        background: var(--fd-primary-soft);
        color: var(--fd-primary-dark);
    }

    .fd-nav-label[b-tn3f5ds1po] {
        font-size: 14px;
        font-weight: 500;
    }

    .fd-nav-desktop[b-tn3f5ds1po] {
        display: flex;
    }

}
/* /Pages/Customers/CustomerLookup.razor.rz.scp.css */
.cust-header[b-bnrzj20r0h] {
    background: linear-gradient(135deg, var(--fd-primary) 0%, var(--fd-primary-soft) 100%);
    padding: 20px 20px 28px;
    padding-top: calc(20px + env(safe-area-inset-top, 0px));
}

.cust-title[b-bnrzj20r0h] {
    font-size: 26px;
    color: white;
}

.cust-body[b-bnrzj20r0h] {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-input-wrap[b-bnrzj20r0h] {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--fd-surface);
    border: 1.5px solid var(--fd-border);
    border-radius: var(--fd-radius);
    padding: 14px 16px;
    box-shadow: var(--fd-shadow);
}

.mobile-input[b-bnrzj20r0h] {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    color: var(--fd-text);
    background: transparent;
    font-family: inherit;
}

.mobile-input[b-bnrzj20r0h]::placeholder { color: var(--fd-text-muted); }

.mobile-go-btn[b-bnrzj20r0h] {
    width: 40px;
    height: 40px;
    background: var(--fd-primary);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s;
}

.mobile-go-btn:disabled[b-bnrzj20r0h] {
    background: var(--fd-border);
    cursor: default;
}


.cust-card[b-bnrzj20r0h] {
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: transform 0.1s;
}

.cust-card:active[b-bnrzj20r0h] { transform: scale(0.99); }

.cust-avatar[b-bnrzj20r0h] {
    width: 46px;
    height: 46px;
    background: var(--fd-primary-soft);
    color: var(--fd-primary-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    flex-shrink: 0;
}

.cust-info[b-bnrzj20r0h] { flex: 1; }

.cust-name[b-bnrzj20r0h] {
    font-size: 15px;
    font-weight: 500;
}

.cust-mobile[b-bnrzj20r0h] {
    font-size: 13px;
    color: var(--fd-text-muted);
    margin-top: 2px;
}

.cust-meta[b-bnrzj20r0h] {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cust-orders[b-bnrzj20r0h] {
    font-size: 12px;
    color: var(--fd-text-muted);
    font-weight: 500;
}

.input-icon[b-bnrzj20r0h] { color: var(--fd-text-muted); flex-shrink: 0; }
.cust-chevron[b-bnrzj20r0h] { color: var(--fd-border); }
/* /Pages/Customers/MemberDetail.razor.rz.scp.css */
.md-header[b-qzcq1wprll] {
    background: linear-gradient(135deg, var(--fd-primary) 0%, var(--fd-primary-soft) 100%);
    padding: 20px 20px 20px;
    padding-top: calc(20px + env(safe-area-inset-top, 0px));
}

.md-header-row[b-qzcq1wprll] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.md-back[b-qzcq1wprll] {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.md-header-info[b-qzcq1wprll] { flex: 1; }

.md-name[b-qzcq1wprll] {
    font-size: 22px;
    color: white;
}

.md-rel[b-qzcq1wprll] {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 2px;
}

.md-edit-btn[b-qzcq1wprll] {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    flex-shrink: 0;
}

.md-stats[b-qzcq1wprll] {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--fd-radius-sm);
    padding: 12px 0;
}

.md-stat[b-qzcq1wprll] {
    flex: 1;
    text-align: center;
}

.md-stat-value[b-qzcq1wprll] {
    font-size: 20px;
    color: white;
}

.md-stat-balance[b-qzcq1wprll] { color: rgba(255, 255, 255, 0.9); }

.md-stat-label[b-qzcq1wprll] {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
}

.md-stat-divider[b-qzcq1wprll] {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.25);
}

.md-body[b-qzcq1wprll] {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.md-card-title[b-qzcq1wprll] { margin-bottom: 14px; }

.md-fields[b-qzcq1wprll] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.md-optional[b-qzcq1wprll] {
    font-size: 11px;
    font-weight: 400;
    color: var(--fd-text-muted);
}

.md-edit-actions[b-qzcq1wprll] {
    display: flex;
    gap: 10px;
    margin-top: 16px;
}

.md-btn-cancel[b-qzcq1wprll] {
    flex: 1;
    padding: 12px;
    background: var(--fd-background);
    color: var(--fd-text-muted);
    border: 1.5px solid var(--fd-border);
    border-radius: var(--fd-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.md-btn-save[b-qzcq1wprll] {
    flex: 1;
    padding: 12px;
    background: var(--fd-primary);
    color: white;
    border: none;
    border-radius: var(--fd-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.md-profile-card[b-qzcq1wprll] {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.1s;
}

.md-profile-card:active[b-qzcq1wprll] { transform: scale(0.99); }

.md-profile-icon[b-qzcq1wprll] {
    width: 40px;
    height: 40px;
    background: var(--fd-primary-soft);
    color: var(--fd-primary-dark);
    border-radius: var(--fd-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.md-profile-info[b-qzcq1wprll] { flex: 1; }

.md-profile-name[b-qzcq1wprll] {
    font-size: 14px;
    font-weight: 600;
}

.md-profile-date[b-qzcq1wprll] {
    font-size: 12px;
    color: var(--fd-text-muted);
    margin-top: 2px;
}

.md-chevron[b-qzcq1wprll] { color: var(--fd-border); }

.md-order-card[b-qzcq1wprll] {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 10px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.1s;
}

.md-order-card:active[b-qzcq1wprll] { transform: scale(0.99); }

.md-order-top[b-qzcq1wprll] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.md-order-number[b-qzcq1wprll] {
    font-size: 14px;
    font-weight: 500;
}

.md-order-amount[b-qzcq1wprll] {
    font-size: 14px;
    font-weight: 600;
    color: var(--fd-primary-dark);
}

.md-stage-bar[b-qzcq1wprll] { margin: 0; }

.md-new-order-btn[b-qzcq1wprll] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: var(--fd-primary);
    color: white;
    border-radius: var(--fd-radius-sm);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    min-height: 56px;
}

.md-new-order-btn:active[b-qzcq1wprll] { opacity: 0.85; }

.md-no-orders[b-qzcq1wprll] {
    text-align: center;
    color: var(--fd-text-muted);
    font-size: 14px;
    padding: 20px 0;
}

.md-order-bottom[b-qzcq1wprll] {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: var(--fd-text-muted);
}
/* /Pages/Customers/NewCustomer.razor.rz.scp.css */
.nc-header[b-boyulwtfef] {
    background: linear-gradient(135deg, var(--fd-primary) 0%, var(--fd-primary-soft) 100%);
    padding: 20px 20px 28px;
    padding-top: calc(20px + env(safe-area-inset-top, 0px));
}

.nc-header-row[b-boyulwtfef] {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nc-back[b-boyulwtfef] {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.nc-title[b-boyulwtfef] {
    font-size: 22px;
    color: white;
}

.nc-body[b-boyulwtfef] {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nc-card-title[b-boyulwtfef] { margin-bottom: 14px; }

.nc-fields[b-boyulwtfef] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nc-fields-top[b-boyulwtfef] {
    margin-top: 14px;
}

.nc-row2[b-boyulwtfef] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.nc-optional[b-boyulwtfef] {
    font-size: 11px;
    font-weight: 400;
    color: var(--fd-text-muted);
    margin-left: 4px;
    text-transform: none;
    letter-spacing: 0;
}

.nc-address-toggle[b-boyulwtfef] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--fd-text);
    cursor: pointer;
    padding: 0;
    width: 100%;
}

.nc-chevron[b-boyulwtfef] { color: var(--fd-text-muted); margin-left: auto; transition: transform 0.2s; }
.nc-chevron-open[b-boyulwtfef] { color: var(--fd-text-muted); margin-left: auto; transform: rotate(90deg); transition: transform 0.2s; }
/* /Pages/Home.razor.rz.scp.css */
.home-header[b-jt9fi5pqv7] {
    background: linear-gradient(135deg, var(--fd-primary) 0%, var(--fd-primary-soft) 100%);
    padding: 20px 20px 32px;
    padding-top: calc(20px + env(safe-area-inset-top, 0px));
}

.home-header-row[b-jt9fi5pqv7] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.home-greeting[b-jt9fi5pqv7] {
    font-size: 24px;
    color: white;
    line-height: 1.15;
}

.home-date[b-jt9fi5pqv7] {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
}

.home-avatar[b-jt9fi5pqv7] {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.home-avatar svg[b-jt9fi5pqv7] {
    width: 22px;
    height: 22px;
}

.home-body[b-jt9fi5pqv7] {
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.home-grid[b-jt9fi5pqv7] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.home-grid-item[b-jt9fi5pqv7] {
    background: var(--fd-surface);
    border-radius: var(--fd-radius);
    box-shadow: var(--fd-shadow);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--fd-text);
    min-height: 100px;
    transition: transform 0.1s, opacity 0.1s;
}

.home-grid-item:active[b-jt9fi5pqv7] {
    transform: scale(0.97);
    opacity: 0.9;
}

.home-grid-icon[b-jt9fi5pqv7] {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-grid-icon svg[b-jt9fi5pqv7] {
    width: 24px;
    height: 24px;
}


.order-card[b-jt9fi5pqv7] {
    display: block;
    color: var(--fd-text);
    transition: transform 0.1s;
}

.order-card:active[b-jt9fi5pqv7] { transform: scale(0.99); }

.order-card-top[b-jt9fi5pqv7] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.order-card-name[b-jt9fi5pqv7] {
    font-size: 15px;
    font-weight: 500;
}

.order-card-number[b-jt9fi5pqv7] {
    font-size: 12px;
    color: var(--fd-text-muted);
    margin-top: 2px;
}

.order-card-due[b-jt9fi5pqv7] {
    font-size: 13px;
    color: var(--fd-text-muted);
    font-weight: 500;
    white-space: nowrap;
}

.order-card-stage[b-jt9fi5pqv7] {
    font-size: 12px;
    font-weight: 600;
    color: var(--fd-primary-dark);
    margin-top: 8px;
}
/* /Pages/Library/SketchLibrary.razor.rz.scp.css */
/* ── Header ─────────────────────────────────────────────────────── */
.lib-header[b-djauhg6h7v] {
    background: linear-gradient(135deg, var(--fd-primary) 0%, var(--fd-primary-soft) 100%);
    padding: 20px;
    padding-top: calc(20px + env(safe-area-inset-top, 0px));
}

.lib-title[b-djauhg6h7v] {
    font-size: 26px;
    color: white;
}

/* ── Body ───────────────────────────────────────────────────────── */
.lib-body[b-djauhg6h7v] {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
}

/* ── Tabs ───────────────────────────────────────────────────────── */
.lib-tabs[b-djauhg6h7v] {
    display: flex;
    gap: 8px;
    background: var(--fd-background);
    border-radius: var(--fd-radius-sm);
    padding: 4px;
    box-shadow: var(--fd-shadow);
}

.lib-tab[b-djauhg6h7v] {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    border-radius: var(--fd-radius-xs);
    font-size: 14px;
    font-weight: 600;
    color: var(--fd-text-muted);
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, color 0.15s;
}

.lib-tab.active[b-djauhg6h7v] {
    background: var(--fd-surface);
    color: var(--fd-primary-dark);
    box-shadow: var(--fd-shadow);
}

/* ── Grid ───────────────────────────────────────────────────────── */
.lib-grid[b-djauhg6h7v] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* ── Card ───────────────────────────────────────────────────────── */
.lib-card[b-djauhg6h7v] {
    background: var(--fd-surface);
    border-radius: var(--fd-radius);
    box-shadow: var(--fd-shadow);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border-color 0.12s, box-shadow 0.12s;
    user-select: none;
}

.lib-card.selected[b-djauhg6h7v] {
    border-color: var(--fd-primary);
    box-shadow: 0 0 0 2px var(--fd-primary-soft);
}

.lib-card:active[b-djauhg6h7v] { opacity: 0.85; }

/* ── Thumbnail (square) ─────────────────────────────────────────── */
.lib-thumb[b-djauhg6h7v] {
    aspect-ratio: 1;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lib-check[b-djauhg6h7v] {
    position: absolute;
    inset: 0;
    background: rgba(169, 120, 128, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

/* ── Card footer ────────────────────────────────────────────────── */
.lib-card-foot[b-djauhg6h7v] {
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.lib-tag[b-djauhg6h7v] {
    font-size: 12px;
    font-weight: 600;
    color: var(--fd-text-muted);
}

.lib-order-num[b-djauhg6h7v] {
    font-size: 12px;
    font-weight: 600;
    color: var(--fd-text);
}

.lib-order-meta[b-djauhg6h7v] {
    font-size: 11px;
    color: var(--fd-text-muted);
}

/* ── Empty state ────────────────────────────────────────────────── */
.lib-empty[b-djauhg6h7v] {
    text-align: center;
    color: var(--fd-text-muted);
    font-size: 14px;
    padding: 48px 0;
}

/* ── Spacer so last cards aren't hidden by fixed bar ────────────── */
.lib-bar-spacer[b-djauhg6h7v] {
    height: 68px;
}

/* ── Action bar ─────────────────────────────────────────────────── */
.lib-action-bar[b-djauhg6h7v] {
    position: fixed;
    left: 0;
    right: 0;
    bottom: var(--fd-nav-height);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: var(--fd-surface);
    border-top: 1px solid var(--fd-border);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
    z-index: 100;
}

.lib-bar-text[b-djauhg6h7v] {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: var(--fd-text);
}

.lib-bar-primary[b-djauhg6h7v] {
    padding: 10px 18px;
    background: var(--fd-primary);
    color: white;
    border: none;
    border-radius: var(--fd-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    min-height: 44px;
}

.lib-bar-danger[b-djauhg6h7v] {
    padding: 10px 18px;
    background: #D94F4F;
    color: white;
    border: none;
    border-radius: var(--fd-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    min-height: 44px;
}

.lib-bar-cancel[b-djauhg6h7v] {
    padding: 10px 14px;
    background: var(--fd-background);
    color: var(--fd-text-muted);
    border: 1.5px solid var(--fd-border);
    border-radius: var(--fd-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    min-height: 44px;
}

/* ── Tablet/desktop — sidebar offsets the action bar ────────────── */
@media (min-width: 768px) {
    .lib-action-bar[b-djauhg6h7v] {
        left: var(--fd-sidebar-width);
        bottom: 0;
    }
}
/* /Pages/Login.razor.rz.scp.css */
.lg-shell[b-i2xxhbbsk7] {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, var(--fd-primary-soft) 0%, var(--fd-background) 60%);
    padding: 24px 20px;
}

.lg-card[b-i2xxhbbsk7] {
    background: var(--fd-surface);
    border-radius: var(--fd-radius);
    box-shadow: var(--fd-shadow-md);
    padding: 36px 28px 32px;
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

/* ─── Brand ──────────────────────────────────────────────────── */

.lg-brand[b-i2xxhbbsk7] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.lg-logo[b-i2xxhbbsk7] {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--fd-primary) 0%, var(--fd-primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 4px;
}

.lg-brand-name[b-i2xxhbbsk7] {
    font-size: 26px;
    color: var(--fd-text);
    letter-spacing: -0.2px;
}

.lg-brand-sub[b-i2xxhbbsk7] {
    font-size: 13px;
    color: var(--fd-text-muted);
}

/* ─── Form ───────────────────────────────────────────────────── */

.lg-form[b-i2xxhbbsk7] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lg-pw-wrap[b-i2xxhbbsk7] {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--fd-border);
    border-radius: var(--fd-radius-sm);
    overflow: hidden;
    background: var(--fd-surface);
    transition: border-color 0.15s;
}

.lg-pw-wrap:focus-within[b-i2xxhbbsk7] {
    border-color: var(--fd-primary);
}

.lg-pw-input[b-i2xxhbbsk7] {
    border: none;
    border-radius: 0;
    flex: 1;
}

.lg-pw-input:focus[b-i2xxhbbsk7] {
    border-color: transparent;
    outline: none;
}

.lg-eye[b-i2xxhbbsk7] {
    background: none;
    border: none;
    padding: 0 12px;
    color: var(--fd-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    align-self: stretch;
}

.lg-eye:hover[b-i2xxhbbsk7] { color: var(--fd-text); }

.lg-error[b-i2xxhbbsk7] {
    font-size: 13px;
    color: #C0392B;
    background: #FEECEC;
    padding: 10px 14px;
    border-radius: var(--fd-radius-xs);
}

.lg-submit[b-i2xxhbbsk7] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.lg-submit:disabled[b-i2xxhbbsk7] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ─── Spinner ────────────────────────────────────────────────── */

.lg-spinner[b-i2xxhbbsk7] {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: lg-spin-b-i2xxhbbsk7 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes lg-spin-b-i2xxhbbsk7 {
    to { transform: rotate(360deg); }
}

/* ─── Auth loading (full screen) ─────────────────────────────── */

[b-i2xxhbbsk7] .fd-auth-loading {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
}

[b-i2xxhbbsk7] .fd-auth-spinner {
    width: 32px;
    height: 32px;
    border: 3px solid var(--fd-primary-soft);
    border-top-color: var(--fd-primary);
    border-radius: 50%;
    animation: lg-spin-b-i2xxhbbsk7 0.8s linear infinite;
}
/* /Pages/Orders/NewOrder.razor.rz.scp.css */
.no-header[b-csi5yc121i] {
    background: linear-gradient(135deg, var(--fd-primary) 0%, var(--fd-primary-soft) 100%);
    padding: 20px;
    padding-top: calc(20px + env(safe-area-inset-top, 0px));
}

.no-header-row[b-csi5yc121i] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}

.no-back[b-csi5yc121i] {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.no-title[b-csi5yc121i] {
    font-size: 22px;
    color: white;
}

.no-customer[b-csi5yc121i] {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    padding-left: 48px;
}

.no-body[b-csi5yc121i] {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
}

/* ── Empty state ───────────────────────────────────────────────── */
.no-empty[b-csi5yc121i] {
    text-align: center;
    color: var(--fd-text-muted);
    font-size: 14px;
    padding: 24px 0;
    border: 2px dashed var(--fd-border);
    border-radius: var(--fd-radius);
    margin-bottom: 10px;
}

/* ── Add Item button ───────────────────────────────────────────── */
.no-add-btn[b-csi5yc121i] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px;
    border: 2px dashed var(--fd-border);
    border-radius: var(--fd-radius);
    background: transparent;
    color: var(--fd-primary-dark);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    min-height: 56px;
    transition: border-color 0.12s;
}

.no-add-btn:active[b-csi5yc121i] { opacity: 0.7; }

/* ── Item cards (read-only) ────────────────────────────────────── */
.no-item-card[b-csi5yc121i] { margin-bottom: 10px; }

.no-item-top[b-csi5yc121i] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.no-item-info[b-csi5yc121i] { flex: 1; }

.no-item-name[b-csi5yc121i] {
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.no-item-qty[b-csi5yc121i] {
    font-size: 12px;
    font-weight: 600;
    color: var(--fd-primary-dark);
    background: var(--fd-primary-soft);
    padding: 1px 6px;
    border-radius: var(--fd-radius-xs);
}

.no-item-sub[b-csi5yc121i] {
    font-size: 13px;
    color: var(--fd-text-muted);
    margin-top: 2px;
}

.no-item-meas[b-csi5yc121i] {
    font-size: 12px;
    color: var(--fd-text-muted);
    margin-top: 4px;
}

.no-item-fabric[b-csi5yc121i] {
    font-size: 12px;
    color: var(--fd-text-muted);
    font-style: italic;
    margin-top: 2px;
}

.no-item-flags[b-csi5yc121i] {
    display: flex;
    gap: 6px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.no-item-flag[b-csi5yc121i] {
    padding: 2px 8px;
    background: var(--fd-accent-soft);
    color: var(--fd-accent);
    border-radius: var(--fd-radius-xs);
    font-size: 11px;
    font-weight: 600;
}

.no-item-edit[b-csi5yc121i] {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--fd-border);
    border-radius: var(--fd-radius-sm);
    background: var(--fd-background);
    color: var(--fd-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* ── Sketch area ───────────────────────────────────────────────── */
.no-sketch-row[b-csi5yc121i] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--fd-border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.no-sketch-row[b-csi5yc121i]::-webkit-scrollbar { display: none; }

.no-sketch-cell[b-csi5yc121i] {
    position: relative;
    flex-shrink: 0;
}

.no-sketch-thumb[b-csi5yc121i] {
    width: 64px;
    height: 64px;
    border-radius: var(--fd-radius-sm);
    object-fit: cover;
    border: 1px solid var(--fd-border);
    display: block;
    cursor: pointer;
}

.no-sketch-lib-thumb[b-csi5yc121i] {
    width: 64px;
    height: 64px;
    border-radius: var(--fd-radius-sm);
    border: 1px solid var(--fd-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.no-sketch-lib-label[b-csi5yc121i] {
    font-size: 10px;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.3);
    text-align: center;
    padding: 4px;
    line-height: 1.3;
}

.no-sketch-remove[b-csi5yc121i] {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    background: var(--fd-text);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.no-sketch-add[b-csi5yc121i] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    width: 64px;
    height: 64px;
    border: 1.5px dashed var(--fd-border);
    border-radius: var(--fd-radius-sm);
    background: transparent;
    color: var(--fd-primary-dark);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    flex-direction: column;
    justify-content: center;
    flex-shrink: 0;
    text-align: center;
    line-height: 1.3;
}

/* ── Order details card ────────────────────────────────────────── */
.no-card-title[b-csi5yc121i] { margin-bottom: 14px; }

.no-optional[b-csi5yc121i] {
    font-size: 11px;
    font-weight: 400;
    color: var(--fd-text-muted);
    text-transform: none;
    letter-spacing: 0;
}

.no-od-fields[b-csi5yc121i] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.no-textarea[b-csi5yc121i] {
    resize: none;
    line-height: 1.5;
}
/* /Pages/Orders/OrderDetail.razor.rz.scp.css */
/* ── Header ─────────────────────────────────────────────────────── */
.od-header[b-hs8d8aw8u8] {
    background: linear-gradient(135deg, var(--fd-primary) 0%, var(--fd-primary-soft) 100%);
    padding: 20px;
    padding-top: calc(20px + env(safe-area-inset-top, 0px));
}

.od-header-row[b-hs8d8aw8u8] {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.od-back[b-hs8d8aw8u8] {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.od-print-btn[b-hs8d8aw8u8] {
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.18);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
    cursor: pointer;
}

.od-header-info[b-hs8d8aw8u8] { flex: 1; }

.od-order-number[b-hs8d8aw8u8] {
    font-size: 22px;
    color: white;
}

.od-customer[b-hs8d8aw8u8] {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 2px;
    display: block;
    text-decoration: none;
}

.od-more[b-hs8d8aw8u8] {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    flex-shrink: 0;
}

.od-dates[b-hs8d8aw8u8] {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    gap: 6px;
}

.od-date-sep[b-hs8d8aw8u8] { opacity: 0.5; }

.od-master[b-hs8d8aw8u8] {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 2px;
}

/* ── Body ───────────────────────────────────────────────────────── */
.od-body[b-hs8d8aw8u8] {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: calc(24px + env(safe-area-inset-bottom, 0px));
}

/* ── Stage card ─────────────────────────────────────────────────── */
.od-stage-card[b-hs8d8aw8u8] { display: flex; flex-direction: column; gap: 10px; }

.od-advance-btn[b-hs8d8aw8u8] {
    margin-top: 4px;
    width: 100%;
    padding: 12px;
    background: var(--fd-primary);
    color: white;
    border: none;
    border-radius: var(--fd-radius-sm);
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
}

.od-advance-btn:disabled[b-hs8d8aw8u8] {
    opacity: 0.6;
    cursor: default;
}

.od-stage-header[b-hs8d8aw8u8] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.od-stage-name[b-hs8d8aw8u8] {
    font-size: 14px;
    font-weight: 700;
    color: var(--fd-primary-dark);
}

/* ── Item cards ─────────────────────────────────────────────────── */
.od-item-card[b-hs8d8aw8u8] { display: flex; flex-direction: column; gap: 0; }

.od-item-top[b-hs8d8aw8u8] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.od-item-info[b-hs8d8aw8u8] { flex: 1; }

.od-item-name[b-hs8d8aw8u8] {
    font-size: 15px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.od-item-qty[b-hs8d8aw8u8] {
    font-size: 12px;
    font-weight: 600;
    color: var(--fd-primary-dark);
    background: var(--fd-primary-soft);
    padding: 1px 6px;
    border-radius: var(--fd-radius-xs);
}

.od-item-sub[b-hs8d8aw8u8] {
    font-size: 13px;
    color: var(--fd-text-muted);
    margin-top: 2px;
}

.od-item-meas[b-hs8d8aw8u8] {
    font-size: 12px;
    color: var(--fd-text-muted);
    margin-top: 4px;
}

.od-item-fabric[b-hs8d8aw8u8] {
    font-size: 12px;
    color: var(--fd-text-muted);
    font-style: italic;
    margin-top: 2px;
}

.od-item-flags[b-hs8d8aw8u8] {
    display: flex;
    gap: 6px;
    margin-top: 6px;
    flex-wrap: wrap;
}

.od-flag[b-hs8d8aw8u8] {
    padding: 2px 8px;
    background: var(--fd-accent-soft);
    color: var(--fd-accent);
    border-radius: var(--fd-radius-xs);
    font-size: 11px;
    font-weight: 600;
}

.od-job-btn[b-hs8d8aw8u8] {
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--fd-primary-soft);
    color: var(--fd-primary-dark);
    border: none;
    border-radius: var(--fd-radius-sm);
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    white-space: nowrap;
    flex-shrink: 0;
}

/* ── Sketch row ─────────────────────────────────────────────────── */
.od-sketch-row[b-hs8d8aw8u8] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--fd-border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.od-sketch-row[b-hs8d8aw8u8]::-webkit-scrollbar { display: none; }

.od-sketch-thumb-wrap[b-hs8d8aw8u8] {
    position: relative;
    flex-shrink: 0;
}

.od-sketch-thumb[b-hs8d8aw8u8] {
    width: 64px;
    height: 64px;
    border-radius: var(--fd-radius-sm);
    object-fit: cover;
    border: 1px solid var(--fd-border);
    display: block;
    cursor: pointer;
}

.od-sketch-placeholder[b-hs8d8aw8u8] {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fd-background);
    color: var(--fd-text-muted);
    cursor: pointer;
}

.od-sketch-del[b-hs8d8aw8u8] {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    background: var(--fd-text);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

.od-sketch-add[b-hs8d8aw8u8] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 64px;
    height: 64px;
    border: 1.5px dashed var(--fd-border);
    border-radius: var(--fd-radius-sm);
    background: transparent;
    color: var(--fd-primary-dark);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    flex-shrink: 0;
    text-align: center;
    line-height: 1.3;
}

/* ── Add Item button ────────────────────────────────────────────── */
.od-add-item-btn[b-hs8d8aw8u8] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    border: 2px dashed var(--fd-border);
    border-radius: var(--fd-radius);
    background: transparent;
    color: var(--fd-primary-dark);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    min-height: 56px;
}

/* ── Payment ────────────────────────────────────────────────────── */
.od-payment[b-hs8d8aw8u8] { display: flex; flex-direction: column; gap: 10px; }

.od-pay-row[b-hs8d8aw8u8] {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--fd-text-muted);
}

.od-pay-value[b-hs8d8aw8u8] {
    font-weight: 600;
    color: var(--fd-text);
}

.od-pay-divider[b-hs8d8aw8u8] {
    height: 1px;
    background: var(--fd-border);
}

.od-pay-balance[b-hs8d8aw8u8] {
    font-size: 15px;
    font-weight: 600;
    color: var(--fd-text);
}

.od-pay-balance-value[b-hs8d8aw8u8] {
    font-size: 18px;
    color: var(--fd-primary-dark);
}

/* ── Order-level edit card ──────────────────────────────────────── */
.od-order-edit-card[b-hs8d8aw8u8] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.od-notes-input[b-hs8d8aw8u8] {
    resize: vertical;
    min-height: 72px;
}

.od-optional[b-hs8d8aw8u8] {
    font-size: 11px;
    font-weight: 400;
    color: var(--fd-text-muted);
}

.od-order-edit-actions[b-hs8d8aw8u8] {
    display: flex;
    gap: 10px;
}

.od-edit-cancel[b-hs8d8aw8u8] {
    flex: 1;
    padding: 14px;
    border: 1.5px solid var(--fd-border);
    border-radius: var(--fd-radius-sm);
    background: transparent;
    color: var(--fd-text-muted);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

/* ── Edit order button (section header) ─────────────────────────── */
.od-edit-order-btn[b-hs8d8aw8u8] {
    display: flex;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    color: var(--fd-primary-dark);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    padding: 4px 0;
}

/* ── Job sheet button ───────────────────────────────────────────── */
.od-jobsheet-btn[b-hs8d8aw8u8] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    border: 1.5px solid var(--fd-border);
    border-radius: var(--fd-radius-sm);
    background: var(--fd-surface);
    color: var(--fd-primary-dark);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    min-height: 56px;
}
/* /Pages/Orders/OrderJobSheet.razor.rz.scp.css */
.js-loading[b-2btm07bmr6] {
    padding: 32px;
    text-align: center;
    color: var(--fd-text-muted);
}

.js-page[b-2btm07bmr6] {
    background: white;
}

.js-sheet[b-2btm07bmr6] {
    width: 72mm;
    margin: 0 auto;
    padding: 6mm 4mm;
    font-family: 'Courier New', monospace;
    font-size: 10pt;
    color: #000;
    page-break-after: always;
}

.js-sheet:last-child[b-2btm07bmr6] {
    page-break-after: auto;
}

.js-header[b-2btm07bmr6] {
    text-align: center;
    margin-bottom: 4mm;
    border-bottom: 1px dashed #000;
    padding-bottom: 3mm;
}

.js-logo[b-2btm07bmr6] {
    max-width: 30mm;
    max-height: 12mm;
    object-fit: contain;
    display: block;
    margin: 0 auto 2mm;
}

.js-boutique[b-2btm07bmr6] {
    font-weight: bold;
    font-size: 12pt;
}

.js-meta[b-2btm07bmr6] {
    margin-bottom: 3mm;
}

.js-meta-row[b-2btm07bmr6] {
    display: flex;
    gap: 4mm;
}

.js-meta-label[b-2btm07bmr6] {
    font-weight: bold;
    min-width: 20mm;
}

.js-garment[b-2btm07bmr6] {
    font-weight: bold;
    font-size: 11pt;
    margin: 3mm 0 2mm;
    border-bottom: 1px solid #000;
    padding-bottom: 1mm;
}

.js-meas[b-2btm07bmr6] {
    width: 100%;
    border-collapse: collapse;
    margin: 2mm 0;
}

.js-meas td[b-2btm07bmr6] {
    padding: 0.5mm 0;
}

.js-meas-label[b-2btm07bmr6] {
    width: 50%;
}

.js-meas-value[b-2btm07bmr6] {
    font-weight: bold;
}

.js-detail-row[b-2btm07bmr6] {
    margin: 1mm 0;
}

.js-detail-label[b-2btm07bmr6] {
    font-weight: bold;
}

.js-flag[b-2btm07bmr6] {
    margin: 1mm 0;
    font-weight: bold;
}

.js-notes[b-2btm07bmr6] {
    margin-top: 2mm;
    font-style: italic;
    border-top: 1px dashed #000;
    padding-top: 2mm;
}

.js-sketches[b-2btm07bmr6] {
    display: flex;
    flex-direction: column;
    gap: 3mm;
    margin: 3mm 0;
}

.js-sketch[b-2btm07bmr6] {
    width: 64mm;
    height: auto;
    border: 1px solid #ccc;
}

.js-sign-row[b-2btm07bmr6] {
    display: flex;
    gap: 4mm;
    margin-top: 6mm;
    border-top: 1px dashed #000;
    padding-top: 3mm;
}

.js-sign-box[b-2btm07bmr6] {
    flex: 1;
    height: 12mm;
    border-bottom: 1px solid #000;
    position: relative;
}

.js-sign-label[b-2btm07bmr6] {
    position: absolute;
    bottom: 1mm;
    left: 0;
    font-size: 8pt;
    color: #666;
}

@media screen {
    .js-page[b-2btm07bmr6] {
        padding: 16px;
        background: #f0f0f0;
    }

    .js-sheet[b-2btm07bmr6] {
        background: white;
        box-shadow: 0 2px 8px rgba(0,0,0,.15);
        margin-bottom: 16px;
        border-radius: 4px;
    }
}

@media print {
    .js-page[b-2btm07bmr6] {
        background: white;
        padding: 0;
    }
}
/* /Pages/Orders/OrderList.razor.rz.scp.css */
.orders-header[b-vfrmp9o1v2] {
    background: linear-gradient(135deg, var(--fd-primary) 0%, var(--fd-primary-soft) 100%);
    padding: 20px 20px 28px;
    padding-top: calc(20px + env(safe-area-inset-top, 0px));
}

.orders-header-row[b-vfrmp9o1v2] {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.orders-title[b-vfrmp9o1v2] {
    font-size: 26px;
    color: white;
}

.orders-new-btn[b-vfrmp9o1v2] {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.orders-new-btn:active[b-vfrmp9o1v2] { background: rgba(255,255,255,0.4); }

.orders-body[b-vfrmp9o1v2] {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.orders-filters[b-vfrmp9o1v2] {
    display: flex;
    gap: 8px;
}

.orders-filter-chip[b-vfrmp9o1v2] {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 20px;
    border: 1.5px solid var(--fd-border);
    background: var(--fd-surface);
    color: var(--fd-text-muted);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
}

.orders-filter-chip.active[b-vfrmp9o1v2] {
    background: var(--fd-primary-soft);
    border-color: var(--fd-primary);
    color: var(--fd-primary-dark);
    font-weight: 600;
}

.orders-tabs[b-vfrmp9o1v2] {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.orders-tabs[b-vfrmp9o1v2]::-webkit-scrollbar { display: none; }

.orders-tab[b-vfrmp9o1v2] {
    flex-shrink: 0;
    padding: 8px 18px;
    border-radius: 20px;
    border: 1.5px solid var(--fd-border);
    background: var(--fd-surface);
    color: var(--fd-text-muted);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
}

.orders-tab.active[b-vfrmp9o1v2] {
    background: var(--fd-primary);
    border-color: var(--fd-primary);
    color: white;
    font-weight: 600;
}

.orders-list[b-vfrmp9o1v2] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.order-row[b-vfrmp9o1v2] {
    display: block;
    color: var(--fd-text);
    transition: transform 0.1s;
}

.order-row:active[b-vfrmp9o1v2] { transform: scale(0.99); }

.order-row-top[b-vfrmp9o1v2] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.order-row-name[b-vfrmp9o1v2] {
    font-size: 15px;
    font-weight: 500;
}

.order-row-number[b-vfrmp9o1v2] {
    font-size: 12px;
    color: var(--fd-text-muted);
    margin-top: 2px;
}

.order-row-right[b-vfrmp9o1v2] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.order-row-due[b-vfrmp9o1v2] {
    font-size: 12px;
    color: var(--fd-text-muted);
}

.order-badge[b-vfrmp9o1v2] {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
}

.badge-active[b-vfrmp9o1v2]    { background: var(--fd-accent-soft);  color: #3A5A80; }
.badge-ready[b-vfrmp9o1v2]     { background: #EDF5EE;                color: #3A7A4A; }
.badge-delivered[b-vfrmp9o1v2] { background: var(--fd-border);       color: var(--fd-text-muted); }
/* /Pages/Orders/OrderPipeline.razor.rz.scp.css */
/* ─── Header ─────────────────────────────────────────────────── */

.pl-header[b-hplby3jglt] {
    background: linear-gradient(135deg, var(--fd-primary) 0%, var(--fd-primary-soft) 100%);
    padding: 56px 20px 16px;
}

.pl-header-row[b-hplby3jglt] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pl-title[b-hplby3jglt] {
    font-size: 26px;
    color: var(--fd-surface);
    letter-spacing: -0.2px;
}

.pl-header-meta[b-hplby3jglt] {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pl-total-badge[b-hplby3jglt] {
    font-size: 12px;
    font-weight: 600;
    color: var(--fd-primary-dark);
    background: var(--fd-surface);
    padding: 4px 10px;
    border-radius: 20px;
}

.pl-filter-btn[b-hplby3jglt] {
    background: rgba(255,255,255,0.25);
    border: none;
    border-radius: 10px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fd-surface);
    cursor: pointer;
}

/* ─── Two-level Nav ──────────────────────────────────────────── */

.pl-nav[b-hplby3jglt] {
    background: var(--fd-surface);
    border-bottom: 1px solid var(--fd-border);
}

/* Phase tabs row */
.pl-phase-tabs[b-hplby3jglt] {
    display: flex;
    align-items: stretch;
}

.pl-phase-tab[b-hplby3jglt] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 8px 11px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 13px;
    font-weight: 600;
    color: var(--fd-text-muted);
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
    position: relative;
}

.pl-phase-tab + .pl-phase-tab[b-hplby3jglt]::before {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--fd-border);
}

.pl-phase-tab-badge[b-hplby3jglt] {
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 10px;
    line-height: 1.4;
    background: var(--fd-background);
    color: var(--fd-text-muted);
    transition: background 0.15s, color 0.15s;
}

.pl-phase-tab-intake.active[b-hplby3jglt]    { color: var(--fd-accent);     border-bottom-color: var(--fd-accent); }
.pl-phase-tab-production.active[b-hplby3jglt] { color: var(--fd-amber);     border-bottom-color: var(--fd-amber); }
.pl-phase-tab-finishing.active[b-hplby3jglt]  { color: var(--fd-green);     border-bottom-color: var(--fd-green); }

.pl-phase-tab-intake.active     .pl-phase-tab-badge[b-hplby3jglt] { background: var(--fd-accent-soft); color: var(--fd-accent); }
.pl-phase-tab-production.active .pl-phase-tab-badge[b-hplby3jglt] { background: var(--fd-amber-soft);  color: var(--fd-amber); }
.pl-phase-tab-finishing.active  .pl-phase-tab-badge[b-hplby3jglt] { background: var(--fd-green-soft);  color: var(--fd-green); }

/* Stage pills row */
.pl-stage-pills[b-hplby3jglt] {
    display: flex;
    gap: 8px;
    padding: 10px 16px 12px;
    animation: pl-pills-in-b-hplby3jglt 0.15s ease;
}

@keyframes pl-pills-in-b-hplby3jglt {
    from { opacity: 0; transform: translateY(4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.pl-pill[b-hplby3jglt] {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 13px;
    border-radius: 20px;
    border: 1.5px solid var(--fd-border);
    background: var(--fd-background);
    font-size: 13px;
    font-weight: 500;
    color: var(--fd-text-muted);
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.pl-pill-badge[b-hplby3jglt] {
    font-size: 11px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 10px;
    line-height: 1.4;
}

.pl-pill-intake     .pl-pill-badge[b-hplby3jglt] { color: var(--fd-accent); background: var(--fd-accent-soft); }
.pl-pill-production .pl-pill-badge[b-hplby3jglt] { color: var(--fd-amber);  background: var(--fd-amber-soft); }
.pl-pill-finishing  .pl-pill-badge[b-hplby3jglt] { color: var(--fd-green);  background: var(--fd-green-soft); }

.pl-pill-intake.active[b-hplby3jglt] {
    background: var(--fd-accent);
    border-color: var(--fd-accent);
    color: #fff;
}
.pl-pill-production.active[b-hplby3jglt] {
    background: var(--fd-amber);
    border-color: var(--fd-amber);
    color: #fff;
}
.pl-pill-finishing.active[b-hplby3jglt] {
    background: var(--fd-green);
    border-color: var(--fd-green);
    color: #fff;
}

.pl-pill-intake.active     .pl-pill-badge[b-hplby3jglt] { background: rgba(255,255,255,0.25); color: #fff; }
.pl-pill-production.active .pl-pill-badge[b-hplby3jglt] { background: rgba(255,255,255,0.25); color: #fff; }
.pl-pill-finishing.active  .pl-pill-badge[b-hplby3jglt] { background: rgba(255,255,255,0.25); color: #fff; }

/* ─── Body ───────────────────────────────────────────────────── */

.pl-body[b-hplby3jglt] {
    padding: 0 16px 100px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* ─── Summary Bar ─────────────────────────────────────────────── */

.pl-summary[b-hplby3jglt] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0 4px;
}

.pl-summary-left[b-hplby3jglt] {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.pl-summary-count[b-hplby3jglt] {
    font-size: 32px;
    line-height: 1;
}

.pl-summary-stage[b-hplby3jglt] {
    font-size: 15px;
    font-weight: 600;
    color: var(--fd-text);
}

.pl-summary-phase[b-hplby3jglt] {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 20px;
}

.pl-summary-intake     .pl-summary-count[b-hplby3jglt] { color: var(--fd-accent); }
.pl-summary-production .pl-summary-count[b-hplby3jglt] { color: var(--fd-amber); }
.pl-summary-finishing  .pl-summary-count[b-hplby3jglt] { color: var(--fd-green); }

.pl-summary-intake     .pl-summary-phase[b-hplby3jglt] { background: var(--fd-accent-soft); color: var(--fd-accent); }
.pl-summary-production .pl-summary-phase[b-hplby3jglt] { background: var(--fd-amber-soft);  color: var(--fd-amber); }
.pl-summary-finishing  .pl-summary-phase[b-hplby3jglt] { background: var(--fd-green-soft);  color: var(--fd-green); }

/* ─── Order Cards ─────────────────────────────────────────────── */

.pl-card[b-hplby3jglt] {
    background: var(--fd-surface);
    border-radius: var(--fd-radius);
    box-shadow: var(--fd-shadow);
    overflow: hidden;
    cursor: pointer;
    border: 1.5px solid transparent;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.pl-card:active[b-hplby3jglt] {
    border-color: var(--fd-primary-soft);
    box-shadow: var(--fd-shadow-md);
}

.pl-card-top[b-hplby3jglt] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 14px 10px;
}

.pl-card-info[b-hplby3jglt] {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pl-card-num[b-hplby3jglt] {
    font-size: 12px;
    font-weight: 700;
    color: var(--fd-text-muted);
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pl-card-stage-badge[b-hplby3jglt] {
    font-size: 10px;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 10px;
    letter-spacing: 0.2px;
}

.pl-card-stage-intake[b-hplby3jglt]     { background: var(--fd-accent-soft); color: var(--fd-accent); }
.pl-card-stage-production[b-hplby3jglt] { background: var(--fd-amber-soft);  color: var(--fd-amber); }
.pl-card-stage-finishing[b-hplby3jglt]  { background: var(--fd-green-soft);  color: var(--fd-green); }

.pl-card-customer[b-hplby3jglt] {
    font-size: 15px;
    font-weight: 500;
    color: var(--fd-text);
}

.pl-card-items[b-hplby3jglt] {
    font-size: 13px;
    color: var(--fd-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ─── Due Date Badge ─────────────────────────────────────────── */

.pl-due[b-hplby3jglt] {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 9px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
    background: var(--fd-background);
    color: var(--fd-text-muted);
}

.pl-due-soon[b-hplby3jglt] {
    background: var(--fd-amber-soft);
    color: var(--fd-amber);
}

.pl-due-overdue[b-hplby3jglt] {
    background: #FEECEC;
    color: #C0392B;
}

/* ─── Move Actions ───────────────────────────────────────────── */

.pl-card-actions[b-hplby3jglt] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px 10px;
    gap: 8px;
}

.pl-move-back[b-hplby3jglt],
.pl-move-fwd[b-hplby3jglt] {
    flex: 1;
    padding: 8px 10px;
    border-radius: var(--fd-radius-sm);
    border: 1.5px solid var(--fd-border);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.12s, border-color 0.12s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pl-move-back[b-hplby3jglt] {
    background: var(--fd-background);
    color: var(--fd-text-muted);
    text-align: left;
}

.pl-move-fwd[b-hplby3jglt] {
    background: var(--fd-primary-soft);
    color: var(--fd-primary-dark);
    border-color: var(--fd-primary-soft);
    text-align: right;
}

.pl-move-back:active[b-hplby3jglt] { background: var(--fd-border); }
.pl-move-fwd:active[b-hplby3jglt]  { background: var(--fd-primary); color: #fff; }

/* ─── Empty State ────────────────────────────────────────────── */

.pl-empty[b-hplby3jglt] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 8px;
    color: var(--fd-text-muted);
}

.pl-empty-icon[b-hplby3jglt] {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--fd-green-soft);
    color: var(--fd-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
}

.pl-empty-title[b-hplby3jglt] {
    font-size: 16px;
    font-weight: 700;
    color: var(--fd-text);
}

.pl-empty-sub[b-hplby3jglt] {
    font-size: 13px;
    color: var(--fd-text-muted);
}

/* ─── Tablet / Desktop ───────────────────────────────────────── */

@media (min-width: 768px) {
    .pl-header[b-hplby3jglt] { padding-top: 28px; }

    .pl-body[b-hplby3jglt] { max-width: 600px; }
}
/* /Pages/Settings/SettingsPage.razor.rz.scp.css */
.st-header[b-x2e6oo5jeb] {
    background: linear-gradient(135deg, var(--fd-primary) 0%, var(--fd-primary-soft) 100%);
    padding: 56px 20px 20px;
}

.st-title[b-x2e6oo5jeb] {
    font-size: 26px;
    color: var(--fd-surface);
    letter-spacing: -0.2px;
}

.st-body[b-x2e6oo5jeb] {
    padding: 16px 16px 100px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.st-section-label[b-x2e6oo5jeb] { padding: 4px 2px 0; }

.st-user-card[b-x2e6oo5jeb] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
}

.st-avatar[b-x2e6oo5jeb] {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--fd-primary-soft);
    color: var(--fd-primary-dark);
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    text-transform: uppercase;
}

.st-user-name[b-x2e6oo5jeb] {
    font-size: 15px;
    font-weight: 500;
    color: var(--fd-text);
}

.st-user-role[b-x2e6oo5jeb] {
    font-size: 13px;
    color: var(--fd-text-muted);
}

.st-logout-btn[b-x2e6oo5jeb] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 16px;
    background: var(--fd-surface);
    border: 1.5px solid var(--fd-border);
    border-radius: var(--fd-radius);
    color: #C0392B;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: var(--fd-shadow);
}

.st-logout-btn:active[b-x2e6oo5jeb] { background: #FEECEC; }

.st-save-ok[b-x2e6oo5jeb] {
    font-size: 13px;
    font-weight: 600;
    color: var(--fd-primary-dark);
    text-align: center;
}

@media (min-width: 768px) {
    .st-header[b-x2e6oo5jeb] { padding-top: 28px; }
    .st-body[b-x2e6oo5jeb] { max-width: 480px; }
}
/* /Pages/Setup/SetupPage.razor.rz.scp.css */
.su-shell[b-5clnychxfp] {
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(160deg, var(--fd-primary-soft) 0%, var(--fd-background) 60%);
    padding: 24px 20px;
}

.su-card[b-5clnychxfp] {
    background: var(--fd-surface);
    border-radius: var(--fd-radius);
    box-shadow: var(--fd-shadow-md);
    padding: 36px 28px 32px;
    width: 100%;
    max-width: 380px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.su-brand[b-5clnychxfp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.su-logo[b-5clnychxfp] {
    width: 60px;
    height: 60px;
    border-radius: 18px;
    background: linear-gradient(135deg, var(--fd-primary) 0%, var(--fd-primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    margin-bottom: 4px;
}

.su-brand-name[b-5clnychxfp] {
    font-size: 26px;
    color: var(--fd-text);
    letter-spacing: -0.2px;
}

.su-brand-sub[b-5clnychxfp] {
    font-size: 13px;
    color: var(--fd-text-muted);
    line-height: 1.4;
}

.su-form[b-5clnychxfp] {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.su-pw-wrap[b-5clnychxfp] {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--fd-border);
    border-radius: var(--fd-radius-sm);
    overflow: hidden;
    background: var(--fd-surface);
    transition: border-color 0.15s;
}

.su-pw-wrap:focus-within[b-5clnychxfp] { border-color: var(--fd-primary); }

.su-pw-input[b-5clnychxfp] {
    border: none;
    border-radius: 0;
    flex: 1;
}

.su-pw-input:focus[b-5clnychxfp] { border-color: transparent; outline: none; }

.su-eye[b-5clnychxfp] {
    background: none;
    border: none;
    padding: 0 12px;
    color: var(--fd-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    align-self: stretch;
}

.su-eye:hover[b-5clnychxfp] { color: var(--fd-text); }

.su-error[b-5clnychxfp] {
    font-size: 13px;
    color: #C0392B;
    background: #FEECEC;
    padding: 10px 14px;
    border-radius: var(--fd-radius-xs);
}

.su-submit[b-5clnychxfp] {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.su-submit:disabled[b-5clnychxfp] { opacity: 0.5; cursor: not-allowed; }

.su-spinner[b-5clnychxfp] {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: #fff;
    border-radius: 50%;
    animation: su-spin-b-5clnychxfp 0.7s linear infinite;
    flex-shrink: 0;
}

@keyframes su-spin-b-5clnychxfp { to { transform: rotate(360deg); } }
/* /Pages/Workers/WorkersPage.razor.rz.scp.css */
/* ─── Header ─────────────────────────────────────────────────── */

.tm-header[b-5f8z303nuj] {
    background: linear-gradient(135deg, var(--fd-primary) 0%, var(--fd-primary-soft) 100%);
    padding: 56px 20px 20px;
}

.tm-header-row[b-5f8z303nuj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tm-title[b-5f8z303nuj] {
    font-size: 26px;
    color: var(--fd-surface);
    letter-spacing: -0.2px;
}

.tm-subtitle[b-5f8z303nuj] {
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
}

.tm-add-btn[b-5f8z303nuj] {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--fd-surface);
    color: var(--fd-primary-dark);
    border: none;
    border-radius: var(--fd-radius-sm);
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    min-height: 36px;
}

/* ─── Body ───────────────────────────────────────────────────── */

.tm-body[b-5f8z303nuj] {
    padding: 16px 16px 100px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tm-loading[b-5f8z303nuj] {
    text-align: center;
    padding: 40px;
    color: var(--fd-text-muted);
    font-size: 14px;
}

/* ─── Role Section Label ─────────────────────────────────────── */

.tm-role-label[b-5f8z303nuj] {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 4px 2px 0;
}

.tm-role-dot[b-5f8z303nuj] {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    flex-shrink: 0;
}

.tm-dot-designer[b-5f8z303nuj] { background: var(--fd-accent); }
.tm-dot-worker[b-5f8z303nuj]   { background: var(--fd-amber); }

/* ─── Add Form ───────────────────────────────────────────────── */

.tm-form-card[b-5f8z303nuj] {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 18px;
}

.tm-form-title[b-5f8z303nuj] {
    font-size: 15px;
    font-weight: 700;
    color: var(--fd-text);
}

/* ─── Login Toggle ───────────────────────────────────────────── */

.tm-toggle-row[b-5f8z303nuj] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: var(--fd-background);
    border-radius: var(--fd-radius-sm);
    padding: 12px 14px;
}

.tm-toggle-label[b-5f8z303nuj] {
    font-size: 14px;
    font-weight: 600;
    color: var(--fd-text);
}

.tm-toggle-sub[b-5f8z303nuj] {
    font-size: 12px;
    color: var(--fd-text-muted);
    margin-top: 2px;
}

.tm-toggle[b-5f8z303nuj] {
    position: relative;
    width: 46px;
    height: 26px;
    border-radius: 13px;
    background: var(--fd-border);
    border: none;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    transition: background 0.2s;
}

.tm-toggle-on[b-5f8z303nuj] { background: var(--fd-primary); }

.tm-toggle-knob[b-5f8z303nuj] {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
    transition: left 0.2s;
}

.tm-toggle-on .tm-toggle-knob[b-5f8z303nuj] { left: 23px; }

/* ─── Username / Password inputs ─────────────────────────────── */

.tm-username-wrap[b-5f8z303nuj] {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--fd-border);
    border-radius: var(--fd-radius-sm);
    overflow: hidden;
    background: var(--fd-surface);
    transition: border-color 0.15s;
}

.tm-username-wrap:focus-within[b-5f8z303nuj] { border-color: var(--fd-primary); }

.tm-at[b-5f8z303nuj] {
    padding: 0 10px;
    font-size: 15px;
    color: var(--fd-text-muted);
    font-weight: 500;
    border-right: 1.5px solid var(--fd-border);
    align-self: stretch;
    display: flex;
    align-items: center;
    background: var(--fd-background);
}

.tm-username-input[b-5f8z303nuj] {
    border: none;
    border-radius: 0;
    flex: 1;
}

.tm-username-input:focus[b-5f8z303nuj] {
    border-color: transparent;
    outline: none;
}

.tm-pw-wrap[b-5f8z303nuj] {
    display: flex;
    align-items: center;
    border: 1.5px solid var(--fd-border);
    border-radius: var(--fd-radius-sm);
    overflow: hidden;
    background: var(--fd-surface);
    transition: border-color 0.15s;
}

.tm-pw-wrap:focus-within[b-5f8z303nuj] { border-color: var(--fd-primary); }

.tm-pw-input[b-5f8z303nuj] {
    border: none;
    border-radius: 0;
    flex: 1;
}

.tm-pw-input:focus[b-5f8z303nuj] {
    border-color: transparent;
    outline: none;
}

.tm-eye-btn[b-5f8z303nuj] {
    background: none;
    border: none;
    padding: 0 12px;
    color: var(--fd-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    align-self: stretch;
}

.tm-eye-btn:hover[b-5f8z303nuj] { color: var(--fd-text); }

.tm-form-error[b-5f8z303nuj] {
    font-size: 13px;
    color: #C0392B;
    background: #FEECEC;
    padding: 8px 12px;
    border-radius: var(--fd-radius-sm);
}

.tm-form-actions[b-5f8z303nuj] {
    display: flex;
    gap: 10px;
}

.tm-cancel[b-5f8z303nuj] { flex: 1; }
.tm-submit[b-5f8z303nuj] { flex: 2; }

/* ─── Staff Card ─────────────────────────────────────────────── */

.tm-card[b-5f8z303nuj] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    min-height: 56px;
}

.tm-avatar[b-5f8z303nuj] {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    text-transform: uppercase;
}

.tm-avatar-designer[b-5f8z303nuj]  { background: var(--fd-accent-soft);  color: var(--fd-accent); }
.tm-avatar-tailor[b-5f8z303nuj]    { background: var(--fd-amber-soft);   color: var(--fd-amber); }
.tm-avatar-master[b-5f8z303nuj]    { background: var(--fd-green-soft);   color: var(--fd-green); }
.tm-avatar-embroidery[b-5f8z303nuj]{ background: var(--fd-primary-soft); color: var(--fd-primary-dark); }
.tm-avatar-hook[b-5f8z303nuj]      { background: #F0EBF8;                color: #7B5EA7; }

.tm-info[b-5f8z303nuj] {
    flex: 1;
    min-width: 0;
}

.tm-name[b-5f8z303nuj] {
    font-size: 15px;
    font-weight: 500;
    color: var(--fd-text);
}

.tm-meta[b-5f8z303nuj] {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 3px;
    flex-wrap: wrap;
}

.tm-login-pill[b-5f8z303nuj] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 600;
    color: var(--fd-green);
    background: var(--fd-green-soft);
    border-radius: 20px;
    padding: 2px 7px;
}

.tm-no-login-pill[b-5f8z303nuj] {
    font-size: 11px;
    font-weight: 500;
    color: var(--fd-text-muted);
    background: var(--fd-background);
    border-radius: 20px;
    padding: 2px 7px;
    border: 1px solid var(--fd-border);
}

.tm-username-text[b-5f8z303nuj] {
    font-size: 12px;
    color: var(--fd-text-muted);
}

/* ─── Role Badges ────────────────────────────────────────────── */

.tm-role-badge[b-5f8z303nuj] {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
    flex-shrink: 0;
}

.tm-badge-designer[b-5f8z303nuj]  { background: var(--fd-accent-soft);  color: var(--fd-accent); }
.tm-badge-tailor[b-5f8z303nuj]    { background: var(--fd-amber-soft);   color: var(--fd-amber); }
.tm-badge-master[b-5f8z303nuj]    { background: var(--fd-green-soft);   color: var(--fd-green); }
.tm-badge-embroidery[b-5f8z303nuj]{ background: var(--fd-primary-soft); color: var(--fd-primary-dark); }
.tm-badge-hook[b-5f8z303nuj]      { background: #F0EBF8;                color: #7B5EA7; }

/* ─── Edit Button ────────────────────────────────────────────── */

.tm-edit-btn[b-5f8z303nuj] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: transparent;
    color: var(--fd-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

.tm-edit-btn:hover[b-5f8z303nuj] {
    background: var(--fd-primary-soft);
    color: var(--fd-primary-dark);
}

.tm-optional[b-5f8z303nuj] {
    font-size: 11px;
    font-weight: 400;
    color: var(--fd-text-muted);
}

/* ─── Delete Control ─────────────────────────────────────────── */

.tm-delete-btn[b-5f8z303nuj] {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: none;
    border: none;
    color: var(--fd-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tm-delete-btn:hover[b-5f8z303nuj] {
    background: #FEECEC;
    color: #C0392B;
}

.tm-delete-confirm[b-5f8z303nuj] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.tm-delete-q[b-5f8z303nuj] {
    font-size: 12px;
    color: #C0392B;
    font-weight: 600;
}

.tm-delete-yes[b-5f8z303nuj],
.tm-delete-no[b-5f8z303nuj] {
    padding: 4px 10px;
    border-radius: var(--fd-radius-sm);
    border: none;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.tm-delete-yes[b-5f8z303nuj] { background: #C0392B; color: #fff; }
.tm-delete-no[b-5f8z303nuj]  { background: var(--fd-background); color: var(--fd-text-muted); }

/* ─── Empty State ────────────────────────────────────────────── */

.tm-empty[b-5f8z303nuj] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 8px;
    text-align: center;
}

.tm-empty-icon[b-5f8z303nuj] {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--fd-primary-soft);
    color: var(--fd-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.tm-empty-title[b-5f8z303nuj] {
    font-size: 17px;
    font-weight: 700;
    color: var(--fd-text);
}

.tm-empty-sub[b-5f8z303nuj] {
    font-size: 13px;
    color: var(--fd-text-muted);
    max-width: 280px;
    line-height: 1.5;
}

.tm-empty-cta[b-5f8z303nuj] {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

/* ─── Shared Buttons ─────────────────────────────────────────── */

.fd-btn-secondary[b-5f8z303nuj] {
    padding: 14px 20px;
    border-radius: var(--fd-radius-sm);
    border: 1.5px solid var(--fd-border);
    background: var(--fd-surface);
    color: var(--fd-text);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
}

.fd-btn-secondary:active[b-5f8z303nuj] { background: var(--fd-background); }

/* ─── Tablet / Desktop ───────────────────────────────────────── */

@@media (min-width: 768px) {
    .tm-header[b-5f8z303nuj] { padding-top: 28px; }
    .tm-body[b-5f8z303nuj] { max-width: 520px; }
}
/* /Shared/MeasField.razor.rz.scp.css */
.mf-input[b-s06n9koq38] {
    text-align: right;
}
/* /Shared/OrderItemForm.razor.rz.scp.css */
.oif-form[b-4mqlh6k96o] {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 10px;
}

.oif-section[b-4mqlh6k96o] {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--fd-border);
}

.oif-section-last[b-4mqlh6k96o] {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}


/* ── Garment chips ─────────────────────────────────────────────── */
.oif-chips[b-4mqlh6k96o] {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.oif-chip[b-4mqlh6k96o] {
    padding: 8px 14px;
    background: var(--fd-background);
    border: 1.5px solid var(--fd-border);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
    color: var(--fd-text);
    font-family: inherit;
    min-height: 36px;
    transition: background 0.12s, border-color 0.12s, color 0.12s;
}

.oif-chip.active[b-4mqlh6k96o] {
    background: var(--fd-primary);
    border-color: var(--fd-primary);
    color: white;
    font-weight: 600;
}

/* ── Select ────────────────────────────────────────────────────── */
.oif-select[b-4mqlh6k96o] {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%238A8A8E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

/* ── Measurements header + load ────────────────────────────────── */
.oif-meas-header[b-4mqlh6k96o] {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.oif-load-btn[b-4mqlh6k96o] {
    background: none;
    border: none;
    color: var(--fd-primary-dark);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    padding: 4px 0;
}

.oif-load-bar[b-4mqlh6k96o] {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--fd-primary-soft);
    border-radius: var(--fd-radius-sm);
    padding: 10px 12px;
    flex-wrap: wrap;
}

.oif-load-text[b-4mqlh6k96o] {
    flex: 1;
    font-size: 13px;
    color: var(--fd-primary-dark);
    font-weight: 500;
}

.oif-load-apply[b-4mqlh6k96o] {
    padding: 6px 14px;
    background: var(--fd-primary);
    color: white;
    border: none;
    border-radius: var(--fd-radius-xs);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    min-height: 36px;
}

.oif-load-dismiss[b-4mqlh6k96o] {
    padding: 6px 12px;
    background: transparent;
    color: var(--fd-text-muted);
    border: 1px solid var(--fd-border);
    border-radius: var(--fd-radius-xs);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    min-height: 36px;
}

/* ── Measurement stepper ───────────────────────────────────────── */
.oif-stepper[b-4mqlh6k96o] {
    display: flex;
    align-items: center;
    gap: 0;
}

.oif-stepper .oif-meas[b-4mqlh6k96o] {
    flex: 1;
    text-align: center;
    border-radius: 0;
    border-left: none;
    border-right: none;
}

.oif-step-btn[b-4mqlh6k96o] {
    width: 44px;
    height: 48px;
    border: 1.5px solid var(--fd-border);
    background: var(--fd-background);
    color: var(--fd-primary-dark);
    font-size: 20px;
    font-weight: 400;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: inherit;
    line-height: 1;
}

.oif-step-btn:first-child[b-4mqlh6k96o] {
    border-radius: var(--fd-radius-sm) 0 0 var(--fd-radius-sm);
}

.oif-step-btn:last-child[b-4mqlh6k96o] {
    border-radius: 0 var(--fd-radius-sm) var(--fd-radius-sm) 0;
}

.oif-step-btn:active[b-4mqlh6k96o] {
    background: var(--fd-primary-soft);
}

.oif-meas-filled[b-4mqlh6k96o],
.oif-input-filled[b-4mqlh6k96o] {
    border-color: var(--fd-filled-border);
}

/* ── Qty ───────────────────────────────────────────────────────── */
.oif-qty-field[b-4mqlh6k96o] { flex-direction: row; align-items: center; justify-content: space-between; }
.oif-qty-input[b-4mqlh6k96o] { width: 80px; text-align: center; }

/* ── Load bar ──────────────────────────────────────────────────── */
.oif-load-info[b-4mqlh6k96o] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.oif-load-date[b-4mqlh6k96o] {
    font-size: 11px;
    color: var(--fd-primary-dark);
    opacity: 0.75;
}

.oif-load-actions[b-4mqlh6k96o] {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

/* ── Fabric optional label ─────────────────────────────────────── */
.oif-optional[b-4mqlh6k96o] {
    font-size: 11px;
    font-weight: 400;
    color: var(--fd-text-muted);
    text-transform: none;
    letter-spacing: 0;
}

/* ── Ruler strip ───────────────────────────────────────────────── */
.oif-ruler-strip[b-4mqlh6k96o] {
    position: relative;
    height: 76px;
    border-radius: var(--fd-radius-sm);
    border: 1.5px solid var(--fd-primary);
    overflow: hidden;
    touch-action: none;
    user-select: none;
    -webkit-user-select: none;
    margin-top: -6px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

.oif-ruler-needle[b-4mqlh6k96o] {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background: var(--fd-primary);
    transform: translateX(-50%);
    z-index: 2;
    pointer-events: none;
}

.oif-ruler-needle[b-4mqlh6k96o]::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid var(--fd-primary);
}

#oif-ruler-canvas[b-4mqlh6k96o] {
    display: block;
    width: 100%;
    height: 76px;
    cursor: grab;
}

#oif-ruler-canvas:active[b-4mqlh6k96o] { cursor: grabbing; }

/* ── Compound measurement ──────────────────────────────────────── */
.oif-compound[b-4mqlh6k96o] {
    display: flex;
    gap: 12px;
}

.oif-compound-part[b-4mqlh6k96o] {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.oif-compound-sublabel[b-4mqlh6k96o] {
    font-size: 11px;
    font-weight: 600;
    color: var(--fd-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

/* ── Actions ───────────────────────────────────────────────────── */
.oif-actions[b-4mqlh6k96o] {
    display: flex;
    gap: 10px;
    padding-top: 4px;
}

.oif-cancel[b-4mqlh6k96o] {
    flex: 1;
    padding: 14px;
    background: var(--fd-background);
    color: var(--fd-text-muted);
    border: 1.5px solid var(--fd-border);
    border-radius: var(--fd-radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    min-height: 56px;
}

.oif-confirm[b-4mqlh6k96o] {
    flex: 2;
    padding: 14px;
    background: var(--fd-primary);
    color: white;
    border: none;
    border-radius: var(--fd-radius-sm);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    min-height: 56px;
    transition: background 0.12s;
}

.oif-confirm:disabled[b-4mqlh6k96o] {
    opacity: 0.45;
    cursor: not-allowed;
}
/* /Shared/SketchPicker.razor.rz.scp.css */
/* ── Overlay ────────────────────────────────────────────────────── */
.sp-overlay[b-vmghai7ah5] {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 200;
    display: flex;
    align-items: flex-end;
}

/* ── Bottom panel ───────────────────────────────────────────────── */
.sp-panel[b-vmghai7ah5] {
    width: 100%;
    background: var(--fd-surface);
    border-radius: var(--fd-radius) var(--fd-radius) 0 0;
    padding: 0 16px calc(24px + env(safe-area-inset-bottom, 0px));
    max-height: 90vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── Header ─────────────────────────────────────────────────────── */
.sp-header[b-vmghai7ah5] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0 0;
    position: sticky;
    top: 0;
    background: var(--fd-surface);
    z-index: 1;
}

.sp-title[b-vmghai7ah5] {
    font-size: 20px;
}

.sp-close[b-vmghai7ah5] {
    width: 36px;
    height: 36px;
    background: var(--fd-background);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--fd-text-muted);
}

/* ── Tabs ───────────────────────────────────────────────────────── */
.sp-tabs[b-vmghai7ah5] {
    display: flex;
    gap: 8px;
    background: var(--fd-background);
    border-radius: var(--fd-radius-sm);
    padding: 4px;
}

.sp-tab[b-vmghai7ah5] {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border: none;
    background: transparent;
    border-radius: var(--fd-radius-xs);
    font-size: 14px;
    font-weight: 600;
    color: var(--fd-text-muted);
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, color 0.15s;
}

.sp-tab.active[b-vmghai7ah5] {
    background: var(--fd-surface);
    color: var(--fd-primary-dark);
    box-shadow: var(--fd-shadow);
}

/* ── Library grid ───────────────────────────────────────────────── */
.sp-library-grid[b-vmghai7ah5] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.sp-lib-entry[b-vmghai7ah5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 8px;
    background: var(--fd-background);
    border: 2px solid transparent;
    border-radius: var(--fd-radius-sm);
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.12s;
}

.sp-lib-entry.selected[b-vmghai7ah5] {
    border-color: var(--fd-primary);
    background: var(--fd-primary-soft);
}

.sp-lib-thumb[b-vmghai7ah5] {
    width: 80px;
    height: 80px;
    border-radius: var(--fd-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-lib-initial[b-vmghai7ah5] {
    font-size: 28px;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.2);
}

.sp-lib-name[b-vmghai7ah5] {
    font-size: 12px;
    font-weight: 600;
    color: var(--fd-text);
    text-align: center;
}

/* ── Drawing tools ──────────────────────────────────────────────── */
.sp-tools[b-vmghai7ah5] {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.sp-tool-group[b-vmghai7ah5] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sp-color-btn[b-vmghai7ah5] {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2.5px solid transparent;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.1s, transform 0.1s;
}

.sp-color-btn:last-child[b-vmghai7ah5] {
    border-color: var(--fd-border);
}

.sp-color-btn.active[b-vmghai7ah5] {
    border-color: var(--fd-primary-dark);
    transform: scale(1.15);
}

.sp-width-btn[b-vmghai7ah5],
.sp-tool-btn[b-vmghai7ah5] {
    width: 36px;
    height: 36px;
    background: var(--fd-background);
    border: 1.5px solid var(--fd-border);
    border-radius: var(--fd-radius-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--fd-text-muted);
}

.sp-width-btn.active[b-vmghai7ah5],
.sp-tool-btn.active[b-vmghai7ah5] {
    background: var(--fd-primary-soft);
    border-color: var(--fd-primary);
    color: var(--fd-primary-dark);
}

.sp-dot[b-vmghai7ah5] {
    background: var(--fd-text);
    border-radius: 50%;
    display: block;
}

.sp-dot-sm[b-vmghai7ah5] { width: 4px;  height: 4px; }
.sp-dot-lg[b-vmghai7ah5] { width: 9px;  height: 9px; }

.sp-clear[b-vmghai7ah5] {
    margin-left: auto;
    padding: 6px 12px;
    background: var(--fd-background);
    border: 1.5px solid var(--fd-border);
    border-radius: var(--fd-radius-xs);
    font-size: 13px;
    font-weight: 600;
    color: var(--fd-text-muted);
    cursor: pointer;
    font-family: inherit;
    min-height: 36px;
}

/* ── Canvas ─────────────────────────────────────────────────────── */
.sp-canvas[b-vmghai7ah5] {
    width: 100%;
    aspect-ratio: 1/1;
    border: 1.5px solid var(--fd-border);
    border-radius: var(--fd-radius-sm);
    touch-action: none;
    cursor: crosshair;
    display: block;
    background: white;
}

/* ── Confirm ────────────────────────────────────────────────────── */
.sp-confirm[b-vmghai7ah5] {
    width: 100%;
    padding: 16px;
    background: var(--fd-primary);
    color: white;
    border: none;
    border-radius: var(--fd-radius-sm);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    min-height: 56px;
}

.sp-confirm:disabled[b-vmghai7ah5] {
    opacity: 0.45;
    cursor: not-allowed;
}
