/* Auto-split from style.css */

/* Student navigation shell */
.student-app-layout {
    --student-sidebar-width: 258px;
    --student-sidebar-top: 84px;
    min-width: 0;
}

.student-app-layout.is-sidebar-collapsed {
    --student-sidebar-width: 78px;
}

.student-app-content {
    min-width: 0;
    margin-left: var(--student-sidebar-width);
    transition: margin-left .22s ease;
}

.student-sidebar {
    position: fixed;
    z-index: 120;
    top: var(--student-sidebar-top);
    bottom: 0;
    left: 0;
    display: flex;
    width: var(--student-sidebar-width, 258px);
    flex-direction: column;
    border-right: 1px solid var(--line);
    background: var(--surface);
    box-shadow: 8px 0 30px rgba(34, 57, 94, .055);
    transition: width .22s ease, transform .22s ease;
}

.student-sidebar-heading {
    display: flex;
    min-height: 66px;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 14px 12px 18px;
    border-bottom: 1px solid var(--line);
}

.student-sidebar-brand {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 10px;
}

.student-sidebar-mark {
    display: grid;
    width: 38px;
    height: 38px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    background: linear-gradient(145deg, #6795ff, #315edb 70%, #294fbd);
    box-shadow: 0 7px 17px rgba(49, 94, 219, .23);
    font-size: 17px;
    font-weight: 900;
}

.student-sidebar-brand-name {
    overflow: hidden;
    color: var(--ink);
    font-size: 18px;
    font-weight: 850;
    letter-spacing: -.6px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.student-sidebar-brand-name span {
    color: var(--primary);
}

.student-sidebar-collapse,
.student-sidebar-close,
.student-sidebar-open {
    display: grid;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 11px;
    color: var(--muted);
    background: var(--surface);
    cursor: pointer;
    transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.student-sidebar-collapse:hover,
.student-sidebar-close:hover,
.student-sidebar-open:hover {
    border-color: rgba(57, 103, 226, .32);
    color: var(--primary);
    background: var(--background);
}

.student-sidebar-collapse svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
    transition: transform .2s ease;
}

.student-sidebar-close,
.student-sidebar-open {
    display: none;
}

.student-sidebar-nav {
    min-height: 0;
    flex: 1;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 13px 10px 18px;
    overscroll-behavior: contain;
    scrollbar-color: rgba(112, 133, 169, .38) transparent;
    scrollbar-width: thin;
}

.student-sidebar-group + .student-sidebar-group {
    margin-top: 15px;
}

.student-sidebar-group-title {
    margin: 0 9px 6px;
    overflow: hidden;
    color: #7a8aa5;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .12em;
    line-height: 1.5;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.student-sidebar-group ul {
    display: grid;
    gap: 3px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.student-sidebar-link {
    position: relative;
    display: flex;
    width: 100%;
    min-height: 40px;
    align-items: center;
    gap: 11px;
    padding: 7px 10px;
    border: 1px solid transparent;
    border-radius: 11px;
    color: var(--muted);
    background: transparent;
    font: inherit;
    font-size: 12px;
    font-weight: 680;
    line-height: 1.35;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
    transition: color .18s ease, background .18s ease, border-color .18s ease, transform .18s ease;
}

.student-sidebar-link:hover {
    border-color: rgba(74, 116, 223, .1);
    color: var(--ink);
    background: var(--background);
    transform: translateX(2px);
}

.student-sidebar-link.is-active {
    border-color: rgba(55, 101, 224, .12);
    color: var(--primary);
    background: rgba(62, 105, 225, .095);
    font-weight: 780;
}

.student-sidebar-link.is-active::before {
    position: absolute;
    top: 8px;
    bottom: 8px;
    left: -10px;
    width: 3px;
    border-radius: 0 4px 4px 0;
    background: var(--primary);
    content: "";
}

.student-sidebar-link svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.75;
}

.student-sidebar-link-label {
    min-width: 0;
    flex: 1;
}

.student-sidebar-badge {
    flex: 0 0 auto;
    padding: 3px 6px;
    border: 1px solid rgba(72, 119, 229, .16);
    border-radius: 999px;
    color: var(--primary);
    background: rgba(72, 119, 229, .07);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .02em;
    line-height: 1.2;
}

.student-sidebar-badge--future {
    border-color: var(--line);
    color: #8390a4;
    background: var(--background);
}

.student-sidebar-link.is-disabled {
    color: var(--muted);
    cursor: not-allowed;
    opacity: .62;
}

.student-sidebar-link.is-disabled:hover {
    border-color: transparent;
    color: var(--muted);
    background: transparent;
    transform: none;
}

.student-sidebar-logout {
    margin: 0;
}

.student-sidebar-logout .student-sidebar-link {
    color: #c1525c;
}

.student-sidebar-footnote {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin: 0 12px 13px;
    padding: 11px 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--muted);
    background: var(--background);
    font-size: 10px;
    line-height: 1.5;
}

.student-sidebar-footnote-mark {
    display: grid;
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 50%;
    color: #178660;
    background: rgba(44, 185, 137, .13);
    font-size: 11px;
    font-weight: 900;
}

.student-sidebar-scrim[hidden] {
    display: none;
}

.student-sidebar-scrim {
    display: none;
}

.student-app-layout.is-sidebar-collapsed .student-sidebar-brand-name,
.student-app-layout.is-sidebar-collapsed .student-sidebar-group-title,
.student-app-layout.is-sidebar-collapsed .student-sidebar-link-label,
.student-app-layout.is-sidebar-collapsed .student-sidebar-badge,
.student-app-layout.is-sidebar-collapsed .student-sidebar-footnote > span:last-child,
.student-app-layout.is-sidebar-collapsed .student-sidebar-close {
    display: none;
}

.student-app-layout.is-sidebar-collapsed .student-sidebar-heading {
    justify-content: center;
    padding-inline: 8px;
}

.student-app-layout.is-sidebar-collapsed .student-sidebar-brand {
    display: none;
}

.student-app-layout.is-sidebar-collapsed .student-sidebar-collapse svg {
    transform: rotate(180deg);
}

.student-app-layout.is-sidebar-collapsed .student-sidebar-nav {
    padding-inline: 9px;
}

.student-app-layout.is-sidebar-collapsed .student-sidebar-group + .student-sidebar-group {
    margin-top: 11px;
}

.student-app-layout.is-sidebar-collapsed .student-sidebar-group ul {
    gap: 5px;
}

.student-app-layout.is-sidebar-collapsed .student-sidebar-link {
    min-height: 43px;
    justify-content: center;
    padding: 8px;
}

.student-app-layout.is-sidebar-collapsed .student-sidebar-link.is-active::before {
    left: -9px;
}

.student-app-layout.is-sidebar-collapsed .student-sidebar-footnote {
    justify-content: center;
    margin-inline: 10px;
    padding: 9px;
}

.student-sidebar-open {
    order: 1;
}
