/* /Components/Layout/FreshnessChip.razor.rz.scp.css */
.chip-wrap[b-w8ivvr8iw8] {
    position: relative;
}

.chip[b-w8ivvr8iw8] {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 32px;
    padding: 0 0.7rem;
    font: 500 0.9rem/1 var(--font-ui);
    color: var(--ink-2);
    background: transparent;
    border: 1px solid var(--line-strong);
    border-radius: 99px;
    cursor: pointer;
    white-space: nowrap;
}

.chip:hover[b-w8ivvr8iw8] {
    background: var(--surface-3);
}

.dot[b-w8ivvr8iw8] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--ok);
}

.chip.stale .dot[b-w8ivvr8iw8] {
    background: var(--warn);
}

.chip.bad .dot[b-w8ivvr8iw8] {
    background: var(--danger);
}

.scrim-click[b-w8ivvr8iw8] {
    position: fixed;
    inset: 0;
    z-index: 1100;
}

.pop[b-w8ivvr8iw8] {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 1101;
    width: min(340px, calc(100vw - 2rem));
    padding: 0.9rem 1rem;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.pop p[b-w8ivvr8iw8] {
    margin-bottom: 0.6rem;
}

@media (max-width: 720px) {
    .label[b-w8ivvr8iw8] {
        display: none;
    }

    .chip[b-w8ivvr8iw8] {
        padding: 0 0.55rem;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.shell[b-bkyh32kpuh] {
    display: flex;
    flex-direction: column;
    height: 100dvh;
}

.topbar[b-bkyh32kpuh] {
    position: relative;
    z-index: 50;
    flex: none;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    height: var(--topbar-h);
    padding: 0 0.75rem 0 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line-strong);
}

.brand[b-bkyh32kpuh] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    height: 100%;
    padding-right: 0.5rem;
    color: var(--ink);
    text-decoration: none;
}

/* A short length of floor tape: yellow with black hazard stripes, the one fixed brand mark. */
.tape-mark[b-bkyh32kpuh] {
    align-self: stretch;
    width: 14px;
    background: repeating-linear-gradient(135deg, var(--tape) 0 6px, #1b1a10 6px 12px);
}

.brand-text[b-bkyh32kpuh] {
    font: 700 1.3rem/1 var(--font-head);
    letter-spacing: 0.03em;
}

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

.find-slot[b-bkyh32kpuh] {
    width: min(300px, 28vw);
}

.content[b-bkyh32kpuh] {
    flex: 1;
    min-height: 0;
    overflow: auto;
}

.logout[b-bkyh32kpuh] {
    margin: 0;
}

.when-dark[b-bkyh32kpuh] {
    display: none;
}

:root[data-theme="dark"] .when-dark[b-bkyh32kpuh] {
    display: inline-flex;
}

:root[data-theme="dark"] .when-light[b-bkyh32kpuh] {
    display: none;
}

#blazor-error-ui[b-bkyh32kpuh] {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    padding: 0.7rem 3rem 0.7rem 1.25rem;
    color: var(--ink);
    background: var(--tape);
    color: var(--tape-ink);
    box-shadow: 0 -2px 8px rgb(0 0 0 / 25%);
}

#blazor-error-ui .reload[b-bkyh32kpuh] {
    margin-left: 0.5rem;
    color: inherit;
    font-weight: 600;
}

#blazor-error-ui .dismiss[b-bkyh32kpuh] {
    position: absolute;
    right: 0.6rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    padding: 0.25rem;
    color: inherit;
    background: transparent;
    border: 0;
    cursor: pointer;
}

@media (max-width: 860px) {
    .brand-text[b-bkyh32kpuh] {
        display: none;
    }

    .find-slot[b-bkyh32kpuh] {
        display: none;
    }
}

@media (max-width: 560px) {
    .topbar[b-bkyh32kpuh] {
        gap: 0.2rem;
        padding-right: 0.4rem;
    }
}
/* /Components/Layout/NavTabs.razor.rz.scp.css */
.tabs[b-4rkdjdhm7s] {
    display: flex;
    align-items: stretch;
    gap: 0.15rem;
    height: 100%;
}

.tabs[b-4rkdjdhm7s]  a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0 0.85rem;
    font: 600 1.05rem/1 var(--font-head);
    letter-spacing: 0.02em;
    color: var(--ink-2);
    text-decoration: none;
    white-space: nowrap;
}

.tabs[b-4rkdjdhm7s]  a:hover {
    color: var(--ink);
}

.tabs[b-4rkdjdhm7s]  a.on {
    color: var(--ink);
}

/* The current section is marked with a strip of floor tape along the bar's bottom edge. */
.tabs[b-4rkdjdhm7s]  a.on::after {
    content: "";
    position: absolute;
    left: 0.5rem;
    right: 0.5rem;
    bottom: -1px;
    height: 4px;
    background: var(--tape);
}

.count[b-4rkdjdhm7s] {
    min-width: 1.35rem;
    padding: 0 0.35rem;
    font: 600 0.78rem/1.35rem var(--font-ui);
    text-align: center;
    color: var(--danger);
    background: var(--danger-soft);
    border-radius: 99px;
}
/* /Components/Layout/QuickFind.razor.rz.scp.css */
.find[b-tpo3lnq81e] {
    position: relative;
    display: flex;
    align-items: center;
    width: min(300px, 100%);
}

.find[b-tpo3lnq81e]  > svg {
    position: absolute;
    left: 0.6rem;
    width: 16px;
    height: 16px;
    fill: none;
    stroke: var(--ink-3);
    stroke-width: 1.8;
    stroke-linecap: round;
    pointer-events: none;
}

.find input[b-tpo3lnq81e] {
    padding-left: 2rem;
    background: var(--surface-2);
    border-color: var(--line);
}

.find input:focus[b-tpo3lnq81e] {
    background: var(--surface);
}

.results[b-tpo3lnq81e] {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 1100;
    margin: 0;
    padding: 0.25rem;
    list-style: none;
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-width: 280px;
}

.results.none[b-tpo3lnq81e] {
    padding: 0.7rem 0.8rem;
    color: var(--ink-3);
}

.results li[b-tpo3lnq81e] {
    display: flex;
    flex-direction: column;
    padding: 0.4rem 0.6rem;
    border-radius: 4px;
    cursor: pointer;
}

.results li.active[b-tpo3lnq81e],
.results li:hover[b-tpo3lnq81e] {
    background: var(--tape);
    color: var(--tape-ink);
}

.results li.active .muted[b-tpo3lnq81e],
.results li:hover .muted[b-tpo3lnq81e] {
    color: var(--tape-ink);
    opacity: 0.75;
}

.title[b-tpo3lnq81e] {
    font-weight: 600;
}

@media (max-width: 720px) {
    .find[b-tpo3lnq81e] {
        width: 100%;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-o5vw5opw22],
.components-reconnect-repeated-attempt-visible[b-o5vw5opw22],
.components-reconnect-failed-visible[b-o5vw5opw22],
.components-pause-visible[b-o5vw5opw22],
.components-resume-failed-visible[b-o5vw5opw22],
.components-rejoining-animation[b-o5vw5opw22] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-o5vw5opw22],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-o5vw5opw22],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-o5vw5opw22],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-o5vw5opw22],
#components-reconnect-modal.components-reconnect-retrying[b-o5vw5opw22],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-o5vw5opw22],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-o5vw5opw22],
#components-reconnect-modal.components-reconnect-failed[b-o5vw5opw22],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-o5vw5opw22] {
    display: block;
}


#components-reconnect-modal[b-o5vw5opw22] {
    background-color: var(--surface);
    color: var(--ink);
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-o5vw5opw22 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-o5vw5opw22 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-o5vw5opw22 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-o5vw5opw22]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-o5vw5opw22 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-o5vw5opw22 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-o5vw5opw22 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-o5vw5opw22 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-o5vw5opw22] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-o5vw5opw22] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-o5vw5opw22] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-o5vw5opw22] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-o5vw5opw22] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-o5vw5opw22] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-o5vw5opw22] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-o5vw5opw22 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-o5vw5opw22] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-o5vw5opw22 {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/Pages/Error.razor.rz.scp.css */
.error-page[b-u1wvqpdeny] {
    max-width: 34rem;
    margin: 14vh auto 0;
    padding: 0 1rem;
}

.error-page h1[b-u1wvqpdeny] {
    margin-bottom: 0.6rem;
}
/* /Components/Pages/FloorPlan.razor.rz.scp.css */
/* ---- layout ------------------------------------------------------------------------------------------ */

.fp[b-35yjbg6eqs] { position: relative; height: 100%; display: flex; flex-direction: column; min-height: 0; }

.fp-bar[b-35yjbg6eqs] {
    display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
    padding: 0.5rem 0.9rem; background: var(--surface); border-bottom: 1px solid var(--line);
}
.fp-bar .spacer[b-35yjbg6eqs] { flex: 1; }
.plan-select[b-35yjbg6eqs] { width: auto; min-width: 11rem; max-width: 18rem; font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; }
.plan-dims[b-35yjbg6eqs] { white-space: nowrap; }
.inline-select[b-35yjbg6eqs] { display: inline-flex; align-items: center; gap: 0.35rem; }
.inline-select select[b-35yjbg6eqs] { width: auto; min-height: 28px; padding-block: 0.1rem; }
.inline-select svg[b-35yjbg6eqs] { width: 16px; height: 16px; fill: none; stroke: var(--ink-3); stroke-width: 1.8; }
.only-narrow[b-35yjbg6eqs] { display: none; gap: 0.35rem; }

.fp-body[b-35yjbg6eqs] { flex: 1; min-height: 0; display: grid; grid-template-columns: 280px minmax(0, 1fr) 320px; }

.fp-empty[b-35yjbg6eqs] { display: grid; gap: 0.75rem; justify-items: start; padding-top: 3rem; }
.fp-empty h1[b-35yjbg6eqs] { margin: 0; }

/* ---- tray -------------------------------------------------------------------------------------------- */

.fp-tray[b-35yjbg6eqs], .fp-side[b-35yjbg6eqs] { background: var(--surface); min-height: 0; overflow: auto; }
.fp-tray[b-35yjbg6eqs] { border-right: 1px solid var(--line); display: flex; flex-direction: column; }
.fp-side[b-35yjbg6eqs] { border-left: 1px solid var(--line); padding: 0.9rem 1rem 2rem; }

.tray-head[b-35yjbg6eqs] { padding: 0.6rem 0.7rem; display: grid; gap: 0.5rem; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--surface); z-index: 1; }
.tray-head .seg[b-35yjbg6eqs] { width: 100%; }
.tray-head .seg > button[b-35yjbg6eqs] { flex: 1; }
.tray-list[b-35yjbg6eqs] { flex: 1; overflow: auto; padding: 0.3rem 0 1rem; }
.pad[b-35yjbg6eqs] { padding: 0.8rem 0.9rem; }

.tgroup + .tgroup[b-35yjbg6eqs] { border-top: 1px solid var(--line); }
.thead[b-35yjbg6eqs], .trow[b-35yjbg6eqs] {
    display: flex; align-items: center; gap: 0.45rem; width: 100%;
    padding: 0.3rem 0.7rem; min-height: 32px; text-align: left;
    background: transparent; border: 0; color: var(--ink); font: inherit;
}
.thead[b-35yjbg6eqs] { cursor: pointer; font-weight: 600; }
.thead:hover[b-35yjbg6eqs], .trow.plain:hover[b-35yjbg6eqs] { background: var(--surface-2); }
.trow[b-35yjbg6eqs] { border-radius: 0; }
.trow[draggable="true"][b-35yjbg6eqs] { cursor: grab; }
.trow[draggable="true"]:active[b-35yjbg6eqs] { cursor: grabbing; }
.trow.nested[b-35yjbg6eqs] { padding-left: 2.1rem; }
.trow.rack[b-35yjbg6eqs] { font-weight: 500; }
.trow.plain[b-35yjbg6eqs] { cursor: pointer; }
.trow.plain.on[b-35yjbg6eqs] { background: var(--accent-soft); }
.tname[b-35yjbg6eqs] { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chev[b-35yjbg6eqs] { display: inline-flex; transition: transform 0.12s; }
.chev.open[b-35yjbg6eqs] { transform: rotate(90deg); }
.chev-btn[b-35yjbg6eqs] { display: inline-flex; background: transparent; border: 0; padding: 0; color: var(--ink-3); cursor: pointer; }
.chev svg[b-35yjbg6eqs], .chev-btn svg[b-35yjbg6eqs] { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.dot[b-35yjbg6eqs] { width: 10px; height: 10px; border-radius: 2px; border: 1px solid var(--line-strong); flex: none; background: var(--c-empty); }
.dot.st-1[b-35yjbg6eqs] { background: var(--c-s1); }
.dot.st-2[b-35yjbg6eqs] { background: var(--c-s2); }
.dot.st-3[b-35yjbg6eqs] { background: var(--c-s3); }
.dot.st-sentinel[b-35yjbg6eqs] { background: var(--c-sentinel); }
.dot.st-over[b-35yjbg6eqs] { background: var(--c-over); }

/* ---- stage ------------------------------------------------------------------------------------------- */

.fp-stage-wrap[b-35yjbg6eqs] { position: relative; min-width: 0; min-height: 0; }
.stage[b-35yjbg6eqs] { position: absolute; inset: 0; background: var(--canvas); overflow: hidden; touch-action: none; user-select: none; -webkit-user-select: none; }
.stage .layer[b-35yjbg6eqs] { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage .rulers[b-35yjbg6eqs] { pointer-events: none; }
.stage[data-mode="pan"][b-35yjbg6eqs], .stage[data-mode="pan-ready"][b-35yjbg6eqs] { cursor: grab; }
.stage[data-mode="pan"][b-35yjbg6eqs] { cursor: grabbing; }
.stage[data-mode="drag"][b-35yjbg6eqs] { cursor: move; }
.stage[data-editable="true"] .item[b-35yjbg6eqs] { cursor: move; }
.stage[data-editable="false"] .item[b-35yjbg6eqs] { cursor: pointer; }

.readout[b-35yjbg6eqs] {
    position: absolute; left: 28px; bottom: 8px; padding: 0.15rem 0.5rem; pointer-events: none;
    font: 500 0.78rem/1.4 var(--font-ui); font-variant-numeric: tabular-nums; color: var(--ink-2);
    background: color-mix(in srgb, var(--surface) 88%, transparent); border: 1px solid var(--line); border-radius: 4px;
}
.mini[b-35yjbg6eqs] {
    position: absolute; right: 10px; bottom: 10px; width: 160px; height: 100px;
    background: color-mix(in srgb, var(--surface) 90%, transparent); border: 1px solid var(--line-strong); border-radius: 4px;
    box-shadow: var(--shadow);
}
.stage-tools[b-35yjbg6eqs] { position: absolute; right: 10px; top: 30px; display: grid; gap: 0.3rem; }
.stage-hint[b-35yjbg6eqs] {
    position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); max-width: 22rem; text-align: center;
    display: grid; gap: 0.3rem; padding: 0.9rem 1.2rem; pointer-events: none;
    background: color-mix(in srgb, var(--surface) 92%, transparent); border: 1px dashed var(--line-strong); border-radius: var(--radius);
    color: var(--ink-2);
}

/* items */
.item .body[b-35yjbg6eqs] { stroke: var(--line-strong); stroke-width: 1; vector-effect: non-scaling-stroke; fill: var(--c-empty); }
.item.st-1 .body[b-35yjbg6eqs] { fill: var(--c-s1); }
.item.st-2 .body[b-35yjbg6eqs] { fill: var(--c-s2); }
.item.st-3 .body[b-35yjbg6eqs] { fill: var(--c-s3); }
.item.st-sentinel .body[b-35yjbg6eqs] { fill: var(--c-sentinel); }
.item.st-over .body[b-35yjbg6eqs] { fill: var(--c-over); }
.item .ring[b-35yjbg6eqs] { fill: none; stroke: var(--tape); stroke-width: 3; vector-effect: non-scaling-stroke; pointer-events: none; }
.item.sel .body[b-35yjbg6eqs] { stroke: var(--ink); stroke-width: 1.5; }

.item[b-35yjbg6eqs]  .lbl { display: none; pointer-events: none; fill: var(--c-s-ink); font-family: var(--font-ui); font-weight: 600; }
.item.st-empty[b-35yjbg6eqs]  .lbl { fill: var(--c-empty-ink); }
.item.st-3[b-35yjbg6eqs]  .lbl { fill: var(--c-s3-ink); }
.item[b-35yjbg6eqs]  .lbl.zb { font-weight: 700; opacity: 0.75; }

.stage:is([data-lod="0"], [data-lod="1"], [data-lod="2"], [data-lod="3"], [data-lod="4"], [data-lod="5"], [data-lod="6"], [data-lod="7"], [data-lod="8"], [data-lod="9"])[b-35yjbg6eqs]  .need-0,
.stage:is([data-lod="1"], [data-lod="2"], [data-lod="3"], [data-lod="4"], [data-lod="5"], [data-lod="6"], [data-lod="7"], [data-lod="8"], [data-lod="9"])[b-35yjbg6eqs]  .need-1,
.stage:is([data-lod="2"], [data-lod="3"], [data-lod="4"], [data-lod="5"], [data-lod="6"], [data-lod="7"], [data-lod="8"], [data-lod="9"])[b-35yjbg6eqs]  .need-2,
.stage:is([data-lod="3"], [data-lod="4"], [data-lod="5"], [data-lod="6"], [data-lod="7"], [data-lod="8"], [data-lod="9"])[b-35yjbg6eqs]  .need-3,
.stage:is([data-lod="4"], [data-lod="5"], [data-lod="6"], [data-lod="7"], [data-lod="8"], [data-lod="9"])[b-35yjbg6eqs]  .need-4,
.stage:is([data-lod="5"], [data-lod="6"], [data-lod="7"], [data-lod="8"], [data-lod="9"])[b-35yjbg6eqs]  .need-5,
.stage:is([data-lod="6"], [data-lod="7"], [data-lod="8"], [data-lod="9"])[b-35yjbg6eqs]  .need-6,
.stage:is([data-lod="7"], [data-lod="8"], [data-lod="9"])[b-35yjbg6eqs]  .need-7,
.stage:is([data-lod="8"], [data-lod="9"])[b-35yjbg6eqs]  .need-8,
.stage:is([data-lod="9"])[b-35yjbg6eqs]  .need-9 { display: inline; }

/* JS-created ghost and handles */
.stage[b-35yjbg6eqs]  .ghost-rect { fill: color-mix(in srgb, var(--tape) 28%, transparent); stroke: var(--tape); stroke-width: 2; stroke-dasharray: 6 4; vector-effect: non-scaling-stroke; pointer-events: none; }
.stage[b-35yjbg6eqs]  .ghost-rect.lift { fill: color-mix(in srgb, var(--warn) 30%, transparent); stroke: var(--warn); }
.stage[b-35yjbg6eqs]  .ghost-label { fill: var(--ink); font-family: var(--font-ui); font-weight: 600; text-anchor: middle; dominant-baseline: central; pointer-events: none; }
.stage[b-35yjbg6eqs]  .ghost-note { fill: var(--warn); font-family: var(--font-ui); font-weight: 700; pointer-events: none; }
.stage[b-35yjbg6eqs]  .handle { fill: var(--surface); stroke: var(--ink); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.stage[b-35yjbg6eqs]  .handle[data-handle="n"], .stage[b-35yjbg6eqs]  .handle[data-handle="s"] { cursor: ns-resize; }
.stage[b-35yjbg6eqs]  .handle[data-handle="e"], .stage[b-35yjbg6eqs]  .handle[data-handle="w"] { cursor: ew-resize; }
.stage[b-35yjbg6eqs]  .handle[data-handle="nw"], .stage[b-35yjbg6eqs]  .handle[data-handle="se"] { cursor: nwse-resize; }
.stage[b-35yjbg6eqs]  .handle[data-handle="ne"], .stage[b-35yjbg6eqs]  .handle[data-handle="sw"] { cursor: nesw-resize; }

/* ---- toast ------------------------------------------------------------------------------------------- */

.toast[b-35yjbg6eqs] {
    position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 5; max-width: min(36rem, calc(100% - 2rem));
    display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.5rem 0.5rem 0.9rem;
    background: var(--ink); color: var(--bg); border-radius: var(--radius); box-shadow: var(--shadow);
}
.toast.error[b-35yjbg6eqs] { background: var(--danger); color: #fff; }
.toast .btn[b-35yjbg6eqs] { color: inherit; }

/* ---- side panel -------------------------------------------------------------------------------------- */

.side-head[b-35yjbg6eqs] { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.4rem; }
.side-head h2[b-35yjbg6eqs] { margin: 0; font-family: var(--font-head); font-size: 1.3rem; overflow-wrap: anywhere; }
.fp-side h3[b-35yjbg6eqs] { margin: 1.1rem 0 0.4rem; font-family: var(--font-head); font-size: 0.95rem; color: var(--ink-2); }
.meta[b-35yjbg6eqs] { display: flex; gap: 0.5rem; align-items: center; margin-top: 0.25rem; }
.geo[b-35yjbg6eqs] { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.side-actions[b-35yjbg6eqs] { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.6rem; }
.stack-list[b-35yjbg6eqs] { list-style: none; margin: 0; padding: 0; }
.facts[b-35yjbg6eqs], .keys[b-35yjbg6eqs] { display: grid; gap: 0.35rem; margin: 0; }
.facts > div[b-35yjbg6eqs], .keys > div[b-35yjbg6eqs] { display: flex; justify-content: space-between; gap: 1rem; }
.facts dt[b-35yjbg6eqs], .keys dt[b-35yjbg6eqs] { color: var(--ink-3); }
.facts dd[b-35yjbg6eqs], .keys dd[b-35yjbg6eqs] { margin: 0; text-align: right; }
.keys > div[b-35yjbg6eqs] { font-size: 0.88rem; }
.legend[b-35yjbg6eqs] { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.3rem; }
.legend li[b-35yjbg6eqs] { display: flex; align-items: center; gap: 0.5rem; }
.sw[b-35yjbg6eqs] { width: 18px; height: 12px; border-radius: 2px; border: 1px solid var(--line-strong); background: var(--c-empty); }
.sw.st-1[b-35yjbg6eqs] { background: var(--c-s1); }
.sw.st-2[b-35yjbg6eqs] { background: var(--c-s2); }
.sw.st-3[b-35yjbg6eqs] { background: var(--c-s3); }
.sw.st-sentinel[b-35yjbg6eqs] { background: var(--c-sentinel); }
.sw.st-over[b-35yjbg6eqs] { background: var(--c-over); }

/* ---- narrow screens: tray and details become bottom sheets ------------------------------------------- */

@media (max-width: 960px) {
    .fp-body[b-35yjbg6eqs] { grid-template-columns: minmax(0, 1fr); }
    .only-narrow[b-35yjbg6eqs] { display: inline-flex; }
    .mini[b-35yjbg6eqs] { display: none; }
    .fp-tray[b-35yjbg6eqs], .fp-side[b-35yjbg6eqs] {
        position: fixed; left: 0; right: 0; bottom: 0; top: auto; max-height: 60dvh; z-index: 40;
        border: 0; border-top: 1px solid var(--line-strong); box-shadow: 0 -8px 24px rgb(0 0 0 / 25%);
        transform: translateY(105%); transition: transform 0.18s ease-out; visibility: hidden;
    }
    .fp-tray.open[b-35yjbg6eqs], .fp-side.open[b-35yjbg6eqs] { transform: none; visibility: visible; }
}

@media (prefers-reduced-motion: reduce) {
    .fp-tray[b-35yjbg6eqs], .fp-side[b-35yjbg6eqs], .chev[b-35yjbg6eqs] { transition: none; }
}
/* /Components/Pages/LocationMap.razor.rz.scp.css */
.legend[b-qnrq4pdxq9] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 1rem;
    font-size: 0.88rem;
    color: var(--ink-2);
    margin-bottom: 0.6rem;
}

.swatch[b-qnrq4pdxq9] {
    display: inline-block;
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 3px;
    border: 1px solid var(--line-strong);
    margin-right: -0.5rem;
}

.swatch.empty[b-qnrq4pdxq9] { background: var(--c-empty); }
.swatch.stocked[b-qnrq4pdxq9] { background: var(--c-s2); }
.swatch.sentinel[b-qnrq4pdxq9] { background: var(--c-sentinel); }
.swatch.over-capacity[b-qnrq4pdxq9] { background: var(--c-over); }

.caption[b-qnrq4pdxq9] {
    color: var(--ink-3);
    font-size: 0.9rem;
    margin: 0 0 0.75rem;
}

.muted[b-qnrq4pdxq9] {
    font-size: 0.8rem;
    font-weight: 400;
    margin-left: 0.5rem;
}

.zone-panel[b-qnrq4pdxq9] {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: 0.7rem 0.9rem;
    margin-bottom: 0.9rem;
    overflow-x: auto;
}

.zone-panel h3[b-qnrq4pdxq9] {
    margin: 0 0 0.5rem;
}

.grid[b-qnrq4pdxq9] {
    display: grid;
    gap: 3px;
    align-items: stretch;
}

.axis[b-qnrq4pdxq9] {
    font-size: 0.78rem;
    color: var(--ink-3);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.3rem;
    white-space: nowrap;
}

.gap[b-qnrq4pdxq9] {
    min-height: 2rem;
}

.cell[b-qnrq4pdxq9] {
    border: 1px solid var(--line-strong);
    border-radius: 3px;
    min-height: 2rem;
    padding: 0;
    cursor: pointer;
    font: 500 0.85rem/1 var(--font-ui);
    color: var(--c-s-ink);
}

.cell.selected[b-qnrq4pdxq9] {
    outline: 3px solid var(--tape);
    outline-offset: 1px;
    position: relative;
    z-index: 2;
}

.empty[b-qnrq4pdxq9] { background: var(--c-empty); color: var(--c-empty-ink); }
.stocked-1[b-qnrq4pdxq9] { background: var(--c-s1); }
.stocked-2[b-qnrq4pdxq9] { background: var(--c-s2); }
.stocked-3[b-qnrq4pdxq9] { background: var(--c-s3); color: var(--c-s3-ink); }
.sentinel[b-qnrq4pdxq9] { background: var(--c-sentinel); }
.over-capacity[b-qnrq4pdxq9] { background: var(--c-over); }

.chips[b-qnrq4pdxq9] {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.chip[b-qnrq4pdxq9] {
    padding: 0.2rem 0.5rem;
}

.treemap[b-qnrq4pdxq9] {
    position: relative;
    width: 100%;
    height: 32rem;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.tm-zone[b-qnrq4pdxq9] {
    position: absolute;
    box-sizing: border-box;
    border: 2px solid var(--surface);
    background: var(--surface-3);
}

.tm-label[b-qnrq4pdxq9] {
    position: absolute;
    top: 1px;
    left: 4px;
    z-index: 1;
    font: 600 0.8rem/1.2 var(--font-head);
    color: var(--ink);
    pointer-events: none;
    text-shadow: 0 0 3px var(--surface);
}

.tm-tile[b-qnrq4pdxq9] {
    position: absolute;
    box-sizing: border-box;
    border-radius: 0;
    border-width: 1px;
    border-color: var(--surface);
}
/* /Components/Pages/Login.razor.rz.scp.css */
.login[b-c8uzmilfri] {
    max-width: 22rem;
    margin: 12vh auto 0;
    padding: 0 1rem;
}

.tape-mark[b-c8uzmilfri] {
    width: 64px;
    height: 12px;
    margin-bottom: 1rem;
    background: repeating-linear-gradient(135deg, var(--tape) 0 8px, #1b1a10 8px 16px);
}

.login h1[b-c8uzmilfri] {
    font-size: 2.2rem;
    margin-bottom: 0.25rem;
}

.login form[b-c8uzmilfri] {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.login .btn[b-c8uzmilfri] {
    align-self: flex-start;
    min-height: 38px;
    padding: 0 1.4rem;
}
/* /Components/Shared/Inspector.razor.rz.scp.css */
.inspector[b-478h9n03t5] {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    min-width: 0;
}

.inspector.empty[b-478h9n03t5] {
    border-style: dashed;
    background: transparent;
    align-items: center;
    justify-content: center;
    min-height: 8rem;
    text-align: center;
}

header[b-478h9n03t5] {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}

h2[b-478h9n03t5] {
    font-size: 1.5rem;
    overflow-wrap: anywhere;
}

h3[b-478h9n03t5] {
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    color: var(--ink-2);
    margin-top: 0.2rem;
}

.meta[b-478h9n03t5] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.3rem;
    color: var(--ink-2);
}

.flags[b-478h9n03t5] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}

.flags span[b-478h9n03t5] {
    padding: 0.05rem 0.55rem;
    border-radius: 4px;
    font-size: 0.85rem;
    border: 1px solid var(--line-strong);
}

.flags .on[b-478h9n03t5] {
    border-color: color-mix(in srgb, var(--ok) 55%, transparent);
    color: var(--ok);
}

.flags .off[b-478h9n03t5] {
    color: var(--ink-3);
}

@media (max-width: 960px) {
    .inspector:not(.empty)[b-478h9n03t5] {
        position: fixed;
        inset: auto 0 0 0;
        z-index: 1000;
        max-height: 62vh;
        overflow: auto;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        box-shadow: var(--shadow);
        padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    }

    .inspector.empty[b-478h9n03t5] {
        display: none;
    }
}

.placed-links[b-478h9n03t5] { display: flex; gap: 0.4rem; flex-wrap: wrap; }
/* /Components/Shared/SideView.razor.rz.scp.css */
/* Full-bleed overlay inside the floor-plan page: a 3D "exploded" stack seen from the side, plus a layers/detail panel. */

.sv[b-hh0te5nyf8] {
    position: absolute;
    inset: 0;
    z-index: 40;
    display: flex;
    flex-direction: column;
    background: var(--bg);
}

.sv:not([data-ready])[b-hh0te5nyf8] { visibility: hidden; }

.sv-bar[b-hh0te5nyf8] {
    display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
    padding: 0.5rem 0.9rem; background: var(--surface); border-bottom: 1px solid var(--line);
}
.sv-bar .spacer[b-hh0te5nyf8] { flex: 1; }
.sv-title[b-hh0te5nyf8] { display: grid; line-height: 1.1; }
.sv-title h2[b-hh0te5nyf8] { font-size: 1.15rem; }

/* The chevron icon points right; flip it for the back button. */
.sv-bar > .btn:first-child[b-hh0te5nyf8]  svg { transform: scaleX(-1); }

.sv-main[b-hh0te5nyf8] { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, 1fr) 340px; }

/* ---- 3D scene ---------------------------------------------------------------------------------------- */

.sv-viewport[b-hh0te5nyf8] {
    position: relative;
    overflow: hidden;
    perspective: 1900px;
    perspective-origin: 50% 42%;
    cursor: grab;
    touch-action: none;
    user-select: none;
    background:
        radial-gradient(ellipse at 50% 100%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 60%),
        var(--canvas);
}
.sv-viewport.dragging[b-hh0te5nyf8] { cursor: grabbing; }

.sv-scene[b-hh0te5nyf8] {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 0;
    height: 0;
    transform-style: preserve-3d;
    will-change: transform;
}

.sv-floor[b-hh0te5nyf8] {
    position: absolute;
    width: calc(var(--w) * 1.25);
    height: calc(var(--d) * 1.25);
    left: calc(var(--w) * -0.625);
    top: calc(var(--d) * -0.625);
    transform: translateY(calc(((var(--n) - 1) / 2 * (var(--h) + var(--gap, 0px))) + var(--h) / 2 + 10px)) rotateX(90deg);
    background-image:
        linear-gradient(var(--canvas-grid-major) 1px, transparent 1px),
        linear-gradient(90deg, var(--canvas-grid-major) 1px, transparent 1px);
    background-size: 40px 40px;
    border: 2px solid var(--canvas-grid-major);
    opacity: 0.6;
    pointer-events: none;
}

.sv-box[b-hh0te5nyf8] {
    position: absolute;
    width: 0;
    height: 0;
    transform-style: preserve-3d;
    transform: translate3d(var(--cx), calc(((var(--n) - 1) / 2 - var(--i)) * (var(--h) + var(--gap, 0px))), var(--cz));
    cursor: pointer;
}

.sv-box[b-hh0te5nyf8]  .face {
    position: absolute;
    left: calc(var(--fw) / -2);
    top: calc(var(--fh) / -2);
    width: var(--fw);
    height: var(--fh);
    background: var(--sc);
    color: var(--si);
    backface-visibility: hidden;
    overflow: hidden;
    box-shadow: inset 0 0 0 1px rgb(0 0 0 / 35%);
}
.sv-box[b-hh0te5nyf8]  .face::after { content: ""; position: absolute; inset: 0; pointer-events: none; }

.sv-box[b-hh0te5nyf8]  .f-front { --fw: var(--w); --fh: var(--h); transform: translateZ(calc(var(--d) / 2)); }
.sv-box[b-hh0te5nyf8]  .f-back { --fw: var(--w); --fh: var(--h); transform: rotateY(180deg) translateZ(calc(var(--d) / 2)); }
.sv-box[b-hh0te5nyf8]  .f-left { --fw: var(--d); --fh: var(--h); transform: rotateY(-90deg) translateZ(calc(var(--w) / 2)); }
.sv-box[b-hh0te5nyf8]  .f-right { --fw: var(--d); --fh: var(--h); transform: rotateY(90deg) translateZ(calc(var(--w) / 2)); }
.sv-box[b-hh0te5nyf8]  .f-top { --fw: var(--w); --fh: var(--d); transform: rotateX(90deg) translateZ(calc(var(--h) / 2)); }

/* Fake lighting: top lit, front neutral, sides and back darker. */
.sv-box[b-hh0te5nyf8]  .f-left::after, .sv-box[b-hh0te5nyf8]  .f-right::after { background: rgb(0 0 0 / 14%); }
.sv-box[b-hh0te5nyf8]  .f-back::after { background: rgb(0 0 0 / 22%); }
.sv-box[b-hh0te5nyf8]  .f-top::after { background: linear-gradient(135deg, rgb(255 255 255 / 22%), transparent 60%); }

.sv-box[b-hh0te5nyf8]  .face-tag {
    position: absolute; left: 8px; top: 6px;
    font-family: var(--font-head); font-weight: 600; font-size: 1rem; letter-spacing: 0.02em;
}

.sv-box[b-hh0te5nyf8]  .face-empty {
    position: absolute; inset: 0; display: grid; place-items: center;
    font-family: var(--font-head); font-size: 1.1rem; opacity: 0.55;
}

.sv-box[b-hh0te5nyf8]  .tile {
    position: absolute;
    display: flex; flex-direction: column; justify-content: center; align-items: flex-start;
    gap: 1px; padding: 0 6px; overflow: hidden;
    background: rgb(0 0 0 / 9%);
    box-shadow: inset 0 0 0 1px rgb(0 0 0 / 30%), inset 0 0 0 2px rgb(255 255 255 / 30%);
    font-size: 12px; line-height: 1.15;
}
.sv-box[b-hh0te5nyf8]  .tile b { font-weight: 600; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sv-box[b-hh0te5nyf8]  .tile i { font-style: normal; opacity: 0.85; font-size: 11px; }
.sv-box[b-hh0te5nyf8]  .tile.more { background: rgb(0 0 0 / 22%); font-style: italic; }
.sv-box[b-hh0te5nyf8]  .tile.over {
    background: repeating-linear-gradient(135deg, rgb(179 50 31 / 85%) 0 6px, rgb(179 50 31 / 60%) 6px 12px);
    color: #fff;
}
.sv-box[b-hh0te5nyf8]  .tile.sentinel {
    background: repeating-linear-gradient(45deg, rgb(107 47 154 / 75%) 0 6px, rgb(107 47 154 / 55%) 6px 12px);
    color: #fff;
}

.sv-box.pending[b-hh0te5nyf8]  .face { opacity: 0.55; }
.sv-box:hover[b-hh0te5nyf8]  .face { filter: brightness(1.06); }
.sv-box.sel[b-hh0te5nyf8]  .face { box-shadow: inset 0 0 0 4px var(--tape), inset 0 0 0 5px rgb(0 0 0 / 55%); }

/* ---- panel ------------------------------------------------------------------------------------------- */

.sv-panel[b-hh0te5nyf8] { background: var(--surface); border-left: 1px solid var(--line); overflow: auto; padding: 0.9rem 1rem 2rem; min-height: 0; }

.sv-layers[b-hh0te5nyf8] { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; gap: 4px; }
.sv-layer[b-hh0te5nyf8] {
    width: 100%; display: grid; grid-template-columns: 18px minmax(0, 1fr) auto auto; align-items: center; gap: 0.5rem;
    padding: 0.4rem 0.55rem; border: 1px solid var(--line); border-radius: var(--radius);
    background: var(--surface-2); color: var(--ink); font: inherit; text-align: left; cursor: pointer;
}
.sv-layer:hover[b-hh0te5nyf8] { background: var(--surface-3); }
.sv-layer.on[b-hh0te5nyf8] { border-color: var(--tape); box-shadow: inset 0 0 0 1px var(--tape); }
.sv-layer .sw[b-hh0te5nyf8] { width: 18px; height: 18px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 35%); }
.sv-layer .nm[b-hh0te5nyf8] { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.sv-layer .tot[b-hh0te5nyf8] { min-width: 2.2rem; text-align: right; font-variant-numeric: tabular-nums; color: var(--ink-2); }

.sv-legend[b-hh0te5nyf8] { margin-bottom: 1rem; }
.sv-legend .bar[b-hh0te5nyf8] {
    height: 12px; border-radius: 3px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / 30%);
    background: linear-gradient(90deg, #fff 0%, rgb(37 99 235) 25%, rgb(220 38 38) 100%);
}
.sv-legend .ticks[b-hh0te5nyf8] { display: flex; justify-content: space-between; font-size: 0.82rem; color: var(--ink-2); margin-top: 3px; }
.sv-legend .ticks span:nth-child(2)[b-hh0te5nyf8] { margin-left: 0; transform: translateX(-12%); }
.sv-legend p[b-hh0te5nyf8] { margin: 0.4rem 0 0; }

.sv-detail h3[b-hh0te5nyf8] { display: flex; align-items: center; gap: 0.5rem; margin: 0.2rem 0 0.3rem; font-size: 1.15rem; }
.sv-detail .meta[b-hh0te5nyf8] { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.sv-sum[b-hh0te5nyf8] { margin: 0.4rem 0; }
.flags-row[b-hh0te5nyf8] { display: flex; gap: 0.4rem; flex-wrap: wrap; margin: 0 0 0.6rem; }

@media (max-width: 900px) {
    .sv-main[b-hh0te5nyf8] { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) minmax(0, 42%); }
    .sv-panel[b-hh0te5nyf8] { border-left: 0; border-top: 1px solid var(--line); }
    .sv-title[b-hh0te5nyf8] { display: none; }
    .sv-bar .seg > button[b-hh0te5nyf8] { padding-inline: 0.5rem; }
}

@media (prefers-reduced-motion: reduce) {
    .sv-box:hover[b-hh0te5nyf8]  .face { filter: none; }
}
