/* /Components/Layout/AuthenticatedLayout.razor.rz.scp.css */
.page[b-66t3jbdclp] {
    height: 100%;
    font-family: var(--bs-font-sans-serif);
}

/* Background intentionally unset: it comes from the MudTheme palette (DrawerBackground) so
   AppTheme.cs stays the one place brand colors change. The app bar carries MudBlazor's
   .mud-theme-primary !important rule and needs no equivalent here. */
[b-66t3jbdclp] .navigation-drawer.mud-drawer {
    background-image: none;
}

[b-66t3jbdclp] .navigation-drawer .navigation-drawer-header {
    width: 100%;
    display: flex;
    justify-content: center;
    /* 2rem top+bottom left ~48px of dead space below the small logo (very noticeable as a
       tall overlay on thin screens). 1rem keeps modest breathing room without the big gap. */
    padding: 1rem 1rem;
    border-bottom: none;
}

/* Sized between the old 150px cap and the 208px the header's padding allows: filling the box
   edge to edge crowded the drawer, so this keeps a visible margin either side. Stays under the
   image's 240px intrinsic width, so it never upscales into blur. */
[b-66t3jbdclp] .navigation-drawer .navigation-drawer-header .logo {
    max-width: 185px;
    height: auto;
}

[b-66t3jbdclp] .navigation-drawer-body {
    padding: 1rem 0;
}

[b-66t3jbdclp] .navigation-drawer-footer {
    padding: 1rem 1.5rem 1.5rem;
    display: flex;
    justify-content: center;
    border-top: none;
    color: var(--bs-white);
}

[b-66t3jbdclp] .navigation-appbar,
[b-66t3jbdclp] .navigation-appbar .user-info,
[b-66t3jbdclp] .navigation-appbar .mud-button-label,
[b-66t3jbdclp] .navigation-appbar .mud-button-root {
    color: var(--bs-white);
}

[b-66t3jbdclp] .navigation-appbar {
    background-image: none;
    top: var(--env-banner-height, 0);
}

/* Below its 600px breakpoint MudBlazor shrinks the toolbar to 7/8 height (64px → 56px),
   but the drawer and main content are positioned from the fixed --mud-appbar-height (64px),
   so the bar shrank out from under them and left an ~8px gap on narrow screens. Pin the
   toolbar to the full height at every width so the bar stays a constant size and flush. */
[b-66t3jbdclp] .navigation-appbar .mud-toolbar-appbar {
    height: var(--mud-appbar-height);
    min-height: var(--mud-appbar-height);
}

[b-66t3jbdclp] .mud-drawer.navigation-drawer {
    top: calc(var(--env-banner-height, 0px) + var(--mud-appbar-height));
    height: calc(
        100vh - var(--env-banner-height, 0px) - var(--mud-appbar-height)
    );
}

/* .environment-banner-spacer already holds --env-banner-height of flow above MudLayout, so only the
   fixed app bar needs clearing here — counting the banner again reserved a second banner's worth of
   blank space. Filling the remaining viewport (border-box, so the padding stays inside that height)
   lets a page stretch to the fold and centre itself; block-level pages are unaffected by the flex.

   height, not min-height: a flex child only shrinks against a definite height, and that shrink is what
   lets a grid stop at the fold instead of growing the page. The trade is that this element scrolls rather
   than the window, so anything taller than the fold — a long form, a grid on a short viewport — needs the
   overflow here to stay reachable.

   dvh over vh where supported: mobile 100vh is the height with the browser chrome collapsed, so the
   bottom of a definite-height, own-scrolling pane would sit behind the URL bar with nothing left to
   scroll. It has to be @supports rather than two height declarations — Blazor's scoped-css bundler keeps
   only the first of a repeated property, so the usual fallback pair silently ships as vh alone. */
[b-66t3jbdclp] .mud-main-content {
    box-sizing: border-box;
    padding-top: var(--mud-appbar-height);
    height: calc(100vh - var(--env-banner-height, 0px));
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

@supports (height: 100dvh) {
    [b-66t3jbdclp] .mud-main-content {
        height: calc(100dvh - var(--env-banner-height, 0px));
    }
}

/* Passes that fill down to @Body, so a page can stretch to the fold with `flex: 1` of its own.
   min-height: 0 so a tall child shrinks to the fold instead of forcing this box past it. */
.page-body[b-66t3jbdclp] {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

/* The bottom gap, as a flex item rather than this box's padding. With flex-basis 0 the box is exactly the
   pane's height, so a page taller than the fold overflows it — and an overflowed box's padding sits above
   the overflow rather than after it, leaving the last field flush against the pane's edge at full scroll.
   A spacer is content, so it lands at the end of the scrollable area where the gap belongs. */
.page-body[b-66t3jbdclp]::after {
    content: "";
    flex: 0 0 1rem;
}

.auth-controls.display-desktop[b-66t3jbdclp] {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* On tablet/phone widths (≤1024px) hide the header auth controls; the same actions
   (user name + log out) are surfaced inside the drawer's mobile menu instead. */
@media (max-width: 1024px) {
    .auth-controls.display-desktop[b-66t3jbdclp] {
        display: none;
    }
}

.user-info[b-66t3jbdclp] {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    color: var(--bs-white);
}

.sidebar-footer[b-66t3jbdclp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    gap: 1rem;
    border-top: var(--bs-border-width) solid rgba(255, 255, 255, 0.1);
}

.copyright-info[b-66t3jbdclp] {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

.sidebar-footer-text[b-66t3jbdclp] {
    margin: 0.1rem 0;
}
.sidebar-footer-text.version-info[b-66t3jbdclp] {
    transition: opacity 0.2s ease;
}
.sidebar-footer-text.version-info:hover[b-66t3jbdclp] {
    opacity: 0.7;
}
/* /Components/Layout/Drawer.razor.rz.scp.css */
[b-lwizixhn2r] .navigation-drawer {
    height: calc(100vh - var(--env-banner-height, 0px));
    max-height: 100%;
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
#sidebar[b-zswk0q6kaa] {
    min-width: 15rem;
    max-width: 15rem;
    transition: transform 0.1s ease-out;
    height: 100%;
    max-height: 100%;
    display: block;
    background: inherit;
}

.logo[b-zswk0q6kaa] {
    text-align: center;
}

[b-zswk0q6kaa] .menu.display-mobile {
    margin-bottom: 2rem;
}

[b-zswk0q6kaa] .menu.display-iam {
    margin-bottom: 2rem;
}

[b-zswk0q6kaa] .menu {
    background-color: inherit;
}

[b-zswk0q6kaa] .menu {
    gap: 0.5rem;
}

[b-zswk0q6kaa] .menu-item {
    color: var(--bs-white);
    display: flex;
    align-items: center;
    /* A <button>.menu-item (the logout row) defaults to justify-content: center, which
       centers its icon+text; divs/links default to flex-start. Force flex-start so every
       row's icon lines up on the same left edge regardless of element type. */
    justify-content: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border-radius: 0.25rem;
}

[b-zswk0q6kaa] .menu-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--bs-white);
}

[b-zswk0q6kaa] .menu-item.active {
    background-color: rgba(255, 255, 255, 0.15);
}

[b-zswk0q6kaa] .menu-item .mud-icon-root {
    color: var(--bs-white);
}

/* user-display and the logout button both carry the .menu-item class, so they inherit its
   padding (1rem) and gap (0.75rem) and line up with the nav links — every sidebar row shares
   one icon column and one text column (matches TWC). These rules only add what differs. */
.user-display[b-zswk0q6kaa] {
    cursor: default; /* a label, not a link */
}

.user-display:hover[b-zswk0q6kaa] {
    background-color: transparent; /* no hover affordance on the non-clickable label */
}

/* On tablet/phone widths (≤1024px) the drawer is an overlay, so drop the fixed 15rem
   sidebar sizing and let it fill the drawer naturally. 1024px keeps iPads in this mode. */
@media (max-width: 1024px) {
    #sidebar[b-zswk0q6kaa] {
        min-width: inherit;    /* Release the desktop 15rem min so the drawer controls width. */
        max-width: inherit;    /* Release the desktop 15rem max likewise. */
        display: block;
    }

    .logo[b-zswk0q6kaa] {
        text-align: inherit;   /* Drop the centered desktop alignment in the narrow drawer. */
    }
}
/* /Components/Layout/UnauthenticatedLayout.razor.rz.scp.css */
.page[b-njgkfb2cva] {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Brand lockup centered above the page body (the login/account form). The
   top padding gives the mark breathing room from the viewport edge. */
.logo-container[b-njgkfb2cva] {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 4.5rem 1rem 0.5rem;
}

.logo-container .logo[b-njgkfb2cva] {
    max-width: 350px;
    height: auto;
}

.main-content[b-njgkfb2cva] {
    flex: 1;
    padding: 1rem;
}

/* Override site.css's global .main-content vertical centering so the form
   stacks directly below the brand lockup. ::deep compiles to a descendant
   selector rooted at this layout's scope, which reaches both the layout's
   own <main> (the scope attribute sits on .page) and the account pages'
   inner .main-content wrappers rendered via @Body. */
[b-njgkfb2cva] .main-content {
    align-items: flex-start;
    height: auto;
}

.footer[b-njgkfb2cva] {
    width: 100%;
    background-color: #f8f9fa;
    border-top: 1px solid #dee2e6;
    padding: 1rem;
    margin-top: auto;
}

.footer-content[b-njgkfb2cva] {
    text-align: center;
    color: #6c757d;
    font-size: 0.875rem;
}

/* The lockup shrinks earlier than the 480px auth adaptations below — 576px
   matches the sibling apps, so a narrow window never shows the full-size
   mark towering over the form. */
@media (max-width: 576px) {
    .logo-container .logo[b-njgkfb2cva] {
        max-width: 150px;
    }
}

/* Mobile adaptations for auth pages */
@media (max-width: 480px) {
    .page[b-njgkfb2cva] {
        min-height: -webkit-fill-available; /* iOS Safari 100vh fix */
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .main-content[b-njgkfb2cva] {
        padding: 0.75rem 1rem;
    }

    .footer[b-njgkfb2cva] {
        padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    }
}

/* Hide footer on very short/landscape screens */
@media (max-width: 480px) and (max-height: 700px) {
    .footer[b-njgkfb2cva] {
        display: none;
    }
}
/* /Components/Pages/Admin/EditUserDialog.razor.rz.scp.css */
.initial-password[b-6ohr00wbse]  .password-policy-hint {
    margin-top: 0;
    margin-bottom: 0;
}
/* /Components/Pages/Index.razor.rz.scp.css */
/* .main-content already centers its child, but height: 100% collapsed to the cards' own height, so
   they pinned to the top. Growing into the flex column that AuthenticatedLayout gives .mud-main-content
   fills the viewport without any hard-coded offsets to keep in sync.

   No ::deep here: .main-content is written in this component, so it carries the scope attribute.
   The .welcome-card rules below need ::deep because NavigationCard emits that markup. */
.main-content[b-x322wzfnr4] {
    flex: 1;
}

[b-x322wzfnr4] .welcome-gridlayout {
    margin: auto;
    width: auto;
    height: auto;
}

[b-x322wzfnr4] .welcome-gridlayout {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

[b-x322wzfnr4] .welcome-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

/* Responsive adjustments
   Cards keep their default width down to phone size; the old intermediate 992px
   step (width: 18rem) was dropped so tablets show full-size cards like desktop. */
@media (max-width: 768px) {
    [b-x322wzfnr4] .welcome-card {
        width: 100%;          /* Stretch to the row on phones... */
        max-width: 25rem;     /* ...but cap so a single card doesn't get oversized. */
    }
}

.checklist-section[b-x322wzfnr4] {
    margin-bottom: 2rem;
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.checklist-section h3[b-x322wzfnr4] {
    margin-bottom: 1rem;
    color: #495057;
}

.checklist[b-x322wzfnr4] {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.checklist li[b-x322wzfnr4] {
    padding: 0.5rem 0;
    color: #212529;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checklist li input[type="checkbox"][b-x322wzfnr4] {
    width: 1.2rem;
    height: 1.2rem;
    margin: 0;
    cursor: not-allowed;
}

.checklist li span[b-x322wzfnr4] {
    flex: 1;
}

.checklist li.completed[b-x322wzfnr4] {
    color: #6c757d;
}

.checklist li.completed span[b-x322wzfnr4] {
    text-decoration: line-through;
}
/* /Components/Pages/InspectionSubmissions/InspectionsSearch.razor.rz.scp.css */
/* ::deep because the class is handed to MudTextField and lands on *its* root, which never carries
   this component's scope attribute — without it the rule matches nothing at all. And flex-basis
   rather than a bare width, because that root is width: 100%, which becomes its basis in the
   toolbar's flex row and wins over max-width alone. Same fix as ::deep .schedule-inspector-filter
   in InspectionSchedule.razor.css and .eb-grid-date-range in site.css. */
[b-7ymydublrx] .eb-permit-search {
    flex: 0 1 20rem;
    max-width: 20rem;
}

/* Caps the block short of full width on wide screens: a two-column label/value row stretched
   across 1900px puts the value so far from its label that the pairing stops reading.
   ::deep for the same reason as above — the class lands on MudPaper's own root element. */
[b-7ymydublrx] .eb-result-block {
    max-width: 60rem;
}

.eb-result-block-header[b-7ymydublrx] {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Fixed label column. Without it the row is just label-then-value with the free space between them,
   so a left-aligned value begins wherever its own label happened to end — which reads as starting
   arbitrarily near the middle, and at a different place on each row. min-width rather than a hard
   basis so a label longer than the column still gets its space instead of wrapping. */
.eb-result-field-label[b-7ymydublrx] {
    flex: 0 0 auto;
    min-width: 12rem;
}

/* The value fills whatever is left of the row, so its box always spans from the label column to the
   right edge. That is what makes alignment mean something: right-aligned short values sit flush right,
   and left-aligned prose starts at the same x on every row instead of floating with its content.
   min-width: 0 because a flex item defaults to min-width: auto, which refuses to shrink below its
   longest unbreakable word and would push long prose out past the block.
   pre-wrap because every value here comes from a free-text Cogniform column with no format enforced,
   so any of them can arrive carrying the inspector's own line breaks. */
.eb-result-field-value[b-7ymydublrx] {
    flex: 1 1 auto;
    min-width: 0;
    text-align: right;
    white-space: pre-wrap;
}

/* Empty fields are rendered rather than dropped so every block keeps identical field order, but a
   blank span would collapse the row to nothing and break that alignment. */
.eb-result-field[b-7ymydublrx] {
    min-height: 1.5rem;
    /* Pulls the stripe out to the block's padding edge so the banding reads as a continuous row
       rather than a floating bar, then puts the padding back inside it. */
    margin-inline: -1rem;
    padding-inline: 1rem;
}

/* Alternating bands make a long two-column list easier to track across. Tinted from the theme's own
   palette rather than a hardcoded grey, so it holds up if the palette moves and in dark mode, where a
   literal #f5f5f5 would glare. The class is applied per row in the markup, not by :nth-child — the
   block header and dividers are siblings of these rows and would throw a positional rule off.

   MudBlazor spells this token "gray", not "grey": --mud-palette-background-grey is undefined, and a
   var() that resolves to nothing leaves background-color at its initial value, which is transparent —
   so the misspelling produces no banding and no error. Hence the fallback: if the token is ever
   renamed again the rows still band, instead of silently going flat.

   The fallback is derived from the theme rather than a literal colour. --mud-palette-background-gray
   is consumed by MudBlazor's stylesheet but never defined in it — MudThemeProvider emits it at runtime
   from Palette.BackgroundGray — so a literal would only ever fire where there is no theme provider,
   and would then hardcode the light palette's value, producing exactly the dark-mode glare this
   comment argues against.

   It is a translucent tint of the text colour, not another background token: these rows sit inside a
   MudPaper whose own background is --mud-palette-surface, so falling back to surface (or to any token
   that resolves to it) would leave the bands the exact colour of the paper behind them — flat, which
   is the failure this fallback exists to prevent. Mixing into transparent keeps it correct over
   whatever is behind it, and follows the theme in both modes because text-primary inverts with it. */
.eb-result-field--alt[b-7ymydublrx] {
    background-color: var(
        --mud-palette-background-gray,
        color-mix(in srgb, var(--mud-palette-text-primary) 4%, transparent)
    );
}
/* /Components/Pages/Schedule/InspectionSchedule.razor.rz.scp.css */
/* The week board. Deliberately not a time grid: the underlying times default to whenever the scheduling
   form was opened, so positioning cards against a clock would imply precision the data does not have.
   It scrolls itself rather than letting .mud-main-content scroll the page — that is what holds the toolbar
   still and gives the day headers a scrollport to pin against, the same bounded-container trick
   .eb-mud-grid uses in site.css. Basis auto, not flex: 1, so a short week sizes to its columns. */
.schedule-board[b-cs5nniafb1] {
    display: grid;
    grid-template-columns: repeat(var(--schedule-columns, 5), minmax(0, 1fr));
    gap: 0.5rem;
    align-items: start;
    /* No top padding: inside the scroll region it shows a strip of moving card above the pinned headers. */
    padding: 0 0 1rem;
    flex: 0 1 auto;
    min-height: 0;
    overflow-y: auto;
    /* max-content, or shrinking to the fold collapses auto rows to the 8rem minimum and stacked columns overlap. */
    grid-auto-rows: max-content;
}

/* MudBlazor's lock reaches .mud-main-content only (site.css), so without this the board scrolls under a dialog. */
body.scroll-locked .schedule-board[b-cs5nniafb1],
body.scroll-locked-no-padding .schedule-board[b-cs5nniafb1] {
    overflow: hidden;
}

/* Columns stack below the point where five of them stop being readable. Deliberately not raised for the
   seven-column default: a media query cannot see --schedule-columns, so a higher breakpoint would stack
   the five-column board too, and "Hide weekends" — whose whole purpose is fewer, wider columns — could
   not undo it. A full week between 1100px and 1250px is tight; that checkbox is the way out of it. */
@media (max-width: 1100px) {
    .schedule-board[b-cs5nniafb1] {
        grid-template-columns: 1fr;
    }
}

[b-cs5nniafb1] .schedule-column {
    background: var(--mud-palette-surface);
    border: 1px solid var(--mud-palette-lines-default);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    min-height: 8rem;
}

/* Today is filled at the header rather than tinted at the border: the date is where the eye already
   goes, and a border colour against --mud-palette-lines-default is too near to read at a glance. */
[b-cs5nniafb1] .schedule-column--today {
    border-color: var(--mud-palette-primary);
}

[b-cs5nniafb1] .schedule-column--today .schedule-column-header {
    background: var(--mud-palette-primary);
    border-bottom-color: var(--mud-palette-primary);
    color: var(--mud-palette-primary-text);
}

[b-cs5nniafb1] .schedule-column--today .schedule-column-count {
    color: var(--mud-palette-primary-text);
    opacity: 0.85;
}

/* Pinned against the board's scrollport, so top: 0 needs no app-bar offset. Opaque, or cards scroll through
   it. Bounded by its own column, so a header releases once that column's cards run out. */
[b-cs5nniafb1] .schedule-column-header {
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.4rem 0.6rem;
    border-bottom: 1px solid var(--mud-palette-lines-default);
    position: sticky;
    top: 0;
    z-index: 1;
    background: var(--mud-palette-surface);
}

[b-cs5nniafb1] .schedule-column-day {
    font-weight: 600;
    font-size: 0.8rem;
}

[b-cs5nniafb1] .schedule-column-count {
    font-size: 0.7rem;
    color: var(--mud-palette-text-secondary);
}

[b-cs5nniafb1] .schedule-column-body {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    padding: 0.4rem;
}

/* The whole-week empty state, which replaces a grid of columns each repeating the same sentence. */
.schedule-empty[b-cs5nniafb1] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 4rem 1rem;
    text-align: center;
}

[b-cs5nniafb1] .schedule-empty-icon {
    color: var(--mud-palette-text-disabled);
}

.schedule-empty-title[b-cs5nniafb1] {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--mud-palette-text-secondary);
}

.schedule-empty-detail[b-cs5nniafb1] {
    margin: 0;
    font-size: 0.78rem;
    color: var(--mud-palette-text-disabled);
    max-width: 32rem;
}

[b-cs5nniafb1] .schedule-group-label {
    margin: 0.15rem 0 0;
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--mud-palette-text-secondary);
}

/* container-type, so the badge below can respond to the width it actually has. The card rather than the
   column, because the column is ~2rem wider than the card's content box and a threshold expressed against
   it would have to carry that arithmetic. A media query cannot do this at all: the column count is a CSS
   variable the board sets, so page width says nothing about how wide a card is. */
[b-cs5nniafb1] .schedule-card {
    container-type: inline-size;
    border: 1px solid var(--mud-palette-lines-default);
    border-left: 3px solid var(--inspector-hue, var(--mud-palette-text-secondary));
    border-radius: 6px;
    padding: 0.4rem 0.5rem;
    cursor: pointer;
    background: var(--mud-palette-background);
}

[b-cs5nniafb1] .schedule-card:hover,
[b-cs5nniafb1] .schedule-card:focus-visible {
    border-color: var(--inspector-hue, var(--mud-palette-primary));
    outline: none;
    box-shadow: 0 1px 4px rgb(0 0 0 / 12%);
}

/* A passed date is history, not a task — it recedes rather than competing for attention. */
[b-cs5nniafb1] .schedule-card--past {
    opacity: 0.62;
}

/* Floated right, so the identity text below wraps beside it and then reclaims the full card width. A
   right-hand grid or flex column instead would reserve the inspector name's width for the whole height of
   the card, wrapping the permit number early against space it could not use. */
[b-cs5nniafb1] .schedule-card-body > .schedule-badge {
    float: right;
    margin-left: 0.4rem;
}

/* Block, not flex: a flex item cannot wrap around a float, which is the whole point of the badge above.
   The type is a block-level span so it still starts its own line, tight against the permit. */
[b-cs5nniafb1] .schedule-card-headline {
    line-height: 1.3;
}

[b-cs5nniafb1] .schedule-card-flag {
    margin-top: 0.2rem;
}

/* Matches the deletion-requested badge's dashed red, so the strip and the cards it points at read as one thing. */
.schedule-requests[b-cs5nniafb1] {
    margin: 0 0 0.75rem;
    padding: 0.5rem 0.75rem;
    border: 1px dashed #d77a7a;
    border-radius: 6px;
    background: #fff8f8;
}

.schedule-requests-empty[b-cs5nniafb1] {
    margin: 0;
    font-size: 0.85rem;
    color: #71767f;
}

.schedule-requests-list[b-cs5nniafb1] {
    margin: 0;
    padding: 0;
    list-style: none;
}

.schedule-request[b-cs5nniafb1] {
    display: grid;
    grid-template-columns: 7.5rem minmax(0, 1.2fr) minmax(0, 1.5fr) auto;
    align-items: center;
    gap: 0.75rem;
    padding: 0.25rem 0;
    font-size: 0.85rem;
}

.schedule-request + .schedule-request[b-cs5nniafb1] {
    border-top: 1px solid var(--mud-palette-table-lines);
}

.schedule-request-when[b-cs5nniafb1] {
    font-weight: 600;
    white-space: nowrap;
}

.schedule-request-what[b-cs5nniafb1] {
    display: flex;
    flex-wrap: wrap;
    gap: 0 0.5rem;
    min-width: 0;
}

.schedule-request-why[b-cs5nniafb1] {
    min-width: 0;
    overflow-wrap: anywhere;
}

.schedule-request-type[b-cs5nniafb1],
.schedule-request-inspector[b-cs5nniafb1] {
    color: #71767f;
}

@media (max-width: 720px) {
    .schedule-request[b-cs5nniafb1] {
        grid-template-columns: 1fr auto;
    }

    .schedule-request-what[b-cs5nniafb1],
    .schedule-request-why[b-cs5nniafb1] {
        grid-column: 1 / -1;
    }
}

/* The badge cannot shrink — .schedule-badge is nowrap — so on a narrow card it would leave the permit a
   few characters of first line and break the rest below it, which is worse than the wrap the float fixes.
   Below the width where the two stop fitting side by side, the badge gives up the float and takes its own
   line. 13rem is the card content width at which "Pending dispatch", the longest label, stops leaving
   usable room beside it. */
@container (max-width: 13rem) {
    [b-cs5nniafb1] .schedule-card-body > .schedule-badge {
        float: none;
        margin-left: 0;
        margin-bottom: 0.15rem;
        display: inline-block;
    }
}

[b-cs5nniafb1] .schedule-card-time {
    font-size: 0.74rem;
    color: var(--mud-palette-text-secondary);
    font-variant-numeric: tabular-nums;
}

[b-cs5nniafb1] .schedule-card-permit {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    /* Permit numbers are long hyphenated strings from two different jurisdictions' formats; without this a
       value with no break opportunity would run past the card edge rather than wrap inside it. */
    overflow-wrap: anywhere;
}

/* display: block so the type starts its own line, tight against the permit above it. */
[b-cs5nniafb1] .schedule-card-type {
    display: block;
    font-size: 0.82rem;
    color: var(--mud-palette-text-primary);
}

/* clear: right, because the badge floats: a short one-line headline would otherwise leave the float
   hanging beside this row and narrow it. Address left, inspector right, both on the card's last line. */
[b-cs5nniafb1] .schedule-card-footer {
    clear: right;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.5rem;
    margin-top: 0.15rem;
}

[b-cs5nniafb1] .schedule-card-address {
    min-width: 0;
    font-size: 0.76rem;
    color: var(--mud-palette-text-secondary);
}

/* margin-left: auto rather than relying on space-between, which would left-align the name on the cards
   that have no address to sit opposite. */
[b-cs5nniafb1] .schedule-inspector {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    min-width: 0;
    font-size: 0.74rem;
    color: var(--mud-palette-text-secondary);
}

[b-cs5nniafb1] .schedule-inspector-label {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* flex: 0 0 auto, because the dot is a flex item in the footer row now: a long address opposite a long
   name would otherwise squeeze the one thing carrying the inspector's colour toward nothing. */
[b-cs5nniafb1] .schedule-dot {
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--inspector-hue, var(--mud-palette-text-secondary));
}

/* .schedule-badge and its state variants live in site.css, as does .schedule-visually-hidden: the detail
   dialog renders under MudDialogProvider, outside this component's scope attribute, so a ::deep rule here
   could never reach it. */

.schedule-week-label[b-cs5nniafb1] {
    font-size: 0.8rem;
    font-weight: 600;
    min-width: 9rem;
    text-align: center;
}

.schedule-filter-anchor[b-cs5nniafb1] { position: relative; }
.schedule-filter-button[b-cs5nniafb1] { position: relative; border: 0; background: transparent; cursor: pointer; padding: 0.4rem; color: var(--mud-palette-text-primary); }
.schedule-filter-dot[b-cs5nniafb1] { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--mud-palette-primary); }
.schedule-filter-button > .schedule-filter-dot[b-cs5nniafb1] { position: absolute; top: 3px; right: 3px; }
.schedule-filter-menu[b-cs5nniafb1] { display: flex; align-items: flex-start; gap: 0.5rem; width: 26rem; max-width: calc(100vw - 2rem); }
.schedule-filter-list-card[b-cs5nniafb1], .schedule-filter-checklist-card[b-cs5nniafb1] { box-sizing: border-box; border: 1px solid var(--mud-palette-lines-default); border-radius: 8px; background: var(--mud-palette-surface); box-shadow: 0 4px 24px rgb(0 0 0 / 20%); }
.schedule-filter-menu > *[b-cs5nniafb1] { pointer-events: auto; }
.schedule-filter-list-card[b-cs5nniafb1] { flex: 0 0 9rem; width: 9rem; }
.schedule-filter-checklist-card[b-cs5nniafb1] { flex: 0 1 16rem; width: 16rem; min-width: 0; }
.schedule-filter-rail[b-cs5nniafb1] { padding: 0.4rem; }
.schedule-filter-row[b-cs5nniafb1] { display: flex; align-items: center; gap: 0.5rem; width: 100%; border: 0; background: transparent; padding: 0.5rem; text-align: left; cursor: pointer; color: inherit; }
.schedule-filter-row > span:first-child[b-cs5nniafb1] { flex: 1; }
.schedule-filter-row:hover[b-cs5nniafb1], .schedule-filter-row:focus-visible[b-cs5nniafb1], .schedule-filter-row[aria-selected="true"][b-cs5nniafb1] { background: var(--mud-palette-action-default-hover); }
.schedule-filter-row[aria-selected="true"][b-cs5nniafb1] { font-weight: 500; }
.schedule-filter-reset[b-cs5nniafb1] { display: flex; align-items: center; gap: 0.5rem; width: 100%; border: 0; border-top: 1px solid var(--mud-palette-lines-default); background: transparent; padding: 0.5rem; color: inherit; cursor: pointer; text-align: left; }
.schedule-filter-reset:hover[b-cs5nniafb1], .schedule-filter-reset:focus-visible[b-cs5nniafb1] { background: var(--mud-palette-action-default-hover); }
.schedule-filter-options[b-cs5nniafb1] { display: flex; min-width: 0; flex-direction: column; gap: 0.4rem; padding: 0.75rem; max-height: 20rem; overflow-y: auto; }
.schedule-filter-options label[b-cs5nniafb1] { display: flex; align-items: flex-start; gap: 0.5rem; min-width: 0; overflow-wrap: anywhere; }
.schedule-filter-options label span:first-of-type[b-cs5nniafb1] { flex: 1; min-width: 0; }
.schedule-filter-options label span:last-of-type:not(:first-of-type)[b-cs5nniafb1] { flex: none; margin-left: auto; }
.schedule-filter-options input[type="checkbox"][b-cs5nniafb1] { flex: 0 0 1rem; width: 1rem; height: 1rem; accent-color: var(--mud-palette-primary); }

@media (max-width: 600px) {
    .schedule-filter-menu[b-cs5nniafb1] { flex-direction: column; }
    .schedule-filter-list-card[b-cs5nniafb1], .schedule-filter-checklist-card[b-cs5nniafb1] { flex: 0 0 auto; width: 100%; }
    .schedule-filter-rail[b-cs5nniafb1] { display: flex; }
    .schedule-filter-row[b-cs5nniafb1] { flex: 1; width: auto; padding: 0.4rem; justify-content: center; }
    .schedule-filter-row > span:first-child[b-cs5nniafb1] { flex: 0 1 auto; }
    .schedule-filter-row[b-cs5nniafb1]  .mud-icon-root { display: none; }
}

[b-cs5nniafb1] .schedule-board-search {
    flex: 0 1 14rem;
    max-width: 14rem;
}

[b-cs5nniafb1] .schedule-weekend-toggle {
    margin-left: auto;
}

[b-cs5nniafb1] .schedule-weekend-toggle ~ .eb-grid-toolbar-actions {
    margin-left: 0;
}

@media (max-width: 768px) {
    [b-cs5nniafb1] .schedule-weekend-toggle {
        margin-left: 0;
    }
}

.schedule-hidden-note[b-cs5nniafb1] {
    font-size: 0.72rem;
    font-style: italic;
    color: var(--mud-palette-text-secondary);
}
/* /Components/Pages/Schedule/ScheduledInspectionDialog.razor.rz.scp.css */
/* Colours come from --mud-palette-* so AppTheme.cs stays the single source of truth and dark mode inherits. */

.schedule-detail-title[b-vsel7yj0wp] {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.schedule-detail-heading[b-vsel7yj0wp] {
    flex: 1;
    min-width: 0;
}

.schedule-detail-heading[b-vsel7yj0wp]  .schedule-detail-headline {
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.schedule-detail-site[b-vsel7yj0wp] {
    font-size: 0.875rem;
    color: var(--mud-palette-text-secondary);
}

.schedule-detail-title .schedule-badge[b-vsel7yj0wp] {
    margin-top: 0.3rem;
}

.schedule-detail-facts[b-vsel7yj0wp] {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 1.25rem;
    margin: 0;
}

/* An inspector with no name falls back to a long email address, which must wrap inside a phone-width dialog. */
.schedule-detail-facts .schedule-detail-field[b-vsel7yj0wp] {
    min-width: 0;
    max-width: 100%;
}

.schedule-detail-facts dd[b-vsel7yj0wp] {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin: 0;
    font-size: 0.9rem;
    color: var(--mud-palette-text-primary);
    overflow-wrap: anywhere;
}

.schedule-detail-facts[b-vsel7yj0wp]  .mud-icon-root {
    color: var(--mud-palette-text-secondary);
}

.schedule-detail-dot[b-vsel7yj0wp] {
    flex: 0 0 auto;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--inspector-hue, var(--mud-palette-text-secondary));
}

.schedule-detail-status[b-vsel7yj0wp] {
    margin: 0.35rem 0 0;
    font-size: 0.8rem;
    color: var(--mud-palette-text-secondary);
}

.schedule-detail-callout[b-vsel7yj0wp] {
    margin-top: 0.75rem;
    padding: 0.4rem 0.75rem;
    border-left: 3px solid;
    font-size: 0.8rem;
}

.schedule-detail-callout--warning[b-vsel7yj0wp] {
    border-color: var(--mud-palette-warning);
    background: var(--mud-palette-warning-hover);
}

.schedule-detail-callout--info[b-vsel7yj0wp] {
    border-color: var(--mud-palette-info);
    background: var(--mud-palette-info-hover);
}

.schedule-detail-list[b-vsel7yj0wp],
.schedule-detail-notes[b-vsel7yj0wp],
.schedule-detail-section[b-vsel7yj0wp] {
    margin: 1rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--mud-palette-divider-light);
}

.schedule-detail-list[b-vsel7yj0wp] {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    gap: 0.4rem 1.25rem;
    font-size: 0.875rem;
}

/* The field wrappers stay for the tests and for screen readers; the grid reads straight through them. */
.schedule-detail-list .schedule-detail-field[b-vsel7yj0wp] {
    display: contents;
}

.schedule-detail-list dt[b-vsel7yj0wp] {
    color: var(--mud-palette-text-secondary);
}

.schedule-detail-list dd[b-vsel7yj0wp] {
    margin: 0;
    overflow-wrap: anywhere;
}

.schedule-detail-notes dt[b-vsel7yj0wp] {
    font-size: 0.8rem;
    color: var(--mud-palette-text-secondary);
}

.schedule-detail-notes dd[b-vsel7yj0wp] {
    margin: 0.25rem 0 0;
    padding: 0.6rem 0.75rem;
    border-radius: var(--mud-default-borderradius);
    background: var(--mud-palette-background-gray);
    font-size: 0.875rem;
    white-space: pre-line;
    overflow-wrap: anywhere;
}

.schedule-detail-section-header[b-vsel7yj0wp] {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.25rem 1rem;
    margin-bottom: 0.4rem;
}

.schedule-detail-section-title[b-vsel7yj0wp] {
    font-size: 0.875rem;
    font-weight: 500;
}

.schedule-detail-recipients[b-vsel7yj0wp] {
    margin: 0 0 0.5rem;
    font-size: 0.85rem;
}

.schedule-detail-recipient[b-vsel7yj0wp] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    column-gap: 0.75rem;
    padding: 0.3rem 0;
}

.schedule-detail-recipient + .schedule-detail-recipient[b-vsel7yj0wp] {
    border-top: 1px solid var(--mud-palette-divider-light);
}

.schedule-detail-recipient dt[b-vsel7yj0wp] {
    flex: 1 1 12rem;
    min-width: 0;
    overflow-wrap: anywhere;
}

.schedule-detail-recipient dd[b-vsel7yj0wp] {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin: 0;
}

.schedule-detail-recipient .schedule-detail-note[b-vsel7yj0wp] {
    flex-basis: 100%;
}

.schedule-detail-muted[b-vsel7yj0wp] {
    font-size: 0.8rem;
    color: var(--mud-palette-text-secondary);
}

.schedule-detail-failed[b-vsel7yj0wp] {
    font-size: 0.8rem;
    color: var(--mud-palette-error);
}
/* /Components/Pages/Schedule/ScheduleInspectionCreateDialog.razor.rz.scp.css */
.schedule-create-notice-count[b-3le4jf7kwa] {
    color: var(--mud-palette-primary);
    border-bottom: 1px dotted currentColor;
    cursor: help;
}
/* /Components/Shared/NavigationCard.razor.rz.scp.css */
.welcome-card[b-2495iz0qga] {
    width: 20rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1),
        0px 2px 4px -2px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-radius: 1rem;
    color: var(--bs-link-color);
    padding: 2rem;
    text-decoration: none;
    position: relative;
    background-color: var(--bs-white);
}

.welcome-card:hover[b-2495iz0qga] {
    box-shadow: 0px 20px 25px -5px rgba(0, 0, 0, 0.1),
        0px 8px 10px -6px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.welcome-card-disabled[b-2495iz0qga] {
    opacity: 0.55;
    cursor: default;
}

/* Suppress the lift so a placeholder card doesn't read as clickable. */
.welcome-card-disabled:hover[b-2495iz0qga] {
    box-shadow: 0px 4px 6px -1px rgba(0, 0, 0, 0.1),
        0px 2px 4px -2px rgba(0, 0, 0, 0.1);
    transform: none;
}

.welcome-card .welcome-card-disabled-note[b-2495iz0qga] {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--bs-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.welcome-card .welcome-card-icon[b-2495iz0qga] {
    width: 4rem;
    height: 4rem;
    margin-top: 0.75rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.welcome-card .welcome-card-icon[b-2495iz0qga]  .mud-icon-root {
    width: 100%;
    height: 100%;
    font-size: 3rem;
}

.welcome-card-content[b-2495iz0qga] {
    text-align: center;
    z-index: 1;
}

.welcome-card .welcome-card-title[b-2495iz0qga] {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--bs-body-color);
}

.welcome-card .welcome-card-description[b-2495iz0qga] {
    font-size: 1rem;
    color: var(--bs-gray-600);
    margin-bottom: 0.5rem;
}

.welcome-card .welcome-card-back[b-2495iz0qga] {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bs-body-bg);
    opacity: 0.05;
    border-radius: 1rem;
    z-index: 0;
}

.welcome-card-link[b-2495iz0qga] {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 1;
}

.welcome-card-action[b-2495iz0qga] {
    display: block;
    margin: 0.75rem;
    padding: 0.5rem 1rem;
    background: #05303c;
    color: #fff;
    text-align: center;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.04);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    z-index: 2;
}

.welcome-card-action:hover[b-2495iz0qga] {
    background: #06405a;
    color: #fff;
    text-decoration: none;
}

/* Cards keep their default width down to phone size; the old intermediate 992px
   step (width: 18rem) was dropped so tablets show full-size cards like desktop. */
@media (max-width: 768px) {
    .welcome-card[b-2495iz0qga] {
        width: 100%;          /* Stretch to the row on phones... */
        max-width: 25rem;     /* ...but cap so a single card doesn't get oversized. */
    }
}
/* /Components/Shared/OrangeSpinner.razor.rz.scp.css */
.orange-spinner[b-jn748vi8w3] {
    display: inline-block;
    flex-shrink: 0;
    vertical-align: middle;
}

.orange-spinner-rind[b-jn748vi8w3],
.orange-spinner-wedge[b-jn748vi8w3] {
    fill: var(--bs-orange);
}

.orange-spinner-pith[b-jn748vi8w3] {
    fill: #fde2d6;
}

.orange-spinner-wedge[b-jn748vi8w3] {
    --cycle: 1.2s;
    opacity: 0.25;
    animation: orange-spinner-wedge-b-jn748vi8w3 var(--cycle) linear infinite;
    animation-delay: calc(var(--wedge) * var(--cycle) / 8);
}

@keyframes orange-spinner-wedge-b-jn748vi8w3 {
    0%, 100% { opacity: 0.25; }
    12% { opacity: 1; }
}

/* Slowed rather than stopped: a frozen loader reads as a hung page. */
@media (prefers-reduced-motion: reduce) {
    .orange-spinner-wedge[b-jn748vi8w3] {
        --cycle: 4s;
    }
}
/* /Components/Shared/PageLoading.razor.rz.scp.css */
/* flex: 1 claims whatever .page-body has left below the page header, so the spinner centres in the visible pane. */
.page-loading[b-a9yfq60yfp] {
    flex: 1 1 auto;
    min-height: 50vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

[b-a9yfq60yfp] .page-loading-label {
    color: var(--mud-palette-text-secondary);
}
