/* /Pages/BedReport/BedReportEntry.razor.rz.scp.css */
/* Nothing specific to this page yet.

   The month bar, its fields, the card-heading totals and the tabular-figure
   .num column all moved to wwwroot/css/site.css when the months list started
   using them too. Scoped CSS only reaches this component, so a second page
   with the same bar would otherwise have rendered it unstyled — and copying
   the rules into both is how the two drift apart.

   Anything genuinely local to the entry screen goes here. */
/* /Pages/Index.razor.rz.scp.css */
/* Dashboard chrome.

   Chart styling lives with the components that own it — Shared/DonutChart,
   Shared/BarList, Shared/ColumnChart — because Blazor scoped CSS only reaches
   elements the owning component's Razor markup emits. Chart rules here would
   not style them. */

.dash[b-zkep3cax5n] {
    display: grid;
    gap: 1.25rem;
}

/* ---- KPI strip ---- */
.kpi-row[b-zkep3cax5n] {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.kpi[b-zkep3cax5n] {
    background: #fff;
    border: 1px solid #d7e0ea;
    border-left: 4px solid #0b2e63;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(15, 40, 64, .07);
    display: flex;
    flex-direction: column;
    gap: .15rem;
    padding: 1rem 1.15rem;
}

/* The left border carries the reading: navy is neutral, green is done,
   amber is outstanding, red wants attention. */
.kpi.is-green[b-zkep3cax5n]     { border-left-color: #1f9d55; }
.kpi.is-pending[b-zkep3cax5n]   { border-left-color: #b7791f; }
.kpi.is-attention[b-zkep3cax5n] { border-left-color: #c1362f; }

.kpi-label[b-zkep3cax5n] {
    color: #64748b;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.kpi-value[b-zkep3cax5n] {
    color: #0b2e63;
    font-size: 2rem;
    font-variant-numeric: tabular-nums;
    font-weight: 900;
    letter-spacing: -.02em;
    line-height: 1.1;
}

/* "Submitted" / "In progress" is a word, not a figure — at 2rem it wraps and
   dwarfs the tiles beside it. */
.kpi-value-text[b-zkep3cax5n] {
    font-size: 1.35rem;
    letter-spacing: 0;
    line-height: 1.35;
}

.kpi.is-green .kpi-value[b-zkep3cax5n]     { color: #14653a; }
.kpi.is-pending .kpi-value[b-zkep3cax5n]   { color: #8a5b12; }
.kpi.is-attention .kpi-value[b-zkep3cax5n] { color: #a02b25; }

.kpi-note[b-zkep3cax5n] {
    color: #64748b;
    font-size: .8rem;
}

.kpi-note strong[b-zkep3cax5n] { color: #43566b; }

/* ---- Panels ---- */
.panel-row[b-zkep3cax5n] {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.panel[b-zkep3cax5n] {
    background: #fff;
    border: 1px solid #d7e0ea;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(15, 40, 64, .07);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.panel-head[b-zkep3cax5n] {
    align-items: baseline;
    background: linear-gradient(180deg, #eef4fb, #e6eefa);
    border-bottom: 1px solid #d7e0ea;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    justify-content: space-between;
    padding: .8rem 1.15rem;
}

.panel-head h3[b-zkep3cax5n] {
    color: #0b2e63;
    font-size: 1.02rem;
    font-weight: 900;
    margin: 0;
}

.panel-tag[b-zkep3cax5n] {
    color: #64748b;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.panel-body[b-zkep3cax5n] { padding: 1.15rem; }

.panel-note[b-zkep3cax5n] {
    color: #64748b;
    font-size: .8rem;
    margin: .9rem 0 0;
}

/* ---- Empty state ---- */
.dash-empty[b-zkep3cax5n] {
    background: #f8fbfe;
    border: 1px dashed #c7d7e7;
    border-radius: 8px;
    color: #526272;
    padding: 1.5rem;
    text-align: center;
}

/* The month picker sits in the page heading, so it needs to stop stretching
   with it. */
.page-heading .month-field[b-zkep3cax5n] {
    flex: 0 0 auto;
}

@media (max-width: 1200px) {
    .kpi-row[b-zkep3cax5n] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .panel-row[b-zkep3cax5n] { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .kpi-row[b-zkep3cax5n] { grid-template-columns: 1fr; }
}
/* /Shared/AccessDeniedPanel.razor.rz.scp.css */
/* Who the refused user is signed in as. A label/value list rather than prose,
   because the point is that they can read the account back to whoever grants
   access — and a value buried in a sentence gets mis-transcribed. */

.auth-who[b-023abblb1n] {
    background: #f8fbfe;
    border: 1px solid #d7e4ef;
    border-radius: 6px;
    display: grid;
    gap: .4rem;
    margin: 0 0 1rem;
    padding: .85rem 1rem;
}

.auth-who > div[b-023abblb1n] {
    align-items: baseline;
    color: #1f2937;
    display: grid;
    gap: .75rem;
    grid-template-columns: 8rem minmax(0, 1fr);
    overflow-wrap: anywhere;
}

.auth-who span[b-023abblb1n] {
    color: #64748b;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.auth-next[b-023abblb1n] {
    color: #526272;
    line-height: 1.55;
    margin: 0 0 .75rem;
}

.auth-next strong[b-023abblb1n] {
    color: #0b2e63;
}

@media (max-width: 560px) {
    .auth-who > div[b-023abblb1n] {
        grid-template-columns: 1fr;
        gap: .1rem;
    }
}
/* /Shared/BarList.razor.rz.scp.css */
.bars[b-xkbri52lc5] {
    display: grid;
    gap: .7rem;
}

.bar-row[b-xkbri52lc5] {
    display: grid;
    gap: .2rem;
}

.bar-head[b-xkbri52lc5] {
    align-items: baseline;
    display: flex;
    gap: .5rem;
    justify-content: space-between;
}

.bar-label[b-xkbri52lc5] {
    color: #43566b;
    font-size: .88rem;
    font-weight: 600;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bar-figures[b-xkbri52lc5] {
    color: #64748b;
    flex: 0 0 auto;
    font-size: .82rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.bar-figures strong[b-xkbri52lc5] { color: #0b2e63; }

.bar-track[b-xkbri52lc5] {
    background: #eef2f7;
    border-radius: 999px;
    height: .55rem;
    overflow: hidden;
}

.bar-fill[b-xkbri52lc5] {
    border-radius: 999px;
    display: block;
    height: 100%;
    min-width: 2px;
}

.bars-empty[b-xkbri52lc5] {
    background: #f8fbfe;
    border: 1px dashed #c7d7e7;
    border-radius: 8px;
    color: #526272;
    margin: 0;
    padding: 1.5rem;
    text-align: center;
}
/* /Shared/BedReportLineEditor.razor.rz.scp.css */
/* The add/edit panel. Sits below the grid rather than over it, so the user can
   still read the rows they are adding to. */

.line-editor[b-6irohqc880] {
    background: #fff;
    border: 1px solid #d7e0ea;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(15, 40, 64, .08);
    margin-top: 1.25rem;
    overflow: hidden;
}

.line-editor-head[b-6irohqc880] {
    align-items: center;
    background: linear-gradient(180deg, #eef4fb, #e6eefa);
    border-bottom: 1px solid #d7e0ea;
    display: flex;
    justify-content: space-between;
    padding: .85rem 1.25rem;
}

.line-editor-head h3[b-6irohqc880] {
    color: #0b2e63;
    font-size: 1.1rem;
    font-weight: 900;
    margin: 0;
}

.line-editor-head h3 i[b-6irohqc880] {
    color: #15588e;
    margin-right: .5rem;
}

.line-editor-body[b-6irohqc880] {
    display: grid;
    gap: 1.25rem;
    padding: 1.25rem;
}

/* ---- Field groups ----
   Facility and Beds are separated because they answer different questions:
   where is it, and what is in it. A fieldset rather than a div so the grouping
   is announced to a screen reader too. */
.field-group[b-6irohqc880] {
    border: 1px solid #eef2f7;
    border-radius: 8px;
    margin: 0;
    padding: .35rem 1rem 1rem;
}

.field-group legend[b-6irohqc880] {
    color: #64748b;
    float: none;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .06em;
    margin: 0;
    padding: 0 .4rem;
    text-transform: uppercase;
    width: auto;
}

.field-row[b-6irohqc880] {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: .75rem;
}

.fld[b-6irohqc880] {
    display: flex;
    flex: 1 1 14rem;
    flex-direction: column;
    gap: .25rem;
    min-width: 0;
}

.fld-wide[b-6irohqc880]   { flex: 1 1 100%; }
.fld-narrow[b-6irohqc880] { flex: 0 1 11rem; }
.fld-grow[b-6irohqc880]   { flex: 1 1 16rem; justify-content: flex-end; }

/* Each .fld is its own flex column, so a label that wraps makes its column
   taller and pushes ITS input below the ones beside it — which is exactly what
   "Managing Entity Purchased Beds" did next to "Operational Beds".

   Reserving two lines for every label fixes the whole row at once, rather than
   nudging the one field that happens to be long today. Short labels sit at the
   BOTTOM of that box, hard against their input, so the reserved space appears
   above the label where it reads as ordinary spacing.

   2rem is exactly two lines: .8rem font x 1.25 line-height x 2. */
.fld .form-label[b-6irohqc880] {
    align-items: flex-end;
    display: flex;
    font-size: .8rem;
    line-height: 1.25;
    margin: 0;
    min-height: 2rem;
}

/* ---- Inline hints ---- */
.fld-hint[b-6irohqc880] {
    align-items: center;
    display: inline-flex;
    font-size: .8rem;
    font-weight: 600;
    gap: .35rem;
    line-height: 1.3;
}

.fld-hint.is-good[b-6irohqc880] { color: #276832; }
.fld-hint.is-bad[b-6irohqc880]  { color: #a02b25; }

/* ---- Footer ---- */
.line-editor-foot[b-6irohqc880] {
    align-items: center;
    background: #f8fbfe;
    border-top: 1px solid #eef2f7;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: space-between;
    padding: .85rem 1.25rem;
}

/* Pushed right even when no validation message shares the row. */
.line-editor-actions[b-6irohqc880] {
    display: flex;
    gap: .6rem;
    margin-left: auto;
}

@media (max-width: 700px) {
    .fld-narrow[b-6irohqc880] { flex: 1 1 100%; }

    .line-editor-actions[b-6irohqc880] {
        width: 100%;
    }

    .line-editor-actions .btn[b-6irohqc880] {
        flex: 1 1 0;
    }
}
/* /Shared/ColumnChart.razor.rz.scp.css */
.columns[b-974hh6ghuu] {
    align-items: end;
    display: flex;
    gap: .45rem;
    height: 12rem;
    padding-top: .5rem;
}

.column[b-974hh6ghuu] {
    align-items: center;
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    gap: .3rem;
    height: 100%;
    justify-content: flex-end;
    min-width: 0;
}

.column-bar[b-974hh6ghuu] {
    background: linear-gradient(180deg, #2f6fb3, #0b2e63);
    border-radius: 4px 4px 0 0;
    /* A month with nothing reported still gets a visible sliver, so the
       column reads as "zero" rather than as a gap in the chart. */
    min-height: 3px;
    width: 100%;
}

.column.is-peak .column-bar[b-974hh6ghuu] {
    background: linear-gradient(180deg, #1f9d55, #14653a);
}

.column.is-zero .column-bar[b-974hh6ghuu] {
    background: #e3e9f0;
}

.column-count[b-974hh6ghuu] {
    color: #0b2e63;
    font-size: .74rem;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
    /* Reserved even when blank, so the columns all start at the same height
       and a zero month does not sit a line taller than its neighbours. */
    min-height: 1rem;
}

.column-label[b-974hh6ghuu] {
    color: #64748b;
    font-size: .7rem;
    font-weight: 700;
    white-space: nowrap;
}

.columns-empty[b-974hh6ghuu] {
    background: #f8fbfe;
    border: 1px dashed #c7d7e7;
    border-radius: 8px;
    color: #526272;
    margin: 0;
    padding: 1.5rem;
    text-align: center;
}

/* Twelve labels will not sit side by side much below this. */
@media (max-width: 900px) {
    .column-label[b-974hh6ghuu] {
        font-size: .6rem;
        transform: rotate(-45deg);
        transform-origin: center;
    }

    .columns[b-974hh6ghuu] {
        height: 13rem;
    }
}
/* /Shared/DecisionPanel.razor.rz.scp.css */
/* The reason-and-confirm panel. Shaped like the line editor so the two read
   as one family, with a coloured left edge that says which way the decision
   goes before a word is read. */

.decision-panel[b-fg21teox3b] {
    background: #fff;
    border: 1px solid #d7e0ea;
    border-left-width: 5px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(15, 40, 64, .08);
    margin: 1rem 0 1.25rem;
    overflow: hidden;
}

.decision-panel.is-proceed[b-fg21teox3b] { border-left-color: #15588e; }
.decision-panel.is-danger[b-fg21teox3b]  { border-left-color: #c1362f; }

.decision-head[b-fg21teox3b] {
    align-items: center;
    background: linear-gradient(180deg, #eef4fb, #e6eefa);
    border-bottom: 1px solid #d7e0ea;
    display: flex;
    justify-content: space-between;
    padding: .8rem 1.25rem;
}

.decision-head h3[b-fg21teox3b] {
    color: #0b2e63;
    font-size: 1.05rem;
    font-weight: 900;
    margin: 0;
}

.decision-head h3 i[b-fg21teox3b] { margin-right: .5rem; }
.is-proceed .decision-head h3 i[b-fg21teox3b] { color: #15588e; }
.is-danger  .decision-head h3 i[b-fg21teox3b] { color: #c1362f; }

.decision-body[b-fg21teox3b] {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    padding: 1rem 1.25rem;
}

.decision-context[b-fg21teox3b] {
    color: #526272;
    font-size: .92rem;
    margin-bottom: .5rem;
}

.decision-body .form-label[b-fg21teox3b] {
    align-items: baseline;
    display: flex;
    font-size: .85rem;
    font-weight: 700;
    gap: .5rem;
    margin: 0;
}

.decision-required[b-fg21teox3b],
.decision-optional[b-fg21teox3b] {
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.decision-required[b-fg21teox3b] { color: #a02b25; }
.decision-optional[b-fg21teox3b] { color: #64748b; }

.decision-count[b-fg21teox3b] {
    align-self: flex-end;
    color: #64748b;
    font-size: .75rem;
}

.decision-ack[b-fg21teox3b] {
    margin-top: .35rem;
}

.decision-foot[b-fg21teox3b] {
    align-items: center;
    background: #f8fbfe;
    border-top: 1px solid #eef2f7;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    padding: .8rem 1.25rem;
}

.decision-error[b-fg21teox3b] {
    color: #a02b25;
    font-size: .85rem;
    font-weight: 600;
}

.decision-actions[b-fg21teox3b] {
    display: flex;
    gap: .6rem;
    margin-left: auto;
}

@media (max-width: 700px) {
    .decision-actions[b-fg21teox3b] { width: 100%; }
    .decision-actions .btn[b-fg21teox3b] { flex: 1 1 0; }
}
/* /Shared/DonutChart.razor.rz.scp.css */
.donut-wrap[b-rme6mw8nij] {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

/* Explicit box: an SVG with no width defaults to filling its container. */
.donut[b-rme6mw8nij] {
    flex: 0 0 auto;
    height: 9.5rem;
    width: 9.5rem;
}

.donut-track[b-rme6mw8nij] {
    fill: transparent;
    stroke: #eef2f7;
    stroke-width: 6;
}

.donut-seg[b-rme6mw8nij] {
    fill: transparent;
    stroke-width: 6;
}

/* Sized in viewBox units (the box is 42 wide), not pixels. */
.donut-value[b-rme6mw8nij] {
    dominant-baseline: middle;
    fill: #0b2e63;
    font-size: 7px;
    font-weight: 800;
}

.donut-caption[b-rme6mw8nij] {
    fill: #64748b;
    font-size: 2.6px;
    font-weight: 700;
    letter-spacing: .1em;
}

.legend[b-rme6mw8nij] {
    display: grid;
    flex: 1 1 9rem;
    gap: .4rem;
    min-width: 0;
}

.legend-item[b-rme6mw8nij] {
    align-items: center;
    display: grid;
    gap: .55rem;
    grid-template-columns: .7rem 1fr auto;
}

.legend-dot[b-rme6mw8nij] {
    border-radius: 3px;
    height: .7rem;
    width: .7rem;
}

.legend-label[b-rme6mw8nij] {
    color: #43566b;
    font-size: .88rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.legend-value[b-rme6mw8nij] {
    color: #0b2e63;
    font-size: .88rem;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
}

.donut-empty[b-rme6mw8nij] {
    background: #f8fbfe;
    border: 1px dashed #c7d7e7;
    border-radius: 8px;
    color: #526272;
    margin: 0;
    padding: 1.5rem;
    text-align: center;
}

@media (max-width: 560px) {
    .donut-wrap[b-rme6mw8nij] { justify-content: center; }
}
/* /Shared/FieldCell.razor.rz.scp.css */
/* A label/value tile. The label sits above the value in its own type style, so
   the two can never be mistaken for one run of text. */

.field[b-38oammjllu] {
    background: #f8fafc;
    border: 1px solid #eef2f7;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: .25rem;
    min-width: 0;
    padding: .55rem .75rem;
    transition: background .12s ease, border-color .12s ease;
}

.field:hover[b-38oammjllu] {
    background: #f2f7fd;
    border-color: #d7e0ea;
}

/* Empty fields recede rather than competing with real data. */
.field.is-blank[b-38oammjllu] {
    background: #fcfdfe;
    border-style: dashed;
}

/* Span classes live here, not on the parent, so the component owns its own
   layout and the grid container needs no ::deep rules to reach across. */
.field.span-2[b-38oammjllu] { grid-column: span 2; }
.field.span-4[b-38oammjllu] { grid-column: 1 / -1; }

.field-label[b-38oammjllu] {
    align-items: center;
    color: #64748b;
    display: flex;
    font-size: .68rem;
    font-weight: 800;
    gap: .3rem;
    letter-spacing: .06em;
    line-height: 1.2;
    text-transform: uppercase;
}

.field-label.has-hint[b-38oammjllu] {
    cursor: help;
}

.field-label i[b-38oammjllu] {
    color: #94a3b8;
    font-size: .7rem;
}

.field-value[b-38oammjllu] {
    color: #1f2937;
    font-size: .95rem;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.field-value.is-money[b-38oammjllu] {
    color: #0b2e63;
    font-variant-numeric: tabular-nums;
    font-weight: 800;
}

.field-value.is-empty[b-38oammjllu] {
    color: #b6c0cc;
    font-weight: 500;
}

/* ---- Pills ---- */
.field-pill[b-38oammjllu] {
    align-self: flex-start;
    border-radius: 999px;
    font-size: .8rem;
    font-weight: 700;
    line-height: 1.2;
    padding: .28rem .7rem;
    white-space: nowrap;
}

.field-pill.neutral[b-38oammjllu] { background: #e8eef6; color: #33507a; }
.field-pill.good[b-38oammjllu]    { background: #dcfce7; color: #14653a; }
.field-pill.warn[b-38oammjllu]    { background: #fdf0d5; color: #8a5b12; }
.field-pill.bad[b-38oammjllu]     { background: #fdecea; color: #a02b25; }
/* /Shared/MainLayout.razor.rz.scp.css */
/* ============================================================
   DCF standard app shell: thin top strip, header (logo | title |
   user), collapsible left side nav + main region, then footer.
   ============================================================ */

.dcf-top-strip[b-a48j6wd1c1] {
    background-color: #115ba4;
    min-height: 8px;
}

.app-header[b-a48j6wd1c1] {
    align-items: center;
    background: #fff;
    border-bottom: 1px solid #d9e2ef;
    display: grid;
    gap: 1rem;
    grid-template-columns: minmax(190px, 280px) 1fr minmax(160px, 280px);
    min-height: 72px;
    padding: .75rem 1rem;
}

.dcf-logo[b-a48j6wd1c1] {
    display: block;
    height: auto;
    max-height: 58px;
    max-width: 260px;
    width: auto;
}

.app-header-title[b-a48j6wd1c1] {
    align-items: center;
    color: #06366d;
    display: flex;
    gap: .75rem;
    justify-content: center;
}

.app-header-title h1[b-a48j6wd1c1] {
    font-size: clamp(1.35rem, 1.85vw, 2.05rem);
    font-weight: 900;
    line-height: 1.05;
    margin: 0;
    text-align: center;
}

.app-header-user[b-a48j6wd1c1] {
    display: flex;
    justify-content: flex-end;
}

.user-summary[b-a48j6wd1c1] {
    align-items: center;
    color: #0e477f;
    display: grid;
    gap: .1rem .5rem;
    grid-template-columns: auto 1fr;
}

.user-avatar[b-a48j6wd1c1] {
    align-items: center;
    background: #15588e;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    grid-row: span 2;
    height: 2.2rem;
    justify-content: center;
    width: 2.2rem;
}

.user-name[b-a48j6wd1c1] {
    font-weight: 700;
}

.user-role[b-a48j6wd1c1] {
    background: #e9f5ee;
    border: 1px solid #b6e2c5;
    border-radius: 999px;
    color: #176b34;
    font-size: .78rem;
    font-weight: 700;
    padding: .08rem .55rem;
    width: fit-content;
}

/* An ME name is a proper noun several words long, not a short role label, so
   it gets the blue treatment and a width cap rather than being allowed to push
   the header grid out of shape. */
.user-role.is-me[b-a48j6wd1c1] {
    background: #e9f3ff;
    border-color: #b8d4f5;
    color: #0b2e63;
    max-width: 16rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---- Shell: side nav + main ---- */
.app-shell[b-a48j6wd1c1] {
    display: grid;
    min-height: 60vh;
}

.app-shell.is-signed-in.nav-expanded[b-a48j6wd1c1] {
    grid-template-columns: 250px minmax(0, 1fr);
}

.app-shell.is-signed-in.nav-collapsed[b-a48j6wd1c1] {
    grid-template-columns: 72px minmax(0, 1fr);
}

.app-shell.is-public.nav-expanded[b-a48j6wd1c1] {
    grid-template-columns: 220px minmax(0, 1fr);
}

.app-shell.is-public.nav-collapsed[b-a48j6wd1c1] {
    grid-template-columns: 72px minmax(0, 1fr);
}

.side-nav[b-a48j6wd1c1] {
    background: #155f95;
    color: #fff;
    min-height: 100%;
    padding: .65rem .5rem;
}

.nav-toggle[b-a48j6wd1c1] {
    align-items: center;
    background: transparent;
    border: 0;
    color: #fff;
    display: inline-flex;
    height: 2rem;
    justify-content: center;
    margin-bottom: .5rem;
    width: 2.5rem;
}

.side-nav-list[b-a48j6wd1c1] {
    display: grid;
    gap: .25rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.side-nav-item[b-a48j6wd1c1] {
    align-items: center;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 6px;
    color: #fff;
    display: flex;
    gap: .75rem;
    min-height: 2.75rem;
    padding: .65rem .75rem;
    text-align: left;
    width: 100%;
}

/* Selected is the filled state, and nothing else is allowed to look like it.
   These are buttons, so a click leaves focus behind; when :focus shares the
   selected fill, clicking a nav item paints it as the current page before the
   server has answered — and if the circuit has dropped, the server never
   answers at all. Focus reads as a ring instead, which is also the accessible
   behaviour an outline:none would be suppressing. */
.side-nav-item.selected[b-a48j6wd1c1] {
    background: #1f77b7;
    border-color: #5eb2f2;
}

.side-nav-item:hover[b-a48j6wd1c1] {
    background: #17567f;
    border-color: #3f8fc4;
}

.side-nav-item:focus-visible[b-a48j6wd1c1] {
    border-color: #9ad2ff;
    box-shadow: 0 0 0 2px #9ad2ff;
    outline: none;
}

.side-nav-icon[b-a48j6wd1c1] {
    text-align: center;
    width: 1.1rem;
}

/* The ErrorBoundary panel that replaces a page which threw. Sized and coloured
   as a page-level notice rather than a toast: it is standing in for the whole
   page, and the point is that the surrounding shell still works. */
.page-error[b-a48j6wd1c1] {
    background: #fff7f7;
    border: 1px solid #efc0c0;
    border-left: 4px solid #b32121;
    border-radius: 6px;
    margin: 0 auto;
    max-width: 48rem;
    padding: 1.25rem 1.5rem;
}

.page-error h2[b-a48j6wd1c1] {
    color: #7c1c1c;
    font-size: 1.2rem;
    font-weight: 900;
    margin: 0 0 .5rem;
}

.page-error h2 .fa-triangle-exclamation[b-a48j6wd1c1] {
    margin-right: .5rem;
}

.page-error p[b-a48j6wd1c1] {
    color: #526272;
    margin: 0 0 .75rem;
}

/* Monospaced because it is an exception type and message, not prose, and it
   wraps rather than scrolls so nothing is hidden off the edge. */
.page-error-detail[b-a48j6wd1c1] {
    background: #ffffff;
    border: 1px solid #e4d2d2;
    border-radius: 4px;
    color: #7c1c1c;
    font-family: Consolas, "Cascadia Mono", ui-monospace, monospace;
    font-size: .84rem;
    overflow-wrap: anywhere;
    padding: .6rem .75rem;
}

.page-error-actions[b-a48j6wd1c1] {
    display: flex;
    gap: .6rem;
    margin-top: 1rem;
}

.app-main[b-a48j6wd1c1] {
    background: #f7f9fc;
    min-width: 0;
    padding: 1.5rem 2rem 3rem;
}

@media (max-width: 800px) {
    /* Logo + user on the top row, title centered underneath. */
    .app-header[b-a48j6wd1c1] {
        grid-template-columns: auto 1fr;
        row-gap: .5rem;
    }

    .app-header-logo[b-a48j6wd1c1] {
        grid-row: 1;
        grid-column: 1;
    }

    .dcf-logo[b-a48j6wd1c1] {
        max-height: 40px;
    }

    .app-header-user[b-a48j6wd1c1] {
        grid-row: 1;
        grid-column: 2;
    }

    .app-header-title[b-a48j6wd1c1] {
        grid-row: 2;
        grid-column: 1 / -1;
    }

    /* Collapse the rail to icons only on small screens. */
    .app-shell.is-signed-in.nav-expanded[b-a48j6wd1c1],
    .app-shell.is-public.nav-expanded[b-a48j6wd1c1],
    .app-shell.is-signed-in.nav-collapsed[b-a48j6wd1c1],
    .app-shell.is-public.nav-collapsed[b-a48j6wd1c1] {
        grid-template-columns: 64px minmax(0, 1fr);
    }

    .side-nav-item span[b-a48j6wd1c1] {
        display: none;
    }

    .app-main[b-a48j6wd1c1] {
        padding: 1rem;
    }
}
/* /Shared/TablePager.razor.rz.scp.css */
/* .grid-footer, .grid-count and .pagination come from site.css / bootstrap and
   are global, so every paged grid in the app matches. Only the pieces specific
   to this control live here. */

.pager-controls[b-cqpc082wn7] {
    align-items: center;
    display: flex;
    gap: .5rem;
}

.rows-select[b-cqpc082wn7] {
    width: auto;
}

/* The page indicator is a label, not a link — bootstrap's .active .page-link
   styles it as a pressed button, which invites a click that does nothing. */
.page-item.active .page-link[b-cqpc082wn7] {
    cursor: default;
    font-variant-numeric: tabular-nums;
}

.page-link[b-cqpc082wn7] {
    line-height: 1.4;
}
