/* /Components/Layout/AdminLayout.razor.rz.scp.css */
.admin-shell[b-3gir8n5vk6] {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1100px;
}

.admin-sidebar[b-3gir8n5vk6] {
    flex: none;
    width: 200px;
    position: sticky;
    top: 1.5rem;
}

.admin-sidebar-title[b-3gir8n5vk6] {
    display: block;
    margin-bottom: 1rem;
    color: var(--gsh-navy);
    font-weight: 700;
    font-size: 1.05rem;
    text-decoration: none;
}

.admin-sidebar-nav[b-3gir8n5vk6] {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

    /* Same active-state language as the app's main sidebar (NavMenu.razor.css)
       — soft gold tint + gold left rail — so this reads as part of the same
       app, not a bolted-on admin skin. */
    .admin-sidebar-nav a[b-3gir8n5vk6] {
        display: block;
        padding: 0.55rem 0.75rem;
        border-radius: 0.75rem;
        color: var(--gsh-navy);
        opacity: 0.75;
        font-weight: 500;
        font-size: 0.92rem;
        text-decoration: none;
    }

    .admin-sidebar-nav a:hover[b-3gir8n5vk6] {
        background-color: rgba(0, 41, 93, 0.06);
        opacity: 1;
    }

    .admin-sidebar-nav a.active[b-3gir8n5vk6] {
        background-color: rgba(202, 156, 68, 0.16);
        opacity: 1;
        font-weight: 600;
        box-shadow: inset 3px 0 0 var(--gsh-gold);
    }

.admin-content[b-3gir8n5vk6] {
    flex: 1;
    min-width: 0;
}

@media (max-width: 640.98px) {
    .admin-shell[b-3gir8n5vk6] {
        flex-direction: column;
        gap: 1rem;
    }

    .admin-sidebar[b-3gir8n5vk6] {
        position: static;
        width: 100%;
    }

    .admin-sidebar-nav[b-3gir8n5vk6] {
        flex-direction: row;
        flex-wrap: wrap;
    }
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
.page[b-zoyzxmvtxr] {
    position: relative;
    display: flex;
    flex-direction: column;
}

main[b-zoyzxmvtxr] {
    flex: 1;
}

/* Light panel, not a navy fill (2026-08-08 redesign) — navy is now reserved
   for text/icons/the active nav item, not the sidebar's own background. A
   hair-thin border (rather than a shadow) is enough separation against the
   white content area at this contrast level. */
.sidebar[b-zoyzxmvtxr] {
    background-color: var(--gsh-bg);
    border-bottom: 1px solid #e3e6eb;
}

.impersonation-banner[b-zoyzxmvtxr] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    justify-content: center;
    background: var(--gsh-gold);
    color: var(--gsh-navy);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

    .impersonation-banner a[b-zoyzxmvtxr] {
        color: var(--gsh-navy);
        text-decoration: underline;
        font-weight: 700;
    }

[b-zoyzxmvtxr] .profile-reminder-banner {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    justify-content: center;
    background: var(--gsh-gold-light);
    color: var(--gsh-navy);
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
}

    [b-zoyzxmvtxr] .profile-reminder-banner a {
        color: var(--gsh-navy);
        text-decoration: underline;
        font-weight: 700;
    }

.top-row[b-zoyzxmvtxr] {
    background-color: #f7f7f7;
    border-bottom: 1px solid #d6d5d5;
    justify-content: flex-end;
    height: 3.5rem;
    display: flex;
    align-items: center;
}

    .top-row[b-zoyzxmvtxr]  a, .top-row[b-zoyzxmvtxr]  .btn-link {
        white-space: nowrap;
        margin-left: 1.5rem;
        text-decoration: none;
    }

    .top-row[b-zoyzxmvtxr]  a:hover, .top-row[b-zoyzxmvtxr]  .btn-link:hover {
        text-decoration: underline;
    }

    .top-row[b-zoyzxmvtxr]  a:first-child {
        overflow: hidden;
        text-overflow: ellipsis;
    }

/* Left cluster: text-size presets + Log Weight. margin-right:auto keeps the
   whole group pinned left while the top-row's flex-end alignment leaves room
   for anything added on the right later. */
.top-row-actions[b-zoyzxmvtxr] {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-right: auto;
}

.top-row-divider[b-zoyzxmvtxr] {
    width: 1px;
    height: 1.6rem;
    background: #d6d5d5;
}

/* Log Weight button — matches the text-size buttons (white, navy, rounded). */
.top-row[b-zoyzxmvtxr]  .log-weight-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-left: 0;
    border: 1px solid #c9c9c9;
    background: #fff;
    color: var(--gsh-navy);
    border-radius: 0.75rem; /* smaller than the app's 18px card/button scale — these are compact 2.2rem square toolbar controls, not content buttons */
    height: 2.2rem;
    padding: 0 0.7rem;
    font-size: 0.9rem;
    font-weight: 600;
}

    .top-row[b-zoyzxmvtxr]  .log-weight-btn:hover {
        background: #eef3fb;
        text-decoration: none;
    }

    .top-row[b-zoyzxmvtxr]  .log-weight-btn svg {
        display: block;
    }

.text-size-control[b-zoyzxmvtxr] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

    .text-size-control .tsc-label[b-zoyzxmvtxr] {
        font-size: 0.8rem;
        color: #555;
        margin-right: 0.1rem;
    }

    .text-size-control .fs-btn[b-zoyzxmvtxr] {
        border: 1px solid #c9c9c9;
        background: #fff;
        color: var(--gsh-navy);
        border-radius: 0.75rem; /* smaller than the app's 18px card/button scale — these are compact 2.2rem square toolbar controls, not content buttons */
        width: 2.2rem;
        height: 2.2rem;
        padding: 0;
        line-height: 1;
        font-weight: 600;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    /* The "A" on each button is sized to preview what it does. */
    .text-size-control .fs-btn.fs-100[b-zoyzxmvtxr] { font-size: 0.9rem; }
    .text-size-control .fs-btn.fs-125[b-zoyzxmvtxr] { font-size: 1.1rem; }
    .text-size-control .fs-btn.fs-150[b-zoyzxmvtxr] { font-size: 1.35rem; }

    .text-size-control .fs-btn:hover[b-zoyzxmvtxr] { background: #eef3fb; }

    .text-size-control .fs-btn.active[b-zoyzxmvtxr] {
        background: var(--gsh-navy);
        color: #fff;
        border-color: var(--gsh-navy);
    }

@media (max-width: 640.98px) {
    .top-row[b-zoyzxmvtxr] {
        justify-content: space-between;
    }

    .top-row[b-zoyzxmvtxr]  a, .top-row[b-zoyzxmvtxr]  .btn-link {
        margin-left: 0;
    }

    /* Save horizontal room on phones; the buttons alone are clear enough. */
    .text-size-control .tsc-label[b-zoyzxmvtxr] {
        display: none;
    }
}

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

    .sidebar[b-zoyzxmvtxr] {
        width: 240px;
        height: 100vh;
        position: sticky;
        top: 0;
        border-bottom: none;
        border-right: 1px solid #e3e6eb;
    }

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

    .top-row.auth[b-zoyzxmvtxr]  a:first-child {
        flex: 1;
        text-align: right;
        width: 0;
    }

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

#blazor-error-ui[b-zoyzxmvtxr] {
    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-zoyzxmvtxr] {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }
/* /Components/Layout/NavMenu.razor.rz.scp.css */
/* The checkbox itself stays in the DOM (it's what :checked and the JS
   .click() calls below drive) but isn't the visible button — same
   hidden-checkbox-plus-visible-label idiom as .nav-profile-toggle further
   down. */
.navbar-toggler[b-cihivua387] {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    width: 3.5rem;
    height: 2.5rem;
    opacity: 0;
    pointer-events: none;
}

.navbar-toggler-btn[b-cihivua387] {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    height: 2.5rem;
    padding: 0 0.9rem;
    color: var(--gsh-navy);
    border-radius: 0.75rem;
    border: 1px solid rgba(0, 41, 93, 0.15);
    background: #fff;
    font-size: 0.95rem;
    font-weight: 600;
}

    .navbar-toggler-btn[b-cihivua387]  .nav-icon {
        width: 1.35rem;
        height: 1.35rem;
        margin-right: 0;
    }

.navbar-toggler:checked ~ .navbar-toggler-btn[b-cihivua387] {
    background-color: #eef1f5;
}

.top-row[b-cihivua387] {
    min-height: 4.5rem;
    display: flex;
    align-items: center;
}

/* The wordmark logo — smaller lockup at the top, no boxed backing chip.
   The sidebar background is now light, so the navy logo reads directly
   against it without needing a white card behind it (unlike the old navy
   sidebar, where the chip was load-bearing for contrast). */
.navbar-brand[b-cihivua387] {
    display: flex;
    align-items: center;
    padding: 0.4rem 0;
}

/* px, not rem, deliberately — this is a brand mark, not body text. The
   Text Size control scales the root font-size (see wwwroot/js/fontsize.js),
   and since everything else here is rem-based that's exactly the point —
   but an <img> growing with a *text* zoom control isn't readability, it's
   a bug: at 150% the wordmark outgrew the sidebar and got clipped on the
   right (caught by Julie, 2026-08-14). Nav links/icons still scale on
   purpose; only the logo is pinned. */
.brand-logo[b-cihivua387] {
    height: 44px;
    width: auto;
    display: block;
}

/* ── Nav icons (NavIcon.razor) ── */
[b-cihivua387] .nav-icon {
    width: 1.15rem;
    height: 1.15rem;
    flex: none;
    margin-right: 0.7rem;
    vertical-align: -3px;
}

.nav-item[b-cihivua387] {
    font-size: 0.9rem;
    padding-bottom: 0.35rem;
}

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

    .nav-item[b-cihivua387]  .nav-link {
        color: var(--gsh-navy);
        opacity: 0.75;
        background: none;
        border: none;
        border-radius: 0.9rem;
        height: 2.9rem;
        display: flex;
        align-items: center;
        line-height: 1;
        width: 100%;
        padding-left: 0.9rem;
        padding-right: 0.75rem;
        font-weight: 500;
    }

/* Soft gold tint + gold left rail + a small star marker on the right —
   replaces the old heavy blue-gray rectangle. Full opacity text/icon so
   the active item reads clearly against the light tint. */
.nav-item[b-cihivua387]  a.active {
    background-color: rgba(202, 156, 68, 0.16);
    opacity: 1;
    color: var(--gsh-navy);
    font-weight: 600;
    box-shadow: inset 3px 0 0 var(--gsh-gold);
}

    .nav-item[b-cihivua387]  a.active::after {
        content: "★";
        margin-left: auto;
        color: var(--gsh-gold);
        font-size: 0.8rem;
        line-height: 1;
    }

/* Unread DM count — small solid-navy pill, deliberately not gold so it never reads as the
   active-item highlight above. Sits right after the "Messages" label; on the active nav item the
   ★ marker (a.active::after) still gets pushed to the far right by its own margin-left:auto,
   independent of this. */
.nav-unread-badge[b-cihivua387] {
    background: var(--gsh-navy);
    color: white;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1;
    padding: 0.2rem 0.4rem;
    margin-left: 0.5rem;
}

.nav-item[b-cihivua387]  .nav-link:hover {
    background-color: rgba(0, 41, 93, 0.06);
    opacity: 1;
    color: var(--gsh-navy);
}

/* ── Profile menu (avatar + name, click to expand) ── */
.nav-profile[b-cihivua387] {
    position: relative;
    padding-top: 0.6rem;
    margin-top: 0.6rem;
    border-top: 1px solid rgba(0, 41, 93, 0.1);
}

.nav-profile-toggle[b-cihivua387] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nav-profile-trigger[b-cihivua387] {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 0.4rem;
    border-radius: 0.9rem;
    cursor: pointer;
    color: var(--gsh-navy);
}

    .nav-profile-trigger:hover[b-cihivua387] {
        background-color: rgba(0, 41, 93, 0.06);
    }

.nav-profile-name[b-cihivua387] {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.88rem;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nav-profile-chevron[b-cihivua387] {
    flex: none;
    display: flex;
    color: var(--gsh-slate);
    transition: transform 0.15s ease;
}

    .nav-profile-chevron[b-cihivua387]  .nav-icon {
        width: 1rem;
        height: 1rem;
        margin-right: 0;
        transform: rotate(180deg); /* idle: chevron points down */
    }

.nav-profile-panel[b-cihivua387] {
    display: none;
    padding: 0.6rem 0.5rem 0.2rem;
}

.nav-profile-toggle:checked ~ .nav-profile-trigger .nav-profile-chevron[b-cihivua387]  .nav-icon {
    transform: rotate(0deg); /* expanded: chevron points up */
}

.nav-profile-toggle:checked ~ .nav-profile-panel[b-cihivua387] {
    display: block;
}

.nav-profile-email[b-cihivua387] {
    font-size: 0.72rem;
    color: var(--gsh-slate);
    overflow-wrap: anywhere;
    padding: 0 0.4rem;
}

.nav-profile-vertical[b-cihivua387] {
    font-size: 0.72rem;
    color: var(--gsh-slate);
    padding: 0.15rem 0.4rem 0;
}

[b-cihivua387] .nav-profile-signout {
    display: flex;
    align-items: center;
    color: var(--gsh-navy);
    opacity: 0.75;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.55rem 0.4rem 0.25rem;
    margin-top: 0.3rem;
    border-top: 1px solid rgba(0, 41, 93, 0.08);
}

    [b-cihivua387] .nav-profile-signout:hover {
        opacity: 1;
    }

    [b-cihivua387] .nav-profile-signout .nav-icon {
        margin-right: 0.6rem;
    }

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

.navbar-toggler:checked ~ .nav-scrollable[b-cihivua387] {
    display: flex;
    flex-direction: column;
}

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

    .nav-scrollable[b-cihivua387] {
        /* Never collapse the sidebar for wide screens */
        display: flex;
        flex-direction: column;

        /* Allow sidebar to scroll for tall menus. Kept in sync with .top-row's
           min-height below — the sidebar header is taller here than on
           mobile to give the bigger desktop logo room to breathe. */
        height: calc(100vh - 7.5rem);
        overflow-y: auto;
    }

    /* The persistent desktop sidebar has a lot of unused width/height next to
       the wordmark (no hamburger button competing for the space here) — sized
       up from the mobile logo to actually use it. First pass (3.75rem) was
       still too timid per Pete's follow-up — pushed further (2026-08-12). */
    .top-row[b-cihivua387] {
        min-height: 7.5rem;
    }

    /* px, not rem — see the base .brand-logo rule above for why. */
    .brand-logo[b-cihivua387] {
        height: 80px;
    }

    nav.nav.flex-column[b-cihivua387] {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-xqkri8l1ks],
.components-reconnect-repeated-attempt-visible[b-xqkri8l1ks],
.components-reconnect-failed-visible[b-xqkri8l1ks],
.components-pause-visible[b-xqkri8l1ks],
.components-resume-failed-visible[b-xqkri8l1ks],
.components-rejoining-animation[b-xqkri8l1ks] {
    display: none;
}

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


#components-reconnect-modal[b-xqkri8l1ks] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 3px 6px 2px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-xqkri8l1ks 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-xqkri8l1ks 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-xqkri8l1ks 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-xqkri8l1ks]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-xqkri8l1ks 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-xqkri8l1ks {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-xqkri8l1ks {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

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

    100% {
        opacity: 0;
    }
}

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

#components-reconnect-modal p[b-xqkri8l1ks] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-xqkri8l1ks] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-xqkri8l1ks] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-xqkri8l1ks] {
        background-color: #6b9ed2;
    }

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

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

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

@keyframes components-rejoining-animation-b-xqkri8l1ks {
    0% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    4.9% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 0;
    }

    5% {
        top: 40px;
        left: 40px;
        width: 0;
        height: 0;
        opacity: 1;
    }

    100% {
        top: 0px;
        left: 0px;
        width: 80px;
        height: 80px;
        opacity: 0;
    }
}
/* /Components/LinkCard.razor.rz.scp.css */
.link-card[b-56marr5rpq] {
    display: flex;
    flex-direction: column;
    border: 1px solid #e3e6eb;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #fff;
    text-decoration: none;
    color: inherit;
    height: 100%;
    transition: box-shadow .15s ease, transform .15s ease;
}

    .link-card:hover[b-56marr5rpq] {
        box-shadow: 0 6px 20px rgba(24, 48, 83, .12);
        transform: translateY(-2px);
    }

.link-card-img[b-56marr5rpq] {
    aspect-ratio: 16 / 9;
    background: #f1f3f6;
    overflow: hidden;
}

    .link-card-img img[b-56marr5rpq] {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.link-card-body[b-56marr5rpq] {
    padding: .9rem 1rem;
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.link-card-title[b-56marr5rpq] {
    font-weight: 600;
    color: var(--gsh-navy);
    line-height: 1.25;
}

.link-card-blurb[b-56marr5rpq] {
    font-size: .9rem;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.link-card-domain[b-56marr5rpq] {
    font-size: .78rem;
    color: var(--gsh-slate);
    margin-top: auto;
}
/* /Components/MessageReactions.razor.rz.scp.css */
.gsh-reactions[b-lmizy8yn0f] {
    display: inline-flex;
    gap: 0.65rem;
}

/* Same active-state color as the single-heart button this replaced (ChatRoom.razor.css's
   .chatroom-liked / DirectMessages.razor.css's .dm-liked) — repeated here rather than shared,
   same CSS-isolation reasoning those two files already note relative to each other. */
.gsh-reaction-active[b-lmizy8yn0f] {
    color: var(--gsh-navy, #00295D);
    font-weight: 600;
}

.gsh-reaction-btn[b-lmizy8yn0f],
.gsh-reaction-btn:hover[b-lmizy8yn0f],
.gsh-reaction-btn:focus[b-lmizy8yn0f] {
    text-decoration: none;
}
/* /Components/Pages/Chat.razor.rz.scp.css */
.chat-container[b-w2pv5cccay] {
    display: flex;
    flex-direction: column;
    height: calc(100vh - 60px);
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem;
    position: relative;
    background: var(--gsh-bg);
}

/* Shown over the chat until the Blazor circuit attaches, so the user sees a
   tidy "connecting" state instead of the brief, non-interactive prerender. */
.chat-loading-overlay[b-w2pv5cccay] {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background-color: #ffffff;
    color: var(--gsh-navy);
}

.chat-loading-overlay .spinner-border[b-w2pv5cccay] {
    color: var(--gsh-navy);
    width: 2.25rem;
    height: 2.25rem;
}

.summary-card[b-w2pv5cccay] {
    border: 1px solid var(--gsh-gold);
    background: #fffdf6;
    border-radius: 10px;
    padding: 0.85rem 1rem;
    margin-bottom: 0.75rem;
}

.summary-card-head[b-w2pv5cccay] {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gsh-navy);
    margin-bottom: 0.4rem;
}

.summary-card-body[b-w2pv5cccay] {
    color: #333;
    line-height: 1.6;
}

.summary-card-actions[b-w2pv5cccay] {
    margin-top: 0.6rem;
}

.chat-header[b-w2pv5cccay] {
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #dee2e6;
    margin-bottom: 1rem;
}

.chat-header h2[b-w2pv5cccay] {
    margin-bottom: 0.25rem;
}

/* Everything below the header — normally just a flex column where
   .message-list's flex:1 pushes .chat-input-area to the very bottom (the
   right behavior once a real conversation is underway). */
.chat-body[b-w2pv5cccay] {
    flex: 1;
    display: flex;
    flex-direction: column;
    /* Without this, a flex item's default min-height:auto can force it taller
       than its container based on .message-list's content, breaking the
       inner scrollbar (and, in the centered variant, breaking centering). */
    min-height: 0;
}

/* Fresh session, nothing asked yet: the message list (empty, or just a
   one-line greeting) shouldn't be forced to fill all remaining height only
   to shove the input to the bottom edge — center the whole small block
   instead, matching Claude.ai/ChatGPT's "empty chat" placement. */
.chat-body-centered[b-w2pv5cccay] {
    justify-content: center;
}

.chat-body-centered .message-list[b-w2pv5cccay] {
    flex: 0 1 auto;
    overflow-y: visible;
}

.message-list[b-w2pv5cccay] {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1.4rem; /* ~1.9x the old 0.75rem — more breathing room between turns */
    padding-bottom: 1rem;
}

.message[b-w2pv5cccay] {
    display: flex;
    gap: 0.6rem;
}

.message-user[b-w2pv5cccay] {
    justify-content: flex-end;
}

.message-assistant[b-w2pv5cccay] {
    justify-content: flex-start;
    align-items: flex-start;
}

.message-bubble[b-w2pv5cccay] {
    max-width: min(75%, 700px);
    padding: 0.75rem 1.1rem;
    border-radius: 1.25rem;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}

.message-user .message-bubble[b-w2pv5cccay] {
    background-color: var(--gsh-slate);
    color: white;
    border-bottom-right-radius: 0.35rem;
}

.message-assistant .message-bubble[b-w2pv5cccay] {
    background-color: var(--gsh-card-bg);
    color: #212529;
    border: 1px solid #E5E7EB;
    border-bottom-left-radius: 0.35rem;
}

/* Small circular "Guide Star" mark beside each assistant reply — reuses the
   ⭐ already used as this page's own icon (chat-header h2), rather than
   shrinking the full wordmark logo, which doesn't read at this size. */
.assistant-avatar[b-w2pv5cccay] {
    flex: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--gsh-navy);
    color: var(--gsh-gold-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    margin-top: 0.15rem;
}

.assistant-label[b-w2pv5cccay] {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gsh-slate);
    margin-bottom: 0.25rem;
}

/* Assistant bubble + its thumbs row, stacked and left-aligned */
.message-assistant-col[b-w2pv5cccay] {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: min(75%, 700px);
    min-width: 0;
}

.message-assistant-col .message-bubble[b-w2pv5cccay] {
    max-width: 100%;
}

/* User bubble, right-aligned */
.message-user-col[b-w2pv5cccay] {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    max-width: min(75%, 700px);
}

.message-user-col .message-bubble[b-w2pv5cccay] {
    max-width: 100%;
}

.message-feedback[b-w2pv5cccay] {
    display: flex;
    gap: 0.25rem;
    margin-top: 0.3rem;
}

.message-feedback button[b-w2pv5cccay] {
    line-height: 1;
    padding: 0.15rem 0.45rem;
}

.message-feedback-comment[b-w2pv5cccay] {
    margin-top: 0.4rem;
    width: 100%;
    max-width: 420px;
}

.chat-input-area[b-w2pv5cccay] {
    padding: 0.75rem 0 0;
}

/* Rounded floating card, not a full-bleed input bar — the textarea and its
   action buttons live inside this one shared container instead of Bootstrap's
   .input-group borders, so the whole thing reads as a single soft-edged box. */
.composer-box[b-w2pv5cccay] {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    background: var(--gsh-card-bg);
    border: 1px solid #E5E7EB;
    border-radius: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 41, 93, 0.06);
    padding: 0.6rem 0.6rem 0.6rem 1rem;
}

.composer-textarea[b-w2pv5cccay] {
    resize: none;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    padding: 0.4rem 0;
}

.composer-textarea:focus[b-w2pv5cccay] {
    outline: none;
}

.composer-actions[b-w2pv5cccay] {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex: none;
}

.composer-mic[b-w2pv5cccay] {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #E5E7EB;
    background: var(--gsh-card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex: none;
}

.composer-mic-active[b-w2pv5cccay] {
    background: #dc3545;
    border-color: #dc3545;
    color: white;
}

.composer-send[b-w2pv5cccay] {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gsh-gold);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    line-height: 1;
    padding: 0;
    flex: none;
}

.composer-send:hover:not(:disabled)[b-w2pv5cccay], .composer-send:focus:not(:disabled)[b-w2pv5cccay] {
    background: var(--gsh-navy);
    color: white;
}

.composer-send:disabled[b-w2pv5cccay] {
    background: var(--gsh-gold-light);
    color: white;
    opacity: 0.7;
}

.cursor-blink[b-w2pv5cccay] {
    animation: blink 1s step-end infinite;
}

@@keyframes blink {
    0%[b-w2pv5cccay], 100%[b-w2pv5cccay] { opacity: 1; }
    50%[b-w2pv5cccay] { opacity: 0; }
}
/* /Components/Pages/ChatRoom.razor.rz.scp.css */
.chatroom-message-list[b-0wnehlqo9q] {
    max-height: 60vh;
    overflow-y: auto;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 0.5rem;
    padding: 0.75rem;
}

.chatroom-message[b-0wnehlqo9q] {
    display: flex;
    gap: 0.6rem;
    padding: 0.5rem 0;
}

.chatroom-message + .chatroom-message[b-0wnehlqo9q] {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Separates one thread (root + its replies) from the next — .chatroom-message's own
   adjacent-sibling divider above still applies *within* a thread (between consecutive replies
   in .chatroom-replies below), since those remain direct siblings of each other. */
.chatroom-thread + .chatroom-thread[b-0wnehlqo9q] {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: 0.5rem;
    padding-top: 0.5rem;
}

.chatroom-replies[b-0wnehlqo9q] {
    margin-left: 2.5rem;
    padding-left: 0.75rem;
    border-left: 2px solid var(--bs-border-color, #dee2e6);
}

.chatroom-replies .chatroom-message[b-0wnehlqo9q] {
    padding: 0.35rem 0;
}

.chatroom-message-own .chatroom-message-meta span:first-child[b-0wnehlqo9q] {
    color: #00295D;
}

.chatroom-message-body[b-0wnehlqo9q] {
    flex: 1;
    min-width: 0;
}

.chatroom-message-meta[b-0wnehlqo9q] {
    display: flex;
    gap: 0.5rem;
    align-items: baseline;
}

/* Same bubble colors as the Ask Guide Star chat (Chat.razor.css's .message-bubble) — CSS
   isolation means those rules don't leak here, so the colors are repeated rather than shared.
   Own messages: --gsh-slate + white text. Everyone else's: --gsh-card-bg + a light border. */
.chatroom-message-text[b-0wnehlqo9q] {
    display: inline-block;
    max-width: 100%;
    padding: 0.6rem 0.95rem;
    border-radius: 1.1rem;
    border-bottom-left-radius: 0.3rem;
    background: var(--gsh-card-bg);
    color: #212529;
    border: 1px solid #E5E7EB;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.chatroom-message-own .chatroom-message-text[b-0wnehlqo9q] {
    background: var(--gsh-slate);
    color: white;
    border: none;
    border-bottom-left-radius: 1.1rem;
    border-bottom-right-radius: 0.3rem;
}

.chatroom-message-actions[b-0wnehlqo9q] {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.15rem;
}

/* Reaction picker's own active/underline styling now lives in MessageReactions.razor.css
   (shared with DirectMessages.razor since 2026-08-19's multi-reaction change) — nothing left to
   style here. */

.chatroom-reply-quote[b-0wnehlqo9q] {
    border-left: 3px solid var(--bs-border-color, #dee2e6);
    padding: 0.15rem 0 0.15rem 0.6rem;
    margin-bottom: 0.25rem;
    color: #6c757d;
    font-size: 0.85rem;
    overflow-wrap: anywhere;
}

.chatroom-replying-to[b-0wnehlqo9q] {
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 0.375rem;
    background: #f8f9fa;
    padding: 0.4rem 0.6rem;
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: #6c757d;
    overflow-wrap: anywhere;
}

.chatroom-compose textarea[b-0wnehlqo9q] {
    resize: none;
}

/* Same shape/colors as the Ask Guide Star chat's mic button (Chat.razor.css's .composer-mic) —
   repeated here for the same CSS-isolation reason as the bubble colors above. */
.chatroom-mic[b-0wnehlqo9q] {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #E5E7EB;
    background: var(--gsh-card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex: none;
}

.chatroom-mic-active[b-0wnehlqo9q] {
    background: #dc3545;
    border-color: #dc3545;
    color: white;
}
/* /Components/Pages/DirectMessages.razor.rz.scp.css */
.dm-message-list[b-66tmf3xy9x] {
    max-height: 60vh;
    overflow-y: auto;
    border: 1px solid var(--bs-border-color, #dee2e6);
    border-radius: 0.5rem;
    padding: 0.75rem;
}

.dm-message[b-66tmf3xy9x] {
    display: flex;
    padding: 0.35rem 0;
}

.dm-message-own[b-66tmf3xy9x] {
    justify-content: flex-end;
}

.dm-message-body[b-66tmf3xy9x] {
    max-width: 80%;
    min-width: 0;
}

.dm-message-own .dm-message-body[b-66tmf3xy9x] {
    text-align: right;
}

/* Same bubble colors as Chat Room / Ask Guide Star — CSS isolation means those rules don't leak
   here, so they're repeated rather than shared, same as ChatRoom.razor.css already does relative
   to Chat.razor.css. Own messages: --gsh-slate + white text. Their messages: --gsh-card-bg + a
   light border. */
.dm-message-text[b-66tmf3xy9x] {
    display: inline-block;
    max-width: 100%;
    padding: 0.6rem 0.95rem;
    border-radius: 1.1rem;
    border-bottom-left-radius: 0.3rem;
    background: var(--gsh-card-bg);
    color: #212529;
    border: 1px solid #E5E7EB;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    text-align: left;
}

.dm-message-own .dm-message-text[b-66tmf3xy9x] {
    background: var(--gsh-slate);
    color: white;
    border: none;
    border-bottom-left-radius: 1.1rem;
    border-bottom-right-radius: 0.3rem;
}

.dm-message-meta[b-66tmf3xy9x] {
    margin-top: 0.15rem;
}

/* Reaction picker's own active/underline styling now lives in MessageReactions.razor.css
   (shared with ChatRoom.razor since 2026-08-19's multi-reaction change) — nothing left to style
   here. */

.dm-compose textarea[b-66tmf3xy9x] {
    resize: none;
}

/* Same shape/colors as Chat Room's own mic button. */
.dm-mic[b-66tmf3xy9x] {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #E5E7EB;
    background: var(--gsh-card-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    flex: none;
}

.dm-mic-active[b-66tmf3xy9x] {
    background: #dc3545;
    border-color: #dc3545;
    color: white;
}
/* /Components/Pages/Messages.razor.rz.scp.css */
/* Small unread-conversation indicator — same navy pill color family as NavMenu's own
   .nav-unread-badge, but a plain dot here since the inbox row already shows enough context
   without needing a repeated count. */
.messages-unread-dot[b-bqieetsytc] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--gsh-navy, #00295D);
    flex-shrink: 0;
}
/* /Components/PartnerOfferCard.razor.rz.scp.css */
.partner-card[b-3xbpou6w5w] {
    display: flex;
    flex-direction: column;
    border: 1px solid #e3e6eb;
    border-radius: 1.25rem;
    overflow: hidden;
    background: #fff;
    height: 100%;
}

.partner-card-img[b-3xbpou6w5w] {
    aspect-ratio: 16 / 9;
    background: #f1f3f6;
    overflow: hidden;
}

    .partner-card-img img[b-3xbpou6w5w] {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.partner-card-body[b-3xbpou6w5w] {
    padding: .9rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .35rem;
    flex: 1 1 auto;
}

.partner-card-badge[b-3xbpou6w5w] {
    display: inline-block;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--gsh-navy);
    background: var(--gsh-gold-light);
    border-radius: .35rem;
    padding: .15rem .5rem;
}

.partner-card-headline[b-3xbpou6w5w] {
    font-weight: 600;
    color: var(--gsh-navy);
    line-height: 1.25;
}

.partner-card-text[b-3xbpou6w5w] {
    font-size: .9rem;
    color: #555;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.partner-card-cta[b-3xbpou6w5w] {
    margin-top: auto;
    align-self: stretch;
    text-align: center;
}
