@import '_content/AdvDeli.Catalog.UI/AdvDeli.Catalog.UI.515a1z3eem.bundle.scp.css';
@import '_content/AdvDeli.Inventory.UI/AdvDeli.Inventory.UI.uxeodf054d.bundle.scp.css';
@import '_content/AdvDeli.Reporting.UI/AdvDeli.Reporting.UI.dv8ipq2kic.bundle.scp.css';
@import '_content/AdvDeli.TableDesigner.UI/AdvDeli.TableDesigner.UI.3r7mvslxxe.bundle.scp.css';

/* _content/AdvDeli.WebOffice/Components/Layout/MainLayout.razor.rz.scp.css */
#blazor-error-ui[b-20omsymqj0] {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss[b-20omsymqj0] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* _content/AdvDeli.WebOffice/Components/Pages/BarcodeSetup.razor.rz.scp.css */
/* Barcode Setup (v9.1).

   On the legacy rf-* cards like Currency Buttons, which are a light surface in both themes, so the
   role colours below are fixed light-surface values rather than --c-* tokens that would flip to
   their dark steps on a card that does not. One set of role colours, declared once here and used
   by both the digit boxes and the legend, so the two can never disagree. */
.bs[b-d22jcjq20a] {
    --bs-prefix: #1f6fb2;  --bs-prefix-wash: #e4effa;
    --bs-item: #b5651d;    --bs-item-wash: #fdf0e3;
    --bs-value: #2f8a57;   --bs-value-wash: #e3f4ea;
    --bs-check: #6b5bb5;   --bs-check-wash: #eeebfa;
    --bs-fill: #8a94a2;    --bs-fill-wash: #f3f5f8;
    max-width: 1200px;
}

.bs-grid[b-d22jcjq20a] { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 1000px) { .bs-grid[b-d22jcjq20a] { grid-template-columns: minmax(0, 1fr); } }

.bs-cardhead[b-d22jcjq20a] { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.bs-cardhead h3[b-d22jcjq20a] { margin: 0; font-size: 1.05rem; color: #1f2733; }

.bs-mono[b-d22jcjq20a] { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; letter-spacing: .02em; }

/* ---- list ---- */
.bs-tablewrap[b-d22jcjq20a] { overflow-x: auto; }
.bs-table[b-d22jcjq20a] { width: 100%; border-collapse: collapse; font-size: .88rem; }
.bs-table th[b-d22jcjq20a] { text-align: left; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
    color: #8a94a2; padding: 6px 8px; border-bottom: 1px solid #e6ecf3; }
.bs-table td[b-d22jcjq20a] { padding: 7px 8px; border-bottom: 1px solid #eef1f5; color: #1f2733; vertical-align: middle; }
.bs-table tbody tr[b-d22jcjq20a] { cursor: pointer; }
.bs-table tbody tr:hover td[b-d22jcjq20a] { background: #f6f8fc; }
.bs-table tbody tr.on td[b-d22jcjq20a] { background: #fdf6ec; }
.bs-table tbody tr.off td[b-d22jcjq20a] { color: #8a94a2; }
.bs-ord[b-d22jcjq20a] { white-space: nowrap; width: 1%; }
.bs-ic[b-d22jcjq20a] { border: 1px solid #d6dce6; background: #fff; color: #3d4756; border-radius: 6px; width: 24px; height: 22px;
    font-size: .62rem; line-height: 1; cursor: pointer; padding: 0; }
.bs-ic:disabled[b-d22jcjq20a] { opacity: .35; cursor: default; }
.bs-acts[b-d22jcjq20a] { white-space: nowrap; text-align: right; }
.bs-acts .btn + .btn[b-d22jcjq20a] { margin-left: 4px; }
.bs-flag[b-d22jcjq20a] { margin-left: 6px; font-size: .7rem; font-weight: 700; color: #8a5a12; background: #fdf3e3;
    border: 1px solid #e8d3a8; border-radius: 20px; padding: 1px 7px; }
.bs-new[b-d22jcjq20a] { margin-left: 6px; font-size: .7rem; font-weight: 700; color: #1f6fd6; background: #e7f0fb;
    border-radius: 20px; padding: 1px 7px; }
.bs-addbar[b-d22jcjq20a] { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.bs-dirty[b-d22jcjq20a] { margin: 10px 0 0; color: #8a5a12; font-weight: 600; }

/* ---- editor ---- */
.bs-form[b-d22jcjq20a] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 16px; }
.bs-wide[b-d22jcjq20a] { grid-column: 1 / -1; }
@media (max-width: 600px) { .bs-form[b-d22jcjq20a] { grid-template-columns: minmax(0, 1fr); } }
.bs-pos2[b-d22jcjq20a] { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: #5c6674; }
.bs-pos2 .rf-in[b-d22jcjq20a] { width: 72px; padding: 8px 8px; }
.bs-switches[b-d22jcjq20a] { flex-direction: row; flex-wrap: wrap; gap: 18px; }

.bs-problems[b-d22jcjq20a] { margin: 14px 0 0; padding: 9px 12px 9px 28px; background: #fdf3e3; border: 1px solid #e8d3a8;
    border-radius: 8px; color: #8a5a12; font-size: .84rem; line-height: 1.5; }
.bs-okline[b-d22jcjq20a] { margin: 14px 0 0; color: #1f7a4d; font-size: .84rem; font-weight: 600; }

.bs-sublabel[b-d22jcjq20a] { margin: 18px 0 8px; font-size: .78rem; font-weight: 800; letter-spacing: .04em;
    text-transform: uppercase; color: #8a94a2; }

/* ---- the digit diagram ---- */
.bs-digits[b-d22jcjq20a] { display: flex; flex-wrap: wrap; gap: 3px; margin-bottom: 10px; }
.bs-d[b-d22jcjq20a] { display: flex; flex-direction: column; align-items: center; width: 30px; border-radius: 6px;
    border: 1px solid; padding: 2px 0 4px; }
.bs-dpos[b-d22jcjq20a] { font-size: .6rem; font-weight: 700; opacity: .75; }
.bs-ddig[b-d22jcjq20a] { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: 1.15rem; font-weight: 800; line-height: 1.2; }
.bs-d.prefix[b-d22jcjq20a] { color: var(--bs-prefix); background: var(--bs-prefix-wash); border-color: var(--bs-prefix); }
.bs-d.item[b-d22jcjq20a]   { color: var(--bs-item);   background: var(--bs-item-wash);   border-color: var(--bs-item); }
.bs-d.value[b-d22jcjq20a]  { color: var(--bs-value);  background: var(--bs-value-wash);  border-color: var(--bs-value); }
.bs-d.check[b-d22jcjq20a]  { color: var(--bs-check);  background: var(--bs-check-wash);  border-color: var(--bs-check); }
.bs-d.fill[b-d22jcjq20a]   { color: var(--bs-fill);   background: var(--bs-fill-wash);   border-color: #d6dce6; }

.bs-legend[b-d22jcjq20a] { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .8rem; color: #3d4756; margin-bottom: 8px; }
.bs-legend span[b-d22jcjq20a] { display: inline-flex; align-items: center; gap: 6px; }
.bs-sw[b-d22jcjq20a] { display: inline-block; width: 14px; height: 14px; border-radius: 4px; border: 1px solid; }
.bs-sw.prefix[b-d22jcjq20a] { background: var(--bs-prefix-wash); border-color: var(--bs-prefix); }
.bs-sw.item[b-d22jcjq20a]   { background: var(--bs-item-wash);   border-color: var(--bs-item); }
.bs-sw.value[b-d22jcjq20a]  { background: var(--bs-value-wash);  border-color: var(--bs-value); }
.bs-sw.check[b-d22jcjq20a]  { background: var(--bs-check-wash);  border-color: var(--bs-check); }
.bs-sw.fill[b-d22jcjq20a]   { background: var(--bs-fill-wash);   border-color: #d6dce6; }

/* ---- test box ---- */
.bs-test[b-d22jcjq20a] { margin-top: 16px; }
.bs-testin[b-d22jcjq20a] { max-width: 420px; font-size: 1.05rem; }
.bs-result[b-d22jcjq20a] { margin-top: 12px; padding: 10px 14px; border-radius: 8px; font-size: .88rem; line-height: 1.5; border: 1px solid; }
.bs-result.ok[b-d22jcjq20a]   { background: #eaf7ef; border-color: #bfe3cd; color: #1c3b2a; }
.bs-result.bad[b-d22jcjq20a]  { background: #fdecec; border-color: #f5c2c2; color: #5c1a16; }
.bs-result.none[b-d22jcjq20a] { background: #f3f5f8; border-color: #dfe4eb; color: #3d4756; }
.bs-result dl[b-d22jcjq20a] { display: grid; grid-template-columns: max-content 1fr; gap: 4px 16px; margin: 0; }
.bs-result dt[b-d22jcjq20a] { font-weight: 700; color: #5c6674; }
.bs-result dd[b-d22jcjq20a] { margin: 0; }
.bs-good[b-d22jcjq20a] { color: #1f7a4d; font-weight: 700; }
.bs-badtxt[b-d22jcjq20a] { color: #b3261e; font-weight: 700; }
/* _content/AdvDeli.WebOffice/Components/Pages/Customers.razor.rz.scp.css */
/* Customers (v9.71, redesigned 2026-12-03 - look only, the fields are unchanged).
   Every colour is a theme.css token, so the page follows the brand accent and dark mode. */
.cu-page[b-qumasany6u] { max-width: 1400px; }
.cu-head[b-qumasany6u] { align-items: flex-end; }

/* The page's own primary buttons, the dialogs' Save, and focus rings take the brand accent. */
.rf-btn.primary[b-qumasany6u] { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-accent-ink); }
.rf-btn.primary:hover:not(:disabled)[b-qumasany6u] { background: var(--c-accent-press); border-color: var(--c-accent-press); }
.rf-in:focus[b-qumasany6u] { outline: 2px solid var(--c-accent-wash); border-color: var(--c-accent); }
.cu-dlgs[b-qumasany6u]  .rd-btn.primary { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-accent-ink); }
.cu-dlgs[b-qumasany6u]  .rd-btn.primary:hover:not(:disabled) { background: var(--c-accent-press); }

/* page tabs: underline */
.cu-tabs[b-qumasany6u] { display: flex; gap: 2px; border-bottom: 1px solid var(--c-line); margin-bottom: 14px; flex-wrap: wrap; }
.cu-tab[b-qumasany6u] {
    border: 0; background: none; padding: 10px 16px; font-size: .9rem; color: var(--c-text-faint); cursor: pointer;
    border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 600;
}
.cu-tab:hover[b-qumasany6u] { color: var(--c-text); }
.cu-tab.on[b-qumasany6u] { color: var(--c-text); border-bottom-color: var(--c-accent); }

.cu-split[b-qumasany6u] { display: grid; grid-template-columns: minmax(340px, 400px) minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 1000px) { .cu-split[b-qumasany6u] { grid-template-columns: 1fr; } }

/* ---- list ---- */
.cu-list[b-qumasany6u] { background: var(--c-s2); border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden;
    display: flex; flex-direction: column; max-height: calc(100dvh - 230px); }
.cu-lhead[b-qumasany6u] { padding: 12px; border-bottom: 1px solid var(--c-line); display: flex; flex-direction: column; gap: 10px; background: var(--c-s1); }
.cu-search[b-qumasany6u] { display: flex; gap: 6px; }
.cu-search .rf-in[b-qumasany6u] { flex: 1; min-width: 0; padding: 8px 11px; }
.cu-lmeta[b-qumasany6u] { display: flex; justify-content: space-between; align-items: center; font-size: .8rem; color: var(--c-text-faint); gap: 10px; }
.cu-lmeta .rf-sw[b-qumasany6u] { font-size: .82rem; }
.cu-rows[b-qumasany6u] { overflow: auto; min-height: 0; }

.cu-r[b-qumasany6u] { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 11px; align-items: center;
    padding: 10px 12px; border-bottom: 1px solid var(--c-line); border-left: 3px solid transparent; cursor: pointer; }
.cu-r:hover[b-qumasany6u] { background: var(--c-s4); }
.cu-r.sel[b-qumasany6u] { background: var(--c-accent-wash); border-left-color: var(--c-accent); }
.cu-r.inact[b-qumasany6u] { opacity: .6; }
.cu-rmid[b-qumasany6u] { min-width: 0; }
.cu-nm[b-qumasany6u] { font-weight: 600; color: var(--c-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cu-ln[b-qumasany6u] { display: flex; gap: 10px; font-size: .77rem; color: var(--c-text-faint); white-space: nowrap; overflow: hidden; }
.cu-rt[b-qumasany6u] { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.cu-bal[b-qumasany6u] { font-weight: 700; font-size: .88rem; font-variant-numeric: tabular-nums; color: var(--c-text); }
.cu-dim[b-qumasany6u] { color: var(--c-text-faint); font-weight: 400; }

.cu-av[b-qumasany6u] { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff;
    font-weight: 700; font-size: .84rem; flex: none; letter-spacing: .3px; }
.cu-av.lg[b-qumasany6u] { width: 56px; height: 56px; font-size: 1.15rem; }

.cu-pill[b-qumasany6u] { display: inline-flex; align-items: center; gap: 5px; border-radius: var(--r-pill); padding: 2px 9px;
    font-size: .72rem; font-weight: 700; white-space: nowrap; vertical-align: middle; }
.cu-pill[b-qumasany6u]::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.cu-pill.acct[b-qumasany6u] { background: var(--c-accent-wash); color: var(--c-accent-text); }
.cu-pill.act[b-qumasany6u] { background: color-mix(in srgb, var(--c-go) 15%, transparent); color: var(--c-go-text); }
.cu-pill.off[b-qumasany6u] { background: var(--well-fill-strong); color: var(--c-text-dim); }

.cu-empty[b-qumasany6u] { color: var(--c-text-faint); text-align: center; padding: 22px !important; }
.cu-over[b-qumasany6u] { color: var(--c-stop-text); font-weight: 700; }

/* ---- detail ---- */
.cu-detail[b-qumasany6u] { background: var(--c-s2); border: 1px solid var(--c-line); border-radius: var(--r-md); overflow: hidden; min-height: 220px; }
.cu-none[b-qumasany6u] { color: var(--c-text-faint); display: grid; place-items: center; text-align: center; padding: 30px; }
.cu-none-ic[b-qumasany6u] { font-size: 2rem; opacity: .5; margin-bottom: 6px; }

.cu-hero[b-qumasany6u] { display: flex; gap: 16px; align-items: center; padding: 18px 20px;
    background: linear-gradient(180deg, var(--c-accent-wash), transparent); border-bottom: 1px solid var(--c-line); }
.cu-hero-txt[b-qumasany6u] { flex: 1; min-width: 0; }
.cu-hero h2[b-qumasany6u] { margin: 0; font-size: 1.3rem; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; color: var(--c-text); }
.cu-sub[b-qumasany6u] { color: var(--c-text-faint); font-size: .8rem; }
.cu-meta[b-qumasany6u] { color: var(--c-text-dim); font-size: .83rem; display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 4px; }

.cu-kpis[b-qumasany6u] { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 16px 20px 4px; }
@media (max-width: 760px) { .cu-kpis[b-qumasany6u] { grid-template-columns: repeat(2, 1fr); } }
.cu-kpi[b-qumasany6u] { position: relative; overflow: hidden; border: 1px solid var(--c-line); border-radius: var(--r-sm);
    padding: 11px 14px 11px 16px; display: flex; flex-direction: column; gap: 2px; background: var(--c-s2); }
.cu-kpi[b-qumasany6u]::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--k, var(--c-accent)); }
.cu-kpi span[b-qumasany6u] { color: var(--c-text-faint); font-size: .7rem; text-transform: uppercase; letter-spacing: var(--track-label); font-weight: 700; }
.cu-kpi b[b-qumasany6u] { font-size: 1.2rem; font-variant-numeric: tabular-nums; color: var(--c-text); }
.cu-kpi b.cu-over[b-qumasany6u] { color: var(--c-stop-text); }
.cu-kpi small[b-qumasany6u] { color: var(--c-text-faint); font-size: .76rem; }
.cu-meter[b-qumasany6u] { height: 6px; background: var(--well-fill-strong); border-radius: 99px; margin-top: 6px; overflow: hidden; }
.cu-meter i[b-qumasany6u] { display: block; height: 100%; border-radius: 99px; }
.cu-meter i.ok[b-qumasany6u] { background: var(--c-go); }
.cu-meter i.warn[b-qumasany6u] { background: var(--c-accent); }
.cu-meter i.over[b-qumasany6u] { background: var(--c-stop); }

.cu-body[b-qumasany6u] { padding: 14px 20px 20px; }
.cu-tbar[b-qumasany6u] { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.cu-tools[b-qumasany6u] { display: flex; gap: 8px; flex-wrap: wrap; }
.cu-seg[b-qumasany6u] { display: inline-flex; background: var(--well-fill-strong); border-radius: var(--r-sm); padding: 3px; gap: 2px; flex-wrap: wrap; }
.cu-seg button[b-qumasany6u] { border: 0; background: none; padding: 6px 13px; border-radius: 8px; font-size: .84rem; font-weight: 600; color: var(--c-text-dim); cursor: pointer; }
.cu-seg button:hover[b-qumasany6u] { color: var(--c-text); }
.cu-seg button.on[b-qumasany6u] { background: var(--c-s2); color: var(--c-text); box-shadow: inset 0 -2px 0 var(--c-accent), 0 1px 2px rgba(0, 0, 0, .12); }

.cu-range[b-qumasany6u] { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-bottom: 10px; }
.cu-range label[b-qumasany6u] { display: inline-flex; gap: 6px; align-items: center; font-size: .82rem; color: var(--c-text-faint); }
.cu-range .rf-in[b-qumasany6u] { padding: 6px 8px; }

.cu-tbl[b-qumasany6u] { border: 1px solid var(--c-line); border-radius: var(--r-sm); overflow: auto; }
.cu-st-head[b-qumasany6u] { display: flex; justify-content: space-between; gap: 10px; font-size: .86rem; padding: 9px 12px; color: var(--c-text);
    background: var(--c-s1); border: 1px solid var(--c-line); border-bottom: 0; border-radius: var(--r-sm) var(--r-sm) 0 0; }
.cu-st-head span[b-qumasany6u] { color: var(--c-text-faint); }
.cu-st-head + .cu-tbl[b-qumasany6u] { border-radius: 0 0 var(--r-sm) var(--r-sm); }
.cu-open td[b-qumasany6u] { color: var(--c-text-dim); font-style: italic; }
.cu-note[b-qumasany6u] { color: var(--c-text-faint); font-size: .78rem; }
.cu-plus[b-qumasany6u] { color: var(--c-go-text); font-weight: 700; }
.cu-minus[b-qumasany6u] { color: var(--c-stop-text); font-weight: 700; }
.badge.cu-flag[b-qumasany6u] { background: color-mix(in srgb, var(--c-stop) 14%, transparent); color: var(--c-stop-text); margin-left: 6px; }

.cu-addrs[b-qumasany6u] { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.cu-addr[b-qumasany6u] { border: 1px solid var(--c-line); border-radius: var(--r-sm); padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; font-size: .88rem; background: var(--c-s2); }
.cu-addr.def[b-qumasany6u] { border-color: color-mix(in srgb, var(--c-go) 45%, var(--c-line)); background: color-mix(in srgb, var(--c-go) 6%, var(--c-s2)); }
.cu-addr-h[b-qumasany6u] { display: flex; align-items: center; gap: 8px; color: var(--c-text); }
.cu-addr-t[b-qumasany6u] { color: var(--c-text-dim); }
.cu-addr-a[b-qumasany6u] { display: flex; gap: 6px; margin-top: 6px; }

/* ---- dialogs: grouped cards ---- */
.cu-grp[b-qumasany6u] { background: var(--c-s2); border: 1px solid var(--c-line); border-radius: var(--r-sm); padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; }
.cu-grp > h4[b-qumasany6u] { margin: 0; display: flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: var(--track-label); color: var(--c-text-dim); }
.cu-gic[b-qumasany6u] { width: 22px; height: 22px; border-radius: 7px; background: var(--c-accent-wash); color: var(--c-accent-text); display: grid; place-items: center;
    font-size: .78rem; text-transform: none; letter-spacing: 0; }
.cu-f2[b-qumasany6u] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.cu-f3[b-qumasany6u] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 560px) { .cu-f2[b-qumasany6u], .cu-f3[b-qumasany6u] { grid-template-columns: 1fr; } }

.cu-acct[b-qumasany6u] { border: 1px solid var(--c-line); border-radius: var(--r-sm); padding: 12px 14px; display: flex; flex-direction: column; gap: 10px; }
.cu-acct.on[b-qumasany6u] { border-color: var(--c-accent); background: var(--c-accent-wash); }
.cu-acct-sw[b-qumasany6u] { justify-content: space-between; width: 100%; }
.cu-acct-txt[b-qumasany6u] { display: flex; flex-direction: column; }
.cu-acct-txt b[b-qumasany6u] { font-size: .92rem; color: var(--c-text); }
.cu-acct-txt small[b-qumasany6u] { color: var(--c-text-faint); font-size: .78rem; }

@media print {
    .cu-tabs[b-qumasany6u], .cu-tbar[b-qumasany6u], .cu-range[b-qumasany6u], .grid-toolbar[b-qumasany6u], .cu-list[b-qumasany6u], .cu-kpis[b-qumasany6u], .cu-hero button[b-qumasany6u], .cu-head button[b-qumasany6u] { display: none !important; }
    .cu-split[b-qumasany6u] { display: block; }
    .cu-detail[b-qumasany6u] { border: 0; }
}

/* Loyalty plan (v9.72) */
.cu-plan[b-qumasany6u] { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 12px; }
@media (max-width: 640px) { .cu-plan[b-qumasany6u] { grid-template-columns: 1fr; } }
.cu-plan > div[b-qumasany6u] { border: 1px solid var(--c-line); background: var(--c-s1); border-radius: var(--r-sm); padding: 10px 14px; display: flex; flex-direction: column; gap: 2px; color: var(--c-text); }
.cu-plan span[b-qumasany6u] { color: var(--c-text-faint); font-size: .7rem; text-transform: uppercase; letter-spacing: var(--track-label); font-weight: 700; }
.cu-plan small[b-qumasany6u] { color: var(--c-text-faint); font-size: .76rem; }
.cu-planopt[b-qumasany6u] { display: flex; gap: 10px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--c-line); border-radius: var(--r-sm); margin-bottom: 6px; cursor: pointer; background: var(--c-s2); color: var(--c-text); }
.cu-planopt.on[b-qumasany6u] { border-color: var(--c-accent); background: var(--c-accent-wash); box-shadow: 0 0 0 1px var(--c-accent) inset; }
.cu-planopt small[b-qumasany6u] { display: block; color: var(--c-text-faint); font-size: .78rem; }
/* _content/AdvDeli.WebOffice/Components/Pages/DiningTables.razor.rz.scp.css */
/* Floors & Tables */
.dt-h[b-qekv63ssyn] { font-size: 1rem; font-weight: 600; margin: 1.25rem 0 .5rem; }
.dt-floors[b-qekv63ssyn] { display: flex; flex-wrap: wrap; gap: .5rem; align-items: stretch; }
.dt-floor[b-qekv63ssyn] { display: flex; flex-direction: column; justify-content: space-between; gap: .4rem;
            min-width: 180px; padding: .6rem .75rem; border: 1px solid var(--c-line, #e3e8ef);
            border-radius: 8px; background: var(--c-surface, #fff); }
.dt-floor.off[b-qekv63ssyn] { opacity: .6; }
.dt-floor-t[b-qekv63ssyn] { display: flex; flex-direction: column; }
.dt-floor-a[b-qekv63ssyn] { display: flex; gap: .35rem; }
.dt-bar[b-qekv63ssyn] { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: .5rem; }
.dt-pair[b-qekv63ssyn] { display: flex; gap: .5rem; align-items: center; }
.dt-pair .rf-in[b-qekv63ssyn] { max-width: 7rem; }
/* _content/AdvDeli.WebOffice/Components/Pages/FloorDesigner.razor.rz.scp.css */
/* Edge to edge: the designer has the whole window under one thin bar. */
.tdp-page[b-jymyl7iuve] {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    background: var(--c-s0, #f4f6fa);
    overflow: hidden;
    /* The workspace fills what is under the bar (floor-designer.css reads these). */
    --fw-height: 100%;
    --fw-min-height: 0;
}

.tdp-bar[b-jymyl7iuve] {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 14px;
    background: var(--c-s1, #fff);
    border-bottom: 1px solid var(--c-line, #e1e6ee);
    flex: none;
}

.tdp-back[b-jymyl7iuve] {
    border: 1px solid var(--c-line-strong, #d6dce6);
    background: var(--c-s1, #fff);
    border-radius: 10px;
    padding: 7px 14px;
    font-weight: 700;
    font-size: .88rem;
    color: var(--c-text, #1f2733);
    cursor: pointer;
}

.tdp-back:hover[b-jymyl7iuve] { background: var(--c-s3, #f1f4f9); }

.tdp-title[b-jymyl7iuve] { font-weight: 800; font-size: 1rem; }

.tdp-store[b-jymyl7iuve] {
    padding: 2px 10px;
    border: 1px solid var(--c-line, #e1e6ee);
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
    color: var(--c-text-dim, #5c6674);
}

.tdp-hint[b-jymyl7iuve] {
    margin-left: auto;
    font-size: .82rem;
    color: var(--c-text-dim, #5c6674);
}

.tdp-body[b-jymyl7iuve] {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.tdp-body[b-jymyl7iuve]  .fw {
    flex: 1 1 auto;
    min-height: 0;
}
/* _content/AdvDeli.WebOffice/Components/Pages/GlobalChanges.razor.rz.scp.css */
/* Global Changes.

   Wider than the .rf-page maximum the single-record forms use: this screen is two working panes
   side by side, and squeezing them into 1100px turns the item grid into a column of ellipses. */

.gc-page[b-7pp2vc5jcw] { max-width: 1560px; margin: 0 auto; padding: 8px 4px; }

/* The split. Item selection is the half that gets scanned, so it takes the larger share; the
   change pane is a column of controls and does not benefit from the extra width. */
.gc-split[b-7pp2vc5jcw] {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

/* Below this the two panes stop being readable side by side and stack instead. */
@media (max-width: 1180px) {
    .gc-split[b-7pp2vc5jcw] { grid-template-columns: minmax(0, 1fr); }
}

.gc-pane[b-7pp2vc5jcw] {
    background: #fff;
    border: 1px solid var(--line, #e3e8ef);
    border-radius: 14px;
    padding: 14px 16px 16px;
    min-width: 0;
}

.gc-pane-head[b-7pp2vc5jcw] {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 12px; margin-bottom: 12px;
}
.gc-pane-head h2[b-7pp2vc5jcw] { font-size: 1.05rem; margin: 0; color: #1f2733; }
.gc-count[b-7pp2vc5jcw] { font-size: .84rem; color: #5c6674; font-variant-numeric: tabular-nums; }

/* ---- filters ---- */

.gc-filters[b-7pp2vc5jcw] { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 10px; }
.gc-f[b-7pp2vc5jcw] { display: flex; flex-direction: column; gap: 5px; min-width: 140px; }
.gc-f.grow[b-7pp2vc5jcw] { flex: 1 1 180px; }
.gc-f > label[b-7pp2vc5jcw] { font-size: .74rem; font-weight: 700; color: #6b7482; text-transform: uppercase; letter-spacing: .03em; }
.gc-f .rf-in[b-7pp2vc5jcw] { padding: 7px 10px; font-size: .88rem; }

.gc-seltools[b-7pp2vc5jcw] { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }

/* ---- the item grid ---- */

/* Capped and scrolled rather than left to run down the page: the change pane has to stay in view
   while the selection is being made, and a thousand-row table would push it out of reach. */
.gc-grid-wrap[b-7pp2vc5jcw] { max-height: 62vh; }

/* On a phone the cap stops earning its keep. 62vh of a 717px screen is a scroll box roughly three
   CARDS tall — a window onto 143 items, inside a page that also scrolls, so the operator is
   working two nested scrollbars with a thumb. The cap exists to stop the list running down the
   page on a desktop where the change panel sits beside it; here that panel is BELOW the list
   anyway, so letting the list have its own length costs nothing and removes the inner scroll.
   dvh, not vh, so the mobile URL bar does not eat the bottom of it. */
@media (max-width: 560px) {
    .gc-grid-wrap[b-7pp2vc5jcw] { max-height: none; }
}

.gc-grid[b-7pp2vc5jcw] { width: 100%; font-size: .87rem; }
.gc-grid th[b-7pp2vc5jcw] { position: sticky; top: 0; z-index: 1; background: #f7f9fc; }
.gc-grid td[b-7pp2vc5jcw], .gc-grid th[b-7pp2vc5jcw] { padding: 7px 10px; }
.gc-grid th.chk[b-7pp2vc5jcw], .gc-grid td.chk[b-7pp2vc5jcw] { width: 34px; padding-right: 0; }
.gc-grid td.num[b-7pp2vc5jcw], .gc-grid th.num[b-7pp2vc5jcw] { text-align: right; font-variant-numeric: tabular-nums; }
.gc-grid tr.gc-sel[b-7pp2vc5jcw] { background: #eef1fd; }

.gc-code[b-7pp2vc5jcw] { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .82rem; color: #47505e; }
.gc-sub[b-7pp2vc5jcw] { display: block; font-size: .76rem; color: #8a93a1; }
.gc-muted[b-7pp2vc5jcw] { color: #9aa3b1; }

.gc-tag[b-7pp2vc5jcw] {
    display: inline-block; padding: 1px 7px; border-radius: 999px;
    font-size: .74rem; font-weight: 600; border: 1px solid transparent;
}
.gc-tag.ok[b-7pp2vc5jcw]   { background: #e6f4ec; color: #1e6f45; border-color: #c3e4d2; }
.gc-tag.off[b-7pp2vc5jcw]  { background: #f1f3f6; color: #6b7482; border-color: #dde2ea; }
.gc-tag.warn[b-7pp2vc5jcw] { background: #fdf3e3; color: #8a5a12; border-color: #e8d3a8; }

/* ---- the change cards ---- */

.gc-cards[b-7pp2vc5jcw] { display: flex; flex-direction: column; gap: 10px; }

.gc-card[b-7pp2vc5jcw] {
    border: 1px solid #e3e8ef; border-radius: 12px;
    background: #fbfcfe; transition: border-color .12s, background .12s;
}
/* A chosen card is visibly chosen. Six collapsed cards look identical otherwise, and "why did it
   only change the tax?" is the question that follows. */
.gc-card.on[b-7pp2vc5jcw] { border-color: #b9c0f0; background: #fff; }

.gc-card-head[b-7pp2vc5jcw] {
    display: flex; align-items: center; gap: 10px;
    padding: 11px 13px; cursor: pointer; user-select: none;
}
.gc-card-t[b-7pp2vc5jcw] { font-weight: 650; font-size: .93rem; color: #1f2733; }

.gc-card-body[b-7pp2vc5jcw] {
    display: flex; flex-direction: column; gap: 10px;
    padding: 2px 13px 13px; border-top: 1px solid #eef1f6;
    padding-top: 11px;
}
.gc-card-body .rf-in[b-7pp2vc5jcw] { font-size: .88rem; padding: 7px 10px; }

/* Label above control, for the "leave as is / on / off" dropdowns. */
.gc-tri[b-7pp2vc5jcw] { display: flex; flex-direction: column; gap: 5px; }
.gc-tri > label[b-7pp2vc5jcw] { font-size: .74rem; font-weight: 700; color: #6b7482; text-transform: uppercase; letter-spacing: .03em; }

.gc-qty[b-7pp2vc5jcw] { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8px; }

/* THE STOCK QUANTITY ROW IS HOW ITEMS GO OFF SALE, so it gets stacked rather than squeezed.
   Availability across the kiosks and tills is driven from here — mark the item as counted, enter
   what is physically left, and it sells out on its own once that many have gone. That makes this
   the most consequential pair of fields on the screen, and the two are not equal: picking
   Replace when you meant Add books a stock correction rather than a delivery.

   Side by side at 320px the mode select gets about 148px and shows "Replace — coun…", which is
   exactly where that mistake gets made. One per row, full width, both legible. */
@media (max-width: 560px) {
    .gc-qty[b-7pp2vc5jcw] { grid-template-columns: 1fr; gap: 10px; }
}

.gc-note[b-7pp2vc5jcw] { margin: 0; font-size: .8rem; color: #5c6674; line-height: 1.45; }
.gc-note.warn[b-7pp2vc5jcw] {
    background: #fdf3e3; border: 1px solid #e8d3a8; color: #8a5a12;
    padding: 7px 10px; border-radius: 8px;
}

/* ---- apply ---- */

.gc-apply[b-7pp2vc5jcw] {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    margin-top: 14px; padding-top: 13px; border-top: 1px solid #eef1f6;
}
.gc-hint[b-7pp2vc5jcw] { font-size: .82rem; color: #8a93a1; }

/* ---- the preview dialog ---- */

.gc-plan-lead[b-7pp2vc5jcw] { margin: 0 0 10px; font-size: .9rem; color: #3d4756; line-height: 1.5; }

.gc-plan[b-7pp2vc5jcw] { width: 100%; border-collapse: collapse; font-size: .88rem; }
.gc-plan td[b-7pp2vc5jcw] { padding: 8px 10px; border-bottom: 1px solid #eef1f6; vertical-align: top; }
.gc-plan tr:last-child td[b-7pp2vc5jcw] { border-bottom: 0; }
.gc-plan-w[b-7pp2vc5jcw] { font-weight: 650; color: #1f2733; white-space: nowrap; width: 1%; }
.gc-plan-d[b-7pp2vc5jcw] { color: #3d4756; }
.gc-plan-n[b-7pp2vc5jcw] { text-align: right; white-space: nowrap; color: #5c6674; font-variant-numeric: tabular-nums; }

.gc-blockers[b-7pp2vc5jcw] {
    background: #fdeceb; border: 1px solid #f2c4c0; border-radius: 10px;
    padding: 11px 13px; margin-bottom: 14px; color: #8c2f28;
}
.gc-blocker[b-7pp2vc5jcw] { margin-top: 9px; }
.gc-blocker:first-of-type[b-7pp2vc5jcw] { margin-top: 7px; }
.gc-blocker-r[b-7pp2vc5jcw] { font-weight: 600; font-size: .88rem; }
.gc-blocker-n[b-7pp2vc5jcw] { font-weight: 400; opacity: .8; }
.gc-blocker-a[b-7pp2vc5jcw] { font-size: .83rem; opacity: .9; margin-top: 2px; line-height: 1.45; }

/* ---- the confirmation that it landed ---- */

.gc-done[b-7pp2vc5jcw] {
    display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
    position: fixed; left: 50%; bottom: 22px; transform: translateX(-50%);
    z-index: 60; background: #e6f4ec; border: 1px solid #c3e4d2; color: #1e6f45;
    padding: 11px 16px; border-radius: 12px; font-size: .9rem;
    box-shadow: 0 6px 22px rgba(20, 40, 30, .16);
}
/* _content/AdvDeli.WebOffice/Components/Pages/Home.razor.rz.scp.css */
/* =============================================================================================
   Back Office dashboard.

   WAS AN INLINE <style> BLOCK IN Home.razor. That is worth knowing about rather than just
   fixing: a <style> element inside a component is emitted into the document verbatim. It is not
   scoped, so every rule in it is global and leaks to every other page; and it was written before
   the design system arrived, so it carried its own hex literals and never picked up a token
   change. The same trap took out the ModifierPicker dialog on the till, which stayed dark for a
   week after everything around it went light. Scoped stylesheet, shared tokens.

   MOUSE, NOT TOUCH — this is a browser application. The Cashier's 44px floor does not apply.
   ============================================================================================= */

.dash-home[b-37f38bk5dg] {
    max-width: 1100px;
    margin: 0 auto;
    padding: 8px 4px;
    color: var(--c-text);
}

.dash-head[b-37f38bk5dg] { padding: 12px 6px 24px; }
.dash-head h1[b-37f38bk5dg] {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -.018em;
    margin: 0 0 .35rem;
    color: var(--c-text);
}
.dash-lead[b-37f38bk5dg] { color: var(--c-text-dim); font-size: 1.02rem; margin: 0; }

.dash-cards[b-37f38bk5dg] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
}

/* Glass, no backdrop-filter: these sit over the mesh that .bo::before paints, and blurring a
   smooth gradient returns the same gradient. The fill and the edge highlight do the work. */
.dash-card[b-37f38bk5dg] {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 22px;
    background: var(--glass-fill);
    border: 1px solid var(--glass-line);
    border-radius: var(--r-lg);
    box-shadow: var(--glass-edge);
    text-decoration: none;
    color: inherit;
    transition: transform .1s ease, box-shadow .15s ease, border-color .15s ease;
}
a.dash-card:hover[b-37f38bk5dg] {
    transform: translateY(-2px);
    border-color: var(--glass-line-hi);
    box-shadow: 0 10px 28px rgba(20, 30, 50, .12), var(--glass-edge);
}

/* Not a link — the screen does not exist yet. It keeps its shape so the grid stays even, but
   loses the hover and the arrow so it never looks clickable. */
.dash-card.soon[b-37f38bk5dg] { opacity: .66; }

.dash-ic[b-37f38bk5dg] {
    width: 46px;
    height: 46px;
    border-radius: var(--r-sm);
    display: grid;
    place-items: center;
    flex: 0 0 auto;
}
.dash-ic svg[b-37f38bk5dg] { width: 22px; height: 22px; }

/* Tinted glass rather than flat pastel fills, so the chips sit in the same material as the card.
   One hue per destination — the only place on this screen colour carries any meaning. */
.dash-ic.cat[b-37f38bk5dg]   { background: var(--c-accent-wash);                              color: var(--c-accent-text); }
.dash-ic.menu[b-37f38bk5dg]  { background: color-mix(in srgb, var(--c-go) 15%, transparent);  color: var(--c-go-text); }
.dash-ic.sys[b-37f38bk5dg]   { background: color-mix(in srgb, #2B62C9 14%, transparent);      color: #1E4C9E; }
.dash-ic.store[b-37f38bk5dg] { background: color-mix(in srgb, #7C5CD6 15%, transparent);      color: #5B3FB0; }

.dash-ct[b-37f38bk5dg] {
    font-size: 1.12rem;
    font-weight: 800;
    letter-spacing: var(--track-tight);
    margin-top: 6px;
    color: var(--c-text);
}
.dash-cd[b-37f38bk5dg] { color: var(--c-text-dim); font-size: .9rem; line-height: 1.55; }

.dash-go[b-37f38bk5dg] {
    color: var(--c-accent-text);
    font-weight: 700;
    font-size: .9rem;
    margin-top: auto;
    padding-top: 8px;
}
.dash-soon[b-37f38bk5dg] {
    color: var(--c-text-faint);
    font-weight: 700;
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: var(--track-label);
    margin-top: auto;
    padding-top: 8px;
}

/* =============================================================================================
   Your shortcuts — the customisable half of the dashboard.
   ============================================================================================= */

.dash-sechead[b-37f38bk5dg] {
    display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
    margin: 34px 6px 14px;
}
.dash-sechead h2[b-37f38bk5dg] {
    font-size: .78rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: var(--track-label);
    color: var(--c-text-faint);
}
.dash-edit[b-37f38bk5dg] {
    border: 1px solid var(--glass-line-hi);
    background: var(--c-s2);
    color: var(--c-text);
    border-radius: var(--r-sm);
    padding: 6px 14px;
    font-family: var(--font); font-size: .82rem; font-weight: 700;
    cursor: pointer;
}
.dash-edit:hover[b-37f38bk5dg] { background: var(--c-s4); }

/* Shortcuts are compact: icon and name on one row, narrower tiles, so a dozen pins fit without
   scrolling. The core tiles above keep their full size — they are the way in for a new user. */
.sc-cards[b-37f38bk5dg] {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 12px;
}
.sc-cards .dash-card[b-37f38bk5dg] { border-radius: var(--r-md); }

.dash-ic.pin[b-37f38bk5dg] { background: var(--well-fill-strong); color: var(--c-text-dim); }
.sc-cards .dash-ic[b-37f38bk5dg] { width: 34px; height: 34px; }
.sc-cards .dash-ic svg[b-37f38bk5dg] { width: 18px; height: 18px; }

/* A pinned card is a link wrapping the whole tile, plus a tool row that only exists in edit mode.
   The <a> is a grid child rather than the card itself so the tools are not inside the link — a
   Remove button inside an anchor navigates as well as removing. */
.dash-card.sc[b-37f38bk5dg] { padding: 0; gap: 0; }
.dash-card.sc:not(.editing):hover[b-37f38bk5dg] { border-color: var(--glass-line-hi); }
.sc-hit[b-37f38bk5dg] {
    display: flex; flex-direction: row; align-items: center; gap: 10px;
    padding: 16px 12px;
    text-decoration: none; color: inherit;
    border-radius: inherit;
    height: 100%;
}
.sc-txt[b-37f38bk5dg] { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.sc-name[b-37f38bk5dg] {
    font-size: .92rem; font-weight: 700; color: var(--c-text);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sc-grp[b-37f38bk5dg] {
    font-size: .74rem; color: var(--c-text-faint);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sc-go[b-37f38bk5dg] { color: var(--c-accent-text); font-weight: 700; flex: 0 0 auto; }
.dash-card.sc.editing .sc-hit[b-37f38bk5dg] { cursor: default; }

.sc-tools[b-37f38bk5dg] {
    display: flex; align-items: center; gap: 8px;
    padding: 0 12px 10px;
}
.sc-tool[b-37f38bk5dg] {
    border: 1px solid var(--glass-line-hi);
    background: var(--c-s2);
    color: var(--c-text);
    border-radius: var(--r-sm);
    min-height: 32px; padding: 0 11px;
    font-family: var(--font); font-size: .8rem; font-weight: 700;
    cursor: pointer;
}
.sc-tool:hover:not(:disabled)[b-37f38bk5dg] { background: var(--c-s4); }
.sc-tool:disabled[b-37f38bk5dg] { opacity: .4; cursor: default; }
.sc-tool.danger[b-37f38bk5dg] {
    margin-left: auto;
    color: var(--c-stop-text);
    border-color: color-mix(in srgb, var(--c-stop) 40%, transparent);
    background: color-mix(in srgb, var(--c-stop) 9%, var(--c-s2));
}
.sc-tool.danger:hover[b-37f38bk5dg] { background: color-mix(in srgb, var(--c-stop) 16%, var(--c-s2)); }

/* The add tile. Dashed and unfilled so it reads as a slot rather than as a card with content —
   the one place on the screen where "this is empty on purpose" has to be obvious. */
.dash-card.add[b-37f38bk5dg] {
    display: flex; flex-direction: row; align-items: center; gap: 10px;
    padding: 16px 12px;
    background: transparent;
    border: 1px dashed var(--c-line-strong);
    box-shadow: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font);
    min-height: 75px;
    transition: border-color .15s ease, background-color .15s ease;
}
.dash-card.add:hover[b-37f38bk5dg] {
    border-color: var(--c-accent);
    background: var(--c-accent-wash);
    transform: none;
}
.add-plus[b-37f38bk5dg] {
    width: 34px; text-align: center;
    font-size: 1.3rem; font-weight: 800; line-height: 1;
    color: var(--c-accent-text);
}
.add-lbl[b-37f38bk5dg] { font-size: .92rem; font-weight: 700; color: var(--c-text); }

/* ---------------------------------------------------------------------------------------------
   Picker dialog.
   --------------------------------------------------------------------------------------------- */
.pk-ov[b-37f38bk5dg] {
    position: fixed; inset: 0; z-index: 200;
    background: var(--scrim);
    -webkit-backdrop-filter: var(--scrim-blur);
    backdrop-filter: var(--scrim-blur);
    display: grid; place-items: center; padding: 20px;
}
.pk[b-37f38bk5dg] {
    width: min(520px, 100%); max-height: 82vh;
    display: flex; flex-direction: column;
    background: var(--modal-fill);
    border: 1px solid var(--glass-line-hi);
    border-radius: var(--r-lg);
    -webkit-backdrop-filter: var(--modal-blur);
    backdrop-filter: var(--modal-blur);
    box-shadow: var(--shadow-modal), var(--glass-edge);
    color: var(--c-text);
}
.pk-head[b-37f38bk5dg] {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 18px 20px 14px;
    border-bottom: 1px solid var(--glass-line);
}
.pk-head h3[b-37f38bk5dg] { font-size: 1.05rem; font-weight: 800; letter-spacing: var(--track-tight); }
.pk-x[b-37f38bk5dg] {
    width: 34px; height: 34px; flex: 0 0 auto;
    border: 1px solid var(--glass-line-hi);
    background: var(--glass-fill-hi);
    color: var(--c-text-dim);
    border-radius: var(--r-sm);
    cursor: pointer;
}
.pk-x:hover[b-37f38bk5dg] { background: var(--glass-fill-hover); color: var(--c-text); }

.pk-search[b-37f38bk5dg] { padding: 14px 20px 8px; }
.pk-search input[b-37f38bk5dg] {
    width: 100%; min-height: 42px;
    border: 1px solid var(--glass-line-hi);
    border-radius: var(--r-sm);
    background: var(--c-s2);
    color: var(--c-text);
    padding: 0 14px;
    font-family: var(--font); font-size: .94rem;
    outline: none;
}
.pk-search input:focus[b-37f38bk5dg] { border-color: var(--c-accent); box-shadow: 0 0 0 3px var(--c-accent-wash); }

.pk-body[b-37f38bk5dg] { overflow-y: auto; padding: 6px 12px 16px; }
.pk-group[b-37f38bk5dg] { margin-bottom: 10px; }
.pk-group-ttl[b-37f38bk5dg] {
    font-size: .7rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: var(--track-label);
    color: var(--c-text-faint);
    padding: 10px 8px 6px;
}
.pk-opt[b-37f38bk5dg] {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    min-height: 40px; padding: 0 8px;
    border: 0; background: transparent;
    border-radius: var(--r-sm);
    font-family: var(--font); font-size: .92rem;
    color: var(--c-text);
    cursor: pointer; text-align: left;
}
.pk-opt:hover[b-37f38bk5dg] { background: var(--glass-fill-hi); }
.pk-opt-add[b-37f38bk5dg] {
    opacity: 0;
    font-size: .78rem; font-weight: 700;
    color: var(--c-accent-text);
}
/* Revealed on hover AND on focus — keyboard users never trigger :hover, and a control that only
   appears under a pointer is invisible to them. */
.pk-opt:hover .pk-opt-add[b-37f38bk5dg], .pk-opt:focus-visible .pk-opt-add[b-37f38bk5dg] { opacity: 1; }

.pk-empty[b-37f38bk5dg] { color: var(--c-text-faint); font-size: .9rem; padding: 18px 10px; margin: 0; }
/* _content/AdvDeli.WebOffice/Components/Pages/ImportUtility.razor.rz.scp.css */
/* Import Utility. On the legacy rf-* cards, which are a light surface in both themes, so the colours
   here are fixed light-surface values like Barcode Setup's rather than tokens that flip. */
.iu[b-pjocb2an7q] { max-width: 1100px; }

.iu-card[b-pjocb2an7q] { margin-bottom: 14px; }
.iu-card h2[b-pjocb2an7q] { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 1.08rem; color: #1f2733; }
.iu-n[b-pjocb2an7q] { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
    background: #4f5bd5; color: #fff; font-size: .78rem; font-weight: 800; }

.iu-file[b-pjocb2an7q] { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.iu-meta[b-pjocb2an7q] { color: #3d4756; font-size: .9rem; }
.iu-card .rf-sw + .rf-hint[b-pjocb2an7q] { margin-top: 8px; }

.iu-err[b-pjocb2an7q] { margin: 0 0 14px; padding: 10px 14px; border-radius: 10px; background: #fdecec; border: 1px solid #f1c2c2;
    color: #9b2c2c; font-size: .9rem; }
.iu-warn[b-pjocb2an7q] { margin-top: 10px; padding: 8px 12px; border-radius: 8px; background: #fdf3e3; border: 1px solid #e8d3a8;
    color: #8a5a12; font-size: .88rem; }
.iu-done[b-pjocb2an7q] { margin: 0 0 14px; padding: 12px 16px; border-radius: 10px; background: #e3f4ea; border: 1px solid #b5dfc5;
    color: #1e6b41; font-size: .92rem; line-height: 1.5; }

/* ---- tables ---- */
.iu-table[b-pjocb2an7q] { width: 100%; border-collapse: collapse; font-size: .88rem; }
.iu-table th[b-pjocb2an7q] { text-align: left; font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
    color: #8a94a2; padding: 6px 8px; border-bottom: 1px solid #e6ecf3; }
.iu-table td[b-pjocb2an7q] { padding: 7px 8px; border-bottom: 1px solid #eef1f5; color: #1f2733; vertical-align: middle; }
.iu-table .num[b-pjocb2an7q] { text-align: right; width: 1%; white-space: nowrap; font-variant-numeric: tabular-nums; }
.iu-table tr.bad td[b-pjocb2an7q] { background: #fff8f8; }

.iu-map td:first-child[b-pjocb2an7q] { font-weight: 600; white-space: nowrap; }
.iu-map tr:not(.on) td:first-child[b-pjocb2an7q] { color: #8a94a2; font-weight: 500; }
.iu-map select.rf-in[b-pjocb2an7q] { width: 100%; max-width: 280px; padding: 6px 10px; font-size: .88rem; }
.iu-fhint[b-pjocb2an7q] { display: block; font-size: .74rem; font-weight: 500; color: #8a94a2; }
.iu-sample[b-pjocb2an7q] { color: #5c6674; max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.iu-mono[b-pjocb2an7q] { font-family: ui-monospace, 'Cascadia Mono', Consolas, monospace; font-size: .84rem; }
.iu-why[b-pjocb2an7q] { color: #5c6674; }
.iu-table tr.bad .iu-why[b-pjocb2an7q] { color: #9b2c2c; }

.iu-pill[b-pjocb2an7q] { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: .74rem; font-weight: 800; }
.iu-pill.new[b-pjocb2an7q] { background: #e3f4ea; color: #1e6b41; }
.iu-pill.upd[b-pjocb2an7q] { background: #e4effa; color: #1f5f99; }
.iu-pill.bad[b-pjocb2an7q] { background: #fdecec; color: #9b2c2c; }

/* ---- options ---- */
.iu-opts[b-pjocb2an7q] { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.iu-opts .rf-hint[b-pjocb2an7q] { margin-left: 4px; }
.iu-defaults[b-pjocb2an7q] { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); gap: 14px; }
@media (max-width: 700px) { .iu-defaults[b-pjocb2an7q] { grid-template-columns: minmax(0, 1fr); } }

/* ---- the three buttons ---- */
.iu-actions[b-pjocb2an7q] { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; margin: 4px 0 16px; }

/* ---- report ---- */
.iu-reporthead[b-pjocb2an7q] { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.iu-reporthead h2[b-pjocb2an7q] { margin: 0; }
.iu-tiles[b-pjocb2an7q] { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
@media (max-width: 700px) { .iu-tiles[b-pjocb2an7q] { grid-template-columns: minmax(0, 1fr); } }
.iu-tile[b-pjocb2an7q] { padding: 12px 16px; border-radius: 10px; background: #f6f8fc; border: 1px solid #e6ecf3; color: #5c6674; font-size: .86rem; }
.iu-tile span[b-pjocb2an7q] { display: block; font-size: 1.7rem; font-weight: 800; color: #1f2733; line-height: 1.15; font-variant-numeric: tabular-nums; }
.iu-tile em[b-pjocb2an7q] { display: block; font-style: normal; font-size: .78rem; color: #8a94a2; }
.iu-tile.ok[b-pjocb2an7q] { background: #eef8f2; border-color: #c9e8d5; }
.iu-tile.ok span[b-pjocb2an7q] { color: #1e6b41; }
.iu-tile.bad[b-pjocb2an7q] { background: #fdf3f3; border-color: #f1d0d0; }
.iu-tile.bad span[b-pjocb2an7q] { color: #9b2c2c; }

.iu-filter[b-pjocb2an7q] { display: flex; gap: 6px; margin-bottom: 8px; }
.iu-chip[b-pjocb2an7q] { border: 1px solid #d6dce6; background: #fff; color: #3d4756; border-radius: 999px; padding: 5px 14px;
    font-size: .82rem; font-weight: 700; cursor: pointer; }
.iu-chip.on[b-pjocb2an7q] { background: #4f5bd5; border-color: #4f5bd5; color: #fff; }
/* _content/AdvDeli.WebOffice/Components/Pages/IngredientStock.razor.rz.scp.css */
/* Ingredient Stock (v9.43). Colours follow app.css: ink #1f2733, line #e6ecf3, accent #4f5bd5. */

.is-page[b-ljq7osl56x] { max-width: 1000px; margin: 0 auto; padding: 8px 4px 40px; }

.is-install[b-ljq7osl56x] { background: #fff8e6; border: 1px solid #f1d9a6; color: #6b4a12; border-radius: 12px; padding: 14px 18px; line-height: 1.5; }
.is-ok[b-ljq7osl56x] { background: #e9f7ef; border: 1px solid #bfe5cf; color: #1f6b44; border-radius: 10px; padding: 9px 14px; margin: 0 0 12px; font-size: .9rem; }
.is-warn[b-ljq7osl56x] { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; background: #fff8e6; border: 1px solid #f1d9a6;
           color: #6b4a12; border-radius: 10px; padding: 9px 14px; margin: 0 0 12px; font-size: .9rem; }

.is-bar[b-ljq7osl56x] { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
.is-sp[b-ljq7osl56x] { flex: 1 1 auto; }
.is-date[b-ljq7osl56x] { width: 160px; padding: 6px 10px; }
.is-search[b-ljq7osl56x] { width: 200px; padding: 6px 10px; }
/* The clear-search wrapper (2026-11-30): this bar's box stays 200px, with room on the right for the cross. */
.is-search-box[b-ljq7osl56x] { flex: 0 0 auto; min-width: 0; }
.is-search-box .is-search[b-ljq7osl56x] { width: 200px; padding: 6px 34px 6px 10px; }
/* Add stock dialog: the ingredient is fixed to the row (2026-11-30), shown as plain, greyed text. */
.is-fixed[b-ljq7osl56x] { background: #f4f6f9; color: #1f2733; font-weight: 600; cursor: default; }
.is-fixed:focus[b-ljq7osl56x] { outline: none; }
.is-store[b-ljq7osl56x] { color: #8a94a2; font-size: .85rem; margin-left: 6px; }
.is-store b[b-ljq7osl56x] { color: #1f2733; }

.is-wrap[b-ljq7osl56x] { overflow-x: auto; background: #fff; border: 1px solid #e6ecf3; border-radius: 12px; }
.is-table[b-ljq7osl56x] { width: 100%; border-collapse: collapse; font-size: .92rem; }
.is-table th[b-ljq7osl56x] { text-align: left; font-size: .74rem; font-weight: 700; color: #5c6674; text-transform: uppercase; letter-spacing: .03em;
               padding: 11px 12px; border-bottom: 1px solid #e6ecf3; background: #f8fafc; white-space: nowrap; }
.is-table td[b-ljq7osl56x] { padding: 10px 12px; border-bottom: 1px solid #f0f3f7; vertical-align: top; }
.is-table tbody tr:last-child td[b-ljq7osl56x] { border-bottom: 0; }
.is-table .n[b-ljq7osl56x] { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }

.is-nm[b-ljq7osl56x] { font-weight: 600; color: #1f2733; }
.is-u[b-ljq7osl56x] { color: #8a94a2; font-size: .8rem; }
.is-sub[b-ljq7osl56x] { color: #8a94a2; font-size: .74rem; margin-top: 3px; }
.is-mut[b-ljq7osl56x] { color: #8a94a2; }
.is-q[b-ljq7osl56x] { width: 110px; text-align: right; padding: 6px 8px; display: inline-block; }
.is-q.changed[b-ljq7osl56x] { background: #fffbea; border-color: #e0b252; }
.is-used[b-ljq7osl56x] { font-weight: 700; }
.neg[b-ljq7osl56x] { color: #c92a2a; }

.is-plus[b-ljq7osl56x] { border: 1px solid #c6ccf7; background: #f1f3fe; color: #4f5bd5; border-radius: 7px; padding: 3px 9px;
           font-weight: 700; margin-left: 8px; cursor: pointer; }
.is-plus:hover[b-ljq7osl56x] { background: #4f5bd5; color: #fff; }

.is-savebar[b-ljq7osl56x] { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 12px 14px; background: #fff;
              border: 1px solid #e6ecf3; border-radius: 12px; flex-wrap: wrap; }
.is-savebar.dirty[b-ljq7osl56x] { background: #fffbea; border-color: #f1d9a6; }
.is-warntxt[b-ljq7osl56x] { color: #8a5a12; font-weight: 600; }
.is-big[b-ljq7osl56x] { padding: 10px 20px; font-size: .95rem; }

.is-h3[b-ljq7osl56x] { font-size: 1rem; margin: 22px 0 8px; color: #1f2733; }
.is-tag[b-ljq7osl56x] { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: .72rem; font-weight: 700; }
.is-tag.add[b-ljq7osl56x] { background: #e6f4ea; color: #2f9e44; }
.is-tag.fix[b-ljq7osl56x] { background: #fff4e6; color: #d9480f; }
.is-tag.other[b-ljq7osl56x] { background: #e7f0fb; color: #1f6fd6; }
.is-empty[b-ljq7osl56x] { text-align: center; color: #8a94a2; padding: 28px 12px; background: #fff; border: 1px dashed #d6dce6; border-radius: 12px; }
.is-help[b-ljq7osl56x] { margin-top: 14px; max-width: 95ch; }

/* + Add dialog: the two choices */
.is-mode[b-ljq7osl56x] { display: flex !important; gap: 10px; align-items: flex-start; padding: 9px 11px; border: 1px solid #d6dce6;
           border-radius: 10px; font-weight: 400 !important; cursor: pointer; margin-top: 4px; }
.is-mode.on[b-ljq7osl56x] { border-color: #4f5bd5; background: #f5f6ff; }
.is-mode small[b-ljq7osl56x] { color: #8a94a2; }

@media (max-width: 720px) {
    .is-search[b-ljq7osl56x] { width: 100%; }
    .is-search-box[b-ljq7osl56x] { flex: 1 1 100%; }
    .is-search-box .is-search[b-ljq7osl56x] { width: 100%; }
}
/* _content/AdvDeli.WebOffice/Components/Pages/Items.razor.rz.scp.css */
/* =============================================================================================
   Item Manager — the Web Office's phone layout for a screen it does not own.

   ItemManagerView lives in AdvDeli.Catalog.UI and is reused verbatim by the Cashier, with eleven
   other projects referencing that library. Its shell — `.im { position: fixed; inset: 0;
   overflow: hidden }` with a single scrolling grid at `flex: 1` — is right for a till or a kiosk:
   fixed-size touch screens that want their chrome pinned and their data scrolling underneath it.

   It is wrong on a phone, and measurably so. The masthead, filter row and toolbar wrap until they
   take 645px of a 956px viewport, so the grid inherits the 105px left over — and because the shell
   is fixed with hidden overflow, the page cannot scroll to reach the rest either. The item list
   was not merely cramped, it was unreachable: the screen read as a toolbar with nothing under it.

   So the fix belongs HERE, with the one consumer that needs it, rather than in the shared file.

   WHY EVERY RULE GOES THROUGH ::deep, AND WHY THAT IS ALSO WHAT MAKES THEM WIN.
   .im and its children are rendered by the library component, so they carry ITS scope attribute,
   not this page's — a plain `.wo-im .im` here would compile to `.wo-im .im[b-thispage]` and match
   nothing. ::deep stops the scope attribute at .wo-im, giving `.wo-im[b-thispage] .im`.
   That is also the specificity answer: the library's own rule is `.im[b-itemmanager]` at (0,2,0),
   and this is (0,3,0) — one class, one attribute, one class. It wins on merit rather than on
   !important or source order.
   ============================================================================================= */

@media (max-width: 700px) {

    /* Out of the fixed shell and into ordinary document flow: the chrome stacks, the page scrolls,
       and the list runs on below the filters for as long as it needs to. */
    .wo-im[b-esm07ts5sc]  .im {
        position: static;
        height: auto;
        min-height: 100dvh;
        overflow: visible;
        /* Room for the pinned action bar is set once, further down, next to the rules that decide
           how tall that bar actually is — keeping the number and its cause in the same place. */
    }

    /* flex:none, or the wrap still tries to divide a container whose height is now its own
       content — the same squeeze in a new place. With height driven by content, the PAGE does the
       vertical scrolling.

       Its `overflow: auto` is left alone deliberately: the table is nine columns wide and still
       needs to scroll HORIZONTALLY. overflow-x:auto with overflow-y:visible is not a valid pair —
       one axis being non-visible forces the other to auto — so auto on both is the honest way to
       say it, and vertically it never engages because the box is exactly as tall as its rows. */
    .wo-im[b-esm07ts5sc]  .im-grid-wrap {
        flex: none;
        margin: 4px 10px;
    }

    /* MONEY MUST NOT WRAP. Squeezed into a narrow column, "€4.50" broke after the decimal point
       and rendered as "€4.5" above "0" — which does not read as a price at all, and beside a stock
       column reads as a different number entirely. tabular-nums is already set on these cells for
       alignment; keeping each figure on one line is the other half of that. */
    .wo-im[b-esm07ts5sc]  .im-tbl .c-num { white-space: nowrap; }

    /* THE ACTION BAR STAYS PINNED — the half of the shell worth keeping.

       In the fixed layout .im-foot sat at the bottom of the viewport, so Edit, Clone and Delete
       were reachable whatever the grid was scrolled to. Flattening the page sent it below the
       list: with 143 items that is about ten thousand pixels down, so selecting a row and then
       editing it meant scrolling the whole catalogue to reach the button and scrolling back to
       pick the next one. The chrome goes into the flow; the actions do not. */
    .wo-im[b-esm07ts5sc]  .im-foot {
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 30;
        flex-wrap: wrap;
        gap: 8px;
        padding: 10px 12px;
        /* It overlays content now, so there is page behind it rather than the shell's own ground.
           Opaque, or rows scroll visibly through the buttons. */
        background: var(--c-surface, #fff);
        box-shadow: 0 -6px 20px rgba(0, 0, 0, .14);
        /* Clear of the home indicator on a phone with no hardware button. */
        padding-bottom: max(10px, env(safe-area-inset-bottom));
    }

    /* COMPACT, because this bar is permanently on screen.

       The first version let each button grow (`flex: 1 1 auto`), which sounds thumb-friendly and
       is not: five actions each claimed a full row, the bar measured 239px — a third of a 717px
       phone — and its content ran 392px wide inside a 315px viewport, so the PAGE scrolled
       sideways. A permanent bar has to earn its height in a way a dialog does not.

       So the buttons size to their labels and wrap naturally: five fit in two rows. 44px minimum
       keeps them thumb-sized without stretching. */
    .wo-im[b-esm07ts5sc]  .im-actions {
        width: 100%;
        min-width: 0;
        gap: 7px;
    }

    /* A three-column grid rather than a wrapping flex row. Wrapping sized each button to its
       label, so "Deactivate" was twice the width of "Edit" and the two rows never lined up.
       Equal cells read as one control surface and give every action the same target size. */
    .wo-im[b-esm07ts5sc]  .im-actions {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    /* Icon above label, not beside it. Beside it, "Deactivate" plus a 16px icon does not fit a
       110px cell without shrinking the text below legibility; stacked, every label fits at a
       readable size and the buttons stay square-ish and thumb-sized. */
    .wo-im[b-esm07ts5sc]  .im-actions > * {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 3px;
        min-height: 58px;
        padding: 7px 4px;
        font-size: .7rem;
        line-height: 1.15;
        text-align: center;
    }

    /* --- icons ------------------------------------------------------------------------------

       Drawn with mask-image rather than background-image so each one takes the button's own
       colour: the two destructive actions are red and their icons come through red with them,
       which a background-image of a fixed-colour SVG could not do.

       WHICH BUTTON GETS WHICH IS PARTLY POSITIONAL, and that is the fragile part of doing this
       from a stylesheet the markup does not know about. The library renders, in order: Add item
       (already carries its own svg), Edit, Clone, then EITHER Activate OR Deactivate — never both
       — then Delete. Delete is pinned by :last-child and the destructive pair by .danger, so only
       Edit and Clone rely on their position. If that button order ever changes in
       AdvDeli.Catalog.UI, these two need revisiting; nothing else here does. */
    .wo-im[b-esm07ts5sc]  .im-actions > .im-btn::before {
        content: "";
        width: 17px;
        height: 17px;
        flex: none;
        background: currentColor;
        -webkit-mask: center / contain no-repeat var(--ic);
        mask: center / contain no-repeat var(--ic);
    }

    /* Add item already ships an <svg class="im-i">, so it must not grow a second icon. */
    .wo-im[b-esm07ts5sc]  .im-actions > .im-btn.primary::before { content: none; }
    .wo-im[b-esm07ts5sc]  .im-actions > .im-btn .im-i { width: 17px; height: 17px; }

    /* Edit — pencil. */
    .wo-im[b-esm07ts5sc]  .im-actions > .im-btn:nth-of-type(2) {
        --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20h9'/%3E%3Cpath d='M16.5 3.5a2.1 2.1 0 0 1 3 3L7 19l-4 1 1-4z'/%3E%3C/svg%3E");
    }

    /* Clone — two sheets. */
    .wo-im[b-esm07ts5sc]  .im-actions > .im-btn:nth-of-type(3) {
        --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='9' y='9' width='12' height='12' rx='2'/%3E%3Cpath d='M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1'/%3E%3C/svg%3E");
    }

    /* Activate — the non-destructive one of the pair, so it is the 4th button without .danger. */
    .wo-im[b-esm07ts5sc]  .im-actions > .im-btn:nth-of-type(4):not(.danger) {
        --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8.5 12.5l2.4 2.4L15.5 10'/%3E%3C/svg%3E");
    }

    /* Deactivate — destructive, but not the last button. */
    .wo-im[b-esm07ts5sc]  .im-actions > .im-btn.danger:not(:last-child) {
        --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M5.6 5.6l12.8 12.8'/%3E%3C/svg%3E");
    }

    /* Delete — always last. */
    .wo-im[b-esm07ts5sc]  .im-actions > .im-btn.danger:last-child {
        --ic: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M8 6V4h8v2'/%3E%3Cpath d='M6 6l1 14h10l1-14'/%3E%3C/svg%3E");
    }

    /* Nothing in the bar may set its own width past the screen. */
    .wo-im[b-esm07ts5sc]  .im-foot,
    .wo-im[b-esm07ts5sc]  .im-count { min-width: 0; max-width: 100%; }

    .wo-im[b-esm07ts5sc]  .im-count { font-size: .78rem; line-height: 1.3; }

    /* The fetch/render timings go. They are diagnostics — genuinely useful when someone reports
       the screen as slow, and not worth a line of a phone's permanent furniture. The counts they
       sit beside stay. */
    .wo-im[b-esm07ts5sc]  .im-selinfo { display: none; }

    /* Matches the two-row bar above. Deliberately generous: too little and the last card of the
       catalogue hides behind the buttons, which is the bug this padding exists to prevent and the
       one the first attempt shipped with. */
    .wo-im[b-esm07ts5sc]  .im { padding-bottom: 150px; }
}

/* Hidden by default: on a desktop the shell pins its own chrome and there is nothing to travel
   back to. Shown only in the phone block below. */
.wo-totop[b-esm07ts5sc] { display: none; }

/* =============================================================================================
   CARDS — nine columns of catalogue on a phone, with nothing hidden and nothing to scroll to.

   The rest of the Web Office does this with a .t-cards class and a data-label on every cell (see
   app.css). Neither is available here: both live in markup this project does not own. So the
   labels are supplied from CSS instead, keyed on the column classes the library already puts on
   its cells — c-sku, c-name, c-cat, c-num, c-mod, c-type, c-stat — which are stable because they
   are what its own layout and sorting are built on.

   THE TWO c-num CELLS are Price and Current stock and carry the same class, so they cannot be told
   apart by class alone. `.c-num ~ .c-num` matches only a c-num that follows another one — the
   stock cell — so labelling every c-num "Price" and then overriding the later one is correct
   whether or not the stock column is rendered at all. It is conditional on the store managing
   stock, which is exactly why counting positions with nth-child would have been fragile.
   ============================================================================================= */

@media (max-width: 700px) {

    /* --- the sort row stays -----------------------------------------------------------------
       Hiding thead is what a card layout normally does, and here it would silently remove
       SORTING: those th elements carry the click handlers. On a catalogue of 143 items, ordering
       by price or stock is most of the value of the screen. So the header becomes a wrapped row
       of chips instead — the same controls, in a shape that fits. */
    .wo-im[b-esm07ts5sc]  .im-tbl thead { display: block; }

    /* ONE ROW THAT SCROLLS, not a wrapping block. Nine chips wrapped to three rows and cost 125px
       — as much as the KPI tiles — on a screen where the whole point of the exercise is getting
       the list above the fold. A chip rail is a pattern a phone user already knows, and the first
       few chips being visible is enough to say the row is scrollable. */
    .wo-im[b-esm07ts5sc]  .im-tbl thead tr {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 6px;
        padding: 6px 2px 8px;
        /* Chips are laid out by content width; without this they compress to fit instead of
           overflowing, which is what makes the rail scroll rather than squash. */
        scrollbar-width: none;
    }

    .wo-im[b-esm07ts5sc]  .im-tbl thead tr::-webkit-scrollbar { display: none; }
    .wo-im[b-esm07ts5sc]  .im-tbl thead th { flex: 0 0 auto; }

    .wo-im[b-esm07ts5sc]  .im-tbl thead th {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        width: auto;
        padding: 7px 11px;
        border: 1px solid var(--c-line, #e3e8ef);
        border-radius: 999px;
        background: var(--c-surface, #fff);
        font-size: .78rem;
        white-space: nowrap;
        position: static;   /* the desktop header is sticky; a sticky chip row is not wanted */
    }

    /* The thumbnail column's header is deliberately empty — as a chip it is a blank pill. */
    .wo-im[b-esm07ts5sc]  .im-tbl thead th.c-thumb { display: none; }

    /* --- rows become cards ------------------------------------------------------------------ */
    .wo-im[b-esm07ts5sc]  .im-tbl,
    .wo-im[b-esm07ts5sc]  .im-tbl tbody,
    .wo-im[b-esm07ts5sc]  .im-tbl tr,
    .wo-im[b-esm07ts5sc]  .im-tbl td { display: block; width: auto; }

    .wo-im[b-esm07ts5sc]  .im-tbl tr {
        border: 1px solid var(--c-line, #e3e8ef);
        border-radius: 12px;
        margin: 0 0 10px;
        padding: 4px 0 6px;
        background: var(--c-surface, #fff);
    }

    .wo-im[b-esm07ts5sc]  .im-tbl td {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        gap: 14px;
        /* 4px, not 7. Nine rows means every pixel of row padding costs eighteen off the card, and
           the card is competing with 489px of chrome and a 140px action bar on a 717px screen.
           Tightening rows loses nothing — the label and value stay on one line either way. */
        padding: 4px 12px;
        line-height: 1.35;
        border: 0;
        text-align: right;
        /* Undoes the library's ≤820px rule, which hides SKU and Category outright. Nothing is
           omitted here — a catalogue screen that quietly drops the code you identify items by is
           worse on a phone than a longer card. */
        white-space: normal;
    }

    .wo-im[b-esm07ts5sc]  .im-tbl td + td { border-top: 1px solid var(--c-line, #eef1f5); }

    .wo-im[b-esm07ts5sc]  .im-tbl td::before {
        flex: 0 0 auto;
        text-align: left;
        font-size: .72rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: .4px;
        color: var(--c-text-dim, #6b7785);
    }

    /* The labels the markup cannot give us. */
    .wo-im[b-esm07ts5sc]  .im-tbl td.c-sku::before  { content: "SKU"; }
    .wo-im[b-esm07ts5sc]  .im-tbl td.c-cat::before  { content: "Category"; }
    .wo-im[b-esm07ts5sc]  .im-tbl td.c-num::before  { content: "Price"; }
    .wo-im[b-esm07ts5sc]  .im-tbl td.c-num ~ td.c-num::before { content: "Current stock"; }
    .wo-im[b-esm07ts5sc]  .im-tbl td.c-mod::before  { content: "Modifiers"; }
    .wo-im[b-esm07ts5sc]  .im-tbl td.c-type::before { content: "Type"; }
    .wo-im[b-esm07ts5sc]  .im-tbl td.c-stat::before { content: "Status"; }

    /* Both were display:none below 820px in the library. Restored, and as labelled rows. */
    .wo-im[b-esm07ts5sc]  .im-tbl td.c-sku,
    .wo-im[b-esm07ts5sc]  .im-tbl td.c-cat { display: flex; }

    /* The item name heads the card rather than being one more labelled field — it is what the row
       IS, and a card titled "NAME  Chai" reads worse than one titled "Chai". */
    .wo-im[b-esm07ts5sc]  .im-tbl td.c-name {
        display: block;
        text-align: left;
        font-size: 1.02rem;
        font-weight: 700;
        padding: 2px 12px 8px;
        color: var(--c-text, #1f2733);
    }

    /* THE AVATAR GOES, and it is the one thing on this card that can go without losing anything.

       It is not a photograph: the cell holds Avatar.Initials(row.Name) — the first letters of the
       item's own name, which is the card's heading immediately below it. On a desktop grid that
       is a useful anchor for the eye running down a column of rows. On a card it repeats the
       title back to itself, one line above the title, for 48px of a 324px card.

       Everything else here is data the operator cannot get elsewhere on the screen. This is the
       only row that was already saying what the row beneath it says. */
    .wo-im[b-esm07ts5sc]  .im-tbl td.c-thumb { display: none; }

    /* Money and counts on one line — see the c-num note above. */
    .wo-im[b-esm07ts5sc]  .im-tbl td.c-num { white-space: nowrap; }

    /* The loading and no-results rows span everything and have no label of their own. */
    .wo-im[b-esm07ts5sc]  .im-tbl td.im-empty {
        display: block;
        text-align: center;
        padding: 18px 12px;
    }
    .wo-im[b-esm07ts5sc]  .im-tbl td.im-empty::before { content: none; }

    /* The wrap no longer has anything to scroll sideways, so the inner scrollbar goes. */
    .wo-im[b-esm07ts5sc]  .im-grid-wrap { overflow: visible; }

    /* --- the top bar, and why it looked right in an emulator and wrong on a handset -----------

       .im-topbar is a flex row with NO flex-wrap, and .im-ghost carries no flex-shrink. Given
       less width than its contents want, flex does not wrap — it SHRINKS, and it shrinks each
       item in proportion to its base size. Refresh is the wider of the two buttons, so it gave up
       more than Close: different widths, compressed padding, and the icon and label pulled out of
       line with their neighbour. At an emulated 440px there is enough room to hide it; at a real
       360-390px there is not, which is exactly why this reproduced on the phone and not in
       Chrome.

       Two fixes, both needed. Let the bar wrap, so the actions take their own row instead of
       competing with the title. And stop the buttons shrinking at all, so whatever room they get
       they share equally. */
    .wo-im[b-esm07ts5sc]  .im-topbar {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 12px;
    }

    .wo-im[b-esm07ts5sc]  .im-brand { min-width: 0; flex: 1 1 auto; }

    .wo-im[b-esm07ts5sc]  .im-topact {
        flex: 0 0 auto;
        width: 100%;
    }

    /* Never shrink; share the row evenly. Equal widths are what makes them read as a pair. */
    .wo-im[b-esm07ts5sc]  .im-topact .im-ghost {
        flex: 1 1 0;
        min-width: 0;
        padding: 0 12px;
        justify-content: center;
    }

    /* --- the KPI tiles, 2x2 and compact -----------------------------------------------------

       They are `repeat(auto-fit, minmax(200px, 1fr))`, which on any phone resolves to a single
       column: four tiles stacked, about 340px of headroom before a single item is visible. The
       numbers are worth keeping — they answer "how much of the catalogue am I looking at" while
       the filters are being used — but not at the cost of the list they describe.

       Two columns fixed, rather than a smaller minmax: at this width auto-fit has no useful
       decision left to make, and stating 1fr 1fr is what guarantees 2x2 rather than hoping the
       track size lands right.

       Compacting matters as much as the columns. Two rows of the desktop tile would still be
       ~170px; shrinking the chip and padding brings the whole block to about a third of what it
       was, which is the difference between seeing one card on load and seeing three. */
    .wo-im[b-esm07ts5sc]  .im-stats {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        padding: 10px 12px 2px;
    }

    .wo-im[b-esm07ts5sc]  .im-stat {
        gap: 9px;
        padding: 9px 10px;
        border-radius: 10px;
        min-width: 0;
    }

    .wo-im[b-esm07ts5sc]  .im-stat-ic {
        width: 32px;
        height: 32px;
        font-size: .92rem;
    }

    .wo-im[b-esm07ts5sc]  .im-stat-ic svg { width: 16px; height: 16px; }

    /* The text column must be allowed to shrink, or "With modifiers" and "Average price" push
       their tile wider than its track and the grid stops being square. */
    .wo-im[b-esm07ts5sc]  .im-stat > div:last-child { min-width: 0; }

    .wo-im[b-esm07ts5sc]  .im-stat-v { font-size: 1.05rem; line-height: 1.15; }
    .wo-im[b-esm07ts5sc]  .im-stat-k { font-size: .68rem; line-height: 1.2; }

    /* --- the toolbar, paired rather than stacked --------------------------------------------

       Four controls, each taking a full row at ~52px: 273px, the largest single block of chrome on
       the screen and more than the tiles it sits under. Search and the Menu/Modifiers/Ingredients
       segments genuinely want the full width — one is typed into, the other holds three labels.
       The category select and the Include-inactive switch do not: they are 180px and 171px of
       content sharing a 359px row, which is exactly two. */
    .wo-im[b-esm07ts5sc]  .im-toolbar {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 8px 12px;
    }

    .wo-im[b-esm07ts5sc]  .im-search,
    .wo-im[b-esm07ts5sc]  .im-seg { flex: 1 1 100%; min-width: 0; }

    .wo-im[b-esm07ts5sc]  .im-select,
    .wo-im[b-esm07ts5sc]  .im-switch { flex: 1 1 calc(50% - 4px); min-width: 0; }

    /* --- back to top ------------------------------------------------------------------------
       Sits clear of the pinned action bar rather than over it — the bar holds Delete, and a
       floating control overlapping it is a mis-tap waiting to happen. */
    .wo-totop[b-esm07ts5sc] {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        right: 12px;
        bottom: calc(150px + env(safe-area-inset-bottom));
        z-index: 31;
        width: 46px;
        height: 46px;
        border-radius: 50%;
        background: var(--c-surface, #fff);
        border: 1px solid var(--c-line, #e3e8ef);
        box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
        color: var(--c-text, #1f2733);
        /* It is a <button> — see the note in Items.razor for why it is not an anchor. Padding and
           appearance are reset because a button brings its own on iOS. */
        padding: 0;
        cursor: pointer;
        -webkit-appearance: none;
        appearance: none;
    }

    .wo-totop:active[b-esm07ts5sc] { transform: translateY(1px); }

    .wo-totop svg[b-esm07ts5sc] { width: 20px; height: 20px; }
}

/* _content/AdvDeli.WebOffice/Components/Pages/Login.razor.rz.scp.css */
/* =============================================================================================
   Back Office sign-in.

   FIRST WEB OFFICE SCREEN ON THE SHARED DESIGN SYSTEM. Everything here comes from
   _content/AdvDeli.Catalog.UI/theme.css, which this host links in Components/App.razor.

   ONE THING DIFFERS FROM THE CASHIER, and it is the reason for the two explicit font-family
   declarations below. In the Cashier heads theme.css is linked AFTER app.css so it wins html
   and body; here it is linked BEFORE, deliberately, so the Web Office keeps its own navy/copper
   chrome on every screen that has not been redesigned yet. The consequence is that theme.css's
   base rules do NOT apply — its tokens resolve, but body is still Segoe UI from app.css. So a
   converted page has to opt into the typeface itself. Do the same on the next screen you
   convert, or it will inherit the old face and look subtly wrong next to this one.

   When the whole Web Office is on the system, move that link below app.css and every one of
   these font-family lines becomes redundant.

   THE 44px TOUCH FLOOR DOES NOT APPLY HERE. The Cashier runs on a touchscreen till, so every
   control there is 44px minimum and most are 48-52px. The Web Office is a browser application
   driven by a mouse, where that sizing just reads as oversized and pushes the form down the
   page. Fields are 42px and the button 44px — conventional web scale. Do not "fix" these to
   match the till; the two apps have different input devices and should have different metrics.
   ============================================================================================= */

.lg[b-6gskzh4euz] {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
    position: relative;
    isolation: isolate;
    background: var(--c-s0);
    color: var(--c-text);
    font-family: var(--font);
}

/* The colour ground. A glass card over a flat page is just a lighter rectangle — the material
   needs something with hue and shape behind it to refract. Same four-point mesh as the till, so
   the two products read as one. */
.lg[b-6gskzh4euz]::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(62% 58% at 8% 6%, var(--mesh-a), transparent 68%),
        radial-gradient(58% 62% at 94% 16%, var(--mesh-b), transparent 68%),
        radial-gradient(66% 60% at 16% 92%, var(--mesh-c), transparent 70%),
        radial-gradient(60% 56% at 88% 88%, var(--mesh-d), transparent 70%);
}

/* The card KEEPS its backdrop-filter, unlike the full-page panes elsewhere in the system.

   The rule there is that a pane covering the whole screen gets fill only, because blurring a
   smooth gradient returns the same gradient and the filter costs every popover inside it its
   own blur. Neither applies here: this card is 420px wide with real ground visible around it,
   so the blur has an edge to work against and reads as frosted glass — and nothing inside it
   needs a backdrop of its own. */
.lg-card[b-6gskzh4euz] {
    width: min(420px, 100%);
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 34px 30px 30px;
    background: var(--modal-fill);
    border: 1px solid var(--glass-line-hi);
    border-radius: var(--r-lg);
    -webkit-backdrop-filter: var(--modal-blur);
    backdrop-filter: var(--modal-blur);
    box-shadow: var(--shadow-modal), var(--glass-edge);
}

/* ---------------------------------------------------------------------------------------------
   Brand block — mark on top, product name under it, centred.
   --------------------------------------------------------------------------------------------- */
.lg-brand[b-6gskzh4euz] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2px;
    margin-bottom: 10px;
}

/* Saffron tile with the æ knocked out in ink — the same lockup as the till's sign-in screen.
   Sized by font-size because the mark is 1em tall; there is no width rule on the svg. */
.lg-logo[b-6gskzh4euz] {
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
    border-radius: var(--r-md);
    display: grid;
    place-items: center;
    background: var(--c-accent);
    color: var(--c-accent-ink);
    font-size: 34px;
    box-shadow: 0 10px 26px -8px rgba(245, 165, 36, .5);
}

/* Set as signage rather than as a heading, matching the Cashier's wordmark: heaviest weight,
   negative tracking (display type wants tighter fit than text type), and a soft saffron halo
   that ties it to the mark above. The sub-line deliberately stays light and normally tracked —
   if both are display-set, neither reads as the title. */
.lg-title[b-6gskzh4euz] {
    font-size: 1.7rem;
    font-weight: 800;
    letter-spacing: -.022em;
    line-height: 1.1;
    color: var(--c-text);
    text-shadow:
        0 0 18px rgba(245, 165, 36, .26),
        0 0 46px rgba(245, 165, 36, .14);
}
.lg-sub[b-6gskzh4euz] {
    font-size: .82rem;
    font-weight: 500;
    color: var(--c-text-dim);
    margin-top: 3px;
}

/* ---------------------------------------------------------------------------------------------
   Form.
   --------------------------------------------------------------------------------------------- */
.lg-err[b-6gskzh4euz] {
    background: color-mix(in srgb, var(--c-stop) 13%, var(--c-s2));
    border: 1px solid color-mix(in srgb, var(--c-stop) 40%, transparent);
    color: var(--c-stop-text);
    padding: 12px 14px;
    border-radius: var(--r-sm);
    font-size: .86rem;
    font-weight: 600;
    line-height: 1.45;
}

.lg-fld[b-6gskzh4euz] { display: flex; flex-direction: column; gap: 7px; }
.lg-fld > span[b-6gskzh4euz],
.lg-fld > label[b-6gskzh4euz] {
    font-size: .74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: var(--track-label);
    color: var(--c-text-faint);
}

/* ::deep IS LOAD-BEARING, AND THIS RULE HAS NEVER WORKED WITHOUT IT.

   The fields are <InputText>, a component, not a bare <input>. Blazor's CSS isolation stamps its
   scope attribute onto elements THIS component renders directly; markup rendered by a child
   component never gets it. So a plain `.lg-in { … }` compiles to `.lg-in[b-xxx]`, the actual
   <input> InputText emits carries no b-xxx, and the rule matches nothing at all. It fails
   silently — the class is on the element, the CSS is in the bundle, and the field just renders
   with browser defaults.

   That was true of the original stylesheet too: these fields have been unstyled since the page
   was written. ::deep drops the scope requirement for everything below .lg-fld, which is what
   lets the rule reach into InputText's output.

   Solid, not glass, for the usual reason: a translucent field inside a translucent card over a
   gradient has no stable contrast, and this is where a password gets typed. */
.lg-fld[b-6gskzh4euz]  .lg-in {
    min-height: 42px;
    border: 1px solid var(--glass-line-hi);
    border-radius: var(--r-sm);
    padding: 0 14px;
    font-family: var(--font);
    font-size: .95rem;
    background: var(--c-s2);
    color: var(--c-text);
    width: 100%;
    transition: border-color .15s ease, box-shadow .15s ease;
}
.lg-fld[b-6gskzh4euz]  .lg-in:focus {
    outline: none;
    border-color: var(--c-accent);
    box-shadow: 0 0 0 3px var(--c-accent-wash);
}
.lg-fld[b-6gskzh4euz]  .lg-in::placeholder { color: var(--c-text-faint); }

/* ---- Password reveal ----
   Same overlay as the Employees screen's .rf-eye: the button sits over the right of the field,
   which reserves the space with padding so a long password does not run under it. Both icons are
   rendered and aria-pressed picks one, since the inline toggle only flips attributes. */
.lg-pw[b-6gskzh4euz] { position: relative; }
.lg-pw[b-6gskzh4euz]  .lg-in { padding-right: 46px; }
.lg-eye[b-6gskzh4euz] {
    position: absolute; top: 50%; right: 4px; transform: translateY(-50%);
    width: 36px; height: 36px;
    display: grid; place-items: center;
    border: 0; background: none; cursor: pointer;
    color: var(--c-text-faint); border-radius: 8px;
}
.lg-eye:hover[b-6gskzh4euz] { color: var(--c-text); background: var(--c-accent-wash); }
.lg-eye:focus-visible[b-6gskzh4euz] { outline: 2px solid var(--c-accent); outline-offset: 1px; }
.lg-eye[b-6gskzh4euz]  .bo-ico { width: 18px; height: 18px; }
.lg-eye > span[b-6gskzh4euz] { display: grid; place-items: center; }
.lg-eye .lg-eye-hide[b-6gskzh4euz],
.lg-eye[aria-pressed="true"] .lg-eye-show[b-6gskzh4euz] { display: none; }
.lg-eye[aria-pressed="true"] .lg-eye-hide[b-6gskzh4euz] { display: grid; }

/* ---- Forgot password ----
   A disclosure rather than a link: there is no reset flow to link to, only the person to ask. */
.lg-forgot[b-6gskzh4euz] { margin-top: -6px; font-size: .84rem; color: var(--c-text-dim); }
.lg-forgot > summary[b-6gskzh4euz] {
    cursor: pointer;
    width: fit-content;
    font-weight: 600;
    color: var(--c-text-dim);
    list-style: none;
}
.lg-forgot > summary[b-6gskzh4euz]::-webkit-details-marker { display: none; }
.lg-forgot > summary:hover[b-6gskzh4euz] { color: var(--c-text); text-decoration: underline; }
.lg-forgot > p[b-6gskzh4euz] { margin: 6px 0 0; line-height: 1.45; color: var(--c-text-faint); }

/* ---- Keep me signed in ----
   The whole row is the label, so the words are part of the target rather than something to aim
   past on the way to a 16px box — see the note on .lg-fld for why the fields above are 42px.

   ::deep for the same reason as the fields: the box is an <InputCheckbox>, a child component, so
   the scope attribute is never stamped on the <input> it renders and an unprefixed rule would
   match nothing while looking perfectly correct. */
.lg-check[b-6gskzh4euz] {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin-top: 2px;
    padding: 10px 12px;
    border: 1px solid var(--glass-line);
    border-radius: var(--r-sm);
    background: var(--c-s2);
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}

.lg-check:hover[b-6gskzh4euz] { border-color: var(--glass-line-hi); }

.lg-check[b-6gskzh4euz]  input[type="checkbox"] {
    /* 18px and pushed down a hair so it sits on the first line's optical centre rather than its
       box top, which at this line-height reads as misaligned. */
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    flex: 0 0 auto;
    cursor: pointer;
    accent-color: var(--c-accent);
}

.lg-check > span[b-6gskzh4euz] {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-size: .88rem;
    font-weight: 600;
    color: var(--c-text);
    line-height: 1.35;
}

/* The consequence, in the operator's terms. A bare "Keep me signed in" is a promise with no
   stated limit, and on a screen that guards takings and staff records the limit is the part worth
   reading — it is also the honest answer to "for how long?", which is the first thing anybody
   sensible asks of a box like this. */
.lg-check small[b-6gskzh4euz] {
    font-size: .76rem;
    font-weight: 500;
    color: var(--c-text-faint);
    line-height: 1.4;
}

/* Saffron here, unlike the back-office screens where the primary is ink.

   The argument against saffron there was that a settings page is calm data entry and a saffron
   slab in the footer reads as an alert. This is the opposite situation: one card, one action,
   nothing else on the screen to compete with. Saffron is doing exactly what it is for — naming
   the single thing to act on — and it ties the button to the mark at the top of the card. */
.lg-btn[b-6gskzh4euz] {
    margin-top: 6px;
    min-height: 44px;
    border: 1px solid var(--c-accent);
    border-radius: var(--r-sm);
    padding: 0 18px;
    font-family: var(--font);
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: var(--track-tight);
    cursor: pointer;
    background: var(--c-accent);
    color: var(--c-accent-ink);
    box-shadow: 0 6px 18px -6px rgba(245, 165, 36, .5);
    transition: background-color .15s ease, transform .08s ease;
}
.lg-btn:hover[b-6gskzh4euz] { background: var(--c-accent-press); border-color: var(--c-accent-press); }
.lg-btn:active[b-6gskzh4euz] { transform: translateY(1px); }

.lg-note[b-6gskzh4euz] {
    margin: 6px 0 0;
    color: var(--c-text-faint);
    font-size: .78rem;
    line-height: 1.55;
}

.lg-ver[b-6gskzh4euz] {
    margin: 14px 0 0;
    text-align: center;
    color: var(--c-text-faint);
    font-size: .72rem;
    opacity: .75;
}

/* The sign-in error fades by itself (2026-11-28); the delay is set inline from its length. */
.lg-fade[b-6gskzh4euz] { animation: lg-fade-out-b-6gskzh4euz .4s ease forwards; }
@keyframes lg-fade-out-b-6gskzh4euz { to { opacity: 0; visibility: hidden; height: 0; margin: 0; padding: 0; border-width: 0; } }
/* _content/AdvDeli.WebOffice/Components/Pages/LoyaltyPrograms.razor.rz.scp.css */
.lp-tabs[b-sbac1h34ni] { display: flex; gap: 4px; border-bottom: 1px solid #e6ecf3; margin-bottom: 14px; flex-wrap: wrap; }
.lp-tab[b-sbac1h34ni] {
    border: 0; background: none; padding: 8px 13px; font-size: .88rem; color: #5c6674; cursor: pointer;
    border-bottom: 2px solid transparent; margin-bottom: -1px; font-weight: 600;
}
.lp-tab.on[b-sbac1h34ni] { color: #1f2733; border-bottom-color: #4f5bd5; }

.lp-sentence[b-sbac1h34ni] { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 6px 0 10px; font-weight: 600; color: #1f2733; }
.lp-num[b-sbac1h34ni] { width: 110px; max-width: 110px; }
.lp-num.sm[b-sbac1h34ni] { width: 70px; display: inline-block; padding: 3px 6px; }
.lp-checks[b-sbac1h34ni] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; margin-top: 8px; }
@media (max-width: 700px) { .lp-checks[b-sbac1h34ni] { grid-template-columns: 1fr; } }
.lp-example[b-sbac1h34ni] { margin-top: 12px; background: #f4f6fb; border-radius: 8px; padding: 9px 12px; font-size: .85rem; color: #3d4756; }
.lp-gap[b-sbac1h34ni] { margin-top: 10px; }
.lp-h[b-sbac1h34ni] { font-size: .95rem; margin: 16px 0 6px; }
.lp-grid[b-sbac1h34ni] { margin: 6px 0 10px; }
.lp-grid .rf-in.sm[b-sbac1h34ni] { padding: 4px 6px; }
.lp-empty[b-sbac1h34ni] { color: #8a94a2; text-align: center; padding: 14px !important; }
.lp-when[b-sbac1h34ni] { color: #5c6674; font-size: .82rem; }
.lp-acts[b-sbac1h34ni] { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.lp-rule[b-sbac1h34ni] { border: 1px solid #e6ecf3; border-radius: 10px; padding: 12px 14px; margin-top: 10px; background: #fbfcfe; }
.lp-days[b-sbac1h34ni] { display: flex; gap: 4px; flex-wrap: wrap; }
.lp-day[b-sbac1h34ni] {
    border: 1px solid #d5dbe5; background: #fff; border-radius: 6px; padding: 5px 9px; font-size: .8rem;
    cursor: pointer; color: #5c6674; font-weight: 600;
}
.lp-day.on[b-sbac1h34ni] { background: #4f5bd5; border-color: #4f5bd5; color: #fff; }
/* _content/AdvDeli.WebOffice/Components/Pages/ModifierGroups.razor.rz.scp.css */
.mg[b-9r9zmrfb6w] { max-width: 1240px; margin: 0 auto; padding: 8px 4px; color: #1f2733; }

.mg-err[b-9r9zmrfb6w] { background: #fbe4e2; border: 1px solid #e6a9a3; color: #8a1f18; padding: 9px 12px;
    border-radius: 8px; font-size: .85rem; margin: 0 6px 14px; }

/* Three panes that narrow together: classes and groups are short lists, options is a table. */
/* Two panes since v8.4: the class column is gone, and the options table gets what it freed. */
.mg-cols[b-9r9zmrfb6w] { display: grid; grid-template-columns: minmax(260px, 1fr) 2.2fr; gap: 16px; align-items: start; }
@media (max-width: 1000px) { .mg-cols[b-9r9zmrfb6w] { grid-template-columns: 1fr; } }

.mg-col[b-9r9zmrfb6w] { background: #fff; border: 1px solid #e4e9f0; border-radius: 14px; overflow: hidden;
    box-shadow: 0 1px 3px rgba(20, 30, 50, .05), 0 12px 30px rgba(20, 30, 50, .04); }
.mg-colhd[b-9r9zmrfb6w] { display: flex; align-items: center; justify-content: space-between; gap: 10px;
    padding: 12px 14px; border-bottom: 1px solid #e4e9f0; background: #f7f9fc; }
.mg-colhd h3[b-9r9zmrfb6w] { margin: 0; font-size: .95rem; font-weight: 800; }

.mg-add[b-9r9zmrfb6w] { border: 1px solid #4f5bd5; background: #4f5bd5; color: #fff; border-radius: 8px;
    padding: 5px 12px; font-size: .82rem; font-weight: 700; cursor: pointer; }
.mg-add:disabled[b-9r9zmrfb6w] { opacity: .45; cursor: default; }
.mg-add.sm[b-9r9zmrfb6w] { padding: 3px 10px; font-size: .78rem; }

.mg-state[b-9r9zmrfb6w] { padding: 26px 14px; color: #8a94a2; font-size: .88rem; font-style: italic; }

.mg-list[b-9r9zmrfb6w] { list-style: none; margin: 0; padding: 6px; display: flex; flex-direction: column; gap: 4px; }
/* minmax(0, 1fr), not 1fr: a 1fr track's automatic minimum is its content's min-content width,
   and an unbroken name ("Chicken-Tikka-Masala-Extra…") has no break opportunity, so the track
   refuses to shrink. The row then outgrows the card and .mg-col's overflow:hidden clips the
   Edit button clean off the screen. minmax(0, …) lets the track shrink so the text can ellipse. */
.mg-list li[b-9r9zmrfb6w] { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 10px;
    padding: 9px 11px; border-radius: 9px; cursor: pointer; border: 1px solid transparent; }
.mg-list li:hover[b-9r9zmrfb6w] { background: #f5f8ff; }
.mg-list li.on[b-9r9zmrfb6w] { background: #edf0fe; border-color: #c6ccf7; }
/* One line each, ellipsed. min-width:0 is required as well as overflow:hidden — these are grid
   items, and their own automatic minimum would otherwise keep them at full width. */
.mg-nm[b-9r9zmrfb6w], .mg-sub[b-9r9zmrfb6w], .mg-off[b-9r9zmrfb6w] { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mg-nm[b-9r9zmrfb6w] { font-size: .9rem; font-weight: 650; color: #24313f; }
.mg-sub[b-9r9zmrfb6w] { grid-column: 1; font-size: .76rem; color: #8a94a2; }
.mg-off[b-9r9zmrfb6w] { grid-column: 1; font-size: .72rem; color: #b5651d; font-weight: 700; text-transform: uppercase; }

/* nowrap so a squeezed row never breaks the caption to "Ed / it"; the button keeps its natural
   width and the name column gives way instead. */
.mg-edit[b-9r9zmrfb6w], .mg-del[b-9r9zmrfb6w] { grid-column: 2; grid-row: 1 / span 2; border: 1px solid #d7dfe9; background: #fff;
    border-radius: 7px; padding: 4px 10px; font-size: .78rem; font-weight: 600; cursor: pointer; color: #55636f;
    white-space: nowrap; }
.mg-edit:hover[b-9r9zmrfb6w] { border-color: #4f5bd5; color: #4f5bd5; }
.mg-del[b-9r9zmrfb6w] { color: #b3261e; }
.mg-del:hover[b-9r9zmrfb6w] { border-color: #b3261e; }
/* Edit + Delete on a group row (ADELI-101): the pair takes the column the lone Edit had. */
.mg-acts[b-9r9zmrfb6w] { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 6px; }

/* table-layout:fixed so one long option name can't widen the table past the card, which
   overflow:hidden would then clip the Edit/Remove buttons out of reach. */
.mg-tbl[b-9r9zmrfb6w] { width: 100%; border-collapse: collapse; font-size: .88rem; table-layout: fixed; }
.mg-tbl thead th[b-9r9zmrfb6w] { text-align: left; background: #f7f9fc; color: #55636f; font-weight: 700;
    font-size: .72rem; text-transform: uppercase; letter-spacing: .5px; padding: 10px 12px;
    border-bottom: 1px solid #e4e9f0; }
.mg-tbl thead th.num[b-9r9zmrfb6w], .mg-tbl tbody td.num[b-9r9zmrfb6w] { text-align: right; }
/* Fixed layout splits columns evenly unless told otherwise, which would starve the option name.
   Pin the narrow columns; the first (unset) column absorbs whatever is left. */
.mg-tbl thead th.num[b-9r9zmrfb6w] { width: 96px; }
.mg-tbl thead th:nth-child(4)[b-9r9zmrfb6w] { width: 168px; }   /* Rules: up to two badges side by side */
.mg-tbl thead th:last-child[b-9r9zmrfb6w] { width: 148px; }
.mg-tbl thead th[b-9r9zmrfb6w] { white-space: nowrap; }         /* a header never stacks its letters */

/* Default / Exclusive as badges in the Rules cell — the word, not a "Yes" in a column of dashes. */
.mg-badge[b-9r9zmrfb6w] {
    display: inline-block; margin-right: 6px; padding: 2px 9px; border-radius: 999px;
    font-size: .72rem; font-weight: 700; letter-spacing: .3px;
    background: #eef1fb; color: #3b47a8; border: 1px solid #cfd6f3;
}
.mg-badge.excl[b-9r9zmrfb6w] { background: #fdeee9; color: #a3401c; border-color: #f2c9b8; }
.mg-tbl tbody td[b-9r9zmrfb6w] { padding: 9px 12px; border-bottom: 1px solid #eef1f6; }
.mg-tbl tbody td:first-child[b-9r9zmrfb6w] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mg-tbl tbody tr:last-child td[b-9r9zmrfb6w] { border-bottom: none; }
.mg-tbl td.act[b-9r9zmrfb6w] { text-align: right; white-space: nowrap; display: flex; gap: 6px; justify-content: flex-end; }
.mg-tbl td.act button[b-9r9zmrfb6w] { position: static; }

.mg-pick[b-9r9zmrfb6w] { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px;
    max-height: 340px; overflow-y: auto; }
/* Same minmax(0, …) reason as .mg-list li — this list carries item names too. */
.mg-pick li[b-9r9zmrfb6w] { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 10px;
    padding: 8px 10px; background: #f6f8fc; border: 1px solid #e6ecf3; border-radius: 9px; }
.mg-pick .mg-sub[b-9r9zmrfb6w] { grid-column: 1; }
.mg-pick button[b-9r9zmrfb6w] { grid-column: 2; grid-row: 1 / span 2; }
/* _content/AdvDeli.WebOffice/Components/Pages/OrderItemStatuses.razor.rz.scp.css */
/* The status list.

   Scoped rather than added to app.css: the `mg-` button classes this page uses are themselves
   scoped to ModifierGroups, so without local copies the buttons here would render as bare browser
   controls. Defining them beside the markup that uses them keeps the page whole, and does not
   change any other page.

   The list is the control, not a table. Order is half a status's meaning here — it is the sequence
   the kitchen walks — so the row shows its position, and moving one is a tap on the row rather
   than a number typed into a dialog. */

.oi-list[b-1vbhhh51tl] {
    list-style: none;
    margin: 4px 6px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.oi-row[b-1vbhhh51tl] {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid #e6ecf3;
    border-radius: 11px;
    padding: 11px 14px;

    /* The status's own colour, along the leading edge. A chef reads this colour on the kitchen
       card, so the person choosing it should see the same thing, not a swatch in a dialog. */
    border-left: 5px solid var(--oi-color, #64748b);
}

/* Retired: still listed, because lines that already reached it must keep rendering under its real
   name — but visibly not part of the live sequence. */
.oi-row.off[b-1vbhhh51tl] { opacity: .55; background: #f7f9fc; }

.oi-seq[b-1vbhhh51tl] {
    flex: none;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: #4f5bd5; color: #fff;
    display: grid; place-items: center;
    font-size: .74rem; font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.oi-dot[b-1vbhhh51tl] {
    flex: none;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--oi-color, #64748b);
}

.oi-id[b-1vbhhh51tl] { flex: 1; min-width: 0; }

.oi-name[b-1vbhhh51tl] {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    font-size: .96rem; font-weight: 650; color: #1f2733;
}

.oi-sub[b-1vbhhh51tl] {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    margin-top: 3px;
    font-size: .78rem; color: #8a94a2;
}

.oi-code[b-1vbhhh51tl] { font-weight: 700; letter-spacing: .02em; }

.oi-role[b-1vbhhh51tl] { color: #5c6674; }

.oi-chip[b-1vbhhh51tl] {
    background: #eef2f6; color: #5c6674;
    border-radius: 20px; padding: 1px 9px;
    font-size: .7rem; font-weight: 700;
    text-transform: lowercase;
}

/* The predefined marker. Amber rather than grey: it is the one chip on the row that changes what
   the buttons beside it will do. */
.oi-chip.lock[b-1vbhhh51tl] { background: #fdf3e3; color: #8a5a12; }

.oi-acts[b-1vbhhh51tl] { display: flex; align-items: center; gap: 6px; flex: none; }

.mg-add[b-1vbhhh51tl] {
    border: 1px solid #4f5bd5; background: #4f5bd5; color: #fff;
    border-radius: 8px; padding: 7px 14px;
    font-size: .85rem; font-weight: 650; cursor: pointer;
}

.mg-add:disabled[b-1vbhhh51tl] { opacity: .45; cursor: default; }

.mg-edit[b-1vbhhh51tl], .mg-del[b-1vbhhh51tl] {
    border: 1px solid #d7dfe9; background: #fff; color: #3d4756;
    border-radius: 8px; padding: 6px 12px;
    font-size: .82rem; font-weight: 600; cursor: pointer;
}

.mg-edit:hover:not(:disabled)[b-1vbhhh51tl] { border-color: #4f5bd5; color: #4f5bd5; }
.mg-del[b-1vbhhh51tl] { color: #b3261e; }
.mg-del:hover:not(:disabled)[b-1vbhhh51tl] { border-color: #b3261e; }

/* Disabled is the ordinary state of Delete on this page — five of the rows can never be removed —
   so it has to read as "not available here" rather than as a control that failed. */
.mg-edit:disabled[b-1vbhhh51tl], .mg-del:disabled[b-1vbhhh51tl] { opacity: .4; cursor: not-allowed; }

@media (max-width: 720px) {
    .oi-row[b-1vbhhh51tl] { flex-wrap: wrap; }
    .oi-acts[b-1vbhhh51tl] { width: 100%; justify-content: flex-end; }
}
/* _content/AdvDeli.WebOffice/Components/Pages/PosLayouts.razor.rz.scp.css */
/* The designer wants the height of the window; the list is happy with the page's. */
.pll-page[b-ztuyycosr7] {
    height: calc(100vh - 90px);
    min-height: 640px;
}
/* _content/AdvDeli.WebOffice/Components/Pages/Promotions.razor.rz.scp.css */
/* Promotions (v9.48, redesigned 2026-12-03 - look only, the fields are unchanged).
   Every colour is a theme.css token, so the page follows the brand accent and dark mode.
   The form still uses the shared .fx-* / .rf-* classes in app.css for its inputs. */

/* The page's own primary buttons, the sheet's Save, and focus rings take the brand accent. */
.rf-btn.primary[b-3celfpkh1d] { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-accent-ink); }
.rf-btn.primary:hover:not(:disabled)[b-3celfpkh1d] { background: var(--c-accent-press); border-color: var(--c-accent-press); }
.rf-in:focus[b-3celfpkh1d] { outline: 2px solid var(--c-accent-wash); border-color: var(--c-accent); }
.pr-dlg[b-3celfpkh1d]  .rd-btn.primary { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-accent-ink); }
.pr-dlg[b-3celfpkh1d]  .rd-btn.primary:hover:not(:disabled) { background: var(--c-accent-press); }

/* ---- list: status tiles ---- */
.pr-filters[b-3celfpkh1d] { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 14px; }
.pr-filter[b-3celfpkh1d] { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--c-line); background: var(--c-s2);
    border-radius: var(--r-sm); padding: 8px 14px; font-size: .86rem; font-weight: 600; color: var(--c-text-dim); cursor: pointer; }
.pr-filter:hover[b-3celfpkh1d] { border-color: var(--c-line-strong); background: var(--c-s4); }
.pr-filter b[b-3celfpkh1d] { font-size: 1.02rem; color: var(--c-text); font-variant-numeric: tabular-nums; }
.pr-filter.on[b-3celfpkh1d] { border-color: var(--c-accent); background: var(--c-accent-wash); color: var(--c-text); box-shadow: 0 0 0 1px var(--c-accent) inset; }
.pr-dot[b-3celfpkh1d] { width: 8px; height: 8px; padding: 0; border-radius: 50%; display: inline-block; flex: none; }
.pr-dot.d-running[b-3celfpkh1d] { background: var(--c-go); }
.pr-dot.d-soon[b-3celfpkh1d] { background: var(--c-nav); }
.pr-dot.d-draft[b-3celfpkh1d] { background: var(--c-text-faint); }
.pr-dot.d-paused[b-3celfpkh1d] { background: var(--c-accent); }
.pr-dot.d-ended[b-3celfpkh1d] { background: var(--c-stop); }

.pr-pcell[b-3celfpkh1d] { display: inline-flex; align-items: center; gap: 10px; }
.pr-pcell b[b-3celfpkh1d] { font-weight: 600; }

/* deal-kind icon (list and kind tiles) */
.pr-kicon[b-3celfpkh1d] { width: 30px; height: 30px; border-radius: 9px; display: inline-grid; place-items: center; flex: none;
    font-style: normal; font-weight: 800; font-size: .78rem; line-height: 1; }
.pr-kicon.t-amber[b-3celfpkh1d] { background: var(--c-accent-wash); color: var(--c-accent-text); }
.pr-kicon.t-blue[b-3celfpkh1d] { background: var(--c-nav-wash); color: var(--c-nav); }
.pr-kicon.t-green[b-3celfpkh1d] { background: color-mix(in srgb, var(--c-go) 15%, transparent); color: var(--c-go-text); }
.pr-kicon.t-rose[b-3celfpkh1d] { background: color-mix(in srgb, var(--c-stop) 13%, transparent); color: var(--c-stop-text); }
.pr-kicon.t-sky[b-3celfpkh1d] { background: color-mix(in srgb, var(--tag-counter) 14%, transparent); color: var(--tag-counter); }

/* status pill (list and sheet) */
.pr-status[b-3celfpkh1d] { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--r-pill);
    font-size: .8rem; font-weight: 800; white-space: nowrap; }
.pr-status[b-3celfpkh1d]::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pr-status.sm[b-3celfpkh1d] { padding: 2px 9px; font-size: .74rem; font-weight: 700; }
.pr-status.run[b-3celfpkh1d] { background: color-mix(in srgb, var(--c-go) 15%, transparent); color: var(--c-go-text); }
.pr-status.soon[b-3celfpkh1d] { background: var(--c-nav-wash); color: var(--c-nav); }
.pr-status.pause[b-3celfpkh1d] { background: var(--c-accent-wash); color: var(--c-accent-text); }
.pr-status.draft[b-3celfpkh1d] { background: var(--well-fill-strong); color: var(--c-text-dim); }
.pr-status.end[b-3celfpkh1d] { background: color-mix(in srgb, var(--c-stop) 13%, transparent); color: var(--c-stop-text); }

/* ---- sheet: state bar + step links ---- */
/* Stays at the top of the sheet while it scrolls, so any step is one click away. The shadow
   above, in the dialog's own colour, covers the sheet's top padding so nothing shows behind it. */
.pr-top[b-3celfpkh1d] { position: sticky; top: 0; z-index: 5; background: var(--c-s2); border: 1px solid var(--c-line); border-radius: var(--r-sm);
    overflow: hidden; box-shadow: 0 -14px 0 var(--c-s2), 0 8px 14px -10px rgba(0, 0, 0, .25); }
.pr-statebar[b-3celfpkh1d] { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; }
.pr-gap[b-3celfpkh1d] { flex: 1; }
.pr-stepnav[b-3celfpkh1d] { display: flex; gap: 2px; flex-wrap: wrap; padding: 0 8px; border-top: 1px solid var(--c-line); background: var(--c-s1); }
.pr-stepnav button[b-3celfpkh1d] { border: 0; background: none; padding: 9px 10px; font-size: .82rem; font-weight: 600; color: var(--c-text-faint);
    cursor: pointer; display: inline-flex; align-items: center; gap: 7px; border-bottom: 2px solid transparent; }
.pr-stepnav button:hover[b-3celfpkh1d] { color: var(--c-text); border-bottom-color: var(--c-line-strong); }
.pr-stepnav button span[b-3celfpkh1d] { width: 20px; height: 20px; border-radius: 50%; background: var(--well-fill-strong); color: var(--c-text-dim);
    display: inline-grid; place-items: center; font-size: .72rem; }
.pr-stepnav button:hover span[b-3celfpkh1d] { background: var(--c-accent); color: var(--c-accent-ink); }
.pr-stepnav button.on[b-3celfpkh1d] { color: var(--c-text); border-bottom-color: var(--c-accent); }
.pr-stepnav button.on span[b-3celfpkh1d] { background: var(--c-accent); color: var(--c-accent-ink); }

.pr-grid[b-3celfpkh1d] { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; align-items: start; }
.pr-main[b-3celfpkh1d] { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.pr-two[b-3celfpkh1d] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.pr-col[b-3celfpkh1d] { display: flex; flex-direction: column; gap: 14px; min-width: 0; scroll-margin-top: 108px; }

.pr-step[b-3celfpkh1d] { background: var(--c-s2); border: 1px solid var(--c-line); border-radius: var(--r-sm); padding: 14px 16px;
    display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 108px; }
.pr-step > h4[b-3celfpkh1d] { margin: 0 0 2px; display: flex; align-items: center; gap: 10px; font-size: .95rem; color: var(--c-text); }
.pr-n[b-3celfpkh1d] { width: 24px; height: 24px; border-radius: 50%; background: var(--c-accent); color: var(--c-accent-ink); display: inline-grid;
    place-items: center; font-size: .76rem; font-weight: 700; flex: none; }
.pr-n.sub[b-3celfpkh1d] { width: auto; padding: 0 7px; border-radius: var(--r-pill); background: var(--c-accent-wash); color: var(--c-accent-text); }

.pr-kinds[b-3celfpkh1d] { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.pr-kind[b-3celfpkh1d] { display: flex; flex-direction: column; align-items: flex-start; gap: 5px; text-align: left; border: 1px solid var(--c-line-strong);
    background: var(--c-s3); border-radius: var(--r-sm); padding: 10px; cursor: pointer; min-width: 0; }
.pr-kind:hover:not(:disabled)[b-3celfpkh1d] { border-color: var(--c-accent); }
.pr-kind strong[b-3celfpkh1d] { font-size: .84rem; color: var(--c-text); }
.pr-kind span[b-3celfpkh1d] { font-size: .72rem; color: var(--c-text-faint); line-height: 1.3; }
.pr-kind.on[b-3celfpkh1d] { border-color: var(--c-accent); background: var(--c-accent-wash); box-shadow: 0 0 0 1px var(--c-accent) inset; }
.pr-kind:disabled[b-3celfpkh1d] { opacity: .5; cursor: not-allowed; }
.pr-how[b-3celfpkh1d] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pr-code[b-3celfpkh1d] { max-width: 260px; }

.pr-info[b-3celfpkh1d] { padding: 9px 12px; border-radius: var(--r-sm); background: var(--well-fill); border: 1px solid var(--c-line); color: var(--c-text-dim); font-size: .8rem; line-height: 1.45; }

.pr-sentence[b-3celfpkh1d] { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 1rem; color: var(--c-text);
    padding: 12px 14px; background: var(--c-s1); border: 1px solid var(--c-line); border-radius: var(--r-sm); }
[b-3celfpkh1d] .pr-num { width: 5.5rem; padding: 6px 8px; text-align: center; font-weight: 700; }
.pr-inline[b-3celfpkh1d] { width: auto; padding: 6px 8px; }

/* segmented: Add / Leave out, Every day / Weekdays / Weekends */
.pr-seg[b-3celfpkh1d] { display: inline-flex; align-self: flex-start; background: var(--well-fill-strong); border-radius: var(--r-sm); padding: 3px; gap: 2px; flex-wrap: wrap; }
.pr-seg > button[b-3celfpkh1d], .pr-seg > label[b-3celfpkh1d] { border: 0; background: none; padding: 5px 12px; border-radius: 8px; font-size: .82rem;
    font-weight: 600; color: var(--c-text-dim); cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.pr-seg > label input[b-3celfpkh1d] { position: absolute; opacity: 0; width: 0; height: 0; }
.pr-seg > .on[b-3celfpkh1d] { background: var(--c-s2); color: var(--c-text); box-shadow: inset 0 -2px 0 var(--c-accent), 0 1px 2px rgba(0, 0, 0, .12); }
.pr-seg > .on.out[b-3celfpkh1d] { color: var(--c-stop-text); box-shadow: inset 0 -2px 0 var(--c-stop), 0 1px 2px rgba(0, 0, 0, .12); }

.pr-days[b-3celfpkh1d] { display: flex; gap: 4px; flex-wrap: wrap; }
.pr-day[b-3celfpkh1d] { width: 42px; height: 34px; border-radius: 9px; border: 1px solid var(--c-line-strong); background: var(--c-s3); font-size: .78rem;
    font-weight: 700; color: var(--c-text-dim); cursor: pointer; }
.pr-day.on[b-3celfpkh1d] { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-accent-ink); }

.pr-f4[b-3celfpkh1d] { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pr-f4 > .rf-row[b-3celfpkh1d] { min-width: 0; }
.pr-sws[b-3celfpkh1d] { display: flex; flex-direction: column; gap: 8px; }

.pr-course[b-3celfpkh1d] { border: 1px dashed var(--c-line-strong); border-radius: var(--r-sm); padding: 8px; display: flex; flex-direction: column; gap: 6px; background: var(--c-s1); }

.pr-coupbox[b-3celfpkh1d] { border-top: 1px solid var(--c-line); padding-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.pr-coupbox h5[b-3celfpkh1d] { margin: 0; display: flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: var(--track-label); color: var(--c-text-dim); }
.pr-coupbox h5 .fx-aside[b-3celfpkh1d] { margin-left: auto; text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--c-text-faint); }
.pr-coupons[b-3celfpkh1d] { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 4px; max-height: 220px; overflow: auto; }
.pr-coupon[b-3celfpkh1d] { display: flex; align-items: center; gap: 6px; font-size: .8rem; padding: 3px 6px; border-radius: 6px; background: var(--c-s3); border: 1px solid var(--c-line); }
.pr-coupon code[b-3celfpkh1d] { font-weight: 700; color: var(--c-text); }
.pr-coupon span[b-3celfpkh1d] { margin-left: auto; color: var(--c-text-faint); }
.pr-coupon.off[b-3celfpkh1d] { opacity: .55; }

/* ---- summary rail ---- */
.pr-rail[b-3celfpkh1d] { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.pr-sum[b-3celfpkh1d] { background: var(--c-s2); border: 1px solid var(--c-line); border-radius: var(--r-sm); overflow: hidden; }
.pr-sum-top[b-3celfpkh1d] { background: linear-gradient(135deg, var(--c-accent), var(--c-accent-press)); color: var(--c-accent-ink); padding: 14px 16px; }
.pr-sum-top span[b-3celfpkh1d] { display: block; font-size: .7rem; text-transform: uppercase; letter-spacing: var(--track-label); opacity: .75; font-weight: 700; }
.pr-sum-top strong[b-3celfpkh1d] { display: block; font-size: 1.02rem; margin-top: 4px; line-height: 1.35; }
.pr-sum dl[b-3celfpkh1d] { margin: 0; padding: 10px 16px 12px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; font-size: .82rem; }
.pr-sum dt[b-3celfpkh1d] { color: var(--c-text-faint); }
.pr-sum dd[b-3celfpkh1d] { margin: 0; font-weight: 600; text-align: right; color: var(--c-text); }
.pr-todo[b-3celfpkh1d] { background: color-mix(in srgb, var(--c-stop) 10%, var(--c-s2)); border: 1px solid color-mix(in srgb, var(--c-stop) 35%, var(--c-line));
    border-radius: var(--r-sm); padding: 10px 14px; font-size: .8rem; color: var(--c-stop-text); }
.pr-todo b[b-3celfpkh1d] { display: block; margin-bottom: 4px; }
.pr-todo ul[b-3celfpkh1d] { margin: 0; padding-left: 18px; line-height: 1.5; }
.pr-ready[b-3celfpkh1d] { background: color-mix(in srgb, var(--c-go) 12%, var(--c-s2)); border: 1px solid color-mix(in srgb, var(--c-go) 35%, var(--c-line));
    border-radius: var(--r-sm); padding: 10px 14px; font-size: .82rem; font-weight: 600; color: var(--c-go-text); }

/* chips and finder used by PromoChips / PromoFinder */
[b-3celfpkh1d] .fx-chip.pick { background: var(--c-accent-wash); border-color: var(--c-accent); color: var(--c-accent-text); }
[b-3celfpkh1d] .fx-chip small { color: var(--c-text-faint); font-size: .7rem; }
[b-3celfpkh1d] .pr-x { border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 1rem; line-height: 1; padding: 0 0 0 2px; }

[b-3celfpkh1d] .pr-finder { position: relative; }
[b-3celfpkh1d] .pr-results { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 4px); background: var(--c-s2);
    border: 1px solid var(--c-line-strong); border-radius: var(--r-sm); box-shadow: 0 8px 24px rgba(0, 0, 0, .14); max-height: 260px; overflow: auto; }
[b-3celfpkh1d] .pr-result { display: flex; justify-content: space-between; gap: 10px; width: 100%; border: 0; background: var(--c-s2); color: var(--c-text);
    padding: 8px 10px; text-align: left; cursor: pointer; font-size: .86rem; }
[b-3celfpkh1d] .pr-result:hover { background: var(--c-s4); }
[b-3celfpkh1d] .pr-result small { color: var(--c-text-faint); }

/* v9.73: Scheduled Pricing overlap warning on a Sale-price deal. */
.pr-overlap[b-3celfpkh1d] { padding: 10px 12px; border-radius: var(--r-sm); background: var(--c-accent-wash); border: 1px solid var(--c-accent);
    color: var(--c-accent-text); font-size: 13px; }
.pr-overlap ul[b-3celfpkh1d] { margin: 6px 0; padding-left: 18px; }

@media (max-width: 1180px) {
    .pr-grid[b-3celfpkh1d] { grid-template-columns: minmax(0, 1fr); }
    .pr-rail[b-3celfpkh1d] { position: static; order: -1; }
    .pr-how[b-3celfpkh1d] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .pr-two[b-3celfpkh1d], .pr-f4[b-3celfpkh1d] { grid-template-columns: minmax(0, 1fr); }
}
/* _content/AdvDeli.WebOffice/Components/Pages/Roles.razor.rz.scp.css */
/* =========================================================
Permission Dialog

LIGHT AND SPACIOUS (2026-10-23). The dark slate section band and the slate "open" tab made the dialog
heavy, and the compact tiles crowded the Back Office tab (~35 permissions) into a dense block. Now:
white section headers with a soft icon, the Back Office indigo (#4f5bd5, the dialog's own Save button)
as the one accent, roomier tiles on a pale well, and the big tab scrolls inside the panel at full size
rather than shrinking to fit.
========================================================= */

/* ONE SCROLLBAR (2026-10-21). This column fills the dialog body and is allowed to SHRINK (RefDialog
   pins every body child at its natural height - hence !important, overriding its ::deep rule), and
   only the permission panel below takes up the slack and scrolls. */
.permission-dialog[b-iapux9g705] {
    display: flex;
    flex-direction: column;
    gap: 18px;
    flex: 1 1 auto !important;
    min-height: 0;
}

    .permission-dialog > *[b-iapux9g705] {
        flex-shrink: 0;
    }

    /* The one child that shrinks. Written as a child selector so it outranks the rule above once
       Blazor adds its scope attributes. */
    .permission-dialog > .permission-modules[b-iapux9g705] {
        flex: 1 1 auto;
        min-height: 140px;
    }

/* ---------- Summary ---------- */

.permission-summary[b-iapux9g705] {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    border: 1px solid #e6e9f2;
    border-radius: 14px;
    background: linear-gradient(135deg, #fbfbff 0%, #f5f6fd 100%);
}

.permission-summary-icon[b-iapux9g705] {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #e9ebfb;
    font-size: 21px;
}

.permission-summary-content[b-iapux9g705] {
    flex: 1;
    min-width: 0;
}

.permission-summary-title[b-iapux9g705] {
    font-size: 15.5px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 4px;
}

.permission-summary-text[b-iapux9g705] {
    font-size: 13px;
    line-height: 1.5;
    color: #6b7280;
}

.permission-summary-count[b-iapux9g705] {
    min-width: 76px;
    text-align: center;
    padding-left: 18px;
    border-left: 1px solid #e6e9f2;
}

    .permission-summary-count strong[b-iapux9g705] {
        display: block;
        font-size: 24px;
        line-height: 1.1;
        color: #4f5bd5;
        font-variant-numeric: tabular-nums;
    }

    .permission-summary-count span[b-iapux9g705] {
        font-size: 11px;
        letter-spacing: .04em;
        text-transform: uppercase;
        color: #8a93a3;
    }

/* ---------- Information ---------- */

.permission-info[b-iapux9g705] {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 11px 14px;
    border: 1px solid #e8ebf2;
    border-left: 3px solid #a9b0ee;
    border-radius: 10px;
    background: #fafbfd;
    color: #4b5563;
    font-size: 12.5px;
    line-height: 1.5;
}

/* The same note, now in the dialog footer (RefDialog.FooterNote). */
.permission-foot-icon[b-iapux9g705] {
    flex-shrink: 0;
    font-size: 15px;
    color: #6b74d9;
}

.permission-info-icon[b-iapux9g705] {
    flex-shrink: 0;
    font-size: 15px;
    color: #6b74d9;
}

/* ---------- Toolbar: tabs + search on one line (2026-10-21) ----------
   Sticky inside the dialog, so finding a permission never means scrolling back up. The tabs take the
   width and wrap; the search sits at the right. Stacks on a narrow window. */
.permission-toolbar[b-iapux9g705] {
    position: sticky;
    top: -1px;
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 14px;
    padding: 2px 0 14px;
    background: #ffffff;
    border-bottom: 1px solid #eef0f5;
}

    .permission-toolbar .permission-tabs[b-iapux9g705] {
        flex: 1 1 auto;
        min-width: 0;
        order: 1;
    }

.permission-search[b-iapux9g705] {
    position: relative;
    display: flex;
    align-items: center;
    flex: 0 1 200px;
    min-width: 150px;
    order: 2;
}

    .permission-search input[b-iapux9g705] {
        width: 100%;
        height: 38px;
        padding: 0 34px;
        border: 1px solid #dfe3ec;
        border-radius: 10px;
        background: #ffffff;
        font-size: 13px;
        color: #1f2937;
        transition: border-color .12s ease, box-shadow .12s ease;
    }

        /* ONE clear button (v9.37): the browser draws its own on a search field beside ours. */
        .permission-search input[b-iapux9g705]::-webkit-search-cancel-button,
        .permission-search input[b-iapux9g705]::-webkit-search-decoration {
            -webkit-appearance: none;
            appearance: none;
            display: none;
        }

        .permission-search input[b-iapux9g705]::-ms-clear {
            display: none;
        }

        .permission-search input[b-iapux9g705]::placeholder {
            color: #9aa3b2;
        }

        .permission-search input:focus[b-iapux9g705] {
            outline: none;
            border-color: #4f5bd5;
            box-shadow: 0 0 0 3px rgba(79, 91, 213, .14);
        }

.permission-search-icon[b-iapux9g705] {
    position: absolute;
    left: 12px;
    font-size: 16px;
    color: #9aa3b2;
    pointer-events: none;
}

.permission-search-clear[b-iapux9g705] {
    position: absolute;
    right: 6px;
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
}

    .permission-search-clear:hover[b-iapux9g705] {
        background: #f1f3f8;
    }

/* ---------- Tabs ----------
   One per section, wrapping rather than scrolling sideways. Each carries its ticked count. The open
   tab is a soft indigo pill, not a dark block. */
/* v9.37: compact - short names, sized to their content - so every section fits on one row
   beside the search on the wide dialog. */
.permission-tabs[b-iapux9g705] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.permission-tab[b-iapux9g705] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 10px 0 9px;
    border: 1px solid #e3e7ef;
    border-radius: 10px;
    background: #ffffff;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background .12s ease, border-color .12s ease, color .12s ease, box-shadow .12s ease;
}

    .permission-tab:hover[b-iapux9g705] {
        border-color: #c4c9f3;
        background: #fafaff;
    }

    .permission-tab.on[b-iapux9g705] {
        border-color: #c4c9f3;
        background: #eef0fd;
        color: #3c46b8;
        box-shadow: inset 0 -2px 0 #4f5bd5;
    }

.permission-tab-icon[b-iapux9g705] {
    font-size: 14px;
    line-height: 1;
}

.permission-tab-count[b-iapux9g705] {
    padding: 1px 6px;
    border-radius: 999px;
    background: #f1f3f7;
    color: #6b7280;
    font-size: 11px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

    .permission-tab-count.part[b-iapux9g705] {
        background: #e6e8fb;
        color: #4f5bd5;
    }

    .permission-tab-count.full[b-iapux9g705] {
        background: #4f5bd5;
        color: #ffffff;
    }

/* While searching, no tab is "open" - the panel shows matches from all of them. */
.permission-tabs.searching .permission-tab[b-iapux9g705] {
    opacity: .65;
}

/* ---------- Panel ----------
   SCROLLS ON ITS OWN: search, tabs and the dialog's buttons stay put and only the open tab's list
   moves. A big tab (Back Office) simply scrolls here at full size. */
.permission-modules[b-iapux9g705] {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1 1 auto;
    min-height: 140px;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding-right: 4px;
}

.permission-module[b-iapux9g705] {
    flex: 0 0 auto;
    /* clip, not hidden: hidden makes the section its own scroll box and the sticky header below
       would stick to nothing. */
    overflow: clip;
    border: 1px solid #e3e7ef;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
}

/* ---------- Module Header ----------
   White with a soft icon tile: the section is named clearly without a dark band competing with the
   ticks below it. Sticky, so Select all stays in reach while the list scrolls. */
.permission-module-header[b-iapux9g705] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 14px 18px;
    border-bottom: 1px solid #eef0f5;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 1;
}

.permission-module-title[b-iapux9g705] {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.permission-module-icon[b-iapux9g705] {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #eef0fd;
    font-size: 17px;
}

.permission-module-name[b-iapux9g705] {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: .005em;
    color: #1f2937;
}

.permission-module-subtitle[b-iapux9g705] {
    margin-top: 2px;
    font-size: 11.5px;
    color: #8a93a3;
}

.permission-module-actions[b-iapux9g705] {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.permission-selected-count[b-iapux9g705] {
    padding: 3px 9px;
    border-radius: 999px;
    background: #f1f3f7;
    font-size: 12px;
    font-weight: 600;
    color: #4b5563;
    font-variant-numeric: tabular-nums;
}

.permission-select-btn[b-iapux9g705] {
    height: 32px;
    padding: 0 14px;
    border: 1px solid #c4c9f3;
    border-radius: 8px;
    background: #ffffff;
    color: #4f5bd5;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background .12s ease, border-color .12s ease;
}

    .permission-select-btn:hover[b-iapux9g705] {
        background: #eef0fd;
        border-color: #4f5bd5;
    }

/* ---------- Permission Rows ----------
   Tiles in a grid on a pale well: columns are unmistakable and each permission has room to breathe.
   At 270px a tile holds the longest code on one line; three fit across the wide dialog, two on a
   laptop, one on a phone, with no breakpoint. */
.permission-list[b-iapux9g705] {
    display: grid;
    /* v9.37: every row carries a Deny / Ask / Allow switch, so a row needs ~430px - two across the
       wide dialog, one on a laptop-narrow window or a phone. */
    grid-template-columns: repeat(auto-fill, minmax(430px, 1fr));
    gap: 12px;
    padding: 18px;
    background: #f8f9fc;
}

    /* A big section (Back Office screens, ~35 codes) keeps the full tile size and scrolls in the
       panel; it only drops the minimum a little so one more column fits on a wide screen. */
    .permission-list.dense[b-iapux9g705] {
        grid-template-columns: repeat(auto-fill, minmax(410px, 1fr));
        gap: 8px;
    }

        .permission-list.dense .permission-item[b-iapux9g705] {
            min-height: 48px;
            padding: 7px 12px;
        }

.permission-item[b-iapux9g705] {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 56px;
    padding: 10px 14px;
    border: 1px solid #e6e9f0;
    border-radius: 10px;
    background: #ffffff;
    cursor: pointer;
    transition: background .12s ease, border-color .12s ease, box-shadow .12s ease;
}

    .permission-item:hover[b-iapux9g705] {
        border-color: #c4c9f3;
        box-shadow: 0 2px 8px rgba(79, 91, 213, .08);
    }

    /* Ticked: the tile takes a soft indigo tint, so what a role holds is visible across the grid. */
    .permission-item.selected[b-iapux9g705] {
        border-color: #c4c9f3;
        background: #f4f5fe;
    }

    .permission-item input[b-iapux9g705] {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

/* ---------- Custom Checkbox ---------- */

.permission-check[b-iapux9g705] {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid #c9cfdb;
    border-radius: 6px;
    background: #ffffff;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    transition: background .12s ease, border-color .12s ease;
}

.permission-item.selected .permission-check[b-iapux9g705] {
    border-color: #4f5bd5;
    background: #4f5bd5;
}

/* ---------- Permission Details ---------- */

/* Name on top, code tag under it. */
.permission-details[b-iapux9g705] {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.permission-name[b-iapux9g705] {
    font-size: 13.5px;
    font-weight: 600;
    color: #1f2937;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* The code as a small quiet tag under the name. */
.permission-code[b-iapux9g705] {
    width: fit-content;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding: 2px 7px;
    border-radius: 5px;
    background: #f3f4f7;
    color: #6b7280;
    font-family: Consolas, "Courier New", monospace;
    font-size: 10.5px;
}

.permission-item.selected .permission-code[b-iapux9g705] {
    background: #e6e8fb;
    color: #4f5bd5;
}

/* ---------- Two-strength permission (v8.0) ----------
   One row, three answers: not allowed / with authorization / without. */
.permission-item.tiered[b-iapux9g705] {
    /* v9.37: every row. The left edge takes the colour of the answer - rose Deny, amber Ask, indigo
       Allow - so a section reads at a glance. */
    flex-wrap: wrap;
    gap: 8px 12px;
    cursor: default;
    border-left: 4px solid #fda4af;
}

    .permission-item.tiered.tier-2[b-iapux9g705] {
        border-left-color: #4f5bd5;
    }

    /* The code takes the slack, so the switch sits flush right on one line where it fits. */
    .permission-item.tiered .permission-details[b-iapux9g705] {
        flex: 1 1 auto;
    }

    /* "With authorization": a manager approves each use - amber, not the indigo of "allowed", so the
       two strengths are told apart across the grid as well as on the switch. */
    .permission-item.tiered.tier-1[b-iapux9g705] {
        border-color: #f3d08e;
        border-left-color: #d97706;
        background: #fffaf0;
    }

        .permission-item.tiered.tier-1 .permission-check[b-iapux9g705] {
            border-color: #d97706;
            background: #d97706;
        }

        .permission-item.tiered.tier-1 .permission-code[b-iapux9g705] {
            background: #fdefd2;
            color: #92400e;
        }

/* A SEGMENTED SWITCH: three equal pills in a track, the chosen one raised. */
.permission-tiers[b-iapux9g705] {
    display: inline-grid;
    grid-template-columns: repeat(3, 62px);
    margin-left: auto;
    gap: 3px;
    padding: 3px;
    border-radius: 10px;
    background: #eef0f5;
}

    .permission-tiers button[b-iapux9g705] {
        height: 30px;
        padding: 0 8px;
        border: 0;
        border-radius: 8px;
        background: transparent;
        color: #4b5563;
        font-size: 12.5px;
        font-weight: 600;
        white-space: nowrap;
        cursor: pointer;
        transition: background .12s ease, color .12s ease, box-shadow .12s ease;
    }

        .permission-tiers button:hover:not(.on):not(:disabled)[b-iapux9g705] {
            background: rgba(255, 255, 255, .7);
            color: #1f2937;
        }

        /* The chosen answer, coloured by what it means. */
        .permission-tiers button.on[b-iapux9g705] {
            background: #ffffff;
            color: #374151;
            box-shadow: 0 1px 3px rgba(16, 24, 40, .14);
        }

.permission-item.tier-0 .permission-tiers button.on[b-iapux9g705] {
    background: #e11d48;
    color: #ffffff;
}

.permission-item.tier-1 .permission-tiers button.on[b-iapux9g705] {
    background: #d97706;
    color: #ffffff;
}

.permission-item.tier-2 .permission-tiers button.on[b-iapux9g705] {
    background: #4f5bd5;
    color: #ffffff;
}

        .permission-tiers button:disabled[b-iapux9g705] {
            cursor: default;
        }

/* Sign-in offers no Ask: a quiet placeholder keeps the three columns lined up. */
.permission-tier-none[b-iapux9g705] {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b6bcc8;
    font-size: 12px;
    cursor: help;
}

.permission-filter-empty[b-iapux9g705] {
    grid-column: 1 / -1;
    padding: 18px;
    text-align: center;
    color: #6b7280;
    font-size: 12.5px;
}

.permission-summary-count.ask strong[b-iapux9g705] {
    color: #d97706;
}

/* ---------- The section bar (v9.37) ----------
   Left: the counts, which are the filter. Right: Set all, a toggle whose lit segment is the answer
   the whole section already has. One band under the section heading. */
.permission-module-bar[b-iapux9g705] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    padding: 12px 18px;
    border-bottom: 1px solid #eef0f5;
    background: #ffffff;
}

.permission-filter[b-iapux9g705] {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.pf-chip[b-iapux9g705] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 32px;
    padding: 0 12px;
    border: 1px solid #e0e4ec;
    border-radius: 999px;
    background: #ffffff;
    color: #4b5563;
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background .12s ease, border-color .12s ease, color .12s ease;
}

    .pf-chip b[b-iapux9g705] {
        min-width: 20px;
        padding: 1px 6px;
        border-radius: 999px;
        background: #f1f3f7;
        color: #374151;
        font-size: 11.5px;
        text-align: center;
        font-variant-numeric: tabular-nums;
    }

    .pf-chip i[b-iapux9g705] {
        width: 9px;
        height: 9px;
        border-radius: 50%;
    }

    .pf-chip:hover[b-iapux9g705] { border-color: #c4c9f3; }

    .pf-chip.allow i[b-iapux9g705] { background: #4f5bd5; }
    .pf-chip.ask i[b-iapux9g705] { background: #d97706; }
    .pf-chip.deny i[b-iapux9g705] { background: #e11d48; }

    .pf-chip.on[b-iapux9g705] { border-color: #1f2937; background: #1f2937; color: #ffffff; }
    .pf-chip.on b[b-iapux9g705] { background: rgba(255, 255, 255, .2); color: #ffffff; }
    .pf-chip.allow.on[b-iapux9g705] { border-color: #4f5bd5; background: #4f5bd5; }
    .pf-chip.ask.on[b-iapux9g705] { border-color: #d97706; background: #d97706; }
    .pf-chip.deny.on[b-iapux9g705] { border-color: #e11d48; background: #e11d48; }
    .pf-chip.on i[b-iapux9g705] { background: #ffffff; }

/* SET ALL: a segmented toggle in a tinted track. The segment matching the whole section is filled
   in its colour; the others tint on hover so the colour of each answer is learnt by pointing. */
.permission-setall[b-iapux9g705] {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 4px;
    border-radius: 12px;
    background: #f1f3f8;
    box-shadow: inset 0 0 0 1px #e3e7ef;
}

.permission-setall-label[b-iapux9g705] {
    padding: 0 10px 0 8px;
    color: #6b7280;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.permission-setall button[b-iapux9g705] {
    display: inline-flex;
    align-items: center;
    height: 34px;
    padding: 0 18px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #374151;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .12s ease, color .12s ease, box-shadow .12s ease;
}

    .permission-setall .sa-deny:hover:not(:disabled):not(.on)[b-iapux9g705] { background: #fff1f3; color: #be123c; }
    .permission-setall .sa-ask:hover:not(:disabled):not(.on)[b-iapux9g705] { background: #fff7e8; color: #b45309; }
    .permission-setall .sa-allow:hover:not(:disabled):not(.on)[b-iapux9g705] { background: #eef0fd; color: #3f49b8; }

    .permission-setall button.on[b-iapux9g705] {
        color: #ffffff;
        box-shadow: 0 2px 6px rgba(16, 24, 40, .18);
    }

    .permission-setall .sa-deny.on[b-iapux9g705] { background: #e11d48; }
    .permission-setall .sa-ask.on[b-iapux9g705] { background: #d97706; }
    .permission-setall .sa-allow.on[b-iapux9g705] { background: #4f5bd5; }

    .permission-setall button:disabled[b-iapux9g705] {
        color: #c0c5d0;
        cursor: default;
    }

@media (max-width: 760px) {
    .permission-module-bar[b-iapux9g705] {
        padding: 10px 12px;
    }

    .permission-setall[b-iapux9g705] {
        width: 100%;
    }

        .permission-setall button[b-iapux9g705] {
            flex: 1 1 0;
            justify-content: center;
            padding: 0 8px;
        }
}

/* ---------- Empty State ---------- */

.permission-empty[b-iapux9g705] {
    padding: 44px 20px;
    text-align: center;
    border: 1px dashed #d5dae5;
    border-radius: 12px;
    background: #fafbfd;
}

.permission-empty-icon[b-iapux9g705] {
    font-size: 28px;
    margin-bottom: 8px;
}

.permission-empty-title[b-iapux9g705] {
    font-size: 14px;
    font-weight: 700;
    color: #374151;
}

.permission-empty-text[b-iapux9g705] {
    margin-top: 4px;
    font-size: 12.5px;
    color: #6b7280;
}

/* ---------- The master's role ----------
   Every box ticked and disabled. Muted rather than greyed to unreadability: the point is that
   somebody can READ the full list of what the support account holds. */
.permission-item.locked[b-iapux9g705] {
    cursor: default;
    opacity: .85;
}

.permission-item.locked input[type=checkbox][b-iapux9g705] {
    cursor: default;
}

.permission-info.master[b-iapux9g705] {
    border-color: #ecd9a0;
    border-left-color: #c9a227;
    background: #fffaeb;
    color: #6b5312;
}

/* ---------- Responsive ---------- */

@media (max-width: 760px) {
    .permission-toolbar[b-iapux9g705] {
        flex-direction: column;
        align-items: stretch;
    }

    .permission-search[b-iapux9g705] {
        flex: 0 0 auto;
        order: 0;
    }

    .permission-list[b-iapux9g705],
    .permission-list.dense[b-iapux9g705] {
        grid-template-columns: minmax(0, 1fr);
        padding: 12px;
        gap: 10px;
    }
}

@media (max-width: 550px) {
    .permission-summary[b-iapux9g705] {
        align-items: flex-start;
        padding: 14px;
    }

    .permission-summary-count[b-iapux9g705] {
        display: none;
    }

    .permission-module-header[b-iapux9g705] {
        align-items: flex-start;
        padding: 12px 14px;
    }

    .permission-module-actions[b-iapux9g705] {
        flex-direction: column;
        align-items: flex-end;
        gap: 4px;
    }
}
/* _content/AdvDeli.WebOffice/Components/Pages/SwitchStore.razor.rz.scp.css */
.sw[b-pnjin10u40] { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: #f2f5f9; }
.sw-card[b-pnjin10u40] { width: min(460px, 100%); background: #fff; border: 1px solid #e4e9f0; border-radius: 16px;
    padding: 28px; box-shadow: 0 16px 44px rgba(20, 30, 50, .12); display: flex; flex-direction: column; gap: 16px; }
.sw-card h1[b-pnjin10u40] { font-size: 1.3rem; margin: 0; color: #1f2733; }
.sw-lead[b-pnjin10u40] { margin: 0; color: #64707e; font-size: .9rem; line-height: 1.6; }

.sw-err[b-pnjin10u40] { background: #fbe4e2; border: 1px solid #e6a9a3; color: #8a1f18;
    padding: 10px 12px; border-radius: 9px; font-size: .85rem; font-weight: 600; }
.sw-empty[b-pnjin10u40] { background: #fdf3e3; border: 1px solid #e8d3a8; color: #8a5a12;
    padding: 12px 14px; border-radius: 9px; font-size: .88rem; line-height: 1.55; }

.sw-list[b-pnjin10u40] { display: flex; flex-direction: column; gap: 8px; max-height: 46vh; overflow-y: auto; }
.sw-opt[b-pnjin10u40] { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: center;
    gap: 2px 10px; border: 1px solid #d6dce6; border-radius: 10px; padding: 11px 13px; cursor: pointer; }
.sw-opt:hover[b-pnjin10u40] { background: #f5f8ff; }

/* Selection is drawn from the radio itself, so the card responds to the click immediately.
   The page is statically rendered — there is no circuit to re-render it — so a class decided
   on the server only catches up after the post. */
.sw-opt:has(input:checked)[b-pnjin10u40] { border-color: #4f5bd5; background: #edf0fe; }

/* Hidden without being removed: display:none takes the radio out of the tab order too, which
   left the keyboard unable to choose a store at all. Off-screen and zero-sized it still takes
   focus and still answers the arrow keys. */
.sw-opt input[b-pnjin10u40] { position: absolute; width: 1px; height: 1px; opacity: 0; margin: 0; }

/* And since nothing visible has the focus, the card has to show it. */
.sw-opt:has(input:focus-visible)[b-pnjin10u40] { outline: 2px solid #4f5bd5; outline-offset: 2px; }
.sw-opt-nm[b-pnjin10u40] { font-size: .94rem; font-weight: 650; color: #24313f; }
.sw-opt-cd[b-pnjin10u40] { grid-column: 1; font-size: .76rem; color: #8a94a2; font-weight: 700; }
.sw-cur[b-pnjin10u40] { grid-column: 2; grid-row: 1 / span 2; font-size: .68rem; font-weight: 800; color: #2f9e44;
    background: #e6f4ea; border-radius: 999px; padding: 2px 9px; text-transform: uppercase; }

.sw-acts[b-pnjin10u40] { display: flex; justify-content: flex-end; gap: 10px; }
.sw-btn[b-pnjin10u40] { border-radius: 10px; padding: 10px 18px; font-weight: 700; font-size: .9rem;
    cursor: pointer; text-decoration: none; display: inline-block; border: 1px solid #d6dce6; background: #fff; color: #1f2733; }
.sw-btn.primary[b-pnjin10u40] { background: #4f5bd5; border-color: #4f5bd5; color: #fff; }
.sw-btn.primary:disabled[b-pnjin10u40] { opacity: .5; cursor: default; }
.sw-btn.ghost:hover[b-pnjin10u40] { background: #f1f4f9; }

/* The error fades by itself (2026-11-28). The page is static, so CSS does it; the delay is set
   inline from the message length, like every other Back Office message. */
.sw-fade[b-pnjin10u40] { animation: sw-fade-out-b-pnjin10u40 .4s ease forwards; }
@keyframes sw-fade-out-b-pnjin10u40 { to { opacity: 0; visibility: hidden; height: 0; margin: 0; padding: 0; border-width: 0; } }
/* _content/AdvDeli.WebOffice/Components/Pages/TaxGroups.razor.rz.scp.css */
/* The tax-code checklist on the group dialog (ADELI-177). */
.tg-pick[b-h5ftlsduqc] { display: flex; flex-direction: column; gap: 4px; max-height: 240px; overflow-y: auto;
           border: 1px solid #e6ecf3; border-radius: 9px; padding: 6px; background: #f6f8fc; }
.tg-pick-row[b-h5ftlsduqc] { display: flex; align-items: center; gap: 10px; padding: 6px 8px; border-radius: 7px;
               cursor: pointer; font-size: .9rem; color: #24313f; }
.tg-pick-row:hover[b-h5ftlsduqc] { background: #fff; }
.tg-pick-row input[b-h5ftlsduqc] { width: 16px; height: 16px; flex: none; }
.tg-pick-nm[b-h5ftlsduqc] { flex: 1; min-width: 0; font-weight: 600; }
.tg-pick-rate[b-h5ftlsduqc] { font-weight: 700; font-variant-numeric: tabular-nums; }
/* _content/AdvDeli.WebOffice/Components/Reports/DaySalesReport.razor.rz.scp.css */
/* =================================================================================================
   THE RECONCILIATION LADDER.

   The one piece of this report that is not a grid, a tile or a chart, and could not be any of
   them. A ladder is read DOWN: each rung follows from the one above it, and the reader's eye has
   to be able to run the column of figures without being interrupted by borders, zebra stripes or
   a header row. ReportGrid is built for the opposite job — a table you sort, search and total —
   so this is its own markup rather than a grid bent into a shape it was not made for.

   THREE KINDS OF ROW, AND THE DIFFERENCE MUST BE VISIBLE FROM ACROSS THE ROOM.

     a plain row   a movement: something added or taken off
     .memo         NOT part of the running total. Indented, dimmed, and set apart — the inclusive
                   tax line sits here, and a reader who mistakes it for a rung double-counts the
                   tax. That single misreading is the reason this file exists.
     .sub / .tot   a figure the rows above it add up to, ruled off.

   Colour is never the only signal. The memo rows are indented and labelled "Memo." in their own
   note column as well as being dimmed, so the distinction survives a monochrome print, a
   colour-blind reader and a screenshot pasted into an email.
   ================================================================================================= */

.ds-lad[b-df6i1min65] {
    width: 100%;
    border-collapse: collapse;
    font-size: .9rem;
}

.ds-lad td[b-df6i1min65] {
    padding: 7px 10px;
    vertical-align: baseline;
}

/* The label. */
.ds-lad-l[b-df6i1min65] {
    color: var(--c-text);
    white-space: nowrap;
}

/* The figure. Tabular numerals so the units digits line up down the column — without them a
   column of money cannot be read down at all, only across one row at a time. */
.ds-lad-v[b-df6i1min65] {
    text-align: right;
    font-weight: 650;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    width: 1%;
    padding-left: 24px;
}

/* The explanation, which is what makes this table answerable rather than merely correct. Somebody
   asked "what is that number" should not have to leave the row to find out. */
.ds-lad-n[b-df6i1min65] {
    color: var(--c-text-dim);
    font-size: .82rem;
    padding-left: 20px;
}

/* A deduction. Dimmed rather than coloured red: a discount is normal trading, not an alarm, and
   the minus sign in the figure already carries the sign. */
.ds-lad .neg[b-df6i1min65] { color: var(--c-text-dim); }

/* ---- the rows that are sums ---- */

.ds-lad tr.sub td[b-df6i1min65] {
    border-top: 1px solid var(--c-line);
    border-bottom: 1px solid var(--c-line);
    font-weight: 700;
}

.ds-lad tr.tot td[b-df6i1min65] {
    border-top: 2px solid var(--c-line-strong);
    font-weight: 800;
}

.ds-lad tr.tot .ds-lad-v[b-df6i1min65] { font-size: 1.06rem; }

/* The second total — takings net of refunds — is a different KIND of answer to the first: the
   first is what was rung up, this is what should reach the bank. Ruled with a lighter hand so it
   reads as a second conclusion rather than as a competing one. */
.ds-lad tr.tot.alt td[b-df6i1min65] {
    border-top: 1px solid var(--c-line-strong);
    font-weight: 700;
}

.ds-lad tr.tot.alt .ds-lad-v[b-df6i1min65] { font-size: 1rem; }

/* ---- memo rows: beside the arithmetic, never in it ---- */

.ds-lad tr.memo td[b-df6i1min65] {
    color: var(--c-text-dim);
    font-weight: 500;
    padding-top: 4px;
    padding-bottom: 4px;
}

.ds-lad tr.memo .ds-lad-l[b-df6i1min65] { padding-left: 26px; }

.ds-lad tr.memo .ds-lad-v[b-df6i1min65] { font-weight: 600; }

/* ---- the change against yesterday, on the hero ---- */

.ds-delta[b-df6i1min65] { font-weight: 650; }
.ds-delta.up[b-df6i1min65] { color: var(--c-go-text); }
.ds-delta.down[b-df6i1min65] { color: var(--c-stop-text); }

/* ---- a sub-heading inside a two-column block ---- */

.ds-h4[b-df6i1min65] {
    margin: 0 0 8px;
    font-size: .88rem;
    font-weight: 700;
    color: var(--c-text-dim);
    letter-spacing: .01em;
}

/* On a narrow screen the note column is the first thing to go: the label and the figure are the
   report, and the explanation is a courtesy that must not push the figure off the edge. */
@media (max-width: 900px) {
    .ds-lad-n[b-df6i1min65] { display: none; }
    .ds-lad-v[b-df6i1min65] { padding-left: 12px; }
}
/* _content/AdvDeli.WebOffice/Components/Reports/EmailReportDialog.razor.rz.scp.css */
/* One row per recipient: the address box takes the width, the remove button sits at its end. */
.re-line[b-97d1d6rp9i] { display: flex; align-items: center; gap: 8px; }
.re-line .rf-in[b-97d1d6rp9i] { flex: 1 1 auto; min-width: 0; }

.re-x[b-97d1d6rp9i] {
    flex: none; display: grid; place-items: center; width: 34px; height: 34px;
    border: 1px solid #d6dce6; border-radius: 10px; background: #fff; color: #8a94a2; cursor: pointer;
}
.re-x:hover:not(:disabled)[b-97d1d6rp9i] { color: #b42318; border-color: #f0b4ae; background: #fff6f5; }
.re-x:disabled[b-97d1d6rp9i] { opacity: .5; cursor: default; }
.re-x .bo-ico[b-97d1d6rp9i] { width: 15px; height: 15px; }

.re-add[b-97d1d6rp9i] {
    align-self: flex-start; border: 1px dashed #b9c2d0; border-radius: 10px; background: none;
    color: #4f5bd5; font-size: .86rem; font-weight: 600; padding: 7px 14px; cursor: pointer;
}
.re-add:hover:not(:disabled)[b-97d1d6rp9i] { background: #eef1ff; border-color: #4f5bd5; }
.re-add:disabled[b-97d1d6rp9i] { opacity: .5; cursor: default; }
/* _content/AdvDeli.WebOffice/Components/Shared/OfficeGate.razor.rz.scp.css */
/* Deny / Ask / Allow (v9.37): the manager's-PIN unlock, over a page or in the corner. */

.og-ov[b-pz9tlp8oza] {
    position: fixed;
    inset: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(243, 244, 248, .97);
}

.og-card[b-pz9tlp8oza] {
    position: relative;
    width: 100%;
    max-width: 400px;
    padding: 26px 24px 20px;
    border: 1px solid #e6e9f0;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 12px 40px rgba(16, 24, 40, .12);
    text-align: center;
}

    .og-card.small[b-pz9tlp8oza] {
        max-width: 330px;
        padding: 18px 18px 14px;
        text-align: left;
    }

    .og-card h2[b-pz9tlp8oza] {
        margin: 6px 0 6px;
        font-size: 19px;
        color: #1f2937;
    }

    .og-card h3[b-pz9tlp8oza] {
        margin: 0 0 4px;
        font-size: 15px;
        color: #1f2937;
    }

.og-lock[b-pz9tlp8oza] {
    width: 48px;
    height: 48px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fdf1dc;
    font-size: 22px;
}

.og-lead[b-pz9tlp8oza] {
    margin: 0 0 14px;
    color: #4b5563;
    font-size: 13.5px;
    line-height: 1.45;
}

.og-list[b-pz9tlp8oza] {
    margin: -6px 0 12px 18px;
    padding: 0;
    color: #92400e;
    font-size: 13px;
    font-weight: 600;
}

.og-form[b-pz9tlp8oza] {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

    .og-form label[b-pz9tlp8oza] {
        display: flex;
        flex-direction: column;
        gap: 4px;
        font-size: 12px;
        font-weight: 600;
        color: #4b5563;
    }

.og-opt[b-pz9tlp8oza] {
    font-weight: 400;
    color: #9ca3af;
}

.og-in[b-pz9tlp8oza] {
    height: 36px;
    padding: 0 10px;
    border: 1px solid #d5dae5;
    border-radius: 8px;
    font-size: 14px;
}

    .og-in:focus[b-pz9tlp8oza] {
        outline: none;
        border-color: #d97706;
        box-shadow: 0 0 0 3px rgba(217, 119, 6, .15);
    }

.og-err[b-pz9tlp8oza] {
    padding: 8px 10px;
    border-radius: 8px;
    background: #fdecec;
    color: #b42318;
    font-size: 12.5px;
}

.og-go[b-pz9tlp8oza] {
    height: 38px;
    margin-top: 2px;
    border: 0;
    border-radius: 8px;
    background: #d97706;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}

    .og-go:disabled[b-pz9tlp8oza] {
        opacity: .5;
        cursor: default;
    }

.og-back[b-pz9tlp8oza] {
    display: inline-block;
    margin-top: 14px;
    color: #6b7280;
    font-size: 12.5px;
}

.og-corner[b-pz9tlp8oza] {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 800;
}

.og-pill[b-pz9tlp8oza] {
    height: 36px;
    padding: 0 14px;
    border: 1px solid #f3d08e;
    border-radius: 999px;
    background: #fffaf0;
    color: #92400e;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(16, 24, 40, .12);
}

.og-x[b-pz9tlp8oza] {
    position: absolute;
    top: 8px;
    right: 8px;
    border: 0;
    background: transparent;
    color: #9ca3af;
    font-size: 14px;
    cursor: pointer;
}

@media (max-width: 480px) {
    .og-corner[b-pz9tlp8oza] {
        left: 16px;
    }

    .og-card.small[b-pz9tlp8oza] {
        max-width: none;
    }
}
/* _content/AdvDeli.WebOffice/Components/Shared/RefDialog.razor.rz.scp.css */
.rd-ov[b-1wl1gfz9b4] { position: fixed; inset: 0; background: rgba(16, 24, 38, .45); display: grid; place-items: center;
    z-index: 60; padding: 20px; }
.rd[b-1wl1gfz9b4] { width: min(460px, 96vw); max-height: 92vh; overflow: hidden; display: flex; flex-direction: column;
    background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, .4); }

/* See RefDialog.Wide. 1040px fits three permission-module columns at the widths the Roles screen
   asks for; below that its own grid falls back to two and then one, so this is a ceiling rather
   than a fixed size. max-height rises with it because the whole point is seeing more at once. */
.rd.wide[b-1wl1gfz9b4] { width: min(1040px, 96vw); max-height: 94vh; }

/* See RefDialog.Sheet: a multi-column form that should fit without scrolling. */
.rd.sheet[b-1wl1gfz9b4] { width: min(1360px, 97vw); max-height: 95vh; }
.rd.sheet .rd-body[b-1wl1gfz9b4] { padding: 14px 16px; }

.rd-head[b-1wl1gfz9b4] { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px;
    font-weight: 800; font-size: 1.05rem; color: #1f2733; border-bottom: 1px solid #e4e9f0;
    background: linear-gradient(180deg, #f8fafc, #f1f4f9); }
.rd-x[b-1wl1gfz9b4] { border: 0; background: none; font-size: 1rem; color: #8a94a2; cursor: pointer; padding: 2px 4px; }
.rd-x:hover[b-1wl1gfz9b4] { color: #1f2733; }

/* min-height: 0 is load-bearing, not tidying. A flex item defaults to min-height: auto, which
   refuses to shrink below its content — so overflow-y: auto never engages, and .rd (overflow:
   hidden) simply clips whatever does not fit. A long body such as the Roles permission list then
   has a section nobody can reach. */
.rd-body[b-1wl1gfz9b4] { padding: 16px 18px; overflow-y: auto; min-height: 0; display: flex; flex-direction: column; gap: 12px; }

/* The second half of the same problem. A flex item shrinks by default, so when the body is a
   column and its content is taller than the dialog, every child squashes proportionally to fit
   instead of the body overflowing — and a child with overflow:hidden (the Roles permission
   modules) then clips its own rows. Nothing scrolls, because nothing overflows. Children keep
   their natural height; the body is the only thing allowed to scroll.

   THIS COMMENT USED TO CLOSE HERE, one line early. A comment-close sequence sat mid-sentence in
   the prose, and CSS honours the first one it meets: everything after it parsed as a selector,
   which then swallowed the rule below as its block. The rule was absent from the built stylesheet
   entirely — verified in the browser — so the squashing described above had been happening the
   whole time, and the fix written for it never ran.

   Do not write the close sequence inside this comment while describing it. Doing so reintroduces
   the fault verbatim, which is exactly what happened on the first attempt at this repair.

   ::deep is required for the same reason it is on the file inputs: these children come from
   @Body, a RenderFragment owned by the PAGE, so they carry the page's scope attribute and not
   this component's. Without it the rule compiles to ".rd-body > *[b-refdialog]" and matches
   nothing at all. */
.rd-body[b-1wl1gfz9b4]  > * { flex-shrink: 0; }

/* Sticky so it cannot be scrolled away from the field it refers to. Negative margins cancel the
   body padding so it reads as a banner rather than a floating box. */
.rd-err[b-1wl1gfz9b4] { position: sticky; top: -16px; z-index: 3; margin: -16px -18px 0; padding: 10px 18px;
    background: #fbe4e2; border-bottom: 1px solid #e6a9a3; color: #8a1f18; font-size: .85rem; font-weight: 600; }

.rd-foot[b-1wl1gfz9b4] { display: flex; align-items: center; justify-content: flex-end; gap: 10px; padding: 13px 18px;
    border-top: 1px solid #e4e9f0; background: #f8fafc; }
/* The optional note takes the free space on the left and pushes the buttons right. */
.rd-foot-note[b-1wl1gfz9b4] { flex: 1 1 auto; min-width: 0; margin-right: auto; display: flex; align-items: center;
    gap: 8px; color: #5b6472; font-size: .82rem; line-height: 1.4; }
.rd-btn[b-1wl1gfz9b4] { border: 1px solid #d6dce6; background: #fff; border-radius: 10px; padding: 9px 18px;
    font-weight: 700; font-size: .9rem; cursor: pointer; color: #1f2733; }
.rd-btn.primary[b-1wl1gfz9b4] { background: #4f5bd5; border-color: #4f5bd5; color: #fff; }
.rd-btn.primary:disabled[b-1wl1gfz9b4] { opacity: .6; cursor: default; }
.rd-btn.ghost:hover[b-1wl1gfz9b4] { background: #f1f4f9; }

/* =============================================================================================
   PHONE

   This is the entry form for all twenty-one reference screens, so it is the one dialog worth
   getting right at 360px.
   ============================================================================================= */

@media (max-width: 560px) {
    /* The overlay's 20px of padding cost 40px of a 360px screen before the dialog started. */
    .rd-ov[b-1wl1gfz9b4] { padding: 0; place-items: end stretch; }

    /* A SHEET, not a floating card. Anchored to the bottom, full width, square along the bottom
       edge: it is the pattern a phone user already knows, the controls land under the thumb
       rather than in the middle of the screen, and it gives the form every available pixel.

       dvh rather than vh for the reason the nav drawer uses it — vh is the height with the URL
       bar hidden, so a 92vh sheet is taller than what you can actually see, and the footer with
       Save in it sits below the fold. */
    .rd[b-1wl1gfz9b4], .rd.wide[b-1wl1gfz9b4], .rd.sheet[b-1wl1gfz9b4] {
        width: 100%;
        max-width: 100%;
        max-height: 92dvh;
        border-radius: 16px 16px 0 0;
    }

    /* The keyboard is the real constraint on a phone form: it takes half the screen, and every
       pixel of chrome above the fields is one the fields do not get. */
    .rd-head[b-1wl1gfz9b4] { padding: 13px 14px; font-size: 1rem; }
    .rd-body[b-1wl1gfz9b4] { padding: 14px; }
    .rd-err[b-1wl1gfz9b4] { margin: -14px -14px 0; padding: 10px 14px; top: -14px; }

    /* Save on the right, both full-height and equally weighted. Two small buttons crowded into a
       corner is a miss-tap on the one that discards a filled-in form. */
    .rd-foot[b-1wl1gfz9b4] { padding: 11px 14px; gap: 8px; }
    .rd-foot .rd-btn[b-1wl1gfz9b4] { flex: 1 1 0; padding: 12px 10px; min-height: 46px; }

    /* Same reason as the shell: iOS zooms the page in when a focused input is under 16px, and a
       zoomed-in modal cannot be scrolled back into view. */
    .rd-body[b-1wl1gfz9b4]  input,
    .rd-body[b-1wl1gfz9b4]  select,
    .rd-body[b-1wl1gfz9b4]  textarea { font-size: 16px; }
}
