/* /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;
}

@media (max-width: 640.98px) {
    .top-row[b-tp9vlfqbp1] {
        justify-content: space-between;
    }

    .top-row[b-tp9vlfqbp1]  .btn-link {
        margin-left: 0;
    }
}

@media (min-width: 641px) {
    .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;
    }
}

#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: 641px) {
    .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;
    }
}
/* /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 */
.tiles[b-dgf5l1e1bh] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin: 0.8rem 0 0.4rem;
}

.tile[b-dgf5l1e1bh] {
    min-width: 8.5rem;
    padding: 0.7rem 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);
}

/* Colour only earns its place when there is something to do. */
.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-n[b-dgf5l1e1bh] {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--pz-brand-800);
    line-height: 1.1;
}

.tile-l[b-dgf5l1e1bh] {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    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;
}
/* /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/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;
}
