/* /Components/AdmitForm.razor.rz.scp.css */
/* The unit on the "Admit to {unit}" page: part of the address, so shown as a value, not a
   control — the same weight as a chosen value, on the field's own line. */
.admit-fixed-unit[b-dyosgrgt40] {
    font-weight: 600;
    color: var(--bh-ink);
    padding: .375rem 0;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-gmg11wmrrx] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-gmg11wmrrx] {
    flex: 1;
    /* Allow the content column to shrink below its content's intrinsic width so
       wide tables scroll within it instead of clipping the whole page. */
    min-width: 0;
}

/* Make the content area a query container so .fit-heading can scale to the
   space actually available (excluding the sidebar). */
.content[b-gmg11wmrrx] {
    container-type: inline-size;
}

.sidebar[b-gmg11wmrrx] {
    background-image: linear-gradient(165deg, var(--navy-600) 0%, var(--navy) 55%, var(--navy-900) 100%);
    display: flex;
    flex-direction: column;
}

.sidebar-logo[b-gmg11wmrrx] {
    display: none;
}

    .sidebar-logo img[b-gmg11wmrrx] {
        display: block;
        width: 100%;
        max-width: 220px;
        height: auto;
    }

.top-row[b-gmg11wmrrx] {
    background-color: var(--surface-card);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-xs);
    justify-content: space-between;
    gap: 1rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    /* Adapt to the bar's OWN width (viewport minus the sidebar), not the viewport,
       so a half-width window collapses the badge/name just like a phone does.
       width:100% is required because inline-size containment otherwise shrink-wraps
       the bar instead of filling the main column. */
    container-type: inline-size;
    container-name: topbar;
    width: 100%;
}

.top-row-unit[b-gmg11wmrrx] { display: flex; align-items: center; gap: 0.75rem; min-width: 0; }

/* The unit badge itself (.unit-badge, -code, -name, --acute, --none) is global, in
   app.css: Admin → Units previews it too. */

.top-row-user[b-gmg11wmrrx] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    /* Allow the user block (and its name) to shrink rather than collide with the
       unit controls on the left. */
    min-width: 0;
}

.top-row-user-name[b-gmg11wmrrx] {
    color: var(--bh-navy);
    font-weight: 600;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.top-row-user .logout-form[b-gmg11wmrrx] { margin: 0; }

/* Shared pill button for the top bar — "Change unit" matches "Sign out". */
.top-bar-btn[b-gmg11wmrrx] {
    display: inline-flex;
    align-items: center;
    border: 1.5px solid var(--border-default);
    background: var(--surface-card);
    color: var(--bh-navy);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.3rem 0.95rem;
    border-radius: var(--radius-pill);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    /* The pill buttons stay whole; only the badge and name text shrink. */
    flex-shrink: 0;
    transition: border-color 0.18s ease, background 0.18s ease;
}

.top-bar-btn:hover[b-gmg11wmrrx] {
    border-color: var(--bh-navy);
    background: var(--bh-mint-tint);
    color: var(--bh-navy);
    text-decoration: none;
}

/* These react to the top bar's own width (see container-type above), so they fire
   for a half-width desktop window with the sidebar visible — not just phones. */
@container topbar (max-width: 680px) {
    /* Keep just the code badge so the unit never gets cut off. */
    .unit-badge-name[b-gmg11wmrrx] { display: none; }
}

@container topbar (max-width: 470px) {
    /* Too tight for the user name. */
    .top-row-user-name[b-gmg11wmrrx] { display: none; }
}

@container topbar (max-width: 420px) {
    /* A phone: four pills (Change unit, Tasks, Sign out and the unit badge) only fit when
       they tighten up — the bar must never scroll the page sideways. */
    .top-row[b-gmg11wmrrx] { gap: 0.5rem; }
    .top-row-user[b-gmg11wmrrx] { gap: 0.5rem; }
    .top-bar-btn[b-gmg11wmrrx] { padding: 0.25rem 0.6rem; font-size: 0.8rem; }
}

@media (min-width: 641px) {
    .page[b-gmg11wmrrx] {
        flex-direction: row;
    }

    .sidebar[b-gmg11wmrrx] {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .sidebar-logo[b-gmg11wmrrx] {
        display: block;
        margin-top: auto;
        padding: 1rem 1.25rem 1.5rem;
    }

    .top-row[b-gmg11wmrrx] {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .top-row[b-gmg11wmrrx], article[b-gmg11wmrrx] {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }
}

#blazor-error-ui[b-gmg11wmrrx] {
    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-gmg11wmrrx] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* The Tasks pill, left of the user name: "Tasks · 12". While something is owed it takes the
   primary CTA's coral border, with the darker alert ink for the text so it keeps AA contrast. */
.top-bar-tasks.has-tasks[b-gmg11wmrrx] {
    border-color: var(--coral-600);
    color: var(--bh-alert-ink);
}

.top-bar-tasks.has-tasks:hover[b-gmg11wmrrx] {
    border-color: var(--coral-600);
    background: var(--coral-50);
    color: var(--bh-alert-ink);
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-865yt9jhvo] {
    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);
}

.navbar-toggler:checked[b-865yt9jhvo] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-865yt9jhvo] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.18);
    border-bottom: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.05rem 1rem 0.95rem;
}

/* Brand lockup: two stacked lines, centred in the band, with no wrapping so the
   name never breaks mid-phrase. Bootstrap's navbar-brand spacing is reset. */
.navbar-brand[b-865yt9jhvo] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    margin: 0;
    padding: 0;
    color: #fff;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
}

.brand-name[b-865yt9jhvo] {
    font-family: var(--font-display);
    font-size: 1.08rem;
    font-weight: var(--fw-bold);
    letter-spacing: 0.01em;
    line-height: 1.1;
}

/* Small-caps descriptor in the brand's mint, tracked wide; the trailing
   letter-space is pulled back so the word sits optically centred. */
.brand-kicker[b-865yt9jhvo] {
    font-family: var(--font-display);
    font-size: 0.64rem;
    font-weight: var(--fw-semibold);
    letter-spacing: 0.22em;
    margin-right: -0.22em;
    text-transform: uppercase;
    line-height: 1;
    color: var(--bh-mint);
}

.navbar-brand:hover .brand-name[b-865yt9jhvo],
.navbar-brand:focus-visible .brand-name[b-865yt9jhvo] {
    color: #fff;
}

/* Collapsed (phone) layout: the band is a bar with the menu toggle at its right,
   so the lockup sits left and leaves the toggle its room. */
@media (max-width: 640px) {
    .top-row[b-865yt9jhvo] {
        justify-content: flex-start;
        padding: 0.55rem 5rem 0.55rem 1rem;
    }

    .navbar-brand[b-865yt9jhvo] {
        align-items: flex-start;
        text-align: left;
    }
}

.bi[b-865yt9jhvo] {
    display: inline-block;
    position: relative;
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.75rem;
    top: -1px;
    background-size: cover;
}

.bi-house-door-fill-nav-menu[b-865yt9jhvo] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-house-door-fill' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 14.5v-3.505c0-.245.25-.495.5-.495h2c.25 0 .5.25.5.5v3.5a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5v-7a.5.5 0 0 0-.146-.354L13 5.793V2.5a.5.5 0 0 0-.5-.5h-1a.5.5 0 0 0-.5.5v1.293L8.354 1.146a.5.5 0 0 0-.708 0l-6 6A.5.5 0 0 0 1.5 7.5v7a.5.5 0 0 0 .5.5h4a.5.5 0 0 0 .5-.5Z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-865yt9jhvo] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M3 14s-1 0-1-1 1-4 6-4 6 3 6 4-1 1-1 1H3zm5-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z'/%3E%3C/svg%3E");
}

.bi-people-nav-menu[b-865yt9jhvo] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M7 14s-1 0-1-1 1-4 5-4 5 3 5 4-1 1-1 1H7zm4-6a3 3 0 1 0 0-6 3 3 0 0 0 0 6z'/%3E%3Cpath d='M5.216 14A2.238 2.238 0 0 1 5 13c0-1.355.68-2.75 1.936-3.72A6.325 6.325 0 0 0 5 9c-4 0-5 3-5 4s1 1 1 1h4.216z'/%3E%3Cpath d='M4.5 8a2.5 2.5 0 1 0 0-5 2.5 2.5 0 0 0 0 5z'/%3E%3C/svg%3E");
}

.bi-reports-nav-menu[b-865yt9jhvo] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M1 11a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v3a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1v-3zm5-4a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V7zm5-5a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1V2z'/%3E%3C/svg%3E");
}

.bi-tasks-nav-menu[b-865yt9jhvo] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M3 14.5A1.5 1.5 0 0 1 1.5 13V3A1.5 1.5 0 0 1 3 1.5h8a.5.5 0 0 1 0 1H3a.5.5 0 0 0-.5.5v10a.5.5 0 0 0 .5.5h10a.5.5 0 0 0 .5-.5V8a.5.5 0 0 1 1 0v5a1.5 1.5 0 0 1-1.5 1.5H3z'/%3E%3Cpath d='M8.354 10.354l7-7a.5.5 0 0 0-.708-.708L8 9.293 5.354 6.646a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0z'/%3E%3C/svg%3E");
}

.bi-logbook-nav-menu[b-865yt9jhvo] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M3 0h10a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm0 1a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1H3z'/%3E%3Cpath d='M5 4h6a.5.5 0 0 1 0 1H5a.5.5 0 0 1 0-1zm0 3h6a.5.5 0 0 1 0 1H5a.5.5 0 0 1 0-1zm0 3h4a.5.5 0 0 1 0 1H5a.5.5 0 0 1 0-1z'/%3E%3C/svg%3E");
}

.bi-help-nav-menu[b-865yt9jhvo] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14zm0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16z'/%3E%3Cpath d='M5.255 5.786a.237.237 0 0 0 .241.247h.825c.138 0 .248-.113.266-.25.09-.656.54-1.134 1.342-1.134.686 0 1.314.343 1.314 1.168 0 .635-.374.927-.965 1.371-.673.489-1.206 1.06-1.168 1.987l.003.217a.25.25 0 0 0 .25.246h.811a.25.25 0 0 0 .25-.25v-.105c0-.718.273-.927 1.01-1.486.609-.463 1.244-.977 1.244-2.056 0-1.511-1.276-2.241-2.673-2.241-1.267 0-2.655.59-2.75 2.286zm1.557 5.763c0 .533.425.927 1.01.927.609 0 1.028-.394 1.028-.927 0-.552-.42-.94-1.029-.94-.584 0-1.009.388-1.009.94z'/%3E%3C/svg%3E");
}

.bi-admin-nav-menu[b-865yt9jhvo] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M8 4.754a3.246 3.246 0 1 0 0 6.492 3.246 3.246 0 0 0 0-6.492zM5.754 8a2.246 2.246 0 1 1 4.492 0 2.246 2.246 0 0 1-4.492 0z'/%3E%3Cpath d='M9.796 1.343c-.527-1.79-3.065-1.79-3.592 0l-.094.319a.873.873 0 0 1-1.255.52l-.292-.16c-1.64-.892-3.433.902-2.54 2.541l.159.292a.873.873 0 0 1-.52 1.255l-.319.094c-1.79.527-1.79 3.065 0 3.592l.319.094a.873.873 0 0 1 .52 1.255l-.16.292c-.892 1.64.901 3.434 2.541 2.54l.292-.159a.873.873 0 0 1 1.255.52l.094.319c.527 1.79 3.065 1.79 3.592 0l.094-.319a.873.873 0 0 1 1.255-.52l.292.16c1.64.893 3.434-.902 2.54-2.541l-.159-.292a.873.873 0 0 1 .52-1.255l.319-.094c1.79-.527 1.79-3.065 0-3.592l-.319-.094a.873.873 0 0 1-.52-1.255l.16-.292c.893-1.64-.902-3.433-2.541-2.54l-.292.159a.873.873 0 0 1-1.255-.52l-.094-.319zm-2.633.283c.246-.835 1.428-.835 1.674 0l.094.319a1.873 1.873 0 0 0 2.693 1.115l.291-.16c.764-.415 1.6.42 1.184 1.185l-.159.292a1.873 1.873 0 0 0 1.116 2.692l.318.094c.835.246.835 1.428 0 1.674l-.319.094a1.873 1.873 0 0 0-1.115 2.693l.16.291c.415.764-.42 1.6-1.185 1.184l-.291-.159a1.873 1.873 0 0 0-2.693 1.116l-.094.318c-.246.835-1.428.835-1.674 0l-.094-.319a1.873 1.873 0 0 0-2.692-1.115l-.292.16c-.764.415-1.6-.42-1.184-1.185l.159-.291A1.873 1.873 0 0 0 1.945 8.93l-.319-.094c-.835-.246-.835-1.428 0-1.674l.319-.094A1.873 1.873 0 0 0 3.06 4.377l-.16-.292c-.415-.764.42-1.6 1.185-1.184l.292.159a1.873 1.873 0 0 0 2.692-1.115l.094-.319z'/%3E%3C/svg%3E");
}

.nav-item[b-865yt9jhvo] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-865yt9jhvo] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-865yt9jhvo] {
        padding-bottom: 1rem;
    }

    .nav-item[b-865yt9jhvo]  .nav-link {
        color: #eaf5ef;
        background: none;
        border: none;
        border-left: 3px solid transparent;
        border-radius: 4px;
        padding-left: 0.6rem;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-865yt9jhvo]  a.active {
    background-color: rgba(255,255,255,0.16);
    border-left-color: var(--bh-sienna);
    color: white;
    font-weight: 500;
}

.nav-item[b-865yt9jhvo]  .nav-link:hover {
    background-color: rgba(255,255,255,0.12);
    color: white;
}

.nav-scrollable[b-865yt9jhvo] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-865yt9jhvo] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-865yt9jhvo] {
        display: none;
    }

    .nav-scrollable[b-865yt9jhvo] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Flex to fill the space above the bottom logo; scroll if tall */
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
/* The reconnect dialog in the Bayside kit: cream card, navy text, Hanken Grotesk heading,
   coral primary pill (Retry/Resume) and a navy ghost pill (Reload). Which lines show is
   driven by the state class Blazor puts on the dialog. */
.components-reconnect-first-attempt-visible[b-sk1ovu35iv],
.components-reconnect-repeated-attempt-visible[b-sk1ovu35iv],
.components-reconnect-failed-visible[b-sk1ovu35iv],
.components-pause-visible[b-sk1ovu35iv],
.components-resume-failed-visible[b-sk1ovu35iv],
.components-rejoining-animation[b-sk1ovu35iv] {
    display: none;
}

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

/* Blazor keeps the "show" class while it adds "retrying", so the first-attempt lines must
   step aside for the repeated-attempt ones. */
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-first-attempt-visible[b-sk1ovu35iv] {
    display: none;
}

#components-reconnect-modal[b-sk1ovu35iv] {
    background-color: var(--bh-bg, #F5FBF1);
    color: var(--bh-navy, #1B3757);
    width: min(24rem, calc(100vw - 2rem));
    margin: 18vh auto;
    padding: 1.75rem 1.75rem 1.5rem;
    border: 1px solid var(--border-subtle, #dfe6ec);
    border-radius: var(--radius-lg, 16px);
    box-shadow: var(--shadow-lg, 0 12px 32px rgba(27, 55, 87, 0.18));
    font-family: var(--font-body, "Source Sans 3", sans-serif);
    opacity: 0;
    transition: display 0.4s allow-discrete, overlay 0.4s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-sk1ovu35iv 0.4s both;
}

#components-reconnect-modal[open][b-sk1ovu35iv] {
    animation: components-reconnect-modal-slideUp-b-sk1ovu35iv 0.6s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-sk1ovu35iv 0.4s ease-in-out 0.3s;
    animation-fill-mode: both;
}

#components-reconnect-modal[b-sk1ovu35iv]::backdrop {
    background-color: rgba(27, 55, 87, 0.35);
    animation: components-reconnect-modal-fadeInOpacity-b-sk1ovu35iv 0.4s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-sk1ovu35iv {
    0% { transform: translateY(24px) scale(0.97); }
    100% { transform: translateY(0); }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-sk1ovu35iv {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

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

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

.components-reconnect-title[b-sk1ovu35iv] {
    margin: 0;
    font-family: var(--font-display, "Hanken Grotesk", sans-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--bh-navy, #1B3757);
    text-align: center;
}

#components-reconnect-modal p[b-sk1ovu35iv] {
    margin: 0;
    text-align: center;
    font-size: 0.95rem;
    line-height: 1.45;
    color: var(--bh-ink, #1B3757);
}

.components-reconnect-actions[b-sk1ovu35iv] {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

#components-reconnect-modal button[b-sk1ovu35iv] {
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.45rem 1.4rem;
    border-radius: var(--radius-pill, 999px);
    cursor: pointer;
}

#components-reconnect-modal button:focus-visible[b-sk1ovu35iv] {
    outline: none;
    box-shadow: var(--ring-focus, 0 0 0 3px rgba(60, 124, 194, 0.45));
}

#components-reconnect-modal .components-reconnect-primary[b-sk1ovu35iv] {
    border: 1px solid var(--bh-cta, #d85a3c);
    background-color: var(--bh-cta, #d85a3c);
    color: #fff;
}

#components-reconnect-modal .components-reconnect-primary:hover[b-sk1ovu35iv] {
    background-color: var(--bh-cta-hover, #c14e30);
    border-color: var(--bh-cta-hover, #c14e30);
}

#components-reconnect-modal .components-reconnect-secondary[b-sk1ovu35iv] {
    border: 1px solid var(--bh-navy, #1B3757);
    background-color: transparent;
    color: var(--bh-navy, #1B3757);
}

#components-reconnect-modal .components-reconnect-secondary:hover[b-sk1ovu35iv] {
    background-color: var(--surface-sunken, #eef2f5);
}

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

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

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

@keyframes components-rejoining-animation-b-sk1ovu35iv {
    0% { top: 32px; left: 32px; width: 0; height: 0; opacity: 0; }
    4.9% { top: 32px; left: 32px; width: 0; height: 0; opacity: 0; }
    5% { top: 32px; left: 32px; width: 0; height: 0; opacity: 1; }
    100% { top: 0; left: 0; width: 64px; height: 64px; opacity: 0; }
}

/* No movement for those who ask for none: the dialog simply appears, and the rejoin
   rings stand still as a single coral circle. */
@media (prefers-reduced-motion: reduce) {
    #components-reconnect-modal[b-sk1ovu35iv],
    #components-reconnect-modal[open][b-sk1ovu35iv],
    #components-reconnect-modal[b-sk1ovu35iv]::backdrop {
        animation: none;
        opacity: 1;
        transition: none;
    }

    .components-rejoining-animation div[b-sk1ovu35iv] {
        animation: none;
        top: 0;
        left: 0;
        width: 64px;
        height: 64px;
        opacity: 1;
    }

    .components-rejoining-animation div:nth-child(2)[b-sk1ovu35iv] {
        display: none;
    }
}
/* /Components/Pages/Admin/Admin.razor.rz.scp.css */
/* The figure a data tool's tile carries ("· 3 incomplete"): the description's muted text,
   a little firmer so it reads as the tile's status. */
.admin-tool-count[b-rg61jp7drs] {
    font-weight: 600;
    color: var(--bh-ink);
}
/* /Components/Pages/Patients/AdmissionDetail.razor.rz.scp.css */
/* Solid pill labels in the admission header. */
.readmission-badge[b-movl1gw4me], .transfer-badge[b-movl1gw4me] {
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4em 0.8em;
    border-radius: var(--radius-pill);
}

/* Sienna: the admission is an unplanned readmission. */
.readmission-badge[b-movl1gw4me] { background-color: var(--bh-sienna); }

/* Navy: the admission was created by an inter-unit transfer of care. Links to the
   related admission (source on the new one, destination on the old). */
.transfer-badge[b-movl1gw4me] {
    background-color: var(--bh-navy);
    text-decoration: none;
}
.transfer-badge:hover[b-movl1gw4me] { color: #fff; opacity: 0.9; }
.transfer-badge--out[b-movl1gw4me] { background-color: var(--grey-500); }

/* /Components/Pages/Reports/Outcomes.razor.rz.scp.css */
/* Outcomes by consultant: the wide figures table, the drill-down's selected count and the
   month sparklines. Colours and type come from the kit's tokens (app.css / design-tokens.css). */

/* Nine tiles: let the strip use the page's width rather than the kit's 920px. */
.outcomes-kpis[b-a240rdf76q] {
    max-width: none;
}

.outcomes-scroll[b-a240rdf76q] {
    max-height: 70vh;
}

.outcomes-table[b-a240rdf76q] {
    font-size: .85rem;
    white-space: nowrap;
}

.outcomes-table thead th[b-a240rdf76q] {
    position: sticky;
    top: 0;
    z-index: 2;
    background: var(--surface-card);
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .03em;
    color: var(--bh-muted);
    border-bottom: 2px solid var(--bh-navy);
    vertical-align: bottom;
    white-space: normal;
    min-width: 5.5rem;
}

/* The name column stays in view while the figures scroll sideways. */
.outcomes-table .outcomes-name[b-a240rdf76q] {
    position: sticky;
    left: 0;
    z-index: 1;
    background: var(--surface-card);
    text-align: left;
    font-weight: 600;
    min-width: 11rem;
    max-width: 16rem;
    white-space: normal;
    box-shadow: 1px 0 0 var(--border-subtle);
}

.outcomes-table thead .outcomes-name[b-a240rdf76q] {
    z-index: 3;
}

.outcomes-table .num[b-a240rdf76q] {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.outcomes-rate[b-a240rdf76q] {
    font-size: .74rem;
    color: var(--bh-muted);
}

.outcomes-unattributed .outcomes-name[b-a240rdf76q] {
    font-weight: 400;
    font-style: italic;
    color: var(--bh-muted);
}

.outcomes-total th[b-a240rdf76q],
.outcomes-total td[b-a240rdf76q] {
    background: var(--teal-50);
    border-top: 2px solid var(--bh-navy);
    font-weight: 700;
    color: var(--bh-navy);
}

.outcomes-total .outcomes-name[b-a240rdf76q] {
    background: var(--teal-50);
}

.outcomes-count[b-a240rdf76q] {
    font-weight: 600;
    font-size: inherit;
    line-height: inherit;
    border: 0;
    vertical-align: baseline;
    text-decoration: none;
}

.outcomes-count:hover[b-a240rdf76q],
.outcomes-count:focus-visible[b-a240rdf76q] {
    text-decoration: underline;
}

.outcomes-count.is-selected[b-a240rdf76q] {
    text-decoration: underline;
    text-decoration-thickness: 2px;
}

.outcomes-sparks[b-a240rdf76q] {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
    gap: .75rem;
}

.outcomes-spark[b-a240rdf76q] {
    padding: .6rem .75rem;
}

.outcomes-spark[b-a240rdf76q]  svg {
    display: block;
    margin-top: .3rem;
    max-width: 100%;
    height: auto;
}

.outcomes-notes ul[b-a240rdf76q] {
    padding-left: 1.1rem;
}

.outcomes-notes li + li[b-a240rdf76q] {
    margin-top: .2rem;
}
/* /Components/Pages/Reports/Reports.razor.rz.scp.css */
/* The reports hub: the filter bar pinned under the top bar while the tiles scroll, the
   report tiles (the admin hub's .admin-tools/.admin-tool grid, widened to three across),
   the downloads panel and the saved views. */

.reports-bar[b-hccbg58u10] {
    max-width: 1100px;
}
/* Pinned only where there is room: on a phone the wrapped bar would cover half the screen. */
@media (min-width: 641px) {
    .reports-bar[b-hccbg58u10] {
        position: sticky;
        top: 3.5rem;
        z-index: 5;
    }
}
.reports-identity .small[b-hccbg58u10] {
    margin-top: .1rem;
    max-width: 15rem;
}

.report-tiles[b-hccbg58u10] {
    max-width: 1100px;
}
/* What the tile will open for: "GS1 · 25/10–31/10 · de-identified". */
.report-tile-for[b-hccbg58u10] {
    margin-top: .3rem;
    font-size: .76rem;
    color: var(--bh-muted);
    letter-spacing: .01em;
}
/* A tile with buttons of its own (the meeting deck) is not itself a link. */
.report-tile-actions[b-hccbg58u10] {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .6rem;
}
/* The meeting deck spreads across the row while it carries the missing-NSQIP warning. */
.report-tile--wide[b-hccbg58u10] {
    grid-column: 1 / -1;
}
/* A link tile without an address (the period is backwards): visibly off. */
a.report-tile:not([href])[b-hccbg58u10] {
    opacity: .55;
    cursor: not-allowed;
}
/* The Downloads tile is a button that opens the panel below the grid: a tile in every way. */
.report-tile--button[b-hccbg58u10] {
    width: 100%;
    text-align: left;
    font: inherit;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.report-tile--button:hover[b-hccbg58u10],
.report-tile--open[b-hccbg58u10] {
    border-color: var(--bh-navy);
    box-shadow: 0 8px 20px -14px rgba(27, 55, 87, .6);
}
.report-tile--button:hover[b-hccbg58u10] {
    transform: translateY(-1px);
}
.report-tile--button:focus-visible[b-hccbg58u10] {
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
}

.report-downloads[b-hccbg58u10],
.saved-views[b-hccbg58u10] {
    max-width: 1100px;
}

.saved-views .list-card[b-hccbg58u10] {
    max-width: none;
}
.saved-view-star[b-hccbg58u10] {
    color: var(--bh-navy);
    flex: 0 0 auto;
}
.saved-view-actions[b-hccbg58u10] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: .4rem;
    flex: 0 0 auto;
}
@media (max-width: 576px) {
    .saved-view-row[b-hccbg58u10] {
        flex-wrap: wrap;
    }
    .saved-view-actions[b-hccbg58u10] {
        width: 100%;
        justify-content: flex-start;
        padding-left: 1.6rem;
    }
}
/* /Components/Pages/Tasks.razor.rz.scp.css */
/* The Tasks inbox. The rows are the kit's list-card / list-row; only what is new lives here. */

/* Whose tasks: the unit pills, the consultant select and "Mine" on one wrapping line. */
.tasks-bar[b-mkg63zeyw0] {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .6rem;
    margin-bottom: 1rem;
    max-width: 920px;
}

.tasks-consultant[b-mkg63zeyw0] {
    width: auto;
    max-width: 16rem;
}

.tasks-card[b-mkg63zeyw0] {
    margin-bottom: 1rem;
}

/* The kind's heading is a real heading (h2) dressed as the kit's group head. */
h2.tasks-kind-head[b-mkg63zeyw0] {
    margin: 0;
    font-family: inherit;
    line-height: 1.3;
}

.tasks-ur[b-mkg63zeyw0] {
    flex-shrink: 0;
    font-size: .8rem;
    font-weight: 400;
    color: var(--bh-muted);
}

.tasks-consultant-name[b-mkg63zeyw0] {
    font-weight: 600;
    color: var(--bh-ink);
}

.tasks-sep[b-mkg63zeyw0] {
    margin: 0 .35rem;
    color: var(--grey-300);
}

.tasks-wait[b-mkg63zeyw0] {
    flex-shrink: 0;
    white-space: nowrap;
}

/* Fix: a coral outline pill — the primary CTA's colour, quieter than a filled button since
   a list carries one per row. The text takes the darker alert ink to keep AA contrast. */
.tasks-fix[b-mkg63zeyw0] {
    --bs-btn-color: var(--bh-alert-ink);
    --bs-btn-border-color: var(--bh-cta);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--bh-cta);
    --bs-btn-hover-border-color: var(--bh-cta);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--bh-cta-hover);
    --bs-btn-active-border-color: var(--bh-cta-hover);
    flex-shrink: 0;
    border-width: 1.5px;
    border-radius: var(--radius-pill);
    font-weight: 600;
    padding-inline: .95rem;
}

.tasks-more[b-mkg63zeyw0] {
    font-size: .8rem;
    color: var(--bh-muted);
}

/* A phone: the chip and Fix drop under the text rather than squeezing it. */
@media (max-width: 640px) {
    .tasks-row[b-mkg63zeyw0] {
        flex-wrap: wrap;
        row-gap: .4rem;
    }

    .tasks-row .list-row-main[b-mkg63zeyw0] {
        flex: 1 0 100%;
    }
}
/* /Components/Pages/Units/AdmitToUnit.razor.rz.scp.css */
/* Step 2's patient banner: the patient the admission is about, kept in view above the form
   so the wrong-patient check happens before anything is entered. */
.admit-patient .avatar[b-pwszdv6wke] {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
}
/* /Components/SaveViewButton.razor.rz.scp.css */
/* "☆ Save this view": the button, or the inline name prompt in its place. The prompt
   wraps under a narrow page head rather than pushing it sideways. */
.save-view[b-724vsf4viu] {
    display: inline-flex;
    flex-direction: column;
    gap: .35rem;
    max-width: 100%;
}
.save-view-form[b-724vsf4viu] {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .35rem;
}
.save-view-name[b-724vsf4viu] {
    width: 18rem;
    max-width: 100%;
}
.save-view[b-724vsf4viu]  .form-errors {
    margin: 0;
    padding: .35rem .6rem;
    font-size: .85rem;
}
/* In a narrow page head the header buttons share the row (app.css); the button's wrapper
   takes its share too, and the prompt the whole row. */
@media (max-width: 576px) {
    .save-view[b-724vsf4viu] {
        flex: 1 1 auto;
    }
    .save-view-name[b-724vsf4viu] {
        width: 100%;
    }
}
