/* /Components/Account/Login.razor.rz.scp.css */
.login-card[b-4rcjhtrj64] {
    width: 100%;
    max-width: 400px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 6px rgba(10, 20, 26, 0.25), 0 20px 50px rgba(10, 20, 26, 0.35);
    padding: 2.5rem 2rem;
    text-align: center;
}

.login-logo[b-4rcjhtrj64] {
    width: 120px;
    height: auto;
    margin-bottom: 1rem;
}

.login-card h1[b-4rcjhtrj64] {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.login-hint[b-4rcjhtrj64] {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.login-card form[b-4rcjhtrj64] {
    text-align: left;
}
/* /Components/Layout/AuthLayout.razor.rz.scp.css */
.auth-page[b-kshljvyyrg] {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse 90% 60% at 50% -10%, rgba(62, 146, 184, 0.18), transparent 60%),
        linear-gradient(180deg, var(--pz-brand-800), var(--pz-brand-900));
    padding: 1rem;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-tp9vlfqbp1] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-tp9vlfqbp1] {
    flex: 1;
    min-width: 0;
}

.sidebar[b-tp9vlfqbp1] {
    background: linear-gradient(180deg, var(--pz-brand-800), var(--pz-brand-900));
}

.top-row[b-tp9vlfqbp1] {
    background-color: var(--pz-card);
    border-bottom: 1px solid var(--pz-line);
    justify-content: flex-end;
    height: 3.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.user-chip[b-tp9vlfqbp1] {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--pz-muted);
    font-size: 0.8rem;
    min-width: 0;
}

.avatar[b-tp9vlfqbp1] {
    width: 1.7rem;
    height: 1.7rem;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--pz-brand-700);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 0.68rem;
    font-weight: 600;
}

.user-name[b-tp9vlfqbp1] {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-row[b-tp9vlfqbp1]  .btn-link {
    white-space: nowrap;
    margin-left: 1rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
}

.top-row[b-tp9vlfqbp1]  .btn-link:hover {
    text-decoration: underline;
}

/* The sidebar only earns its 212px on a genuinely wide screen. 641px used
   to take it, which left a Fold/tablet (~700–900px CSS) with a squeezed
   content column and tables sliced off — the breakpoint now matches where
   the content actually fits beside it. Below it, the hamburger layout wins
   and the content gets the whole width. */
@media (max-width: 991.98px) {
    .top-row[b-tp9vlfqbp1] {
        justify-content: space-between;
    }

    .top-row[b-tp9vlfqbp1]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 992px) {
    .page[b-tp9vlfqbp1] {
        flex-direction: row;
    }

    .sidebar[b-tp9vlfqbp1] {
        width: 212px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .top-row[b-tp9vlfqbp1] {
        position: sticky;
        top: 0;
        z-index: 5;
    }

    .top-row[b-tp9vlfqbp1], article[b-tp9vlfqbp1] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

/* Tablet in hand: vertical space is the scarce thing, so the account strip
   slims down (it is not sticky at this width — it scrolls away with the page). */
@media (max-width: 991.98px) and (pointer: coarse) {
    .top-row[b-tp9vlfqbp1] {
        height: 2.9rem;
    }
}

#blazor-error-ui[b-tp9vlfqbp1] {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss[b-tp9vlfqbp1] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.brand-row[b-f89nuvd7px] {
    padding: 0.95rem 1rem 0.85rem;
    border-bottom: 1px solid rgba(201, 212, 218, 0.14);
}

.brand[b-f89nuvd7px] {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
}

.brand:hover[b-f89nuvd7px] {
    text-decoration: none;
}

.brand-mark[b-f89nuvd7px] {
    width: 2.3rem;
    height: 2.3rem;
    flex: 0 0 auto;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
}

.brand-text b[b-f89nuvd7px] {
    display: block;
    color: #E7EEF2;
    font-size: 0.88rem;
    letter-spacing: 0.16em;
    line-height: 1.1;
}

.brand-text span[b-f89nuvd7px] {
    display: block;
    color: var(--pz-silver);
    opacity: 0.7;
    font-size: 0.5rem;
    letter-spacing: 0.2em;
}

.navbar-toggler[b-f89nuvd7px] {
    appearance: none;
    cursor: pointer;
    width: 3.5rem;
    height: 2.5rem;
    color: white;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") no-repeat center/1.75rem rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.navbar-toggler:checked[b-f89nuvd7px] {
    background-color: rgba(255, 255, 255, 0.35);
}

.ic[b-f89nuvd7px] {
    display: inline-block;
    width: 1.15rem;
    margin-right: 0.55rem;
    text-align: center;
    opacity: 0.85;
    font-size: 0.85rem;
}

.nav-sep[b-f89nuvd7px] {
    color: var(--pz-faint);
    font-size: 0.58rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    padding: 0.8rem 1.05rem 0.25rem;
}

.nav-item[b-f89nuvd7px] {
    font-size: 0.86rem;
    padding: 0 0.5rem 0.15rem;
}

.nav-item:first-of-type[b-f89nuvd7px] {
    padding-top: 0.7rem;
}

.nav-item:last-of-type[b-f89nuvd7px] {
    padding-bottom: 1rem;
}

.nav-item[b-f89nuvd7px]  .nav-link {
    color: #B9C8D1;
    background: none;
    border: none;
    border-radius: 8px;
    height: 2.5rem;
    display: flex;
    align-items: center;
    padding: 0 0.75rem;
    width: 100%;
    font-weight: 500;
}

.nav-item[b-f89nuvd7px]  a.active {
    background: rgba(62, 146, 184, 0.22);
    color: #fff;
    box-shadow: inset 3px 0 0 var(--pz-accent);
    font-weight: 600;
}

.nav-item[b-f89nuvd7px]  .nav-link:hover:not(.active) {
    background: rgba(62, 146, 184, 0.13);
    color: #E7EEF2;
}

.nav-scrollable[b-f89nuvd7px] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-f89nuvd7px] {
    display: block;
}

@media (min-width: 992px) {
    .navbar-toggler[b-f89nuvd7px] {
        display: none;
    }

    .nav-scrollable[b-f89nuvd7px] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.9rem);
        overflow-y: auto;
    }
}

/* Fingers need rows, not pinpoints: on touch screens every nav link grows
   to a comfortable target and the gaps stop mis-taps between neighbours. */
@media (pointer: coarse) {
    .nav-item[b-f89nuvd7px]  .nav-link {
        height: 2.9rem;
        font-size: 0.95rem;
    }

    .nav-item[b-f89nuvd7px] {
        padding-bottom: 0.3rem;
    }

    .navbar-toggler[b-f89nuvd7px] {
        width: 3.9rem;
        height: 2.9rem;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-mhts1udcq5],
.components-reconnect-repeated-attempt-visible[b-mhts1udcq5],
.components-reconnect-failed-visible[b-mhts1udcq5],
.components-pause-visible[b-mhts1udcq5],
.components-resume-failed-visible[b-mhts1udcq5],
.components-rejoining-animation[b-mhts1udcq5] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-mhts1udcq5],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-mhts1udcq5],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-mhts1udcq5],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-mhts1udcq5],
#components-reconnect-modal.components-reconnect-retrying[b-mhts1udcq5],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-mhts1udcq5],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-mhts1udcq5],
#components-reconnect-modal.components-reconnect-failed[b-mhts1udcq5],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-mhts1udcq5] {
    display: block;
}


#components-reconnect-modal[b-mhts1udcq5] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-mhts1udcq5 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-mhts1udcq5 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-mhts1udcq5 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-mhts1udcq5]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-mhts1udcq5 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-mhts1udcq5 {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-mhts1udcq5 {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-mhts1udcq5 {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-mhts1udcq5] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-mhts1udcq5] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-mhts1udcq5] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-mhts1udcq5] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-mhts1udcq5] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-mhts1udcq5] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-mhts1udcq5] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-mhts1udcq5 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-mhts1udcq5] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-mhts1udcq5 {
    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/Home.razor.rz.scp.css */
/* The lead row: the hero figure (the runway) and the stat tiles beside it. */
.lead-row[b-dgf5l1e1bh] {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.8rem;
    margin: 0.4rem 0 0.9rem;
    max-width: 62rem;
}

.hero[b-dgf5l1e1bh] {
    flex: 0 1 19rem;
    min-width: 16rem;
    padding: 0.85rem 1.1rem 0.9rem;
    background: var(--pz-card);
    border: 1px solid var(--pz-line);
    border-left: 5px solid var(--pz-silver);
    border-radius: var(--pz-radius);
    box-shadow: var(--pz-shadow);
}

/* Status at the hero's edge, and again in words beside an icon below the figure. */
.hero.ok[b-dgf5l1e1bh] { border-left-color: var(--pz-ok); }
.hero.bad[b-dgf5l1e1bh] { border-left-color: var(--pz-danger); }
.hero.warn[b-dgf5l1e1bh] { border-left-color: var(--pz-warn); }
.hero.unknown[b-dgf5l1e1bh] { border-left-color: var(--pz-warn); }

.hero-label[b-dgf5l1e1bh] {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--pz-muted);
}

/* The one hero figure on the page: big, the same sans as everything else,
   proportional digits (tabular ones look loose at this size). */
.hero-value[b-dgf5l1e1bh] {
    font-size: 3rem;
    font-weight: 650;
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--pz-brand-800);
    margin: 0.1rem 0 0.35rem;
}

.hero-value small[b-dgf5l1e1bh] {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--pz-muted);
    margin-left: 0.4rem;
}

.hero-status[b-dgf5l1e1bh] {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.hero-foot[b-dgf5l1e1bh] {
    font-size: 0.78rem;
    color: var(--pz-muted);
    margin-top: 0.45rem;
}

.ico[b-dgf5l1e1bh] {
    flex: 0 0 auto;
    vertical-align: -0.1em;
}

.chip[b-dgf5l1e1bh] {
    display: inline-block;
    padding: 0.3rem 0.65rem;
    border-radius: 999px;
    border: 1px solid var(--pz-line);
    background: var(--pz-card);
    color: var(--pz-brand-800);
    font-weight: 600;
    font-size: 0.82rem;
    text-decoration: none;
}

.chip-ok[b-dgf5l1e1bh] {
    border-color: var(--pz-ok);
    background: var(--pz-ok-soft);
    color: var(--pz-ok);
}

.chip-warn[b-dgf5l1e1bh] {
    border-color: var(--pz-warn);
    background: var(--pz-warn-soft);
    color: #8A5E0D;
}

.chip-bad[b-dgf5l1e1bh] {
    border-color: var(--pz-danger);
    background: var(--pz-danger-soft);
    color: var(--pz-danger);
}

/* Stat tiles: label, figure, one line of context. */
.tiles[b-dgf5l1e1bh] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0.8rem 0 0.4rem;
}

.lead-tiles[b-dgf5l1e1bh] {
    flex: 1 1 26rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(9rem, 1fr));
    margin: 0;
}

.tile[b-dgf5l1e1bh] {
    min-width: 8.5rem;
    padding: 0.65rem 0.9rem 0.6rem;
    background: var(--pz-card);
    border: 1px solid var(--pz-line);
    border-left: 4px solid var(--pz-silver);
    border-radius: var(--pz-radius);
    box-shadow: var(--pz-shadow);
}

/* Colour only earns its place when there is something to do — and the
   tile's own words say what. */
.tile.bad[b-dgf5l1e1bh] {
    border-left-color: var(--pz-danger);
}

.tile.warn[b-dgf5l1e1bh] {
    border-left-color: var(--pz-warn);
}

/* Out with the client: further along than "no PO at all", not yet an order. */
.tile.quoted[b-dgf5l1e1bh] {
    border-left-color: var(--pz-quoted);
}

.tile-l[b-dgf5l1e1bh] {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--pz-muted);
}

.tile-n[b-dgf5l1e1bh] {
    font-size: 1.5rem;
    font-weight: 650;
    color: var(--pz-brand-800);
    line-height: 1.15;
}

.tile-s[b-dgf5l1e1bh] {
    font-size: 0.74rem;
    color: var(--pz-muted);
    margin-top: 0.1rem;
}

/* ---- The cash chart ------------------------------------------------------
   Series colours are the dataviz skill's validated categorical slots 1–3
   (checked with its validator against this card's white surface: adjacent
   CVD ΔE 9.1, normal-vision ΔE 22.9; the aqua at 2.8:1 and the yellow at
   2.2:1 are relieved by the end labels, the readout, the wash and the table). The bust marker is
   the reserved status colour and never doubles as a series. The planner has
   no dark theme; if one arrives, the dark steps go here, re-validated. */
.cash[b-dgf5l1e1bh] {
    --viz-balance: #2a78d6;
    --viz-out: #eb6834;
    --viz-in: #1baf7a;
    --viz-owed: #eda100;
    --viz-bust: #d03b3b;
    --viz-surface: var(--pz-card);
    --viz-past: var(--pz-bg);
    --viz-grid: var(--pz-hair);
    --viz-axis: var(--pz-silver);
    --viz-marker: var(--pz-muted);
}

.legend[b-dgf5l1e1bh] {
    font-size: 0.78rem;
    color: var(--pz-muted);
    white-space: nowrap;
}

/* Legend keys mirror the mark: a short stroke for a line, a block for the shading. */
.sw[b-dgf5l1e1bh] {
    display: inline-block;
    width: 0.9rem;
    height: 2px;
    margin-right: 0.3rem;
    vertical-align: middle;
    border-radius: 1px;
}

.sw-in[b-dgf5l1e1bh] { background: var(--viz-in); }
.sw-owed[b-dgf5l1e1bh] { background: var(--viz-owed); }
.sw-floor[b-dgf5l1e1bh] { background: repeating-linear-gradient(90deg, var(--viz-bust) 0 4px, transparent 4px 7px); }
.sw-out[b-dgf5l1e1bh] { background: var(--viz-out); }
.sw-balance[b-dgf5l1e1bh] { background: var(--viz-balance); }
.sw-unpaid[b-dgf5l1e1bh] { background: repeating-linear-gradient(90deg, var(--viz-balance) 0 4px, transparent 4px 7px); }
.sw-past[b-dgf5l1e1bh] { background: var(--viz-past); height: 0.6rem; border: 1px solid var(--pz-line); }

/* y-axis labels | plot | end labels; the week labels underneath the plot. */
.chart[b-dgf5l1e1bh] {
    display: grid;
    grid-template-columns: 3.6rem minmax(0, 1fr) 4rem;
    grid-template-rows: 15rem 1.3rem;
    margin-top: 0.6rem;
    font-size: 0.72rem;
    color: var(--pz-muted);
}

.chart-y[b-dgf5l1e1bh],
.chart-end[b-dgf5l1e1bh],
.chart-x[b-dgf5l1e1bh] {
    position: relative;
    font-variant-numeric: tabular-nums;
}

.chart-y span[b-dgf5l1e1bh] {
    position: absolute;
    right: 0.5rem;
    transform: translateY(-50%);
    white-space: nowrap;
}

.chart-end span[b-dgf5l1e1bh] {
    position: absolute;
    left: 0.4rem;
    transform: translateY(-50%);
    white-space: nowrap;
    font-weight: 600;
    color: var(--pz-ink);
}

.chart-x[b-dgf5l1e1bh] {
    grid-column: 2;
}

.chart-x span[b-dgf5l1e1bh] {
    position: absolute;
    top: 0.3rem;
    transform: translateX(-50%);
    white-space: nowrap;
}

.chart-plot[b-dgf5l1e1bh] {
    position: relative;
    border-bottom: 1px solid var(--viz-axis);
}

.chart-svg[b-dgf5l1e1bh] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    overflow: visible;
}

.c-past[b-dgf5l1e1bh] {
    fill: var(--viz-past);
}

/* Grid and axes: solid hairlines one step off the surface, never dashed. */
.c-grid[b-dgf5l1e1bh] {
    stroke: var(--viz-grid);
    stroke-width: 1;
}

.c-zero[b-dgf5l1e1bh] {
    stroke: var(--viz-axis);
    stroke-width: 1;
}

.c-today[b-dgf5l1e1bh] {
    stroke: var(--viz-marker);
    stroke-width: 1;
    stroke-dasharray: 2 3;
}

.c-bust[b-dgf5l1e1bh] {
    stroke: var(--viz-bust);
    stroke-width: 1.5;
    stroke-dasharray: 4 3;
}

/* The overdraft floor: the same reserved colour as the bust marker, since
   crossing it is the bust. */
.c-floor[b-dgf5l1e1bh] {
    stroke: var(--viz-bust);
    stroke-width: 1;
    stroke-dasharray: 4 3;
}

.c-line[b-dgf5l1e1bh] {
    fill: none;
    stroke-width: 2;
    stroke-linejoin: round;
    stroke-linecap: round;
}

.c-owed[b-dgf5l1e1bh] { stroke: var(--viz-owed); }
.c-owed-wash[b-dgf5l1e1bh] { fill: var(--viz-owed); opacity: 0.1; }
.c-in[b-dgf5l1e1bh] { stroke: var(--viz-in); }
.c-out[b-dgf5l1e1bh] { stroke: var(--viz-out); }
.c-balance[b-dgf5l1e1bh] { stroke: var(--viz-balance); stroke-width: 2.5; }
.c-unpaid[b-dgf5l1e1bh] { stroke: var(--viz-balance); stroke-dasharray: 6 4; }

/* The hit columns: one per week, the full height of the plot, wider than
   any dot. Hover or focus shows the crosshair and the readout. */
.chart-col[b-dgf5l1e1bh] {
    position: absolute;
    top: 0;
    bottom: 0;
    outline: none;
    cursor: crosshair;
}

.chart-col:hover[b-dgf5l1e1bh],
.chart-col:focus-visible[b-dgf5l1e1bh] {
    z-index: 5;
}

.chart-col:focus-visible[b-dgf5l1e1bh] {
    box-shadow: inset 0 0 0 2px var(--pz-accent);
    border-radius: 3px;
}

.chart-cross[b-dgf5l1e1bh] {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    border-left: 1px solid var(--pz-muted);
    opacity: 0;
    pointer-events: none;
}

.chart-col:hover .chart-cross[b-dgf5l1e1bh],
.chart-col:focus-visible .chart-cross[b-dgf5l1e1bh] {
    opacity: 0.8;
}

/* Markers: 8px, the series colour, a 2px ring in the surface colour so
   they stay legible where they cross a line. */
.pt[b-dgf5l1e1bh] {
    position: absolute;
    left: 50%;
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--viz-surface);
    pointer-events: none;
    transition: transform 80ms ease-out;
}

.pt-owed[b-dgf5l1e1bh] { background: var(--viz-owed); }
.pt-in[b-dgf5l1e1bh] { background: var(--viz-in); }
.pt-out[b-dgf5l1e1bh] { background: var(--viz-out); }
.pt-balance[b-dgf5l1e1bh] { background: var(--viz-balance); }
.pt-unpaid[b-dgf5l1e1bh] { background: var(--viz-surface); box-shadow: 0 0 0 2px var(--viz-balance), 0 0 0 4px var(--viz-surface); }

.chart-col:hover .pt[b-dgf5l1e1bh],
.chart-col:focus-visible .pt[b-dgf5l1e1bh] {
    transform: scale(1.3);
}

/* The readout: values lead, a line key says which series, the name follows. */
.chart-tip[b-dgf5l1e1bh] {
    display: none;
    position: absolute;
    top: 0.4rem;
    left: calc(50% + 0.9rem);
    padding: 0.4rem 0.65rem 0.45rem;
    background: var(--pz-card);
    border: 1px solid var(--pz-line);
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(15, 30, 38, 0.12);
    white-space: nowrap;
    pointer-events: none;
    font-size: 0.76rem;
    color: var(--pz-muted);
}

.chart-tip.tip-left[b-dgf5l1e1bh] {
    left: auto;
    right: calc(50% + 0.9rem);
}

.chart-col:hover .chart-tip[b-dgf5l1e1bh],
.chart-col:focus-visible .chart-tip[b-dgf5l1e1bh] {
    display: block;
}

.tip-head[b-dgf5l1e1bh] {
    font-weight: 600;
    color: var(--pz-ink);
    margin-bottom: 0.2rem;
}

.tip-row[b-dgf5l1e1bh] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    line-height: 1.5;
    font-variant-numeric: tabular-nums;
}

.tip-row b[b-dgf5l1e1bh] {
    min-width: 3.6rem;
    text-align: right;
    color: var(--pz-ink);
}

.key[b-dgf5l1e1bh] {
    display: inline-block;
    width: 0.8rem;
    height: 2px;
    border-radius: 1px;
    margin-right: 0.3rem;
    vertical-align: middle;
}

.tip-row .key[b-dgf5l1e1bh] { margin-right: 0; }

.key-owed[b-dgf5l1e1bh] { background: var(--viz-owed); }
.key-in[b-dgf5l1e1bh] { background: var(--viz-in); }
.key-out[b-dgf5l1e1bh] { background: var(--viz-out); }
.key-balance[b-dgf5l1e1bh] { background: var(--viz-balance); }
.key-unpaid[b-dgf5l1e1bh] { background: repeating-linear-gradient(90deg, var(--viz-balance) 0 3px, transparent 3px 5px); }

/* Flags on the reference lines: text in text ink, the bust flag in the
   status colour beside its icon. */
.chart-flag[b-dgf5l1e1bh] {
    position: absolute;
    top: 0.25rem;
    margin-left: 0.3rem;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--pz-muted);
    pointer-events: none;
    white-space: nowrap;
}

.flag-bust[b-dgf5l1e1bh] {
    top: 1.3rem;
    color: var(--viz-bust);
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.flag-floor[b-dgf5l1e1bh] {
    left: auto;
    right: 0.3rem;
    margin-left: 0;
    color: var(--viz-bust);
}

.chart-table summary[b-dgf5l1e1bh] {
    cursor: pointer;
    width: max-content;
}

.chart-table table[b-dgf5l1e1bh] {
    max-width: 48rem;
}

@media (max-width: 575.98px) {
    .hero-value[b-dgf5l1e1bh] { font-size: 2.4rem; }
    .lead-tiles[b-dgf5l1e1bh] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .chart[b-dgf5l1e1bh] { grid-template-columns: 3rem minmax(0, 1fr) 0; grid-template-rows: 12rem 1.3rem; }
    .chart-end[b-dgf5l1e1bh] { display: none; }
    .chart-x .x-alt[b-dgf5l1e1bh] { display: none; }
}

/* ---- How much will I have left: one track, the end of the chart on it.
   The fill carries the state of the end-if-paid figure; the hollow mark is
   the end if TGW stops paying; the solid mark is now. */
.left[b-dgf5l1e1bh] {
    margin: 0.6rem 0 0.2rem;
}

.left-head[b-dgf5l1e1bh] {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.3rem 1rem;
    font-size: 0.78rem;
    color: var(--pz-muted);
}

.left-head b[b-dgf5l1e1bh] {
    color: var(--pz-ink);
}

.left-track[b-dgf5l1e1bh] {
    position: relative;
    height: 10px;
    margin: 0.35rem 0 0;
    border-radius: 5px;
    background: var(--pz-hair);
}

.left-fill[b-dgf5l1e1bh] {
    position: absolute;
    top: 0;
    bottom: 0;
    border-radius: 5px;
}

.left-fill.ok[b-dgf5l1e1bh] { background: var(--pz-ok); }
.left-fill.warn[b-dgf5l1e1bh] { background: var(--pz-warn); }
.left-fill.bad[b-dgf5l1e1bh] { background: var(--pz-danger); }

.left-tick[b-dgf5l1e1bh] {
    position: absolute;
    top: -3px;
    bottom: -3px;
    border-left: 1px solid var(--pz-muted);
}

.left-tick.left-floor[b-dgf5l1e1bh] {
    border-left: 1px dashed var(--viz-bust);
}

.left-mark[b-dgf5l1e1bh] {
    position: absolute;
    top: 50%;
    width: 10px;
    height: 10px;
    margin: -5px 0 0 -5px;
    border-radius: 50%;
}

.left-now[b-dgf5l1e1bh] {
    background: var(--pz-ink);
    box-shadow: 0 0 0 2px var(--viz-surface);
}

.left-unpaid[b-dgf5l1e1bh] {
    background: var(--viz-surface);
    box-shadow: 0 0 0 2px var(--viz-balance);
}

.left-scale[b-dgf5l1e1bh] {
    position: relative;
    height: 1rem;
    font-size: 0.68rem;
    color: var(--pz-muted);
}

.left-scale span[b-dgf5l1e1bh] {
    position: absolute;
    top: 0.15rem;
    transform: translateX(-50%);
    white-space: nowrap;
}

.left-floor-label[b-dgf5l1e1bh] {
    color: var(--viz-bust);
}

/* Bills ahead: typed, listed, removed when paid. */
.bills[b-dgf5l1e1bh] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem 0.7rem;
}

.bill[b-dgf5l1e1bh] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.15rem 0.55rem;
    border: 1px solid var(--pz-line);
    border-left: 3px solid var(--viz-out);
    border-radius: 999px;
    background: var(--pz-card);
}

.bill-x[b-dgf5l1e1bh] {
    line-height: 1;
    text-decoration: none;
    color: var(--pz-muted);
}
/* /Components/Pages/MySchedule.razor.rz.scp.css */
.cal-head[b-27xr6f5003] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0.4rem 0 0.6rem;
}

/* Seven equal columns whatever the screen — engineers read this on a phone,
   so the cells shrink rather than the grid wrapping. */
.cal[b-27xr6f5003] {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 2px;
    max-width: 56rem;
    background: var(--pz-line);
    border: 1px solid var(--pz-line);
    border-radius: var(--pz-radius);
    overflow: hidden;
    box-shadow: var(--pz-shadow);
}

.cal-dow[b-27xr6f5003] {
    background: var(--pz-brand-700);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-align: center;
    padding: 0.3rem 0.1rem;
}

.cal-cell[b-27xr6f5003] {
    background: var(--pz-card);
    min-height: 4.4rem;
    padding: 0.25rem 0.3rem;
    cursor: pointer;
    overflow: hidden;
}

.cal-cell.outside[b-27xr6f5003] {
    background: #F7F9FA;
    color: var(--pz-muted);
}

.cal-cell.has-day[b-27xr6f5003] {
    background: var(--pz-accent-soft);
}

.cal-cell.tbc[b-27xr6f5003] {
    background: #FDF6E7;
}

.cal-cell.today[b-27xr6f5003] {
    outline: 2px solid var(--pz-accent);
    outline-offset: -2px;
}

.cal-cell.picked[b-27xr6f5003] {
    outline: 2px solid var(--pz-brand-700);
    outline-offset: -2px;
}

.cal-date[b-27xr6f5003] {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--pz-muted);
}

.cal-code[b-27xr6f5003] {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--pz-brand-800);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cal-hours[b-27xr6f5003] {
    font-size: 0.66rem;
    font-weight: 600;
    color: var(--pz-brand-700);
    white-space: nowrap;
}

.cal-flags .badge[b-27xr6f5003] {
    font-size: 0.58rem;
    padding: 0.1rem 0.3rem;
}

@media (max-width: 640px) {
    .cal-cell[b-27xr6f5003] {
        min-height: 3.6rem;
    }

    .cal-code[b-27xr6f5003] {
        font-size: 0.68rem;
    }

    .cal-hours[b-27xr6f5003],
    .cal-flags .badge[b-27xr6f5003] {
        font-size: 0.56rem;
    }
}

/* A quiet dot, not an alarm: the day is real, it just isn't nailed down. */
.cal-unconfirmed[b-27xr6f5003] {
    color: var(--pz-muted);
    font-weight: 700;
}

/* A day they have offered but nobody has booked. */
.cal-cell.offered[b-27xr6f5003] {
    background: #EAF5EE;
}

.cal-offer[b-27xr6f5003] {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--pz-ok);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
/* /Components/Pages/People.razor.rz.scp.css */
/* The invite preview renders the real email HTML, so it is sandboxed in an
   iframe rather than injected into the page. */
.invite-preview[b-dh60b2ta9h] {
    width: 100%;
    max-width: 40rem;
    height: 34rem;
    border: 1px solid var(--pz-line);
    border-radius: var(--pz-radius);
    background: #fff;
    margin: 0.35rem 0;
}
/* /Components/Pages/Planner.razor.rz.scp.css */
.planner-head[b-o0fnk8pmyf] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 0.6rem;
}

.planner-head h1[b-o0fnk8pmyf] {
    font-size: 1.4rem;
}

.edit-bar[b-o0fnk8pmyf] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.65rem;
    margin-bottom: 0.6rem;
    background: var(--pz-card);
    border: 1px solid var(--pz-line);
    border-radius: var(--pz-radius);
    box-shadow: var(--pz-shadow);
}

.edit-group[b-o0fnk8pmyf] {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding-right: 0.6rem;
    border-right: 1px solid var(--pz-hair);
}

.edit-group:last-child[b-o0fnk8pmyf] {
    border-right: none;
}

.po-select[b-o0fnk8pmyf] {
    max-width: 26rem;
}

.po-now[b-o0fnk8pmyf] {
    max-width: 20rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.code-chip[b-o0fnk8pmyf] {
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 0.25rem;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.15rem 0.35rem;
    cursor: pointer;
}

.grid-scroll[b-o0fnk8pmyf] {
    overflow-x: auto;
    max-height: 72vh;
    overflow-y: auto;
    border: 1px solid var(--pz-line);
    border-radius: var(--pz-radius);
    box-shadow: var(--pz-shadow);
    background: var(--pz-card);
}

.planner-grid[b-o0fnk8pmyf] {
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.72rem;
    white-space: nowrap;
    /* Shift-click and drag must select cells, never the page's text. */
    user-select: none;
    -webkit-user-select: none;
}

.planner-grid th[b-o0fnk8pmyf],
.planner-grid td[b-o0fnk8pmyf] {
    border-right: 1px solid #e3e6ea;
    border-bottom: 1px solid #e3e6ea;
    text-align: center;
    min-width: 2rem;
    padding: 0.15rem 0.1rem;
}

.planner-grid thead th[b-o0fnk8pmyf] {
    position: sticky;
    top: 1.35rem; /* the day row tucks under the month band */
    background: var(--pz-brand-700);
    color: #fff;
    z-index: 3;
}

.planner-grid thead th.month-head[b-o0fnk8pmyf] {
    top: 0;
    height: 1.35rem;
    background: var(--pz-brand-800);
    color: var(--pz-silver);
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-align: left;
}

/* The label sticks just right of the name column, so the month you are
   looking at is always named even mid-scroll. */
.month-label[b-o0fnk8pmyf] {
    position: sticky;
    left: 9rem;
    display: inline-block;
    padding: 0 0.4rem;
}

.planner-grid th.month-start[b-o0fnk8pmyf],
.planner-grid td.month-start[b-o0fnk8pmyf] {
    border-left: 2px solid var(--pz-brand-600);
}

.planner-grid thead th.weekend[b-o0fnk8pmyf] {
    background: var(--pz-brand-800);
}

.planner-grid thead th.today[b-o0fnk8pmyf] {
    outline: 2px solid var(--pz-accent);
    outline-offset: -2px;
}

.day-head .wd[b-o0fnk8pmyf] {
    font-size: 0.6rem;
    opacity: 0.8;
}

.name-col[b-o0fnk8pmyf] {
    position: sticky;
    left: 0;
    background: #fff;
    text-align: left !important;
    padding: 0.15rem 0.5rem !important;
    font-weight: 600;
    z-index: 2;
    min-width: 8.5rem !important;
}

.planner-grid thead .name-col[b-o0fnk8pmyf] {
    top: 0;
    z-index: 5;
    background: var(--pz-brand-800);
}

/* No italics: synthesised oblique text on a sticky cell breaks Chromium's
   opaque-layer promotion at some zoom levels, letting scrolled cells show
   through. The red ??? name is marker enough. */
.name-col.placeholder[b-o0fnk8pmyf] {
    color: #b02a37;
}

/* Deactivated, but still holding booked days — shown so the headcount adds
   up and the work is visible enough to move. */
.name-col.inactive[b-o0fnk8pmyf] {
    color: var(--pz-muted);
    text-decoration: line-through;
}

/* Sticky table cells round their height independently of the row at
   fractional zoom levels (Windows 125% etc.), leaving a strip where the
   scrolled grid shows through — worst on the italic placeholder rows.
   Make the name cell the TALLEST element so it defines the row height
   (it can never be shorter than a row it defines), and overdraw 1px on
   the right edge to cover the same rounding in the horizontal direction. */
.planner-grid tbody th.name-col[b-o0fnk8pmyf] {
    height: 1.75rem;
    box-shadow: 1px 0 0 var(--pz-card);
    /* Force each name cell onto its own opaque composited layer so the
       grid scrolling beneath can never blend through, at any zoom/DPI. */
    z-index: 4;
    will-change: transform;
    background-clip: padding-box;
}

.site-chips[b-o0fnk8pmyf] {
    display: inline-flex;
    gap: 0.3rem;
    align-items: center;
    margin-left: 0.6rem;
}

.site-chip[b-o0fnk8pmyf] {
    border: 1px solid var(--pz-line);
    background: var(--pz-card);
    color: var(--pz-muted);
    border-radius: 99px;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.15rem 0.6rem;
    cursor: pointer;
}

.site-chip.on[b-o0fnk8pmyf] {
    background: var(--pz-accent-soft);
    border-color: var(--pz-accent);
    color: var(--pz-brand-700);
}

.cell.offsite[b-o0fnk8pmyf] {
    opacity: 0.25;
}

.cell[b-o0fnk8pmyf] {
    position: relative;
    cursor: pointer;
    height: 1.7rem;
    font-weight: 600;
}

.cell.weekend:not([style])[b-o0fnk8pmyf] {
    background: #E9E2E2;
}

.cell.selected[b-o0fnk8pmyf] {
    outline: 2px solid var(--pz-accent);
    outline-offset: -2px;
}

/* An empty selected cell needs a fill, or the lone outline reads as a
   stray floating box rather than "selected". */
.cell.selected:not([style])[b-o0fnk8pmyf] {
    background: var(--pz-accent-soft);
}

/* Ghost booking: requested but not yet agreed with the person. */
.cell.ghost[b-o0fnk8pmyf] {
    opacity: 0.45;
}

.cell.ghost[b-o0fnk8pmyf]::after {
    content: "";
    position: absolute;
    inset: 1px;
    border: 1px dashed var(--pz-brand-600);
    pointer-events: none;
}

/* Shift working: the day runs to requested clock-in/out times rather than
   normal hours — flagged by a solid dark top edge (inset shadow, so row
   heights never move); the exact times live in the cell tooltip and the
   edit-bar summary. */
.cell.shift[b-o0fnk8pmyf] {
    box-shadow: inset 0 3px 0 var(--pz-brand-900);
}

.shift-key[b-o0fnk8pmyf] {
    display: inline-block;
    width: 0.95rem;
    height: 0.95rem;
    border: 1px solid var(--pz-line);
    background: var(--pz-card);
    box-shadow: inset 0 3px 0 var(--pz-brand-900);
    vertical-align: -0.15rem;
}

/* Native time inputs pad themselves wide — keep the edit bar tight. */
.shift-time[b-o0fnk8pmyf] {
    width: 6.2rem;
}

.cell.overrun[b-o0fnk8pmyf] {
    background-image: repeating-linear-gradient(
        45deg,
        rgba(179, 55, 43, 0.45) 0 4px,
        transparent 4px 8px);
}

.qty[b-o0fnk8pmyf] {
    position: absolute;
    bottom: -1px;
    left: 2px;
    font-size: 0.55rem;
    color: #333;
}

/* The pay-side deal differs from the charge (#118): a dot after the
   fraction, detail in the tooltip. Money never appears on the grid. */
.qty.pay-differs[b-o0fnk8pmyf]::after {
    content: "•";
    font-weight: 700;
}

.qty-key[b-o0fnk8pmyf] {
    font-size: 0.55rem;
    font-weight: 600;
    color: #333;
    background: #eee;
    border: 1px solid #ccc;
    border-radius: 2px;
    padding: 0 2px;
}

.corner[b-o0fnk8pmyf],
.corner-key[b-o0fnk8pmyf] {
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 9px 9px 0;
}

.corner-key[b-o0fnk8pmyf] {
    position: static;
    display: inline-block;
}

.corner.unassigned[b-o0fnk8pmyf], .corner-key.unassigned[b-o0fnk8pmyf] { border-color: transparent var(--pz-danger) transparent transparent; }
.corner.goodfaith[b-o0fnk8pmyf], .corner-key.goodfaith[b-o0fnk8pmyf] { border-color: transparent var(--pz-goodfaith) transparent transparent; }
.corner.quoted[b-o0fnk8pmyf], .corner-key.quoted[b-o0fnk8pmyf] { border-color: transparent var(--pz-quoted) transparent transparent; }
.corner.awaiting[b-o0fnk8pmyf], .corner-key.awaiting[b-o0fnk8pmyf] { border-color: transparent var(--pz-warn) transparent transparent; }


/* Top-left: the person themselves agreed this day (✓), and ✓✓ once they have
   also ticked it off as worked. Distinct from the coverage corners on the
   right, which are about money, not people. */
.ack[b-o0fnk8pmyf] {
    position: absolute;
    top: -2px;
    left: 1px;
    font-size: 0.6rem;
    line-height: 1;
    font-weight: 700;
    color: var(--pz-ok);
    letter-spacing: -0.08em;
}

.ack.worked[b-o0fnk8pmyf] {
    color: var(--pz-paid);
}

.ack.declined[b-o0fnk8pmyf] {
    color: var(--pz-danger);
    font-size: 0.68rem;
}

.ack-key[b-o0fnk8pmyf] {
    font-weight: 700;
    color: var(--pz-ok);
    letter-spacing: -0.08em;
}

.ack-key.worked[b-o0fnk8pmyf] {
    color: var(--pz-paid);
}

.paid-tick[b-o0fnk8pmyf] {
    position: absolute;
    bottom: -2px;
    right: 1px;
    font-size: 0.6rem;
    color: var(--pz-paid);
    font-weight: 700;
}

.total-col[b-o0fnk8pmyf] {
    font-weight: 700;
    background: var(--pz-hair);
    min-width: 2.6rem !important;
}

.headcount td[b-o0fnk8pmyf],
.headcount .name-col[b-o0fnk8pmyf] {
    background: #DCE4E9;
    font-weight: 600;
}

.headcount td.weekend[b-o0fnk8pmyf] {
    background: #CBD5DC;
}

/* Someone has offered this day but nobody has booked it. Quiet enough to
   ignore when scanning the plan, obvious when hunting for cover. */
.cell .offer[b-o0fnk8pmyf] {
    color: var(--pz-ok);
    font-weight: 700;
    font-size: 0.62rem;
    opacity: 0.8;
}

.cell:has(.offer)[b-o0fnk8pmyf] {
    background: repeating-linear-gradient(
        45deg,
        rgba(46, 125, 70, 0.10) 0 5px,
        transparent 5px 10px);
}

/* A day worked in someone else's role is priced differently from the rest of
   that person's row, so it has to be visible without hovering. */
.as-role[b-o0fnk8pmyf] {
    position: absolute;
    left: 1px;
    bottom: 0;
    font-size: 0.5rem;
    font-weight: 700;
    line-height: 1;
    padding: 0 1px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.85);
    color: #1B3A4B;
}

/* Committed on both sides: the person said yes and a live order covers it. */
.locked[b-o0fnk8pmyf] {
    position: absolute;
    right: 1px;
    bottom: 0;
    font-size: 0.5rem;
    line-height: 1;
    opacity: 0.75;
}

.cell.locked-cell[b-o0fnk8pmyf] {
    box-shadow: inset 0 0 0 1px rgba(27, 58, 75, 0.45);
}

/* The override is a decision, so it looks like one when it is on. */
.unlock[b-o0fnk8pmyf] {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    padding: 0.15rem 0.45rem;
    border-radius: 0.35rem;
    border: 1px solid var(--pz-line, #DDE5EA);
    white-space: nowrap;
}

.unlock.on[b-o0fnk8pmyf] {
    border-color: var(--pz-danger);
    background: var(--pz-danger-soft);
    color: var(--pz-danger);
    font-weight: 600;
}

/* The finished-work marks (DECISIONS #109): one corner-to-corner stroke
   when a day is invoiced, the crossing stroke joining it once paid — an X
   readable across the room. A pseudo-element, not background-image on the
   td: occupied cells carry an inline background shorthand that would wipe
   a background-image (the same trap the :not([style]) guards dodge), and
   ::after already belongs to ghost cells — ::before is free. */
.cell.invoiced-cell[b-o0fnk8pmyf]::before,
.cell.paid-cell[b-o0fnk8pmyf]::before,
.strike-key[b-o0fnk8pmyf]::before,
.strike-key.paid[b-o0fnk8pmyf]::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(to top right,
        transparent calc(50% - 1px),
        rgba(44, 110, 145, 0.7) calc(50% - 1px) calc(50% + 1px),  /* --pz-info */
        transparent calc(50% + 1px));
}

.cell.paid-cell[b-o0fnk8pmyf]::before,
.strike-key.paid[b-o0fnk8pmyf]::before {
    background-image:
        linear-gradient(to top right,
            transparent calc(50% - 1px),
            rgba(30, 107, 90, 0.75) calc(50% - 1px) calc(50% + 1px),  /* --pz-paid */
            transparent calc(50% + 1px)),
        linear-gradient(to bottom right,
            transparent calc(50% - 1px),
            rgba(30, 107, 90, 0.75) calc(50% - 1px) calc(50% + 1px),
            transparent calc(50% + 1px));
}

.strike-key[b-o0fnk8pmyf] {
    position: relative;
    display: inline-block;
    width: 14px;
    height: 12px;
    border: 1px solid var(--pz-line);
    border-radius: 2px;
    vertical-align: -2px;
}

/* Hide-finished toggles (DECISIONS #110): out of the way, not gone — the
   same muting the site filter uses, quiet enough to read the live plan
   through. The strike itself goes quiet too, or the mark would outlive
   the cell. */
.cell.finished-hidden[b-o0fnk8pmyf] {
    opacity: 0.08;
}

.cell.finished-hidden[b-o0fnk8pmyf]::before {
    display: none;
}

/* Review fixes (DECISIONS #113): the header wraps rather than clipping its
   chips on a narrow window, and a hidden-but-selected cell surfaces enough
   to show what the drag is holding. */
.planner-head[b-o0fnk8pmyf] {
    flex-wrap: wrap;
}

.cell.finished-hidden.selected[b-o0fnk8pmyf] {
    opacity: 0.6;
}

/* Engineer settled (DECISIONS #115): the person's money for this day is
   done — a quiet underline in the paid green, under whatever else the day
   says. Combined with shift hours the two inset bars share the cell. */
.cell.settled[b-o0fnk8pmyf] {
    box-shadow: inset 0 -3px 0 var(--pz-paid);
}

.cell.shift.settled[b-o0fnk8pmyf] {
    box-shadow: inset 0 3px 0 var(--pz-brand-900), inset 0 -3px 0 var(--pz-paid);
}

.settled-key[b-o0fnk8pmyf] {
    display: inline-block;
    width: 14px;
    height: 12px;
    border: 1px solid var(--pz-line);
    border-radius: 2px;
    box-shadow: inset 0 -3px 0 var(--pz-paid);
    vertical-align: -2px;
}

/* Review fix (DECISIONS #116): a locked cell keeps its ring when its day is
   also settled — box-shadows from separate classes overwrite, so the pair
   gets both explicitly. */
.cell.locked-cell.settled[b-o0fnk8pmyf] {
    box-shadow: inset 0 0 0 1px rgba(27, 58, 75, 0.45), inset 0 -3px 0 var(--pz-paid);
}

/* The pay row (DECISIONS #118) sat beside the charge row as its identical
   twin, and the wrong one got clicked — a "rate multiplier" that turned out
   to be a pay deal. The pay group now wears its own tint and border so the
   two can never be mistaken again; its buttons are the info outline, its
   label carries the same dot the grid marks pay deals with. */
.pay-group[b-o0fnk8pmyf] {
    background: rgba(62, 154, 181, 0.08);
    border: 1px dashed rgba(62, 154, 181, 0.45);
    border-radius: 6px;
    padding: 2px 6px;
}

.pay-group .pay-label[b-o0fnk8pmyf] {
    color: #3E9AB5;
    font-weight: 700;
    letter-spacing: 0.02em;
}

/* The outcome notice used to be the same quiet grey whatever it said, so
   "Held — locked, nothing changed" read like a success and a charge fix
   could silently not happen (the QUO-2026-026 lesson). A warn or fail now
   wears an amber or red pill; plain results stay quiet. */
.planner-notice[b-o0fnk8pmyf] {
    padding: 2px 10px;
    border-radius: 999px;
}

.planner-notice.ok[b-o0fnk8pmyf] {
    color: var(--pz-ink-soft, #5c6b73);
}

.planner-notice.warn[b-o0fnk8pmyf] {
    background: #fff3cd;
    border: 1px solid #ffe69c;
    color: #664d03;
    font-weight: 600;
}

.planner-notice.fail[b-o0fnk8pmyf] {
    background: #f8d7da;
    border: 1px solid #f1aeb5;
    color: #58151c;
    font-weight: 600;
}

/* ------------------------------------------------------------
   Touch (Samsung Fold tablet mode and friends). The grid's own
   mouse affordances — drag, Ctrl-drag, Shift-click — don't exist
   under a finger, so two chips stand in for the modifier keys,
   and everything tappable grows to finger size. Desktop (mouse)
   sees none of this.
   ------------------------------------------------------------ */
.touch-select[b-o0fnk8pmyf] {
    display: none;
}

.touch-only[b-o0fnk8pmyf] {
    display: none;
}

@media (pointer: coarse) {
    .touch-select[b-o0fnk8pmyf] {
        display: inline-flex;
    }

    .touch-only[b-o0fnk8pmyf] {
        display: inline;
    }

    .planner-grid[b-o0fnk8pmyf] {
        font-size: 0.86rem;
    }

    .planner-grid th[b-o0fnk8pmyf],
    .planner-grid td[b-o0fnk8pmyf] {
        min-width: 2.6rem;
        padding: 0.2rem 0.15rem;
    }

    .cell[b-o0fnk8pmyf] {
        height: 2.4rem;
        /* Taps select; pans still scroll; double-tap never zooms the grid. */
        touch-action: manipulation;
    }

    /* The name cell must stay the tallest element in the row (it defines
       row height — see the sticky-rounding note above). */
    .planner-grid tbody th.name-col[b-o0fnk8pmyf] {
        height: 2.45rem;
    }

    .qty[b-o0fnk8pmyf] {
        font-size: 0.64rem;
    }

    .ack[b-o0fnk8pmyf] {
        font-size: 0.7rem;
    }

    .as-role[b-o0fnk8pmyf], .locked[b-o0fnk8pmyf] {
        font-size: 0.58rem;
    }

    .corner[b-o0fnk8pmyf], .corner-key[b-o0fnk8pmyf] {
        border-width: 0 11px 11px 0;
    }

    .code-chip[b-o0fnk8pmyf] {
        padding: 0.45rem 0.7rem;
        font-size: 0.85rem;
        touch-action: manipulation;
    }

    .site-chip[b-o0fnk8pmyf] {
        padding: 0.4rem 0.85rem;
        font-size: 0.82rem;
        touch-action: manipulation;
    }

    .shift-time[b-o0fnk8pmyf] {
        width: 7.2rem;
    }

    /* Mobile browsers' URL bar makes vh lie; dvh tracks the real viewport. */
    .grid-scroll[b-o0fnk8pmyf] {
        max-height: 76vh;
        max-height: 80dvh;
    }
}
/* /Components/Pages/Pos.razor.rz.scp.css */
.burn-bar[b-d5xlvqpw04] {
    display: flex;
    height: 0.8rem;
    background: #E8EDF0;
    border-radius: 99px;
    overflow: hidden;
}

.burn.consumed[b-d5xlvqpw04] {
    background: linear-gradient(90deg, var(--pz-paid), var(--pz-ok));
}

.burn.planned[b-d5xlvqpw04] {
    background: repeating-linear-gradient(
        45deg,
        #8FC5DE 0 5px,
        #C7E2EF 5px 10px);
}

.po-table td[b-d5xlvqpw04] {
    vertical-align: middle;
}

.po-summary[b-d5xlvqpw04] {
    max-width: 17rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--pz-muted);
    font-size: 0.82rem;
}
/* /Components/Pages/Profit.razor.rz.scp.css */
/* Same tile family as the dashboard (scoped styles do not cross
   components, so the pattern is repeated here on the shared tokens). */
.tiles[b-31yi14qc7u] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.tile[b-31yi14qc7u] {
    min-width: 8.5rem;
    padding: 0.55rem 0.9rem;
    background: var(--pz-card);
    border: 1px solid var(--pz-line);
    border-left: 4px solid var(--pz-silver);
    border-radius: var(--pz-radius);
    box-shadow: var(--pz-shadow);
}

.tile.margin[b-31yi14qc7u] { border-left-color: var(--pz-accent); }
.tile.margin.neg[b-31yi14qc7u] { border-left-color: var(--pz-danger); }
.tile.paid[b-31yi14qc7u] { border-left-color: var(--pz-paid); }
.tile.warn[b-31yi14qc7u] { border-left-color: var(--pz-warn); }

.tile-n[b-31yi14qc7u] {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pz-brand-800);
}

.tile-l[b-31yi14qc7u] {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--pz-muted);
}

/* The month chart: pure CSS, one row per month — billed bar over cost bar,
   margin at the end. The paid slice nests inside the billed bar. */
.months[b-31yi14qc7u] {
    display: grid;
    grid-template-columns: 6rem 1fr auto;
    gap: 0.45rem 0.9rem;
    align-items: center;
    max-width: 46rem;
}

.month-label[b-31yi14qc7u] {
    font-size: 0.78rem;
    color: var(--pz-muted);
    text-align: right;
    white-space: nowrap;
}

.bar-track[b-31yi14qc7u] {
    height: 0.55rem;
    background: var(--pz-bg);
    border-radius: 3px;
    overflow: hidden;
}

.bar-track + .bar-track[b-31yi14qc7u] {
    margin-top: 2px;
}

.bar[b-31yi14qc7u] {
    height: 100%;
    border-radius: 3px;
    min-width: 2px;
}

.bar.charge[b-31yi14qc7u] { background: var(--pz-info); }
.bar.paid-in[b-31yi14qc7u] { background: var(--pz-paid); }
.bar.cost[b-31yi14qc7u] { background: var(--pz-silver); }

.month-margin[b-31yi14qc7u] {
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
    text-align: right;
    min-width: 5rem;
}

.month-margin.pos[b-31yi14qc7u] { color: var(--pz-paid); }
.month-margin.neg[b-31yi14qc7u] { color: var(--pz-danger); }
/* /Components/Pages/QuoteDetailPage.razor.rz.scp.css */
/* The line editor: one flex row per line on desktop (the header row names
   the columns), wrapping into a labelled card-like block on narrow screens —
   the fixed-width row was unreadable at tablet width, which is exactly where
   quotes get tweaked on the move. */

.q-head[b-abf5vrukxg],
.q-line[b-abf5vrukxg] {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.25rem;
    align-items: center;
}

.q-grow[b-abf5vrukxg] {
    flex: 1 1 auto;
    min-width: 0;
}

.q-days[b-abf5vrukxg] { width: 6rem; flex: 0 0 6rem; }
.q-unit[b-abf5vrukxg] { width: 6.5rem; flex: 0 0 6.5rem; }
.q-uplift[b-abf5vrukxg] { width: 6.5rem; flex: 0 0 6.5rem; }
.q-rate[b-abf5vrukxg] { width: 7.5rem; flex: 0 0 7.5rem; }
.q-out[b-abf5vrukxg] { width: 6.5rem; flex: 0 0 6.5rem; text-align: right; }
.q-del[b-abf5vrukxg] { width: 2rem; flex: 0 0 2rem; }

.q-field[b-abf5vrukxg] {
    display: flex;
    flex-direction: column;
}

/* Desktop: the header row carries the labels. */
.q-label[b-abf5vrukxg] {
    display: none;
}

.q-chip[b-abf5vrukxg] {
    align-self: center;
    white-space: nowrap;
}

.q-line-extra[b-abf5vrukxg] {
    background: var(--pz-hair, #ECF1F3);
    border-radius: 8px;
    padding: 0.25rem 0.35rem;
}

@media (max-width: 767.98px) {
    .q-head[b-abf5vrukxg] {
        display: none;
    }

    .q-line[b-abf5vrukxg] {
        flex-wrap: wrap;
        row-gap: 0.35rem;
        border: 1px solid var(--pz-line, #DDE4E8);
        border-radius: 8px;
        padding: 0.5rem;
        margin-bottom: 0.5rem;
        position: relative;
    }

    .q-label[b-abf5vrukxg] {
        display: block;
        font-size: 0.68rem;
        font-weight: 600;
        color: var(--pz-muted, #5B707C);
    }

    /* Description takes the full first row; the numbers share the rest. */
    .q-grow[b-abf5vrukxg] {
        flex: 1 1 100%;
    }

    .q-days[b-abf5vrukxg], .q-unit[b-abf5vrukxg], .q-uplift[b-abf5vrukxg], .q-rate[b-abf5vrukxg] {
        flex: 1 1 5.5rem;
        width: auto;
    }

    .q-out[b-abf5vrukxg] {
        flex: 1 1 5rem;
        width: auto;
        text-align: left;
    }

    .q-del[b-abf5vrukxg] {
        position: absolute;
        top: 0.4rem;
        right: 0.4rem;
    }

    /* Leave room for the absolute delete button over the description row. */
    .q-line .q-grow[b-abf5vrukxg] {
        padding-right: 2.4rem;
    }
}
/* /Components/Pages/Sites.razor.rz.scp.css */
.code-swatch[b-5a88gl8z9j] {
    display: inline-block;
    width: 0.8rem;
    height: 0.8rem;
    border: 1px solid rgba(0, 0, 0, 0.25);
    border-radius: 0.15rem;
    margin-right: 0.35rem;
    vertical-align: -0.1rem;
}

/* A blank rate is not a neutral empty box — it is a day that would bill at
   nothing, so it looks like the problem it is. */
.rate-missing[b-5a88gl8z9j] {
    border-color: var(--pz-danger);
    background: #FDF1F0;
}

/* Nights and remote are priced in their own right; this reads their price
   against a plain day so the premium already inside it is not added twice. */
.rate-premium[b-5a88gl8z9j] {
    font-size: 0.7rem;
    line-height: 1.2;
    color: var(--pz-muted, #6c757d);
    text-align: right;
    margin-top: 0.1rem;
    white-space: nowrap;
}
