/* App frame and the single compact page heading. */
.school-shell {
    min-height: 100vh;
}
.school-nav {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--school-sidebar-width);
    padding: 16px 10px;
    background: #252b36;
    color: white;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    transition:
        width 0.15s,
        transform 0.15s;
}
.school-brand {
    display: block;
    margin: 0 8px 20px;
    background: white;
    padding: 9px 12px;
    border-radius: 4px;
    flex: none;
}
.school-brand .brand-full {
    width: 100%;
    height: auto;
    max-height: 64px;
    object-fit: contain;
    display: block;
}
.school-brand .brand-mini {
    display: none;
}
.sidebar-school-label,
.nav-group-label {
    display: none;
}
.school-nav nav {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
}
.school-nav .nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 10px 13px;
    color: #d4dbe5;
    font-size: 14px;
    font-weight: 400;
    border-radius: 4px;
    white-space: nowrap;
}
.school-nav .nav-link > i {
    font-size: 20px;
}
.school-nav .nav-link:hover {
    background: #ffffff0d;
    color: white;
}
.school-nav .nav-link[aria-current='page'] {
    background: #0c83c6;
    color: white;
}
.nav-notice-dot {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    box-sizing: border-box;
    flex-shrink: 0;
    line-height: 1;
    text-align: center;
    font-variant-numeric: tabular-nums;
    margin-left: auto;
    padding: 0 5px;
    border-radius: 3px;
    background: #ffffff24;
    font-size: 12px;
}
.sidebar-account {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 12px;
    margin-top: 20px;
    border-top: 1px solid #ffffff19;
    color: white;
}
.sidebar-account:hover {
    color: white;
    background: #ffffff08;
}
.sidebar-account-icon {
    font-size: 20px;
}
.sidebar-account strong,
.sidebar-account small {
    display: block;
    font-size: 13px;
    font-weight: 500;
}
.sidebar-account small {
    font-size: 12px;
    color: #aebdce;
}
.sidebar-account > i:last-child {
    margin-left: auto;
}
.school-workspace {
    margin-left: var(--school-sidebar-width);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: margin-left 0.15s;
}
.school-topbar {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: #252b36;
    color: #fff;
    height: 58px;
    min-height: 58px;
    border-bottom: 1px solid #ffffff19;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 18px;
    padding: 0 22px;
}
.topbar-start,
.account-menu {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.topbar-school strong {
    display: block;
    font-size: 15px;
    font-weight: 550;
}
.topbar-school > span {
    display: none;
}
.icon-button {
    border: 0;
    padding: 0;
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    flex: none;
    border-radius: 4px;
    background: transparent;
    color: #5b6a78;
    cursor: pointer;
}
.icon-button i {
    font-size: 20px;
}
.icon-button:hover {
    background: #e7edf3;
    color: #273444;
}
.school-topbar .icon-button {
    color: #dce4ee;
}
.school-topbar .icon-button:hover {
    background: #ffffff13;
    color: white;
}
.page-search-button {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #ffffff24;
    border-radius: 20px;
    padding: 6px 12px;
    color: #c9d2df;
    background: transparent;
    width: 260px;
    margin-left: auto;
    font-size: 14px;
    cursor: pointer;
}
.page-search-button i {
    font-size: 18px;
}
.page-search-button kbd {
    margin-left: auto;
    font-size: 11px;
    color: #b7c5d4;
    background: #ffffff0d;
    border-radius: 3px;
}
.notification-bell {
    position: relative;
}
.notification-bell > [data-notification-count] {
    position: absolute;
    top: -2px;
    right: -3px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 20px;
    height: 20px;
    border-radius: 999px;
    line-height: 1;
    text-align: center;
    background: #dfaa31;
    color: #152d3b;
    font-size: 11px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
    padding: 0 4px;
    pointer-events: none;
}
.account-name {
    display: flex;
    align-items: center;
    gap: 9px;
    color: white;
}
.account-avatar {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    background: #dae7ed;
    color: #274154;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
}
.account-details strong {
    display: block;
    font-size: 14px;
    font-weight: 500;
    max-width: 165px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.account-details small {
    display: none;
}
.signout-form {
    margin: 0;
    display: flex;
}
.school-main {
    flex: 1;
    width: 100%;
    padding: 18px 22px 26px;
    max-width: none;
    margin: 0;
    outline: none;
}
.page-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 15px;
    min-height: 40px;
}
.page-heading h1 {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 21px;
    font-weight: 550;
    line-height: 1.3;
    letter-spacing: 0;
}
.page-heading h1 i {
    font-size: 23px;
    color: #536576;
}
.heading-actions {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.school-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 22px;
    font-size: 12px;
    color: #6f7b88;
}
.footer-dot {
    margin: 0 6px;
}
.footer-note {
    display: none;
}
.school-nav-scrim {
    position: fixed;
    inset: 0;
    border: 0;
    background: #111a2866;
    z-index: 1035;
}
.sidebar-close {
    display: none;
}
.skip-link {
    position: fixed;
    left: 16px;
    top: -65px;
    z-index: 3000;
    background: #0c83c6;
    color: white;
    padding: 9px 14px;
}
.skip-link:focus {
    top: 10px;
}
.app-loading {
    position: fixed;
    top: 0;
    left: var(--school-sidebar-width);
    right: 0;
    height: 3px;
    z-index: 3000;
    overflow: hidden;
    background: #0c83c633;
}
.app-loading > span:first-child {
    display: block;
    height: 100%;
    width: 35%;
    background: #159de9;
    animation: school-loading 1s ease infinite;
}
@keyframes school-loading {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(390%);
    }
}
body.mobile-nav-open {
    overflow: hidden;
}
@media (min-width: 1101px) {
    .nav-compact {
        --school-sidebar-width: 74px;
    }
    .nav-compact .school-nav {
        padding: 16px 9px;
    }
    .nav-compact .brand-full {
        display: none;
    }
    .nav-compact .brand-mini {
        display: block;
        width: 38px;
        height: 38px;
    }
    .nav-compact .school-brand {
        background: none;
        margin: 0 0 18px;
        padding: 9px;
    }
    .nav-compact .nav-link {
        padding: 10px;
        justify-content: center;
    }
    .nav-compact .nav-link > span,
    .nav-compact .sidebar-account > span:not(.sidebar-account-icon),
    .nav-compact .sidebar-account > i {
        display: none !important;
    }
    .nav-compact .sidebar-account {
        justify-content: center;
        padding: 14px 0;
    }
}
@media (max-width: 1250px) {
    .account-details {
        display: none;
    }
    .page-search-button {
        width: 220px;
    }
}
@media (max-width: 1100px) {
    .school-nav {
        width: 230px;
        transform: translateX(-100%);
    }
    .school-nav.open {
        transform: translateX(0);
    }
    .school-workspace {
        margin-left: 0;
    }
    .app-loading {
        left: 0;
    }
    .sidebar-close {
        display: grid;
        position: absolute;
        right: 3px;
        top: 2px;
        background: #3b4554;
        color: white;
        width: 22px;
        height: 22px;
    }
    .sidebar-close i {
        font-size: 14px;
    }
}
@media (max-width: 700px) {
    .school-main {
        padding: 14px 12px;
    }
    .school-topbar {
        padding: 0 12px;
        gap: 7px;
    }
    .topbar-start,
    .account-menu {
        gap: 5px;
    }
    .topbar-school strong {
        font-size: 14px;
    }
    .page-search-button {
        width: 32px;
        padding: 5px;
        border: 0;
        margin-left: auto;
    }
    .page-search-button span,
    .page-search-button kbd {
        display: none;
    }
    .account-avatar {
        width: 29px;
        height: 29px;
    }
    .icon-button {
        width: 32px;
    }
    .page-heading {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 10px;
    }
    .page-heading h1 {
        font-size: 20px;
    }
    .heading-actions {
        justify-content: flex-start;
    }
    .school-footer {
        padding: 12px;
        font-size: 11px;
    }
    .connection-status {
        max-width: 135px;
        text-align: right;
    }
}
@media (max-width: 359px) {
    .account-name {
        display: none;
    }
    .topbar-school strong {
        font-size: 13px;
    }
}
