/* /Components/DocumentDropUpload.razor.rz.scp.css */
/* Drag-and-drop document upload (rochem-tasks#281).
   Semantic MudBlazor theme tokens throughout, never fixed hexes, so the panel keeps its contrast
   on the dark surface as well as the light one. */

.ddu[b-q8vmwolo51] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* The real drop target: the file input, stretched invisibly over the zone and always present.
   ::deep because the input is rendered by MudFileUpload, a child component, which scoped CSS on
   this component cannot reach on its own.

   Always there, rather than revealed on dragenter, is the point — a target that appears part-way
   through a drag misses the drop, and the browser then opens the file or drops it in Downloads. */
.ddu-drop[b-q8vmwolo51] {
    position: relative;
}

.ddu-drop[b-q8vmwolo51]  .ddu-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    /* Above the zone's own content so nothing inside it can swallow the drop. */
    z-index: 1;
}

/* A disabled control must not look droppable OR clickable. */
.ddu-drop[b-q8vmwolo51]  .ddu-input:disabled {
    cursor: not-allowed;
}

/* Reads as the link it behaves like — the click actually lands on the invisible input above it. */
.ddu-zone-browse[b-q8vmwolo51] {
    font-size: 13px;
    font-weight: 600;
    color: var(--mud-palette-primary);
    text-decoration: underline;
}

/* The drop target. Dashed because a solid outlined box reads as a static panel — the whole point
   of this control is that it looks like somewhere you can let go of a file. */
.ddu-zone[b-q8vmwolo51] {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    border: 2px dashed var(--mud-palette-lines-default);
    border-radius: 8px;
    background: var(--mud-palette-background-gray);
    transition: border-color 120ms ease, background-color 120ms ease;
    cursor: pointer;
}

.ddu-compact .ddu-zone[b-q8vmwolo51] {
    padding: 10px 14px;
    gap: 10px;
}

/* While a file is over it. The change has to be unmistakable at a glance — a person mid-drag is
   looking for confirmation they can let go, and a two-shade difference does not give it. */
.ddu-zone-over[b-q8vmwolo51] {
    border-color: var(--mud-palette-primary);
    background: var(--mud-palette-primary-hover);
}

.ddu-zone-off[b-q8vmwolo51] {
    opacity: 0.55;
    cursor: not-allowed;
}

.ddu-zone-icon[b-q8vmwolo51] {
    color: var(--mud-palette-text-secondary);
    flex: 0 0 auto;
}

.ddu-zone-over .ddu-zone-icon[b-q8vmwolo51] {
    color: var(--mud-palette-primary);
}

.ddu-zone-text[b-q8vmwolo51] {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 8px;
    min-width: 0;
}

.ddu-zone-lead[b-q8vmwolo51] {
    font-weight: 600;
    font-size: 14px;
    color: var(--mud-palette-text-primary);
}

.ddu-compact .ddu-zone-lead[b-q8vmwolo51] {
    font-size: 13px;
}

/* The accepted types and size cap, stated up front. Finding out a .tiff is not allowed after
   choosing twenty files is the failure this line exists to prevent. */
.ddu-zone-hint[b-q8vmwolo51] {
    font-size: 11.5px;
    color: var(--mud-palette-text-secondary);
    flex-basis: 100%;
}

/* Capped, and it scrolls inside itself (rochem-tasks#1039). A twenty-file C of A batch — the case
   this control was built for — is twenty rows tall, which pushed everything under it off the
   screen. The Upload button now sits ABOVE this list, so the cap is what keeps the rest of the tab
   where it was rather than what keeps the button reachable. ~7 rows before it scrolls. */
.ddu-list[b-q8vmwolo51] {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 6px;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 200px;
}

.ddu-row[b-q8vmwolo51] {
    display: flex;
    align-items: center;
    gap: 8px;
    /* Do NOT let a row shrink. Its parent is a flex COLUMN with a max-height (above), and a flex
       item defaults to flex-shrink:1 — so once the queue is taller than the cap the rows squeeze
       their own padding away trying to fit instead of the list scrolling. Nothing in a bUnit test
       can see that; it is only visible in a browser, with enough files queued to pass the cap. */
    flex: 0 0 auto;
    padding: 5px 10px;
    font-size: 13px;
    border-bottom: 1px solid var(--mud-palette-table-lines);
}

.ddu-row:last-child[b-q8vmwolo51] {
    border-bottom: none;
}

.ddu-row-icon[b-q8vmwolo51] {
    color: var(--mud-palette-text-secondary);
    flex: 0 0 auto;
}

.ddu-row-name[b-q8vmwolo51] {
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* The reason a file did not go. Never truncated — it is the whole content of the row. */
.ddu-row-reason[b-q8vmwolo51] {
    flex: 0 1 auto;
    /* ErrorText is white text for a solid error surface; this row uses ErrorHover. */
    color: var(--mud-palette-error);
    font-size: 12px;
}

/* rochem-tasks#1560 -- where a queued file is going (the screen's own control). On a narrow panel
   it drops under the name rather than squeezing the name to nothing. */
.ddu-row-target[b-q8vmwolo51] {
    flex: 0 0 auto;
    margin-left: auto;
}

.ddu-row:has(.ddu-row-target)[b-q8vmwolo51] {
    flex-wrap: wrap;
}

.ddu-row:has(.ddu-row-target) .ddu-row-name[b-q8vmwolo51] {
    flex: 1 1 140px;
}

.ddu-done .ddu-row-icon[b-q8vmwolo51] {
    color: var(--mud-palette-success);
}

.ddu-failed[b-q8vmwolo51] {
    background: var(--mud-palette-error-hover);
}

.ddu-failed .ddu-row-icon[b-q8vmwolo51] {
    color: var(--mud-palette-error);
}

.ddu-uploading .ddu-row-name[b-q8vmwolo51] {
    color: var(--mud-palette-text-secondary);
}

.ddu-actions[b-q8vmwolo51] {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Narrow screens: the zone stacks rather than squeezing the hint to one word per line. */
@media (max-width: 600px) {
    .ddu-zone[b-q8vmwolo51] {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* rochem-tasks#1780 -- says why Upload is off. */
.ddu-waiting[b-q8vmwolo51] {
    color: var(--mud-palette-warning-darken);
    font-size: 13px;
    font-weight: 500;
}
/* /Components/FeedbackButton.razor.rz.scp.css */
/* The attachment area. Previously this whole zone was invisible until you dragged onto it, and the
   paste route lived in a 12px grey caption under a button — so people didn't know they could paste
   a screenshot at all, and assumed they had to click the box first (rochem-tasks: JJ, 2026-08-13).
   It now reads as a target at rest. */

.wbi3-feedback-dropzone[b-p7yzbev3kp] {
    border-radius: 6px;
    transition: box-shadow 120ms ease;
}

/* The paste panel: a real, always-visible target rather than a hint. Dashed to read as
   "drop something here" without competing with the dialog's solid-bordered inputs. */
.wbi3-feedback-paste[b-p7yzbev3kp] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px;
    border: 1px dashed var(--mud-palette-lines-default);
    border-radius: 6px;
    background: var(--mud-palette-background-grey);
}

.wbi3-feedback-paste-icon[b-p7yzbev3kp] {
    color: var(--mud-palette-primary);
    flex: 0 0 auto;
    margin-top: 1px;
}

.wbi3-feedback-paste-copy[b-p7yzbev3kp] {
    min-width: 0;   /* let the sub-line wrap instead of stretching the dialog */
}

.wbi3-feedback-paste-title[b-p7yzbev3kp] {
    font-size: .875rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--mud-palette-text-primary);
}

.wbi3-feedback-paste-sub[b-p7yzbev3kp] {
    margin-top: 3px;
    font-size: .75rem;
    line-height: 1.4;
    color: var(--mud-palette-text-secondary);
}

/* Keyboard keys, so Ctrl+V reads as something you press rather than text to ignore. */
.wbi3-feedback-paste kbd[b-p7yzbev3kp] {
    display: inline-block;
    padding: 0 4px;
    min-width: 1.1em;
    text-align: center;
    font-family: inherit;
    font-size: .95em;
    font-weight: 600;
    line-height: 1.45;
    color: var(--mud-palette-text-primary);
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-bottom-width: 2px;
    border-radius: 3px;
}

/* Secondary route, deliberately quieter than the paste panel. */
.wbi3-feedback-paste-alt[b-p7yzbev3kp] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 4px;
}

/* Drag feedback now lands on the panel itself, so the thing you are dragging onto is the thing
   that reacts — the old version outlined an invisible wrapper. */
.wbi3-feedback-dropzone.wbi3-feedback-dragover .wbi3-feedback-paste[b-p7yzbev3kp] {
    border-style: solid;
    border-color: var(--mud-palette-primary);
    background: var(--mud-palette-primary-hover);
}

.wbi3-feedback-dropzone.wbi3-feedback-dragover[b-p7yzbev3kp] {
    box-shadow: 0 0 0 3px var(--mud-palette-primary-hover);
}
/* /Components/KpiTile.razor.rz.scp.css */
.rcm-kpi-tile[b-0trl8unax0] {
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 9px;
    padding: 11px 13px;
}
.rcm-tone-warn[b-0trl8unax0] { border-color: var(--mud-palette-warning); }
.rcm-tone-danger[b-0trl8unax0] { border-color: var(--mud-palette-error); }
.rcm-kpi-label[b-0trl8unax0] {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--mud-palette-text-secondary);
}
.rcm-kpi-value[b-0trl8unax0] {
    font: 800 22px/1.1 'IBM Plex Sans', sans-serif;
    margin: 5px 0 3px;
    color: var(--mud-palette-text-primary);
    font-variant-numeric: tabular-nums;
}
.rcm-kpi-foot[b-0trl8unax0] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 18px;
}
.rcm-kpi-delta[b-0trl8unax0] { font-size: 10px; font-weight: 600; }
.rcm-kpi-caption[b-0trl8unax0] { font-size: 10px; color: var(--mud-palette-text-secondary); }
.rcm-up[b-0trl8unax0] { color: var(--mud-palette-success); }
.rcm-down[b-0trl8unax0] { color: var(--mud-palette-error); }
.rcm-kpi-spark[b-0trl8unax0] { color: var(--mud-palette-success); opacity: .9; }
/* /Components/NeedsYouStrip.razor.rz.scp.css */
.rcm-needsyou[b-hb3ivtx8ck] {
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 9px;
    overflow: hidden;
    margin-bottom: 22px;
}
.rcm-needsyou-head[b-hb3ivtx8ck] {
    font-weight: 700;
    font-size: 13px;
    color: var(--mud-palette-text-primary);
    padding: 10px 14px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}
.rcm-needsyou-total[b-hb3ivtx8ck] { color: var(--mud-palette-text-secondary); font-weight: 600; }
.rcm-needsyou-row[b-hb3ivtx8ck] {
    display: flex; align-items: center; gap: 6px;
    padding: 4px 8px 4px 14px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    /* slim module-accent edge (resolved inline from ModuleAccents) — no layout shift */
    box-shadow: inset 3px 0 0 var(--row-accent, transparent);
}
.rcm-needsyou-row:last-child[b-hb3ivtx8ck] { border-bottom: none; }
.rcm-needsyou-row:hover[b-hb3ivtx8ck] { background: var(--mud-palette-action-default-hover); }
.rcm-needsyou-link[b-hb3ivtx8ck] {
    display: flex; align-items: center; gap: 10px;
    flex: 1; min-width: 0;
    padding: 5px 0;
    text-decoration: none; color: var(--mud-palette-text-primary);
}
.rcm-needsyou-mute[b-hb3ivtx8ck] {
    background: none; border: none; cursor: pointer;
    color: var(--mud-palette-text-secondary);
    font-size: 12px; line-height: 1; padding: 5px 7px; border-radius: 4px;
    flex-shrink: 0; opacity: 0.5;
}
.rcm-needsyou-mute:hover[b-hb3ivtx8ck] {
    opacity: 1; color: var(--mud-palette-error);
    background: var(--mud-palette-action-default-hover);
}
.rcm-needsyou-muted[b-hb3ivtx8ck] {
    padding: 6px 14px;
    border-top: 1px solid var(--mud-palette-lines-default);
    background: var(--mud-palette-background-grey);
}
.rcm-needsyou-muted-toggle[b-hb3ivtx8ck] {
    background: none; border: none; cursor: pointer;
    color: var(--mud-palette-text-secondary);
    font-size: 11px; font-weight: 600; padding: 2px 0;
}
.rcm-needsyou-muted-row[b-hb3ivtx8ck] {
    display: flex; align-items: center; gap: 10px;
    padding: 4px 0 4px 14px;
}
.rcm-needsyou-muted-text[b-hb3ivtx8ck] { flex: 1; font-size: 11px; color: var(--mud-palette-text-secondary); }
.rcm-needsyou-unmute[b-hb3ivtx8ck] {
    background: none; border: none; cursor: pointer;
    color: var(--mud-palette-primary);
    font-size: 11px; font-weight: 600; padding: 2px 6px;
    flex-shrink: 0;
}
.rcm-needsyou-unmute:hover[b-hb3ivtx8ck] { text-decoration: underline; }
.rcm-needsyou-dot[b-hb3ivtx8ck] { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.rcm-t-ok[b-hb3ivtx8ck] { background: var(--mud-palette-success); }
.rcm-t-info[b-hb3ivtx8ck] { background: var(--mud-palette-info); }
.rcm-t-warn[b-hb3ivtx8ck] { background: var(--mud-palette-warning); }
.rcm-t-danger[b-hb3ivtx8ck] { background: var(--mud-palette-error); }
.rcm-needsyou-text[b-hb3ivtx8ck] { flex: 1; font-size: 12px; }
.rcm-needsyou-go[b-hb3ivtx8ck] { color: var(--mud-palette-primary); font-weight: 600; font-size: 12px; }
/* /Components/StockNeedsDecisionCard.razor.rz.scp.css */
/* rochem-tasks#945 — the stock guard's unresolved lots on Home. Deliberately the same card
   furniture as NeedsYouStrip (surface, hairline, 9px radius) so Home reads as one surface and not
   as a pile of differently-drawn boxes. Theme tokens only. */
.rcm-stockdec[b-y5uv9f8lo3] {
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 9px;
    overflow: hidden;
    margin-bottom: 22px;
}

.rcm-stockdec-head[b-y5uv9f8lo3] {
    font-weight: 700;
    font-size: 13px;
    color: var(--mud-palette-text-primary);
    padding: 10px 14px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}
.rcm-stockdec-count[b-y5uv9f8lo3] { color: var(--mud-palette-text-secondary); font-weight: 600; }
/* When the GUARD last looked, not when the page loaded. Quiet, but present — see AsOfText(). */
.rcm-stockdec-asof[b-y5uv9f8lo3] { color: var(--mud-palette-text-secondary); font-weight: 500; font-size: 11px; margin-left: 6px; }

.rcm-stockdec-row[b-y5uv9f8lo3] {
    padding: 8px 14px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    /* Warning-toned edge: this is a worklist, not a status board. */
    box-shadow: inset 3px 0 0 var(--mud-palette-warning);
}
.rcm-stockdec-row:last-of-type[b-y5uv9f8lo3] { border-bottom: none; }
.rcm-stockdec-row:hover[b-y5uv9f8lo3] { background: var(--mud-palette-action-default-hover); }

.rcm-stockdec-what[b-y5uv9f8lo3] { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; }
.rcm-stockdec-part[b-y5uv9f8lo3] { font-weight: 700; font-size: 13px; color: var(--mud-palette-text-primary); }
.rcm-stockdec-product[b-y5uv9f8lo3] { font-size: 12.5px; color: var(--mud-palette-text-primary); }
.rcm-stockdec-lot[b-y5uv9f8lo3] { font-size: 11.5px; color: var(--mud-palette-text-secondary); }

.rcm-stockdec-qty[b-y5uv9f8lo3] {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px;
    margin-top: 2px; font-size: 12px; color: var(--mud-palette-text-secondary);
}
.rcm-stockdec-qty b[b-y5uv9f8lo3] { color: var(--mud-palette-text-primary); font-weight: 600; }
.rcm-stockdec-sep[b-y5uv9f8lo3] { opacity: .5; }
.rcm-stockdec-diff[b-y5uv9f8lo3] { font-weight: 700; }
/* Short = the floor is holding stock QuickBooks says has gone. That is the one that sends a
   picker to an empty rack, so it is the one that gets the error colour. */
.rcm-stockdec-diff.is-short[b-y5uv9f8lo3]   { color: var(--mud-palette-error); }
.rcm-stockdec-diff.is-over[b-y5uv9f8lo3]    { color: var(--mud-palette-warning); }
.rcm-stockdec-diff.is-unknown[b-y5uv9f8lo3] { color: var(--mud-palette-text-secondary); font-weight: 600; font-style: italic; }

.rcm-stockdec-plates[b-y5uv9f8lo3] {
    display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px;
    margin-top: 3px; font-size: 11.5px; color: var(--mud-palette-text-secondary);
}
.rcm-stockdec-plates-label[b-y5uv9f8lo3] { font-weight: 600; }
.rcm-stockdec-lp[b-y5uv9f8lo3] {
    color: var(--mud-palette-primary); font-weight: 600; text-decoration: none;
    font-family: 'IBM Plex Mono', ui-monospace, monospace;
}
.rcm-stockdec-lp:hover[b-y5uv9f8lo3] { text-decoration: underline; }
.rcm-stockdec-more[b-y5uv9f8lo3] { opacity: .8; }
.rcm-stockdec-where[b-y5uv9f8lo3] { opacity: .8; }

.rcm-stockdec-foot[b-y5uv9f8lo3] {
    padding: 7px 14px;
    border-top: 1px solid var(--mud-palette-lines-default);
    background: var(--mud-palette-background-grey);
    font-size: 11px; color: var(--mud-palette-text-secondary);
}

/* rochem-tasks#1614 — the one-line ask under the heading of the two new lists ("Which pallets
   left?" / "Receive them, or ask Logistics to correct QuickBooks."). Same furniture as the footer
   above so the three cards read as one family; sits under the head rather than at the bottom
   because it is the question the rows answer, not a closing note. */
.rcm-stockdec-ask[b-y5uv9f8lo3] {
    padding: 6px 14px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    background: var(--mud-palette-background-grey);
    font-size: 11.5px; font-weight: 600; color: var(--mud-palette-text-secondary);
}
/* /Components/SuggestInput.razor.rz.scp.css */
/* rochem-tasks#1567. The box itself is styled by the form it sits in; only the list is drawn here.
   It hangs under the box, may be wider than it (a buyer line carries an email and a phone), and
   holds at most eight lines, so it never needs a scrollbar. It hangs from the field the box sits
   in, which must be positioned. */

.w3-suggest-list[b-h0d0spkn0p] {
    position: absolute; top: calc(100% + 2px); left: 0; z-index: 1400;
    min-width: 100%; width: max-content; max-width: min(440px, calc(100vw - 32px));
    margin: 0; padding: 4px 0; list-style: none;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default); border-radius: 6px;
    box-shadow: var(--mud-elevation-8);
}

.w3-suggest-list li[b-h0d0spkn0p] {
    padding: 5px 10px; font-size: 13px; line-height: 1.35; cursor: pointer;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    color: var(--mud-palette-text-primary);
}

.w3-suggest-list li:hover[b-h0d0spkn0p], .w3-suggest-list li.on[b-h0d0spkn0p] { background: var(--mud-palette-action-default-hover); }
/* /Components/Warehousing/ArrivalNoticeDialog.razor.rz.scp.css */
.arrival-fields[b-zr59n0flu6] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 12px 20px;
    margin: 12px 0;
}
.arrival-fields > div[b-zr59n0flu6] { min-width: 0; }
.arrival-fields dt[b-zr59n0flu6] { font-size: .75rem; color: var(--mud-palette-text-secondary); }
.arrival-fields dd[b-zr59n0flu6] { margin: 0; overflow-wrap: anywhere; }
[b-zr59n0flu6] .arrival-lots { overflow-x: auto; }
[b-zr59n0flu6] .arrival-lots input { min-width: 90px; }
[b-zr59n0flu6] .arrival-lot-mismatch { color: var(--mud-palette-error); }
[b-zr59n0flu6] .arrival-lot-mismatch-icon { vertical-align: middle; margin-left: 4px; }
/* /Components/Warehousing/CombinePalletsPanel.razor.rz.scp.css */
/* Combine Pallets panel — folded into Pallet Lookup (rochem-tasks#695). Same floor-first sizing as
   RemoveLotPanel: gloves, poor light, one hand, so nothing the operator reads or taps is fine print.
   Every color is a MudBlazor theme token or the Warehousing module accent handed in from
   ModuleAccents via --wh-accent, so light and dark both read correctly.

   This lives in a .razor.css rather than an inline <style> block (rochem-tasks#695 review) — the
   sibling panels are scoped this way, and an unscoped <style> leaks .cp-* onto every page that ever
   renders alongside this one. */

.cp-code[b-veciylpiqy] {
    font-family: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", monospace;
    font-weight: 600;
}

/* Result state: centered, one big line. */
.cp-state[b-veciylpiqy] {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.cp-state-title[b-veciylpiqy] {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 6px;
    color: var(--mud-palette-text-primary);
}

/* Confirm step reads as destructive before it is read as a form. */
.cp-kicker-danger[b-veciylpiqy] {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--mud-palette-error);
}

.cp-section-label[b-veciylpiqy] {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary);
    margin: 18px 0 8px;
}

/* Lots coming off the source. Display only — nothing here is a choice, so these are not buttons. */
.cp-lots[b-veciylpiqy] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cp-lot-row[b-veciylpiqy] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 64px;
    padding: 12px 16px;
    border: 1px solid var(--mud-palette-lines-default);
    border-left: 4px solid var(--wh-accent);
    border-radius: 10px;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
}

.cp-lot-main[b-veciylpiqy] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.cp-lot-number[b-veciylpiqy] {
    font-size: 1.2rem;
    font-weight: 700;
}

.cp-lot-sub[b-veciylpiqy] {
    font-size: .85rem;
    color: var(--mud-palette-text-secondary);
    overflow-wrap: anywhere;
}

.cp-lot-qty[b-veciylpiqy] {
    font-size: 1.35rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* The arithmetic, spelled out — this is the number LR asked to end up with. */
.cp-maths[b-veciylpiqy] {
    margin-top: 18px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 10px;
    overflow: hidden;
}

.cp-maths-row[b-veciylpiqy] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px;
    color: var(--mud-palette-text-secondary);
    font-variant-numeric: tabular-nums;
}

.cp-maths-row + .cp-maths-row[b-veciylpiqy] {
    border-top: 1px solid var(--mud-palette-lines-default);
}

.cp-maths-total[b-veciylpiqy] {
    background: var(--mud-palette-background-grey);
    color: var(--mud-palette-text-primary);
    font-size: 1.2rem;
    font-weight: 700;
}

.cp-actions[b-veciylpiqy] {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 12px;
}

.cp-actions[b-veciylpiqy]  .mud-button-root {
    min-height: 56px;
    font-weight: 700;
}
/* /Components/Warehousing/FloorToolsCard.razor.rz.scp.css */
/* rochem-tasks#953 — the floor's four entries, on Home and in the phone's Menu sheet.
   Same card furniture as NeedsYouStrip / StockNeedsDecisionCard (surface, hairline, 9px radius)
   so Home stays one surface. Theme tokens only — no hardcoded hex. */
.rcm-floor[b-7h5hhip04i] {
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 9px;
    overflow: hidden;
    margin-bottom: 22px;
}
.rcm-floor.is-compact[b-7h5hhip04i] { margin-bottom: 0; border-radius: 0; border-left: none; border-right: none; }

.rcm-floor-head[b-7h5hhip04i] {
    font-weight: 700;
    font-size: 13px;
    color: var(--mud-palette-text-primary);
    padding: 10px 14px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

/* Thumb-sized: two across on a phone, four across once there is room. The lead tile spans
   the full width so it is unmistakably the big one on the handset. */
.rcm-floor-grid[b-7h5hhip04i] {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 12px 14px 14px;
}
@media (min-width: 720px) {
    .rcm-floor-grid[b-7h5hhip04i] { grid-template-columns: repeat(4, 1fr); }
}

.rcm-floor-tile[b-7h5hhip04i] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 4px;
    /* 88px is a deliberate floor: a gloved thumb, not a mouse pointer. */
    min-height: 88px;
    padding: 14px 14px;
    text-align: left;
    cursor: pointer;
    background: var(--mud-palette-background-gray);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 9px;
    color: var(--mud-palette-text-primary);
    transition: background .12s ease, border-color .12s ease, transform .12s ease;
}
.rcm-floor-tile:hover[b-7h5hhip04i] { background: var(--mud-palette-action-default-hover); border-color: var(--mud-palette-primary); }
.rcm-floor-tile:active[b-7h5hhip04i] { transform: translateY(1px); }
.rcm-floor-tile:focus-visible[b-7h5hhip04i] { outline: 2px solid var(--mud-palette-primary); outline-offset: 2px; }

/* Scan Out. Full width on a phone, two columns wide once the grid is four across —
   it is the one that has to be found without looking. */
.rcm-floor-tile.is-lead[b-7h5hhip04i] {
    grid-column: 1 / -1;
    min-height: 112px;
    background: var(--mud-palette-primary);
    border-color: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
}
.rcm-floor-tile.is-lead:hover[b-7h5hhip04i] { background: var(--mud-palette-primary-darken); }
@media (min-width: 720px) {
    .rcm-floor-tile.is-lead[b-7h5hhip04i] { grid-column: span 2; }
}

.rcm-floor-name[b-7h5hhip04i] { font-weight: 700; font-size: 15px; line-height: 1.15; }
.rcm-floor-tile.is-lead .rcm-floor-name[b-7h5hhip04i] { font-size: 19px; }
.rcm-floor-hint[b-7h5hhip04i] { font-size: 11.5px; color: var(--mud-palette-text-secondary); line-height: 1.2; }
/* The lead tile sits on the brand fill, where text-secondary has no contrast. */
.rcm-floor-tile.is-lead .rcm-floor-hint[b-7h5hhip04i] { color: var(--mud-palette-primary-text); opacity: .82; }
/* /Components/Warehousing/FulfillmentSteps.razor.rz.scp.css */
/* Pick -> Stage -> Ship progress rail. All hues come from --wh-accent (Warehousing violet)
   or theme tokens — no inline color literals, works in light + dark. */
.wh-steps[b-9iwbczyfv8] {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 2px 2px 4px;
}

.wh-step[b-9iwbczyfv8] {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 0 auto;
}

.wh-dot[b-9iwbczyfv8] {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    font-weight: 700;
    line-height: 1;
    border: 1.5px solid var(--mud-palette-divider);
    color: var(--mud-palette-text-secondary);
    background: var(--mud-palette-surface);
}

.wh-lbl[b-9iwbczyfv8] {
    font-size: .75rem;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
}

/* Current step — accent ring, drawing the eye to where the work is now. */
.wh-current .wh-dot[b-9iwbczyfv8] {
    border-color: var(--wh-accent);
    color: var(--wh-accent);
    background: color-mix(in srgb, var(--wh-accent) 12%, var(--mud-palette-surface));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--wh-accent) 18%, transparent);
}
.wh-current .wh-lbl[b-9iwbczyfv8] { color: var(--wh-accent); }

/* Completed steps — soft accent fill + check, no white literals (dark/light safe). */
.wh-done .wh-dot[b-9iwbczyfv8] {
    border-color: var(--wh-accent);
    color: var(--wh-accent);
    background: color-mix(in srgb, var(--wh-accent) 22%, var(--mud-palette-surface));
}
.wh-done .wh-lbl[b-9iwbczyfv8] { color: var(--mud-palette-text-primary); }

/* Connector bars between steps. */
.wh-bar[b-9iwbczyfv8] {
    flex: 1 1 auto;
    min-width: 14px;
    height: 2px;
    border-radius: 2px;
    background: var(--mud-palette-divider);
}
.wh-bar.wh-done[b-9iwbczyfv8] { background: color-mix(in srgb, var(--wh-accent) 60%, var(--mud-palette-divider)); }
/* /Components/Warehousing/PalletHoldPanel.razor.rz.scp.css */
/* Remove Lot panel — folded into Pallet Lookup (rochem-tasks#245). Designed for gloves, poor
   light, one hand: everything the operator touches is at least 56px tall and state reads from
   size + color, not fine print. Every color is a MudBlazor theme token or the Warehousing
   module accent handed in from ModuleAccents via --wh-accent / --wh-accent-soft, so light and
   dark themes both read correctly. */

.rl-code[b-kxfn93emtc] {
    font-family: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", monospace;
    font-weight: 600;
}

/* Full-panel states (result / already empty): centered, one big line. */
.rl-state[b-kxfn93emtc] {
    text-align: center;
}

.rl-state-title[b-kxfn93emtc] {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 6px;
    color: var(--mud-palette-text-primary);
}

.rl-section-label[b-kxfn93emtc] {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary);
    margin: 18px 0 8px;
}

.rl-kicker-danger[b-kxfn93emtc] {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--mud-palette-error);
}

.rl-lot-headline[b-kxfn93emtc] {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2px;
    color: var(--mud-palette-text-primary);
    overflow-wrap: anywhere;
}

/* Lot rows: one large tap target each, accent-edged so they read as "pick me". */
.rl-lots[b-kxfn93emtc] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rl-lot-row[b-kxfn93emtc] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 72px;
    padding: 14px 16px;
    border: 1px solid var(--mud-palette-lines-default);
    border-left: 4px solid var(--wh-accent);
    border-radius: 10px;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.rl-lot-row:hover[b-kxfn93emtc] {
    background: var(--wh-accent-soft);
}

.rl-lot-row:active[b-kxfn93emtc] {
    background: var(--wh-accent-soft);
    border-color: var(--wh-accent);
}

.rl-lot-row:focus-visible[b-kxfn93emtc] {
    outline: 3px solid var(--wh-accent);
    outline-offset: 2px;
}

.rl-lot-main[b-kxfn93emtc] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.rl-lot-number[b-kxfn93emtc] {
    font-size: 1.2rem;
    font-weight: 700;
}

.rl-lot-sub[b-kxfn93emtc] {
    font-size: .85rem;
    color: var(--mud-palette-text-secondary);
    overflow-wrap: anywhere;
}

.rl-lot-qty[b-kxfn93emtc] {
    font-size: 1.35rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* Reason presets: a 2x2 grid of large toggles — tapping is the whole interaction. */
.rl-reasons[b-kxfn93emtc] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.rl-reason[b-kxfn93emtc] {
    min-height: 60px;
    padding: 8px 10px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 10px;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.rl-reason:focus-visible[b-kxfn93emtc] {
    outline: 3px solid var(--wh-accent);
    outline-offset: 2px;
}

.rl-reason-selected[b-kxfn93emtc] {
    border: 2px solid var(--wh-accent);
    background: var(--wh-accent-soft);
}

/* Confirm / cancel and result actions: two equal, unmissable buttons. A lone button spans. */
.rl-actions[b-kxfn93emtc] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.rl-actions[b-kxfn93emtc]  .rl-big:only-child {
    grid-column: 1 / -1;
}

.rl-actions[b-kxfn93emtc]  .rl-big {
    min-height: 64px;
    font-size: 1.05rem;
    font-weight: 700;
}
/* /Components/Warehousing/RemoveLotPanel.razor.rz.scp.css */
/* Remove Lot panel — folded into Pallet Lookup (rochem-tasks#245). Designed for gloves, poor
   light, one hand: everything the operator touches is at least 56px tall and state reads from
   size + color, not fine print. Every color is a MudBlazor theme token or the Warehousing
   module accent handed in from ModuleAccents via --wh-accent / --wh-accent-soft, so light and
   dark themes both read correctly. */

.rl-code[b-9wlzd5tr8x] {
    font-family: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", monospace;
    font-weight: 600;
}

/* Full-panel states (result / already empty): centered, one big line. */
.rl-state[b-9wlzd5tr8x] {
    text-align: center;
}

.rl-state-title[b-9wlzd5tr8x] {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 6px;
    color: var(--mud-palette-text-primary);
}

.rl-section-label[b-9wlzd5tr8x] {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary);
    margin: 18px 0 8px;
}

.rl-kicker-danger[b-9wlzd5tr8x] {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--mud-palette-error);
}

.rl-lot-headline[b-9wlzd5tr8x] {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2px;
    color: var(--mud-palette-text-primary);
    overflow-wrap: anywhere;
}

/* Lot rows: one large tap target each, accent-edged so they read as "pick me". */
.rl-lots[b-9wlzd5tr8x] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rl-lot-row[b-9wlzd5tr8x] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 72px;
    padding: 14px 16px;
    border: 1px solid var(--mud-palette-lines-default);
    border-left: 4px solid var(--wh-accent);
    border-radius: 10px;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.rl-lot-row:hover[b-9wlzd5tr8x] {
    background: var(--wh-accent-soft);
}

.rl-lot-row:active[b-9wlzd5tr8x] {
    background: var(--wh-accent-soft);
    border-color: var(--wh-accent);
}

.rl-lot-row:focus-visible[b-9wlzd5tr8x] {
    outline: 3px solid var(--wh-accent);
    outline-offset: 2px;
}

.rl-lot-main[b-9wlzd5tr8x] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.rl-lot-number[b-9wlzd5tr8x] {
    font-size: 1.2rem;
    font-weight: 700;
}

.rl-lot-sub[b-9wlzd5tr8x] {
    font-size: .85rem;
    color: var(--mud-palette-text-secondary);
    overflow-wrap: anywhere;
}

.rl-lot-qty[b-9wlzd5tr8x] {
    font-size: 1.35rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

/* Reason presets: a 2x2 grid of large toggles — tapping is the whole interaction. */
.rl-reasons[b-9wlzd5tr8x] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.rl-reason[b-9wlzd5tr8x] {
    min-height: 60px;
    padding: 8px 10px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 10px;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.rl-reason:focus-visible[b-9wlzd5tr8x] {
    outline: 3px solid var(--wh-accent);
    outline-offset: 2px;
}

.rl-reason-selected[b-9wlzd5tr8x] {
    border: 2px solid var(--wh-accent);
    background: var(--wh-accent-soft);
}

/* Confirm / cancel and result actions: two equal, unmissable buttons. A lone button spans. */
.rl-actions[b-9wlzd5tr8x] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.rl-actions[b-9wlzd5tr8x]  .rl-big:only-child {
    grid-column: 1 / -1;
}

.rl-actions[b-9wlzd5tr8x]  .rl-big {
    min-height: 64px;
    font-size: 1.05rem;
    font-weight: 700;
}
/* /Components/Warehousing/ScanCoverageSection.razor.rz.scp.css */
/* rochem-tasks#953 — the two coverage tables, now a section under Stock Reconciliation.

   CSS grids of plain spans rather than tables, for the reason Stock Reconciliation gives for the
   same choice: StandardizationConformanceTests requires a Report-kind page to render ReportView and
   no second grid. Nothing here sorts or pages, so a grid would earn nothing anyway.

   Theme tokens, never hex, so both follow light and dark. */

.sc-days[b-e50dp30esc],
.sc-people[b-e50dp30esc] {
    display: grid;
    gap: 2px 18px;
    align-items: center;
    font-size: 0.875rem;
}

.sc-days[b-e50dp30esc] {
    grid-template-columns: minmax(110px, auto) repeat(7, minmax(88px, auto));
}

.sc-people[b-e50dp30esc] {
    grid-template-columns: minmax(180px, 2fr) repeat(4, minmax(90px, auto)) minmax(130px, auto);
}

.sc-h[b-e50dp30esc] {
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
    border-bottom: 1px solid var(--mud-palette-lines-default);
    padding-bottom: 4px;
    margin-bottom: 2px;
    align-self: end;
}

/* Numbers right-aligned and tabular, so a column of counts can be read down rather than across. */
.sc-n[b-e50dp30esc] {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* Eight columns of headings do not fit a narrow window, and this section now sits inside a page
   that is already wide. Scroll the block inside itself rather than pushing the page sideways —
   the artifact/responsive rule the rest of the app follows. */
.sc-scroll[b-e50dp30esc] {
    overflow-x: auto;
}

.sc-scroll > *[b-e50dp30esc] {
    min-width: max-content;
}

@media (max-width: 700px) {
    .sc-days[b-e50dp30esc],
    .sc-people[b-e50dp30esc] {
        font-size: 0.8125rem;
    }

    .sc-people[b-e50dp30esc] {
        grid-template-columns: minmax(140px, 1fr) repeat(4, minmax(70px, auto)) minmax(110px, auto);
    }
}
/* /Components/Warehousing/ScanHeading.razor.rz.scp.css */
/* Warehousing scan-queue heading — violet module-accent kicker over the title.
   Colors track light/dark via theme tokens; the accent comes from --wh-accent. */
.wh-heading[b-dpaohverqv] {
    padding: 12px 12px 6px;
}

.wh-kicker[b-dpaohverqv] {
    display: block;
    font-size: .6875rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--wh-accent, var(--mud-palette-primary));
    margin-bottom: 1px;
}
/* /Components/Warehousing/ShipOutPanel.razor.rz.scp.css */
/* Ship Out panel (rochem-tasks#1612), folded into Pallet Lookup. Same rules as the Remove Lot
   panel it sits beside: built for gloves and poor light, every tap target tall, state read from
   size and colour rather than fine print. Every colour is a MudBlazor theme token or the
   Warehousing module accent handed in via --wh-accent / --wh-accent-soft, so light and dark
   themes both read correctly. */

.so-code[b-mtc9b35na9] {
    font-family: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", monospace;
    font-weight: 600;
}

.so-num[b-mtc9b35na9] {
    font-variant-numeric: tabular-nums;
    text-align: right;
}

.so-state[b-mtc9b35na9] {
    text-align: center;
}

.so-state-title[b-mtc9b35na9] {
    font-size: 1.3rem;
    font-weight: 700;
    margin-top: 6px;
    color: var(--mud-palette-text-primary);
}

.so-kicker[b-mtc9b35na9] {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--wh-accent);
}

.so-headline[b-mtc9b35na9] {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--mud-palette-text-primary);
    overflow-wrap: anywhere;
}

.so-section-label[b-mtc9b35na9] {
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary);
    margin: 18px 0 8px;
}

/* Order options and pallet lines: one large target each, accent-edged so they read as "pick me". */
.so-options[b-mtc9b35na9],
.so-lines[b-mtc9b35na9] {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.so-option[b-mtc9b35na9] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 64px;
    padding: 12px 16px;
    border: 1px solid var(--mud-palette-lines-default);
    border-left: 4px solid var(--wh-accent);
    border-radius: 10px;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.so-option:hover[b-mtc9b35na9],
.so-option:active[b-mtc9b35na9] {
    background: var(--wh-accent-soft);
}

.so-option:focus-visible[b-mtc9b35na9] {
    outline: 3px solid var(--wh-accent);
    outline-offset: 2px;
}

.so-option-main[b-mtc9b35na9],
.so-line-main[b-mtc9b35na9] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1 1 auto;
}

.so-option-title[b-mtc9b35na9],
.so-line-title[b-mtc9b35na9] {
    font-size: 1.1rem;
    font-weight: 700;
    overflow-wrap: anywhere;
}

.so-option-sub[b-mtc9b35na9],
.so-line-sub[b-mtc9b35na9] {
    font-size: .85rem;
    color: var(--mud-palette-text-secondary);
    overflow-wrap: anywhere;
}

/* The label the server gave the match ("Allocated to this order", "Lot is on this order",
   "On this card"). Shown, never acted on. */
.so-option-tag[b-mtc9b35na9] {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--mud-palette-text-secondary);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 999px;
    padding: 2px 8px;
}

.so-line[b-mtc9b35na9] {
    padding: 10px 12px;
    border: 1px solid var(--mud-palette-lines-default);
    border-left: 4px solid var(--mud-palette-lines-default);
    border-radius: 10px;
    background: var(--mud-palette-surface);
}

.so-line-ticked[b-mtc9b35na9] {
    border-left-color: var(--wh-accent);
    background: var(--wh-accent-soft);
}

.so-line-head[b-mtc9b35na9] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.so-tick[b-mtc9b35na9] {
    flex: 0 0 auto;
}

/* Whole pallet / Amount taken: two large toggles side by side, the amount box after them. */
.so-line-how[b-mtc9b35na9] {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
    padding-left: 48px;
}

.so-choice[b-mtc9b35na9] {
    min-height: 52px;
    min-width: 150px;
    padding: 8px 12px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 10px;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    font: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.so-choice:focus-visible[b-mtc9b35na9] {
    outline: 3px solid var(--wh-accent);
    outline-offset: 2px;
}

.so-choice-selected[b-mtc9b35na9] {
    border: 2px solid var(--wh-accent);
    background: var(--wh-accent-soft);
}

/* The date box: a native date input, styled to the theme so it sits level with the Mud fields. */
.so-date[b-mtc9b35na9] {
    min-height: 44px;
    padding: 6px 10px;
    border: 1px solid var(--mud-palette-lines-inputs);
    border-radius: 6px;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    color-scheme: inherit;
    font: inherit;
}

.so-date:focus-visible[b-mtc9b35na9] {
    outline: 2px solid var(--wh-accent);
    outline-offset: 1px;
}

.so-balances[b-mtc9b35na9]  th {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--mud-palette-text-secondary);
}

.so-balances[b-mtc9b35na9]  th:nth-child(n+3),
.so-balances[b-mtc9b35na9]  td:nth-child(n+3) {
    text-align: right;
}

/* Cancel / Save: two equal, unmissable buttons. A lone button spans. */
.so-actions[b-mtc9b35na9] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.so-actions[b-mtc9b35na9]  .so-big:only-child {
    grid-column: 1 / -1;
}

.so-actions[b-mtc9b35na9]  .so-big {
    min-height: 64px;
    font-size: 1.05rem;
    font-weight: 700;
}
/* /Layout/ConnectionChip.razor.rz.scp.css */
.wbi3-conn-chip[b-w9nln2uvaw] {
    position: fixed;
    top: 8px;
    right: 12px;
    z-index: 1300;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid var(--mud-palette-divider);
    color: var(--mud-palette-text-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}

/* Reconnecting — a transient warning. Tint the warning token over the surface (like
   .rcm-warn-banner) with a warning-colored edge; text stays on the theme text color.
   A solid amber fill with white text failed contrast on the dark palette's light amber. */
.wbi3-conn-chip.reconnecting[b-w9nln2uvaw] {
    background: color-mix(in srgb, var(--mud-palette-warning) 16%, var(--mud-palette-surface));
    border-color: color-mix(in srgb, var(--mud-palette-warning) 55%, var(--mud-palette-divider));
}

/* Offline (showing cached) — a muted/inactive state: a neutral tint from the secondary-text
   token so it reads calm rather than alarming, and tracks both palettes. */
.wbi3-conn-chip.offline[b-w9nln2uvaw] {
    background: color-mix(in srgb, var(--mud-palette-text-secondary) 14%, var(--mud-palette-surface));
    border-color: var(--mud-palette-divider);
}
/* /Layout/MobileShell.razor.rz.scp.css */
/* Mobile shell chrome. Colors come from MudBlazor theme variables so light/dark
   and the Rochem brand green track automatically with RochemTheme. */

/* Full-height flex column that exactly fills the (dynamic) viewport. The app bar and
   bottom nav are in-flow flex children (flex:0 0 auto) and the content scrolls INSIDE
   .m-content — so the nav is always pinned to the bottom of the visible screen, without
   position:fixed (which on mobile hides behind the browser toolbar until you scroll). */
.m-shell[b-edvc49luap] {
    display: flex;
    flex-direction: column;
    height: 100vh;            /* fallback */
    height: 100dvh;           /* tracks the mobile toolbar collapse/expand */
    overflow: hidden;
    background: var(--mud-palette-background);
}

/* App bar */
.m-appbar[b-edvc49luap] {
    flex: 0 0 auto;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 4px;
    height: 56px;
    padding: 0 6px 0 4px;
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}

.m-appbar-btn[b-edvc49luap] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    border-radius: 10px;
}

.m-appbar-btn:active[b-edvc49luap] {
    background: rgba(255, 255, 255, .16);
}

.m-brand[b-edvc49luap] {
    font-weight: 800;
    font-size: 17px;
    letter-spacing: -.01em;
    margin-left: 2px;
}

.m-brand-dot[b-edvc49luap] {
    opacity: .7;
    margin: 0 1px;
}

.m-spacer[b-edvc49luap] {
    flex: 1;
}

.m-menu-user[b-edvc49luap] {
    padding: 8px 16px 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
}

/* The one scroll container: content scrolls here, chrome stays put. */
.m-content[b-edvc49luap] {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 12px 12px 16px;
    min-width: 0;
}

/* Bottom nav — in-flow flex child, always pinned to the bottom of the shell. */
.m-bottomnav[b-edvc49luap] {
    flex: 0 0 auto;
    display: flex;
    background: var(--mud-palette-surface);
    border-top: 1px solid var(--mud-palette-lines-default);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    box-shadow: 0 -3px 14px rgba(0, 0, 0, .07);
}

.m-tab[b-edvc49luap] {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 5px 0 3px;
    font-size: 11px;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
}

.m-tab:active[b-edvc49luap] {
    transform: scale(.96);
}

.m-tab-on[b-edvc49luap] {
    color: var(--mud-palette-primary);
}

/* Menu overlay — self-contained bottom sheet (scrim + sliding panel).
   Both elements stay in the DOM and toggle via .m-open so open/close animate
   smoothly and never mount/unmount mid-transition. */
.m-sheet-scrim[b-edvc49luap] {
    position: fixed;
    inset: 0;
    z-index: 40;                 /* above the bottom nav (z 30) */
    background: rgba(0, 0, 0, .45);
    opacity: 0;
    visibility: hidden;
    transition: opacity .2s ease, visibility .2s ease;
}

.m-sheet-scrim.m-open[b-edvc49luap] {
    opacity: 1;
    visibility: visible;
}

.m-sheet[b-edvc49luap] {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 41;                 /* above the scrim */
    height: 82vh;
    max-height: 82vh;
    display: flex;
    flex-direction: column;
    background: var(--mud-palette-surface);
    border-top-left-radius: 18px;
    border-top-right-radius: 18px;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, .25);
    transform: translateY(100%);
    transition: transform .28s cubic-bezier(.4, 0, .2, 1);
    will-change: transform;
}

.m-sheet.m-open[b-edvc49luap] {
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .m-sheet[b-edvc49luap], .m-sheet-scrim[b-edvc49luap] { transition: none; }
}

.m-sheet-grip[b-edvc49luap] {
    flex: 0 0 auto;
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: var(--mud-palette-lines-default);
    margin: 8px auto 0;
}

/* Menu overlay (bottom sheet content) */
.m-menu-head[b-edvc49luap] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 12px 4px 18px;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -.01em;
}

.m-menu-sub[b-edvc49luap] {
    padding: 0 18px 8px;
    font-size: 12.5px;
    color: var(--mud-palette-text-secondary);
}

.m-menu-body[b-edvc49luap] {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
}

/* Pinned footer inside the sheet: stays put while .m-menu-body scrolls, so "Send feedback"
   never requires scrolling past the whole nav catalog to reach. */
.m-menu-foot[b-edvc49luap] {
    flex: 0 0 auto;
    border-top: 1px solid var(--mud-palette-lines-default);
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
}

.m-menu-feedback[b-edvc49luap] {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;          /* thumb target */
    border: 1px solid var(--mud-palette-lines-inputs);
    border-radius: 10px;
    background: transparent;
    color: var(--mud-palette-primary);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.m-menu-feedback:active[b-edvc49luap] {
    background: var(--mud-palette-action-default-hover);
}
/* /Pages/Accounting/BillUpload.razor.rz.scp.css */
/* Keep the bill reference and document action visible even with many PO numbers. */
.bill-upload-page[b-49c8j0qdl9]  .mud-table table {
    table-layout: fixed !important;
    width: 100% !important;
    min-width: 0 !important;
}
.bill-upload-page[b-49c8j0qdl9]  .mud-table-cell {
    min-width: 0 !important;
    white-space: normal !important;
    vertical-align: top;
    padding: 8px 6px !important;
}
.bill-upload-page[b-49c8j0qdl9]  .bill-upload-text {
    white-space: normal !important;
    overflow-wrap: anywhere;
}
/* Eight columns since rochem-tasks#1625 added Amount (col 4): the shares must still sum to
   100%, or the fixed layout gives the last column (the Documents button) nothing and the
   button wraps and clips. */
.bill-upload-page[b-49c8j0qdl9]  th:nth-child(1) { width: 10%; }
.bill-upload-page[b-49c8j0qdl9]  th:nth-child(2) { width: 8%; }
.bill-upload-page[b-49c8j0qdl9]  th:nth-child(3) { width: 15%; }
.bill-upload-page[b-49c8j0qdl9]  th:nth-child(4) { width: 8%; }
.bill-upload-page[b-49c8j0qdl9]  th:nth-child(5) { width: 20%; }
.bill-upload-page[b-49c8j0qdl9]  th:nth-child(6) { width: 13%; }
.bill-upload-page[b-49c8j0qdl9]  th:nth-child(7) { width: 12%; }
.bill-upload-page[b-49c8j0qdl9]  th:nth-child(8) { width: 14%; }
.bill-upload-page[b-49c8j0qdl9]  td:nth-child(1),
.bill-upload-page[b-49c8j0qdl9]  td:nth-child(6) { overflow-wrap: anywhere; }
.bill-upload-page[b-49c8j0qdl9]  [data-testid="documents-button"] {
    min-width: 0;
    max-width: 100%;
    height: auto !important;
    min-height: 32px;
    padding: 4px 6px !important;
    line-height: 1.3;
    white-space: nowrap;
}
/* /Pages/Accounting/Commissions.razor.rz.scp.css */

/* The three exports, riding the filter bar's view row (rochem-tasks#1139). They were a band of
   their own above the bar with the whole left of it empty, and that band was also the only thing
   keeping "Accounting / Commissions" on screen -- JJ wanted both gone and they are one change.
   Text buttons, sized to the 22px controls beside them rather than to a fingertip. */
[b-znpo4870hz] .com-exports { display: flex; align-items: center; gap: 2px; }
[b-znpo4870hz] .com-exports .mud-button-root {
    min-height: 22px; height: 22px; padding: 0 8px;
    font-size: 12px; line-height: 1.2; white-space: nowrap;
}
[b-znpo4870hz] .com-exports .mud-button-root .mud-icon-root { font-size: 15px; }
/* /Pages/Accounting/OrderHoldRelease.razor.rz.scp.css */
/* Order Hold / Release — fits the screen, and prints (rochem-tasks#867).

   DM: "Can the columns on the Order Hold screen be made narrower? if I print the page it cuts off
   the 'Hold Memo' notes. If I snip it and paste elsewhere it has to be sized down too small to
   read."

   Two different cut-offs sit behind that, and the column width is only one of them:

     HORIZONTAL — ten columns with no widths on MudBlazor's default table-layout:auto sized
     themselves to content, so the table grew past the viewport and Hold Memo, the LAST column, was
     the first thing off the right-hand edge of the paper.

     VERTICAL — the memo is a MudTextField with Lines="2", i.e. a <textarea rows="2">. A textarea
     shows two lines and scrolls the rest, and what is scrolled out of a textarea DOES NOT PRINT at
     all. Memos on file run to 193 characters against roughly 90 visible, so the longest ones were
     cut off on paper however wide the column got. That half is fixed in the markup — a print-only
     span carrying the full text — because no CSS reliably grows a textarea to its content. */

/* ── Screen: narrower columns, and the grid can never outgrow the viewport ──────────────────────
   The NeedsInvoicing / QdInbound recipe: laid out FIXED at exactly the container's width, so the
   table cannot be wider than the screen and no horizontal scrollbar can appear. Widths are each
   column's share and sum to 100. Sized from the real data in Sales.vw_AccountingApproval rather
   than guessed — memos average 45 characters, so Hold Memo takes the largest share by some way,
   and the six narrow columns give up the room for it. This is the "made narrower" DM asked for. */
.ohr-page[b-izou9jetkk]  .mud-table table {
    table-layout: fixed !important;
    width: 100% !important;
    min-width: 0 !important;
}
/* !important because MudBlazor sets overflow-x:auto on .mud-table-container from its own
   stylesheet and wins the cascade otherwise — the fitted table would still grow a bar. */
.ohr-page[b-izou9jetkk]  .mud-table-container { overflow-x: hidden !important; }
/* The synced TOP scrollbar is a separate element and has to go too, or the bar comes back the
   moment any cell overflows. */
.ohr-page[b-izou9jetkk]  .wbi3-grid-topscroll { display: none !important; }

.ohr-page[b-izou9jetkk]  .mud-table-cell {
    min-width: 0 !important;
    max-width: none;
    padding-left: 4px !important;
    padding-right: 4px !important;
    font-size: 0.75rem !important;
}
/* Values clip at their own cell edge rather than printing over the next column, and each token
   stays whole — break-word split "08/27/2026" into "08/27/20 / 26" on #215 and #298. */
.ohr-page[b-izou9jetkk]  tbody .mud-table-cell {
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none;
    vertical-align: top;
}
/* A PO number and the two dates have no space to wrap on, and CSS breaks after a HYPHEN whatever
   overflow-wrap says — which is what would split a PO like "TNM-229448" over two lines. */
.ohr-page[b-izou9jetkk]  tbody .ohr-nowrap { white-space: nowrap; }

/* Header labels wrap at the SPACE ("Cust. Balance", "Hold Memo") rather than clipping, and never
   mid-word — that is what once rendered "SO Number" as "Numbe / R" on Needs Invoicing. */
.ohr-page[b-izou9jetkk]  thead .mud-table-cell {
    white-space: normal !important;
    overflow: visible !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none;
    font-size: 0.75rem !important;
    padding-left: 4px !important;
    padding-right: 4px !important;
}

/* The memo field must shrink with its column instead of holding it open at its own default width —
   an editable cell doing exactly that is what widened the Needs Invoicing grid before it was
   capped. */
.ohr-page[b-izou9jetkk]  tbody .mud-table-cell .mud-input-control,
.ohr-page[b-izou9jetkk]  tbody .mud-table-cell .mud-input-root {
    min-width: 0 !important;
    width: 100% !important;
}
.ohr-page[b-izou9jetkk]  tbody .mud-table-cell textarea { font-size: 0.75rem !important; }
.ohr-page[b-izou9jetkk]  tbody .mud-table-cell .mud-checkbox { margin: 0 !important; }
.ohr-page[b-izou9jetkk]  tbody .mud-table-cell .mud-checkbox .mud-icon-button { padding: 2px !important; }

/* The full memo, shown only on paper. Hidden on screen, where the editable field is the point. */
.ohr-memo-print[b-izou9jetkk] { display: none; }

/* ── Print ─────────────────────────────────────────────────────────────────────────────────────
   The app chrome (app bar, drawer) is already dropped by the @media print block in app.css. This
   decides what THIS page puts on the paper. Nothing here changes the screen. */
@media print {
    /* Controls mean nothing once printed: a filter bar you cannot type into, a search box, a pager
       for pages that are not there, and a Submit button that cannot be clicked. The rows are the
       document.

       Every one of these is ::deep because the class sits on a COMPONENT (Wbi3SearchView,
       MudPaper), whose markup this file's scope attribute never reaches. Only .ohr-memo-print and
       .ohr-hold-print are plain spans written in the .razor, so only those two are styled bare. */
    .ohr-page[b-izou9jetkk]  .wbi3-searchview .mud-paper.flex-wrap,
    .ohr-page[b-izou9jetkk]  .sv-count-line,
    .ohr-page[b-izou9jetkk]  .mud-table-pagination,
    .ohr-page[b-izou9jetkk]  .wbi3-grid .px-3.pb-2,
    .ohr-page[b-izou9jetkk]  .ohr-actions {
        display: none !important;
    }

    /* Let the table use the whole sheet and lay itself out to the content, since the paper — not
       the viewport — is now the constraint. */
    .ohr-page[b-izou9jetkk]  .mud-table table { table-layout: auto !important; width: 100% !important; }
    .ohr-page[b-izou9jetkk]  .mud-table-container {
        overflow: visible !important;
        max-height: none !important;
    }

    /* A memo must never be clipped again. On paper the input is replaced by its text, which wraps
       to as many lines as it needs — this is the half of DM's report that column width could not
       fix, because a <textarea rows="2"> does not print what it has scrolled out of view. */
    .ohr-page[b-izou9jetkk]  .ohr-memo-field { display: none !important; }
    .ohr-memo-print[b-izou9jetkk] {
        display: block;
        white-space: pre-wrap;      /* keep the author's own line breaks */
        overflow-wrap: break-word;  /* a pasted 193-character run still has to fit the column */
        font-size: 9pt;
        line-height: 1.35;
    }

    /* Everything on paper is black on white regardless of the viewer's theme — the app is
       dark-first, and printing a dark surface wastes toner and reads badly. */
    .ohr-page[b-izou9jetkk]  .mud-table,
    .ohr-page[b-izou9jetkk]  .mud-table-cell,
    .ohr-page[b-izou9jetkk]  .mud-table-root {
        background: #fff !important;
        color: #000 !important;
    }
    .ohr-page[b-izou9jetkk]  .mud-table-cell {
        font-size: 9pt !important;
        padding: 3px 5px !important;
        border-bottom: 1px solid #999 !important;
        overflow: visible !important;      /* clip on screen, never on paper */
        text-overflow: clip !important;
        white-space: normal !important;
    }
    .ohr-page[b-izou9jetkk]  thead .mud-table-cell { font-weight: 700; border-bottom: 2px solid #333 !important; }

    /* A multi-page run needs its headings on every sheet, and a row split across a page break is
       the other way to lose a memo. */
    .ohr-page[b-izou9jetkk]  .mud-table-head { display: table-header-group; }
    .ohr-page[b-izou9jetkk]  tbody tr { break-inside: avoid; page-break-inside: avoid; }

    /* The checkbox is an interactive control; on paper the reader wants the answer, which the
       markup supplies as Yes/— beside it. */
    .ohr-page[b-izou9jetkk]  .ohr-hold-field { display: none !important; }
    .ohr-hold-print[b-izou9jetkk] { display: inline !important; font-weight: 700; }

    /* NO @page RULE HERE, deliberately. Landscape would suit ten columns, but @page has no selector
       for scoped CSS to rewrite, so it is emitted verbatim into Wbi3.Client.styles.css — the ONE
       bundle every page loads. Setting it here would silently turn every other screen in WBI3
       landscape at 10mm margins. The browser's own print dialog already offers landscape, which is
       one click for the person who wants it and no change for everybody else. */
}
/* /Pages/Accounting/Reports/TenTenReport.razor.rz.scp.css */
/* The two bands the Ten/Ten report is named for, plus the grand total (rochem-tasks#871).

   Every selector here matches an element written in TenTenReport.razor itself, never inside a
   child component -- scoped CSS stamps its b-* attribute onto this page's own markup only, so a
   rule aimed at a component's internals would compile fine and style nothing. */

.tt-bands[b-880gx3omal] {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.tt-band[b-880gx3omal] {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    min-width: 12rem;
    padding: .5rem .75rem;
    border: 1px solid var(--mud-palette-divider);
    border-radius: var(--mud-default-borderradius);
    background: var(--mud-palette-surface);
}

.tt-band-lbl[b-880gx3omal] {
    font-size: .75rem;
    color: var(--mud-palette-text-secondary);
}

.tt-band-amt[b-880gx3omal] {
    font-size: 1.15rem;
    font-weight: 600;
    /* Figures line up digit-for-digit down the row, which is the whole point of showing them
       side by side -- a proportional font makes $629,434.48 and $1,422,799.38 hard to compare. */
    font-variant-numeric: tabular-nums;
}

.tt-band-n[b-880gx3omal] {
    font-size: .7rem;
    color: var(--mud-palette-text-secondary);
}

/* The total is the one people quote, so it reads as the answer rather than a third band. */
.tt-band-total[b-880gx3omal] {
    border-color: var(--mud-palette-primary);
}

.tt-band-total .tt-band-amt[b-880gx3omal] {
    color: var(--mud-palette-primary);
}
/* /Pages/Accounting/Reports/TerritoryReport.razor.rz.scp.css */
/* Territory Report — summary face.
   Every color is a MudBlazor palette token, so dark mode is the same stylesheet; the map reads
   the same tokens at render time (territory-map.js). One saturated element per screen: the
   green world. Everything else is hairlines and ink, per the Rochem Professional layer. */

/* ── cards & scaffolding ─────────────────────────────────────────────── */

.trr-card[b-bjppg09vh2] {
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-divider);
    border-radius: 8px;
}

.trr-layout[b-bjppg09vh2] {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 12px;
    align-items: start;
    margin-bottom: 12px;
}

.trr-rail[b-bjppg09vh2] { display: flex; flex-direction: column; gap: 12px; }

.trr-card-h[b-bjppg09vh2] {
    padding: 10px 16px;
    border-bottom: 1px solid var(--mud-palette-divider);
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

    .trr-card-h h2[b-bjppg09vh2] { font-size: .85rem; font-weight: 600; margin: 0; }

.trr-hint[b-bjppg09vh2] { font-size: .75rem; color: var(--mud-palette-text-secondary); }
.trr-muted[b-bjppg09vh2] { color: var(--mud-palette-text-secondary); }

/* ── controls ────────────────────────────────────────────────────────── */

.trr-controls[b-bjppg09vh2] {
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-divider);
    border-radius: 8px;
    padding: 8px 14px;
    margin-bottom: 12px;
}

.trr-ctl-row[b-bjppg09vh2] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 5px 0;
}

    .trr-ctl-row + .trr-ctl-row[b-bjppg09vh2] { border-top: 1px solid var(--mud-palette-lines-default); }

.trr-lbl[b-bjppg09vh2] {
    font-size: .66rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
    min-width: 84px;
}

.trr-spacer[b-bjppg09vh2] { flex: 1; }

.trr-seg[b-bjppg09vh2] {
    display: inline-flex;
    border: 1px solid var(--mud-palette-lines-inputs);
    border-radius: 6px;
    overflow: hidden;
}

    .trr-seg button[b-bjppg09vh2] {
        font: inherit;
        font-size: .8rem;
        color: var(--mud-palette-text-secondary);
        background: none;
        border: none;
        border-right: 1px solid var(--mud-palette-lines-default);
        padding: 4px 12px;
        cursor: pointer;
    }

        .trr-seg button:last-child[b-bjppg09vh2] { border-right: none; }

        .trr-seg button.on[b-bjppg09vh2] {
            background: color-mix(in srgb, var(--mud-palette-primary) 12%, transparent);
            color: var(--mud-palette-primary);
            font-weight: 600;
        }

.trr-chips[b-bjppg09vh2] { display: inline-flex; gap: 6px; flex-wrap: wrap; }

.trr-chip[b-bjppg09vh2] {
    font: inherit;
    font-size: .8rem;
    color: var(--mud-palette-text-secondary);
    background: none;
    border: 1px solid var(--mud-palette-lines-inputs);
    border-radius: 14px;
    padding: 3px 12px;
    cursor: pointer;
}

    .trr-chip:hover[b-bjppg09vh2] { border-color: var(--mud-palette-primary); color: var(--mud-palette-primary); }

    .trr-chip.on[b-bjppg09vh2] {
        background: var(--mud-palette-primary);
        border-color: var(--mud-palette-primary);
        color: var(--mud-palette-primary-text);
        font-weight: 600;
    }

.trr-seg button:focus-visible[b-bjppg09vh2], .trr-chip:focus-visible[b-bjppg09vh2], .trr-chev:focus-visible[b-bjppg09vh2], .trr-warnchip:focus-visible[b-bjppg09vh2] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 1px;
}

/* ── the amber set-aside (no ship-to country) ────────────────────────── */

.trr-warnchip[b-bjppg09vh2] {
    font: inherit;
    font-size: .78rem;
    font-weight: 500;
    color: var(--mud-palette-warning);
    background: color-mix(in srgb, var(--mud-palette-warning) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--mud-palette-warning) 40%, transparent);
    border-radius: 6px;
    padding: 5px 11px;
    cursor: pointer;
    white-space: nowrap;
}

.trr-unassigned[b-bjppg09vh2] { margin-bottom: 12px; }

.trr-minitable[b-bjppg09vh2] { width: 100%; border-collapse: collapse; font-size: .8rem; }

    .trr-minitable th[b-bjppg09vh2] {
        text-align: left;
        font-size: .66rem;
        text-transform: uppercase;
        letter-spacing: .07em;
        color: var(--mud-palette-text-secondary);
        padding: 7px 16px;
        border-bottom: 1px solid var(--mud-palette-divider);
    }

    .trr-minitable td[b-bjppg09vh2] { padding: 6px 16px; border-bottom: 1px solid var(--mud-palette-lines-default); }

    .trr-minitable .num[b-bjppg09vh2], .trr-minitable th.num[b-bjppg09vh2] { text-align: right; font-variant-numeric: tabular-nums; }

.trr-foot-hint[b-bjppg09vh2] { padding: 8px 16px; font-size: .75rem; color: var(--mud-palette-text-secondary); }

.trr-warn-inline[b-bjppg09vh2] { color: var(--mud-palette-warning); font-weight: 500; margin-right: 8px; }

/* ── hero: the answer ────────────────────────────────────────────────── */

.trr-hero[b-bjppg09vh2] {
    display: grid;
    grid-template-columns: minmax(280px, 340px) 1fr;
    gap: 8px;
    padding: 18px 20px 12px;
}

.trr-kicker[b-bjppg09vh2] {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
}

.trr-big[b-bjppg09vh2] {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    margin-top: 2px;
}

.trr-exact[b-bjppg09vh2] {
    font-size: .8rem;
    color: var(--mud-palette-text-secondary);
    font-variant-numeric: tabular-nums;
}

.trr-heroline[b-bjppg09vh2] { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; font-size: .82rem; }

.trr-subkpis[b-bjppg09vh2] {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--mud-palette-lines-default);
    font-size: .8rem;
    color: var(--mud-palette-text-secondary);
}

/* Bloc split: fixed order, one green, share bars — the world in three lines. */
.trr-blocs[b-bjppg09vh2] { margin-top: 12px; display: flex; flex-direction: column; gap: 7px; }

.trr-bloc[b-bjppg09vh2] {
    display: grid;
    grid-template-columns: 92px 1fr 58px 34px 64px;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
}

.trr-bloc-name[b-bjppg09vh2] { color: var(--mud-palette-text-primary); font-weight: 500; }
.trr-bloc-amt[b-bjppg09vh2] { text-align: right; font-variant-numeric: tabular-nums; }
.trr-bloc-pct[b-bjppg09vh2] { text-align: right; font-variant-numeric: tabular-nums; color: var(--mud-palette-text-secondary); }

.trr-bar[b-bjppg09vh2] {
    display: block;
    height: 8px;
    background: var(--mud-palette-lines-default);
    border-radius: 4px;
    overflow: hidden;
}

    .trr-bar i[b-bjppg09vh2] {
        display: block;
        height: 100%;
        background: var(--mud-palette-primary);
        border-radius: 4px 3px 3px 4px;
    }

    .trr-bar.sm[b-bjppg09vh2] { height: 6px; width: 52px; display: inline-block; vertical-align: middle; }

/* ── map ─────────────────────────────────────────────────────────────── */

.trr-hero-map[b-bjppg09vh2] { min-width: 0; display: flex; flex-direction: column; }

.trr-map[b-bjppg09vh2] { width: 100%; height: 380px; }

/* The library builds its own DOM inside the container — style it through ::deep. */
.trr-hero-map[b-bjppg09vh2]  .jvm-container { width: 100%; height: 100%; }

.trr-hero-map[b-bjppg09vh2]  .jvm-zoom-btn {
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-secondary);
    border: 1px solid var(--mud-palette-lines-inputs);
    border-radius: 4px;
    width: 22px;
    height: 22px;
    line-height: 20px;
}

.trr-legend[b-bjppg09vh2] {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 6px 0;
    font-size: .72rem;
    font-variant-numeric: tabular-nums;
}

.trr-grad[b-bjppg09vh2] {
    display: inline-block;
    width: 120px;
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(to right,
        color-mix(in srgb, var(--mud-palette-primary) 8%, var(--mud-palette-surface)),
        var(--mud-palette-primary));
}

.trr-legend-note[b-bjppg09vh2] { margin-left: auto; color: var(--mud-palette-text-secondary); }

/* ── rail ────────────────────────────────────────────────────────────── */

.trr-share-row[b-bjppg09vh2] {
    display: grid;
    grid-template-columns: 108px 1fr 44px;
    align-items: center;
    gap: 10px;
    padding: 5px 16px;
    font-size: .78rem;
}

.trr-share-name[b-bjppg09vh2] { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--mud-palette-text-primary); }
.trr-share-pct[b-bjppg09vh2] { text-align: right; font-variant-numeric: tabular-nums; color: var(--mud-palette-text-secondary); }

.trr-rail-foot[b-bjppg09vh2] { padding: 7px 16px 10px; font-size: .72rem; color: var(--mud-palette-text-secondary); }

.trr-mover[b-bjppg09vh2] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 5px 16px;
    font-size: .78rem;
}

    .trr-mover .trr-share-name[b-bjppg09vh2] { flex: 1; }

.trr-mover-amt[b-bjppg09vh2] { font-variant-numeric: tabular-nums; color: var(--mud-palette-text-secondary); }

.trr-rail section:last-child[b-bjppg09vh2] { padding-bottom: 6px; }

/* ── deltas: color plus glyph, never color alone ─────────────────────── */

.trr-delta[b-bjppg09vh2] { font-variant-numeric: tabular-nums; white-space: nowrap; font-size: .78rem; }
.trr-delta.up[b-bjppg09vh2] { color: var(--mud-palette-success); }
.trr-delta.dn[b-bjppg09vh2] { color: var(--mud-palette-error); }
.trr-delta.na[b-bjppg09vh2] { color: var(--mud-palette-text-secondary); }

/* ── drill table ─────────────────────────────────────────────────────── */

.trr-tablecard[b-bjppg09vh2] { margin-bottom: 16px; }

.trr-tablewrap[b-bjppg09vh2] { max-height: 640px; overflow: auto; }

.trr-tree[b-bjppg09vh2] { width: 100%; border-collapse: separate; border-spacing: 0; font-size: .82rem; }

    .trr-tree thead th[b-bjppg09vh2] {
        position: sticky;
        top: 0;
        z-index: 5;
        background: var(--mud-palette-surface);
        font-size: .66rem;
        text-transform: uppercase;
        letter-spacing: .07em;
        font-weight: 600;
        color: var(--mud-palette-text-secondary);
        text-align: left;
        padding: 8px 14px;
        border-bottom: 1px solid var(--mud-palette-divider);
        white-space: nowrap;
    }

    .trr-tree th.num[b-bjppg09vh2], .trr-tree td.num[b-bjppg09vh2] { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }

    .trr-tree tbody td[b-bjppg09vh2] {
        padding: 5px 14px;
        border-bottom: 1px solid var(--mud-palette-lines-default);
        vertical-align: middle;
    }

    .trr-tree tbody tr:hover td[b-bjppg09vh2] { background: var(--mud-palette-table-hover); }

    .trr-tree tbody tr.trr-exp[b-bjppg09vh2] { cursor: pointer; }

    /* Depth does the talking: top rows read bold, parts read quiet. */
    .trr-tree tr.trr-d0 td[b-bjppg09vh2] { font-weight: 600; font-size: .85rem; }
    .trr-tree tr.trr-d3 td[b-bjppg09vh2], .trr-tree tr.trr-d4 td[b-bjppg09vh2] { color: var(--mud-palette-text-secondary); }
    .trr-tree tr.trr-more td[b-bjppg09vh2] { font-style: italic; color: var(--mud-palette-text-secondary); }

    .trr-tree tfoot td[b-bjppg09vh2] {
        position: sticky;
        bottom: 0;
        background: var(--mud-palette-surface);
        border-top: 2px solid var(--mud-palette-primary);
        font-weight: 700;
        padding: 8px 14px;
        z-index: 5;
    }

.trr-name[b-bjppg09vh2] {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding-left: calc(var(--ind, 0) * 22px);
    max-width: 100%;
}

.trr-chev[b-bjppg09vh2] {
    font: inherit;
    font-size: .55rem;
    color: var(--mud-palette-text-secondary);
    background: none;
    border: none;
    border-radius: 4px;
    width: 18px;
    height: 18px;
    flex: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform .12s ease;
}

    .trr-chev.open[b-bjppg09vh2] { transform: rotate(90deg); }

    .trr-chev:hover[b-bjppg09vh2] { color: var(--mud-palette-primary); background: color-mix(in srgb, var(--mud-palette-primary) 12%, transparent); }

.trr-chev-space[b-bjppg09vh2] { width: 18px; flex: none; }

.trr-pn[b-bjppg09vh2] { font-weight: 600; font-variant-numeric: tabular-nums; color: var(--mud-palette-text-primary); }

.trr-prod[b-bjppg09vh2] {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 380px;
}

.trr-bu[b-bjppg09vh2] {
    font-size: .6rem;
    font-weight: 600;
    letter-spacing: .05em;
    color: var(--mud-palette-text-secondary);
    border: 1px solid var(--mud-palette-lines-inputs);
    border-radius: 4px;
    padding: 0 5px;
    flex: none;
}

.trr-prior[b-bjppg09vh2] { color: var(--mud-palette-text-secondary); }

.trr-sharecell[b-bjppg09vh2] { white-space: nowrap; }

.trr-datanotes[b-bjppg09vh2] {
    padding: 8px 16px;
    border-top: 1px solid var(--mud-palette-lines-default);
    font-size: .72rem;
    color: var(--mud-palette-text-secondary);
}

/* ── loading / empty / error states ──────────────────────────────────── */

.trr-state[b-bjppg09vh2] { padding: 28px 24px; text-align: center; color: var(--mud-palette-text-secondary); margin-bottom: 16px; }

.trr-skel-hero[b-bjppg09vh2], .trr-skel-rail[b-bjppg09vh2] { padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }

.trr-shimmer[b-bjppg09vh2] {
    height: 14px;
    border-radius: 4px;
    background: linear-gradient(90deg,
        var(--mud-palette-lines-default) 25%,
        color-mix(in srgb, var(--mud-palette-lines-default) 40%, var(--mud-palette-surface)) 50%,
        var(--mud-palette-lines-default) 75%);
    background-size: 200% 100%;
    animation: trr-shimmer-b-bjppg09vh2 1.4s infinite linear;
}

    .trr-shimmer.big[b-bjppg09vh2] { height: 40px; }
    .trr-shimmer.map[b-bjppg09vh2] { height: 320px; }
    .trr-shimmer.w30[b-bjppg09vh2] { width: 30%; }
    .trr-shimmer.w40[b-bjppg09vh2] { width: 40%; }
    .trr-shimmer.w60[b-bjppg09vh2] { width: 60%; }
    .trr-shimmer.w70[b-bjppg09vh2] { width: 70%; }
    .trr-shimmer.w80[b-bjppg09vh2] { width: 80%; }

@keyframes trr-shimmer-b-bjppg09vh2 {
    to { background-position: -200% 0; }
}

/* ── responsive ──────────────────────────────────────────────────────── */

@media (max-width: 1200px) {
    .trr-layout[b-bjppg09vh2] { grid-template-columns: 1fr; }
    .trr-rail[b-bjppg09vh2] { flex-direction: row; }
    .trr-rail > section[b-bjppg09vh2] { flex: 1; }
}

@media (max-width: 860px) {
    .trr-hero[b-bjppg09vh2] { grid-template-columns: 1fr; }
    .trr-map[b-bjppg09vh2] { height: 300px; }
    .trr-rail[b-bjppg09vh2] { flex-direction: column; }
    .trr-prod[b-bjppg09vh2] { max-width: 160px; }
}

@media (prefers-reduced-motion: reduce) {
    .trr-shimmer[b-bjppg09vh2] { animation: none; }
    .trr-chev[b-bjppg09vh2] { transition: none; }
}

/* ── this period vs the same period last year (rochem-tasks#261) ──────── */

.trr-compare[b-bjppg09vh2] {
    display: flex;
    gap: 1.75rem;
    margin: 0.5rem 0 0.25rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--mud-palette-divider);
    flex-wrap: wrap;
}

.trr-cmp-cell[b-bjppg09vh2] {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    min-width: 5.5rem;
}

.trr-cmp-lbl[b-bjppg09vh2] {
    font-size: 0.72rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary);
}

.trr-cmp-cell b[b-bjppg09vh2] { font-size: 1.05rem; font-variant-numeric: tabular-nums; }

/* ── custom date parameters ───────────────────────────────────────────── */

.trr-dates[b-bjppg09vh2] { display: inline-flex; gap: 0.5rem; align-items: center; }
.trr-dp[b-bjppg09vh2] { max-width: 9.5rem; }

/* ── print / save as PDF (rochem-tasks#261) ───────────────────────────────
   The app chrome is already dropped by the @media print block in app.css.
   This decides what THIS page puts on the paper: the total, the comparison,
   the blocs, the map, and the geography table. The controls do not print —
   a filter chip means nothing once it is on paper, and the caption under the
   total already says which period the reader is holding. */

@media print {
    .trr-controls[b-bjppg09vh2],
    .trr-warnchip[b-bjppg09vh2],
    .trr-legend-note[b-bjppg09vh2],
    .trr-foot-hint[b-bjppg09vh2],
    .trr-card-h .trr-hint[b-bjppg09vh2] {
        display: none !important;
    }

    /* Shaded countries and the bloc bars ARE the graphic — browsers drop
       background colour on paper unless told not to. */
    .trr-map[b-bjppg09vh2],
    .trr-map *[b-bjppg09vh2],
    .trr-bar[b-bjppg09vh2],
    .trr-bar i[b-bjppg09vh2],
    .trr-grad[b-bjppg09vh2] {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    /* Side by side on screen, stacked on paper — a rail squeezed into a
       margin is unreadable at print width. */
    .trr-layout[b-bjppg09vh2] { display: block; }
    .trr-hero[b-bjppg09vh2] { grid-template-columns: 1fr; }
    .trr-rail[b-bjppg09vh2] { display: block; margin-top: 0.75rem; }

    .trr-card[b-bjppg09vh2] {
        border: 1px solid #999;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .trr-map[b-bjppg09vh2] { height: 340px; }

    /* The table is the detail; let it flow, but never orphan a header row. */
    .trr-tablewrap[b-bjppg09vh2] { overflow: visible !important; max-height: none !important; }
    .trr-tree thead[b-bjppg09vh2] { display: table-header-group; }
    .trr-tree tr[b-bjppg09vh2] { break-inside: avoid; page-break-inside: avoid; }

    .trr-tablecard[b-bjppg09vh2] { break-before: page; page-break-before: always; }
}
/* /Pages/Analytics/SalesTrends.razor.rz.scp.css */
.sales-trends-workspace[b-vgsbyd2dm0] {
    display: block;
    width: 100%;
    height: calc(100dvh - 92px);
    min-height: 480px;
    border: 0;
}
/* /Pages/BusinessUnits/BuCockpit.razor.rz.scp.css */
/* rochem-tasks#1315 -- BU Cockpit.

   ONE LINE PER ROW, AND NO FIGURE IS EVER CUT. Every cell is nowrap. The figures and the short
   columns (Rep, BU) size to their content. The customer and product NAMES share whatever width is
   left; a name longer than that ends in "..." and the full name is in its title (hover) -- JJ's
   rule for the long text columns, the same one the Shipping Tool follows (rochem-tasks#1341). The
   shared no-cutoff guard (rochem-tasks#1181) would otherwise un-cut those names and wrap the row,
   so the name rule below is written to outrank it, for the names only. */

.buc-bar[b-nb0b15sbcb] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
}
.buc-bar[b-nb0b15sbcb]  .buc-ctl { flex: 0 0 auto; margin: 0; }
.buc-bar[b-nb0b15sbcb]  .buc-ctl-unit { width: 150px; }
.buc-bar[b-nb0b15sbcb]  .buc-ctl-month { width: 160px; }
.buc-bar[b-nb0b15sbcb]  .buc-ctl-search { width: 260px; }
.buc-unit-fixed[b-nb0b15sbcb] {
    font-weight: 600;
    padding: 0 6px;
    color: var(--rcm-accent, var(--mud-palette-primary));
}

.buc-meta[b-nb0b15sbcb] {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 14px;
    font-size: 11px;
    color: var(--mud-palette-text-secondary);
    margin: 2px 0 4px;
}
.buc-meta strong[b-nb0b15sbcb] { color: var(--mud-palette-text-primary); }
.buc-warn[b-nb0b15sbcb] { color: var(--mud-palette-warning-darken, var(--mud-palette-warning)); }

.buc-scroll[b-nb0b15sbcb] {
    overflow: auto;
    /* Ends above the floating feedback button, which otherwise sits on the TOTAL row's last
       figure (Prior YTD margin %) at 1366 and at 1920. */
    max-height: calc(100vh - 250px);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 8px;
    background: var(--mud-palette-surface);
}

.buc-table[b-nb0b15sbcb] {
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    font-size: 11px;
    font-variant-numeric: tabular-nums lining-nums;
}
.buc-table th[b-nb0b15sbcb],
.buc-table td[b-nb0b15sbcb] {
    white-space: nowrap;
    padding: 2px 3px;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    text-align: left;
}
/* The name columns take the width the figures leave (max-width 0 + a share), never more. */
.buc-table th.buc-name[b-nb0b15sbcb],
.buc-table td.buc-name[b-nb0b15sbcb] {
    width: 50%;
    max-width: 0;
    min-width: 5rem;
}
/* Doubled class so it outranks the shared guard's .g1-full un-cut (see the note at the top). */
.buc-table .buc-trunc.buc-trunc[b-nb0b15sbcb] {
    display: block;
    max-width: 100% !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}
.buc-table .num[b-nb0b15sbcb] { text-align: right; }

/* The two header rows stay put while the rows scroll under them. */
.buc-table thead th[b-nb0b15sbcb] {
    position: sticky;
    background: var(--mud-palette-surface);
    z-index: 2;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary);
}
.buc-table thead tr.buc-band-row th[b-nb0b15sbcb] { top: 0; height: 20px; }
.buc-table thead tr.buc-head-row th[b-nb0b15sbcb] { top: 21px; }
/* A figure's header may take two lines ("Qty / (kg)") so the header is never what widens a column. */
.buc-table thead tr.buc-head-row th.num[b-nb0b15sbcb] { white-space: normal; overflow-wrap: normal; vertical-align: bottom; }

/* The period bands: one tint each, so a figure's period is readable from the column alone. */
.buc-band[b-nb0b15sbcb] {
    text-align: center !important;
    color: var(--mud-palette-text-primary) !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-size: 11.5px !important;
    border-left: 2px solid var(--mud-palette-lines-default);
}
.buc-band-month[b-nb0b15sbcb] { background: color-mix(in srgb, var(--rcm-accent, var(--mud-palette-primary)) 16%, var(--mud-palette-surface)) !important; }
.buc-band-ytd[b-nb0b15sbcb]   { background: color-mix(in srgb, var(--mud-palette-info) 14%, var(--mud-palette-surface)) !important; }
.buc-band-prior[b-nb0b15sbcb] { background: color-mix(in srgb, var(--mud-palette-text-disabled) 14%, var(--mud-palette-surface)) !important; }

/* A thin rule where each period block starts. */
.buc-table .buc-block-start[b-nb0b15sbcb] { border-left: 2px solid var(--mud-palette-lines-default); }

.buc-sortable[b-nb0b15sbcb] { cursor: pointer; user-select: none; }
.buc-sortable:hover[b-nb0b15sbcb] { color: var(--mud-palette-text-primary); }
.buc-sort[b-nb0b15sbcb] { margin-left: 3px; font-size: 9px; color: var(--rcm-accent, var(--mud-palette-primary)); }

.buc-table tbody tr:nth-child(even) td[b-nb0b15sbcb] { background: color-mix(in srgb, var(--mud-palette-text-primary) 3%, transparent); }
.buc-table tbody tr:hover td[b-nb0b15sbcb] { background: var(--mud-palette-table-hover); }
.buc-neg[b-nb0b15sbcb] { color: var(--mud-palette-error); }
.buc-empty[b-nb0b15sbcb] { text-align: center !important; padding: 16px !important; color: var(--mud-palette-text-secondary); }

/* TOTAL sits at the foot of the box, always in view. */
.buc-table tfoot td[b-nb0b15sbcb] {
    position: sticky;
    bottom: 0;
    z-index: 1;
    font-weight: 700;
    background: color-mix(in srgb, var(--rcm-accent, var(--mud-palette-primary)) 10%, var(--mud-palette-surface));
    border-top: 2px solid var(--mud-palette-lines-default);
}
/* /Pages/BusinessUnits/PlanActual.razor.rz.scp.css */
/* ── Phone (≤600px): the Plan-vs-Actual statement is a dense 9-column bespoke table
   (Plan / Invoiced Planned / Open / Invoiced Not Planned / Variance). The MudSimpleTable
   already scrolls horizontally inside its own container (mud-table-container), so the page
   itself won't overflow — but the tightly-packed cells are hard to read and tap on a phone.
   Give the authored header/body cells a touch more padding. Desktop (≥601px) is untouched.
   Single @media here because this is a scoped .razor.css (not a Razor <style> block). */
@media (max-width: 600px) {
    th[b-6is8r492dt], td[b-6is8r492dt] { padding: 6px 10px !important; }
}

/* rochem-tasks#1217 follow-up: when the Plan/Stretch toggle is on Stretch, the Grand Total card
   and the Plan/Stretch column tint in the theme's warning colour -- the same one the header chip
   already uses (Color.Warning) -- so the mode is visible at a glance, not just in a small chip.
   .rcm-kpi-card already renders its border-left + soft fill from --_acc; swapping just that
   variable reuses the existing mechanism instead of a second one. */
.rcm-kpi-card.rcm-kpi-card--stretch[b-6is8r492dt] { --_acc: var(--mud-palette-warning); }

.rcm-stretch-col[b-6is8r492dt] {
    background: color-mix(in srgb, var(--mud-palette-warning) 12%, transparent);
}
/* /Pages/Logistics/BillOfLadingDialog.razor.rz.scp.css */
.bol-lines-editor[b-hotm4ohr28] {
    min-width: 0;
    width: 100%;
}

.bol-lines-editor[b-hotm4ohr28]  table {
    table-layout: fixed;
    width: 100%;
}

.bol-lines-editor[b-hotm4ohr28]  th,
.bol-lines-editor[b-hotm4ohr28]  td {
    padding: 4px;
    white-space: normal;
    overflow-wrap: anywhere;
}

.bol-lines-editor[b-hotm4ohr28]  th:nth-child(1) { width: 7%; }
.bol-lines-editor[b-hotm4ohr28]  th:nth-child(2) { width: 10%; }
.bol-lines-editor[b-hotm4ohr28]  th:nth-child(3) { width: 23%; }
.bol-lines-editor[b-hotm4ohr28]  th:nth-child(4) { width: 10%; }
.bol-lines-editor[b-hotm4ohr28]  th:nth-child(5) { width: 7%; }
.bol-lines-editor[b-hotm4ohr28]  th:nth-child(6) { width: 6%; }
.bol-lines-editor[b-hotm4ohr28]  th:nth-child(7) { width: 10%; }
.bol-lines-editor[b-hotm4ohr28]  th:nth-child(8) { width: 6%; }
.bol-lines-editor[b-hotm4ohr28]  th:nth-child(9) { width: 13%; }
.bol-lines-editor[b-hotm4ohr28]  th:nth-child(10) { width: 8%; }

.bol-lines-editor[b-hotm4ohr28]  .mud-input-control,
.bol-lines-editor[b-hotm4ohr28]  .mud-input {
    min-width: 0;
    width: 100%;
}

.bol-lines-editor[b-hotm4ohr28]  input {
    min-width: 0;
    font-size: 0.8125rem;
}

@media (max-width: 700px) {
    .bol-lines-editor[b-hotm4ohr28]  thead { display: none; }
    .bol-lines-editor[b-hotm4ohr28]  table,
    .bol-lines-editor[b-hotm4ohr28]  tbody { display: block; }
    .bol-lines-editor[b-hotm4ohr28]  tbody tr {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        border-bottom: 1px solid var(--mud-palette-lines-default);
        padding-bottom: 8px;
        margin-bottom: 8px;
    }
    .bol-lines-editor[b-hotm4ohr28]  td { min-width: 0; }
    .bol-lines-editor[b-hotm4ohr28]  td:nth-child(3) { grid-column: 1 / -1; }
    .bol-lines-editor[b-hotm4ohr28]  td::before {
        content: attr(data-label);
        display: block;
        font-size: 0.75rem;
        font-weight: 600;
    }
}
/* /Pages/Logistics/BrokerSheetDialog.razor.rz.scp.css */
/* rochem-tasks#1629 -- the sheet preview, laid out like the printed form. */
.broker-preview[b-cvpqgk1d2i] { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: .85rem; }
.broker-preview th[b-cvpqgk1d2i], .broker-preview td[b-cvpqgk1d2i] { border: 1px solid var(--mud-palette-lines-default); padding: 4px 8px; vertical-align: top; text-align: left; }
.broker-preview th[b-cvpqgk1d2i] { width: 42%; font-weight: 600; }
.broker-preview tr.band th[b-cvpqgk1d2i], .broker-preview tr.band td[b-cvpqgk1d2i] { background: var(--mud-palette-action-disabled-background); }
/* /Pages/Logistics/ComboShareChoice.razor.rz.scp.css */
/* rochem-tasks#1560 -- "Goes on [212988 | 212989 | All 4]" reads as one sentence, so the words are the
   same weight as the buttons beside them (JJ: grey was easy to miss). */
.csc[b-qegnu999qy] {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.csc-lbl[b-qegnu999qy] {
    font-size: 13px;
    font-weight: 500;
    color: var(--mud-palette-text-primary);
    white-space: nowrap;
}

/* rochem-tasks#1780 -- a file WBI could not place holds the upload until someone picks. */
.csc-ask[b-qegnu999qy] {
    color: var(--mud-palette-warning-darken);
    font-weight: 700;
}

/* One button per order, any number on. Wraps on a combo of eight or nine rather than pushing the row
   sideways. */
.csc-btns[b-qegnu999qy] {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0;
}

.csc-btn[b-qegnu999qy] {
    font: inherit;
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    padding: 5px 8px;
    border: 1px solid var(--mud-palette-primary);
    margin-left: -1px;
    background: transparent;
    color: var(--mud-palette-primary);
    cursor: pointer;
    white-space: nowrap;
}

.csc-btn:first-child[b-qegnu999qy] {
    margin-left: 0;
    border-radius: 4px 0 0 4px;
}

.csc-btn:last-child[b-qegnu999qy] {
    border-radius: 0 4px 4px 0;
}

.csc-btn:hover[b-qegnu999qy] {
    background: var(--mud-palette-primary-hover);
}

.csc-btn.csc-on[b-qegnu999qy] {
    background: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
}

.csc-btn.csc-all[b-qegnu999qy] {
    margin-left: 0;
    border-radius: 4px;
}
/* /Pages/Logistics/OpenOrderReport.razor.rz.scp.css */
/* #1969: reclaim space without shrinking type, dropping fields or clipping values.
   The wrapper scopes these rules to Logistics; other ReportView pages are unaffected. */
@media screen {
    .oor-report[b-f63qzml4pe]  .rv-page {
        --rpt-row-h: 26px;
        --rpt-cell-pad-y: 2px;
        --rpt-cell-pad-x: 4px;
    }

    .oor-report[b-f63qzml4pe]  .rv-filters {
        padding: 2px 4px;
        gap: 4px 8px;
        border-radius: 4px;
    }

    .oor-report[b-f63qzml4pe]  .rv-headline .rv-title { font-size: 16px; font-weight: 600; }
    .oor-report[b-f63qzml4pe]  .rv-kpi .rv-kpi-label,
    .oor-report[b-f63qzml4pe]  .rv-kpi .rv-kpi-sub,
    .oor-report[b-f63qzml4pe]  .rv-filter-label { color: var(--rpt-text); }
    .oor-report[b-f63qzml4pe]  .rv-kpi .rv-kpi-value { font-weight: 600; }

    /* Let native choices size to their longest label; every RTS/Samples/Blanket option
       remains readable. Selected customer names and custom dates may still grow. */
    .oor-report[b-f63qzml4pe]  .rv-filter-item { gap: 4px; }
    .oor-report[b-f63qzml4pe]  .rv-filter-label { font-weight: 600; margin-right: 0; }
    .oor-report[b-f63qzml4pe]  .rv-filter-item .rv-multi > summary {
        min-width: 88px;
        max-width: none;
        font-size: 13px;
        border-radius: 4px;
        white-space: normal;
        text-overflow: clip;
    }
    .oor-report[b-f63qzml4pe]  .rv-filter-item[data-filter="Due"] .rv-multi > summary { min-width: 76px; }
    .oor-report[b-f63qzml4pe]  .rv-filter-item > select { width: auto; min-width: 0; border-radius: 4px; }

    .oor-report[b-f63qzml4pe]  .rv-table thead th {
        font-size: 13px;
        font-weight: 600;
        background: color-mix(in srgb, var(--rpt-text) 6%, var(--rpt-surface));
        padding-top: 5px;
        padding-bottom: 5px;
    }
    .oor-report[b-f63qzml4pe]  .rv-table tr.rv-data td {
        font-weight: 500;
        line-height: 1.25;
        color: var(--rpt-text);
    }
    .oor-report[b-f63qzml4pe]  .rv-table tr.rv-data.rv-odd td {
        background: color-mix(in srgb, var(--rpt-text) 2%, var(--rpt-surface));
    }
    .oor-report[b-f63qzml4pe]  .rv-table tr.rv-data:hover td {
        background: color-mix(in srgb, var(--rpt-module) 10%, var(--rpt-surface));
    }
    /* The Sales Order button already identifies the detail action. Remove the duplicate
       decorative arrow and its 22px indent; the entire row remains clickable. */
    .oor-report[b-f63qzml4pe]  .rv-data.rv-expandable > td:first-child { padding-left: var(--rpt-cell-pad-x); }
    .oor-report[b-f63qzml4pe]  .rv-data.rv-expandable > td:first-child::before { content: none; }
}
/* /Pages/Logistics/OutboundFreightRates.razor.rz.scp.css */
/* #1349: give text room to wrap without a percentage colgroup inflating the table.
   Keep dates, identifiers and amounts intact; preserve horizontal scrolling if their
   intrinsic widths exceed a small screen. All selectors stay inside this report. */
.report-screen-fit[b-gnp3sipnmr]  .rv-table td.rv-wrap { min-width: 0; max-width: none; }
.report-screen-fit[b-gnp3sipnmr]  .rv-table td,
.report-screen-fit[b-gnp3sipnmr]  .rv-table th { padding-left: 3px; padding-right: 3px; }

/* Keep the shared 13px report text while reducing spacing on laptop screens. */
@media (max-width: 1500px) {
    .report-screen-fit[b-gnp3sipnmr]  .rv-table td,
    .report-screen-fit[b-gnp3sipnmr]  .rv-table th { padding-left: 1px; padding-right: 1px; }
    /* Right-aligned amounts must remain distinct from the product/unit beside them. */
    .report-screen-fit[b-gnp3sipnmr]  .rv-table td.num,
    .report-screen-fit[b-gnp3sipnmr]  .rv-table th.num {
        border-right: 1px solid var(--mud-palette-lines-default);
    }
}
/* /Pages/Logistics/PosNotYetShipped.razor.rz.scp.css */
/* #1349: give text room to wrap without a percentage colgroup inflating the table.
   Keep dates, identifiers and amounts intact; preserve horizontal scrolling if their
   intrinsic widths exceed a small screen. All selectors stay inside this report. */
.report-screen-fit[b-p2ww9wxvj7]  .rv-table td.rv-wrap { min-width: 0; max-width: none; }
.report-screen-fit[b-p2ww9wxvj7]  .rv-table td,
.report-screen-fit[b-p2ww9wxvj7]  .rv-table th { padding-left: 3px; padding-right: 3px; }
/* /Pages/Logistics/Reports/RfSummary.razor.rz.scp.css */
/* Products, Suppliers & Customers — the Robyn one-pager (rochem-tasks 248).
   Every color is a MudBlazor palette token, so dark mode is the same stylesheet.
   One saturated element per block: the green share bars. Everything with a missing
   country sits in amber at the block's foot — named, never folded into Other. */

/* ── controls ────────────────────────────────────────────────────────── */

.rfs-controls[b-7ue59zk6ha] {
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-divider);
    border-radius: 8px;
    padding: 8px 14px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.rfs-lbl[b-7ue59zk6ha] {
    font-size: .66rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
}

.rfs-seg[b-7ue59zk6ha] {
    display: inline-flex;
    border: 1px solid var(--mud-palette-lines-inputs);
    border-radius: 6px;
    overflow: hidden;
}

    .rfs-seg button[b-7ue59zk6ha] {
        font: inherit;
        font-size: .8rem;
        color: var(--mud-palette-text-secondary);
        background: none;
        border: none;
        border-right: 1px solid var(--mud-palette-lines-default);
        padding: 4px 12px;
        cursor: pointer;
    }

        .rfs-seg button:last-child[b-7ue59zk6ha] { border-right: none; }

        .rfs-seg button.on[b-7ue59zk6ha] {
            background: color-mix(in srgb, var(--mud-palette-primary) 12%, transparent);
            color: var(--mud-palette-primary);
            font-weight: 600;
        }

.rfs-dates[b-7ue59zk6ha] { display: inline-flex; gap: .5rem; align-items: center; }
.rfs-dp[b-7ue59zk6ha] { max-width: 9.5rem; }

.rfs-caption[b-7ue59zk6ha] {
    margin-left: auto;
    font-size: .8rem;
    color: var(--mud-palette-text-secondary);
    font-variant-numeric: tabular-nums;
}

.rfs-seg button:focus-visible[b-7ue59zk6ha], .rfs-more:focus-visible[b-7ue59zk6ha] {
    outline: 2px solid var(--mud-palette-primary);
    outline-offset: 1px;
}

/* ── the sheet: four blocks, two by two ──────────────────────────────── */

.rfs-sheet[b-7ue59zk6ha] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: start;
}

.rfs-block[b-7ue59zk6ha] {
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-divider);
    border-radius: 8px;
    padding: 16px 20px 14px;
    min-width: 0;
}

.rfs-kicker[b-7ue59zk6ha] {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
}

.rfs-head[b-7ue59zk6ha] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
    margin: 2px 0 10px;
}

.rfs-big[b-7ue59zk6ha] {
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.rfs-unit[b-7ue59zk6ha] { font-size: 1rem; font-weight: 600; color: var(--mud-palette-text-secondary); }

.rfs-sub[b-7ue59zk6ha] { font-size: .82rem; color: var(--mud-palette-text-secondary); }

/* ── ranked rows: name, share bar, money, count ──────────────────────── */

.rfs-cols[b-7ue59zk6ha],
.rfs-row[b-7ue59zk6ha] {
    display: grid;
    grid-template-columns: minmax(6.5rem, 10rem) 1fr 4.5rem 4.5rem;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.rfs-cols[b-7ue59zk6ha] {
    padding: 6px 0 5px;
    border-top: 1px solid var(--mud-palette-divider);
    border-bottom: 1px solid var(--mud-palette-lines-default);
    font-size: .64rem;
    text-transform: uppercase;
    letter-spacing: .07em;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
}

.rfs-row[b-7ue59zk6ha] {
    padding: 5px 0;
    font-size: .82rem;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

    .rfs-row:last-of-type[b-7ue59zk6ha] { border-bottom: none; }

.rfs-name[b-7ue59zk6ha] {
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.num[b-7ue59zk6ha] { text-align: right; font-variant-numeric: tabular-nums; }

.rfs-count[b-7ue59zk6ha] { color: var(--mud-palette-text-secondary); }

.rfs-bar[b-7ue59zk6ha] {
    display: block;
    height: 8px;
    background: var(--mud-palette-lines-default);
    border-radius: 4px;
    overflow: hidden;
    min-width: 0;
}

    .rfs-bar i[b-7ue59zk6ha] {
        display: block;
        height: 100%;
        background: var(--mud-palette-primary);
        border-radius: 4px 3px 3px 4px;
    }

/* ── the long tail: folded on screen, always on paper ────────────────── */

.rfs-row.rfs-tail[b-7ue59zk6ha] { display: none; }

    .rfs-row.rfs-tail.open[b-7ue59zk6ha] { display: grid; }

.rfs-more[b-7ue59zk6ha] {
    font: inherit;
    font-size: .78rem;
    color: var(--mud-palette-primary);
    background: none;
    border: 1px solid var(--mud-palette-lines-inputs);
    border-radius: 14px;
    padding: 3px 12px;
    margin-top: 8px;
    cursor: pointer;
}

    .rfs-more:hover[b-7ue59zk6ha] { border-color: var(--mud-palette-primary); }

/* ── #1992: a country opens into its states; the EU subtotal ─────────── */

.rfs-expand[b-7ue59zk6ha] {
    font: inherit;
    font-weight: 500;
    text-align: left;
    color: var(--mud-palette-primary);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    min-height: 28px;
}

    .rfs-expand:hover[b-7ue59zk6ha] { text-decoration: underline; }

    .rfs-expand:focus-visible[b-7ue59zk6ha] { outline: 2px solid var(--mud-palette-primary); outline-offset: 2px; }

.rfs-row.rfs-staterow[b-7ue59zk6ha] { font-size: .78rem; background: var(--mud-palette-background-grey); }

    .rfs-row.rfs-staterow .rfs-name[b-7ue59zk6ha] { padding-left: 1.4rem; font-weight: 400; }

    .rfs-row.rfs-staterow .rfs-bar i[b-7ue59zk6ha] { opacity: .6; }

    /* rochem-tasks#2087: an order under a state, or under a country without states. Its own
       columns -- customer and PO need the width the name column cannot give, and a share bar
       per order says nothing. */
.rfs-row.rfs-orderrow[b-7ue59zk6ha] {
    grid-template-columns: minmax(0, 1fr) auto 4.5rem 4.5rem;
    font-size: .74rem;
    background: var(--mud-palette-background-grey);
}

    .rfs-row.rfs-orderrow .rfs-name[b-7ue59zk6ha] { padding-left: 2.6rem; font-weight: 400; }

    .rfs-row.rfs-orderrow.rfs-orderrow-cty .rfs-name[b-7ue59zk6ha] { padding-left: 1.4rem; }

    /* rochem-tasks#2087: the customer figures and the amber lines open what is under them. */
.rfs-stat-btn[b-7ue59zk6ha] {
    font: inherit;
    text-align: left;
    color: inherit;
    cursor: pointer;
    background: none;
    border-style: solid;
    border-width: 1px;
    border-color: transparent transparent var(--mud-palette-lines-default);
    border-radius: 6px;
    padding: 5px 4px;
}

    .rfs-stat-btn:hover[b-7ue59zk6ha], .rfs-stat-btn.on[b-7ue59zk6ha] { border-color: var(--mud-palette-primary); }

    .rfs-stat-btn b[b-7ue59zk6ha] { color: var(--mud-palette-primary); }

    /* The app's global button rule is display:flex + justify-content:center, which centred these
       (and #1992's state toggles) no matter what text-align said. They read as text, so: left. */
.rfs-expand[b-7ue59zk6ha], .rfs-stat-btn[b-7ue59zk6ha], .rfs-amber-btn[b-7ue59zk6ha] { justify-content: flex-start; }

    .rfs-stat-btn:focus-visible[b-7ue59zk6ha], .rfs-amber-btn:focus-visible[b-7ue59zk6ha] { outline: 2px solid var(--mud-palette-primary); outline-offset: 2px; }

.rfs-amber-btn[b-7ue59zk6ha] {
    font: inherit;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.rfs-custlist[b-7ue59zk6ha] { margin-top: 8px; max-height: 28rem; overflow-y: auto; }

    .rfs-custlist .rfs-cols[b-7ue59zk6ha] {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto 4.5rem 4.5rem;
        gap: 10px;
    }

    .rfs-orderlink[b-7ue59zk6ha] { color: var(--mud-palette-primary); text-decoration: none; }

    .rfs-orderlink:hover[b-7ue59zk6ha] { text-decoration: underline; }

    .rfs-po[b-7ue59zk6ha] { color: var(--mud-palette-text-secondary); margin-left: 6px; }

    .rfs-odate[b-7ue59zk6ha] { color: var(--mud-palette-text-secondary); font-variant-numeric: tabular-nums; white-space: nowrap; }

    /* "No state recorded": the house amber, same as a missing country. */
    .rfs-row.rfs-staterow.rfs-nostate[b-7ue59zk6ha] {
        color: var(--mud-palette-warning);
        background: color-mix(in srgb, var(--mud-palette-warning) 10%, transparent);
    }

.rfs-row.rfs-subtotal[b-7ue59zk6ha] {
    margin-top: 8px;
    border-top: 1px solid var(--mud-palette-divider);
    border-bottom: none;
    font-weight: 600;
}

/* ── customers: labelled figures, not a ranking ──────────────────────── */

.rfs-stats[b-7ue59zk6ha] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 16px;
    border-top: 1px solid var(--mud-palette-divider);
    padding-top: 8px;
}

.rfs-stat[b-7ue59zk6ha] {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 5px 0;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    font-size: .82rem;
    min-width: 0;
}

    .rfs-stat b[b-7ue59zk6ha] {
        font-size: 1.05rem;
        font-variant-numeric: tabular-nums;
        min-width: 2.4rem;
        text-align: right;
    }

    .rfs-stat span[b-7ue59zk6ha] { color: var(--mud-palette-text-secondary); }

/* ── vendor counts with no purchase value ────────────────────────────── */

.rfs-also[b-7ue59zk6ha] {
    margin-top: 8px;
    font-size: .78rem;
    color: var(--mud-palette-text-secondary);
    display: flex;
    align-items: baseline;
    gap: 10px;
    flex-wrap: wrap;
}

.rfs-also-item[b-7ue59zk6ha] { white-space: nowrap; }

    .rfs-also-item b[b-7ue59zk6ha] { font-variant-numeric: tabular-nums; color: var(--mud-palette-text-primary); }

/* ── the amber set-aside: a missing country, said out loud ───────────── */

.rfs-amber[b-7ue59zk6ha] {
    margin-top: 10px;
    font-size: .78rem;
    font-weight: 500;
    color: var(--mud-palette-warning);
    background: color-mix(in srgb, var(--mud-palette-warning) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--mud-palette-warning) 40%, transparent);
    border-radius: 6px;
    padding: 6px 11px;
}

/* ── states & skeleton ───────────────────────────────────────────────── */

.rfs-state[b-7ue59zk6ha] {
    padding: 28px 20px;
    text-align: center;
    color: var(--mud-palette-text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.rfs-skel[b-7ue59zk6ha] { display: flex; flex-direction: column; gap: 12px; min-height: 220px; }

.rfs-shimmer[b-7ue59zk6ha] {
    height: 14px;
    border-radius: 4px;
    background: linear-gradient(90deg,
        var(--mud-palette-lines-default) 25%,
        color-mix(in srgb, var(--mud-palette-lines-default) 40%, var(--mud-palette-surface)) 50%,
        var(--mud-palette-lines-default) 75%);
    background-size: 200% 100%;
    animation: rfs-shimmer-b-7ue59zk6ha 1.4s infinite linear;
}

    .rfs-shimmer.big[b-7ue59zk6ha] { height: 34px; }
    .rfs-shimmer.w30[b-7ue59zk6ha] { width: 30%; }
    .rfs-shimmer.w40[b-7ue59zk6ha] { width: 40%; }
    .rfs-shimmer.w60[b-7ue59zk6ha] { width: 60%; }
    .rfs-shimmer.w70[b-7ue59zk6ha] { width: 70%; }
    .rfs-shimmer.w80[b-7ue59zk6ha] { width: 80%; }

@keyframes rfs-shimmer-b-7ue59zk6ha {
    to { background-position: -200% 0; }
}

.rfs-datanotes[b-7ue59zk6ha] {
    margin-top: 10px;
    font-size: .75rem;
    color: var(--mud-palette-text-secondary);
}

/* ── responsive ──────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
    .rfs-sheet[b-7ue59zk6ha] { grid-template-columns: 1fr; }
    .rfs-caption[b-7ue59zk6ha] { margin-left: 0; flex-basis: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .rfs-shimmer[b-7ue59zk6ha] { animation: none; }
}

/* ── print / save as PDF ──────────────────────────────────────────────
   The app chrome is already dropped by the print block in app.css. This
   decides what THIS page puts on the paper: the period, the four blocks
   and the data notes. The pickers and presets do not print — but the
   period caption does, because a one-pager with no date on it is a
   number nobody can trust next month. */

@media print {
    .rfs-lbl[b-7ue59zk6ha],
    .rfs-seg[b-7ue59zk6ha],
    .rfs-dates[b-7ue59zk6ha],
    .rfs-more[b-7ue59zk6ha] {
        display: none !important;
    }

    .rfs-controls[b-7ue59zk6ha] {
        border: none;
        padding: 0;
        margin-bottom: 8px;
    }

    .rfs-caption[b-7ue59zk6ha] {
        margin-left: 0;
        font-size: .9rem;
        font-weight: 600;
        color: var(--mud-palette-text-primary);
    }

    /* The share bars and the amber tint ARE the graphic — browsers drop
       background colour on paper unless told not to. */
    .rfs-bar[b-7ue59zk6ha],
    .rfs-bar i[b-7ue59zk6ha],
    .rfs-amber[b-7ue59zk6ha] {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    /* Two by two on paper as on screen — it is a one-pager. */
    .rfs-sheet[b-7ue59zk6ha] { grid-template-columns: 1fr 1fr; gap: 8px; }

    .rfs-block[b-7ue59zk6ha] {
        border: 1px solid var(--mud-palette-divider);
        break-inside: avoid;
        page-break-inside: avoid;
    }

    /* On paper the tail cannot be clicked open — unfold it. */
    .rfs-row.rfs-tail[b-7ue59zk6ha] { display: grid !important; }

    .rfs-row[b-7ue59zk6ha] { break-inside: avoid; page-break-inside: avoid; }
}
/* /Pages/Logistics/ShippedOrderDamagesDialog.razor.rz.scp.css */
/* rochem-tasks#1637 — the same look as PO Lookup's Damages tab (its .pol-kv / .pol-tbl rules),
   scoped to this dialog. */
.sod-kv[b-im473553t4] { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 13px 20px; }
.sod-cell[b-im473553t4] { display: flex; flex-direction: column; line-height: 1.45; }
.sod-lbl[b-im473553t4] { font-size: 9px; text-transform: uppercase; letter-spacing: 0.05em;
           color: var(--mud-palette-text-secondary); font-weight: 500; }
.sod-val[b-im473553t4] { font-size: 12.5px; font-feature-settings: 'tnum'; }

.sod-wide[b-im473553t4] { margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--mud-palette-lines-default); }
.sod-wide-val[b-im473553t4] { font-size: 12.5px; white-space: pre-wrap; line-height: 1.45; }

.sod-empty[b-im473553t4] { font-size: 12.5px; color: var(--mud-palette-text-secondary); padding: 8px 0; }

.sod-tbl[b-im473553t4] { width: 100%; border-collapse: collapse; font-size: 12px; }
.sod-tbl thead th[b-im473553t4] { font-size: 10px; text-transform: uppercase; color: var(--mud-palette-text-secondary);
                    text-align: left; padding: 4px 10px; border-bottom: 1px solid var(--mud-palette-lines-default); }
.sod-tbl td[b-im473553t4] { padding: 4px 10px; border-bottom: 1px solid var(--mud-palette-table-lines); vertical-align: top; }
.sod-tbl tbody tr:nth-child(even)[b-im473553t4] { background: var(--mud-palette-table-striped); }
.sod-tbl td.num[b-im473553t4], .sod-tbl thead th.num[b-im473553t4] { text-align: right; font-feature-settings: 'tnum'; white-space: nowrap; }
.sod-notes[b-im473553t4] { white-space: pre-wrap; }

@media (max-width: 600px) {
    .sod-body[b-im473553t4] { overflow-x: auto; }
}
/* /Pages/Logistics/ShippingCockpit.razor.rz.scp.css */
/* rochem-tasks#1256 (JAD): the five Shipped/Samples/ASAP/RTS/Rush boxes clip their own
   SELECTED value. The shared bar sizes every box from its EMPTY placeholder --
   Wbi3FilterBar.FitStyle: `calc(n * 0.75ch + 56px)` where n is the placeholder's length -- and
   once a value is picked the box has to hold two things that estimate never counted: a selected
   option label that is longer than the placeholder ("Hide shipped" against "Any shipped" is one
   character, but "Samples only" against "Any samples" is two), and a clear (x) button that the
   empty state does not render at all. So the name the reader needs is the first thing cut.

   180px is the floor the longest of the five needs: 12 characters at the bar's 12px text (~72px)
   + 14px padding + 24px chevron + 24px clear button, rounded up for the proportional font.
   !important because FitStyle writes min-width as an INLINE style, which a plain rule loses to.

   Page-scoped on purpose: the estimate itself is Wbi3FilterBar's, shared by every screen in the
   app, and widening it there is a change to all of them -- raised separately rather than made
   here. */

.shipping-cockpit[b-dcqq8j9j1z]  [data-testid="fb-field-shipped"],
.shipping-cockpit[b-dcqq8j9j1z]  [data-testid="fb-field-samples"],
.shipping-cockpit[b-dcqq8j9j1z]  [data-testid="fb-field-asap"],
.shipping-cockpit[b-dcqq8j9j1z]  [data-testid="fb-field-rts"],
.shipping-cockpit[b-dcqq8j9j1z]  [data-testid="fb-field-rush"] {
    min-width: 180px !important;
}

/* Shipping Tool cockpit — single-screen density (no horizontal scroll @ ~1440px).
   All 19 WBI2 data points + the doc-action cluster fit one physical row: ~12px cells,
   2px vertical padding, truncated long text (Customer/Product) with native tooltips,
   icon-only actions. The hardcoded hex values below are ONLY the WBI2 parity status
   colors (legend pills); everything else uses MudBlazor palette tokens so both the
   light and dark themes render correctly. */

/* ── Color-key legend ─────────────────────────────────────────────────────── */
.sc-legend[b-dcqq8j9j1z] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    margin: 2px 0 10px;
}
.sc-legend-label[b-dcqq8j9j1z] {
    font-size: .6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--mud-palette-text-secondary);
    margin-right: 2px;
}
.sc-pill[b-dcqq8j9j1z] {
    font-size: .7rem;
    font-weight: 600;
    line-height: 1.6;
    padding: 1px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

/* ── Grid density (MudDataGrid internals → ::deep) ───────────────────────── */
.shipping-cockpit[b-dcqq8j9j1z]  td.mud-table-cell {
    padding: 2px 5px !important;
    font-size: .75rem;
    line-height: 1.3;
    height: auto;
    white-space: nowrap;
}
.shipping-cockpit[b-dcqq8j9j1z]  th.mud-table-cell {
    padding: 4px 5px !important;
    font-size: .64rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .045em;
    color: var(--mud-palette-text-secondary);
    white-space: normal;          /* two-word headers wrap instead of widening the column */
    line-height: 1.15;
    vertical-align: bottom;
    border-bottom: 2px solid var(--mud-palette-primary);   /* brand-green header rule */
}

/* rochem-tasks#283 (Sam Monaco): "have the catch all lock so its always visible" — the header
   row stays pinned while scrolling a long queue instead of scrolling off and leaving 17 unlabelled
   columns. An opaque background is required or scrolled body rows show through underneath the
   pinned header (same reasoning ReportView.razor's own sticky header carries — see
   ReportViewStickyHeaderTests).

   THE STICKY ALONE WAS NOT ENOUGH, and it looked right in the markup while being useless on screen
   (JJ, 2026-08-26, with a screenshot of the headers scrolled away): `position: sticky` pins to the
   nearest SCROLLING ancestor, and MudBlazor's .mud-table-container carries `overflow-y: auto` — so
   it is that container the header pins to. But the container had no height limit, so it grew to fit
   all 568 rows, never scrolled, and the PAGE scrolled instead. The header dutifully stayed at the
   top of a container that was itself moving up the screen.
   
   Capping the container's height is what makes it the thing that scrolls. The offset is the app
   chrome above it (bar, page header, filter panel, toolbar); min-height keeps it usable on a laptop
   where that subtraction would otherwise leave almost nothing. */
.shipping-cockpit[b-dcqq8j9j1z]  .mud-table-container {
    max-height: calc(100vh - 320px);
    min-height: 22rem;
    overflow-y: auto;
}

.shipping-cockpit[b-dcqq8j9j1z]  th.mud-table-cell {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--mud-palette-surface);
}
/* Sort arrows: keep, but don't let them pad the header out. */
.shipping-cockpit[b-dcqq8j9j1z]  th .mud-table-sort-label .mud-icon-root {
    font-size: .85rem;
    width: .85rem;
    height: .85rem;
}

/* Compact inline checkboxes (RTS / ASAP) — kill the 40px ripple halo. */
.shipping-cockpit[b-dcqq8j9j1z]  .mud-checkbox {
    margin: 0;
}
.shipping-cockpit[b-dcqq8j9j1z]  .mud-checkbox .mud-button-root {
    padding: 2px;
}
.shipping-cockpit[b-dcqq8j9j1z]  .mud-checkbox .mud-icon-root {
    font-size: 1.15rem;
    width: 1.15rem;
    height: 1.15rem;
}

/* Status chips (Rush / R / O) sized for a 24px row. */
.shipping-cockpit[b-dcqq8j9j1z]  .sc-chip {
    height: 18px;
    font-size: .64rem;
    font-weight: 700;
    margin: 0;
    padding: 0 7px;
}

/* ── Cell helpers (elements authored in ShippingCockpit.razor) ───────────── */
/* Right-aligned tabular numerics (Qty / On Hand) — applied to th+td via
   CellClass/HeaderClass, so they live behind ::deep. */
.shipping-cockpit[b-dcqq8j9j1z]  td.sc-num,
.shipping-cockpit[b-dcqq8j9j1z]  th.sc-num {
    text-align: right;
    font-variant-numeric: tabular-nums lining-nums;
}
/* Dates: tabular figures so MM/dd/yy columns rag evenly. */
.shipping-cockpit[b-dcqq8j9j1z]  td.sc-tab {
    font-variant-numeric: tabular-nums lining-nums;
}

/* WBI2 status highlight — the inline style from the code-behind supplies the color;
   with no hold/flag the div renders unstyled text. */
.sc-mark[b-dcqq8j9j1z] {
    display: inline-block;
    max-width: 100%;
    border-radius: 3px;
    padding: 0 4px;
    margin: 0 -4px;   /* colored or not, text stays flush with the column edge */
    vertical-align: bottom;
}
/* Long-text truncation + native title tooltip (Customer / Product). Under the fixed
   table layout below the column itself sets the width, so these just fill it. */
.sc-trunc[b-dcqq8j9j1z] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.sc-cust[b-dcqq8j9j1z],
.sc-prod[b-dcqq8j9j1z],
.sc-so[b-dcqq8j9j1z] { max-width: 100%; }

/* rochem-tasks#1622: the ship-to pin sits in front of the customer name and never shrinks; the
   name keeps its ellipsis in whatever width is left. */
.sc-cust-cell[b-dcqq8j9j1z] { display: flex; align-items: center; gap: 2px; min-width: 0; }
.sc-cust-cell[b-dcqq8j9j1z]  .shipping-full-text { flex: 1 1 auto; }
.sc-cust-cell[b-dcqq8j9j1z]  .sc-shipto { flex: 0 0 auto; display: inline-flex; }
.sc-cust-cell[b-dcqq8j9j1z]  .sc-shipto-icon {
    font-size: 1rem; width: 1rem; height: 1rem; cursor: pointer;
    color: var(--mud-palette-text-secondary);
}
.sc-cust-cell[b-dcqq8j9j1z]  .sc-shipto-icon:focus-visible { outline: 2px solid var(--mud-palette-primary); border-radius: 2px; }
.sc-shipto-text[b-dcqq8j9j1z] { white-space: pre-line; text-align: left; user-select: text; }

/* Content-sized short columns; Customer and Product share the remaining width.
   Class selectors survive hiding/reordering columns, unlike nth-child percentages.
   The two long columns deliberately retain ellipses and full-value titles (#1341).
   These page-scoped overrides also hold when the shared no-cutoff guard marks them. */
@media (min-width: 601px) {
    .shipping-cockpit.shipping-cockpit[b-dcqq8j9j1z]  .mud-table-root {
        table-layout: auto !important;
        width: 100%;
        min-width: 0;
        border-collapse: separate;
        border-spacing: 0;
    }

    .shipping-cockpit.shipping-cockpit[b-dcqq8j9j1z]  td.mud-table-cell,
    .shipping-cockpit.shipping-cockpit[b-dcqq8j9j1z]  th.mud-table-cell {
        width: 1%;
        white-space: nowrap !important;
        overflow: visible !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
        text-overflow: clip !important;
    }

    .shipping-cockpit.shipping-cockpit[b-dcqq8j9j1z]  th.sc-long,
    .shipping-cockpit.shipping-cockpit[b-dcqq8j9j1z]  td.sc-long {
        width: 50%;
        max-width: 0;
        min-width: 7rem;
    }

    .shipping-cockpit.shipping-cockpit[b-dcqq8j9j1z]  .sc-trunc.sc-trunc {
        display: block;
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }
}
/* Labeled document actions keep the same order as the original icon controls. */
.sc-actions[b-dcqq8j9j1z] { display: flex; align-items: center; flex-wrap: nowrap; gap: 2px; }

/* #1460: preserve all columns and actions in order, including on a laptop.
   Let headers and long identifiers wrap rather than widen the whole grid. */
@media (min-width: 601px) {
    .shipping-cockpit.shipping-cockpit[b-dcqq8j9j1z]  td.mud-table-cell,
    .shipping-cockpit.shipping-cockpit[b-dcqq8j9j1z]  th.mud-table-cell {
        padding-left: 2px !important;
        padding-right: 2px !important;
    }
    .shipping-cockpit.shipping-cockpit[b-dcqq8j9j1z]  th.mud-table-cell {
        white-space: normal !important;
        letter-spacing: normal;
    }
    .shipping-cockpit.shipping-cockpit[b-dcqq8j9j1z]  th .column-header,
    .shipping-cockpit.shipping-cockpit[b-dcqq8j9j1z]  th .mud-table-sort-label {
        white-space: normal;
    }
    .shipping-cockpit.shipping-cockpit[b-dcqq8j9j1z]  td.sc-id,
    .shipping-cockpit.shipping-cockpit[b-dcqq8j9j1z]  td.sc-note {
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        max-width: 7rem;
    }

}
.sc-actions[b-dcqq8j9j1z]  .sc-action-button {
    min-width: 0; padding: 1px 3px; font-size: .65rem;
    line-height: 1.4; text-transform: none; white-space: nowrap; letter-spacing: normal;
    border: 1px solid var(--mud-palette-divider); border-radius: 3px;
}
.sc-actions[b-dcqq8j9j1z]  .sc-action-button:focus-visible,
.shipping-cockpit[b-dcqq8j9j1z]  .sc-chip:focus-visible {
    outline: 2px solid var(--mud-palette-primary); outline-offset: 1px;
}

@media (min-width: 601px) and (max-width: 1500px) {
    .shipping-cockpit.shipping-cockpit[b-dcqq8j9j1z]  .sc-so {
        display: block; width: 6rem; max-width: 100%; box-sizing: border-box;
        margin: 0; padding: 0;
        overflow-wrap: anywhere !important; white-space: normal !important;
    }
    .sc-actions[b-dcqq8j9j1z] { width: 6.5rem; flex-wrap: wrap; }
    .shipping-cockpit.shipping-cockpit[b-dcqq8j9j1z]  td.sc-long,
    .shipping-cockpit.shipping-cockpit[b-dcqq8j9j1z]  th.sc-long { min-width: 6rem; }
}

/* #1472: sort/menu controls must never cover the column name. Keep their space
   above the label even while hidden, so hovering cannot resize the sticky row. */
.shipping-cockpit[b-dcqq8j9j1z]  th .column-header {
    display: flex !important;
    flex-direction: column-reverse;
    align-items: stretch;
}
.shipping-cockpit[b-dcqq8j9j1z]  th .column-options {
    position: static;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    min-height: 18px;
    background: transparent;
}
.shipping-cockpit[b-dcqq8j9j1z]  th .column-options:empty {
    display: none;
}
.shipping-cockpit[b-dcqq8j9j1z]  th .column-options .mud-icon-button {
    width: 14px;
    height: 18px;
    min-height: 18px;
    padding: 0;
}
.shipping-cockpit[b-dcqq8j9j1z]  th .column-options .mud-icon-root {
    width: 14px;
    height: 14px;
    font-size: 14px;
}
.shipping-cockpit[b-dcqq8j9j1z]  th.mud-table-cell {
    border-bottom-color: transparent;
    box-shadow: inset 0 -2px var(--mud-palette-primary);
}
/* rochem-tasks#1621: the ship-several bar, shown only while orders are ticked. Outlined in the
   brand colour so it reads as "acting on what you ticked", not as one more filter. */
.sc-several[b-dcqq8j9j1z] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 12px;
    padding: 6px 10px;
    border: 1px solid var(--mud-palette-primary);
    border-radius: 4px;
    background: var(--mud-palette-background-gray);
    font-size: .8rem;
}
.sc-several-what[b-dcqq8j9j1z] {
    min-width: 0;
    overflow-wrap: anywhere;
}
.sc-several-actions[b-dcqq8j9j1z] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.shipping-cockpit[b-dcqq8j9j1z]  td.sc-pick,
.shipping-cockpit[b-dcqq8j9j1z]  th.sc-pick {
    width: 1%;
}
/* /Pages/Logistics/ShippingFullText.razor.rz.scp.css */
.sc-trunc[b-faoi01qvmd] {
    display: block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    border-radius: 3px;
    padding: 0 4px;
    margin: 0 -4px;
}
.sc-trunc[role=button][b-faoi01qvmd] { cursor: pointer; }
.sc-trunc[role=button]:focus-visible[b-faoi01qvmd] { outline: 2px solid var(--mud-palette-primary); }
/* /Pages/Logistics/ShipPoNotePreview.razor.rz.scp.css */
.ship-po-note-preview[b-8xo92uzd38] {
    min-width: 0;
    flex: 1;
    text-align: left;
}

.ship-po-note[b-8xo92uzd38] {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.ship-po-note-collapsed[b-8xo92uzd38] {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}
/* /Pages/Mobile/MobileLookup.razor.rz.scp.css */
/* Mobile Quick-find. Theme-variable colors so it tracks light/dark + brand. */
.mlk[b-p3icnc1vm1] {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mlk-search[b-p3icnc1vm1] {
    position: relative;
    display: flex;
    align-items: center;
}

.mlk-search-ic[b-p3icnc1vm1] {
    position: absolute;
    left: 12px;
    color: var(--mud-palette-text-secondary);
    pointer-events: none;
}

.mlk-input[b-p3icnc1vm1] {
    width: 100%;
    box-sizing: border-box;
    padding: 14px 42px 14px 44px;
    font-size: 16px;               /* >=16px stops iOS zoom-on-focus */
    border-radius: 14px;
    border: 1px solid var(--mud-palette-lines-default);
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
}

.mlk-input:focus[b-p3icnc1vm1] {
    outline: none;
    border-color: var(--mud-palette-primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--mud-palette-primary) 18%, transparent);
}

.mlk-clear[b-p3icnc1vm1] {
    position: absolute;
    right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--mud-palette-text-secondary);
    cursor: pointer;
}

.mlk-msg[b-p3icnc1vm1] {
    padding: 28px 8px;
    text-align: center;
    color: var(--mud-palette-text-secondary);
    font-size: 14px;
}

.mlk-list[b-p3icnc1vm1] {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mlk-item[b-p3icnc1vm1] {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    text-align: left;
    padding: 13px 12px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 13px;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    cursor: pointer;
    font-family: inherit;
}

.mlk-item:active[b-p3icnc1vm1] {
    transform: scale(.99);
    background: var(--mud-palette-action-default-hover);
}

.mlk-ic[b-p3icnc1vm1] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    border-radius: 10px;
    background: var(--mud-palette-background);
    color: var(--mud-palette-primary);
}

.mlk-t[b-p3icnc1vm1] {
    flex: 1;
    min-width: 0;
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.25;
}

.mlk-t small[b-p3icnc1vm1] {
    display: block;
    font-weight: 500;
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
    margin-top: 1px;
}

.mlk-chev[b-p3icnc1vm1] {
    color: var(--mud-palette-text-secondary);
    flex: 0 0 auto;
}
/* /Pages/OrderProcessingParts/ComparisonTool.razor.rz.scp.css */
/* rochem-tasks#2056: the Comparison Tool's "what's different" layout. */

.cmp-filters[b-wep49jg1g1] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin-bottom: 12px;
}

.cmp-filters[b-wep49jg1g1]  .cmp-search {
    flex: 0 1 320px;
    min-width: 220px;
}

.cmp-chips[b-wep49jg1g1] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cmp-diffs[b-wep49jg1g1] {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

/* One difference per line: the field, then QuickBooks, then WBI, lined up down the column. */
.cmp-diff[b-wep49jg1g1] {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
    align-items: baseline;
}

.cmp-kind[b-wep49jg1g1] {
    font-weight: 600;
    color: var(--mud-palette-warning-darken);
}

.cmp-qb[b-wep49jg1g1],
.cmp-wbi[b-wep49jg1g1] {
    overflow-wrap: anywhere;
}

.cmp-diff-head .cmp-kind[b-wep49jg1g1],
.cmp-diff-head .cmp-qb[b-wep49jg1g1],
.cmp-diff-head .cmp-wbi[b-wep49jg1g1] {
    font-weight: 600;
    color: inherit;
}

.cmp-detail-row > td[b-wep49jg1g1] {
    background: var(--mud-palette-background-gray);
}

.cmp-detail[b-wep49jg1g1] {
    border-collapse: collapse;
    margin: 4px 0 8px 36px;
    min-width: 520px;
}

.cmp-detail th[b-wep49jg1g1],
.cmp-detail td[b-wep49jg1g1] {
    padding: 3px 12px;
    text-align: left;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    vertical-align: top;
}

.cmp-detail td:first-child[b-wep49jg1g1] {
    font-weight: 600;
    white-space: nowrap;
}

@media (max-width: 700px) {
    .cmp-diff[b-wep49jg1g1] {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .cmp-detail[b-wep49jg1g1] {
        margin-left: 0;
        min-width: 0;
    }
}

/* The SO number opens the order: green and bold so it reads as a link (JJ, 2026-11-18). */
[b-wep49jg1g1] a.cmp-so-link {
    color: var(--mud-palette-primary);
    font-weight: 600;
    text-decoration: none;
}

[b-wep49jg1g1] a.cmp-so-link:hover,
[b-wep49jg1g1] a.cmp-so-link:focus-visible {
    text-decoration: underline;
}

/* Orders Missing's comment box. The app-wide compact-row rules cap an outlined edit box in a row
   at 22px (.wbi3-grid tbody .mud-input.mud-input-outlined), which cut the text off; here the box
   is as tall as what is typed in it (the textarea already grows to its content). */
[b-wep49jg1g1] .cmp-comment .mud-input.mud-input-outlined {
    height: auto !important;
}

/* grid-edit-boxes.css uses field-sizing: content and a one-line minimum on desktop, so rows="2"
   alone cannot keep this a two-line editor. Include both lines and 8px padding above and below so
   the focused outline stays clear of the text. Leave height to native field-sizing on desktop
   and MudBlazor's inline auto-size below the grid breakpoint so longer comments can still grow. */
[b-wep49jg1g1] .cmp-comment.mud-input-control textarea.mud-input-slot.mud-input-root {
    min-height: calc(2lh + 16px) !important;
    line-height: 1.35 !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}
/* /Pages/OrderProcessingParts/OrderActivityPanel.razor.rz.scp.css */
.oh-heading[b-n1xl4ixit5], .oh-footer[b-n1xl4ixit5] { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px; }
.oh-list[b-n1xl4ixit5] { display: grid; }
/* MudBlazor makes every button inline-flex. Keep history metadata above its description,
   whether the form places this card in a narrow rail or a wider reference grid. */
.oh-preview[b-n1xl4ixit5] { display: block; width: 100%; min-width: 0; border: 0; border-bottom: 1px solid var(--mud-palette-divider); padding: 8px 0; background: transparent; color: var(--mud-palette-text-primary); text-align: left; font: inherit; font-size: .8125rem; line-height: 1.4; cursor: pointer; }
.oh-preview:hover[b-n1xl4ixit5] { background: var(--mud-palette-table-hover); }
.oh-preview:focus-visible[b-n1xl4ixit5] { outline: 2px solid var(--mud-palette-primary); outline-offset: 2px; }
.oh-meta[b-n1xl4ixit5] { display: flex; flex-wrap: wrap; gap: 4px 8px; color: var(--mud-palette-text-secondary); font-size: .75rem; }
.oh-meta strong[b-n1xl4ixit5] { color: var(--mud-palette-text-primary); }
.oh-summary[b-n1xl4ixit5] { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: normal; word-break: normal; margin-top: 3px; }
.oh-count[b-n1xl4ixit5] { display: block; color: var(--mud-palette-primary); font-size: .75rem; margin-top: 2px; }
.oh-footer[b-n1xl4ixit5] { margin-top: 6px; }
/* /Pages/OrderProcessingParts/OrderHistoryDialog.razor.rz.scp.css */
.oh-history[b-vn69neqnyh] { min-width: 0; font-size: .875rem; }
.oh-toolbar[b-vn69neqnyh], .oh-paging[b-vn69neqnyh], .oh-page-buttons[b-vn69neqnyh] { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.oh-toolbar[b-vn69neqnyh] { margin-bottom: 8px; }
.oh-columns[b-vn69neqnyh], .oh-save > summary[b-vn69neqnyh] { display: grid; grid-template-columns: 16px 165px minmax(75px, 140px) minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 9px 10px; }
.oh-columns[b-vn69neqnyh] { background: var(--mud-palette-background-grey); color: var(--mud-palette-text-secondary); font-size: .75rem; border-bottom: 1px solid var(--mud-palette-divider); }
.oh-save[b-vn69neqnyh] { border-bottom: 1px solid var(--mud-palette-divider); }
.oh-save > summary[b-vn69neqnyh] { list-style: none; cursor: pointer; }
.oh-save > summary[b-vn69neqnyh]::-webkit-details-marker { display: none; }
.oh-save > summary:hover[b-vn69neqnyh] { background: var(--mud-palette-table-hover); }
.oh-save > summary:focus-visible[b-vn69neqnyh] { outline: 2px solid var(--mud-palette-primary); outline-offset: -2px; }
.oh-chevron[b-vn69neqnyh] { display: inline-block; }
.oh-save[open] > summary .oh-chevron[b-vn69neqnyh] { transform: rotate(90deg); }
.oh-date[b-vn69neqnyh], .oh-count[b-vn69neqnyh] { color: var(--mud-palette-text-secondary); font-size: .75rem; }
.oh-date[b-vn69neqnyh] { font-variant-numeric: tabular-nums; }
.oh-description[b-vn69neqnyh], .oh-actor[b-vn69neqnyh], .oh-changes[b-vn69neqnyh] { min-width: 0; overflow-wrap: normal; word-break: normal; }
.oh-changes[b-vn69neqnyh] { margin: 0 10px 12px 38px; padding: 10px 14px; background: var(--mud-palette-background-grey); border: 1px solid var(--mud-palette-divider); border-radius: 6px; }
.oh-changes ul[b-vn69neqnyh] { margin: 0; padding-left: 18px; }
.oh-changes li + li[b-vn69neqnyh] { margin-top: 6px; }
.oh-technical[b-vn69neqnyh] { margin-top: 10px; color: var(--mud-palette-text-secondary); font-size: .75rem; }
.oh-technical summary[b-vn69neqnyh] { cursor: pointer; }
.oh-technical div[b-vn69neqnyh] { margin-top: 6px; }
.oh-paging[b-vn69neqnyh] { padding: 12px 0 0; }
@media (max-width: 700px) {
    .oh-columns[b-vn69neqnyh] { display: none; }
    .oh-save > summary[b-vn69neqnyh] { grid-template-columns: 16px minmax(0, 1fr) minmax(65px, auto); gap: 4px 8px; }
    .oh-description[b-vn69neqnyh] { grid-column: 2 / -1; }
    .oh-changes[b-vn69neqnyh] { margin-left: 10px; }
}

.oh-kind[b-vn69neqnyh] { font-size: .75rem; font-weight: 600; color: var(--mud-palette-text-secondary); }
.oh-lines-scroll[b-vn69neqnyh] { max-width: 100%; overflow-x: auto; margin-top: 12px; }
.oh-lines[b-vn69neqnyh] { width: 100%; border-collapse: collapse; font-size: .8125rem; }
.oh-lines caption[b-vn69neqnyh] { text-align: left; color: var(--mud-palette-text-secondary); padding-bottom: 6px; }
.oh-lines th[b-vn69neqnyh], .oh-lines td[b-vn69neqnyh] { padding: 6px 8px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--mud-palette-divider); }
.oh-lines th[b-vn69neqnyh] { font-weight: 600; }
.oh-was[b-vn69neqnyh] { display: block; color: var(--mud-palette-text-secondary); font-weight: normal; font-size: .75rem; }
.oh-line-tag[b-vn69neqnyh] { display: block; font-size: .75rem; }

.oh-source[b-vn69neqnyh] { display: block; }
/* /Pages/Purchasing/Inventory.razor.rz.scp.css */
/* Purchasing Inventory — one clean card: filters + stat/legend strip + a borderless report
   table. Status (not-received / oversold / FDA-hold) reads as a thin left edge-stripe + whisper
   tint rather than a full-row wash. Theme-aware via MudBlazor palette vars; accent = --rcm-accent. */

.inv-panel[b-pjecf516wd] {
    --_acc: var(--rcm-accent, var(--mud-palette-primary));
    border: 1px solid var(--mud-palette-divider);
    border-radius: 16px;
    background: var(--mud-palette-surface);
    overflow: hidden;
}
.inv-panel[b-pjecf516wd]::before {
    content: ""; display: block; height: 2px;
    background: linear-gradient(90deg, var(--_acc), color-mix(in srgb, var(--_acc) 30%, transparent));
}

/* rochem-tasks#702, JJ 2026-09-24: "we can fit more on this screen when the list is open".
   Every pixel above the first lot row is a pixel the table does not get, and this page is read by
   scrolling. Tightened, not shrunk — the controls keep their own size and hit area; what goes is
   the padding around them. */
/* rochem-tasks#1271: the shared filter bar brings its own side padding, so the toolbar adds none
   of its own -- the bar lines up with every other page's instead of sitting 12px further in. */
.inv-toolbar[b-pjecf516wd] { padding: 4px 0 2px; border-bottom: 1px solid var(--mud-palette-divider); }

/* Inventory scrolls its lots inside .inv-scroll, so both filter rows stay in normal flow.
   AlwaysOpen also enables the shared page-scrolling search layout; its sticky offset inside
   this clipped card moved the search row over the named filters (rochem-tasks#1954). Keep the
   filters open without inheriting that layout from Order Lookup. */
.inv-toolbar[b-pjecf516wd]  .wbi3-filterbar.fb-always-open { display: block; }
.inv-toolbar[b-pjecf516wd]  .wbi3-filterbar.fb-always-open .fb-always { position: static; }

/* The standing explanation, closed by default. A <details> and not a tooltip: JJ has sent work
   back twice for putting an instruction on hover (#827, #971), and this is a click that stays
   open until it is closed again. */
.inv-about[b-pjecf516wd] { margin: 0 12px 6px; font-size: .78rem; color: var(--mud-palette-text-secondary); }
.inv-about summary[b-pjecf516wd] { cursor: pointer; width: fit-content; opacity: .75; }
.inv-about summary:hover[b-pjecf516wd] { opacity: 1; }
.inv-about[open] summary[b-pjecf516wd] { margin-bottom: 3px; }

/* Compact stat + legend + actions on one line — replaces the old KPI-card block. */
.inv-statbar[b-pjecf516wd] {
    display: flex; flex-direction: column; gap: 6px;
    padding: 6px 14px; border-bottom: 1px solid var(--mud-palette-divider);
}
.inv-stat[b-pjecf516wd] { display: flex; align-items: baseline; gap: 7px; }
.inv-stat .n[b-pjecf516wd] {
    font-family: 'IBM Plex Sans', 'Segoe UI', Helvetica, Arial, sans-serif;
    font-weight: 700; font-size: 1rem; line-height: 1.1; letter-spacing: -.01em;
    font-variant-numeric: tabular-nums lining-nums;
}
.inv-stat.hero .n[b-pjecf516wd] { color: var(--_acc); }
.inv-stat .l[b-pjecf516wd] { font-size: .6875rem; text-transform: uppercase; letter-spacing: .05em; color: var(--mud-palette-text-secondary); white-space: nowrap; }
.inv-caption[b-pjecf516wd] { font-size: .75rem; color: var(--mud-palette-text-secondary); }
/* rochem-tasks#1038: the sentence that answers "how is available higher than on hand?" on the page
   itself, and the prompt that stands where the totals are before anything is filtered. */
.inv-note[b-pjecf516wd] { font-size: .75rem; color: var(--mud-palette-text-secondary); font-style: italic; }

.inv-legend[b-pjecf516wd] { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }
.inv-lg[b-pjecf516wd] { display: inline-flex; align-items: center; gap: 6px; font-size: .75rem; color: var(--mud-palette-text-secondary); white-space: nowrap; }
.inv-dot[b-pjecf516wd] { width: 9px; height: 9px; border-radius: 3px; flex: none; }
.inv-dot.y[b-pjecf516wd] { background: #e0a400; }
.inv-dot.r[b-pjecf516wd] { background: #d1453b; }
.inv-dot.b[b-pjecf516wd] { background: #2b8fd6; }
/* rochem-tasks#1157: WBI2's fourth legend colour, orange = Ask P&L (lot in a sub-bin). */
.inv-dot.o[b-pjecf516wd] { background: #e07b1a; }
.inv-actions[b-pjecf516wd] { display: flex; flex-wrap: wrap; gap: 2px; flex-shrink: 0; }

/* ---- table: borderless report, quiet dividers, tabular numerals ---- */

/* Keep the header and rows in one bounded scroll region. The complete list is rendered,
   so wrapped cells no longer invalidate a virtualizer's estimated row heights. */
.inv-scroll[b-pjecf516wd] {
    overflow: auto;
    max-height: calc(100vh - 250px);
    min-height: 340px;
    overscroll-behavior: contain;
}
.inv-table[b-pjecf516wd] { width: 100%; border-collapse: collapse; font-size: .75rem; table-layout: fixed; }

.inv-table thead th[b-pjecf516wd] {
    position: sticky; top: 0; z-index: 1;
    background: var(--mud-palette-surface);
    text-align: left; white-space: nowrap;
    font-size: .65rem; text-transform: uppercase; letter-spacing: .05em; font-weight: 600;
    color: var(--mud-palette-text-secondary);
    padding: 5px 8px;
    border-bottom: 1px solid var(--mud-palette-table-lines, var(--mud-palette-divider));
    /* rochem-tasks#1220: columns are fixed-width now (see .inv-table below), so a header label
       that doesn't fit its column must clip instead of bleeding into the next column's header. */
    overflow: hidden; text-overflow: ellipsis;
}
.inv-table th.num[b-pjecf516wd], .inv-table td.num[b-pjecf516wd] { text-align: right; font-variant-numeric: tabular-nums; }

/* 24px is the minimum, not an enforced height: readable values may need more than one line. */
.inv-table tbody tr[b-pjecf516wd] { height: 24px; }
.inv-table tbody td[b-pjecf516wd] {
    /* rochem-tasks#1441: 8px, not 10 -- four more pixels of text room in every column, which is
       the difference between a 41-character vendor name fitting its line and spilling one letter. */
    padding: 0 8px; border-bottom: 1px solid var(--mud-palette-divider);
    white-space: nowrap;
}
/* Only the free-text columns clip. The first cut put a max-width on EVERY cell, which let the
   table shrink the identifiers too — PO read "R…" and Lot # read "21…", which is useless on the
   one page people come to to read a lot number. A PO, a lot, a quantity and a date are short and
   keep their whole value; a manufacturer, a location, a product name and "NOT RCVD YET" are the
   ones that wrapped, so those clip with an ellipsis and carry the full text on the cell. */
/* rochem-tasks#1220: the column's own width (colgroup) now does the constraining under
   table-layout:fixed -- a separate max-width here would just leave dead space inside a narrower
   or wider column. */
.inv-table tbody td.clip[b-pjecf516wd] { overflow: hidden; text-overflow: ellipsis; }
/* rochem-tasks#1441, JJ 2026-10-14: "No horizontal scroll is not enough: the text has to be
   readable." Manufacturer and Location wrap instead of clipping. Measured on prod, 14 Oct: vendor
   names run to 41 characters and 62% of lots carry one of 33 or more, so with every column
   scaled down at 1366 the ellipsis cut most mills mid-word ("Shijiazhuang Jirong Pharmaceutical
   Co., L"). A wrapped row grows naturally past 24px without estimated spacer heights. overflow-wrap lets an unbroken
   code ("ROCHEM-NY-HAU-USA-HOLD") break too, so nothing can push the table wider than its box. */
.inv-table tbody td.wrap[b-pjecf516wd] { white-space: normal; overflow-wrap: anywhere; line-height: 1.2; }
/* The band row is the one place a value may need two lines — it lists every min/max the part has
   across packages and sites — so it keeps its own wrapping. */
.inv-table tbody tr.inv-band[b-pjecf516wd] { height: auto; }
.inv-table tbody tr.inv-band td[b-pjecf516wd] { white-space: normal; max-width: none; }
.inv-table td.meta[b-pjecf516wd] { color: var(--mud-palette-text-secondary); }
.inv-table td.qty[b-pjecf516wd] { font-weight: 600; }
.inv-table td.zero[b-pjecf516wd] { color: var(--mud-palette-text-disabled); font-weight: 400; }

/* group band — stronger tint + rules, bold totals */
.inv-table tr.inv-band[b-pjecf516wd] { cursor: pointer; }
.inv-table tr.inv-band td[b-pjecf516wd] {
    background: color-mix(in srgb, var(--_acc) 7%, var(--mud-palette-surface));
    border-bottom: 1px solid var(--mud-palette-table-lines, var(--mud-palette-divider));
}
.inv-table tr.inv-band td.num[b-pjecf516wd] { font-weight: 700; }
.inv-bandname[b-pjecf516wd] { font-weight: 700; }
.inv-bandsub[b-pjecf516wd] { color: var(--mud-palette-text-secondary); margin-left: 8px; }
.inv-bandcount[b-pjecf516wd] { color: var(--mud-palette-text-disabled); font-size: .72rem; margin-left: 8px; }

/* A sample group reads as a sample at a glance (#265) -- it sorts below real stock, but someone
   scanning the page still has to be able to see which band is which without reading part numbers. */
.inv-samplechip[b-pjecf516wd] {
    margin-left: 8px; padding: 0 5px; border-radius: 3px;
    font-size: .62rem; font-weight: 600; letter-spacing: .05em; vertical-align: 1px;
    color: var(--mud-palette-warning-darken); border: 1px solid var(--mud-palette-warning);
    background: var(--mud-palette-warning-hover);
}

/* status = 3px left stripe + whisper tint */
.inv-table tr.s-y td[b-pjecf516wd] { background: color-mix(in srgb, #e0a400 12%, var(--mud-palette-surface)); }
.inv-table tr.s-r td[b-pjecf516wd] { background: color-mix(in srgb, #d1453b 12%, var(--mud-palette-surface)); }
.inv-table tr.s-b td[b-pjecf516wd] { background: color-mix(in srgb, #2b8fd6 12%, var(--mud-palette-surface)); }
.inv-table tr.s-o td[b-pjecf516wd] { background: color-mix(in srgb, #e07b1a 12%, var(--mud-palette-surface)); }
.inv-table tr.s-y td:first-child[b-pjecf516wd] { box-shadow: inset 3px 0 #e0a400; }
.inv-table tr.s-r td:first-child[b-pjecf516wd] { box-shadow: inset 3px 0 #d1453b; }
.inv-table tr.s-b td:first-child[b-pjecf516wd] { box-shadow: inset 3px 0 #2b8fd6; }
.inv-table tr.s-o td:first-child[b-pjecf516wd] { box-shadow: inset 3px 0 #e07b1a; }

.inv-table tbody tr:not(.inv-band):hover td[b-pjecf516wd] { background: color-mix(in srgb, var(--_acc) 5%, var(--mud-palette-surface)); }

.inv-chip[b-pjecf516wd] {
    display: inline-block; font-size: .65rem; font-weight: 600; padding: 1px 7px; border-radius: 999px;
    background: color-mix(in srgb, var(--_acc) 14%, transparent); color: var(--_acc);
}
.inv-empty[b-pjecf516wd] { padding: 24px 16px; color: var(--mud-palette-text-secondary); }

/* rochem-tasks#846: the unit beside each stat-strip total. */
.inv-stat .u[b-pjecf516wd] { font-size: .75rem; font-weight: 600; color: var(--mud-palette-text-secondary); }

/* rochem-tasks#847: the Package header sorts by package size. */
.inv-table thead th.inv-sortable[b-pjecf516wd] { cursor: pointer; user-select: none; }
.inv-table thead th.inv-sortable:hover[b-pjecf516wd],
.inv-table thead th.inv-sortable.on[b-pjecf516wd] { color: var(--mud-palette-text-primary); }

/* rochem-tasks#848: a lot row opens its RCM in PO Lookup. */
.inv-table tr.inv-lot-link[b-pjecf516wd] { cursor: pointer; }

/* Printing a virtualized table only ever puts the rendered window on paper -- that is true of every
   <Virtualize> page here, and it is what TerritoryReport's own print rule allows for. Lift the cap
   so the rows that DO exist are not additionally clipped to the on-screen box height. */
@media print {
    .inv-scroll[b-pjecf516wd] { max-height: none; overflow: visible; }
}

/* rochem-tasks#702: stock min/max per package + site, and damaged stock stated beside the usable
   figure rather than folded into it. A part band can carry several lines (16 of the 113 parts on
   file do), so the cell is a small stacked list rather than a number — JJ left the presentation
   open and a dense grid has no room for three more numeric columns.

   The row height is deliberately NOT fixed here: <Virtualize ItemSize="34f"> assumes every row is
   34px, and a band with four levels is taller. The spacer maths only drifts while scrolling and
   self-corrects, which is the cheaper trade than truncating the one thing the column exists for.
   Left as a known edge rather than a silent one. */
.inv-table th.inv-mm-h[b-pjecf516wd] { text-align: left; white-space: nowrap; }
.inv-table td.inv-mm-cell[b-pjecf516wd] { white-space: nowrap; }
.inv-mm[b-pjecf516wd] { display: flex; flex-direction: column; gap: 1px; }
.inv-mm-line[b-pjecf516wd] { line-height: 1.4; }
.inv-mm-where[b-pjecf516wd] { font-size: .72rem; color: var(--mud-palette-text-secondary); }
.inv-mm-nums[b-pjecf516wd] { font-variant-numeric: tabular-nums; font-size: .8rem; }
.inv-mm-nums.none[b-pjecf516wd] { color: var(--mud-palette-text-disabled); font-style: italic; }
.inv-mm-nums.below[b-pjecf516wd], .inv-mm-line.below .inv-mm-nums[b-pjecf516wd] { color: var(--mud-palette-warning-darken); font-weight: 700; }

/* MW's original ask: "so it could easily be realized that if available qty is below the min level
   it can be looked at for reorder easily". A chip, not a tint — the row already uses tints for
   not-received / oversold / FDA hold, and a fourth would stop meaning anything. */
.inv-reorderchip[b-pjecf516wd] {
    font-size: .62rem; font-weight: 700; letter-spacing: .04em; padding: 0 5px; border-radius: 9px;
    background: var(--mud-palette-warning); color: var(--mud-palette-warning-text); white-space: nowrap;
}

/* Damaged reads as a fact about the stock, not as an alarm: it is normal for some to exist, and
   the point is only that it is visible and not counted as usable. */
.inv-damagedqty[b-pjecf516wd] { font-size: .72rem; color: var(--mud-palette-text-secondary); }
.inv-damagedchip[b-pjecf516wd] {
    font-size: .62rem; font-weight: 700; letter-spacing: .04em; padding: 0 5px; border-radius: 9px;
    border: 1px solid var(--mud-palette-lines-default); color: var(--mud-palette-text-secondary);
    white-space: nowrap;
}

/* ---- MIN / MAX behind a tag (rochem-tasks#702, JJ 2026-09-24) -------------------------------
   "i don't like how much space it takes, it should be like a MM something that when they click
   that it shows all the min max, so it doesn't take all this space in the tool."

   The levels were printed in full on every band AND every lot row — the same sentence repeated
   down the page, and the widest column on it. They are now a tag you click.

   The REORDER word went with it, at JJ's call. What it said is kept without the space: the tag
   itself turns amber when the stock is under the minimum, so a part needing a reorder is still
   visible at a glance — which is what MW asked this ticket for — and the tag's own title spells it
   out in words. The `.below` class on each line stays, so the numbers inside are tinted too. */
.inv-mm-cell[b-pjecf516wd] { position: relative; }
.inv-mmpop[b-pjecf516wd] { display: inline-block; }
/* #1719: Chromium rebuilds the native hidden details slot when row hover changes, forcing
   layout of the full table during scrolling. Keep that slot stable and hide the closed
   panel explicitly. The native summary/open state still owns mouse and keyboard toggling;
   every lot and all of its MM values remain in the DOM. Older browsers keep native hiding. */
.inv-mmpop[b-pjecf516wd]::details-content { content-visibility: visible; }
.inv-mmpop:not([open]) > .inv-mm[b-pjecf516wd] { display: none; }
.inv-mmpop > summary[b-pjecf516wd] {
    list-style: none; cursor: pointer; user-select: none;
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 26px; height: 16px; padding: 0 5px; border-radius: 4px;
    font-size: .62rem; font-weight: 700; letter-spacing: .06em;
    color: var(--mud-palette-text-secondary);
    border: 1px solid var(--mud-palette-lines-default);
    background: var(--mud-palette-background-grey);
}
.inv-mmpop > summary[b-pjecf516wd]::-webkit-details-marker { display: none; }
.inv-mmpop > summary:hover[b-pjecf516wd] { color: var(--mud-palette-text-primary); }
.inv-mmpop > summary.below[b-pjecf516wd] {
    color: var(--mud-palette-warning-darken);
    border-color: var(--mud-palette-warning);
    background: color-mix(in srgb, var(--mud-palette-warning) 16%, transparent);
}
/* The panel floats over the table rather than pushing the row open — a row that grows on click
   would undo the density this ticket just won. */
.inv-mmpop[open] > .inv-mm[b-pjecf516wd] {
    /* rochem-tasks#1985: opens toward the left, from the tag's own right edge. The MM column sits
       right of centre, so a full-width table opening rightward ran off the screen (staging, 1600px). */
    position: absolute; z-index: 5; right: 0; left: auto; top: 100%;
    width: max-content; min-width: 220px; padding: 6px 10px;
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default); border-radius: 8px;
    box-shadow: 0 6px 20px rgb(0 0 0 / 18%);
    white-space: normal;
}

/* Keep the result count and its controls together; separate stock totals from the status key. */
.inv-results[b-pjecf516wd] { order: 0; display: flex; align-items: center; justify-content: space-between; gap: 6px 16px; flex-wrap: wrap; }
.inv-totals[b-pjecf516wd] { order: 1; display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 20px; }
.inv-totals .inv-note[b-pjecf516wd] { flex: 1 1 360px; }
.inv-legend[b-pjecf516wd] { order: 2; }
.inv-caption[b-pjecf516wd] { color: var(--mud-palette-text-primary); font-weight: 600; }
.inv-stat[b-pjecf516wd] { white-space: nowrap; }
.inv-bandcount[b-pjecf516wd] { color: var(--mud-palette-text-secondary); }

/* Desktop columns fit the scroll box, so pinning every lot cell adds scroll/paint work without
   moving a visible value (#1719). Keep horizontal pinning for narrow screens only. The column
   headings remain vertically sticky at every width. */
.inv-table tbody td[b-pjecf516wd] { background: var(--mud-palette-surface); }
@media (max-width: 1099px) {
    .inv-table tbody tr:not(.inv-band) td:nth-child(2)[b-pjecf516wd],
    .inv-table thead th:nth-child(2)[b-pjecf516wd] { position: sticky; left: 0; z-index: 2; box-shadow: 1px 0 var(--mud-palette-divider); }
    .inv-table thead th:nth-child(2)[b-pjecf516wd] { z-index: 3; }
}

/* Native buttons make the existing group/sort actions available to keyboard users. */
.inv-group-button[b-pjecf516wd], .inv-sort-button[b-pjecf516wd] {
    font: inherit; color: inherit; background: transparent; border: 0;
    padding: 0; text-align: left; cursor: pointer;
}
.inv-group-button[b-pjecf516wd] { width: 100%; min-height: 24px; }
.inv-sort-button[b-pjecf516wd] { text-transform: inherit; letter-spacing: inherit; font-weight: inherit; }
.inv-group-button:focus-visible[b-pjecf516wd], .inv-sort-button:focus-visible[b-pjecf516wd],
.inv-scroll:focus-visible[b-pjecf516wd] { outline: 2px solid var(--_acc); outline-offset: -2px; }
.inv-table .inv-group-button[b-pjecf516wd] { display: flex; align-items: center; justify-content: flex-start; }

/* Name the action on the lot itself while keeping the whole row clickable. */
.inv-lot-button[b-pjecf516wd] {
    font: inherit; color: var(--mud-palette-primary); background: transparent;
    border: 0; padding: 0; cursor: pointer; text-decoration: underline;
    text-underline-offset: 2px;
}
.inv-lot-button:focus-visible[b-pjecf516wd], .inv-mmpop > summary:focus-visible[b-pjecf516wd] {
    outline: 2px solid var(--_acc); outline-offset: 2px;
}

/* The shared no-cutoff helper marks long cells with g1-full and their table with g1-grow.
   Its automatic layout otherwise widens this 16-column table as new values appear. Keep this
   page's fixed proportions, while preserving the helper's intent: all text remains visible.
   Scope the override to Inventory; other tables retain the shared behavior. */
.inv-panel[b-pjecf516wd]  table.inv-table.g1-grow.g1-grow.g1-grow { table-layout: fixed !important; }
.inv-panel[b-pjecf516wd]  table.inv-table td,
.inv-panel[b-pjecf516wd]  table.inv-table th,
.inv-panel[b-pjecf516wd]  table.inv-table td .g1-full,
.inv-panel[b-pjecf516wd]  table.inv-table.g1-grow.g1-grow.g1-grow td,
.inv-panel[b-pjecf516wd]  table.inv-table.g1-grow.g1-grow.g1-grow th {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    overflow: visible;
    text-overflow: clip;
}

/* At laptop widths reserve room for identifiers, dates and quantities before allocating the
   descriptive columns. Keep whole numeric values on one line; descriptions can grow vertically. */
/* The scanner used to apply g1-grow only on desktop. Preserve narrow-screen wrapping now
   that Inventory supplies the class itself from the first render. */
@media screen and (min-width: 1100px) {
    .inv-panel[b-pjecf516wd]  table.inv-table.g1-grow.g1-grow.g1-grow td *:not(input):not(textarea) {
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
        overflow: visible;
        text-overflow: clip;
    }
    .inv-panel[b-pjecf516wd]  table.inv-table.g1-grow.g1-grow.g1-grow td.num { white-space: nowrap !important; overflow-wrap: normal !important; }
    .inv-panel[b-pjecf516wd]  table.inv-table.g1-grow.g1-grow.g1-grow .inv-chip,
    .inv-panel[b-pjecf516wd]  table.inv-table.g1-grow.g1-grow.g1-grow .inv-damagedchip { white-space: nowrap !important; overflow-wrap: normal !important; }
    .inv-panel[b-pjecf516wd]  table.inv-table.g1-grow.g1-grow.g1-grow th { overflow-wrap: normal !important; }
}
.inv-panel[b-pjecf516wd]  table.inv-table tbody .inv-group-button { height: auto !important; }
@media (max-width: 1600px) {
    .inv-table[b-pjecf516wd] { font-size: 11px; }
    .inv-table tbody td[b-pjecf516wd], .inv-table thead th[b-pjecf516wd] { padding-left: 2px; padding-right: 2px; }
    .inv-table thead th[b-pjecf516wd] { font-size: 9px; letter-spacing: .01em; }
    .inv-damagedchip[b-pjecf516wd] { padding: 0 1px; font-size: 8px; letter-spacing: 0; }
    .inv-chip[b-pjecf516wd] { padding: 0 3px; font-size: 9px; }
    .inv-table col:nth-child(1)[b-pjecf516wd] { width: calc(100% * 80 / 1168) !important; }
    .inv-table col:nth-child(2)[b-pjecf516wd] { width: calc(100% * 95 / 1168) !important; }
    .inv-table col:nth-child(3)[b-pjecf516wd] { width: calc(100% * 90 / 1168) !important; }
    .inv-table col:nth-child(4)[b-pjecf516wd] { width: calc(100% * 48 / 1168) !important; }
    .inv-table col:nth-child(5)[b-pjecf516wd] { width: calc(100% * 58 / 1168) !important; }
    .inv-table col:nth-child(6)[b-pjecf516wd] { width: calc(100% * 50 / 1168) !important; }
    .inv-table col:nth-child(7)[b-pjecf516wd] { width: calc(100% * 50 / 1168) !important; }
    .inv-table col:nth-child(8)[b-pjecf516wd] { width: calc(100% * 50 / 1168) !important; }
    .inv-table col:nth-child(9)[b-pjecf516wd] { width: calc(100% * 62 / 1168) !important; }
    .inv-table col:nth-child(10)[b-pjecf516wd] { width: calc(100% * 44 / 1168) !important; }
    .inv-table col:nth-child(11)[b-pjecf516wd] { width: calc(100% * 57 / 1168) !important; }
    .inv-table col:nth-child(12)[b-pjecf516wd] { width: calc(100% * 58 / 1168) !important; }
    .inv-table col:nth-child(13)[b-pjecf516wd] { width: calc(100% * 120 / 1168) !important; }
    .inv-table col:nth-child(14)[b-pjecf516wd] { width: calc(100% * 68 / 1168) !important; }
    .inv-table col:nth-child(15)[b-pjecf516wd] { width: calc(100% * 90 / 1168) !important; }
    .inv-table col:nth-child(16)[b-pjecf516wd] { width: calc(100% * 148 / 1168) !important; }
}

/* rochem-tasks#1985: the pop-up is a small table -- one row per package and site, columns that line
   up, and no wrapping (the old 420px cap folded every line in three once a part had several sites). */
.inv-mmtbl[b-pjecf516wd] { border-collapse: collapse; white-space: nowrap; }
.inv-mmtbl td[b-pjecf516wd] { padding: 2px 12px 2px 0; vertical-align: baseline; }
.inv-mmtbl td:last-child[b-pjecf516wd] { padding-right: 0; }
.inv-mmtbl th[b-pjecf516wd] { font-size: .62rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; text-align: left; color: var(--mud-palette-text-secondary); padding: 0 12px 3px 0; border-bottom: 1px solid var(--mud-palette-lines-default); }
.inv-mmtbl td.inv-mm-dmg[b-pjecf516wd] { text-align: right; }
/* The pop-up's table sits INSIDE .inv-table, so the page's own header and cell rules (sticky
   headers, a solid surface background, clipped labels, the narrow-screen sticky second column)
   reach it too. Undo them here; this table never scrolls. */
.inv-mm .inv-mmtbl thead th[b-pjecf516wd] {
    position: static; z-index: auto; background: transparent; overflow: visible;
    padding: 0 12px 3px 0; box-shadow: none;
}
.inv-mm .inv-mmtbl tbody td[b-pjecf516wd] { position: static !important; box-shadow: none !important; background: transparent; }
.inv-mmtbl td.inv-mm-unit[b-pjecf516wd] { font-size: .72rem; color: var(--mud-palette-text-secondary); }
.inv-mmtbl td.inv-mm-dmg:empty[b-pjecf516wd] { padding: 0; }
/* In a lot row's pop-up, that lot's own package and site. */
.inv-mm .inv-mmtbl tbody tr.inv-mm-line.mine > td[b-pjecf516wd] { background: var(--mud-palette-action-default-hover); font-weight: 600; }
.inv-mm .inv-mmtbl tbody tr.inv-mm-line.mine > td:first-child[b-pjecf516wd] { border-radius: 4px 0 0 4px; padding-left: 4px; }
.inv-mm .inv-mmtbl tbody tr.inv-mm-line.mine > td:last-child[b-pjecf516wd] { border-radius: 0 4px 4px 0; }

/* On-demand package key beside the sortable heading; the popup is outside the scroll box. */
.inv-package-help[b-pjecf516wd] { display: inline-block; vertical-align: middle; }
.inv-package-help[b-pjecf516wd]  .mud-icon-button { padding: 2px; }
.inv-package-help[b-pjecf516wd]  .mud-icon-root { font-size: 16px; }
.inv-package-key[b-pjecf516wd] { width: 264px; max-width: calc(100vw - 32px); padding: 12px; color: var(--mud-palette-text-primary); }
.inv-package-key dl[b-pjecf516wd] { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; margin: 8px 0 12px; font-size: .875rem; }
.inv-package-key dt[b-pjecf516wd] { font-weight: 600; }
.inv-package-key dd[b-pjecf516wd] { margin: 0; }
/* /Pages/Purchasing/InventoryLotView.razor.rz.scp.css */
/* rochem-tasks#853 — Inventory Detail. Theme variables only. */
.lot-panel[b-zyo5gvsyk7] { padding: 8px 18px 10px; border-bottom: 1px solid var(--mud-palette-divider); }
.lot-h[b-zyo5gvsyk7] {
    font-family: 'IBM Plex Sans', 'Segoe UI', Helvetica, Arial, sans-serif;
    font-size: .875rem; font-weight: 700; margin: 0 0 8px;
}
.lot-note[b-zyo5gvsyk7] { font-size: .75rem; color: var(--mud-palette-text-secondary); margin: 0 0 8px; }

.lot-kv[b-zyo5gvsyk7] { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px 18px; }
.lot-kv-cell[b-zyo5gvsyk7] { display: flex; flex-direction: column; line-height: 1.45; min-width: 0; }
.lot-kv-lbl[b-zyo5gvsyk7] {
    font-size: .6875rem; text-transform: uppercase; letter-spacing: .05em;
    color: var(--mud-palette-text-secondary);
}
.lot-kv-val[b-zyo5gvsyk7] { font-size: .8125rem; font-weight: 500; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }

.lot-tbl-wrap[b-zyo5gvsyk7] { overflow-x: auto; }
.lot-tbl[b-zyo5gvsyk7] { border-collapse: collapse; width: 100%; font-size: .8125rem; }
.lot-tbl th[b-zyo5gvsyk7] {
    text-align: left; font-size: .6875rem; text-transform: uppercase; letter-spacing: .04em;
    color: var(--mud-palette-text-secondary); padding: 4px 10px;
    border-bottom: 1px solid var(--mud-palette-divider); white-space: nowrap;
}
.lot-tbl td[b-zyo5gvsyk7] { padding: 3px 10px; border-bottom: 1px solid var(--mud-palette-table-lines); vertical-align: top; }
.lot-tbl .num[b-zyo5gvsyk7] { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lot-tbl tr.this-lot td[b-zyo5gvsyk7] { background: var(--mud-palette-action-default-hover); font-weight: 600; }
.lot-tbl td.st-open[b-zyo5gvsyk7] { font-weight: 700; }

/* The memo logs: whole, line breaks kept, scrolling inside the box rather than being cut. */
/* QD and NY side by side, so the whole lot fits a screen instead of the NY log falling below it;
   stacked again on a narrow screen. */
.lot-memos[b-zyo5gvsyk7] { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 0 18px; }
.lot-memo-wrap[b-zyo5gvsyk7] { margin-top: 10px; min-width: 0; }
.lot-memo[b-zyo5gvsyk7] {
    white-space: pre-wrap; overflow-wrap: anywhere;
    max-height: 12rem; overflow-y: auto;
    margin-top: 4px; padding: 8px 10px;
    font-size: .8125rem; line-height: 1.5;
    border: 1px solid var(--mud-palette-lines-default); border-radius: 4px;
    background: var(--mud-palette-background-gray);
}
/* /Pages/Purchasing/MinMax.razor.rz.scp.css */
/* Min Max row density (rochem-tasks#1056).

   SM: "Can you make the font smaller and remove the bold so the page isnt so large to scroll."

   She was describing something real and specific. Five of this grid's nine columns are editable,
   and every MudBlazor input renders with `mud-typography-subtitle1` on its wrapper — which in
   RochemTheme is .9375rem at weight 600. The read-only cells around them are .875rem at weight
   400 (app.css, ".mud-table .mud-table-cell"). So on a row reading

       400001 | ACETAMINOPHEN | Rx/OTC | 410 SS | 31980 | 47970 | kilogram | 001ROC01 | ...

   the five values she maintains are drawn a size larger and two weights heavier than the four
   around them, and being the tallest thing in the row they set its height for everybody. The ask
   is not a restyle: it is for the inputs to look like the row they sit in.

   SCOPED ON PURPOSE. `mud-typography-subtitle1` is on EVERY MudBlazor input in the application —
   every filter box, dialog field and search box on every page. Correcting it centrally may well
   be right, but it is a change to dozens of screens and it is not this ticket, so these rules
   reach only the Min Max grid. Nothing outside this page changes.

   ── Why the padding selectors look over-specified ──────────────────────────────────────────
   They are not; the obvious spelling silently does nothing. index.html loads MudBlazor.min.css
   AFTER the scoped-CSS bundle, and this grid renders with `mud-table-dense`, so

       .mud-table-dense * .mud-table-row .mud-table-cell { padding: 6px 24px 6px 16px }

   at (0,3,0) beats a scoped `.mmx-grid[b-x] .mud-table-cell` at (0,2,0) — and wins the tie on
   order as well. (It is already why app.css's own ".mud-table .mud-table-cell { padding: 6px
   12px }" does not govern this grid.) Matching MudBlazor's own selector and scoping it takes
   these to (0,5,0), which is decided on specificity and does not depend on load order. */

.mmx-grid[b-nvh6pe1lvx]  .mud-input.mud-input-text {
    /* Beats .mud-typography-subtitle1 on specificity (two classes against one) without having to
       remove the class MudBlazor puts there. */
    font-size: var(--mmx-type);
    font-weight: 400;
}

/* .mud-input-root is `font: inherit`, so it follows the wrapper above — except its own
   first-declared font-size/weight, which this pins so the inheritance is not the thing deciding.
   The tabular figures keep a column of five- and six-digit quantities aligned, which the plain
   cells already get from app.css. */
.mmx-grid[b-nvh6pe1lvx]  .mud-input-slot.mud-input-root {
    font-size: inherit;
    font-weight: inherit;
    line-height: var(--mmx-line);
    font-variant-numeric: tabular-nums lining-nums;
}

/* ── One size smaller, grid-wide (rochem-tasks#1056, reopened; JJ 2026-10-21: "Samantha's ask only:
   smaller font and no bold on Min/Max so it scrolls less") ──────────────────────────────
   The first pass (above) took the five editable columns down to the .875rem / 400 of the cells
   beside them, which answered "no bold" and the height those inputs were adding. "Smaller" is
   still owed: every cell on this grid, typed or printed, was .875rem (14px) with MudBlazor's
   1.5 line box. One step down -- 13px, the size the app's own dense surfaces use (app.css: the
   nav, the record cards, the filter bar's --fb-text) -- and a line box of 1.3 takes about 3px
   off every row, so a 134-row list is roughly 400px shorter at the same window. The two
   variables are read by every rule below and by the input rules above, so the typed and the
   printed cells cannot drift apart again (they did once: #1115 found the inputs a size up).
   Headers are a heading and keep their own (smaller, uppercase) treatment. Scoped to this grid:
   nothing outside Min Max changes. */
.mmx-grid[b-nvh6pe1lvx] {
    --mmx-type: .8125rem;
    --mmx-line: 1.3;
}

.mmx-grid[b-nvh6pe1lvx]  .mud-table-body .mud-table-cell {
    font-size: var(--mmx-type);
    line-height: var(--mmx-line);
}

/* The other half of the scroll. Cells are 6px top and bottom; on a grid of nine short values with
   no wrapping, 3px separates them just as well and gives 6px of a row back. */
.mmx-grid[b-nvh6pe1lvx]  .mud-table-dense * .mud-table-row .mud-table-cell {
    padding-top: 3px;
    padding-bottom: 3px;
}

/* The input's own padding sits INSIDE that cell, so it is the part actually setting the row
   height. MudBlazor's dense text input is 3px top / 7px bottom; evening it to 2px keeps the
   underline clear of the text without carrying the extra. */
.mmx-grid[b-nvh6pe1lvx]  .mud-input-root.mud-input-root-text.mud-input-root-margin-dense {
    padding-top: 2px;
    padding-bottom: 2px;
}

/* Headers keep their own weight — they are a heading, and making them lighter than the data would
   be a different complaint. Only the gap comes down, to match the rows. The header row is a
   .mud-table-row too, so it needs the same specificity as the rule above to be reached. */
.mmx-grid[b-nvh6pe1lvx]  .mud-table-dense * .mud-table-head .mud-table-row .mud-table-cell {
    padding-top: 4px;
    padding-bottom: 4px;
}

/* ── The cells you can type in have to LOOK like it (rochem-tasks#1115) ─────────────────────
   MC, 2026-09-24: "we are not able to edit the notes in either column or edit the min max items
   themselves."

   They were always editable, and they still are: SM saved through this page on 23 September.
   What changed is that nothing on screen says so any more. The rules above deliberately took the
   inputs down to the read-only cells' .875rem / 400 — which was the right answer to SM's ask and
   is kept — but that size and weight difference was also the only thing distinguishing a box you
   type in from a value you cannot. Erase it and a row of nine cells reads as nine printed values.
   Two days later, a second person who maintains this screen reported all five editable cells as
   broken at once, which no functional fault produces and a missing affordance produces exactly.

   So: give them a surface instead of a size. A faint tint and a rounded edge say "field" at a
   glance and on a printed row, cost no font change, and cost no ROW HEIGHT either — the padding
   added here is horizontal, and the vertical padding set above is untouched. SM's page is still
   the same number of rows tall.

   Palette variables, never a hex, so this follows the theme like everything else. */
.mmx-grid[b-nvh6pe1lvx]  .mud-input.mud-input-text {
    background-color: var(--mud-palette-action-default-hover);
    border-radius: 3px;
    padding-left: 5px;
    padding-right: 5px;
}

/* The underline MudBlazor's text variant already draws is a hairline at this size. Against the
   tint above it is what carries the affordance on a printout and for anyone who cannot pick the
   tint out, so it is made a real line rather than left to chance. */
.mmx-grid[b-nvh6pe1lvx]  .mud-input.mud-input-text:not(.mud-disabled):before {
    border-bottom: 1px solid var(--mud-palette-lines-inputs);
}

/* ── Fit more of the table on screen, and let the notes be read (rochem-tasks#1115) ─────────
   JJ, 2026-09-25, with WBI2's Min Max beside WBI3's at the same window size: WBI2 shows about 45
   rows with its Min Max Updates/Comments column wrapped and fully readable; WBI3 showed 13 with
   the note cut off mid-word. Two separate faults with one symptom.

   The note columns now auto-grow (see the page), which fixes the reading. The rules below give
   the grid back the height that page furniture was spending: MudBlazor's dense table still pads
   each cell 6px top and bottom INSIDE a row whose input already carries its own padding, and the
   toolbar above the grid carries a default 16px block. Nothing here changes a font size - SM's
   #1056 ask is untouched. */

/* The note cells are the only ones allowed to be tall, and they set their own height from the
   text rather than from a fixed row height. Top-aligned so a three-line note does not push the
   single-line values in the same row to the middle. */
.mmx-grid[b-nvh6pe1lvx]  .mud-table-cell.mmx-note {
    vertical-align: top;
    min-width: 18rem;
}

/* The note columns are <textarea> (Lines="2" on the page) because that is the only element that
   wraps. The height is capped and made content-driven HERE rather than on the component, because
   MudTextField 9.5 has no AutoGrow: its MaxLines does nothing on its own, so a rows="2" textarea
   would otherwise be two lines tall on every row, including the blank ones -- and giving the grid
   back rows is the other half of the same send-back (JJ, 2026-09-25).

   field-sizing: content sizes the box to the text. It is Chromium 123+, which is what WBI3 is used
   in, and it degrades to exactly the rows="2" box in anything older -- the note is READABLE either
   way, which is the part that was broken; only the tightness of a blank row depends on it.

   min-height keeps a short or empty note to ONE line, so the row is no taller than any other.
   max-height caps a long one at three and scrolls inside itself, which is what the column promised.
   resize: vertical leaves the person a handle if they want more.
   1.4em tracks the line box, so this follows #1056's type size instead of fighting it. */
.mmx-grid[b-nvh6pe1lvx]  .mmx-note textarea {
    field-sizing: content;
    min-height: 1.4em;
    max-height: 4.2em;
    overflow-y: auto;
    resize: vertical;
}

/* A wrapped note is the only thing on this grid that may wrap; every other column stays on one
   line, per the standing rule (one line per row, scroll sideways for the rest). */
.mmx-grid[b-nvh6pe1lvx]  .mud-table-cell:not(.mmx-note) {
    white-space: nowrap;
}

/* The grid's own toolbar (result count, actions) sits between the filters and the header row and
   carries MudBlazor's default block padding. It holds one line of text. */
.mmx-grid[b-nvh6pe1lvx]  .mud-table-toolbar {
    min-height: 0;
    padding-top: 2px;
    padding-bottom: 2px;
}

/* Same for the pager underneath, which is a second full toolbar height at the bottom of a page
   that shows every row at once. */
.mmx-grid[b-nvh6pe1lvx]  .mud-table-pagination {
    min-height: 0;
    padding-top: 2px;
    padding-bottom: 2px;
}

/* ── The narrow inputs must still fit their value (rochem-tasks#1157) ─────────────────
   The two note columns above each hold 18rem, and the table hands whatever is left to the
   other nine columns. At 1366px wide that left Stock Min, Stock Max and P&L with 34px boxes,
   and a five-digit quantity does not fit in 34px: staging's first look on 2026-09-29 measured
   "31980" 16px wider than its box on 9 rows, "47970" on 11, and "SG" 4px over on the P&L
   column. Below the minimum the table scrolls sideways instead, which is the standing rule.

   5rem holds six tabular digits at .875rem with the 5px of input padding either side; 3.5rem
   holds the two- and three-letter P&L marks on file (nvarchar(50), but the values are initials). */
.mmx-grid[b-nvh6pe1lvx]  .mud-table-cell.mmx-num {
    min-width: 5rem;
}

.mmx-grid[b-nvh6pe1lvx]  .mud-table-cell.mmx-pl {
    min-width: 3.5rem;
}

/* rochem-tasks#1872 -- Package and Location became pickers. Measured on prod 2026-11-06: the
   longest package on a line is "23.4 Kg/15 Buo D" (16 characters) and the longest active code
   "001ROC01666999" (14), so 10rem holds either plus the dropdown arrow without cutting it off. */
.mmx-grid[b-nvh6pe1lvx]  .mud-table-cell.mmx-pkg,
.mmx-grid[b-nvh6pe1lvx]  .mud-table-cell.mmx-loc {
    min-width: 10rem;
}

/* Keep Submit reachable while scrolling the grid (rochem-tasks#1457).
   Sticky retains the bar's space at the end so the final row stays reachable.
   The paper's right padding leaves room for the app's floating feedback button. */
.mmx-actions[b-nvh6pe1lvx] {
    position: sticky;
    bottom: 0;
    z-index: 5;
    margin-top: 8px;
    background: var(--mud-palette-surface);
    border-top: 1px solid var(--mud-palette-lines-default);
}

/* rochem-tasks#1986: a viewer sees the notes as text; keep the dated lines readable. */
.mmx-grid[b-nvh6pe1lvx]  .mmx-note-text { white-space: pre-wrap; }

/* rochem-tasks#2116: Available opens its lots, PO Qty its POs -- both read as links. */
.mmx-grid[b-nvh6pe1lvx]  .mmx-link { color: var(--mud-palette-primary); text-decoration: underline; cursor: pointer; }
.mmx-grid[b-nvh6pe1lvx]  .mmx-po-menu .mud-button-root { min-width: 0; padding: 0 2px; font-weight: 400; text-decoration: underline; text-transform: none; }

/* rochem-tasks#2116 -- Available's breakdown, in the menu's popover: what adds to stock, what takes
   away, and the result against Min/Max, in columns that line up. */
.mmx-bd[b-nvh6pe1lvx] { border-collapse: collapse; margin: 6px 12px 2px; font-size: 0.8125rem; white-space: nowrap; }
.mmx-bd th[b-nvh6pe1lvx] { text-align: left; font-weight: 600; font-size: 0.75rem; color: var(--mud-palette-text-secondary); padding: 2px 10px 4px; border-bottom: 1px solid var(--mud-palette-lines-default); }
.mmx-bd td[b-nvh6pe1lvx] { padding: 3px 10px; }
.mmx-bd .mmx-bd-num[b-nvh6pe1lvx] { text-align: right; font-variant-numeric: tabular-nums; }
.mmx-bd-sec td[b-nvh6pe1lvx] { padding-top: 8px; font-weight: 700; color: var(--mud-palette-primary); }
.mmx-bd-sub td[b-nvh6pe1lvx] { font-weight: 600; border-top: 1px solid var(--mud-palette-lines-default); }
.mmx-bd-result td[b-nvh6pe1lvx] { font-weight: 700; border-top: 2px solid var(--mud-palette-text-primary); padding-top: 6px; }
.mmx-bd-muted[b-nvh6pe1lvx], .mmx-bd-muted td[b-nvh6pe1lvx] { color: var(--mud-palette-text-secondary); }
.mmx-bd .mmx-bd-call[b-nvh6pe1lvx] { font-weight: 700; padding-top: 6px; }
/* /Pages/Purchasing/NotRcvdYet.razor.rz.scp.css */
/* #1349: give text room to wrap without a percentage colgroup inflating the table.
   Keep dates, identifiers and amounts intact; preserve horizontal scrolling if their
   intrinsic widths exceed a small screen. All selectors stay inside this report. */
.report-screen-fit[b-9i7m6soq26]  .rv-table td.rv-wrap { min-width: 0; max-width: none; }
.report-screen-fit[b-9i7m6soq26]  .rv-table td,
.report-screen-fit[b-9i7m6soq26]  .rv-table th { padding-left: 3px; padding-right: 3px; }

/* The same comments also appear in a full-width memo row. Its collapsed nowrap
   style otherwise gives the entire table the width of an unbroken paragraph. */
.report-screen-fit[b-9i7m6soq26]  .rv-table tr.rv-memo td {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: normal;
    word-break: normal;
}
/* /Pages/Purchasing/PmCostDialog.razor.rz.scp.css */
.pm-cost-unit + .pm-cost-unit[b-69qyp99r8y] { margin-top: 1rem; }
.pm-cost-unit[b-69qyp99r8y]  .pm-cost-table { overflow-x: auto; max-width: 100%; }
.pm-cost-unit[b-69qyp99r8y]  th,
.pm-cost-unit[b-69qyp99r8y]  td { white-space: nowrap; }
.pm-cost-unit[b-69qyp99r8y]  a { color: var(--mud-palette-primary); }
/* /Pages/Purchasing/PmFigureDialog.razor.rz.scp.css */
.pm-figure-summary[b-erqnc1gmky] { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 12px; }
.pm-figure-lines[b-erqnc1gmky] { max-width: 100%; overflow-x: auto; }
.pm-figure-lines[b-erqnc1gmky]  td { white-space: normal; overflow-wrap: anywhere; }
.pm-figure-lines[b-erqnc1gmky]  th { text-align: left; }
/* /Pages/Purchasing/PmLandedCostDialog.razor.rz.scp.css */
.pm-landed[b-fctjkfg3z6]  .pm-landed-table { overflow-x: auto; max-width: 100%; }
.pm-landed[b-fctjkfg3z6]  th,
.pm-landed[b-fctjkfg3z6]  td { white-space: nowrap; }
.pm-landed[b-fctjkfg3z6]  .pm-landed-number { text-align: right; font-variant-numeric: tabular-nums; }
.pm-landed[b-fctjkfg3z6]  .pm-landed-total td { font-weight: 600; border-top: 1px solid var(--mud-palette-lines-default); }
.pm-landed[b-fctjkfg3z6]  .pm-landed-out td { color: var(--mud-palette-text-secondary); }
.pm-landed[b-fctjkfg3z6]  a { color: var(--mud-palette-primary); }
.pm-landed[b-fctjkfg3z6]  td.pm-landed-memo { white-space: normal; min-width: 16rem; }
/* /Pages/Purchasing/ProductManager.razor.rz.scp.css */
/* Product Manager — density pass. JJ: "i don't like the horizontal scroll ... so much
   scrolling here" — same information, tighter. The KPI tiles become one slim strip, the
   fourteen-column grid fits the viewport with no sideways scroll, and the part view packs
   its tables side-by-side instead of stacking. All colors stay on theme tokens and the
   Purchasing accent; every rule is scoped to this page. */

/* ── KPI strip ────────────────────────────────────────────────────────────────
   The page used .rcm-kpi-row, which is defined NOWHERE — so the six KpiTiles fell back
   to plain full-width blocks and cost a whole screen before the grid started. This is
   SystemInfo's .rcm-health-strip recipe, tightened further: a data page wants the numbers
   as one slim strip, not six landing-page cards. (::deep pierces KpiTile; the extra
   .rcm-kpi-tile hop keeps these overrides more specific than KpiTile's own scoped CSS,
   whose selectors weigh the same as a two-class rule and would win on bundle order.) */
.pm-kpi-strip[b-anogdhytsf] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 8px;
}
.pm-kpi-strip[b-anogdhytsf]  .rcm-kpi-tile {
    padding: 5px 10px;
    border-radius: 6px;
}
.pm-kpi-strip[b-anogdhytsf]  .rcm-kpi-tile .rcm-kpi-value {
    font-size: 15px;
    margin: 1px 0 0;
}
.pm-kpi-strip[b-anogdhytsf]  .rcm-kpi-tile .rcm-kpi-foot { min-height: 0; }

.pm-stock-link[b-anogdhytsf],
.pm-stock-tile[b-anogdhytsf] {
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: inherit;
    cursor: pointer;
}
.pm-stock-link[b-anogdhytsf] {
    max-width: 100%;
    white-space: normal;
    color: var(--mud-palette-primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.pm-stock-tile[b-anogdhytsf] { width: 100%; text-align: left; display: block; }
.pm-stock-tile[b-anogdhytsf]  .rcm-kpi-value { color: var(--mud-palette-primary); text-decoration: underline; }
.pm-stock-link:focus-visible[b-anogdhytsf],
.pm-stock-tile:focus-visible[b-anogdhytsf] { outline: 2px solid var(--mud-palette-primary); outline-offset: 2px; }

/* ── Portfolio grid: fourteen columns, NO horizontal scroll ──────────────────
   The NeedsInvoicingGrid recipe (rochem-tasks#215, learned the hard way over three
   passes): the table is laid out FIXED at exactly the container's width, so it can never
   be wider than the screen, and the columns share the room out by the percentage on each
   column's header. Each percentage is sized to that column's real worst case — money like
   "$3,549,998" gets room, Unit/UoM/Customers need almost none — and Product, the one
   column with no natural width, takes the remainder and truncates with a tooltip. */
.pm-grid[b-anogdhytsf]  .mud-table table {
    table-layout: fixed !important;
    width: 100% !important;
    min-width: 0 !important;
}
/* !important because MudBlazor sets overflow-x:auto on the container from its own
   stylesheet and wins the cascade otherwise — the fitted table would still grow a bar. */
.pm-grid[b-anogdhytsf]  .mud-table-container { overflow-x: hidden !important; }
/* One line per value: a cell that cannot fit truncates rather than wrapping the row. */
/* !important on the padding and the size too, for the same reason min-width already had it:
   MudBlazor's own cell rule was winning, so cells were rendering at 14px with 40px of
   horizontal padding -- its defaults, not these. That is what truncated the DATA: a six-digit
   part number showed as "6001..." because 40px of the cell was padding. Measured on staging:
   the text is 51px wide in an 86px cell that only offered 46px of room. */
.pm-grid[b-anogdhytsf]  .mud-table-cell {
    min-width: 0 !important;
    padding: 3px 4px !important;
    font-size: .6875rem !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* HEADINGS -- minimal on purpose. Five attempts at overriding MudBlazor's header layout
   each fixed one thing and broke another: truncating clipped the labels from the LEFT
   ("Position" -> "ition"), wrapping put the sort arrow on its own line so the row sat at two
   heights, and forcing every child to flex and fill the cell made the labels escape their
   column and print on top of each other ("PaPosikagien").

   So nothing here touches layout any more. Only the type size. The two real faults are fixed
   at their source instead:
     - the labels are SHORT enough to fit (Position, Demand, Net, Buyers), so nothing needs
       truncating;
     - the headers are no longer right-aligned. That was the whole cause of the left-side
       clipping: .mud-table-cell's overflow:hidden applies to a <th> too, and on right-aligned
       content it eats the START of the word with no ellipsis to show for it. Values stay
       right-aligned, which is where it actually matters for reading numbers. */
.pm-grid[b-anogdhytsf]  .mud-table-head .mud-table-cell { font-size: .65rem; }

/* rochem-tasks#1988 (JJ, 2026-11-16): numbers START where their heading starts -- heading and number
   both left-aligned. This replaces the 2026-09-10 right alignment below; the rules are kept, flipped. */
.pm-grid[b-anogdhytsf]  tbody .pm-num { text-align: left; }

/* A numeric HEADER sits right, over its numbers (JJ, 2026-09-10: "can you fix this alignment").
   A left-aligned heading above a right-aligned column reads as two different columns, which on a
   grid this wide is exactly what it looked like.

   The earlier note here said this could not be done: .mud-table-cell has overflow:hidden, it
   reaches a <th>, and a right-aligned overflow clips from the LEFT -- which is what once turned
   "Position" into "ition". That was true of right-alignment ALONE. The missing half is `white-space:
   normal`: allowed to WRAP, the header no longer overflows, so there is nothing to clip.

   Measured on staging before shipping, at a 929px viewport where the columns are at their most
   cramped -- the two headers that were being clipped even LEFT-aligned stopped being clipped once
   they could wrap:

       header        left-aligned (before)      right-aligned + wrap (after)
       Position $    needs 55px in 53  CLIPPED  needs 53px in 53  fits
       Open orders   needs 68px in 53  CLIPPED  needs 53px in 53  fits, over two lines

   So this is not a trade against the old fix; it removes the cause the old fix was working around.
   overflow:visible is belt and braces for a narrower viewport than any measured here. */
.pm-grid[b-anogdhytsf]  thead .pm-num {
    text-align: left;
    white-space: normal;
    overflow: visible;
}

/* ...and the SORT CONTROL must not push the label off that edge (JJ, 2026-09-10: "i think its
   because the header has that sorting option its offsetting the number, you have to take that into
   account"). He was right, and text-align alone could not fix it.

   MudBlazor builds every header as a flex row:

       <span class="column-header">          display:flex; justify-content:space-between
         <span class="sortable-column-header">Cost</span>
         <span class="column-options">        the sort arrow, and its order number when sorted
       </span>

   space-between pins the LABEL left and the OPTIONS right, and flex placement beats text-align --
   so the heading sat a whole sort-icon away from its figures, and further still on the sorted
   column, where the indicator grows by an arrow plus an order number.

   row-reverse puts the options FIRST visually and leaves the label flush right, exactly over the
   numbers. Measured on staging at 1920px, clean page, gap between the label's right edge and the
   figure's right edge:

       column        shipped   with this rule
       Position         4px         0
       Position $       0           0
       Open orders      0           0
       Blanket          1px         0
       Cost            18px         0
       Price           15px         0

   The sort control stays exactly as clickable; only its side changes. */
.pm-grid[b-anogdhytsf]  thead .pm-num .column-header {
    flex-direction: row;
    justify-content: flex-start;
}
.pm-grid[b-anogdhytsf]  .mud-button-root { min-width: 0; padding: 1px 6px; font-size: .6875rem; }
/* padding 0 5px, not MudBlazor's 0 8px, and no margin (rochem-tasks#2089): an 18px-high pill in a
   fixed-width column needs its room for the figure, not for air either side of it. Six px is the
   difference between "-158.9%" fitting the Margin column and being cut to "-158...". */
.pm-grid[b-anogdhytsf]  .mud-chip { margin: 0 2px 0 0; height: 18px; font-size: .65rem; }
.pm-grid[b-anogdhytsf]  tbody .mud-chip { margin: 0; padding: 0 5px; }
/* The Flags column and its .pm-flags rule are gone (JJ, 2026-09-10: "get rid of the flags").
   Its 10% went back to the columns either side of it. */

/* The key under the grid. One quiet line, after the data, defining the two marks a reader cannot
   work out by looking. Small and secondary on purpose — this replaced nothing louder, and it must
   not become the banner that was taken off the top of this page the same day. */
.pm-key[b-anogdhytsf] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
    padding: 6px 4px 0;
    font-size: .7rem;
    line-height: 1.4;
    color: var(--mud-palette-text-secondary);
}
/* rochem-tasks#893 -- the Product cell WRAPS. Every other cell stays one line (the nowrap rule above);
   this one is allowed to grow the row, because a name cut to "SOY PROTEIN ISOLATE ..." on four rows in
   a row is unreadable, and the fitting-a-wide-grid rule leaves row height as the only thing to give.
   overflow-wrap NORMAL, not break-word: a long token wraps at a space or not at all, it is never split
   mid-word. */
.pm-grid[b-anogdhytsf]  tbody .mud-table-cell.pm-wrap {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    overflow-wrap: normal;
    word-break: normal;
    line-height: 1.25;
}
.pm-product[b-anogdhytsf] { display: block; white-space: normal; overflow-wrap: normal; }

/* The product name is the one column with no natural width — truncate it inside its
   fixed column; the full name rides on the tooltip. */
.pm-ellipsis[b-anogdhytsf] {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: bottom;
}
/* Phone: the fixed fit is a desktop trade. Small screens size to content and scroll
   sideways, which is how the other WBI3 grids already behave there. */
@media (max-width: 600px) {
    .pm-grid[b-anogdhytsf]  .mud-table table { table-layout: auto !important; width: auto !important; }
    .pm-grid[b-anogdhytsf]  .mud-table-container { overflow-x: auto !important; }
}

/* ── Part / customer detail: about a screen and a half, not four ─────────────
   The stat tiles use the strip above; here the card chrome and sub-table cells give back
   the vertical space MudBlazor's defaults spend (16px paddings on a page whose point is
   the numbers). The side-by-side arrangement itself is on the MudItems in the page. */
.pm-detail[b-anogdhytsf]  .mud-card-content { padding: 8px 12px; }
.pm-detail[b-anogdhytsf]  .rcm-accent-table th,
.pm-detail[b-anogdhytsf]  .rcm-accent-table td {
    padding: 3px 8px;
    font-size: .75rem;
}

/* ── Long tables scroll INSIDE their card ────────────────────────────────────
   The monthly price/cost table (12+ rows), purchase history (often 20+) and the open-
   orders panel used to run off the bottom of the viewport and get sliced mid-row — JJ:
   "when opening the page i just dont like how it all cut off looks bad." A bounded
   height ends each card cleanly on a row edge and keeps the part view to about a
   screen; every row stays reachable by scrolling inside the card. */
.pm-detail[b-anogdhytsf]  .pm-scroll .mud-table-container {
    max-height: 320px;
    overflow-y: auto;
}
/* The header must survive the internal scroll or a reader 15 rows down loses which
   column is which. Opaque background because a sticky header floats OVER the rows. */
.pm-detail[b-anogdhytsf]  .pm-scroll thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--mud-palette-surface);
}

.pm-detail[b-anogdhytsf]  .pm-subtotal > th,
.pm-detail[b-anogdhytsf]  .pm-subtotal > td {
    font-weight: 600;
    background: var(--mud-palette-background-grey);
    border-top: 1px solid var(--mud-palette-lines-default);
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

/* Collapsed purchase-history runs: the ×N is a footnote on the date, not a value —
   quiet enough not to read as part of the price column. */
.pm-run-count[b-anogdhytsf] {
    margin-left: 4px;
    font-size: .65rem;
    color: var(--mud-palette-text-secondary);
}

/* Open-orders rows drill into the order view, so they must LOOK clickable — the same
   affordance a MudLink gives the contract customers above. */
.pm-detail[b-anogdhytsf]  .pm-row-link { cursor: pointer; }
.pm-detail[b-anogdhytsf]  .pm-row-link:hover td { background: var(--mud-palette-action-default-hover); }
/* Keep header actions below the label. Shared hover controls otherwise cover the
   clickable text in this fitted grid. Reserve the same two rows in every header. */
.pm-grid[b-anogdhytsf]  thead th .column-header,
.pm-grid[b-anogdhytsf]  thead th.pm-num .column-header {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}
.pm-grid[b-anogdhytsf]  thead th.pm-num .column-header { align-items: flex-start; }
.pm-grid[b-anogdhytsf]  thead .sortable-column-header {
    min-height: 26px;
    display: flex;
    align-items: flex-end;
    white-space: normal;
}
.pm-grid[b-anogdhytsf]  thead th .column-options {
    position: static;
    display: flex;
    align-items: center;
    height: 16px;
}
.pm-grid[b-anogdhytsf]  thead .column-options .mud-icon-button {
    width: 16px;
    height: 16px;
    padding: 0;
}
.pm-grid[b-anogdhytsf]  thead .column-options .mud-icon-root { font-size: 14px; }
.pm-grid[b-anogdhytsf]  thead .column-options .mud-sort-index { display: none; }
/* rochem-tasks#1955 -- the block above made the header's label box full width, and the TEXT inside
   it then sat at the box's left: the label box ended over the figures, the word did not ("On hand"
   ended 41px left of 5,768 at 1885px). Measured on staging with this rule: 0px on all eight. */
/* rochem-tasks#1988: numbers now start under the START of their heading, so the word sits left too. */
.pm-grid[b-anogdhytsf]  thead th.pm-num .sortable-column-header {
    justify-content: flex-start;
    text-align: left;
}

.pm-buyer-row[b-anogdhytsf] { cursor: pointer; }
.pm-buyer-row:hover[b-anogdhytsf] { background: var(--mud-palette-action-default-hover); }
.pm-buyer-link[b-anogdhytsf] { border: 0; padding: 0; background: none; color: var(--mud-palette-primary); text-decoration: underline; font: inherit; cursor: pointer; }
.pm-buyer-link:disabled[b-anogdhytsf] { color: inherit; text-decoration: none; cursor: default; }
.pm-buyer-link:focus-visible[b-anogdhytsf] { outline: 2px solid var(--mud-palette-primary); outline-offset: 3px; }
/* /Pages/Purchasing/ProductManagerBuyersDialog.razor.rz.scp.css */
.pm-buyer-table[b-ykv7wlarml] { overflow-x: auto; }
.pm-buyer-table[b-ykv7wlarml]  th,
.pm-buyer-table[b-ykv7wlarml]  td { white-space: nowrap; }
.pm-buyer-number[b-ykv7wlarml] { text-align: right; font-variant-numeric: tabular-nums; }
.pm-buyer-title[b-ykv7wlarml] { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; width: 100%; padding-right: 8px; }
/* /Pages/Purchasing/ProductManagerStockDialog.razor.rz.scp.css */
.pm-stock-locations[b-5geow520t6] { min-width: 0; }
.pm-stock-total[b-5geow520t6] { margin-bottom: 12px; }
.pm-stock-summary[b-5geow520t6] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 4px 16px;
    min-width: 0;
}
.pm-stock-name[b-5geow520t6] { overflow-wrap: anywhere; }
.pm-stock-quantities[b-5geow520t6] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 12px;
    font-variant-numeric: tabular-nums;
}
.pm-stock-quantities > span[b-5geow520t6] { white-space: nowrap; }
.pm-stock-locations[b-5geow520t6]  .pm-stock-table { overflow-x: auto; }
.pm-stock-locations[b-5geow520t6]  .pm-stock-table th,
.pm-stock-locations[b-5geow520t6]  .pm-stock-table td { white-space: normal; overflow-wrap: anywhere; }
.pm-stock-locations[b-5geow520t6]  .pm-stock-table .pm-stock-qty { white-space: nowrap; font-variant-numeric: tabular-nums; }
/* /Pages/Regulatory/CoaExtensions.razor.rz.scp.css */
/* rochem-tasks#1590 -- the cells edited in the grid sit at the grid's own row height and text size. */
[b-0wjyqfbxuf] .coa-inline { margin: 0; }
[b-0wjyqfbxuf] .coa-inline .mud-input { font-size: inherit; }
[b-0wjyqfbxuf] .coa-inline .mud-input-slot { padding-top: 2px; padding-bottom: 2px; }
/* "Too early": the ask-again date sits beside the status, so it stays narrow. */
[b-0wjyqfbxuf] .coa-again { max-width: 8.5rem; }
/* /Pages/Regulatory/ComplaintLog.razor.rz.scp.css */
/* rochem-tasks#253 (MM): WBI2 shows Nature of Complaint as a tall wrapping box.
   244 of the 369 complaints are longer than one line (longest 644 chars), so a
   single-line cell showed a fragment and hid the complaint itself. Give the
   column real width and let it wrap the way WBI2 does. */
.complaint-log[b-mu3lvvbvkh]  th.cl-nature,
.complaint-log[b-mu3lvvbvkh]  td.cl-nature {
    min-width: 320px;
    max-width: 420px;
    white-space: normal;
    vertical-align: top;
}

.complaint-log[b-mu3lvvbvkh]  td.cl-nature textarea {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    line-height: 1.35;
}

/* rochem-tasks#1155: the list inside the not-saved banners (refused part numbers, write conflicts). */
.cl-issues[b-mu3lvvbvkh] {
    margin: 0.25rem 0 0.5rem 1.1rem;
    padding: 0;
}

/* rochem-tasks#1180: a read-only value is plain text that wraps, sitting where its box used to. */
.cl-ro[b-mu3lvvbvkh] { white-space: normal; overflow-wrap: break-word; }

/* rochem-tasks#1558: Nature of Complaint as text keeps the line breaks it was typed with. */
.cl-nature-text[b-mu3lvvbvkh] { white-space: pre-wrap; }

/* rochem-tasks#1627: the "Damage" link after an RCM that has a damage record. */
.complaint-log[b-mu3lvvbvkh]  .cl-damage-link {
    margin-left: 0.3rem;
    font-size: 0.75rem;
    font-weight: 600;
}
/* /Pages/Regulatory/LogisticsDamages.razor.rz.scp.css */
/* rochem-tasks#1405 — one flat row in WBI2's order, labels in the column headers.

   Every column gets a floor wide enough for its value, so the table grows past the screen and the
   grid scrolls sideways instead of squeezing two fields into one slot (JJ prefers scroll to hidden
   columns). Long headers ("Email Sent To Manufacturer Date") wrap onto two lines rather than
   setting the column width. Cells align to the top so a tall memo does not push its neighbours
   to the middle of the row. */
.logistics-damages[b-5sk9hgzyeh]  th.mud-table-cell {
    white-space: normal;
    vertical-align: bottom;
}

.logistics-damages[b-5sk9hgzyeh]  td.mud-table-cell {
    vertical-align: top;
}

.logistics-damages[b-5sk9hgzyeh]  .ld-ref     { min-width: 120px; white-space: nowrap; }
.logistics-damages[b-5sk9hgzyeh]  .ld-text    { min-width: 260px; max-width: 360px; }
.logistics-damages[b-5sk9hgzyeh]  .ld-lot     { min-width: 130px; }
.logistics-damages[b-5sk9hgzyeh]  .ld-qty     { min-width: 90px; }
.logistics-damages[b-5sk9hgzyeh]  .ld-cat     { min-width: 150px; }
.logistics-damages[b-5sk9hgzyeh]  .ld-created { min-width: 110px; white-space: nowrap; }
.logistics-damages[b-5sk9hgzyeh]  .ld-date    { min-width: 150px; }
.logistics-damages[b-5sk9hgzyeh]  .ld-check   { min-width: 90px; max-width: 120px; text-align: center; }

/* Memo / description: wrap the text inside the box, never cut it. The app-wide edit-box rule
   (grid-edit-boxes.css) sizes a textarea to its content and caps only its height, so without a
   max-width a long memo would run out as one very wide line instead of wrapping. */
.logistics-damages[b-5sk9hgzyeh]  td.ld-text textarea {
    min-width: 240px;
    max-width: 340px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    line-height: 1.35;
}

/* WBI2's Qty box is right-aligned, as numbers are. */
.logistics-damages[b-5sk9hgzyeh]  td.ld-qty input {
    text-align: right;
}

/* rochem-tasks#1627: one complaint number per line in the Complaint column. */
.logistics-damages[b-5sk9hgzyeh]  .ld-complaint-link { display: block; white-space: nowrap; }
/* /Pages/Regulatory/PartNumberList.razor.rz.scp.css */
/* JJ's approved desktop concept. Scoped to this catalog; other reports keep their layout. */
.part-number-list[b-depeermxbl] { min-width: 0; }
.part-number-list[b-depeermxbl]  .rv-catalog { --rpt-font: 13px; gap: 8px; height: calc(100dvh - 100px); }
.part-number-list[b-depeermxbl]  .rv-headline { padding: 4px 8px; gap: 8px; background: transparent; }
.part-number-list[b-depeermxbl]  .rv-title-wrap { flex: 1 1 auto; gap: 4px; flex-direction: column; }
.part-number-list[b-depeermxbl]  .rv-title { font-size: 20px; line-height: 1.25; }
.part-number-list[b-depeermxbl]  .rv-kicker { font-size: 10px; }
.part-number-list[b-depeermxbl]  .rv-headline .rv-spacer { display: none; }
.part-number-list[b-depeermxbl]  .rv-icon-btn { width: auto; min-height: 30px; gap: 4px; padding: 4px 7px; }
.part-number-list[b-depeermxbl]  .rv-options-inline { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.part-number-list[b-depeermxbl]  .rv-catalog-search { padding: 0 8px; }
.part-number-list[b-depeermxbl]  .rv-search-wrap { position: relative; width: min(600px, 100%); max-width: 100%; }
.part-number-list[b-depeermxbl]  .rv-search-inline { box-sizing: border-box; width: 100%; max-width: none; min-width: 0; height: 36px; font-size: 14px; padding: 6px 10px 6px 30px; border: 1px solid var(--rpt-border); border-radius: var(--rpt-radius-md); background: var(--rpt-surface); color: var(--rpt-text); }
.part-number-list[b-depeermxbl]  .rv-search-inline:focus-visible { outline: 2px solid var(--rpt-accent); outline-offset: 1px; }
.part-number-list[b-depeermxbl]  .rv-search-icon { position: absolute; left: 8px; width: 18px; height: 18px; }
.part-number-list[b-depeermxbl]  .rv-filter-drawer { display: flex; flex-wrap: wrap; align-items: end; gap: 10px; overflow: visible; padding: 0 8px; background: transparent; }
.part-number-list[b-depeermxbl]  .rv-filter-item[data-filter] { display: flex; flex: 1 1 135px; min-width: 0; flex-direction: column; align-items: stretch; gap: 4px; }
.part-number-list[b-depeermxbl]  .rv-filter-item[data-filter="MFR"] { flex: 1.6 1 220px; }
.part-number-list[b-depeermxbl]  .rv-filter-item[data-filter="Active"] { flex: .7 1 110px; }
.part-number-list[b-depeermxbl]  .rv-filter-label { color: var(--rpt-text); font-weight: 600; font-size: 12px; }
.part-number-list[b-depeermxbl]  .rv-filter-item > select,
.part-number-list[b-depeermxbl]  .rv-filter-item > details { width: 100%; min-width: 0; max-width: none; }
.part-number-list[b-depeermxbl]  .rv-multi > summary,
.part-number-list[b-depeermxbl]  .rv-filter-item > select { box-sizing: border-box; min-height: 34px; max-width: none; padding: 6px 28px 6px 10px; font-size: 13px; }
.part-number-list[b-depeermxbl]  .rv-multi-panel { min-width: min(280px, 80vw); max-width: min(420px, 85vw); }
.part-number-list[b-depeermxbl]  .rv-catalog-clear { min-height: 34px; white-space: nowrap; }
.part-number-list[b-depeermxbl]  .rv-catalog-clear:disabled { opacity: .5; cursor: default; }
.part-number-list[b-depeermxbl]  .rv-catalog-chips { padding: 0 8px; }
.part-number-list[b-depeermxbl]  .rv-catalog-chips:empty { display: none; }
.part-number-list[b-depeermxbl]  .rv-catalog-chips .rv-chip-clear { display: none; }
.part-number-list[b-depeermxbl]  .rv-catalog-results { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 0 8px; }
.part-number-list[b-depeermxbl]  .rv-catalog-count { font-size: 16px; font-weight: 600; }
.part-number-list[b-depeermxbl]  .rv-view-end { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.part-number-list[b-depeermxbl]  .rv-organize { display: inline-flex; flex-direction: row; align-items: center; gap: 5px; }
.part-number-list[b-depeermxbl]  .rv-organize select { height: 30px; }
.part-number-list[b-depeermxbl]  .rv-gsep,
.part-number-list[b-depeermxbl]  .rv-gtotal { display: none; }
.part-number-list[b-depeermxbl]  .rv-gcount { margin-left: 8px; }
.part-number-list[b-depeermxbl]  .rv-table { font-size: 13px; }
.part-number-list[b-depeermxbl]  .rv-data > td { padding: 6px; line-height: 1.35; }
.part-number-list[b-depeermxbl]  .rv-data > td[data-label="Product"],
.part-number-list[b-depeermxbl]  .rv-data > td[data-label="Manufacturer"] { white-space: normal; overflow-wrap: break-word; }
@media (max-width: 900px) {
    .part-number-list[b-depeermxbl]  .rv-title-wrap { flex-basis: 100%; }
    .part-number-list[b-depeermxbl]  .rv-view-end { margin-left: 0; }
}
@media (max-width: 600px) {
    .part-number-list[b-depeermxbl]  .rv-catalog { height: auto; min-height: calc(100dvh - 100px); overflow: visible; }
    .part-number-list[b-depeermxbl]  .rv-filter-item[data-filter],
    .part-number-list[b-depeermxbl]  .rv-filter-item[data-filter="MFR"] { flex: 1 1 45%; }
}
/* /Pages/Reports/AllReports.razor.rz.scp.css */
/* All Reports — the inventory of everything this estate emails (rochem-tasks#775).

   Two devices carry the page. The health strip along the top answers the question the page
   exists for ("how many of our reports are actually working") before a single row is read, and
   the state pill on each row repeats that answer in place. Everything else stays quiet: this is
   a list to scan, not a dashboard.

   Semantic colour here means health only, and is kept separate from the module accent, which
   arrives as --rcm-accent (set inline from ModuleAccents.HexFor("reports"), never a hex here). */

/* ── health strip ───────────────────────────────────────────────────────────── */

.rcm-health-strip[b-36oos3cp61] {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.rcm-health-chip[b-36oos3cp61] {
    --_tone: var(--mud-palette-text-secondary);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-width: 8.5rem;
    padding: 10px 14px;
    border: 1px solid var(--mud-palette-divider);
    border-left: 3px solid color-mix(in srgb, var(--_tone) 55%, var(--mud-palette-divider));
    border-radius: 10px;
    background: var(--mud-palette-surface);
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}

.rcm-health-chip:hover[b-36oos3cp61] {
    border-color: color-mix(in srgb, var(--_tone) 45%, var(--mud-palette-divider));
    background: color-mix(in srgb, var(--_tone) 5%, var(--mud-palette-surface));
}

.rcm-health-chip.is-active[b-36oos3cp61] {
    border-color: color-mix(in srgb, var(--_tone) 60%, var(--mud-palette-divider));
    border-left-color: var(--_tone);
    background: color-mix(in srgb, var(--_tone) 9%, var(--mud-palette-surface));
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--_tone) 25%, transparent);
}

.rcm-health-chip:focus-visible[b-36oos3cp61] {
    outline: 2px solid var(--rcm-accent, var(--mud-palette-primary));
    outline-offset: 2px;
}

.rcm-health-all[b-36oos3cp61]        { --_tone: var(--rcm-accent, var(--mud-palette-primary)); }
.rcm-health-notsending[b-36oos3cp61] { --_tone: var(--mud-palette-error); }
.rcm-health-sending[b-36oos3cp61]    { --_tone: var(--mud-palette-success); }
.rcm-health-off[b-36oos3cp61]        { --_tone: var(--mud-palette-text-secondary); }
.rcm-health-event[b-36oos3cp61]      { --_tone: var(--mud-palette-info); }

.rcm-health-count[b-36oos3cp61] {
    font-size: 1.45rem;
    font-weight: 600;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
    color: var(--_tone);
}

.rcm-health-label[b-36oos3cp61] {
    font-size: .74rem;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--mud-palette-text-secondary);
}

/* ── state pills ────────────────────────────────────────────────────────────── */

.rcm-pill[b-36oos3cp61] {
    display: inline-block;
    padding: 1px 8px;
    border: 1px solid color-mix(in srgb, var(--_tone, var(--mud-palette-divider)) 45%, transparent);
    border-radius: 999px;
    background: color-mix(in srgb, var(--_tone, var(--mud-palette-divider)) 12%, transparent);
    color: var(--_tone, var(--mud-palette-text-secondary));
    font-size: .74rem;
    white-space: nowrap;
}

.rcm-pill + .rcm-pill[b-36oos3cp61] { margin-left: 5px; }

.rcm-pill-good[b-36oos3cp61]  { --_tone: var(--mud-palette-success); }
.rcm-pill-bad[b-36oos3cp61]   { --_tone: var(--mud-palette-error); }
.rcm-pill-warn[b-36oos3cp61]  { --_tone: var(--mud-palette-warning); }
.rcm-pill-muted[b-36oos3cp61] { --_tone: var(--mud-palette-text-secondary); }

/* ── rows ───────────────────────────────────────────────────────────────────── */

/* These three sit on MudBlazor components rather than on elements written here, so the
   isolation scope attribute is never stamped on the <th> or <p> that actually renders.
   ::deep is the only thing that reaches them -- without it the rules compile, ship, and
   quietly do nothing, which is the failure mode worth naming rather than rediscovering. */

.all-reports[b-36oos3cp61]  .rcm-group-row {
    background: color-mix(in srgb, var(--rcm-accent, var(--mud-palette-primary)) 7%, var(--mud-palette-surface));
    font-size: .8rem;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.all-reports[b-36oos3cp61]  .rcm-group-count {
    margin-left: .6rem;
    color: var(--mud-palette-text-secondary);
    font-variant-numeric: tabular-nums;
    text-transform: none;
}

/* Recipient lists run long -- eight addresses is common and one has nineteen. Wrapping them
   keeps the row honest (the whole list is readable) without letting one row set the width of
   the table, which is what an unbroken 400-character string would do. */
.all-reports[b-36oos3cp61]  .rcm-recipients,
.all-reports[b-36oos3cp61]  .rcm-status {
    max-width: 30rem;
    overflow-wrap: anywhere;
}

.all-reports[b-36oos3cp61]  .rcm-status {
    max-width: 22rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.all-reports[b-36oos3cp61]  .rcm-folder {
    display: block;
    opacity: .75;
}

/* ── the Run column (rochem-tasks#1379) ──────────────────────────────────────── */

/* The Download menu and the Email button a WBI3 row carries, side by side and never wrapping
   mid-pair. ::deep for the same reason as the rules above: the controls are MudBlazor's. */
.all-reports[b-36oos3cp61]  .rcm-run-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}
/* /Pages/Reports/Browse.razor.rz.scp.css */
/* Report Catalog gallery — Vibrant-SaaS report cards.
   Borrows the Home quick-action language (accent top edge + soft module tint + gradient
   icon tile) tuned for a content card with a footer action. The module accent arrives as
   --rcm-accent (set inline from ModuleAccents.HexFor("reports") — never an inline hex);
   every colour derives from it, so a single token edit re-tints the gallery. */

.reports-catalog-grid[b-jzw5jbljjb] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 14px;
}

.reports-card[b-jzw5jbljjb] {
    --_acc: var(--rcm-accent, var(--mud-palette-primary));
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: 100%;
    padding: 16px;
    border: 1px solid var(--mud-palette-divider);
    border-top: 2px solid color-mix(in srgb, var(--_acc) 42%, var(--mud-palette-divider));
    border-radius: 12px;
    background: color-mix(in srgb, var(--_acc) 4%, var(--mud-palette-surface));
    transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease, background .15s ease;
}

.reports-card:hover[b-jzw5jbljjb] {
    border-color: color-mix(in srgb, var(--_acc) 45%, var(--mud-palette-divider));
    border-top-color: var(--_acc);
    background: color-mix(in srgb, var(--_acc) 7%, var(--mud-palette-surface));
    box-shadow: 0 4px 16px color-mix(in srgb, var(--_acc) 15%, transparent);
    transform: translateY(-1px);
}

.reports-card-head[b-jzw5jbljjb] {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
}

.reports-card-icon[b-jzw5jbljjb] {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(140deg, var(--_acc), color-mix(in srgb, var(--_acc) 60%, #000));
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.14);
    flex: 0 0 auto;
}

.reports-card-icon[b-jzw5jbljjb]  .mud-icon-root {
    color: #fff;
    font-size: 1.2rem;
}

.reports-card-title[b-jzw5jbljjb] {
    font-family: 'IBM Plex Sans', 'Segoe UI', Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: .975rem;
    letter-spacing: -.01em;
    line-height: 1.25;
}

.reports-card-desc[b-jzw5jbljjb] {
    font-size: .8125rem;
    color: var(--mud-palette-text-secondary);
    line-height: 1.4;
}

.reports-card-meta[b-jzw5jbljjb] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 2px;
    font-size: .72rem;
    color: var(--mud-palette-text-secondary);
    text-transform: uppercase;
    letter-spacing: .04em;
}

.reports-card-meta .dot[b-jzw5jbljjb] {
    opacity: .45;
}

.reports-card-actions[b-jzw5jbljjb] {
    margin-top: auto;
    padding-top: 10px;
}
/* /Pages/SalesTools/SalesOrders.razor.rz.scp.css */
/* Processed Orders grid — compact starting widths (rochem-tasks#282), with user resizing
   enabled for longer product names (rochem-tasks#2120).

   Column order is authoritative here: nth-child indices track the <Columns> block inside the
   Processed-grid <Wbi3SearchView> in SalesOrders.razor. ADD OR REORDER A COLUMN -> UPDATE THESE.
   That instruction was missed once and the drift is not visible by reading either file, so
   SalesOrdersProcessedColumnWidthsTests now fails the build instead: rochem-tasks#876 inserted
   Package at position 10 and left this table at 15 entries, which shifted every width from
   Shipped onward onto its neighbour and, because table-layout is fixed and the 15 declared
   widths already summed to 100%, left the 16th column -- the View button -- with no width at
   all. Found while relabelling this grid for rochem-tasks#938.

   Desktop only: at <=600px Wbi3DataGrid reflows each row into a labelled card, where a column
   grid is meaningless and these widths would fight the card layout (same gate ShippingCockpit
   uses for its own column table). */
/* Keep MudBlazor's expanding table inside the grid's horizontal scroller, including
   when returning to phone cards. */
.sales-orders-processed[b-8kcu3t26dv]  .mud-table-container {
    width: 100% !important;
}

@media (min-width: 601px) {

.sales-orders-processed[b-8kcu3t26dv] {
    container-type: inline-size;
}

/* Size defaults against the grid container (cqw), not against a table that grows during
   dragging. Use the same layout before, during and after a resize: no percentage/auto
   switch that moves the other headers when MudBlazor sets the first pixel width.
   Only headers set widths; MudBlazor's inline pixel width overrides that column's default. */
.sales-orders-processed[b-8kcu3t26dv]  .mud-table-root {
    table-layout: auto;
    width: max-content;
    min-width: 0;
}

.sales-orders-processed[b-8kcu3t26dv]  .mud-resizer {
    user-select: none;
    touch-action: none;
}

.sales-orders-processed[b-8kcu3t26dv]  td.mud-table-cell {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* rochem-tasks#962, second pass (JJ, 2026-09-17): the Processed grid now matches WBI2's column
   list, so RTS and Closed are gone, Invoice Date is added, and this is 16 columns rather than 17.
   Every other width is exactly what it was: the 8% freed by the two dropped columns pays for
   Invoice Date's 6% and the remaining 2% goes to Lot, which was the one still ellipsizing.

   The starting container-width shares sum to 100 and cover every column exactly once --
   Processed_grid_width_map_covers_every_column_exactly_once fails the build otherwise, which is
   what caught the FIRST pass of this ticket, and rochem-tasks#876 before it. */
.sales-orders-processed[b-8kcu3t26dv]  th:nth-child(1) { width: 3cqw; }  /* S/R */
.sales-orders-processed[b-8kcu3t26dv]  th:nth-child(2) { width: 6cqw; }  /* Date */
.sales-orders-processed[b-8kcu3t26dv]  th:nth-child(3) { width: 7cqw; }  /* Requested Date */
.sales-orders-processed[b-8kcu3t26dv]  th:nth-child(4) { width: 8cqw; }  /* SO Number */
.sales-orders-processed[b-8kcu3t26dv]  th:nth-child(5) { width: 6cqw; }  /* Part No */
.sales-orders-processed[b-8kcu3t26dv]  th:nth-child(6) { width: 9cqw; }  /* Customer */
.sales-orders-processed[b-8kcu3t26dv]  th:nth-child(7) { width: 9cqw; }  /* Product */
.sales-orders-processed[b-8kcu3t26dv]  th:nth-child(8) { width: 5cqw; }  /* Qty */
.sales-orders-processed[b-8kcu3t26dv]  th:nth-child(9) { width: 4cqw; }  /* Units */
.sales-orders-processed[b-8kcu3t26dv]  th:nth-child(10) { width: 5cqw; }  /* Package */
.sales-orders-processed[b-8kcu3t26dv]  th:nth-child(11) { width: 4cqw; }  /* Shipped */
.sales-orders-processed[b-8kcu3t26dv]  th:nth-child(12) { width: 6cqw; }  /* Ship Date */
.sales-orders-processed[b-8kcu3t26dv]  th:nth-child(13) { width: 4cqw; }  /* Invoiced */
.sales-orders-processed[b-8kcu3t26dv]  th:nth-child(14) { width: 6cqw; }  /* Invoice Date */
.sales-orders-processed[b-8kcu3t26dv]  th:nth-child(15) { width: 6cqw; }  /* Lot */
/* rochem-tasks#1154: Sample chip column after Lot; Customer, Product and Lot each gave up a point so the map still sums to 100%. */
.sales-orders-processed[b-8kcu3t26dv]  th:nth-child(16) { width: 4cqw; }  /* Sample */
.sales-orders-processed[b-8kcu3t26dv]  th:nth-child(17) { width: 8cqw; }  /* View button */

/* The View button must never ellipsize away. */
.sales-orders-processed[b-8kcu3t26dv]  td:nth-child(17) { overflow: visible; white-space: nowrap; }

}
/* /Pages/SalesTools/SalesPlanOverview.razor.rz.scp.css */
/* #1349: give text room to wrap without a percentage colgroup inflating the table.
   Keep dates, identifiers and amounts intact; preserve horizontal scrolling if their
   intrinsic widths exceed a small screen. All selectors stay inside this report. */
.report-screen-fit[b-0jsebhhoh0]  .rv-table td.rv-wrap { min-width: 0; max-width: none; }
.report-screen-fit[b-0jsebhhoh0]  .rv-table td,
.report-screen-fit[b-0jsebhhoh0]  .rv-table th { padding-left: 3px; padding-right: 3px; }

/* Keep the shared 13px report text and both planning years visible on laptops. */
@media (max-width: 1500px) {
    .report-screen-fit[b-0jsebhhoh0]  .rv-table td,
    .report-screen-fit[b-0jsebhhoh0]  .rv-table th { padding-left: 2px; padding-right: 2px; }
}
/* /Pages/SystemTool/SystemInfo.razor.rz.scp.css */
/* System Info — health dashboard. All colors come from theme tokens so the page
   tracks the Rochem palette in both light and dark. */

.rcm-health-strip[b-6lepxqv2ob] {
    --_acc: var(--rcm-accent, var(--mud-palette-primary));
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    gap: 12px;
}

/* Status tiles wear a soft tint + left accent edge. The MODULE (slate) hue is chrome for
   healthy/neutral tiles; tiles reporting a problem stay SEMANTIC — amber for warn, red for
   down/blocked — so the up/down signal never reads as slate. (::deep pierces KpiTile.) */
.rcm-health-strip[b-6lepxqv2ob]  .rcm-kpi-tile {
    border-left: 3px solid var(--_acc);
    background: color-mix(in srgb, var(--_acc) 6%, var(--mud-palette-surface));
}
.rcm-health-strip[b-6lepxqv2ob]  .rcm-kpi-tile.rcm-tone-warn {
    border-left-color: var(--mud-palette-warning);
    background: color-mix(in srgb, var(--mud-palette-warning) 9%, var(--mud-palette-surface));
}
.rcm-health-strip[b-6lepxqv2ob]  .rcm-kpi-tile.rcm-tone-danger {
    border-left-color: var(--mud-palette-error);
    background: color-mix(in srgb, var(--mud-palette-error) 9%, var(--mud-palette-surface));
}

.rcm-health-panels[b-6lepxqv2ob] {
    --_acc: var(--rcm-accent, var(--mud-palette-primary));
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 16px;
}

/* ── Top waits: name | proportional bar | value ─────────────────────────────── */

.rcm-wait-row[b-6lepxqv2ob] {
    display: grid;
    grid-template-columns: minmax(90px, 1fr) 2fr auto;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
}

.rcm-wait-name[b-6lepxqv2ob] {
    font-size: .82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rcm-wait-bar[b-6lepxqv2ob] {
    height: 8px;
    border-radius: 4px;
    background: var(--mud-palette-lines-default);
    overflow: hidden;
}

.rcm-wait-fill[b-6lepxqv2ob] {
    display: block;
    height: 100%;
    border-radius: 4px;
    /* Neutral magnitude bars (not a health up/down signal) wear the slate module accent —
       the page's one restrained personality moment. */
    background: var(--_acc, var(--mud-palette-primary));
}

.rcm-wait-val[b-6lepxqv2ob] {
    font-variant-numeric: tabular-nums;
    font-size: .8rem;
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
}

/* ── Slowest queries ────────────────────────────────────────────────────────── */

.rcm-slow-row[b-6lepxqv2ob] {
    padding: 7px 0;
    border-bottom: 1px solid var(--mud-palette-lines-default);
}

.rcm-slow-row:last-child[b-6lepxqv2ob] {
    border-bottom: 0;
}

.rcm-slow-head[b-6lepxqv2ob] {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.rcm-slow-ms[b-6lepxqv2ob] {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    font-size: .9rem;
}

.rcm-slow-execs[b-6lepxqv2ob] {
    font-size: .78rem;
    color: var(--mud-palette-text-secondary);
}

.rcm-slow-sql[b-6lepxqv2ob] {
    display: block;
    margin-top: 3px;
    font-size: .74rem;
    line-height: 1.35;
    color: var(--mud-palette-text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* /Pages/Warehousing/Mobile/ShipQueue.razor.rz.scp.css */
/* Warehousing violet accent on the Ship-queue cards — soft module tint + accent left edge
   + hover glow. Color only: card size, spacing and tap-to-open flow are unchanged. The
   station chip inside each card keeps its semantic (Info) color. --wh-accent is set on
   .wh-queue by the page and inherits into the MudCard here. */
.wh-queue[b-9fo1xw50j5]  .mud-card {
    border-left: 3px solid var(--wh-accent);
    background: color-mix(in srgb, var(--wh-accent) 6%, var(--mud-palette-surface));
    transition: box-shadow .15s ease, border-color .15s ease, transform .12s ease;
}
.wh-queue[b-9fo1xw50j5]  .mud-card:hover {
    border-color: color-mix(in srgb, var(--wh-accent) 45%, var(--mud-palette-divider));
    box-shadow: 0 3px 12px color-mix(in srgb, var(--wh-accent) 20%, transparent);
}
.wh-queue[b-9fo1xw50j5]  .mud-card:active { transform: scale(.995); }
/* /Pages/Warehousing/Mobile/StageQueue.razor.rz.scp.css */
/* Warehousing violet accent on the Stage-queue cards — soft module tint + accent left edge
   + hover glow. Color only: card size, spacing and tap-to-open flow are unchanged. --wh-accent
   is set on .wh-queue by the page and inherits into the MudCard here. */
.wh-queue[b-d2hs6i9q8t]  .mud-card {
    border-left: 3px solid var(--wh-accent);
    background: color-mix(in srgb, var(--wh-accent) 6%, var(--mud-palette-surface));
    transition: box-shadow .15s ease, border-color .15s ease, transform .12s ease;
}
.wh-queue[b-d2hs6i9q8t]  .mud-card:hover {
    border-color: color-mix(in srgb, var(--wh-accent) 45%, var(--mud-palette-divider));
    box-shadow: 0 3px 12px color-mix(in srgb, var(--wh-accent) 20%, transparent);
}
.wh-queue[b-d2hs6i9q8t]  .mud-card:active { transform: scale(.995); }
/* /Pages/Warehousing/Mobile/WorkQueue.razor.rz.scp.css */
/* Warehousing violet accent on the Pick-queue cards — soft module tint + accent left edge
   + hover glow. Color only: card size, spacing and scan/tap flow are unchanged. In-progress
   status chips keep their semantic color (they live inside the card, untouched). --wh-accent
   is set on .wh-queue by the page and inherits into the MudCard here. */
.wh-queue[b-jg214rz402]  .mud-card {
    border-left: 3px solid var(--wh-accent);
    background: color-mix(in srgb, var(--wh-accent) 6%, var(--mud-palette-surface));
    transition: box-shadow .15s ease, border-color .15s ease, transform .12s ease;
}
.wh-queue[b-jg214rz402]  .mud-card:hover {
    border-color: color-mix(in srgb, var(--wh-accent) 45%, var(--mud-palette-divider));
    box-shadow: 0 3px 12px color-mix(in srgb, var(--wh-accent) 20%, transparent);
}
.wh-queue[b-jg214rz402]  .mud-card:active { transform: scale(.995); }
/* /Pages/Warehousing/PickPlan.razor.rz.scp.css */
.pp-ticket[b-dsbt38e46j] { max-width: 1120px; width: 100%; min-width: 0; margin: 0 auto; padding: 8px 4px 40px; }
.pp-actions[b-dsbt38e46j] { display: flex; justify-content: space-between; margin-bottom: 12px; }
.pp-title[b-dsbt38e46j] { margin: 0; font-size: 1.5rem; }
.pp-meta[b-dsbt38e46j] { color: var(--mud-palette-text-secondary); margin: 2px 0 16px; }

.pp-line[b-dsbt38e46j] { margin-bottom: 18px; break-inside: avoid; }
.pp-line-hd[b-dsbt38e46j] { font-size: 1.02rem; margin-bottom: 6px; display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }

/* #268: the tick is a warehouse control, used with a glove on a touchscreen — 20px, not the
   browser default 13px. It sits on the line header because picked state belongs to the product. */
.pp-pick[b-dsbt38e46j] { width: 20px; height: 20px; flex: 0 0 auto; cursor: pointer; accent-color: var(--mud-palette-primary); }
.pp-pick:disabled[b-dsbt38e46j] { cursor: default; opacity: .45; }
.pp-short[b-dsbt38e46j] { color: var(--mud-palette-error); font-weight: 600; margin-left: 8px; }
/* rochem-tasks#854 -- "here but not put away" sits beside the shortfall, deliberately in the
   WARNING colour rather than the error one: it is a different instruction (walk to receiving,
   not chase a purchase order), and painting it the same red as "there is none" would lose the
   very distinction it exists to make. Theme token, never a hex. */
.pp-nobin[b-dsbt38e46j] { color: var(--mud-palette-warning); font-weight: 600; margin-left: 6px; }

.pp-tbl[b-dsbt38e46j] { width: 100%; border-collapse: collapse; font-size: .92rem; }
.pp-tbl th[b-dsbt38e46j], .pp-tbl td[b-dsbt38e46j] { border: 1px solid var(--mud-palette-lines-default); padding: 6px 9px; text-align: left; }
.pp-tbl th[b-dsbt38e46j] { background: var(--mud-palette-background-grey); font-weight: 600; }
.pp-bin[b-dsbt38e46j] { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-weight: 700; white-space: nowrap; }
.pp-none[b-dsbt38e46j] { color: var(--mud-palette-text-secondary); font-style: italic; }
.pp-move-link[b-dsbt38e46j] { white-space: nowrap; text-align: right; }

/* rochem-tasks#1868 (YZ: "hard to see"): the "own pallet or stacked?" question gets a full-width
   line under its row, so it reads as a sentence and its choices sit side by side and wrap. The
   shared dense table pins buttons at 20px; a choice that wraps needs to grow instead. */
.pp-question[b-dsbt38e46j] { background: var(--mud-palette-background-grey); }
.pp-question[b-dsbt38e46j]  [data-testid="stage-physical-pallet"] {
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center !important;
}
.pp-question[b-dsbt38e46j]  [data-testid="stage-physical-pallet"] > span:first-child { flex-basis: 100%; font-weight: 600; }
.pp-question[b-dsbt38e46j]  [data-testid="stage-physical-pallet"] .mud-button-root {
    height: auto !important;
    min-height: 32px !important;
    padding: 5px 12px !important;
    white-space: normal;
}

/* rochem-tasks#1960: the Switch line, full width under the row it is about (as #1868's question is),
   so the scan box and the list are never squeezed into the action column on a narrow screen. */
.pp-switch[b-dsbt38e46j] { padding: 8px 12px; font-size: 13px; background: color-mix(in srgb, var(--mud-palette-primary) 6%, transparent); }
.pp-switch-go[b-dsbt38e46j] { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.pp-switch-lp[b-dsbt38e46j] { flex: 0 1 200px; padding: 4px 8px; border: 1px solid var(--mud-palette-lines-inputs); border-radius: 4px; }
.pp-switch-pick[b-dsbt38e46j] { flex: 0 1 320px; max-width: 100%; padding: 4px 6px; border: 1px solid var(--mud-palette-lines-inputs); border-radius: 4px; }

@media print {
    .pp-actions[b-dsbt38e46j], .pp-print-lp[b-dsbt38e46j], .pp-staged-labels[b-dsbt38e46j] { display: none; }
    .pp-ticket[b-dsbt38e46j] { max-width: 100%; padding: 0; }
    .pp-tbl th[b-dsbt38e46j] { background: #eee !important; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
    .pp-move-hd[b-dsbt38e46j], .pp-move-link[b-dsbt38e46j] { display: none; }
    /* #726: "show all pallets of this lot" is a screen affordance — on paper it is a dead link
       under a table that already lists what the printout chose. */
    .pp-more[b-dsbt38e46j] { display: none; }
    /* rochem-tasks#1050: and so is "Stage all N pallets" — a button on paper is an instruction
       nobody can follow, and this one sits directly under the table it would act on. */
    .pp-stage-all[b-dsbt38e46j] { display: none; }
    .pp-switch[b-dsbt38e46j] { display: none; }
}

/* #268 — the "Take" column. A picker reads this table on a scanner or a tablet in the aisle, so the
   box is deliberately wide enough for four digits and a decimal without zooming, and the running
   total beside the line turns green only once the line is actually covered. */
.pp-qty[b-dsbt38e46j] {
    width: 78px;
    padding: 3px 6px;
    font: inherit;
    font-variant-numeric: tabular-nums;
    text-align: right;
    border: 1px solid var(--mud-palette-lines-inputs);
    border-radius: 4px;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
}
.pp-take[b-dsbt38e46j] { white-space: nowrap; }
.pp-taken[b-dsbt38e46j] {
    margin-left: 8px;
    font-size: 12px;
    color: var(--mud-palette-text-secondary);
}
.pp-taken.ok[b-dsbt38e46j] { color: var(--mud-palette-success); font-weight: 600; }

/* #726 — the escape hatch under a narrowed pallet list. Quiet by design: the covering pallets are
   the answer, and this is only for the picker whose plate is unreachable in the aisle. */
.pp-more[b-dsbt38e46j] { margin-top: 6px; }

/* rochem-tasks#1050 — "Stage all N pallets", directly under the table whose rows it acts on and
   above the "show all" link, so it reads as an action on THIS line and not on the order. */
.pp-stage-all[b-dsbt38e46j] { margin-top: 6px; }

/* rochem-tasks#821 — where a plate is GOING: "going to" is another order's stock and must read as a
   stop sign; "for this order" is reassurance. (A staged plate recorded for nobody no longer reaches
   the page at all — rochem-tasks#825 — so there is no third label.) */
.pp-committed-away[b-dsbt38e46j],
.pp-committed-ours[b-dsbt38e46j] {
    display: inline-block;
    margin-left: 6px;
    padding: 0 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.pp-committed-away[b-dsbt38e46j] {
    color: var(--mud-palette-error);
    background: color-mix(in srgb, var(--mud-palette-error) 12%, transparent);
}

.pp-committed-ours[b-dsbt38e46j] {
    color: var(--mud-palette-success-darken);
    background: color-mix(in srgb, var(--mud-palette-success) 12%, transparent);
}
/* rochem-tasks#1853 -- why a pallet is going to another order, under its row, only when asked. */
.pp-claim[b-dsbt38e46j] {
    padding: 8px 12px;
    font-size: 13px;
    background: color-mix(in srgb, var(--mud-palette-error) 5%, transparent);
}
.pp-claim-go[b-dsbt38e46j] {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 6px;
}
.pp-claim-reason[b-dsbt38e46j] {
    flex: 0 1 360px;
    padding: 4px 8px;
    border: 1px solid var(--mud-palette-lines-inputs);
    border-radius: 4px;
}
.pp-claim-error[b-dsbt38e46j] {
    margin-top: 6px;
    color: var(--mud-palette-error);
}
/* rochem-tasks#1042 -- swapping one plate for another. JJ: "a plain way to swap a plate on the pick
   ticket: pick the plate to replace, pick the plate to use instead, done."

   The bar is the only thing on the page that says what state the table is in, so it is deliberately
   loud -- a picker who walks away mid-swap and comes back must be able to see it from arm's length.
   Both it and the Swap buttons are screen-only: on paper the ticket is a list of what to pick. */
.pp-swapbar[b-dsbt38e46j] {
    margin: 8px 0 6px;
    padding: 7px 11px;
    border: 1px solid var(--mud-palette-primary);
    border-left-width: 4px;
    border-radius: 5px;
    background: color-mix(in srgb, var(--mud-palette-primary) 10%, var(--mud-palette-surface));
    color: var(--mud-palette-text-primary);
    font-size: .92rem;
}
.pp-swapnote[b-dsbt38e46j] {
    margin: 8px 0 6px;
    padding: 7px 11px;
    border: 1px solid var(--mud-palette-warning);
    border-left-width: 4px;
    border-radius: 5px;
    background: color-mix(in srgb, var(--mud-palette-warning) 12%, var(--mud-palette-surface));
    font-size: .92rem;
}
.pp-swap-from[b-dsbt38e46j] { margin-right: 6px; font-size: 12px; color: var(--mud-palette-primary); font-weight: 600; }

@media print {
    .pp-swapbar[b-dsbt38e46j], .pp-swapnote[b-dsbt38e46j] { display: none; }
}

/* #1975: actual staged progress and one prominent action above the remaining work. */
.pp-progress[b-dsbt38e46j] { padding: 14px 16px; margin: 12px 0; border: 1px solid var(--mud-palette-lines-default); border-radius: 8px; background: var(--mud-palette-background-grey); }
.pp-progress strong[b-dsbt38e46j] { font-size: 1.1rem; }
.pp-progress progress[b-dsbt38e46j] { display: block; width: 100%; height: 12px; margin: 10px 0; accent-color: var(--mud-palette-primary); }
.pp-progress.complete[b-dsbt38e46j] { border-color: var(--mud-palette-success); }
.pp-progress.complete progress[b-dsbt38e46j] { accent-color: var(--mud-palette-success); }
.pp-remaining[b-dsbt38e46j] { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; }
.pp-remaining > span[b-dsbt38e46j], .pp-next-step[b-dsbt38e46j] { color: var(--mud-palette-text-secondary); }
/* #2014: one print button per staged plate, under the meter. */
.pp-staged-labels[b-dsbt38e46j] { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pp-stage-all[b-dsbt38e46j] { margin: 12px 0; padding: 12px; border: 1px solid var(--mud-palette-lines-default); border-radius: 8px; }
.pp-stage-all[b-dsbt38e46j]  [data-testid="stage-all-button"] { background: var(--mud-palette-primary); color: var(--mud-palette-primary-text); margin-top: 8px; }
.pp-staged-toggle[b-dsbt38e46j] { width: 100%; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 12px 0; padding: 10px 12px; min-height: 44px; font: inherit; text-align: left; color: var(--mud-palette-text-primary); background: var(--mud-palette-background-grey); border: 1px solid var(--mud-palette-lines-default); border-radius: 6px; cursor: pointer; }
.pp-staged-toggle span[b-dsbt38e46j] { margin-left: auto; color: var(--mud-palette-text-secondary); }
.pp-staged-row[b-dsbt38e46j] { background: var(--mud-palette-background-grey); }
.pp-staged-qty[b-dsbt38e46j] { color: var(--mud-palette-success); font-weight: 600; white-space: normal; }
.pp-tbl td[b-dsbt38e46j] { overflow-wrap: anywhere; }
.pp-ticket[b-dsbt38e46j]  .mud-button-root { min-height: 44px !important; height: auto !important; white-space: normal; }
.pp-qty[b-dsbt38e46j], .pp-switch-lp[b-dsbt38e46j], .pp-switch-pick[b-dsbt38e46j] { min-height: 44px; }
.pp-move-link[b-dsbt38e46j] { white-space: normal; }
.pp-actions[b-dsbt38e46j] { flex-wrap: wrap; gap: 8px; }
.pp-ticket button:focus-visible[b-dsbt38e46j], .pp-ticket input:focus-visible[b-dsbt38e46j], .pp-ticket select:focus-visible[b-dsbt38e46j] { outline: 2px solid var(--mud-palette-primary); outline-offset: 2px; }
@media screen and (max-width: 900px) {
    .pp-tbl[b-dsbt38e46j], .pp-tbl tbody[b-dsbt38e46j] { display: block; }
    .pp-tbl thead[b-dsbt38e46j] { display: none; }
    .pp-tbl tr[b-dsbt38e46j] { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin: 12px 0; border: 1px solid var(--mud-palette-lines-default); border-radius: 8px; padding: 8px; }
    .pp-tbl td[b-dsbt38e46j] { border: 0; min-width: 0; padding: 8px; }
    .pp-tbl td[data-label][b-dsbt38e46j]::before { content: attr(data-label); display: block; font-size: .8rem; font-weight: 500; color: var(--mud-palette-text-secondary); margin-bottom: 4px; }
    .pp-tbl .pp-move-link[b-dsbt38e46j], .pp-tbl td[colspan][b-dsbt38e46j] { grid-column: 1 / -1; text-align: left; }
    .pp-bin[b-dsbt38e46j], .pp-take[b-dsbt38e46j] { white-space: normal; }
    .pp-tbl .pp-qty[b-dsbt38e46j] { width: 100%; max-width: 160px; }
    .pp-tbl .pp-switch-go[b-dsbt38e46j] { flex-direction: column; align-items: stretch; }
    .pp-switch-lp[b-dsbt38e46j], .pp-switch-pick[b-dsbt38e46j] { flex-basis: auto; width: 100%; min-width: 0; }
}
/* /Pages/Warehousing/Receive.razor.rz.scp.css */

/* rochem-tasks#1608 -- the dock checks block above Add pallet. Gloves, poor light, one hand: every
   answer is a tap target at least 48px tall, and the state reads from colour + weight, not fine
   print. Theme tokens only, so light and dark both read. */
.rcv-checks[b-q365a02txd] {
    padding: 10px 12px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 10px;
    background: var(--mud-palette-surface);
}

.rcv-checks-head[b-q365a02txd] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}

.rcv-checks-grid[b-q365a02txd] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: stretch;
}

.rcv-check[b-q365a02txd] {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.rcv-check-label[b-q365a02txd] {
    font-size: .8rem;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
}

.rcv-check-answers[b-q365a02txd] {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.rcv-check-btn[b-q365a02txd],
.rcv-check-flag[b-q365a02txd] {
    min-height: 48px;
    padding: 6px 10px;
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 8px;
    background: var(--mud-palette-surface);
    color: var(--mud-palette-text-primary);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.rcv-check-btn:focus-visible[b-q365a02txd],
.rcv-check-flag:focus-visible[b-q365a02txd] {
    outline: 3px solid var(--mud-palette-primary);
    outline-offset: 2px;
}

/* The answer given: OK in the success colour, Not OK in the error colour, a flag in warning. */
.rcv-check-ok[b-q365a02txd] {
    border: 2px solid var(--mud-palette-success);
    background: color-mix(in srgb, var(--mud-palette-success) 14%, transparent);
    color: var(--mud-palette-success);
}

.rcv-check-bad[b-q365a02txd] {
    border: 2px solid var(--mud-palette-error);
    background: color-mix(in srgb, var(--mud-palette-error) 14%, transparent);
    color: var(--mud-palette-error);
}

.rcv-check-flag[b-q365a02txd] {
    align-self: end;
    font-weight: 500;
    color: var(--mud-palette-text-secondary);
}

.rcv-check-flag-on[b-q365a02txd] {
    border: 2px solid var(--mud-palette-warning);
    background: color-mix(in srgb, var(--mud-palette-warning) 16%, transparent);
    color: var(--mud-palette-text-primary);
    font-weight: 700;
}

@media (max-width: 480px) {
    .rcv-checks-grid[b-q365a02txd] { grid-template-columns: 1fr; }
}

/* rochem-tasks#805 — a delivery that has landed is work standing on the dock. It leads the list,
   and the tint says why it is at the top without a legend. ::deep because MudSimpleTable renders
   the row, so the isolation scope attribute never reaches it. */
[b-q365a02txd] tr.rcv-landed > td {
    background: color-mix(in srgb, var(--mud-palette-warning) 8%, transparent);
}

/* rochem-tasks#1530 -- the waiting-to-receive list on a phone. Eight columns cannot fit 390px, and the
   table showed RCM and Vendor with everything else, the Receive button included, cut off. Each
   delivery becomes a small card: RCM and the Receive button on top, vendor and product under them,
   then arrived / ETA / lines / pallets in. Desktop keeps the table. */
@media (max-width: 700px) {
    .rcv-pending-head[b-q365a02txd] { flex-wrap: wrap; }
    .rcv-pending-head[b-q365a02txd]  .mud-input-control { max-width: none !important; flex: 1 1 140px; }

    .rcv-pending[b-q365a02txd]  table,
    .rcv-pending[b-q365a02txd]  tbody { display: block; width: 100%; }
    .rcv-pending[b-q365a02txd]  thead { display: none; }
    .rcv-pending[b-q365a02txd]  tr[data-testid=pending-row] {
        display: flex; flex-wrap: wrap; align-items: center; gap: 2px 10px;
        padding: 10px 4px; border-bottom: 1px solid var(--mud-palette-lines-default);
    }
    .rcv-pending[b-q365a02txd]  tr[data-testid=pending-row] > td {
        display: block; border: none !important; padding: 0 !important; white-space: normal;
    }
    .rcv-pending[b-q365a02txd]  tr[data-testid=pending-row] > td:nth-child(1) { order: 1; flex: 1 1 auto; font-size: 1rem; }
    .rcv-pending[b-q365a02txd]  tr[data-testid=pending-row] > td:nth-child(8) { order: 2; }
    .rcv-pending[b-q365a02txd]  tr[data-testid=pending-row] > td:nth-child(2) { order: 3; flex-basis: 100%; }
    .rcv-pending[b-q365a02txd]  tr[data-testid=pending-row] > td:nth-child(3) { order: 4; flex-basis: 100%; color: var(--mud-palette-text-secondary); }
    .rcv-pending[b-q365a02txd]  tr[data-testid=pending-row] > td:nth-child(4) { order: 5; }
    .rcv-pending[b-q365a02txd]  tr[data-testid=pending-row] > td:nth-child(5) { order: 6; text-align: left !important; }
    .rcv-pending[b-q365a02txd]  tr[data-testid=pending-row] > td:nth-child(5)::before { content: "ETA "; color: var(--mud-palette-text-secondary); }
    .rcv-pending[b-q365a02txd]  tr[data-testid=pending-row] > td:nth-child(6) { order: 7; text-align: left !important; }
    .rcv-pending[b-q365a02txd]  tr[data-testid=pending-row] > td:nth-child(6)::after { content: " line(s)"; color: var(--mud-palette-text-secondary); }
    .rcv-pending[b-q365a02txd]  tr[data-testid=pending-row] > td:nth-child(7) { order: 8; }
    .rcv-pending[b-q365a02txd]  tr[data-testid=pending-row] > td:nth-child(7):empty { display: none; }
}
/* /Pages/Warehousing/ScanOut.razor.rz.scp.css */
/* The door screen (rochem-tasks#953). Read at arm's length, on a handset, while holding a scanner
   in the other hand -- so the plate and the verdict are the two things sized to be seen and
   everything else is deliberately quiet. Theme tokens only, no hard-coded colour. */

.scan-out .door-verdict[b-vpgpm6wmaf] {
    border-left: 6px solid var(--rcm-accent);
}

.scan-out .door-lp[b-vpgpm6wmaf] {
    font-weight: 700;
    letter-spacing: 0.04em;
    word-break: break-all;   /* a long plate must wrap, never push the panel sideways */
}

/* The verdict word is the state, so it carries the accent rather than the muted overline grey the
   theme would otherwise give it. */
.scan-out .door-verdict .mud-typography-overline[b-vpgpm6wmaf] {
    color: var(--rcm-accent);
    font-weight: 700;
}
/* /Pages/Warehousing/WarehouseMap.razor.rz.scp.css */
.wm-stats[b-yaclwi1j54] { display: flex; flex-wrap: wrap; gap: 12px; margin: 8px 0 16px; }
.wm-stat[b-yaclwi1j54] { flex: 1 1 120px; background: var(--mud-palette-surface); border: 1px solid var(--mud-palette-lines-default);
           border-radius: 10px; padding: 10px 14px; display: flex; flex-direction: column; }
.wm-num[b-yaclwi1j54] { font-size: 1.5rem; font-weight: 700; line-height: 1.1; color: var(--mud-palette-primary); }
.wm-lbl[b-yaclwi1j54] { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--mud-palette-text-secondary); }
.wm-stat.wm-warn .wm-num[b-yaclwi1j54] { color: #c77d20; }
.wm-stat.wm-bad .wm-num[b-yaclwi1j54] { color: var(--mud-palette-error); }

.wm-toolbar[b-yaclwi1j54] { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 14px; }
.wm-search[b-yaclwi1j54] { max-width: 340px; }
.wm-legend[b-yaclwi1j54] { display: flex; gap: 14px; flex-wrap: wrap; font-size: .8rem; color: var(--mud-palette-text-secondary); align-items: center; }
.wm-legend span[b-yaclwi1j54] { display: inline-flex; align-items: center; gap: 5px; }
.wm-sw[b-yaclwi1j54] { width: 12px; height: 12px; border-radius: 3px; display: inline-block; border: 1px solid rgba(0,0,0,.15); }
.wm-sw.wm-empty[b-yaclwi1j54] { background: var(--mud-palette-background-grey); }
.wm-sw.wm-occ[b-yaclwi1j54] { background: #2f6b9a; }
.wm-sw.wm-stage[b-yaclwi1j54] { background: #d99a2b; }
.wm-sw.wm-disc[b-yaclwi1j54] { background: var(--mud-palette-error); }
.wm-matchcount[b-yaclwi1j54] { font-weight: 600; color: var(--mud-palette-primary); }

/* View-mode segmented control (All / Open bins / Aging) */
.wm-modes[b-yaclwi1j54] { display: inline-flex; border: 1px solid var(--mud-palette-lines-default); border-radius: 8px; overflow: hidden; }
.wm-mode[b-yaclwi1j54] { border: 0; border-right: 1px solid var(--mud-palette-lines-default); background: transparent; padding: 6px 13px;
           font: inherit; font-size: .8rem; line-height: 1; cursor: pointer; color: var(--mud-palette-text-secondary); }
.wm-mode:last-child[b-yaclwi1j54] { border-right: 0; }
.wm-mode:hover[b-yaclwi1j54] { background: var(--mud-palette-action-default-hover); }
.wm-mode.on[b-yaclwi1j54] { background: var(--mud-palette-primary); color: #fff; }

/* Two-column body: the map on the left, a sticky detail panel on the right (normal flow — no
   fixed overlay, so nothing can trap it behind another stacking context). */
.wm-body[b-yaclwi1j54] { display: flex; gap: 16px; align-items: flex-start; }
.wm-main[b-yaclwi1j54] { flex: 1 1 auto; min-width: 0; }
.wm-side[b-yaclwi1j54] { flex: 0 0 340px; position: sticky; top: 12px; align-self: flex-start;
           max-height: calc(100vh - 90px); overflow-y: auto;
           border: 1px solid var(--mud-palette-lines-default); border-radius: 10px;
           background: var(--mud-palette-surface); padding: 14px 16px 18px; }
.wm-side-hint[b-yaclwi1j54] { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center;
                color: var(--mud-palette-text-secondary); padding: 26px 8px; font-size: .88rem; }

/* ---- Zones (staging / receiving / floor / organic / unlabelled) : compact tile rows ---- */
.wm-zones[b-yaclwi1j54] { display: flex; flex-wrap: wrap; gap: 14px; align-items: flex-start; margin-bottom: 18px; }
.wm-aisle[b-yaclwi1j54] { border: 1px solid var(--mud-palette-lines-default); border-radius: 10px; padding: 8px 10px 10px;
            background: var(--mud-palette-surface); }
.wm-aisle-hd[b-yaclwi1j54] { display: flex; justify-content: space-between; gap: 10px; font-weight: 600; font-size: .82rem;
               margin-bottom: 6px; color: var(--mud-palette-text-primary); }
.wm-aisle-hd span[b-yaclwi1j54] { color: var(--mud-palette-text-secondary); font-weight: 500; }
/* rochem-tasks#1652: the grid track and the tile read ONE width, so they cannot disagree. The
   phone block below used to widen the tile to 52px while the track stayed 44px, so every tile
   overlapped the next by 5px. */
.wm-bins[b-yaclwi1j54] { --wm-zone-tile: 44px; display: grid; grid-template-columns: repeat(4, var(--wm-zone-tile)); gap: 3px; }
.wm-bins.wm-z-floor[b-yaclwi1j54] { grid-template-columns: repeat(4, 60px); }

/* ---- Rack aisles: aisle rows, each a horizontally-scrolling strip of ordered racks ---- */
.wm-aisles[b-yaclwi1j54] { display: flex; flex-direction: column; gap: 14px; }
.wm-rackaisle[b-yaclwi1j54] { border: 1px solid var(--mud-palette-lines-default); border-radius: 10px; padding: 8px 10px 10px;
                background: var(--mud-palette-surface); }
.wm-racks[b-yaclwi1j54] { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; align-items: flex-start; }
.wm-rack[b-yaclwi1j54] { flex: 0 0 auto; border: 1px solid var(--mud-palette-lines-default); border-radius: 7px;
           background: var(--mud-palette-background-grey); padding: 5px 6px 6px; display: flex; flex-direction: column; gap: 3px; }
.wm-rack-hd[b-yaclwi1j54] { text-align: center; font-weight: 700; font-size: .72rem; letter-spacing: .02em;
              color: var(--mud-palette-text-secondary); margin-bottom: 2px; }
.wm-shelf[b-yaclwi1j54] { display: flex; align-items: center; gap: 4px; }
.wm-shelf-lbl[b-yaclwi1j54] { font-size: .56rem; color: var(--mud-palette-text-disabled); width: 15px; text-align: right; flex: 0 0 auto; }
.wm-shelf-bins[b-yaclwi1j54] { display: flex; gap: 3px; }

.wm-bin[b-yaclwi1j54] { width: 32px; height: 32px; border: 1px solid rgba(0,0,0,.12); border-radius: 4px; cursor: pointer;
          display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 0;
          font: inherit; line-height: 1; color: #fff; transition: transform .05s, box-shadow .1s; }
.wm-bins .wm-bin[b-yaclwi1j54] { width: var(--wm-zone-tile); }
.wm-bins.wm-z-floor .wm-bin[b-yaclwi1j54] { width: 60px; }
.wm-bin:hover[b-yaclwi1j54] { transform: scale(1.14); box-shadow: 0 2px 8px rgba(0,0,0,.25); z-index: 2; }
.wm-bin-loc[b-yaclwi1j54] { font-size: .58rem; opacity: .9; }
.wm-bins .wm-bin-loc[b-yaclwi1j54] { font-size: .5rem; }
.wm-bin-qty[b-yaclwi1j54] { font-size: .6rem; font-weight: 700; }

.wm-bin.wm-empty[b-yaclwi1j54] { background: var(--mud-palette-surface); color: var(--mud-palette-text-secondary); border-color: var(--mud-palette-lines-default); }
.wm-bin.wm-occ[b-yaclwi1j54] { background: #3f7fb0; }
.wm-bin.wm-stage[b-yaclwi1j54] { background: #d99a2b; }
.wm-bin.wm-disc[b-yaclwi1j54] { background: var(--mud-palette-error); animation: wm-pulse-b-yaclwi1j54 1.4s ease-in-out infinite; }
.wm-bin.wm-unlabelled[b-yaclwi1j54] { outline: 2px dashed #b06a12; outline-offset: -3px; }
/* Aging bands + open-bin highlight (declared after the base colours so they win on equal specificity) */
.wm-bin.wm-age-fresh[b-yaclwi1j54]   { background: #3a9d5d; }
.wm-bin.wm-age-aging[b-yaclwi1j54]   { background: #d9a52b; }
.wm-bin.wm-age-old[b-yaclwi1j54]     { background: #cc7a2a; }
.wm-bin.wm-age-ancient[b-yaclwi1j54] { background: #c0392b; }
.wm-bin.wm-open-hit[b-yaclwi1j54]    { background: #e8f5ec; color: #2c7a4b; border-color: #3a9d5d; outline: 2px solid #3a9d5d; outline-offset: -2px; }
.wm-sw.wm-age-fresh[b-yaclwi1j54]   { background: #3a9d5d; }
.wm-sw.wm-age-aging[b-yaclwi1j54]   { background: #d9a52b; }
.wm-sw.wm-age-old[b-yaclwi1j54]     { background: #cc7a2a; }
.wm-sw.wm-age-ancient[b-yaclwi1j54] { background: #c0392b; }
.wm-sw.wm-open-hit[b-yaclwi1j54]    { background: #e8f5ec; border-color: #3a9d5d; }
.wm-bin.wm-match[b-yaclwi1j54] { outline: 2px solid var(--mud-palette-primary); outline-offset: 1px; }
.wm-bin.wm-dim[b-yaclwi1j54] { opacity: .26; }

@keyframes wm-pulse-b-yaclwi1j54 { 0%,100% { box-shadow: 0 0 0 0 rgba(211,47,47,.5); } 50% { box-shadow: 0 0 0 4px rgba(211,47,47,0); } }

.wm-aisle.wm-z-stage[b-yaclwi1j54] { background: rgba(217,154,43,.09); border-color: rgba(217,154,43,.4); }
.wm-aisle.wm-z-stage .wm-aisle-hd[b-yaclwi1j54] { color: #b06a12; }
.wm-aisle.wm-z-recv[b-yaclwi1j54] { background: rgba(47,107,154,.09); border-color: rgba(47,107,154,.4); }
.wm-aisle.wm-z-recv .wm-aisle-hd[b-yaclwi1j54] { color: #235273; }
.wm-aisle.wm-z-other[b-yaclwi1j54] { opacity: .95; }

/* ---- Side-panel content ---- */
.wm-detail-hd[b-yaclwi1j54] { display: flex; align-items: center; justify-content: space-between; font-weight: 700; font-size: 1.1rem;
                margin-bottom: 8px; font-family: var(--mud-typography-monospace, monospace); }
.wm-detail-sub[b-yaclwi1j54] { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 10px; }
.wm-detail-empty[b-yaclwi1j54] { color: var(--mud-palette-text-secondary); margin: 8px 0; }
/* Says the summary is deliberately not naming one pallet out of several, rather than
   looking like a value failed to load. */
.wm-detail-multi[b-yaclwi1j54] { color: var(--mud-palette-text-secondary); font-style: italic; }
.wm-detail-count[b-yaclwi1j54] { font-size: .82rem; color: var(--mud-palette-text-secondary); margin: 6px 0 8px; font-weight: 600; }
.wm-detail-list[b-yaclwi1j54] { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 0 0 6px; }
.wm-detail-list dt[b-yaclwi1j54] { color: var(--mud-palette-text-secondary); font-size: .8rem; }
.wm-detail-list dd[b-yaclwi1j54] { margin: 0; font-weight: 600; text-align: right; word-break: break-word; }

.wm-lpn-list[b-yaclwi1j54] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wm-lpn[b-yaclwi1j54] { border: 1px solid var(--mud-palette-lines-default); border-radius: 8px; padding: 8px 10px;
          background: var(--mud-palette-background-grey); }
.wm-lpn-top[b-yaclwi1j54] { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.wm-lpn-plate[b-yaclwi1j54] { font-family: var(--mud-typography-monospace, monospace); font-weight: 700; font-size: .95rem;
                color: var(--mud-palette-primary); text-decoration: none; display: inline-flex; align-items: center; gap: 3px; }
.wm-lpn-plate:hover[b-yaclwi1j54] { text-decoration: underline; }
.wm-lpn-open[b-yaclwi1j54] { font-size: .72rem; opacity: .6; }
.wm-lpn-qty[b-yaclwi1j54] { font-weight: 700; font-variant-numeric: tabular-nums; }
/* rochem-tasks#876 — unit and package beside the pallet's quantity, each its own field. */
.wm-lpn-top .wm-lpn-qty[b-yaclwi1j54] { margin-left: auto; }
.wm-lpn-uom[b-yaclwi1j54], .wm-lpn-pkg[b-yaclwi1j54] { font-size: .78rem; color: var(--mud-palette-text-secondary); }
.wm-lpn-prod[b-yaclwi1j54] { font-size: .86rem; margin: 2px 0 4px; word-break: break-word; }
.wm-lpn-meta[b-yaclwi1j54] { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: .76rem;
               color: var(--mud-palette-text-secondary); }

/* Narrow screens: drop the side panel under the map and grow tap targets. */
@media (max-width: 900px) {
    .wm-body[b-yaclwi1j54] { flex-direction: column; }
    .wm-side[b-yaclwi1j54] { position: static; flex-basis: auto; width: 100%; max-height: none; }
    .wm-bin[b-yaclwi1j54] { width: 40px; height: 40px; }
    .wm-bins[b-yaclwi1j54] { --wm-zone-tile: 52px; }
    .wm-shelf-lbl[b-yaclwi1j54] { width: 18px; }
}
@media (prefers-reduced-motion: reduce) { .wm-bin.wm-disc[b-yaclwi1j54] { animation: none; } .wm-bin:hover[b-yaclwi1j54] { transform: none; } }

/* rochem-tasks#1617 -- a phone. The map is a floor plan and can never be 390px wide, and the
   body's flex-start kept it at its full width: 1,160px past the edge, with the whole page scrolling
   sideways to reach it. The map scrolls inside its own box instead, so the stats, the toolbar and
   the detail panel stay put. */
@media (max-width: 600px) {
    .wm-body[b-yaclwi1j54] { align-items: stretch; }
    .wm-main[b-yaclwi1j54] { max-width: 100%; overflow-x: auto; }
}
