/* /Layout/MainLayout.razor.rz.scp.css */
/* Tenant frame — responsive shell (blueprint §7). Mobile-first: content + bottom tab bar.
   At >=768px the tab bar is replaced by a persistent left rail. */

.shell[b-ww8dd0dah9] {
    min-height: 100vh;
    display: grid;
    grid-template-rows: 1fr auto;   /* content, then the mobile dock (account + tab bar) */
}

.rail[b-ww8dd0dah9] { display: none; }

.canvas[b-ww8dd0dah9] {
    min-width: 0;
    overflow-x: hidden;
}

.content[b-ww8dd0dah9] {
    max-width: 760px;               /* a readable measure, never stretched to full desktop width */
    margin: 0 auto;
    padding: 20px 18px calc(20px + env(safe-area-inset-bottom));
}

/* Mobile dock: account action stacked above the bundle-driven tab bar, pinned to the bottom. */
.dock[b-ww8dd0dah9] {
    position: sticky;
    bottom: 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-hairline);
    padding-bottom: env(safe-area-inset-bottom);
}
.dock-account[b-ww8dd0dah9] {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid var(--color-hairline);
}
.tabbar[b-ww8dd0dah9] { background: var(--color-surface); }

@media (min-width: 768px) {
    .shell[b-ww8dd0dah9] {
        grid-template-rows: none;
        grid-template-columns: 232px 1fr;
    }

    .rail[b-ww8dd0dah9] {
        /* The brand medallion's gold reads on the navy rail in both light and dark — a deliberate,
           rail-local identity constant (mirrored from the admin console), not a tenant token. The rail bg
           and text stay themed (heroBg / onAccent); only the medallion is a fixed warm gold. */
        --rail-gold: #c8a951;
        --rail-gold-lt: #e4cd88;
        --rail-gold-tint: rgba(200, 169, 81, 0.15);

        display: flex;
        flex-direction: column;   /* brand + nav at the top, sign-out pinned to the foot */
        background: var(--color-heroBg);
        color: var(--color-onAccent);
        position: sticky;
        top: 0;
        height: 100vh;
        overflow-y: auto;
        padding: 18px 14px 32px;
    }

    /* rail-foot pushes to the bottom of the rail, set apart by a hairline like the brand at the top. */
    .rail-foot[b-ww8dd0dah9] {
        margin-top: auto;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .dock[b-ww8dd0dah9] { display: none; }

    .content[b-ww8dd0dah9] { padding: 40px 32px; }
}

.brand[b-ww8dd0dah9] {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 6px 8px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    margin-bottom: 10px;
}
/* The gold medallion — the tenant logoMark set in a warm gold disc that reads on the navy rail. This is
   the brand mark the member sees; keep it clean (a single letter/short mark from the bundle). */
.brand-mark[b-ww8dd0dah9] {
    width: 34px; height: 34px;
    border-radius: 9px;
    background: radial-gradient(circle at 35% 30%, var(--rail-gold-lt, #e4cd88), var(--rail-gold, #c8a951) 70%);
    color: var(--color-heroBg, #14213d);
    display: flex; align-items: center; justify-content: center;
    font-family: Georgia, serif; font-weight: 700; font-size: 17px;
    box-shadow: 0 0 0 3px rgba(200, 169, 81, 0.18);
    flex-shrink: 0;
}
.brand-name[b-ww8dd0dah9] {
    font-family: Georgia, serif;
    font-size: 15px;
    letter-spacing: 0.06em;
    color: var(--color-onAccent, #fff);
}
/* /Layout/NavMenu.razor.rz.scp.css */
/* Nav — bundle-driven, routes to /p/{node}. NavLink adds .active on the current route.
   Mirrors the admin console's rail: quiet destinations, a gold active tint, gold glyph when active.

   NOTE: the styled rows (.nav-item and its glyph/label) are rendered by the <NavLink> CHILD
   component, so Blazor scoped CSS won't reach them on its own — every descendant selector below
   uses ::deep to cross the component boundary. Without it the anchors render as unstyled, underlined
   default links. */

.nav-rail[b-fqryhtl7xd] {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.nav-rail[b-fqryhtl7xd]  .nav-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 8px 12px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.12s, color 0.12s;
}
.nav-rail[b-fqryhtl7xd]  .nav-item:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}
.nav-rail[b-fqryhtl7xd]  .nav-item.active {
    background: var(--rail-gold-tint, rgba(200, 169, 81, 0.15));
    color: #fff;
    font-weight: 600;
}
.nav-rail[b-fqryhtl7xd]  .nav-glyph {
    display: flex;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.6);
}
.nav-rail[b-fqryhtl7xd]  .nav-item.active .nav-glyph { color: var(--rail-gold, #c8a951); }
.nav-rail[b-fqryhtl7xd]  .nav-label { flex: 1; }

.nav-rail[b-fqryhtl7xd]  .nav-item-loading { cursor: default; opacity: 0.55; }

/* Compact = mobile bottom tab bar */
.nav-compact[b-fqryhtl7xd] {
    display: flex;
    justify-content: space-around;
}
.nav-compact[b-fqryhtl7xd]  .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 6px;
    color: var(--color-textMuted, #5a5a55);
    font-size: 10.5px;
    text-decoration: none;
    cursor: pointer;
}
.nav-compact[b-fqryhtl7xd]  .nav-item.active { color: var(--color-accent); font-weight: 600; }
.nav-compact[b-fqryhtl7xd]  .nav-glyph { display: flex; color: var(--color-textMuted, #5a5a55); }
.nav-compact[b-fqryhtl7xd]  .nav-item.active .nav-glyph { color: var(--color-accent); }
/* /Layout/SignOutButton.razor.rz.scp.css */
/* Sign-out affordance. Two renderings, matching NavMenu: the desktop rail foot and the mobile dock. */

.signout[b-pod5x5kyb3] {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
}
.signout:disabled[b-pod5x5kyb3] { cursor: default; opacity: 0.6; }

.signout-glyph[b-pod5x5kyb3] { flex-shrink: 0; }

/* Desktop: a quiet row at the bottom of the rail, styled like a nav item but set apart by a hairline. */
.signout-rail[b-pod5x5kyb3] {
    padding: 9px 10px;
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 13.5px;
}
.signout-rail:hover:not(:disabled)[b-pod5x5kyb3] {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}
.signout-rail .signout-glyph[b-pod5x5kyb3] { font-size: 14px; }

/* Mobile: a slim centered action in the dock, above the tab bar. */
.signout-compact[b-pod5x5kyb3] {
    justify-content: center;
    width: auto;
    padding: 8px 12px;
    color: var(--color-muted);
    font-size: 12px;
}
.signout-compact:hover:not(:disabled)[b-pod5x5kyb3] { color: var(--color-accent); }
.signout-compact .signout-glyph[b-pod5x5kyb3] { font-size: 13px; }
/* /Media/PlayerHost.razor.rz.scp.css */
/* Docked practice player bar (blueprint §9). Pinned to the bottom on every width; the shell's own tab
   bar sits above it on mobile. Theme-token styled so it re-skins per tenant. */

.player[b-860wh1fpcj] {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: var(--color-surface);
    border-top: 1px solid var(--color-line);
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
}

.player__art[b-860wh1fpcj] {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: var(--color-heroBg);
    color: var(--color-onAccent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.player__meta[b-860wh1fpcj] {
    min-width: 0;
    flex: 0 1 200px;
}
.player__title[b-860wh1fpcj] {
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.player__sub[b-860wh1fpcj] {
    font-size: 11px;
    color: var(--color-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.player__error[b-860wh1fpcj] {
    font-size: 11px;
    color: var(--record-red);
}

.player__btn[b-860wh1fpcj] {
    background: var(--color-accent);
    color: var(--color-onAccent);
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 15px;
    cursor: pointer;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.player__close[b-860wh1fpcj] {
    background: transparent;
    color: var(--color-muted);
    width: 32px;
    height: 32px;
}

.player__scrub[b-860wh1fpcj] {
    flex: 1 1 auto;
    min-width: 80px;
    accent-color: var(--color-accent);
}

.player__time[b-860wh1fpcj] {
    font-size: 11px;
    color: var(--color-muted);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .player__meta[b-860wh1fpcj] { flex-basis: 120px; }
    .player__time[b-860wh1fpcj] { display: none; }
}
/* /Pages/FlowEntry.razor.rz.scp.css */
.entry[b-kdb8of9kmk] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    min-height: 50vh;
    padding: 24px;
    text-align: center;
}
.entry-msg[b-kdb8of9kmk] {
    color: var(--color-textMuted, #5a5a55);
    font-size: 14px;
}
.entry-retry[b-kdb8of9kmk] {
    cursor: pointer;
    font: 600 14px/1 inherit;
    padding: 10px 18px;
    border-radius: var(--radius-pill, 999px);
    border: 1px solid var(--color-accent, #14213d);
    background: var(--color-accent, #14213d);
    color: var(--color-onAccent, #fff);
}
.entry-retry:disabled[b-kdb8of9kmk] { opacity: 0.6; cursor: default; }
/* /Pages/Home.razor.rz.scp.css */
.shell-h1[b-hoxd90b3s7] {
    font-family: Georgia, serif;
    font-size: 28px;
    font-weight: 400;
    margin: 0 0 8px;
}
.shell-lede[b-hoxd90b3s7] {
    color: var(--color-textMuted);
    font-size: 15px;
    line-height: 1.6;
    max-width: 62ch;
    margin: 0 0 22px;
}
.shell-lede code[b-hoxd90b3s7] {
    font-size: 0.86em;
    background: var(--color-hairline);
    padding: 1px 5px;
    border-radius: 5px;
}

.status-card[b-hoxd90b3s7] {
    background: var(--color-surface);
    border: 1px solid var(--color-hairline);
    border-left: 4px solid var(--color-textMuted);
    border-radius: var(--radius-card);
    padding: 18px 20px;
    max-width: 520px;
}
.status-signedin[b-hoxd90b3s7] { border-left-color: #0F6E56; }
.status-unreachable[b-hoxd90b3s7] { border-left-color: var(--record-red); }
.status-signedout[b-hoxd90b3s7], .status-notenant[b-hoxd90b3s7] { border-left-color: #8A6400; }

.status-head[b-hoxd90b3s7] {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 6px;
}
.status-dot[b-hoxd90b3s7] {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--color-textMuted);
}
.status-signedin .status-dot[b-hoxd90b3s7] { background: #0F6E56; }
.status-unreachable .status-dot[b-hoxd90b3s7] { background: var(--record-red); }
.status-signedout .status-dot[b-hoxd90b3s7], .status-notenant .status-dot[b-hoxd90b3s7] { background: #8A6400; }

.status-title[b-hoxd90b3s7] { font-weight: 700; font-size: 15px; }
.status-detail[b-hoxd90b3s7] { color: var(--color-textMuted); font-size: 13.5px; line-height: 1.55; margin: 4px 0 12px; }

.status-id[b-hoxd90b3s7] {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 14px;
    margin: 0 0 14px;
    font-size: 13px;
}
.status-id dt[b-hoxd90b3s7] { color: var(--color-textMuted); }
.status-id dd[b-hoxd90b3s7] { margin: 0; font-variant-numeric: tabular-nums; }

.status-retry[b-hoxd90b3s7] {
    background: var(--color-accent);
    color: var(--color-onAccent);
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.status-retry:disabled[b-hoxd90b3s7] { opacity: 0.6; cursor: default; }
/* /Pages/PageHost.razor.rz.scp.css */
.page-loading[b-lzfq3siksi],
.page-origin[b-lzfq3siksi] {
    color: var(--color-muted);
    font-size: 12.5px;
    text-align: center;
    padding: 12px 0;
}

.page-error[b-lzfq3siksi] {
    max-width: 420px;
    margin: 40px auto;
    text-align: center;
    color: var(--color-muted);
    font-size: 14px;
}
