/* /Components/Factory/ProductionSheetPrintLine.razor.rz.scp.css */
.ps-print-line[b-07mnh8gvbi] {
    max-width: 100%;
}

@media (max-width: 767.98px) {
    .ps-print-line[b-07mnh8gvbi] {
        max-width: 11rem;
    }

    .ps-print-btn[b-07mnh8gvbi] {
        min-height: 44px;
        min-width: 44px;
    }
}
/* /Components/Factory/Stage/ContrastsToCut.razor.rz.scp.css */
/* "★ Contrasts to cut" (the Cutting mockup). It sits in a .card-body, where the dark theme flattens every colour
   (`html[data-theme="dark"] .card-body *`, 0,2,1), so each colour here has a `html[data-theme] .card-body` form that
   outranks it; the head and the shirts take theirs from app.css's .sp-label. Tokens only. */
.ctc-rows[b-clmtpvg6oc] { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }

/* thumbnail · fabric and parts · shirts */
.ctc-row[b-clmtpvg6oc] { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 0; }
.ctc-row + .ctc-row[b-clmtpvg6oc] { border-top: 1px solid var(--cs-separator); }

.ctc-swatch[b-clmtpvg6oc] { display: block; width: 48px; height: 48px; object-fit: cover; border: 1px solid var(--cs-separator); }
/* Cloth we know nothing about: one plain tone. It stands for fabric, not UI, so it stays light in both themes (dark
   mode's --cs-white is about light mode's --cs-light-gray, as the Assembly cards' --asm-cloth). */
.ctc-tone[b-clmtpvg6oc] { background: var(--cs-light-gray); }
html[data-theme="dark"] .ctc-tone[b-clmtpvg6oc] { background: var(--cs-white); }

.ctc-text[b-clmtpvg6oc] { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.ctc-fabric[b-clmtpvg6oc] { font-weight: 600; line-height: 1.3; }
.ctc-parts[b-clmtpvg6oc],
html[data-theme] .card-body .ctc-parts[b-clmtpvg6oc] { font-size: 14px; line-height: 1.35; color: var(--cs-text-secondary); }
/* The shirts keep to their column: past ~160px they wrap rather than squeeze the fabric's name. */
.ctc-shirts[b-clmtpvg6oc] { max-width: 160px; text-align: right; }

@media (max-width: 767.98px) {
    .ctc-shirts[b-clmtpvg6oc] { max-width: 120px; }
}
/* /Components/Factory/Stage/FabricProgressLine.razor.rz.scp.css */
/* The Received stage's progress line (the Received mockup). It sits in a .card-body: the headline takes the dark theme's
   card text colour, the chip's colours come from app.css's .sp-chip-warn, and the strip only paints backgrounds (which
   the `.card-body *` flattening leaves alone). Tokens only. */
.fpl[b-ttpadzzhxu] { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.fpl-top[b-ttpadzzhxu] { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 14px; }
.fpl-headline[b-ttpadzzhxu] { font-size: 20px; font-weight: 600; line-height: 1.25; }

/* One cell per shirt; the ready ones in brass (the /factory header's day strip). */
.fpl-cells[b-ttpadzzhxu] { display: flex; gap: 4px; max-width: 520px; }
.fpl-cells span[b-ttpadzzhxu] { flex: 1; height: 10px; background: var(--cs-light-gray); border: 1px solid var(--cs-separator); }
.fpl-cells span.full[b-ttpadzzhxu] { background: var(--cs-brass); border-color: var(--cs-brass); }

/* Past MaxCells: one bar, filled to the share of shirts whose fabric is in. */
.fpl-bar[b-ttpadzzhxu] { max-width: 520px; height: 10px; background: var(--cs-light-gray); border: 1px solid var(--cs-separator); }
.fpl-bar span[b-ttpadzzhxu] { display: block; height: 100%; background: var(--cs-brass); }

@media (max-width: 767.98px) {
    .fpl-headline[b-ttpadzzhxu] { font-size: 18px; }
    .fpl-cells[b-ttpadzzhxu], .fpl-bar[b-ttpadzzhxu] { max-width: none; }
}
/* /Components/Factory/Stage/MoveCheckDialog.razor.rz.scp.css */
/* The check before Cutting (the Design mockup): a centred card, also on a phone (never full screen — it is a question,
   not a form). app.css gives .modal-content its colours in both themes; everything here is tokens. */
.mcd-dialog[b-l48wdddcm1] { max-width: 560px; }
.mcd-card[b-l48wdddcm1] { color: var(--cs-text); }

.mcd-head[b-l48wdddcm1] { display: flex; flex-direction: column; gap: 6px; padding: 22px 24px 6px; }
.mcd-title[b-l48wdddcm1] { margin: 0; font-family: var(--cs-font-display); font-size: 22px; font-weight: 600; line-height: 1.2; color: var(--cs-text); }
.mcd-sub[b-l48wdddcm1] { margin: 0; font-size: 14px; line-height: 1.45; color: var(--cs-text-secondary); }

.mcd-rows[b-l48wdddcm1] { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 12px 24px 18px; list-style: none; }
.mcd-rows li[b-l48wdddcm1] { display: flex; align-items: center; gap: 12px; font-size: 15px; line-height: 1.35; }
.mcd-row-text[b-l48wdddcm1] { min-width: 0; }

/* The row's mark: a word-free square beside words (the text says it; the mark only groups). */
.mcd-mark[b-l48wdddcm1] {
    display: inline-flex; align-items: center; justify-content: center; flex: none; width: 28px; height: 28px;
    font-size: 14px; font-weight: 700; border: 1px solid var(--cs-separator); color: var(--cs-text-secondary);
}
.mcd-mark--warn[b-l48wdddcm1] { background: var(--cs-differs-bg); border-color: var(--cs-differs-border); color: var(--cs-differs-text); }
.mcd-mark--ok[b-l48wdddcm1] { color: var(--cs-green); }

.mcd-problem[b-l48wdddcm1] {
    margin: 0 24px 18px; padding: 10px 14px; font-size: 14px;
    background: var(--cs-missing-bg); border: 1px solid var(--cs-missing-border); color: var(--cs-missing-text);
}
.mcd-problem-title[b-l48wdddcm1] { font-weight: 600; }
.mcd-problem-text[b-l48wdddcm1] { margin: 4px 0 0; }
.mcd-holds[b-l48wdddcm1] { margin: 4px 0 0; padding-left: 18px; }

.mcd-foot[b-l48wdddcm1] {
    display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; padding: 14px 24px;
    border-top: 1px solid var(--cs-separator); background: var(--cs-paper);
}
.mcd-btn[b-l48wdddcm1] { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; }

html[data-theme="dark"] .mcd-mark--ok[b-l48wdddcm1] { color: #8FD0AC; }
html[data-theme="dark"] .mcd-foot[b-l48wdddcm1] { background: transparent; }

/* Phones: still a card; the buttons stack full width, the send on top and Stay here at the bottom. */
@media (max-width: 767.98px) {
    .mcd-head[b-l48wdddcm1] { padding: 18px 16px 4px; }
    .mcd-rows[b-l48wdddcm1] { padding: 10px 16px 14px; }
    .mcd-problem[b-l48wdddcm1] { margin: 0 16px 14px; }
    .mcd-foot[b-l48wdddcm1] { flex-direction: column-reverse; align-items: stretch; padding: 12px 16px; }
    .mcd-btn[b-l48wdddcm1] { width: 100%; }
}
/* /Components/Factory/Stage/NextUpBanner.razor.rz.scp.css */
/* Next up (the Assembly mockup): one row under the header — the moved chip, what comes next, the button, Dismiss. A
   green edge says the move went through; words first (never colour alone). Square corners like the stage cards. */
.nub[b-k56iu8gsmp] {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-areas: "chip text act dismiss";
    align-items: center; gap: 12px 18px; margin-bottom: 16px; padding: 12px 16px 12px 20px;
    background: var(--cs-card-bg); border: 1px solid var(--cs-separator); border-left: 3px solid var(--cs-green);
    color: var(--cs-text);
}

.nub-chip[b-k56iu8gsmp] {
    grid-area: chip; justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 28px;
    padding: 2px 10px; font-size: 12.5px; font-weight: 600; line-height: 1.2; white-space: nowrap;
    border: 1px solid var(--cs-separator); color: var(--cs-green);
}

.nub-text[b-k56iu8gsmp] { grid-area: text; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nub-line[b-k56iu8gsmp] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 15px; }
.nub-line b[b-k56iu8gsmp] { font-size: 16px; font-weight: 600; }

.nub-act[b-k56iu8gsmp] {
    grid-area: act; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px;
    white-space: nowrap;
}

.nub-dismiss[b-k56iu8gsmp] {
    grid-area: dismiss; display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--cs-text-secondary);
}
.nub-dismiss:hover[b-k56iu8gsmp], .nub-dismiss:focus-visible[b-k56iu8gsmp] { color: var(--cs-text); background: var(--cs-brass-glow); }

html[data-theme="dark"] .nub[b-k56iu8gsmp] { border-left-color: #8FD0AC; }
html[data-theme="dark"] .nub-chip[b-k56iu8gsmp] { color: #8FD0AC; }

/* Phones: the chip and Dismiss on the first row, the order under them, the button full width. */
@media (max-width: 767.98px) {
    .nub[b-k56iu8gsmp] {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: "chip dismiss" "text text" "act act";
        gap: 8px 12px; padding: 10px 12px 12px 14px;
    }
    .nub-act[b-k56iu8gsmp] { width: 100%; }
}
/* /Components/Factory/Stage/ShipToCard.razor.rz.scp.css */
/* The Ship to card on the Packaging stage (owner 2026-11-10). The label's colours come from app.css's .sp-label, which
   outranks the dark theme's `.card-body *` flattening. */
.stc[b-gdgap4spx7] { margin-bottom: 16px; }
.stc-body[b-gdgap4spx7] { display: flex; flex-direction: column; gap: 10px; padding: 16px 20px; }
.stc-title[b-gdgap4spx7] { margin: 0; }
.stc-address[b-gdgap4spx7] { white-space: pre-line; font-size: 15px; line-height: 1.5; }
.stc-actions[b-gdgap4spx7] { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; }

/* Touch: a 44px target. */
@media (pointer: coarse), (max-width: 767.98px) {
    .stc-validate[b-gdgap4spx7] { min-height: 44px; }
}
/* /Components/Factory/Stage/StageActionBar.razor.rz.scp.css */
/* The stage bar's own layout. app.css places it (sticky at the bottom of the screen, above the phone nav), together with
   Packaging's bar. Back (StageBarLeading) takes the left; More, the secondary and the primary sit right. */
.stage-bar[b-ww22qm4naf] { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-top: 24px; padding: 12px 16px; }

.sab-secondary[b-ww22qm4naf] { min-height: 44px; }
.sab-primary[b-ww22qm4naf] { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; }
.sab-label[b-ww22qm4naf] { min-width: 0; }

/* Phones (StagePhone): Back and More are icons; the primary takes the rest of the row. */
@media (max-width: 767.98px) {
    .stage-bar[b-ww22qm4naf] { gap: 8px; padding: 10px 12px; }
    .sab-primary[b-ww22qm4naf] { flex: 1 1 auto; min-width: 0; padding-left: 12px; padding-right: 12px; }
    .sab-label[b-ww22qm4naf] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
/* /Components/Factory/Stage/StageBarLeading.razor.rz.scp.css */
/* "← Back to {stage}": a 44px target that pushes the rest of its bar (the stage bar or Packaging's) to the right. */
.sbl-back[b-4pi355vxca] {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; flex: none;
    min-height: 44px; min-width: 44px; margin-right: auto;
}

/* Phones (StagePhone): the arrow only; its aria-label still names the stage. */
@media (max-width: 767.98px) {
    .sbl-back[b-4pi355vxca] { width: 44px; padding: 0; }
    .sbl-text[b-4pi355vxca] { display: none; }
}
/* /Components/Factory/Stage/StageMoreMenu.razor.rz.scp.css */
/* The stage bar's More (owner 2026-11-10, part 2): the menu opens upward from the bar. The bar is never inside a .card,
   so nothing clips it. */
.smm[b-cu1jq3agmw] { position: relative; flex: none; }

.smm-toggle[b-cu1jq3agmw] {
    position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 44px; min-width: 44px;
}
.smm-toggle[aria-expanded="true"][b-cu1jq3agmw] { border-color: var(--cs-brass); }

/* A tap anywhere else closes the menu (More itself sits above it, so a second tap on More closes it too). */
.smm-backdrop[b-cu1jq3agmw] { position: fixed; inset: 0; z-index: 0; }

.smm-menu[b-cu1jq3agmw] {
    position: absolute; right: 0; bottom: calc(100% + 8px); z-index: 2; width: 260px; max-width: calc(100vw - 32px);
    padding: 6px 0; background: var(--cs-card-bg); border: 1px solid var(--cs-separator);
    box-shadow: 0 -8px 24px rgba(20, 17, 13, .12);
}
html[data-theme="dark"] .smm-menu[b-cu1jq3agmw] { box-shadow: 0 -8px 24px rgba(0, 0, 0, .45); }

.smm-item[b-cu1jq3agmw] {
    display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; width: 100%;
    min-height: 44px; padding: 8px 16px; border: 0; background: transparent; color: var(--cs-text);
    font-family: var(--cs-font-body); font-size: 15px; font-weight: 500; line-height: 1.3; text-align: left;
}
.smm-item:hover:not(:disabled)[b-cu1jq3agmw] { background: var(--cs-brass-glow); }
.smm-item:focus-visible[b-cu1jq3agmw] { background: var(--cs-brass-glow); outline: 2px solid var(--cs-brass); outline-offset: -2px; }
.smm-item--danger[b-cu1jq3agmw] { color: var(--cs-missing-text); }
.smm-item:disabled[b-cu1jq3agmw] { color: var(--cs-text-secondary); cursor: not-allowed; }
.smm-why[b-cu1jq3agmw] { font-size: 12.5px; font-weight: 400; color: var(--cs-text-secondary); }

.smm-divider[b-cu1jq3agmw] { height: 1px; margin: 6px 0; background: var(--cs-separator); }

/* Phones (StagePhone): More is its icon and can sit anywhere on the bar — beside Back, or alone at the right edge on
   Shipped, Delivered, Cancelled or Closed — so the menu hangs from the bar, not from More: .smm is static, the bar
   (sticky in app.css, so positioned) contains the menu, and the menu spans it, inset like the bar's own padding. */
@media (max-width: 767.98px) {
    .smm[b-cu1jq3agmw] { position: static; }
    .smm-text[b-cu1jq3agmw] { display: none; }
    .smm-toggle[b-cu1jq3agmw] { width: 44px; padding: 0; }
    .smm-menu[b-cu1jq3agmw] { left: 12px; right: 12px; width: auto; max-width: none; }
}
/* /Components/Factory/Stage/StageOrderHeader.razor.rz.scp.css */
/* The stage pages' header (owner 2026-11-10, part 2): the production sheet's three zones, then the facts on one line.
   Not a .card: no card clip and no dark `.card-body *` flattening, so the tokens below hold in both themes. */
.soh[b-itmc850gpz] {
    background: var(--cs-card-bg);
    border: 1px solid var(--cs-separator);
    border-top: 3px solid var(--cs-brass);
    margin-bottom: 16px;
    color: var(--cs-text);
}

.soh-zones[b-itmc850gpz] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 24px;
    align-items: start;
    padding: 20px 28px 18px;
}
.soh-big[b-itmc850gpz] { font-size: 26px; font-weight: 600; line-height: 1.1; color: var(--cs-text); }
.soh-sub[b-itmc850gpz] { font-size: 14px; color: var(--cs-text-secondary); }

.soh-account[b-itmc850gpz] { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.soh-trunc[b-itmc850gpz] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.soh-pattern[b-itmc850gpz] { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; min-width: 0; }
.soh-pattern-name[b-itmc850gpz] {
    font-family: var(--cs-font-display); font-weight: 400; font-size: 32px; letter-spacing: -.005em; overflow-wrap: anywhere;
}

.soh-order[b-itmc850gpz] { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; min-width: 0; }
.soh-id[b-itmc850gpz] { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 12px; }
.soh-number[b-itmc850gpz] { font-size: 32px; white-space: nowrap; }
.soh-tools[b-itmc850gpz] { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px; }

/* The stage chip: a dot in the stage's colour (app.css fx-st-*) beside its name, never colour alone. */
.fx-stage[b-itmc850gpz] {
    display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px;
    font-size: 13px; font-weight: 500; line-height: 1.2; white-space: nowrap;
    border: 1px solid var(--cs-separator); color: var(--cs-text);
}

.soh-facts[b-itmc850gpz] { display: flex; flex-wrap: wrap; padding: 0 28px; border-top: 1px solid var(--cs-separator); }
.soh-fact[b-itmc850gpz] { display: flex; flex-direction: column; gap: 3px; padding: 12px 22px; border-left: 1px solid var(--cs-separator); }
.soh-fact:first-child[b-itmc850gpz] { border-left: 0; padding-left: 0; }
.soh-fact-shipby[b-itmc850gpz] { min-width: 0; }
.soh-v[b-itmc850gpz] { font-size: 16px; font-weight: 600; color: var(--cs-text); }
.soh-shipby[b-itmc850gpz] { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.soh-prior[b-itmc850gpz] { color: var(--cs-text); text-decoration: underline; text-underline-offset: 3px; }
.soh-prior:hover[b-itmc850gpz], .soh-prior:focus-visible[b-itmc850gpz] { color: var(--cs-brass-dark); }

/* One line where the page has the room (a 1200px viewport beside the sidebar); the facts wrap below it. */
@media (min-width: 1200px) {
    .soh-facts[b-itmc850gpz] { flex-wrap: nowrap; }
}

/* Between a tablet and the one-line width the facts wrap: no left rule or indent on a fact that lands first on a line. */
@media (min-width: 768px) and (max-width: 1199.98px) {
    .soh-facts[b-itmc850gpz] { column-gap: 28px; }
    .soh-fact[b-itmc850gpz] { border-left: 0; padding-left: 0; padding-right: 0; }
}

/* Touch: the tools under the order # (Reprint, Retry, Attachments) are 44px tall. */
@media (pointer: coarse) {
    .soh-tools[b-itmc850gpz]  .btn { min-height: 44px; }
}

/* Touch: the Prior order link's hit area is 44px tall without moving the layout. */
@media (pointer: coarse), (max-width: 767.98px) {
    .soh-prior[b-itmc850gpz] { position: relative; }
    .soh-prior[b-itmc850gpz]::after { content: ""; position: absolute; inset: -11px -6px; }
}

/* The Ship By's colour once outside a card (the card-body overrides no longer reach it). */
html[data-theme="dark"] .soh .text-danger[b-itmc850gpz] { color: #E58A8A !important; }
html[data-theme="dark"] .soh .text-warning[b-itmc850gpz] { color: #E5C16E !important; }

/* Phones: the order # and chip on top with the tools beside them, the pattern centred under it, the account on one
   muted line, the facts in two columns. */
@media (max-width: 767.98px) {
    .soh-zones[b-itmc850gpz] { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 12px 16px 14px; }
    .soh-order[b-itmc850gpz] { order: -1; flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
    .soh-id[b-itmc850gpz] { flex-direction: row-reverse; justify-content: flex-end; gap: 8px; }
    .soh-number[b-itmc850gpz] { font-size: 20px; }
    .soh-pattern-name[b-itmc850gpz] { font-size: 28px; }
    .soh-account[b-itmc850gpz] { order: 1; flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 0 6px; text-align: center; }
    .soh-account .sp-label[b-itmc850gpz] { display: none; }
    .soh-account .soh-big[b-itmc850gpz], .soh-account .soh-sub[b-itmc850gpz] { font-size: 13px; font-weight: 400; color: var(--cs-text-secondary); }
    .soh-account .soh-trunc[b-itmc850gpz] { white-space: normal; }
    .soh-account .soh-sub[b-itmc850gpz]::before { content: "· "; }
    .soh-tools[b-itmc850gpz]  .btn { min-height: 44px; }

    .soh-facts[b-itmc850gpz] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; }
    .soh-fact[b-itmc850gpz], .soh-fact:first-child[b-itmc850gpz] { padding: 10px 16px; border-left: 0; border-top: 1px solid var(--cs-separator); }
    .soh-fact:first-child[b-itmc850gpz] { border-top: 0; }
    .soh-fact:nth-child(odd):not(:first-child)[b-itmc850gpz] { border-left: 1px solid var(--cs-separator); }
    .soh-fact-shipby[b-itmc850gpz] { grid-column: 1 / -1; }
}

@media print {
    .soh[b-itmc850gpz] { margin-bottom: 6px; }
    .soh-zones[b-itmc850gpz] { padding: 6px 10px; gap: 12px; }
    .soh-big[b-itmc850gpz], .soh-number[b-itmc850gpz] { font-size: 14pt; }
    .soh-pattern-name[b-itmc850gpz] { font-size: 18pt; }
    .soh-facts[b-itmc850gpz] { padding: 0 10px; flex-wrap: wrap; }
    .soh-fact[b-itmc850gpz] { padding: 4px 12px; }
    .soh-v[b-itmc850gpz] { font-size: 11pt; }
}
/* /Components/Factory/Stage/StageStepper.razor.rz.scp.css */
/* The stage pages' top row (owner 2026-11-10, part 2): "← Factory" and the progress stepper. */
.ss-row[b-zmxt1oy10c] { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }

.ss-back[b-zmxt1oy10c] {
    display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 44px; padding: 0 14px;
    border: 1px solid var(--cs-separator); background: var(--cs-card-bg); color: var(--cs-text);
    font-size: 14px; font-weight: 500; text-decoration: none;
}
.ss-back:hover[b-zmxt1oy10c], .ss-back:focus-visible[b-zmxt1oy10c] { border-color: var(--cs-brass); color: var(--cs-text); }

.ss-steps[b-zmxt1oy10c] { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 4px; flex: 1; min-width: 0; }
.ss-step[b-zmxt1oy10c] {
    display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 0 12px;
    font-size: 13px; font-weight: 500; white-space: nowrap; color: var(--cs-text-secondary); border: 1px solid transparent;
}
.ss-step.done[b-zmxt1oy10c] { color: var(--cs-text); }
.ss-step.now[b-zmxt1oy10c] { color: var(--cs-text); font-weight: 600; border-color: var(--cs-brass); background: var(--cs-brass-glow); }
.ss-check[b-zmxt1oy10c] { color: var(--cs-green); }
.ss-warn[b-zmxt1oy10c] { color: var(--cs-missing-text); }
.ss-sep[b-zmxt1oy10c] { font-size: 11px; color: var(--cs-text-secondary); opacity: .6; }

html[data-theme="dark"] .ss-check[b-zmxt1oy10c] { color: #8FD0AC; }

/* Phones: the header's stage chip says where the order is; the back link stays. */
@media (max-width: 767.98px) {
    .ss-row[b-zmxt1oy10c] { margin-bottom: 12px; }
    .ss-steps[b-zmxt1oy10c] { display: none; }
}
/* /Components/Factory/Stage/WaitingFabricNote.razor.rz.scp.css */
/* The waiting-fabric note (part 2 Ruling 7): the "waiting" tokens, words first (never colour alone). The doubled class
   outranks the dark theme's `.card-body *` / `.card-body a` colours, so the note reads the same inside a card. */
.wfn[b-p7hx1ank6g] {
    display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 36px; padding: 4px 12px;
    margin-bottom: 16px; font-size: 14px; font-weight: 500; line-height: 1.3; text-decoration: none;
    background: var(--cs-differs-bg); border: 1px solid var(--cs-differs-border);
}
.wfn.wfn[b-p7hx1ank6g], .wfn.wfn *[b-p7hx1ank6g] { color: var(--cs-differs-text); }
.wfn:hover[b-p7hx1ank6g], .wfn:focus-visible[b-p7hx1ank6g] { box-shadow: 0 0 0 2px var(--cs-differs-border); }
.wfn:hover span[b-p7hx1ank6g], .wfn:focus-visible span[b-p7hx1ank6g] { text-decoration: underline; text-underline-offset: 3px; }

/* Touch: a 44px target. */
@media (pointer: coarse), (max-width: 767.98px) {
    .wfn[b-p7hx1ank6g] { min-height: 44px; }
}
/* /Components/Factory/Stage/WaitingInfoCard.razor.rz.scp.css */
/* The "Waiting on the store" card (Submitted): the waiting rule on the left, as the store's note has its brass one; the
   asked items as label / answer rows; "waiting" in the waiting tokens, in words (never colour alone). Colours use
   doubled classes or an html-level form so they outrank the dark theme's `.card-body *` flattening (0,2,1). */
.wic[b-vi8rjgyf4k] { border-left: 3px solid var(--cs-differs-border); }
.wic-title[b-vi8rjgyf4k] { display: inline-flex; align-items: center; gap: 6px; }
.wic-when[b-vi8rjgyf4k] { font-size: 13px; }
/* The <time> is LocalTime's own element, so it needs ::deep to take the muted colour. */
.wic-when.wic-when[b-vi8rjgyf4k], .wic-when.wic-when[b-vi8rjgyf4k]  time { color: var(--cs-text-muted); }

/* Padding, not margin: the shared `.sp-label` sets margin 0 at a higher specificity. */
.wic-group[b-vi8rjgyf4k] { padding: 14px 0 2px; }
.sp-head + .wic-group[b-vi8rjgyf4k] { padding-top: 0; }
.wic-rows[b-vi8rjgyf4k] { margin: 0; }
.wic-row[b-vi8rjgyf4k] {
    display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
    padding: 7px 0; border-bottom: 1px solid var(--cs-separator); font-size: 15px; line-height: 1.35;
}
.wic-row:last-child[b-vi8rjgyf4k] { border-bottom: 0; }
.wic-label[b-vi8rjgyf4k] { margin: 0; font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
.wic-value[b-vi8rjgyf4k] { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.wic-waiting.wic-waiting[b-vi8rjgyf4k] { color: var(--cs-differs-text); font-weight: 500; font-style: italic; }

.wic-note[b-vi8rjgyf4k] { margin: 12px 0 0; font-size: 14px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.wic-answered[b-vi8rjgyf4k] { display: flex; align-items: baseline; gap: 6px; margin: 12px 0 0; font-size: 14px; font-weight: 500; }
.wic-answered.wic-answered[b-vi8rjgyf4k], .wic-answered.wic-answered *[b-vi8rjgyf4k] { color: var(--cs-green); }
html[data-theme="dark"] .wic-answered.wic-answered[b-vi8rjgyf4k],
html[data-theme="dark"] .wic-answered.wic-answered *[b-vi8rjgyf4k] { color: #8FD0AC; }
/* /Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-f12wresk4z] {
    background: var(--cs-card-bg, lightyellow);
    color: var(--cs-text, #333);
    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;
    border-top: 2px solid var(--cs-orange, #9F8453);
}

    #blazor-error-ui .dismiss[b-f12wresk4z] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* NavMenu - minimal scoped styles; Bootstrap handles most navbar styling */
/* Global navbar styles are in app.css under .navbar-cs */
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-klcyevfi22],
.components-reconnect-repeated-attempt-visible[b-klcyevfi22],
.components-reconnect-failed-visible[b-klcyevfi22],
.components-pause-visible[b-klcyevfi22],
.components-resume-failed-visible[b-klcyevfi22],
.components-rejoining-animation[b-klcyevfi22] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-klcyevfi22],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-klcyevfi22],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-klcyevfi22],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-klcyevfi22],
#components-reconnect-modal.components-reconnect-retrying[b-klcyevfi22],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-klcyevfi22],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-klcyevfi22],
#components-reconnect-modal.components-reconnect-failed[b-klcyevfi22],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-klcyevfi22] {
    display: block;
}


#components-reconnect-modal[b-klcyevfi22] {
    background-color: var(--cs-card-bg, 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-klcyevfi22 0.5s both;
    /* The dialog opens (and blocks clicks) the moment the connection drops, but stays invisible
       for the first second: most reconnects finish sooner, so the user sees nothing (2026-10-28). */
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-klcyevfi22 1.5s cubic-bezier(.05, .89, .25, 1.02) 1s, components-reconnect-modal-fadeInOpacity-b-klcyevfi22 0.5s ease-in-out 1s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-klcyevfi22]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-klcyevfi22 0.5s ease-in-out 1s both;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-klcyevfi22 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-klcyevfi22 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-klcyevfi22 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-klcyevfi22] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-klcyevfi22] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-klcyevfi22] {
    border: 0;
    background-color: var(--cs-gold, #9B7E4B);
    color: white;
    padding: 4px 24px;
    border-radius: 0;
}

    #components-reconnect-modal button:hover[b-klcyevfi22] {
        background-color: var(--cs-gold-dark, #7D6539);
    }

    #components-reconnect-modal button:active[b-klcyevfi22] {
        background-color: var(--cs-gold, #9B7E4B);
    }

.components-rejoining-animation[b-klcyevfi22] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-klcyevfi22] {
        position: absolute;
        border: 3px solid var(--cs-gold, #9B7E4B);
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-klcyevfi22 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-klcyevfi22] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-klcyevfi22 {
    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/Pages/Admin/AdminShipmentBox.razor.rz.scp.css */
/* The box page: the header's orders and boxes wrap as one line of links. */
.box-page__meta[b-ms9tx4p8tw] {
    display: flex;
    flex-wrap: wrap;
    column-gap: 0.75rem;
    row-gap: 0.25rem;
    margin-top: 0.25rem;
}

/* UPS's date moves read as one sentence; long ones wrap at the arrows' spaces. */
.box-page__dates[b-ms9tx4p8tw] {
    font-size: 1.0625rem;
    line-height: 1.5;
}

/* A service row's name and arrival keep room before the price and the button wrap under them. */
.box-page__service[b-ms9tx4p8tw] {
    min-width: 12rem;
}

/* Touch: 44px targets (the pointer, not the width, as app.css does). */
@media (pointer: coarse) {
    .box-touch[b-ms9tx4p8tw] {
        min-height: 44px;
    }
}

/* Phones: the row's action spans the row under its price. */
@media (max-width: 575.98px) {
    .box-page__row-btn[b-ms9tx4p8tw] {
        width: 100%;
    }
}
/* /Components/Pages/Admin/AdminShipments.razor.rz.scp.css */
/* The app's own tokens (--cs-*, light and html[data-theme="dark"]), never Bootstrap's own variables: those don't follow the
   app's dark theme. Late rows, the late count and the chips share the --cs-chip-* tones (app.css). */
.shp-card[b-ds290t4rmy] { background: var(--cs-card-bg); border: 1px solid var(--cs-separator); border-radius: 10px; overflow: hidden; color: var(--cs-text); }
.shp-search[b-ds290t4rmy] { padding: 12px 16px 0; }
.shp-search input[b-ds290t4rmy] { min-height: 44px; }
.shp-search small[b-ds290t4rmy] { display: block; margin-top: 4px; }
.shp-tabs[b-ds290t4rmy] { display: flex; gap: 8px; padding: 12px 16px; border-bottom: 1px solid var(--cs-separator); flex-wrap: wrap; }
.shp-tab[b-ds290t4rmy] { min-height: 44px; display: inline-flex; align-items: center; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--cs-separator);
           background: transparent; color: var(--cs-text); font-size: 14px; white-space: nowrap; }
.shp-tab.on[b-ds290t4rmy] { border-color: var(--cs-brass); background: var(--cs-cream); font-weight: 600; }
.shp-n[b-ds290t4rmy] { margin-left: 6px; color: var(--cs-text-muted); }
.shp-late-n[b-ds290t4rmy] { margin-left: 6px; color: var(--cs-chip-late-ink); font-weight: 600; }

.shp-table[b-ds290t4rmy] { width: 100%; border-collapse: collapse; font-size: 14px; color: var(--cs-text); }
.shp-table th[b-ds290t4rmy] { text-align: left; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--cs-text-muted); padding: 10px 12px; border-bottom: 1px solid var(--cs-separator); font-weight: 600; }
.shp-table td[b-ds290t4rmy] { padding: 12px; border-bottom: 1px solid var(--cs-separator); vertical-align: top; }
.shp-table tr.is-late td[b-ds290t4rmy] { background: color-mix(in srgb, var(--cs-chip-late-bg) 35%, transparent); }
.shp-clickable[b-ds290t4rmy] { cursor: pointer; }
.shp-clickable:hover td[b-ds290t4rmy], .shp-pcard.shp-clickable:hover[b-ds290t4rmy] { background: var(--cs-light-gray); }
.shp-store[b-ds290t4rmy] { font-weight: 600; color: var(--cs-text); text-decoration: none; }
.shp-store:hover[b-ds290t4rmy] { text-decoration: underline; }
.shp-mono[b-ds290t4rmy] { font-family: ui-monospace, Consolas, monospace; font-size: 13px; }
.shp-was[b-ds290t4rmy] { color: var(--cs-text-muted); text-decoration: line-through; margin-left: 6px; font-size: 13px; }
.shp-empty[b-ds290t4rmy] { padding: 16px; }

.shp-pcard[b-ds290t4rmy] { border-bottom: 1px solid var(--cs-separator); padding: 12px 16px; font-size: 15px; overflow-wrap: anywhere; }
.shp-pcard.is-late[b-ds290t4rmy] { background: color-mix(in srgb, var(--cs-chip-late-bg) 35%, transparent); }
.shp-prow[b-ds290t4rmy] { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.shp-pd[b-ds290t4rmy] { margin-top: 4px; }
.shp-pw[b-ds290t4rmy] { margin-top: 2px; font-size: 14px; color: var(--cs-text-secondary); }
.shp-pactions[b-ds290t4rmy]  .tsb { margin-top: 10px; align-items: stretch; }
.shp-pactions[b-ds290t4rmy]  .btn { min-height: 44px; width: 100%; justify-content: center; }

@media (pointer: coarse), (max-width: 767.98px) {
    .shp-search input[b-ds290t4rmy] { font-size: 16px; }
    .shp-store[b-ds290t4rmy] { min-height: 44px; display: inline-flex; align-items: center; }
}
@media (max-width: 767.98px) {
    .shp-tabs[b-ds290t4rmy] { flex-wrap: nowrap; overflow-x: auto; }
}
/* /Components/Pages/Factory/FabricInventory.razor.rz.scp.css */
.cs-clickable-row:hover[b-ulekfqtn1f] { background-color: var(--cs-light-gray, rgba(0,0,0,0.03)); }

.fi-modal-hero[b-ulekfqtn1f] { position: relative; height: 460px; overflow: hidden; background: #242424; }
.fi-modal-hero img[b-ulekfqtn1f] { width: 100%; height: 100%; object-fit: contain; }

.fi-modal-hero-empty[b-ulekfqtn1f] {
    width: 100%; height: 100%; display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: .5rem;
    color: var(--cs-text-muted, #888); font-size: .9rem;
}
.fi-modal-hero-empty i[b-ulekfqtn1f] { font-size: 2.5rem; }

.fi-modal-hero-overlay[b-ulekfqtn1f] {
    position: absolute; bottom: 0; left: 0; right: 0; padding: 1rem 1.5rem;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-top: 1px solid rgba(255,255,255,0.15);
}
.fi-modal-hero-overlay h4[b-ulekfqtn1f] { color: #fff; margin: 0; font-weight: 400; letter-spacing: .08em; text-shadow: 0 1px 4px rgba(0,0,0,.3); }

.fi-modal-nav[b-ulekfqtn1f] {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,0.4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: none; color: #fff; padding: .5rem .625rem; cursor: pointer;
    font-size: 1.125rem; line-height: 1; transition: background .2s ease;
}
.fi-modal-nav:hover[b-ulekfqtn1f] { background: rgba(0,0,0,0.6); }
.fi-modal-nav.prev[b-ulekfqtn1f] { left: 8px; }
.fi-modal-nav.next[b-ulekfqtn1f] { right: 8px; }

.fi-modal-thumbs[b-ulekfqtn1f] { display: flex; gap: 4px; padding: .75rem 1.5rem; overflow-x: auto; background: var(--cs-light-gray, #f3f3f3); }
.fi-modal-thumbs img[b-ulekfqtn1f] { width: 52px; height: 52px; object-fit: cover; cursor: pointer; border: 2px solid transparent; opacity: .6; transition: all .2s ease; }
.fi-modal-thumbs img:hover[b-ulekfqtn1f] { opacity: .85; }
.fi-modal-thumbs img.active[b-ulekfqtn1f] { border-color: var(--cs-gold, #c8a24a); opacity: 1; }

@media (max-width: 575.98px) { .fi-modal-hero[b-ulekfqtn1f] { height: 320px; } }
/* /Components/Pages/Factory/FactoryDashboard.razor.rz.scp.css */
/* The /factory search row and Late filter (owner redesign 2026-11-10). */
.fd-tools[b-q6cxsxks38] { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 14px; }
.fd-search[b-q6cxsxks38] { max-width: 360px; }
.fd-search .form-control[b-q6cxsxks38], .fd-search .input-group-text[b-q6cxsxks38], .fd-search .btn[b-q6cxsxks38] { min-height: 44px; }
.fd-showing[b-q6cxsxks38] { font-size: 13px; color: var(--cs-text-secondary); }
.fd-spacer[b-q6cxsxks38] { flex: 1; }
.fd-late[b-q6cxsxks38] {
    display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
    font: inherit; font-size: 14px; font-weight: 600; cursor: pointer;
    background: var(--cs-missing-bg); border: 1px solid var(--cs-missing-border); color: var(--cs-missing-text);
}
.fd-late:hover[b-q6cxsxks38] { box-shadow: 0 0 0 2px var(--cs-missing-border); }
.fd-late[aria-pressed="true"][b-q6cxsxks38] { background: var(--cs-missing-text); border-color: var(--cs-missing-text); color: var(--cs-card-bg); }

@media (max-width: 767.98px) {
    .fd-search[b-q6cxsxks38] { max-width: none; flex: 1 1 100%; }
}

/* The page's toast host: ordering-brand.css pins the container 1rem from the top, under the 61px top bar, so it starts
   below the bar. */
.factory-view[b-q6cxsxks38]  .brass-toast-container { top: 76px; }
/* /Components/Pages/Factory/FactoryHeader.razor.rz.scp.css */
/* The /factory header band (owner 2026-11-10): the production sheet's three zones between brass rules. */
.fh-band[b-q8vy9x0rs8] {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    padding: 20px 0 18px;
    margin-bottom: 24px;
    border-top: 2px solid var(--cs-brass);
    border-bottom: 1px solid var(--cs-brass);
}
.fh-left[b-q8vy9x0rs8] { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.fh-label[b-q8vy9x0rs8], .fh-closed-label[b-q8vy9x0rs8] {
    font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cs-text-secondary);
}
.fh-big[b-q8vy9x0rs8] { font-family: var(--cs-font-display); font-weight: 400; font-size: 40px; line-height: 1; color: var(--cs-text); }
.fh-days[b-q8vy9x0rs8] { display: flex; gap: 4px; max-width: 340px; margin-top: 4px; }
.fh-days span[b-q8vy9x0rs8] { flex: 1; height: 10px; background: var(--cs-light-gray); border: 1px solid var(--cs-separator); }
.fh-days span.full[b-q8vy9x0rs8] { background: var(--cs-brass); border-color: var(--cs-brass); }
.fh-days span.half[b-q8vy9x0rs8] { background: linear-gradient(90deg, var(--cs-brass) 50%, var(--cs-light-gray) 50%); border-color: var(--cs-brass); }
.fh-sub[b-q8vy9x0rs8] { font-size: 14px; color: var(--cs-text-secondary); }
.fh-skeleton[b-q8vy9x0rs8] { height: 96px; max-width: 360px; background: var(--cs-light-gray); border: 1px solid var(--cs-separator); }

.fh-center[b-q8vy9x0rs8] { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.fh-title[b-q8vy9x0rs8] { font-family: var(--cs-font-display); font-weight: 400; font-size: 36px; line-height: 1; letter-spacing: .02em; margin: 0; color: var(--cs-text); }
.fh-rule[b-q8vy9x0rs8] { width: 44px; height: 2px; background: var(--cs-brass); }
.fh-meta[b-q8vy9x0rs8] { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; color: var(--cs-text-secondary); }
.fh-live[b-q8vy9x0rs8] { display: inline-flex; align-items: center; gap: 6px; }
.fh-live-dot[b-q8vy9x0rs8] { width: 7px; height: 7px; border-radius: 50%; background: #2D6A4F; }

.fh-right[b-q8vy9x0rs8] { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
#factory-receiving[b-q8vy9x0rs8] { scroll-margin-top: 76px; }
.fh-tools[b-q8vy9x0rs8] { display: flex; align-items: center; gap: 4px; }
.fh-inventory[b-q8vy9x0rs8] {
    display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 10px;
    font-size: 13px; font-weight: 500; color: var(--cs-text-secondary); text-decoration: none;
}
.fh-inventory:hover[b-q8vy9x0rs8], .fh-inventory:focus-visible[b-q8vy9x0rs8] { color: var(--cs-text); text-decoration: underline; text-underline-offset: 3px; }
.fh-refresh[b-q8vy9x0rs8] {
    width: 44px; height: 44px; display: inline-grid; place-items: center;
    border: 1px solid transparent; background: transparent; color: var(--cs-text-secondary); cursor: pointer;
}
.fh-refresh:hover[b-q8vy9x0rs8], .fh-refresh:focus-visible[b-q8vy9x0rs8] { border-color: var(--cs-separator); color: var(--cs-text); }
.fh-closed[b-q8vy9x0rs8] { font-size: 13px; color: var(--cs-text-secondary); text-align: right; }
.fh-closed strong[b-q8vy9x0rs8] { color: var(--cs-text); font-weight: 500; }

/* Tablets in portrait and phones: stack the zones, Factory on top. */
@media (max-width: 991.98px) {
    .fh-band[b-q8vy9x0rs8] { grid-template-columns: 1fr; gap: 16px; padding-top: 14px; }
    .fh-center[b-q8vy9x0rs8] { order: -1; }
    .fh-right[b-q8vy9x0rs8] { align-items: stretch; }
    .fh-receive[b-q8vy9x0rs8] { width: 100%; justify-content: center; }
    .fh-tools[b-q8vy9x0rs8] { justify-content: space-between; }
    .fh-closed[b-q8vy9x0rs8] { text-align: left; }
    .fh-big[b-q8vy9x0rs8] { font-size: 32px; }
    .fh-title[b-q8vy9x0rs8] { font-size: 28px; }
}

html[data-theme="dark"] .fh-live-dot[b-q8vy9x0rs8] { background: #8FD0AC; }
/* /Components/Pages/Factory/FactoryOrderTable.razor.rz.scp.css */
/* The /factory table (owner 2026-11-10). Grid rows, each opens its order; a Fabric chip opens its popover. */
/* No overflow box: the fabric popover must never be clipped (app.css gives every .card overflow: hidden), and the table
   fits beside the sidebar from 1200px up (account under the pattern, priority under the order #); narrower screens get
   the stacked rows. */
.fo-desktop[b-5ck89yv4d7], .fo-phone[b-5ck89yv4d7] { overflow: visible; }
.fo-grid[b-5ck89yv4d7] {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr) 52px 128px 104px 116px 136px 16px;
    gap: 12px;
    align-items: center;
    padding: 0 18px;
}
.fo-grid--noproj[b-5ck89yv4d7] { grid-template-columns: 104px minmax(0, 1fr) 52px 128px 104px 136px 16px; }
.fo-head[b-5ck89yv4d7] {
    min-height: 42px;
    background: var(--cs-light-gray);
    border-bottom: 1px solid var(--cs-separator);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--cs-text-secondary);
}
.fo-row[b-5ck89yv4d7] {
    min-height: 58px;
    border-bottom: 1px solid var(--cs-separator);
    cursor: pointer;
    transition: background .12s ease;
    font-size: 14px;
    color: var(--cs-text);
}
.fo-row:last-child[b-5ck89yv4d7] { border-bottom: 0; }
.fo-row:hover[b-5ck89yv4d7] { background: var(--cs-brass-glow); }
.fo-row:hover .fo-chev[b-5ck89yv4d7] { color: var(--cs-brass-dark); transform: translateX(2px); }
.fo-center[b-5ck89yv4d7] { text-align: center; }
.fo-trunc[b-5ck89yv4d7] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fo-row[b-5ck89yv4d7] { padding-top: 8px; padding-bottom: 8px; }
.fo-num[b-5ck89yv4d7] { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.fo-num a[b-5ck89yv4d7] { font-weight: 600; font-size: 15px; color: var(--cs-text); text-decoration: none; display: inline-flex; min-height: 28px; align-items: center; }
.fo-num a:hover[b-5ck89yv4d7], .fo-num a:focus-visible[b-5ck89yv4d7] { text-decoration: underline; text-underline-offset: 3px; }
.fo-num .fo-prio[b-5ck89yv4d7] { font-size: 11.5px; padding: 1px 6px; }
.fo-ident[b-5ck89yv4d7] { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.fo-pattern[b-5ck89yv4d7] { font-weight: 500; }
.fo-acct[b-5ck89yv4d7] { font-size: 13px; color: var(--cs-text-secondary); }
.fo-count[b-5ck89yv4d7] {
    display: inline-flex; justify-content: center; min-width: 34px; padding: 2px 8px;
    border: 1px solid var(--cs-separator); background: var(--cs-light-gray); font-weight: 500;
}
.fo-dash[b-5ck89yv4d7] { color: var(--cs-text-secondary); }
.fo-chev[b-5ck89yv4d7] { color: var(--cs-text-secondary); transition: transform .12s ease, color .12s ease; }

/* Fabric */
.fo-in[b-5ck89yv4d7] { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; color: #2D6A4F; }
.fo-fabwrap[b-5ck89yv4d7] { position: relative; display: inline-block; }
.fo-missing[b-5ck89yv4d7] {
    position: relative;
    display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 2px 10px;
    font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
    background: var(--cs-differs-bg); border: 1px solid var(--cs-differs-border); color: var(--cs-differs-text);
}
/* A 44px tap area around the 36px chip, so a near miss doesn't land on the row and open the order. */
.fo-missing[b-5ck89yv4d7]::after { content: ""; position: absolute; inset: -4px; }
.fo-missing:hover[b-5ck89yv4d7], .fo-missing[aria-expanded="true"][b-5ck89yv4d7] { box-shadow: 0 0 0 2px var(--cs-differs-border); }
.fo-caret[b-5ck89yv4d7] { font-size: 11px; }
.fo-pop[b-5ck89yv4d7] {
    position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; width: 320px;
    padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; cursor: default;
    box-shadow: var(--cs-shadow-lg); text-align: left;
}
.fo-pop-head[b-5ck89yv4d7] { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.fo-pop-title[b-5ck89yv4d7] { font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cs-brass-dark); }
.fo-pop-close[b-5ck89yv4d7] {
    border: 0; background: transparent; color: var(--cs-text-secondary); width: 44px; height: 44px; margin: -8px -10px -8px 0;
    cursor: pointer;
}
.fo-pop-line[b-5ck89yv4d7] { display: flex; flex-direction: column; line-height: 1.3; }
.fo-pop-fabric[b-5ck89yv4d7] { font-size: 14px; color: var(--cs-text); }
.fo-pop-detail[b-5ck89yv4d7] { font-size: 12.5px; color: var(--cs-text-secondary); }

/* Ship By, Projected, priority, stage */
.fo-shipby[b-5ck89yv4d7] { display: flex; flex-direction: column; gap: 2px; }
.fo-needs[b-5ck89yv4d7] { font-size: 12px; font-weight: 600; color: var(--cs-brass-dark); }
.fo-proj[b-5ck89yv4d7] { display: inline-flex; padding: 2px 8px; font-size: 13px; color: var(--cs-text-secondary); }
.fo-proj--late[b-5ck89yv4d7] {
    background: var(--cs-missing-bg); border: 1px solid var(--cs-missing-border); color: var(--cs-missing-text); font-weight: 600;
}
.fo-prio[b-5ck89yv4d7] { display: inline-flex; padding: 2px 8px; font-size: 12.5px; font-weight: 600; border: 1px solid transparent; white-space: nowrap; }
.fo-prio--normal[b-5ck89yv4d7] { color: var(--cs-text-secondary); font-weight: 400; padding-left: 0; }
.fo-prio--asap[b-5ck89yv4d7] { background: #8B2500; border-color: #8B2500; color: #FFFFFF; }
.fo-prio--rush[b-5ck89yv4d7] { background: var(--cs-differs-bg); border-color: var(--cs-differs-border); color: var(--cs-differs-text); }
.fo-prio--ts[b-5ck89yv4d7] { background: var(--cs-defaulted-bg); border-color: var(--cs-defaulted-border); color: var(--cs-defaulted-text); }
.fo-stage[b-5ck89yv4d7] { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.fo-stage-chip[b-5ck89yv4d7] {
    display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; font-size: 12.5px; font-weight: 500;
    border: 1px solid var(--cs-separator); white-space: nowrap; color: var(--cs-text);
}
.fo-2nd[b-5ck89yv4d7] {
    display: inline-flex; align-items: center; gap: 4px; padding: 1px 8px; font-size: 11.5px;
    background: var(--cs-defaulted-bg); border: 1px solid var(--cs-defaulted-border); color: var(--cs-defaulted-text);
}

.fo-empty[b-5ck89yv4d7] { padding: 48px 16px; text-align: center; color: var(--cs-text-secondary); }
.fo-empty i[b-5ck89yv4d7] { font-size: 48px; }
.fo-empty p[b-5ck89yv4d7] { margin: 12px 0 0; font-size: 18px; }

/* Phones: stacked rows */
.fo-phone[b-5ck89yv4d7] { display: none; }
.fo-prow[b-5ck89yv4d7] {
    display: grid; grid-template-columns: minmax(0, 1fr) auto 16px; gap: 10px; align-items: center;
    padding: 12px 14px; min-height: 72px; border-bottom: 1px solid var(--cs-separator); cursor: pointer; color: var(--cs-text);
}
.fo-prow:last-child[b-5ck89yv4d7] { border-bottom: 0; }
.fo-pmain[b-5ck89yv4d7] { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.fo-ptitle a[b-5ck89yv4d7] { font-weight: 600; font-size: 15px; color: var(--cs-text); text-decoration: none; }
.fo-pacct[b-5ck89yv4d7], .fo-psub[b-5ck89yv4d7] { font-size: 13px; color: var(--cs-text-secondary); }
.fo-pchips[b-5ck89yv4d7] { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.fo-pside[b-5ck89yv4d7] { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.fo-pship[b-5ck89yv4d7] { font-size: 13px; font-weight: 500; }
.fo-pchev[b-5ck89yv4d7] { color: var(--cs-text-secondary); }

@media (max-width: 1199.98px) {
    .fo-desktop[b-5ck89yv4d7] { display: none; }
    .fo-phone[b-5ck89yv4d7] { display: block; }
    /* Stacked rows: the popover spans the row (anchored to it, not to the chip), so it never runs off a phone's edge. */
    .fo-prow[b-5ck89yv4d7] { position: relative; }
    .fo-phone .fo-fabwrap[b-5ck89yv4d7] { position: static; }
    .fo-phone .fo-pop[b-5ck89yv4d7] { left: 14px; right: 14px; width: auto; max-width: 420px; }
}

html[data-theme="dark"] .fo-in[b-5ck89yv4d7] { color: #8FD0AC; }
html[data-theme="dark"] .fo-prio--asap[b-5ck89yv4d7] { background: #B03333; border-color: #B03333; }
/* /Components/Pages/Factory/FactoryProcess.razor.rz.scp.css */
/* Factory Process: the page's own scoped rules. The stage pieces style themselves (Components/Factory/Stage), and the
   bottom bars sit in app.css's "Factory Process bottom bars" block. The phone sticky bar these rules once showed was
   removed 2026-11-11 with the stage pages' one bottom bar (part 2). */

/* The stage fragments sit in .card-body, where the dark theme flattens every colour (`html[data-theme="dark"]
   .card-body *`, 0,2,1). A colour here therefore has a `html[data-theme] .card-body` form that outranks it; the chips
   and labels take theirs from app.css's .sp-* block. Tokens only. */
.rv-muted[b-0qpnkclxd7], .rf-muted[b-0qpnkclxd7], .ds-muted[b-0qpnkclxd7], .ct-muted[b-0qpnkclxd7], .pk-muted[b-0qpnkclxd7], .sh-muted[b-0qpnkclxd7],
html[data-theme] .card-body .rv-muted[b-0qpnkclxd7],
html[data-theme] .card-body .rf-muted[b-0qpnkclxd7],
html[data-theme] .card-body .ds-muted[b-0qpnkclxd7],
html[data-theme] .card-body .ct-muted[b-0qpnkclxd7],
html[data-theme] .card-body .pk-muted[b-0qpnkclxd7],
html[data-theme] .card-body .sh-muted[b-0qpnkclxd7] { font-size: 14px; line-height: 1.4; color: var(--cs-text-secondary); }

/* A dark card turns its anchors gold (`.card-body a`); the document buttons keep the colour of the buttons beside them. */
html[data-theme="dark"] .card-body a.pk-doc-btn[b-0qpnkclxd7],
html[data-theme="dark"] .card-body a.sh-doc-btn[b-0qpnkclxd7] { color: var(--cs-text); }

/* ── Review (Submitted) — the Review mockup ─────────────────────────────────────────────────────────────────────── */

/* sp-cols gives the 320px side column from 1200px; with nothing to put in it the shirts take the whole width. */
.rv-cols--solo[b-0qpnkclxd7] { grid-template-columns: minmax(0, 1fr); }
.rv-main[b-0qpnkclxd7], .rv-side[b-0qpnkclxd7] { display: flex; flex-direction: column; gap: 20px; min-width: 0; }

.rv-tiles[b-0qpnkclxd7] { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px; }
.rv-tile[b-0qpnkclxd7] { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--cs-separator); background: var(--cs-card-bg); }

/* The swatch, 4:3. Nothing here clips, so the ⋮ menu's dropdown opens over the tiles below (Ruling 3). */
.rv-swatch[b-0qpnkclxd7] { position: relative; aspect-ratio: 4 / 3; background: var(--cs-light-gray); }
.rv-swatch-img[b-0qpnkclxd7] { display: block; width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.rv-swatch-img:focus-visible[b-0qpnkclxd7] { outline: 2px solid var(--cs-brass); outline-offset: -2px; }
.rv-swatch-tone[b-0qpnkclxd7] { display: grid; place-items: center; width: 100%; height: 100%; }
.rv-swatch-chip[b-0qpnkclxd7],
html[data-theme] .card-body .rv-swatch-chip[b-0qpnkclxd7] {
    position: absolute; top: 8px; left: 8px; max-width: calc(100% - 64px); white-space: normal; background: var(--cs-card-bg);
}
.rv-menu[b-0qpnkclxd7] { position: absolute; top: 6px; right: 6px; }
.rv-menu-btn[b-0qpnkclxd7] {
    display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
    background: var(--cs-card-bg); border-radius: 0;
}

.rv-tile-body[b-0qpnkclxd7] { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 12px 14px; min-width: 0; overflow-wrap: anywhere; }
.rv-fabric[b-0qpnkclxd7] { font-weight: 600; line-height: 1.25; }
/* A tile is ~170px wide: the status chip wraps rather than overflow it. */
.rv-status[b-0qpnkclxd7],
html[data-theme] .card-body .rv-status[b-0qpnkclxd7] { white-space: normal; }

.rv-side-title[b-0qpnkclxd7] { margin-bottom: 10px; }
.rv-note[b-0qpnkclxd7] { border-left: 3px solid var(--cs-brass); }
.rv-note-text[b-0qpnkclxd7] { margin: 0; font-size: 15px; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere; }

.rv-services[b-0qpnkclxd7] { display: flex; flex-direction: column; gap: 12px; margin: 0; padding: 0; list-style: none; }
.rv-services li[b-0qpnkclxd7] { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; align-items: baseline; }
.rv-service-head[b-0qpnkclxd7] { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 8px; min-width: 0; }
.rv-service-name[b-0qpnkclxd7] { font-weight: 500; }
.rv-service-qty[b-0qpnkclxd7] { font-weight: 600; }
.rv-service-note[b-0qpnkclxd7] { grid-column: 1 / -1; }

/* ── Received (fabric check-in) — the Received mockup ───────────────────────────────────────────────────────────── */

/* An `auto` track takes its max-content before a `1fr` track gets anything, so the Receive side and a row's chip and
   actions each have a max-width: the progress line and the fabric's name keep their room. */
.rf-progress[b-0qpnkclxd7] { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px 24px; padding: 18px 24px; }
.rf-receive[b-0qpnkclxd7] { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; max-width: 280px; text-align: right; }
.rf-receive-btn[b-0qpnkclxd7] { display: inline-flex; align-items: center; min-height: 44px; }
/* An anchor in a dark card turns gold (`.card-body a`); keep it the colour of the buttons beside it. */
html[data-theme="dark"] .card-body a.rf-receive-btn[b-0qpnkclxd7] { color: var(--cs-text); }

/* One row per shirt line: swatch · what it is · status · actions. */
.rf-row[b-0qpnkclxd7] { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto auto; align-items: start; gap: 12px 20px; padding: 16px 0; }
.rf-row + .rf-row[b-0qpnkclxd7] { border-top: 1px solid var(--cs-separator); }
.rf-swatch[b-0qpnkclxd7] { display: block; width: 48px; height: 48px; object-fit: cover; border: 1px solid var(--cs-separator); }
img.rf-swatch[b-0qpnkclxd7] { cursor: zoom-in; }
img.rf-swatch:focus-visible[b-0qpnkclxd7] { outline: 2px solid var(--cs-brass); outline-offset: 2px; }

.rf-info[b-0qpnkclxd7] { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-width: 0; overflow-wrap: anywhere; }
.rf-fabric[b-0qpnkclxd7] { font-size: 16px; font-weight: 600; line-height: 1.3; }
.rf-cmt[b-0qpnkclxd7] { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; margin-top: 6px; }
.rf-photos[b-0qpnkclxd7] { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }

/* The status chip wraps inside its column rather than widen it. */
.rf-status[b-0qpnkclxd7],
html[data-theme] .card-body .rf-status[b-0qpnkclxd7] { max-width: 200px; white-space: normal; }

/* The actions keep to a column of their own: past ~340px they wrap. */
.rf-actions[b-0qpnkclxd7] { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 8px; max-width: 340px; }
.rf-actions .btn[b-0qpnkclxd7], .rf-actions .form-select[b-0qpnkclxd7] { min-height: 44px; }
.rf-link[b-0qpnkclxd7] { width: auto; min-width: 220px; max-width: 100%; }
.rf-roll[b-0qpnkclxd7],
html[data-theme] .card-body .rf-roll[b-0qpnkclxd7] { white-space: normal; }

/* Touch: every control in a row is a 44px target (the actions already are). */
@media (pointer: coarse), (max-width: 767.98px) {
    .factory-process-page[b-0qpnkclxd7]  .btn-sm { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; }
    .rf-cmt .btn[b-0qpnkclxd7] { display: inline-flex; align-items: center; min-height: 44px; }
    .rf-photos[b-0qpnkclxd7]  label.btn { display: inline-flex; align-items: center; min-height: 44px; }
    .rv-menu .dropdown-item[b-0qpnkclxd7] { display: flex; align-items: center; min-height: 44px; }
}

/* Below a 1200px viewport the row has ~700px beside the sidebar: the actions go under the name, the chip stays beside it. */
@media (max-width: 1199.98px) {
    .rf-row[b-0qpnkclxd7] { grid-template-columns: 48px minmax(0, 1fr) auto; }
    .rf-actions[b-0qpnkclxd7] { grid-column: 2 / -1; justify-content: flex-start; max-width: none; }
}

/* Phones: the review's tiles two to a row; a check-in row stacks — swatch and name, then the chip, then the actions. */
@media (max-width: 767.98px) {
    .rv-tiles[b-0qpnkclxd7] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

    .rf-progress[b-0qpnkclxd7] { grid-template-columns: minmax(0, 1fr); padding: 16px; }
    .rf-receive[b-0qpnkclxd7] { align-items: flex-start; max-width: none; text-align: left; }

    .rf-row[b-0qpnkclxd7] { grid-template-columns: 48px minmax(0, 1fr); }
    .rf-status[b-0qpnkclxd7],
    html[data-theme] .card-body .rf-status[b-0qpnkclxd7] { grid-column: 2; justify-self: start; max-width: none; }
    .rf-actions[b-0qpnkclxd7] { grid-column: 1 / -1; }
}

/* ── Design — the Design mockup (Ruling 17) ─────────────────────────────────────────────────────────────────────── */

/* "Changed since #…" beside the Measurements head: the key is the differs outline MeasurementsDisplay draws. */
.ds-changed[b-0qpnkclxd7],
html[data-theme] .card-body .ds-changed[b-0qpnkclxd7] {
    display: inline-flex; align-items: center; gap: 8px; font-size: 14px; line-height: 1.4; color: var(--cs-text-secondary);
}
.ds-changed-key[b-0qpnkclxd7] {
    display: inline-block; flex: none; width: 12px; height: 12px;
    background: var(--cs-differs-bg); border: 2px solid var(--cs-differs-border);
}

/* Styles and AccuMark: two equal columns from a 1200px viewport (sp-cols' side column is 320px); Styles takes the whole
   row while the AccuMark panel hides itself (it renders nothing). */
@media (min-width: 1200px) {
    .ds-cols[b-0qpnkclxd7] { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.ds-cols > .ds-styles:only-child[b-0qpnkclxd7] { grid-column: 1 / -1; }

/* ── Cutting — the Cutting mockup (Ruling 18) ───────────────────────────────────────────────────────────────────── */

.ct-head[b-0qpnkclxd7] { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; margin-bottom: 14px; }
.ct-count[b-0qpnkclxd7] { font-size: 18px; font-weight: 600; line-height: 1.3; }

/* The fabric is what the cutter matches: big swatches, as many to a row as fit at 220px. No card clips (Ruling 3). */
.ct-fabrics[b-0qpnkclxd7] { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.ct-card[b-0qpnkclxd7] { min-width: 0; }

/* The swatch: the photo as a button that opens the preview (its height is app.css's .factory-gallery-img), else the
   fabric's tone; the "Customer supplied" chip on top of it (outside .card-body, so the dark flattening never reaches it). */
.ct-swatch[b-0qpnkclxd7] { position: relative; }
.ct-swatch-btn[b-0qpnkclxd7] { display: block; width: 100%; padding: 0; border: 0; background: var(--cs-light-gray); cursor: zoom-in; }
.ct-swatch-btn:focus-visible[b-0qpnkclxd7] { outline: 2px solid var(--cs-brass); outline-offset: -2px; }
.ct-swatch-img[b-0qpnkclxd7] { display: block; width: 100%; height: 100%; object-fit: cover; }
.ct-swatch-tone[b-0qpnkclxd7] { display: grid; place-items: center; }
.ct-swatch-chip[b-0qpnkclxd7] {
    position: absolute; top: 8px; left: 8px; max-width: calc(100% - 16px); white-space: normal;
    background: var(--cs-card-bg); pointer-events: none;
}

.ct-card-body[b-0qpnkclxd7] { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 14px 16px; min-width: 0; overflow-wrap: anywhere; }
.ct-shirts[b-0qpnkclxd7] { font-size: 20px; font-weight: 600; line-height: 1.2; }
.ct-name[b-0qpnkclxd7] { font-size: 16px; font-weight: 500; line-height: 1.3; }
.ct-contrast[b-0qpnkclxd7],
html[data-theme] .card-body .ct-contrast[b-0qpnkclxd7] { font-size: 14px; line-height: 1.35; color: var(--cs-text-secondary); }
/* Damaged or short sits at the foot of the card, so the cards in a row line up. */
.ct-issue[b-0qpnkclxd7] { align-self: stretch; margin-top: auto; padding-top: 6px; }

/* The contrasts and the styles: two equal columns from a 1200px viewport; the styles take the whole row without contrasts. */
@media (min-width: 1200px) {
    .ct-cols[b-0qpnkclxd7] { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.ct-cols > .ct-styles:only-child[b-0qpnkclxd7] { grid-column: 1 / -1; }
.ct-styles-toggle[b-0qpnkclxd7] { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; }
/* Closed, the card is only its head — on screen. In print the breakdown shows (d-print-block), under the head's rule. */
@media screen {
    .ct-styles--closed .sp-head[b-0qpnkclxd7] { padding-bottom: 0; margin-bottom: 0; border-bottom: 0; }
}

/* Narrow phones: one card to a row, the swatch beside the text (the StagePhone mockup's size). */
@media (max-width: 480px) {
    .ct-fabrics[b-0qpnkclxd7] { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .ct-card[b-0qpnkclxd7] { display: grid; grid-template-columns: 120px minmax(0, 1fr); }
    .ct-swatch .factory-gallery-img[b-0qpnkclxd7] { height: 100%; min-height: 130px; }
    .ct-card-body[b-0qpnkclxd7] { padding: 10px 12px; }
    .ct-shirts[b-0qpnkclxd7] { font-size: 18px; }
}

/* ── Packaging — the Packaging mockup (owner 2026-11-10: Ship together above Boxes; Ship to and Shipping beside) ── */

/* The cards, and the sidebar beside them from a 1200px viewport (sp-cols), under them below. */
.pk-main[b-0qpnkclxd7], .pk-side[b-0qpnkclxd7] { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
/* The Ship to card spaces itself for a stack of its own; in the sidebar the gap does it. */
.pk-side[b-0qpnkclxd7]  .stc { margin-bottom: 0; }

/* The waiting-fabric note sits in the Quality control head, beside its label ("— ships later"). */
.pk-head[b-0qpnkclxd7]  .wfn { margin-bottom: 0; }

/* "Everything passes QC": a 44px row, its box the size of the line list's. */
.pk-qc-check[b-0qpnkclxd7] { display: flex; align-items: center; gap: 10px; min-height: 44px; margin: 8px 0 0; padding-left: 0; }
.pk-qc-check .form-check-input[b-0qpnkclxd7] { float: none; flex: none; width: 22px; height: 22px; margin: 0; }
.pk-qc-check .form-check-label[b-0qpnkclxd7] { cursor: pointer; }

/* Ship together: one line list per order, a rule between them. */
.pk-together-order + .pk-together-order[b-0qpnkclxd7] { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--cs-separator); }

/* The boxes: as many to a row as fit at 260px (the column is ~650px beside the sidebar). */
.pk-boxes[b-0qpnkclxd7] { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }

/* Shipping: one field to a row in the 320px sidebar, side by side under the cards. */
.pk-ship-fields[b-0qpnkclxd7] { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px 16px; align-items: end; }
.pk-docs[b-0qpnkclxd7] {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 12px;
    margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--cs-separator);
}
.pk-docs-note[b-0qpnkclxd7],
html[data-theme] .card-body .pk-docs-note[b-0qpnkclxd7] { font-size: 13px; }

/* The attach link: small and quiet, under the Shipping card (outside a card, so no dark `.card-body` form). */
.pk-attach[b-0qpnkclxd7] {
    align-self: flex-start; display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px;
    font-size: 14px; text-align: left; color: var(--cs-text-secondary); text-decoration: underline; text-underline-offset: 3px;
}
.pk-attach:hover[b-0qpnkclxd7], .pk-attach:focus-visible[b-0qpnkclxd7] { color: var(--cs-text); }

/* ── Shipped — the Shipped mockup (Rulings 19-21) ───────────────────────────────────────────────────────────────── */

.sh-title[b-0qpnkclxd7] { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; min-width: 0; }
.sh-summary[b-0qpnkclxd7],
html[data-theme] .card-body .sh-summary[b-0qpnkclxd7] { font-size: 15px; font-weight: 600; color: var(--cs-text); }
.sh-docs[b-0qpnkclxd7] { display: flex; flex-wrap: wrap; gap: 8px; }

/* The boxes: one markup. Below a 1200px viewport each box is a block whose cells name themselves (the phone's stacked
   copy, as many cells to a row as fit); from 1200px a table of fixed columns under the header row. Each row is its own
   grid, so every track is a fixed width or minmax(0, fr): the columns line up from row to row. */
.sh-row[b-0qpnkclxd7] {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px 16px; align-items: start;
    padding: 14px 0;
}
.sh-row + .sh-row[b-0qpnkclxd7] { border-top: 1px solid var(--cs-separator); }
.sh-row--head[b-0qpnkclxd7] { display: none; }
.sh-row--head + .sh-row[b-0qpnkclxd7] { border-top: 0; padding-top: 0; }
.sh-cell[b-0qpnkclxd7] { display: flex; flex-direction: column; min-width: 0; overflow-wrap: anywhere; }
.sh-box[b-0qpnkclxd7], .sh-tracking[b-0qpnkclxd7], .sh-reprint[b-0qpnkclxd7] { grid-column: 1 / -1; }
.sh-box[b-0qpnkclxd7] { flex-direction: row; align-items: baseline; flex-wrap: wrap; gap: 4px 12px; }
.sh-box-name[b-0qpnkclxd7] { font-size: 16px; font-weight: 600; }
.sh-k[b-0qpnkclxd7],
html[data-theme] .card-body .sh-k[b-0qpnkclxd7] {
    margin-bottom: 2px; font-size: 11px; font-weight: 600; line-height: 1.3; letter-spacing: .14em; text-transform: uppercase;
    color: var(--cs-text-secondary);
}
.sh-tracking[b-0qpnkclxd7] { align-items: flex-start; }
.sh-track[b-0qpnkclxd7],
html[data-theme] .card-body .sh-track[b-0qpnkclxd7] {
    font-weight: 500; color: var(--cs-brass-dark); text-decoration: underline; text-underline-offset: 3px;
}
.sh-reprint:empty[b-0qpnkclxd7] { display: none; }

@media (min-width: 1200px) {
    .sh-row[b-0qpnkclxd7] { grid-template-columns: 90px minmax(0, 1.4fr) 120px 100px minmax(0, 1fr) 150px; align-items: center; padding: 10px 0; }
    .sh-boxes--cost .sh-row[b-0qpnkclxd7] { grid-template-columns: 90px minmax(0, 1.4fr) 120px 100px minmax(0, 1fr) 90px 150px; }
    .sh-row--head[b-0qpnkclxd7] { display: grid; padding: 0 0 8px; }
    .sh-row--head + .sh-row[b-0qpnkclxd7] { border-top: 1px solid var(--cs-separator); padding-top: 10px; }
    .sh-box[b-0qpnkclxd7], .sh-tracking[b-0qpnkclxd7], .sh-reprint[b-0qpnkclxd7] { grid-column: auto; }
    .sh-box[b-0qpnkclxd7] { flex-direction: column; align-items: flex-start; gap: 0; }
    .sh-k[b-0qpnkclxd7] { display: none; }
    .sh-reprint[b-0qpnkclxd7] { align-items: flex-end; }
    .sh-reprint:empty[b-0qpnkclxd7] { display: flex; }
}

/* Still to make: the shirts a partial order hasn't shipped, each with its fabric's state. */
.sh-left[b-0qpnkclxd7] { border-left: 3px solid var(--cs-differs-border); }
.sh-left-list[b-0qpnkclxd7] { margin: 0; padding: 0; list-style: none; }
.sh-left-row[b-0qpnkclxd7] { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 12px 16px; align-items: center; padding: 12px 0; }
.sh-left-row + .sh-left-row[b-0qpnkclxd7] { border-top: 1px solid var(--cs-separator); }
.sh-thumb[b-0qpnkclxd7] {
    display: grid; place-items: center; width: 56px; height: 56px; object-fit: cover;
    border: 1px solid var(--cs-separator); background: var(--cs-light-gray);
}
.sh-left-text[b-0qpnkclxd7] { display: flex; flex-direction: column; gap: 2px; min-width: 0; overflow-wrap: anywhere; }
.sh-left-name[b-0qpnkclxd7] { font-size: 16px; font-weight: 600; }
.sh-left-fabric[b-0qpnkclxd7] { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; max-width: 260px; }
.sh-chip[b-0qpnkclxd7],
html[data-theme] .card-body .sh-chip[b-0qpnkclxd7] { white-space: normal; }
.sh-checkin[b-0qpnkclxd7],
html[data-theme] .card-body .sh-checkin[b-0qpnkclxd7] {
    display: inline-flex; align-items: center; min-height: 32px; font-size: 14px;
    color: var(--cs-brass-dark); text-decoration: underline; text-underline-offset: 3px;
}

/* Void shipment, once, last: a plain section, out of the way (outside a card, so tokens alone theme it). */
.sh-void[b-0qpnkclxd7] {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 20px;
    padding: 16px 20px; border: 1px dashed var(--cs-missing-border);
}
.sh-void-text[b-0qpnkclxd7] { margin: 0; max-width: 760px; font-size: 14px; line-height: 1.45; color: var(--cs-text-secondary); }
.sh-void-btn[b-0qpnkclxd7] { display: inline-flex; align-items: center; min-height: 44px; }

/* The earlier shipment (Ruling 22): one compact line under the header on a second run. */
.sh-earlier[b-0qpnkclxd7] {
    display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 16px; padding: 8px 12px;
    border: 1px solid var(--cs-separator); background: var(--cs-card-bg);
}
.sh-earlier-text[b-0qpnkclxd7] { display: inline-flex; align-items: center; gap: 8px; margin-right: auto; font-size: 14px; color: var(--cs-text-secondary); }

/* Touch: every control on Packaging and Shipped is a 44px target. */
@media (pointer: coarse), (max-width: 767.98px) {
    .pk-head-btn[b-0qpnkclxd7], .pk-doc-btn[b-0qpnkclxd7], .sh-doc-btn[b-0qpnkclxd7], .sh-checkin[b-0qpnkclxd7], .sh-track[b-0qpnkclxd7] { display: inline-flex; align-items: center; min-height: 44px; }
    .pk-ship .form-select[b-0qpnkclxd7] { min-height: 44px; }
    .pk-boxes .form-control-sm[b-0qpnkclxd7], .pk-boxes .form-select-sm[b-0qpnkclxd7] { min-height: 44px; }
    .pk-ship .form-switch[b-0qpnkclxd7] { display: flex; align-items: center; gap: 10px; min-height: 44px; padding-left: 0; }
    .pk-ship .form-switch .form-check-input[b-0qpnkclxd7] { float: none; flex: none; margin: 0; }
}

/* Phones: a still-to-make row puts its fabric state under the name. */
@media (max-width: 767.98px) {
    .sh-left-row[b-0qpnkclxd7] { grid-template-columns: 56px minmax(0, 1fr); }
    .sh-left-fabric[b-0qpnkclxd7] { grid-column: 2; align-items: flex-start; max-width: none; }
}

/* The page's toast host (final review): ordering-brand.css pins the container 1rem from the top, under the 61px top bar
   (the page's stacking context sits below the bar's), so it starts below the bar. */
.factory-process-page[b-0qpnkclxd7]  .brass-toast-container { top: 76px; }
/* /Components/Pages/Factory/FactoryStageBar.razor.rz.scp.css */
/* The /factory stage bar (owner 2026-11-10). Stage colours (--fx-st) come from app.css's fx-st-* classes. */
.fsb[b-qb54l4t73q] { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.fsb-cap[b-qb54l4t73q] { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.fsb-label[b-qb54l4t73q] { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cs-text-secondary); }
.fsb-hint[b-qb54l4t73q] { font-size: 13px; color: var(--cs-text-secondary); }
.fsb-bar[b-qb54l4t73q] { display: flex; gap: 4px; min-height: 66px; overflow-x: auto; }
.fsb-seg[b-qb54l4t73q] {
    flex-basis: 0; min-width: 96px;
    display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 6px;
    padding: 8px 12px 10px; font: inherit; text-align: left; cursor: pointer; color: var(--cs-text);
    border: 0; border-top: 4px solid var(--fx-st);
    background: color-mix(in srgb, var(--fx-st) 12%, var(--cs-card-bg));
    transition: background .15s ease, box-shadow .15s ease;
}
.fsb-seg:hover[b-qb54l4t73q], .fsb-seg:focus-visible[b-qb54l4t73q] { background: color-mix(in srgb, var(--fx-st) 22%, var(--cs-card-bg)); }
.fsb-seg[aria-pressed="true"][b-qb54l4t73q] {
    background: color-mix(in srgb, var(--fx-st) 30%, var(--cs-card-bg));
    box-shadow: inset 0 0 0 2px var(--fx-st);
}
.fsb-name[b-qb54l4t73q] {
    max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    font-size: 12.5px; font-weight: 500; color: var(--cs-text-secondary);
}
.fsb-n[b-qb54l4t73q] { font-size: 24px; font-weight: 600; line-height: 1; }

@media (max-width: 767.98px) {
    .fsb-seg[b-qb54l4t73q] { min-width: 88px; flex-shrink: 0; }
    .fsb-hint[b-qb54l4t73q] { display: none; }
}
/* /Components/Pages/Factory/UpNextPanel.razor.rz.scp.css */
/* "Up next to cut" (owner redesign 2026-11-10): three cards; the whole card opens its order, Start moves it to Design. */
.up-next[b-aqahcy3rzr] { display: grid; gap: 12px; margin-bottom: 28px; min-width: 0; }
.un-skeleton[b-aqahcy3rzr] { min-height: 220px; background: var(--cs-light-gray); border: 1px solid var(--cs-separator); margin-bottom: 28px; }
.un-head[b-aqahcy3rzr] { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.un-title[b-aqahcy3rzr] {
    margin: 0; font-family: var(--cs-font-body); font-size: 12px; font-weight: 600; letter-spacing: .14em;
    text-transform: uppercase; color: var(--cs-brass-dark);
}
.un-caption[b-aqahcy3rzr] { font-size: 13px; color: var(--cs-text-secondary); }
.un-cards[b-aqahcy3rzr] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.un-card[b-aqahcy3rzr] {
    display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 18px 20px;
    background: var(--cs-card-bg); border: 1px solid var(--cs-separator); box-shadow: var(--cs-shadow-sm);
    cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.un-card:hover[b-aqahcy3rzr] { transform: translateY(-2px); box-shadow: var(--cs-shadow); border-color: var(--cs-brass); }
.un-card.first[b-aqahcy3rzr] { border-color: var(--cs-brass); box-shadow: inset 0 3px 0 var(--cs-brass), var(--cs-shadow-sm); }
.un-card-top[b-aqahcy3rzr] { display: flex; align-items: center; gap: 12px; }
.un-spacer[b-aqahcy3rzr] { flex: 1; }
.un-rank[b-aqahcy3rzr] {
    width: 30px; height: 30px; display: inline-grid; place-items: center; flex: none;
    border: 1.5px solid var(--cs-brass); color: var(--cs-brass-dark); font-weight: 600; font-size: 14px;
    font-variant-numeric: tabular-nums;
}
.first .un-rank[b-aqahcy3rzr] { background: var(--cs-brass); color: var(--cs-card-bg); }
.un-order[b-aqahcy3rzr] {
    display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 21px;
    font-variant-numeric: tabular-nums; color: var(--cs-text); text-decoration: none;
}
.un-order:hover[b-aqahcy3rzr], .un-order:focus-visible[b-aqahcy3rzr] { text-decoration: underline; text-underline-offset: 4px; }
.un-meta[b-aqahcy3rzr] { font-size: 14px; color: var(--cs-text-secondary); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.un-chips[b-aqahcy3rzr] { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.un-chip[b-aqahcy3rzr] {
    font-size: 12.5px; padding: 2px 10px; border: 1px solid var(--cs-separator); background: var(--cs-light-gray);
    color: var(--cs-text); white-space: nowrap;
}
.un-chip-wait[b-aqahcy3rzr] { background: var(--cs-differs-bg); border-color: var(--cs-differs-border); color: var(--cs-differs-text); }
.un-tag[b-aqahcy3rzr] {
    font-size: 12px; font-weight: 600; padding: 2px 8px;
    background: var(--cs-defaulted-bg); border: 1px solid var(--cs-defaulted-border); color: var(--cs-defaulted-text);
}
.un-prio[b-aqahcy3rzr] { font-size: 12px; font-weight: 600; padding: 2px 8px; border: 1px solid transparent; white-space: nowrap; }
.un-prio--asap[b-aqahcy3rzr] { background: #8B2500; border-color: #8B2500; color: #FFFFFF; }
.un-prio--rush[b-aqahcy3rzr] { background: var(--cs-differs-bg); border-color: var(--cs-differs-border); color: var(--cs-differs-text); }
.un-prio--ts[b-aqahcy3rzr] { background: var(--cs-defaulted-bg); border-color: var(--cs-defaulted-border); color: var(--cs-defaulted-text); }
.un-dates[b-aqahcy3rzr] {
    display: grid; grid-template-columns: 1fr auto; gap: 8px; padding-top: 12px; border-top: 1px solid var(--cs-separator);
    font-variant-numeric: tabular-nums;
}
.un-date[b-aqahcy3rzr] { display: flex; flex-direction: column; gap: 2px; }
.un-date--ship[b-aqahcy3rzr] { text-align: right; }
.un-date-k[b-aqahcy3rzr] { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cs-text-secondary); }
.un-date b[b-aqahcy3rzr] { font-size: 18px; font-weight: 600; color: var(--cs-text); }
.un-date--ship b[b-aqahcy3rzr] { font-weight: 500; }
.un-why[b-aqahcy3rzr] { margin: 0; font-size: 13px; color: var(--cs-text-secondary); min-height: 2.6em; }
.un-act[b-aqahcy3rzr] { width: 100%; min-height: 44px; margin-top: auto; }

/* Phones and narrow tablets: swipe sideways through the cards. */
@media (max-width: 991.98px) {
    .un-cards[b-aqahcy3rzr] { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(280px, 82%); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
    .un-card[b-aqahcy3rzr] { scroll-snap-align: start; }
}

html[data-theme="dark"] .un-prio--asap[b-aqahcy3rzr] { background: #B03333; border-color: #B03333; }
/* /Components/Pages/Gallery.razor.rz.scp.css */
/* ── Gallery Hero ── */
.gallery-hero[b-gu0bw12g5b] {
    position: relative;
    padding: 2.5rem 2rem 2rem;
    background: linear-gradient(135deg, var(--cs-cream) 0%, var(--cs-stone) 100%);
    border-bottom: 1px solid var(--cs-separator);
    margin: -1rem -0.75rem 0;
}

.gallery-hero h1[b-gu0bw12g5b] {
    font-family: var(--cs-font-heading);
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cs-brown);
    margin-bottom: 0.375rem;
}

.gallery-hero-subtitle[b-gu0bw12g5b] {
    font-size: 0.8125rem;
    color: var(--cs-text-muted);
    letter-spacing: 0.04em;
    max-width: 480px;
    margin-bottom: 0;
}

.gallery-hero-nav[b-gu0bw12g5b] {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1.25rem;
}

/* ── Search ── */
.gallery-search[b-gu0bw12g5b] {
    position: relative;
    max-width: 360px;
    flex: 1;
}

.gallery-search-icon[b-gu0bw12g5b] {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--cs-text-muted);
    font-size: 0.8125rem;
    pointer-events: none;
    z-index: 1;
}

.gallery-search input[b-gu0bw12g5b] {
    background: var(--cs-glass-bg);
    backdrop-filter: var(--cs-glass-blur);
    -webkit-backdrop-filter: var(--cs-glass-blur);
    border: 1px solid var(--cs-glass-border);
    border-radius: 0;
    padding: 0.625rem 2.5rem 0.625rem 2.5rem;
    font-family: var(--cs-font-body);
    font-size: 0.8125rem;
    color: var(--cs-text);
    width: 100%;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.gallery-search input[b-gu0bw12g5b]::placeholder {
    color: var(--cs-text-muted);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.gallery-search input:focus[b-gu0bw12g5b] {
    background: rgba(255, 255, 255, 0.45);
    border-color: var(--cs-gold);
    outline: none;
    box-shadow: 0 0 0 3px var(--cs-gold-glow);
}

.gallery-search-clear[b-gu0bw12g5b] {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--cs-text-muted);
    cursor: pointer;
    font-size: 0.875rem;
    padding: 0.25rem;
    line-height: 1;
}

.gallery-search-clear:hover[b-gu0bw12g5b] {
    color: var(--cs-text);
}


/* ── Atelier Grid: Editor's Table of Contents (bento) ──
   12-col on desktop, 8 on tablet, 4 on mobile. Tiles size by tier:
   Hero = 6×2 / 8×2 / 4×1 (16:10), Featured wide = 4×2 / 4×2 / 2×1,
   Featured tall = 3×1 / 4×1 / 2×1, Standard = 3×1 / 2×1 / 2×1.
   `grid-auto-flow: dense` lets shorter tiles backfill the gaps a hero
   leaves. Row height comes from grid-auto-rows so spanning tiles
   stack naturally — no per-tile aspect-ratio fighting the grid.
   The full-width "issue break" tile uses span 4/8/12 to take its row. */
.atelier-grid[b-gu0bw12g5b] {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-flow: dense;
    grid-auto-rows: clamp(120px, 30vw, 180px);
    gap: 4px;
    margin-top: 1.5rem;
}

@media (min-width: 640px) {
    .atelier-grid[b-gu0bw12g5b] {
        grid-template-columns: repeat(8, 1fr);
        grid-auto-rows: clamp(140px, 14vw, 200px);
        gap: 4px;
    }
}

@media (min-width: 1024px) {
    .atelier-grid[b-gu0bw12g5b] {
        grid-template-columns: repeat(12, 1fr);
        grid-auto-rows: clamp(160px, 11vw, 220px);
    }
}

/* ── Tile ── */
.atelier-tile[b-gu0bw12g5b] {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--cs-stone);
}

/* Tier spans. Pattern: Hero is widest + tallest, Featureds are tall (2
   rows) so they stand apart from Standard's short single row, Standards
   stay compact and uniform. The 1px gold ring on .tile-featured stays
   as a secondary cue but is no longer the only differentiator —
   Featureds are now twice as tall as Standards.

   Mobile (4-col): hero = full-width, 2 rows tall. Featureds = half-width,
   2 rows tall. Standards = half-width, 1 row.
   Tablet (8-col): hero = full-width, 2 rows. Both Featured variants =
   half-width, 2 rows. Standards = quarter-width, 1 row.
   Desktop (12-col): hero = half-width 2 rows. Featured wide = 1/3-width
   2 rows. Featured tall = 1/4-width 2 rows (portrait emphasis).
   Standards = 1/4-width 1 row. */
.atelier-tile.tile-hero[b-gu0bw12g5b] {
    grid-column: span 4;
    grid-row: span 2;
}

.atelier-tile.tile-featured[b-gu0bw12g5b] {
    box-shadow: inset 0 0 0 1px var(--cs-gold-light);
    grid-column: span 2;
    grid-row: span 2;
}

.atelier-tile.tile-standard[b-gu0bw12g5b] {
    grid-column: span 2;
    grid-row: span 1;
}

@media (min-width: 640px) {
    .atelier-tile.tile-hero[b-gu0bw12g5b] {
        grid-column: span 8;
        grid-row: span 2;
    }
    .atelier-tile.tile-featured.tile-featured--wide[b-gu0bw12g5b] {
        grid-column: span 4;
        grid-row: span 2;
    }
    .atelier-tile.tile-featured.tile-featured--tall[b-gu0bw12g5b] {
        grid-column: span 4;
        grid-row: span 2;
    }
    .atelier-tile.tile-standard[b-gu0bw12g5b] {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (min-width: 1024px) {
    .atelier-tile.tile-hero[b-gu0bw12g5b] {
        grid-column: span 6;
        grid-row: span 2;
    }
    .atelier-tile.tile-featured.tile-featured--wide[b-gu0bw12g5b] {
        grid-column: span 4;
        grid-row: span 2;
    }
    .atelier-tile.tile-featured.tile-featured--tall[b-gu0bw12g5b] {
        grid-column: span 3;
        grid-row: span 2;
    }
    .atelier-tile.tile-standard[b-gu0bw12g5b] {
        grid-column: span 3;
        grid-row: span 1;
    }
}

.atelier-tile img[b-gu0bw12g5b] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--cs-tile-transition);
}

.atelier-tile:hover img[b-gu0bw12g5b] {
    transform: scale(1.03);
}

/* ── Frosted Overlay (Featured + Standard only — Hero uses .tile-caption) ──
   Featured: always visible (no transform). Standard: parked off the bottom
   of the tile and slides up on hover. The transform respects
   prefers-reduced-motion via the existing global block at the bottom of
   this file. */
.tile-overlay[b-gu0bw12g5b] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.625rem 0.75rem;
    background: rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.28s ease, background 0.3s ease;
    z-index: 1;
}

.atelier-tile.tile-standard .tile-overlay[b-gu0bw12g5b] {
    transform: translateY(100%);
}

.atelier-tile.tile-standard:hover .tile-overlay[b-gu0bw12g5b],
.atelier-tile.tile-standard:focus-within .tile-overlay[b-gu0bw12g5b] {
    transform: translateY(0);
    background: rgba(0, 0, 0, 0.42);
}

.atelier-tile.tile-featured:hover .tile-overlay[b-gu0bw12g5b] {
    background: rgba(0, 0, 0, 0.42);
}

.tile-name[b-gu0bw12g5b] {
    font-family: var(--cs-font-heading);
    font-size: 0.6875rem;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.tile-meta[b-gu0bw12g5b] {
    font-size: 0.5625rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.04em;
    margin-top: 1px;
    text-transform: uppercase;
}

.tile-price[b-gu0bw12g5b] {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 2px;
    letter-spacing: 0.02em;
}

/* ── Hero Caption (paper-cream editorial caption strip, replaces the
   frosted overlay on Hero tiles) ──
   The hero image fills the upper portion of the tile; the caption sits
   pinned to the bottom on top of a paper background — like a magazine
   feature with title block beneath the image. Eyebrow + name + meta + price. */
.tile-caption[b-gu0bw12g5b] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.85rem 1.1rem 1rem;
    background: var(--cs-cream, #FAF7F2);
    border-top: 1px solid var(--cs-gold-light, #C4A36A);
    z-index: 1;
    color: var(--cs-text, #1c1c1c);
}

.tile-caption__eyebrow[b-gu0bw12g5b] {
    display: inline-block;
    font-family: var(--cs-font-heading);
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--cs-brass-dark, #8E6F42);
    margin-bottom: 0.25rem;
}

.tile-caption__name[b-gu0bw12g5b] {
    font-family: var(--cs-font-heading);
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: 0.04em;
    color: var(--cs-brown, var(--cs-text));
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tile-caption__meta[b-gu0bw12g5b] {
    margin-top: 0.25rem;
    font-family: 'Jost', sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cs-text-muted);
}

.tile-caption__price[b-gu0bw12g5b] {
    margin-top: 0.35rem;
    font-family: 'Jost', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--cs-brass-dark, #8E6F42);
}

@media (max-width: 639px) {
    .tile-caption[b-gu0bw12g5b] {
        padding: 0.6rem 0.85rem 0.7rem;
    }
    .tile-caption__name[b-gu0bw12g5b] {
        font-size: 1rem;
    }
    .tile-caption__meta[b-gu0bw12g5b] {
        font-size: 0.625rem;
    }
    .tile-caption__price[b-gu0bw12g5b] {
        font-size: 0.75rem;
    }
}


/* ── Tile Tags ── */
.tile-weave-tag[b-gu0bw12g5b] {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 2px 8px;
    font-size: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.9);
    z-index: 1;
}

.tile-your-fabric[b-gu0bw12g5b] {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 8px;
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--cs-gold);
    color: #fff;
    z-index: 1;
}

.tile-backorder-badge[b-gu0bw12g5b] {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 2px 8px;
    font-size: 0.5rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--cs-orange, #d9822b);
    color: #fff;
    z-index: 1;
}

.tile-featured-accent[b-gu0bw12g5b] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--cs-gold);
    z-index: 1;
}

/* ── Selection ── */
.atelier-tile.selected[b-gu0bw12g5b] {
    box-shadow: inset 0 0 0 3px var(--cs-gold);
    z-index: 1;
}

.tile-select-check[b-gu0bw12g5b] {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 24px;
    height: 24px;
    background: var(--cs-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.tile-select-check i[b-gu0bw12g5b] {
    color: #fff;
    font-size: 14px;
}


/* ── Placeholder (no image) ── */
.tile-placeholder[b-gu0bw12g5b] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tile-placeholder span[b-gu0bw12g5b] {
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.tile-hero .tile-placeholder span[b-gu0bw12g5b] {
    font-size: 2rem;
}

/* ── Pagination ── */
.gallery-pagination[b-gu0bw12g5b] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding: 0.5rem 0;
}

.gallery-pagination-info[b-gu0bw12g5b] {
    font-size: 0.6875rem;
    color: var(--cs-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ── Floating Action Bar ── */
.fab-bar[b-gu0bw12g5b] {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1050;
    max-width: 520px;
    width: calc(100% - 2rem);
    margin-bottom: 1rem;
}

.fab-bar-inner[b-gu0bw12g5b] {
    background: rgba(30, 28, 26, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0.625rem 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    box-shadow: var(--cs-shadow-lg);
}

.fab-bar-label[b-gu0bw12g5b] {
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: 0.03em;
}

.fab-bar-actions[b-gu0bw12g5b] {
    display: flex;
    gap: 0.5rem;
}

/* ── Detail Modal ── */
.modal-image-hero[b-gu0bw12g5b] {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.modal-image-hero img[b-gu0bw12g5b] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-image-hero-overlay[b-gu0bw12g5b] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.modal-image-hero-overlay h4[b-gu0bw12g5b] {
    color: #fff;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.modal-carousel-nav[b-gu0bw12g5b] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    color: #fff;
    padding: 0.5rem 0.625rem;
    cursor: pointer;
    font-size: 1.125rem;
    line-height: 1;
    transition: background 0.2s ease;
}

.modal-carousel-nav:hover[b-gu0bw12g5b] {
    background: rgba(0, 0, 0, 0.6);
}

.modal-carousel-nav.prev[b-gu0bw12g5b] { left: 8px; }
.modal-carousel-nav.next[b-gu0bw12g5b] { right: 8px; }

.modal-thumbnails[b-gu0bw12g5b] {
    display: flex;
    gap: 4px;
    padding: 0.75rem 1.5rem;
    overflow-x: auto;
    background: var(--cs-light-gray);
}

.modal-thumbnails img[b-gu0bw12g5b] {
    width: 52px;
    height: 52px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.modal-thumbnails img:hover[b-gu0bw12g5b] {
    opacity: 0.85;
}

.modal-thumbnails img.active[b-gu0bw12g5b] {
    border-color: var(--cs-gold);
    opacity: 1;
}

/* ── Empty state ── */
.gallery-empty[b-gu0bw12g5b] {
    text-align: center;
    padding: 4rem 2rem;
}

.gallery-empty h4[b-gu0bw12g5b] {
    font-weight: 400;
    color: var(--cs-text-muted);
    letter-spacing: 0.08em;
    font-size: 1rem;
}

.gallery-empty p[b-gu0bw12g5b] {
    color: var(--cs-text-muted);
    font-size: 0.8125rem;
}

/* ── Responsive hero ── */
@media (max-width: 639px) {
    .gallery-hero[b-gu0bw12g5b] {
        padding: 1.5rem 1rem 1.25rem;
    }

    .gallery-hero h1[b-gu0bw12g5b] {
        font-size: 1.375rem;
    }

    .gallery-hero-nav[b-gu0bw12g5b] {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .gallery-search[b-gu0bw12g5b] {
        max-width: 100%;
    }


    .gallery-pagination[b-gu0bw12g5b] {
        flex-direction: column;
        gap: 0.75rem;
        align-items: center;
    }

    .fab-bar-inner[b-gu0bw12g5b] {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .modal-image-hero[b-gu0bw12g5b] {
        height: 220px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .atelier-tile:hover img[b-gu0bw12g5b] {
        transform: none;
    }
}
/* /Components/Pages/Orders/EasyDesigner.razor.rz.scp.css */
/* Fit-option blurbs are stacked under the title with half-size muted text
   so the 3-up row doesn't feel cluttered. */
.fit-option-blurb[b-ogsi3ehads] {
    font-size: 0.65rem;
    line-height: 1.2;
    margin-top: 0.25rem;
    max-width: 100%;
}
/* /Components/Pages/StyleGallery.razor.rz.scp.css */
/* ── Gallery Hero (shared pattern with fabric gallery) ── */
.gallery-hero[b-fypm7rfy43] {
    position: relative;
    padding: 2.5rem 2rem 2rem;
    background: linear-gradient(135deg, var(--cs-cream) 0%, var(--cs-stone) 100%);
    border-bottom: 1px solid var(--cs-separator);
    margin: -1rem -0.75rem 0;
}

.gallery-hero h1[b-fypm7rfy43] {
    font-family: var(--cs-font-heading);
    font-size: 2rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--cs-brown);
    margin-bottom: 0.375rem;
}

.gallery-hero-subtitle[b-fypm7rfy43] {
    font-size: 0.8125rem;
    color: var(--cs-text-muted);
    letter-spacing: 0.04em;
    max-width: 480px;
    margin-bottom: 0;
}

/* ── Category Icon Selector ── */
.category-selector[b-fypm7rfy43] {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 1.25rem 2rem;
    margin: 0 -0.75rem;
    border-bottom: 1px solid var(--cs-separator);
    background: var(--cs-card-bg);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.category-selector[b-fypm7rfy43]::-webkit-scrollbar {
    display: none;
}

.category-icon-tile[b-fypm7rfy43] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 0.875rem;
    min-width: 68px;
    border: 1px solid var(--cs-separator);
    background: var(--cs-card-bg);
    cursor: pointer;
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.category-icon-tile:hover[b-fypm7rfy43] {
    border-color: var(--cs-gold-light);
    background: var(--cs-gold-glow);
}

.category-icon-tile.active[b-fypm7rfy43] {
    border-color: var(--cs-gold);
    background: var(--cs-gold);
    color: #fff;
}

.category-icon-tile.active[b-fypm7rfy43]  svg {
    stroke: #fff;
}

.category-icon-label[b-fypm7rfy43] {
    font-family: var(--cs-font-body);
    font-size: 0.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    color: inherit;
}

/* ── Category Divider ── */
.category-divider[b-fypm7rfy43] {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    margin: 2.5rem 0 1rem;
    padding-bottom: 0.625rem;
    border-bottom: 1px solid var(--cs-separator);
}

.category-divider-icon[b-fypm7rfy43] {
    color: var(--cs-gold);
    flex-shrink: 0;
}

.category-divider h3[b-fypm7rfy43] {
    font-size: 0.8125rem;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.12em;
}

/* ── Atelier Grid ── */
.atelier-grid[b-fypm7rfy43] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
}

@media (min-width: 640px) {
    .atelier-grid[b-fypm7rfy43] {
        grid-template-columns: repeat(3, 1fr);
        gap: 3px;
    }
}

@media (min-width: 1024px) {
    .atelier-grid[b-fypm7rfy43] {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ── Tile ── */
.atelier-tile[b-fypm7rfy43] {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    background: var(--cs-stone);
}

.atelier-tile img[b-fypm7rfy43] {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--cs-tile-transition);
}

.atelier-tile:hover img[b-fypm7rfy43] {
    transform: scale(1.03);
}

/* ── Frosted Overlay ── */
.tile-overlay[b-fypm7rfy43] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.625rem 0.75rem;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    transition: background 0.3s ease;
}

.atelier-tile:hover .tile-overlay[b-fypm7rfy43] {
    background: rgba(0, 0, 0, 0.4);
}

.tile-name[b-fypm7rfy43] {
    font-family: var(--cs-font-heading);
    font-size: 0.6875rem;
    font-weight: 500;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.tile-price[b-fypm7rfy43] {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 2px;
    letter-spacing: 0.02em;
}

/* ── Placeholder ── */
.tile-placeholder[b-fypm7rfy43] {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tile-placeholder span[b-fypm7rfy43] {
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ── Detail Modal ── */
.modal-image-hero[b-fypm7rfy43] {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.modal-image-hero img[b-fypm7rfy43] {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-image-hero-overlay[b-fypm7rfy43] {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.modal-image-hero-overlay h4[b-fypm7rfy43] {
    color: #fff;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.modal-carousel-nav[b-fypm7rfy43] {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: none;
    color: #fff;
    padding: 0.5rem 0.625rem;
    cursor: pointer;
    font-size: 1.125rem;
    line-height: 1;
    transition: background 0.2s ease;
}

.modal-carousel-nav:hover[b-fypm7rfy43] {
    background: rgba(0, 0, 0, 0.6);
}

.modal-carousel-nav.prev[b-fypm7rfy43] { left: 8px; }
.modal-carousel-nav.next[b-fypm7rfy43] { right: 8px; }

.modal-thumbnails[b-fypm7rfy43] {
    display: flex;
    gap: 4px;
    padding: 0.75rem 1.5rem;
    overflow-x: auto;
    background: var(--cs-light-gray);
}

.modal-thumbnails img[b-fypm7rfy43] {
    width: 52px;
    height: 52px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.modal-thumbnails img:hover[b-fypm7rfy43] {
    opacity: 0.85;
}

.modal-thumbnails img.active[b-fypm7rfy43] {
    border-color: var(--cs-gold);
    opacity: 1;
}

/* ── Footer ── */
.gallery-footer[b-fypm7rfy43] {
    font-size: 0.6875rem;
    color: var(--cs-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--cs-separator);
}

/* ── Empty state ── */
.gallery-empty[b-fypm7rfy43] {
    text-align: center;
    padding: 4rem 2rem;
}

.gallery-empty h4[b-fypm7rfy43] {
    font-weight: 400;
    color: var(--cs-text-muted);
    letter-spacing: 0.08em;
    font-size: 1rem;
}

/* ── Responsive ── */
@media (max-width: 639px) {
    .gallery-hero[b-fypm7rfy43] {
        padding: 1.5rem 1rem 1.25rem;
    }

    .gallery-hero h1[b-fypm7rfy43] {
        font-size: 1.375rem;
    }

    .category-selector[b-fypm7rfy43] {
        padding: 0.75rem 1rem;
    }

    .category-icon-tile[b-fypm7rfy43] {
        padding: 0.5rem 0.625rem;
        min-width: 60px;
    }

    .modal-image-hero[b-fypm7rfy43] {
        height: 200px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .atelier-tile:hover img[b-fypm7rfy43] {
        transform: none;
    }
}
/* /Components/Shared/BoxDeliveryBlock.razor.rz.scp.css */
/* The app's own tokens (--cs-*, light and html[data-theme="dark"]), never Bootstrap's own variables: those don't follow the
   app's dark theme. */
.bdb[b-x6gi33qsxp] { padding: 14px 16px; border-bottom: 1px solid var(--cs-separator); }
.bdb:last-child[b-x6gi33qsxp] { border-bottom: 0; }
.bdb-row[b-x6gi33qsxp] { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.bdb-date[b-x6gi33qsxp] { margin-top: 6px; }
.bdb-was[b-x6gi33qsxp] { color: var(--cs-text-muted); text-decoration: line-through; margin-left: 6px; font-size: 14px; }
/* The store's tracking page holds the block in a .card-body, which the dark theme repaints in the text colour
   (html[data-theme="dark"] .card-body *): the struck first date, LocalTime's own span included, stays muted. */
html[data-theme="dark"] .bdb-was[b-x6gi33qsxp],
html[data-theme="dark"] .bdb-was[b-x6gi33qsxp]  span { color: var(--cs-text-muted); }
.bdb-scan[b-x6gi33qsxp] { margin-top: 6px; color: var(--cs-text-secondary); }
.bdb[b-x6gi33qsxp]  a { overflow-wrap: anywhere; }

@media (pointer: coarse), (max-width: 767.98px) {
    .bdb-link[b-x6gi33qsxp], .bdb[b-x6gi33qsxp]  .bdb-action { min-height: 44px; display: inline-flex; align-items: center; }
}
/* /Components/Shared/OrderAttachmentsPanel.razor.rz.scp.css */
/* The stage pages' "Attachments" link / button (part 2 Ruling 4): a 44px target on touch. */
.oap-btn[b-hc5u3c7io3] { white-space: nowrap; }

@media (pointer: coarse), (max-width: 767.98px) {
    .oap-btn[b-hc5u3c7io3] { min-height: 44px; display: inline-flex; align-items: center; }
}
/* /Components/Shared/TellStoreButton.razor.rz.scp.css */
/* The app's own tokens (--cs-*, light and html[data-theme="dark"]); the nudge is the late chip's tone (app.css). */
.tsb[b-52d173kqds] { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.tsb-stamp[b-52d173kqds] { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--cs-text-secondary); }
.tsb-nudge[b-52d173kqds] { color: var(--cs-chip-late-ink); background: var(--cs-chip-late-bg); padding: 6px 10px; border-radius: 6px; }
.tsb-btn[b-52d173kqds] { white-space: nowrap; }
.tsb-rows[b-52d173kqds] { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; margin-bottom: 12px; }
.tsb-rows dt[b-52d173kqds] { font-size: 13px; font-weight: 600; color: var(--cs-text-secondary); }
.tsb-rows dd[b-52d173kqds] { margin: 0; overflow-wrap: anywhere; }
/* An email is white, in either theme. */
.tsb-frame[b-52d173kqds] { display: block; width: 100%; height: 55vh; min-height: 320px; border: 1px solid var(--cs-separator); border-radius: 8px; background: #fff; }
/* In the footer, left of Cancel / Send; on a narrow screen it takes its own line above them. */
.tsb-error[b-52d173kqds] { flex: 1 1 240px; margin: 4px auto 4px 4px; padding: 8px 12px; font-size: 14px; overflow-wrap: anywhere;
             background: var(--cs-missing-bg); border: 1px solid var(--cs-missing-border); color: var(--cs-missing-text); }

@media (pointer: coarse), (max-width: 767.98px) {
    .tsb-btn[b-52d173kqds], .tsb-modal-btn[b-52d173kqds] { min-height: 44px; }
}
