/* /Components/Account/Pages/Manage/ChangePassword.razor.rz.scp.css */
.must-change-banner[b-5tu4bjvlx3] {
    margin: 0 0 16px;
    padding: 12px 16px;
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    color: #78350f;
    font-size: 14px;
    font-weight: 500;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Topbar — primary band, school brand + account menu */
.topbar[b-5uhct0cjai] {
    background: linear-gradient(100deg, #2563EB 0%, var(--primary-dark) 100%);
    color: white;
    padding: 0 22px;
    height: 64px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    gap: 12px;
}

/* Left cluster — hamburger + two-line school brand */
.topbar__left[b-5uhct0cjai] {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

/* Hamburger — circular button, shown at every width. On desktop it
   collapses the sidebar; on mobile (≤900px) it opens the drawer. */
.hamburger[b-5uhct0cjai] {
    display: flex;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    width: 40px;
    height: 40px;
    padding: 8px;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
    border-radius: 50%;
    flex-shrink: 0;
    transition: background 0.15s;
}

.hamburger:hover[b-5uhct0cjai] { background: rgba(255, 255, 255, 0.22); }
.hamburger:focus-visible[b-5uhct0cjai] { outline: 2px solid white; outline-offset: 2px; }

.hamburger span[b-5uhct0cjai] {
    display: block;
    height: 2px;
    background: white;
    border-radius: 1px;
    transition: transform 0.2s, opacity 0.2s;
    transform-origin: center;
}

.hamburger--open span:nth-child(1)[b-5uhct0cjai] { transform: translateY(7px) rotate(45deg); }
.hamburger--open span:nth-child(2)[b-5uhct0cjai] { opacity: 0; }
.hamburger--open span:nth-child(3)[b-5uhct0cjai] { transform: translateY(-7px) rotate(-45deg); }

/* School logo, shown to the left of the brand block */
.topbar__logo[b-5uhct0cjai] {
    height: 40px;
    width: 40px;
    flex-shrink: 0;
    border-radius: 8px;
    object-fit: contain;
}

/* Two-line brand block */
.topbar__brand[b-5uhct0cjai] {
    margin: 0;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    min-width: 0;
}

.topbar__brand-title[b-5uhct0cjai] {
    font-size: 18px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.topbar__brand-sub[b-5uhct0cjai] {
    font-size: 12.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
}

/* Account menu — name + avatar trigger with a click-to-open dropdown */
.topbar[b-5uhct0cjai]  .user-menu {
    position: relative;
    flex-shrink: 0;
}

.topbar[b-5uhct0cjai]  .user-menu__trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    padding: 5px 10px 5px 16px;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    transition: background 0.15s;
}

.topbar[b-5uhct0cjai]  .user-menu__trigger:hover { background: rgba(255, 255, 255, 0.20); }
.topbar[b-5uhct0cjai]  .user-menu__trigger:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

.topbar[b-5uhct0cjai]  .user-menu__name {
    font-weight: 600;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.topbar[b-5uhct0cjai]  .user-menu__avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #fff;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.45);
}

.topbar[b-5uhct0cjai]  .user-menu__chevron {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform 0.18s;
}

.topbar[b-5uhct0cjai]  .user-menu--open .user-menu__chevron { transform: rotate(180deg); }

/* Dropdown panel */
.topbar[b-5uhct0cjai]  .user-menu__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 240px;
    background: #fff;
    color: var(--ink);
    border: 1px solid var(--border-2);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.22);
    padding: 6px;
    z-index: 100;
}

.topbar[b-5uhct0cjai]  .user-menu--open .user-menu__dropdown {
    display: block;
    animation: user-menu-in-b-5uhct0cjai 0.16s ease-out;
}

@keyframes user-menu-in-b-5uhct0cjai {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* Dropdown header — name + role */
.topbar[b-5uhct0cjai]  .user-menu__header {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--border);
}

.topbar[b-5uhct0cjai]  .user-menu__header-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--ink-strong);
}

.topbar[b-5uhct0cjai]  .user-menu__header-role {
    font-size: 12px;
    color: var(--muted-2);
}

/* Dropdown items — links and the logout submit button share one look */
.topbar[b-5uhct0cjai]  .user-menu__item {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    padding: 10px 12px;
    border: none;
    background: none;
    border-radius: 9px;
    color: var(--ink);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.topbar[b-5uhct0cjai]  .user-menu__item svg {
    width: 17px;
    height: 17px;
    flex-shrink: 0;
}

.topbar[b-5uhct0cjai]  .user-menu__item:hover { background: var(--blue-soft); }

.topbar[b-5uhct0cjai]  .user-menu__item--danger { color: #DC2626; }
.topbar[b-5uhct0cjai]  .user-menu__item--danger:hover { background: var(--pink-soft); }

.topbar[b-5uhct0cjai]  .user-menu__logout {
    margin: 0;
}

/* Login link (unauthenticated) */
.topbar[b-5uhct0cjai]  .switch-btn {
    background: rgba(255, 255, 255, 0.85);
    color: var(--primary);
    border: 1px solid #fff;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    display: inline-block;
}

.topbar[b-5uhct0cjai]  .switch-btn:hover {
    background: #fff;
    color: var(--primary);
}

/* Main = sidebar + content. Pinned to the viewport height below the 64px
   topbar, so the topbar and sidebar stay put and only .content scrolls. */
.main[b-5uhct0cjai] {
    display: flex;
    height: calc(100vh - 64px);
}

.sidebar[b-5uhct0cjai] {
    width: 260px;
    background: var(--sidebar-bg);
    border-right: 1px solid var(--border);
    padding: 16px 12px;
    flex-shrink: 0;
    /* Sidebar fills .main and scrolls on its own if the nav is taller than
       the viewport — the page itself never scrolls. */
    overflow-y: auto;
    /* Desktop collapse animation — body.sidebar-collapsed sets margin-left
       (rule in wwwroot/app.css). Mobile overrides this to transition transform. */
    transition: margin-left 0.22s ease;
}

.sidebar-backdrop[b-5uhct0cjai] {
    display: none;
}

.content[b-5uhct0cjai] {
    flex: 1;
    padding: 28px 36px;
    overflow-y: auto;
    background:
        radial-gradient(620px 360px at 88% -4%, rgba(124, 58, 237, 0.10), transparent 70%),
        radial-gradient(560px 380px at 2% 104%, rgba(16, 185, 129, 0.10), transparent 70%),
        linear-gradient(150deg, var(--bg-grad-1) 0%, var(--bg-grad-2) 45%, var(--bg-grad-3) 100%);
}

/* Slim, soft scrollbars for the two scrolling panes — replaces the chunky
   default browser scrollbar with a thin pill thumb. The transparent border +
   background-clip trick insets the thumb so it reads as a slim track. */
.content[b-5uhct0cjai],
.sidebar[b-5uhct0cjai] {
    scrollbar-width: thin;                       /* Firefox */
    scrollbar-color: #CBD5E1 transparent;        /* Firefox: thumb / track */
}

.content[b-5uhct0cjai]::-webkit-scrollbar,
.sidebar[b-5uhct0cjai]::-webkit-scrollbar {
    width: 11px;
    height: 11px;
}

.content[b-5uhct0cjai]::-webkit-scrollbar-track,
.sidebar[b-5uhct0cjai]::-webkit-scrollbar-track {
    background: transparent;
}

.content[b-5uhct0cjai]::-webkit-scrollbar-thumb,
.sidebar[b-5uhct0cjai]::-webkit-scrollbar-thumb {
    background: #CBD5E1;
    border-radius: 999px;
    border: 3px solid transparent;
    background-clip: padding-box;
}

.content[b-5uhct0cjai]::-webkit-scrollbar-thumb:hover,
.sidebar[b-5uhct0cjai]::-webkit-scrollbar-thumb:hover {
    background: var(--muted);
    background-clip: padding-box;
}

.content[b-5uhct0cjai]::-webkit-scrollbar-corner,
.sidebar[b-5uhct0cjai]::-webkit-scrollbar-corner {
    background: transparent;
}

/* Error boundary fallback */
[b-5uhct0cjai] .layout-error {
    max-width: 640px;
    margin: 40px auto;
    padding: 24px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    color: #7f1d1d;
}

[b-5uhct0cjai] .layout-error h2 {
    color: #991b1b;
    margin-bottom: 8px;
}

[b-5uhct0cjai] .layout-error__detail {
    margin-top: 8px;
    padding: 8px 10px;
    background: white;
    border-radius: 6px;
    font-family: ui-monospace, Consolas, monospace;
    font-size: 12px;
    color: #4b5563;
}

[b-5uhct0cjai] .layout-error__actions {
    margin-top: 16px;
    display: flex;
    gap: 10px;
}

/* Inherited Blazor error pill */
#blazor-error-ui[b-5uhct0cjai] {
    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-5uhct0cjai] {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

/* =====================================================================
   Mobile breakpoints — hamburger drawer ≤900px.
   Scoped overrides win against the desktop scoped rules above because they
   share the same `[b-…]` attribute, so identical selectors compete by
   source order.
   ===================================================================== */

@media (max-width: 900px) {
    /* Topbar tightens: hamburger + brand on the left, account menu right. */
    .topbar[b-5uhct0cjai] {
        padding: 10px 14px;
        gap: 10px;
    }

    .topbar__left[b-5uhct0cjai] {
        gap: 10px;
        flex: 1 1 0;
        min-width: 0;
    }

    .topbar__brand-title[b-5uhct0cjai] {
        font-size: 15px;
    }

    .topbar__brand-sub[b-5uhct0cjai] {
        font-size: 11px;
    }

    .topbar[b-5uhct0cjai]  .user-menu__trigger {
        padding: 4px 8px 4px 12px;
        font-size: 13px;
        gap: 8px;
    }

    .topbar[b-5uhct0cjai]  .switch-btn {
        padding: 5px 10px;
        font-size: 12px;
    }

    /* Sidebar becomes a fixed left drawer hidden off-canvas until opened. */
    .main[b-5uhct0cjai] {
        min-height: auto;
        position: relative;
    }

    .sidebar[b-5uhct0cjai] {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        width: 280px;
        max-width: 86vw;
        padding: 16px 0;
        border-right: 1px solid #e5e7eb;
        border-bottom: none;
        transform: translateX(-100%);
        transition: transform 0.22s ease-out;
        z-index: 60;
        box-shadow: 2px 0 12px rgba(0, 0, 0, 0.15);
        overflow-y: auto;
    }

    /* Drawer open state (body.drawer-open) is driven by JS in App.razor.
       The body-class selectors live in wwwroot/app.css because Blazor scoped
       CSS can't target ancestor classes outside the component boundary. */

    .sidebar-backdrop[b-5uhct0cjai] {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.45);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s;
        z-index: 50;
    }
}

/* On very narrow phones, drop the name from the account trigger so the
   topbar stays one row — the avatar + chevron remain, name is in the
   dropdown header. */
@media (max-width: 480px) {
    .topbar__brand-title[b-5uhct0cjai] {
        font-size: 14px;
    }

    .topbar[b-5uhct0cjai]  .user-menu__name {
        display: none;
    }

    .topbar[b-5uhct0cjai]  .user-menu__trigger {
        padding: 4px;
    }
}
/* /Components/Layout/NavMenu.razor.rz.scp.css */
.navbar-toggler[b-9u5hpet0yr] {
    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-9u5hpet0yr] {
    background-color: rgba(255, 255, 255, 0.5);
}

.top-row[b-9u5hpet0yr] {
    min-height: 3.5rem;
    background-color: rgba(0,0,0,0.4);
}

.navbar-brand[b-9u5hpet0yr] {
    font-size: 1.1rem;
}

.bi[b-9u5hpet0yr] {
    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-9u5hpet0yr] {
    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-plus-square-fill-nav-menu[b-9u5hpet0yr] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-plus-square-fill' viewBox='0 0 16 16'%3E%3Cpath d='M2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2H2zm6.5 4.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3a.5.5 0 0 1 1 0z'/%3E%3C/svg%3E");
}

.bi-list-nested-nav-menu[b-9u5hpet0yr] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M4.5 11.5A.5.5 0 0 1 5 11h10a.5.5 0 0 1 0 1H5a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 3 7h10a.5.5 0 0 1 0 1H3a.5.5 0 0 1-.5-.5zm-2-4A.5.5 0 0 1 1 3h10a.5.5 0 0 1 0 1H1a.5.5 0 0 1-.5-.5z'/%3E%3C/svg%3E");
}

.bi-lock-nav-menu[b-9u5hpet0yr] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-list-nested' viewBox='0 0 16 16'%3E%3Cpath d='M8 1a2 2 0 0 1 2 2v4H6V3a2 2 0 0 1 2-2zm3 6V3a3 3 0 0 0-6 0v4a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2zM5 8h6a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V9a1 1 0 0 1 1-1z'/%3E%3C/svg%3E");
}

.bi-person-nav-menu[b-9u5hpet0yr] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person' viewBox='0 0 16 16'%3E%3Cpath d='M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z'/%3E%3C/svg%3E");
}

.bi-person-badge-nav-menu[b-9u5hpet0yr] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-badge' viewBox='0 0 16 16'%3E%3Cpath d='M6.5 2a.5.5 0 0 0 0 1h3a.5.5 0 0 0 0-1h-3zM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0z'/%3E%3Cpath d='M4.5 0A2.5 2.5 0 0 0 2 2.5V14a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V2.5A2.5 2.5 0 0 0 11.5 0h-7zM3 2.5A1.5 1.5 0 0 1 4.5 1h7A1.5 1.5 0 0 1 13 2.5v10.795a4.2 4.2 0 0 0-.776-.492C11.392 12.387 10.063 12 8 12s-3.392.387-4.224.803a4.2 4.2 0 0 0-.776.492V2.5z'/%3E%3C/svg%3E");
}

.bi-person-fill-nav-menu[b-9u5hpet0yr] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-person-fill' 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-arrow-bar-left-nav-menu[b-9u5hpet0yr] {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='white' class='bi bi-arrow-bar-left' viewBox='0 0 16 16'%3E%3Cpath d='M12.5 15a.5.5 0 0 1-.5-.5v-13a.5.5 0 0 1 1 0v13a.5.5 0 0 1-.5.5ZM10 8a.5.5 0 0 1-.5.5H3.707l2.147 2.146a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 1 1 .708.708L3.707 7.5H9.5a.5.5 0 0 1 .5.5Z'/%3E%3C/svg%3E");
}

.nav-item[b-9u5hpet0yr] {
    font-size: 0.9rem;
    padding-bottom: 0.5rem;
}

    .nav-item:first-of-type[b-9u5hpet0yr] {
        padding-top: 1rem;
    }

    .nav-item:last-of-type[b-9u5hpet0yr] {
        padding-bottom: 1rem;
    }

    .nav-item[b-9u5hpet0yr]  .nav-link {
        color: #d7d7d7;
        background: none;
        border: none;
        border-radius: 4px;
        height: 3rem;
        display: flex;
        align-items: center;
        line-height: 3rem;
        width: 100%;
    }

.nav-item[b-9u5hpet0yr]  a.active {
    background-color: rgba(255,255,255,0.37);
    color: white;
}

.nav-item[b-9u5hpet0yr]  .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
    color: white;
}

.nav-scrollable[b-9u5hpet0yr] {
    display: none;
}

.navbar-toggler:checked ~ .nav-scrollable[b-9u5hpet0yr] {
    display: block;
}

@media (min-width: 641px) {
    .navbar-toggler[b-9u5hpet0yr] {
        display: none;
    }

    .nav-scrollable[b-9u5hpet0yr] {
        /* Never collapse the sidebar for wide screens */
        display: block;

        /* Allow sidebar to scroll for tall menus */
        height: calc(100vh - 3.5rem);
        overflow-y: auto;
    }
}
/* /Components/Layout/ReconnectModal.razor.rz.scp.css */
.components-reconnect-first-attempt-visible[b-r6qe9tiesh],
.components-reconnect-repeated-attempt-visible[b-r6qe9tiesh],
.components-reconnect-failed-visible[b-r6qe9tiesh],
.components-pause-visible[b-r6qe9tiesh],
.components-resume-failed-visible[b-r6qe9tiesh],
.components-rejoining-animation[b-r6qe9tiesh] {
    display: none;
}

#components-reconnect-modal.components-reconnect-show .components-reconnect-first-attempt-visible[b-r6qe9tiesh],
#components-reconnect-modal.components-reconnect-show .components-rejoining-animation[b-r6qe9tiesh],
#components-reconnect-modal.components-reconnect-paused .components-pause-visible[b-r6qe9tiesh],
#components-reconnect-modal.components-reconnect-resume-failed .components-resume-failed-visible[b-r6qe9tiesh],
#components-reconnect-modal.components-reconnect-retrying[b-r6qe9tiesh],
#components-reconnect-modal.components-reconnect-retrying .components-reconnect-repeated-attempt-visible[b-r6qe9tiesh],
#components-reconnect-modal.components-reconnect-retrying .components-rejoining-animation[b-r6qe9tiesh],
#components-reconnect-modal.components-reconnect-failed[b-r6qe9tiesh],
#components-reconnect-modal.components-reconnect-failed .components-reconnect-failed-visible[b-r6qe9tiesh] {
    display: block;
}


#components-reconnect-modal[b-r6qe9tiesh] {
    background-color: white;
    width: 20rem;
    margin: 20vh auto;
    padding: 2rem;
    border: 0;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.18);
    opacity: 0;
    transition: display 0.5s allow-discrete, overlay 0.5s allow-discrete;
    animation: components-reconnect-modal-fadeOutOpacity-b-r6qe9tiesh 0.5s both;
    &[open]

{
    animation: components-reconnect-modal-slideUp-b-r6qe9tiesh 1.5s cubic-bezier(.05, .89, .25, 1.02) 0.3s, components-reconnect-modal-fadeInOpacity-b-r6qe9tiesh 0.5s ease-in-out 0.3s;
    animation-fill-mode: both;
}

}

#components-reconnect-modal[b-r6qe9tiesh]::backdrop {
    background-color: rgba(0, 0, 0, 0.4);
    animation: components-reconnect-modal-fadeInOpacity-b-r6qe9tiesh 0.5s ease-in-out;
    opacity: 1;
}

@keyframes components-reconnect-modal-slideUp-b-r6qe9tiesh {
    0% {
        transform: translateY(30px) scale(0.95);
    }

    100% {
        transform: translateY(0);
    }
}

@keyframes components-reconnect-modal-fadeInOpacity-b-r6qe9tiesh {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes components-reconnect-modal-fadeOutOpacity-b-r6qe9tiesh {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

.components-reconnect-container[b-r6qe9tiesh] {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

#components-reconnect-modal p[b-r6qe9tiesh] {
    margin: 0;
    text-align: center;
}

#components-reconnect-modal button[b-r6qe9tiesh] {
    border: 0;
    background-color: #6b9ed2;
    color: white;
    padding: 4px 24px;
    border-radius: 4px;
}

    #components-reconnect-modal button:hover[b-r6qe9tiesh] {
        background-color: #3b6ea2;
    }

    #components-reconnect-modal button:active[b-r6qe9tiesh] {
        background-color: #6b9ed2;
    }

.components-rejoining-animation[b-r6qe9tiesh] {
    position: relative;
    width: 80px;
    height: 80px;
}

    .components-rejoining-animation div[b-r6qe9tiesh] {
        position: absolute;
        border: 3px solid #0087ff;
        opacity: 1;
        border-radius: 50%;
        animation: components-rejoining-animation-b-r6qe9tiesh 1.5s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

        .components-rejoining-animation div:nth-child(2)[b-r6qe9tiesh] {
            animation-delay: -0.5s;
        }

@keyframes components-rejoining-animation-b-r6qe9tiesh {
    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/Layout/SidebarNav.razor.rz.scp.css */
.sidebar-inner[b-87eykykha6] {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.admin-block[b-87eykykha6] {
    padding: 6px 8px 14px;
    margin-bottom: 8px;
}

.admin-block__title[b-87eykykha6] {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 8px 12px 6px;
}

/* .admin-link styles live in wwwroot/app.css so they apply to NavLink-rendered
   <a> elements (which don't inherit the scoped CSS attribute from this file). */

.month-pick[b-87eykykha6] {
    padding: 6px 8px 14px;
    margin-bottom: 8px;
}

.month-pick label[b-87eykykha6] {
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0 4px;
}

.month-pick select[b-87eykykha6] {
    appearance: none;
    -webkit-appearance: none;
    width: 100%;
    padding: 11px 34px 11px 38px;
    border: 1px solid var(--border-2);
    border-radius: var(--radius-sm);
    margin-top: 6px;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    color: var(--ink);
    cursor: pointer;
    background-color: white;
    background-repeat: no-repeat, no-repeat;
    background-position: 12px center, right 12px center;
    background-size: 16px 16px, 11px 7px;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C3AED' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 7' fill='none' stroke='%2394A3B8' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
}

.month-pick select:focus[b-87eykykha6] {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--violet-soft);
}

.nav-list[b-87eykykha6] {
    display: flex;
    flex-direction: column;
}

.nav-item[b-87eykykha6] {
    padding: 9px 13px;
    margin: 1px 0;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 500;
    border-radius: var(--radius-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--ink);
    text-decoration: none;
}

.nav-item:hover[b-87eykykha6] {
    background: var(--violet-soft);
    color: var(--ink);
}

.nav-item--active[b-87eykykha6] {
    background: var(--primary);
    color: #fff !important;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.30);
}

/* Hovering the active item must keep the solid-blue pill — otherwise the
   generic .nav-item:hover (higher specificity) repaints it pale violet and
   the white text becomes invisible. */
.nav-item--active:hover[b-87eykykha6] {
    background: var(--primary);
    color: #fff;
    filter: brightness(1.06);
}

.nav-item__label[b-87eykykha6] {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nav-item__icon[b-87eykykha6] {
    display: inline-block;
    width: 18px;
    text-align: center;
}

.status-dot[b-87eykykha6] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: transparent;
    border: 1.5px solid #d8dde6;
    flex-shrink: 0;
}

.status-dot--filled[b-87eykykha6] {
    background: var(--green);
    border-color: var(--green);
    box-shadow: 0 0 0 3px var(--green-soft);
}

/* On phones the sidebar lives inside a slide-in drawer (see MainLayout.razor.css).
   The drawer is ~280px wide so we stay single-column; just tighten paddings
   slightly to fit more items above the fold. */
@media (max-width: 900px) {
    .admin-block[b-87eykykha6],
    .month-pick[b-87eykykha6] {
        padding: 10px 16px 12px;
        margin-bottom: 10px;
    }

    .nav-item[b-87eykykha6] {
        padding: 9px 18px;
    }
}
/* /Components/Pages/Admin/AdminHome.razor.rz.scp.css */
.subhead[b-q4ll0hxsq7] {
    margin: 24px 0 10px;
    color: #374151;
    font-size: 15px;
    font-weight: 600;
}

.admin-banner[b-q4ll0hxsq7] {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
}

.admin-banner--ok[b-q4ll0hxsq7] {
    background: var(--green-soft);
    border: 1px solid var(--green);
    color: #065F46;
}

.admin-banner--err[b-q4ll0hxsq7] {
    background: #FEE2E2;
    border: 1px solid #DC2626;
    color: #991B1B;
}
/* /Components/Pages/Admin/AdminReport.razor.rz.scp.css */
.report-picker[b-ch590rqmfy] {
    display: flex;
    align-items: end;
    gap: 12px;
    background: white;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin: 14px 0 18px;
}

.report-picker label[b-ch590rqmfy] {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
}

.report-picker select[b-ch590rqmfy] {
    margin-top: 4px;
    padding: 8px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 13px;
}

.subhead[b-ch590rqmfy] {
    margin: 22px 0 8px;
    color: #374151;
    font-size: 15px;
    font-weight: 600;
}

@media (max-width: 600px) {
    .report-picker[b-ch590rqmfy] {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 12px;
    }

    .report-picker label[b-ch590rqmfy] {
        flex: 1 1 calc(50% - 5px);
        min-width: 0;
    }

    .report-picker select[b-ch590rqmfy] {
        width: 100%;
        font-size: 16px; /* prevents iOS Safari auto-zoom on focus */
    }

    .report-picker .btn-secondary[b-ch590rqmfy] {
        flex: 1 1 100%;
        text-align: center;
    }
}
/* /Components/Pages/Admin/AdminRolePermissions.razor.rz.scp.css */
.role-card[b-i24dty0o5q] {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.role-card--readonly[b-i24dty0o5q] {
    background: #f9fafb;
}

.role-card__head[b-i24dty0o5q] {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.role-card__head strong[b-i24dty0o5q] {
    font-size: 15px;
    color: var(--ink-strong);
}

.role-card__note[b-i24dty0o5q] {
    font-size: 12px;
    color: #6b7280;
}

.perm-table[b-i24dty0o5q] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    margin-top: 10px;
}

.perm-table th[b-i24dty0o5q] {
    text-align: left;
    padding: 6px 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
}

.perm-table td[b-i24dty0o5q] {
    padding: 8px;
    border-bottom: 1px solid #f3f4f6;
}

.perm-table tr:last-child td[b-i24dty0o5q] {
    border-bottom: none;
}

.perm-table__action[b-i24dty0o5q] {
    text-align: center;
    width: 64px;
}

.perm-table input[type="checkbox"][b-i24dty0o5q] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}
/* /Components/Pages/Admin/AdminUsers.razor.rz.scp.css */
.muted[b-f7hlxur9cm] { color: #6b7280; font-size: 13px; }

.credential-banner[b-f7hlxur9cm] {
    position: relative;
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    padding: 12px 40px 12px 16px;
    font-size: 14px;
    color: #78350f;
    margin-bottom: 18px;
}

.credential-banner code[b-f7hlxur9cm] {
    background: white;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 6px;
    font-family: ui-monospace, Consolas, monospace;
}

.credential-banner__close[b-f7hlxur9cm] {
    position: absolute;
    top: 6px;
    right: 8px;
    background: transparent;
    border: none;
    color: #78350f;
    font-size: 14px;
    cursor: pointer;
}

.credential-banner__note[b-f7hlxur9cm] {
    margin-top: 6px;
    font-size: 12px;
    color: #92400e;
}

.add-teacher[b-f7hlxur9cm] {
    background: white;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
    margin-bottom: 22px;
}

.add-teacher__row[b-f7hlxur9cm] {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr auto;
    gap: 10px;
    align-items: end;
}

.add-teacher__row label[b-f7hlxur9cm] {
    display: flex;
    flex-direction: column;
    font-size: 12px;
    color: #374151;
    font-weight: 600;
}

.add-teacher__row input[b-f7hlxur9cm] {
    margin-top: 4px;
    padding: 8px 10px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 13px;
}

.role-pill[b-f7hlxur9cm] {
    background: var(--violet);
    color: white;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.role-pill--admin[b-f7hlxur9cm] {
    background: #dc2626;
    color: white;
}

.user-actions[b-f7hlxur9cm] {
    display: flex;
    gap: 12px;
    white-space: nowrap;
}

@media (max-width: 900px) {
    /* Override the scoped 4-column grid; the global rule in app.css doesn't
       win on specificity because scoped [b-…] attributes outrank it. */
    .add-teacher__row[b-f7hlxur9cm] {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .user-actions[b-f7hlxur9cm] {
        flex-wrap: wrap;
        white-space: normal;
        gap: 4px 12px;
    }

    .add-teacher__row input[b-f7hlxur9cm] {
        font-size: 16px; /* prevents iOS Safari auto-zoom on focus */
    }

    .credential-banner code[b-f7hlxur9cm] {
        display: inline-block;
        margin: 4px 0 0;
        max-width: 100%;
        word-break: break-all;
    }

    .credential-banner[b-f7hlxur9cm] {
        padding-right: 36px;
    }
}

.link-btn[b-f7hlxur9cm] {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-size: 13px;
    padding: 0;
    font-weight: 500;
}

.link-btn:hover:not(:disabled)[b-f7hlxur9cm] {
    text-decoration: underline;
}

.link-btn:disabled[b-f7hlxur9cm] {
    opacity: 0.5;
    cursor: not-allowed;
}

.link-btn--danger[b-f7hlxur9cm] {
    color: #dc2626;
}

/* Delete-confirmation modal */
.delete-modal__backdrop[b-f7hlxur9cm] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 1100;
    animation: delete-modal-fade-b-f7hlxur9cm 0.15s ease-out;
}

.delete-modal[b-f7hlxur9cm] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    z-index: 1101;
    width: min(440px, calc(100vw - 32px));
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: delete-modal-pop-b-f7hlxur9cm 0.16s ease-out;
}

@keyframes delete-modal-fade-b-f7hlxur9cm {
    from { opacity: 0; }
    to   { opacity: 1; }
}

@keyframes delete-modal-pop-b-f7hlxur9cm {
    from { opacity: 0; transform: translate(-50%, -45%); }
    to   { opacity: 1; transform: translate(-50%, -50%); }
}

.delete-modal__header[b-f7hlxur9cm] {
    padding: 14px 18px;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.delete-modal__header strong[b-f7hlxur9cm] {
    color: #b91c1c;
    font-size: 15px;
}

.delete-modal__close[b-f7hlxur9cm] {
    background: transparent;
    border: none;
    font-size: 16px;
    color: #6b7280;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
}

.delete-modal__close:hover[b-f7hlxur9cm] {
    background: #e5e7eb;
    color: #1f2937;
}

.delete-modal__body[b-f7hlxur9cm] {
    padding: 16px 18px;
    font-size: 14px;
    color: #1f2937;
}

.delete-modal__body p[b-f7hlxur9cm] {
    margin: 0 0 10px;
}

.delete-modal__body p:last-child[b-f7hlxur9cm] {
    margin-bottom: 0;
}

.delete-modal__warn[b-f7hlxur9cm] {
    font-size: 13px;
    color: #6b7280;
}

.delete-modal__footer[b-f7hlxur9cm] {
    padding: 12px 18px;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}
/* /Components/Pages/NotFound.razor.rz.scp.css */
.not-found[b-x6sxoetcm6] {
    max-width: 520px;
    margin: 80px auto;
    text-align: center;
}

.not-found__icon[b-x6sxoetcm6] {
    font-size: 64px;
    margin-bottom: 8px;
}

.not-found h1[b-x6sxoetcm6] {
    color: var(--ink-strong);
    margin-bottom: 8px;
}

.not-found p[b-x6sxoetcm6] {
    color: #6b7280;
    margin-bottom: 24px;
}

.not-found__btn[b-x6sxoetcm6] {
    display: inline-block;
    padding: 10px 22px;
    background: var(--primary);
    color: white;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
}

.not-found__btn:hover[b-x6sxoetcm6] {
    background: #1e40af;
    color: white;
}
/* /Components/Pages/Teacher/SectionEditor.razor.rz.scp.css */
.subhead[b-rxqv7aja48] {
    margin: 14px 0 8px;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
}

.dirty-note[b-rxqv7aja48] {
    color: #92400e;
    font-size: 12px;
    font-style: italic;
}

/* Summary section card */
.summary-card[b-rxqv7aja48] {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.summary-card__label[b-rxqv7aja48] {
    font-weight: 600;
    font-size: 13px;
    color: #374151;
    display: block;
}

.summary-card__moods[b-rxqv7aja48] {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 10px 0 20px;
}

.summary-card__notes[b-rxqv7aja48] {
    margin-top: 6px;
    padding: 12px;
    border-radius: 6px;
    min-height: 100px;
}

.summary-card__notes textarea[b-rxqv7aja48] {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    color: #1f2937;
    min-height: 80px;
    resize: vertical;
}

/* Mood pill buttons */
.mood[b-rxqv7aja48] {
    padding: 6px 14px;
    border-radius: 20px;
    background: #f3f4f6;
    color: #374151;
    font-size: 13px;
    border: 1px solid transparent;
    cursor: pointer;
}

.mood:hover:not(:disabled)[b-rxqv7aja48] {
    background: #e5e7eb;
}

.mood--on[b-rxqv7aja48],
.mood--on:hover[b-rxqv7aja48] {
    background: var(--primary);
    color: white;
}

.mood:disabled[b-rxqv7aja48] {
    cursor: not-allowed;
    opacity: 0.7;
}
/* /Components/Shared/DynamicRowTable.razor.rz.scp.css */
/* Table-level overrides live in global wwwroot/app.css; only per-row local tweaks here. */

.actions-col[b-1gyzq24m8b] {
    width: 36px;
    text-align: center;
}

.empty-row[b-1gyzq24m8b] {
    text-align: center;
    color: #9ca3af;
    font-style: italic;
    padding: 12px;
    background: #f9fafb;
}
/* /Components/Shared/PermissionsDialog.razor.rz.scp.css */
.perm-dialog__backdrop[b-ka277s24ib] {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 1100;
    animation: perm-dialog-fade-b-ka277s24ib 0.15s ease-out;
}

.perm-dialog[b-ka277s24ib] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    z-index: 1101;
    width: min(560px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: perm-dialog-pop-b-ka277s24ib 0.16s ease-out;
}

@keyframes perm-dialog-fade-b-ka277s24ib {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes perm-dialog-pop-b-ka277s24ib {
    from { opacity: 0; transform: translate(-50%, -45%); }
    to   { opacity: 1; transform: translate(-50%, -50%); }
}

.perm-dialog__header[b-ka277s24ib] {
    padding: 14px 18px;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #1f2937;
}

.perm-dialog__header strong[b-ka277s24ib] {
    color: var(--primary);
    font-size: 15px;
}

.perm-dialog__subject[b-ka277s24ib] {
    color: #4b5563;
    font-size: 14px;
}

.perm-dialog__close[b-ka277s24ib] {
    background: transparent;
    border: none;
    font-size: 16px;
    color: #6b7280;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
}

.perm-dialog__close:hover[b-ka277s24ib] {
    background: #e5e7eb;
    color: #1f2937;
}

.perm-dialog__body[b-ka277s24ib] {
    padding: 16px 18px;
    overflow-y: auto;
    flex: 1 1 auto;
}

.perm-dialog__hint[b-ka277s24ib] {
    color: #6b7280;
    font-size: 12px;
    margin: 0 0 12px;
}

.perm-table[b-ka277s24ib] {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.perm-table thead[b-ka277s24ib] {
    background: transparent;
    color: #374151;
}

.perm-table th[b-ka277s24ib] {
    text-align: left;
    padding: 6px 8px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #6b7280;
    border-bottom: 1px solid #e5e7eb;
}

.perm-table td[b-ka277s24ib] {
    padding: 8px;
    border-bottom: 1px solid #f3f4f6;
}

.perm-table tr:last-child td[b-ka277s24ib] {
    border-bottom: none;
}

.perm-table__action[b-ka277s24ib] {
    text-align: center;
    width: 60px;
}

.perm-table input[type="checkbox"][b-ka277s24ib] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary);
}

.perm-dialog__quick[b-ka277s24ib] {
    margin-top: 10px;
    display: flex;
    gap: 14px;
    font-size: 13px;
}

.perm-dialog__footer[b-ka277s24ib] {
    padding: 12px 18px;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

@media (max-width: 600px) {
    .perm-dialog[b-ka277s24ib] {
        width: calc(100vw - 16px);
        max-height: calc(100vh - 24px);
        border-radius: 10px;
    }

    .perm-table th[b-ka277s24ib],
    .perm-table td[b-ka277s24ib] {
        padding: 6px 4px;
    }

    .perm-table__action[b-ka277s24ib] {
        width: 44px;
    }
}
/* /Components/Shared/SectionReadView.razor.rz.scp.css */
/* SectionReadView renders teacher-submitted data inside an admin card body.
   Table styling is INTENTIONALLY left to the global `.content table` rules in
   wwwroot/app.css (navy thead, 12px white uppercase th, 13px td, 8px radius,
   soft shadow) so the read view matches the editor's table exactly — just
   without `td.editable` yellow cells. */

.section-read-view__empty[b-sk08jl1zxb] {
    color: #9ca3af;
    font-style: italic;
    font-size: 13px;
    margin: 6px 0;
}

.section-read-view__subhead[b-sk08jl1zxb] {
    color: #374151;
    font-size: 13px;
    margin: 12px 0 6px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    font-weight: 600;
}

.section-read-view__dl[b-sk08jl1zxb] {
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: 4px 12px;
    font-size: 13px;
    margin: 6px 0;
}

.section-read-view__dl dt[b-sk08jl1zxb] {
    font-weight: 600;
    color: #374151;
}

.section-read-view__dl dd[b-sk08jl1zxb] {
    margin: 0;
    color: #1f2937;
}

.section-read-view__raw[b-sk08jl1zxb] {
    font-family: monospace;
    font-size: 12px;
    background: #f9fafb;
    padding: 8px;
    border-radius: 4px;
}
