:root {

    --primary: #E58A4E;
    --primary-dark: #292929;

    --background: #f5f7f8;
    --surface: #ffffff;
    --surface-soft: #eef2f3;

    --text: #242628;
    --muted: #73797d;
    --border: #e3e7e9;

    --success: #258b62;
    --warning: #c98927;
    --danger: #c95757;

    --radius: 18px;

    --shadow:
        0 8px 30px rgba(25, 30, 35, 0.06);

}


* {
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    margin: 0;

    font-family:
        Inter,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: var(--background);

    color: var(--text);

    -webkit-font-smoothing: antialiased;

}


button,
input {
    font: inherit;
}


button {
    -webkit-tap-highlight-color: transparent;
}


button:focus-visible,
input:focus-visible {

    outline:
        3px solid rgba(229, 138, 78, 0.25);

    outline-offset: 3px;

}


/* =========================================================
   AUTH
========================================================= */


.auth-app {

    min-height: 100vh;

    background: var(--background);

}


.auth-screen {

    display: none;

    width: min(100%, 720px);

    min-height: 100vh;

    margin: 0 auto;

    padding:
        26px 22px 45px;

}


.auth-screen.active {

    display: block;

    animation:
        authPageIn 0.24s ease;

}


@keyframes authPageIn {

    from {

        opacity: 0;

        transform:
            translateY(7px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


.auth-brand {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 18px;

}


.auth-brand-mark {

    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    border-radius: 14px;

    background: var(--primary);

    color: white;

    font-size: 20px;

    font-weight: 850;

}


.auth-content {

    width: min(100%, 460px);

    margin:
        13vh auto 0;

}


.auth-heading {

    margin-bottom: 30px;

}


.auth-heading h1 {

    margin:
        7px 0 12px;

    font-size:
        clamp(30px, 8vw, 42px);

    line-height: 1.08;

    letter-spacing: -1.5px;

}


.auth-heading p:not(.eyebrow) {

    max-width: 410px;

    margin: 0;

    color: var(--muted);

    font-size: 13px;

    line-height: 1.65;

}


.auth-form {

    display: flex;

    flex-direction: column;

    gap: 17px;

}


.auth-form label {

    display: flex;

    flex-direction: column;

    gap: 7px;

}


.auth-form label > span {

    font-size: 11px;

    font-weight: 750;

}


.auth-form input,
.search-field input {

    width: 100%;

    min-height: 51px;

    padding:
        0 15px;

    border:
        1px solid var(--border);

    border-radius: 14px;

    background: var(--surface);

    color: var(--text);

    font-size: 13px;

    outline: none;

    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease;

}


.auth-form input::placeholder,
.search-field input::placeholder {

    color: #a4aaad;

}


.auth-form input:focus,
.search-field input:focus {

    border-color:
        rgba(229, 138, 78, 0.65);

    box-shadow:
        0 0 0 4px rgba(229, 138, 78, 0.08);

}


.password-field {

    position: relative;

}


.password-field input {

    padding-right: 50px;

}


.password-toggle {

    position: absolute;

    right: 9px;

    top: 50%;

    transform:
        translateY(-50%);

    width: 34px;
    height: 34px;

    display: grid;

    place-items: center;

    border: 0;

    border-radius: 10px;

    background: transparent;

    color: var(--muted);

    cursor: pointer;

}


.password-toggle svg {

    width: 18px;
    height: 18px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.7;

    stroke-linecap: round;

    stroke-linejoin: round;

}


.forgot-button {

    align-self: flex-end;

    margin-top: -5px;

    padding: 0;

    border: 0;

    background: transparent;

    color: var(--primary);

    font-size: 11px;

    font-weight: 750;

    cursor: pointer;

}


.primary-button {

    width: 100%;

    min-height: 53px;

    margin-top: 4px;

    border: 0;

    border-radius: 15px;

    background: var(--primary);

    color: white;

    font-size: 13px;

    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 8px 20px rgba(229, 138, 78, 0.18);

    transition:
        transform 0.15s ease,
        opacity 0.15s ease;

}


.primary-button:hover {

    transform:
        translateY(-1px);

}


.primary-button:disabled {

    opacity: 0.42;

    cursor: not-allowed;

    transform: none;

    box-shadow: none;

}


.auth-divider {

    display: flex;

    align-items: center;

    gap: 12px;

    margin:
        22px 0;

    color: #a0a6a9;

    font-size: 10px;

}


.auth-divider::before,
.auth-divider::after {

    content: "";

    flex: 1;

    height: 1px;

    background: var(--border);

}


.secondary-auth-button {

    width: 100%;

    min-height: 51px;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    border:
        1px solid var(--border);

    border-radius: 14px;

    background: var(--surface);

    color: var(--text);

    font-size: 12px;

    font-weight: 700;

    cursor: pointer;

}


.google-icon {

    width: 22px;
    height: 22px;

    display: grid;

    place-items: center;

    border-radius: 50%;

    font-weight: 850;

    color: #4285F4;

}


.auth-switch {

    margin:
        27px 0 0;

    text-align: center;

    color: var(--muted);

    font-size: 11px;

}


.auth-switch button {

    padding: 0;

    border: 0;

    background: transparent;

    color: var(--primary);

    font-weight: 800;

    cursor: pointer;

}


.auth-legal {

    margin:
        18px 0 0;

    color: var(--muted);

    text-align: center;

    font-size: 9px;

    line-height: 1.6;

}


/* =========================================================
   AUTH TOP BAR
========================================================= */


.auth-topbar {

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.back-button {

    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    border:
        1px solid var(--border);

    border-radius: 13px;

    background: var(--surface);

    color: var(--text);

    cursor: pointer;

}


.back-button svg {

    width: 19px;
    height: 19px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;

    stroke-linecap: round;

    stroke-linejoin: round;

}


.setup-progress {

    display: flex;

    gap: 5px;

}


.setup-progress span {

    width: 28px;
    height: 4px;

    border-radius: 20px;

    background: #dfe3e5;

}


.setup-progress span.active {

    background: var(--primary);

}


/* =========================================================
   SETUP
========================================================= */


.setup-screen .auth-content {

    margin-top: 9vh;

}


.setup-icon {

    width: 58px;
    height: 58px;

    display: grid;

    place-items: center;

    margin-bottom: 25px;

    border-radius: 19px;

    background:
        rgba(229, 138, 78, 0.11);

    color: var(--primary);

}


.setup-icon svg {

    width: 27px;
    height: 27px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.6;

    stroke-linecap: round;

    stroke-linejoin: round;

}


.search-field {

    position: relative;

    display: flex;

    align-items: center;

    margin-bottom: 12px;

}


.search-field svg {

    position: absolute;

    left: 15px;

    width: 19px;
    height: 19px;

    fill: none;

    stroke: var(--muted);

    stroke-width: 1.7;

    stroke-linecap: round;

}


.search-field input {

    padding-left: 45px;

}


.search-results,
.child-results {

    display: flex;

    flex-direction: column;

    gap: 8px;

    min-height: 72px;

    margin-bottom: 16px;

}


.search-placeholder {

    padding: 24px 10px;

    color: var(--muted);

    text-align: center;

    font-size: 11px;

}


.school-result,
.child-result {

    width: 100%;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 13px;

    border:
        1px solid var(--border);

    border-radius: 15px;

    background: var(--surface);

    text-align: left;

    cursor: pointer;

    transition:
        border-color 0.15s ease,
        background 0.15s ease;

}


.school-result.selected,
.child-result.selected {

    border-color: var(--primary);

    background:
        rgba(229, 138, 78, 0.045);

}


.school-result-icon,
.school-mini-icon {

    flex: 0 0 auto;

    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    border-radius: 13px;

    background: #edf0f1;

    color: var(--primary);

    font-size: 14px;

    font-weight: 850;

}


.school-result-content,
.child-result-content {

    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 3px;

}


.school-result-content strong,
.child-result-content strong {

    font-size: 12px;

}


.school-result-content span,
.child-result-content span {

    color: var(--muted);

    font-size: 10px;

}


.result-check {

    margin-left: auto;

    color: transparent;

    font-weight: 850;

}


.selected .result-check {

    color: var(--primary);

}


.selected-school-card {

    display: flex;

    align-items: center;

    gap: 11px;

    padding: 12px;

    margin-bottom: 18px;

    border:
        1px solid var(--border);

    border-radius: 15px;

    background: var(--surface);

}


.selected-school-card > div:nth-child(2) {

    min-width: 0;

    flex: 1;

    display: flex;

    flex-direction: column;

    gap: 3px;

}


.selected-school-card strong {

    font-size: 12px;

}


.selected-school-card span {

    color: var(--muted);

    font-size: 10px;

}


.selected-school-card button {

    border: 0;

    background: transparent;

    color: var(--primary);

    font-size: 10px;

    font-weight: 800;

    cursor: pointer;

}


.child-result .student-avatar {

    width: 44px;
    height: 44px;

}


.setup-error {

    padding: 12px;

    border-radius: 12px;

    background: #fbefef;

    color: var(--danger);

    font-size: 10px;

}


/* =========================================================
   MAIN APPLICATION
========================================================= */


.main-app {

    display: none;

    min-height: 100vh;

}


.main-app.visible {

    display: block;

}


.app-header {

    position: sticky;

    top: 0;

    z-index: 20;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 16px 22px;

    background:
        rgba(245, 247, 248, 0.92);

    backdrop-filter: blur(16px);

    border-bottom:
        1px solid rgba(220, 225, 227, 0.75);

}


.brand {

    display: flex;

    align-items: center;

    gap: 11px;

}


.brand-mark {

    width: 40px;
    height: 40px;

    display: grid;

    place-items: center;

    border-radius: 13px;

    background: var(--primary);

    color: white;

    font-size: 19px;

    font-weight: 800;

}


.brand-name {

    font-weight: 800;

    letter-spacing: -0.3px;

}


.school-name {

    margin-top: 1px;

    font-size: 11px;

    color: var(--muted);

}


.icon-button {

    position: relative;

    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    border: 0;

    border-radius: 14px;

    background: var(--surface);

    color: var(--text);

    cursor: pointer;

    box-shadow: var(--shadow);

}


.icon-button svg {

    width: 20px;
    height: 20px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.7;

    stroke-linecap: round;

    stroke-linejoin: round;

}


.icon-button i {

    position: absolute;

    width: 7px;
    height: 7px;

    right: 10px;
    top: 9px;

    border-radius: 50%;

    background: var(--danger);

}


/* =========================================================
   CONTENT
========================================================= */


#content {

    width: min(100%, 720px);

    margin: 0 auto;

    padding:
        28px 22px 110px;

}


.page {

    display: none;

    animation:
        pageIn 0.22s ease;

}


.page.active {

    display: block;

}


@keyframes pageIn {

    from {

        opacity: 0;

        transform:
            translateY(5px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


/* =========================================================
   HOME
========================================================= */


.greeting,
.page-heading {

    margin-bottom: 22px;

}


.greeting h1,
.page-heading h1 {

    margin:
        3px 0 0;

    font-size:
        clamp(27px, 7vw, 34px);

    line-height: 1.1;

    letter-spacing: -1px;

}


.eyebrow {

    margin: 0;

    color: var(--muted);

    font-size: 11px;

    font-weight: 750;

    text-transform: uppercase;

    letter-spacing: 0.8px;

}


.date-label {

    margin-top: 8px;

    color: var(--muted);

    font-size: 12px;

}


.student-selector {

    width: 100%;

    display: flex;

    align-items: center;

    gap: 13px;

    padding: 13px;

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    background: var(--surface);

    box-shadow: var(--shadow);

    text-align: left;

    cursor: pointer;

}


.student-avatar,
.large-avatar {

    flex: 0 0 auto;

    width: 46px;
    height: 46px;

    display: grid;

    place-items: center;

    border-radius: 15px;

    background: #e9ecee;

    color: var(--primary);

    font-size: 13px;

    font-weight: 800;

}


.student-info {

    min-width: 0;

    display: flex;

    flex-direction: column;

    gap: 3px;

}


.student-info strong {

    font-size: 14px;

}


.student-info span {

    color: var(--muted);

    font-size: 11px;

}


.chevron {

    margin-left: auto;

    color: var(--muted);

    font-size: 22px;

}


.stats-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 12px;

    margin-top: 14px;

}


.stat-card {

    display: flex;

    align-items: center;

    gap: 11px;

    padding: 15px;

    background: var(--surface);

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

}


.stat-icon {

    width: 37px;
    height: 37px;

    display: grid;

    place-items: center;

    border-radius: 12px;

    font-weight: 800;

}


.stat-icon.attendance {

    background: #e7f4ee;

    color: var(--success);

}


.stat-icon.exam {

    background: #f4eee3;

    color: var(--warning);

}


.stat-card div {

    display: flex;

    flex-direction: column;

}


.stat-card strong {

    font-size: 16px;

}


.stat-card span {

    margin-top: 2px;

    color: var(--muted);

    font-size: 10px;

}


.content-section {

    margin-top: 31px;

}


.section-heading {

    display: flex;

    align-items: end;

    justify-content: space-between;

    margin-bottom: 12px;

}


.section-heading h2 {

    margin:
        3px 0 0;

    font-size: 17px;

    letter-spacing: -0.3px;

}


.text-button {

    border: 0;

    padding: 0;

    background: transparent;

    color: var(--primary);

    font-size: 11px;

    font-weight: 750;

    cursor: pointer;

}


/* =========================================================
   CARDS
========================================================= */


.schedule-card,
.result-card,
.notice-card,
.subject-list,
.history-card,
.notice-full,
.profile-group,
.profile-card {

    background: var(--surface);

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

}


.schedule-row {

    min-height: 75px;

    display: flex;

    align-items: center;

    padding: 13px 15px;

    border-bottom:
        1px solid var(--border);

}


.schedule-row:last-child {

    border-bottom: 0;

}


.schedule-row.current {

    background: #fafcfc;

}


.time {

    width: 48px;

    display: flex;

    flex-direction: column;

    color: var(--muted);

}


.time strong {

    color: var(--text);

    font-size: 12px;

}


.time span {

    font-size: 9px;

}


.schedule-line {

    width: 1px;
    height: 38px;

    margin-right: 13px;

    background: var(--border);

}


.schedule-details {

    display: flex;

    flex-direction: column;

    gap: 3px;

}


.schedule-details strong {

    font-size: 13px;

}


.schedule-details span {

    color: var(--muted);

    font-size: 10px;

}


.live-pill {

    margin-left: auto;

    padding: 5px 8px;

    border-radius: 20px;

    background: #e8f5ef;

    color: var(--success);

    font-size: 9px;

    font-weight: 750;

}


/* =========================================================
   RESULT
========================================================= */


.result-card {

    padding: 18px;

}


.result-top {

    display: flex;

    justify-content: space-between;

}


.result-top > div:first-child {

    display: flex;

    flex-direction: column;

    gap: 4px;

}


.result-label {

    color: var(--muted);

    font-size: 10px;

}


.result-top strong {

    font-size: 14px;

}


.gpa {

    display: flex;

    flex-direction: column;

    align-items: end;

}


.gpa span {

    color: var(--muted);

    font-size: 9px;

}


.gpa strong {

    font-size: 25px;

}


.result-progress {

    margin-top: 19px;

}


.result-progress > div:first-child {

    display: flex;

    justify-content: space-between;

    margin-bottom: 7px;

    font-size: 10px;

    color: var(--muted);

}


.result-progress strong {

    color: var(--text);

}


.progress-track {

    height: 7px;

    overflow: hidden;

    border-radius: 20px;

    background: #e9edef;

}


.progress-track div {

    height: 100%;

    border-radius: inherit;

    background: var(--primary);

}


/* =========================================================
   NOTICES
========================================================= */


.notice-card {

    display: flex;

    padding: 15px;

    margin-bottom: 10px;

    cursor: pointer;

}


.notice-indicator {

    flex: 0 0 auto;

    width: 4px;

    margin-right: 12px;

    border-radius: 10px;

    background: #d4d9dc;

}


.notice-indicator.important {

    background: var(--warning);

}


.notice-content {

    min-width: 0;

    flex: 1;

}


.notice-meta {

    display: flex;

    align-items: center;

    gap: 8px;

    margin-bottom: 5px;

}


.notice-meta span {

    color: var(--warning);

    font-size: 9px;

    font-weight: 800;

    text-transform: uppercase;

}


.notice-meta small {

    color: var(--muted);

    font-size: 9px;

}


.notice-content > strong {

    display: block;

    font-size: 12px;

    line-height: 1.4;

}


.notice-content p {

    margin:
        5px 0 0;

    color: var(--muted);

    font-size: 10px;

    line-height: 1.5;

}


.arrow {

    align-self: center;

    margin-left: 10px;

    color: var(--muted);

}


/* =========================================================
   NAVIGATION
========================================================= */


.bottom-nav {

    position: fixed;

    left: 50%;

    bottom: 12px;

    z-index: 30;

    width:
        min(calc(100% - 24px), 680px);

    transform:
        translateX(-50%);

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    padding: 8px;

    background:
        rgba(255,255,255,0.94);

    border:
        1px solid var(--border);

    border-radius: 22px;

    box-shadow:
        0 12px 40px rgba(20,25,30,0.13);

    backdrop-filter: blur(18px);

}


.nav-item {

    border: 0;

    background: transparent;

    display: flex;

    flex-direction: column;

    align-items: center;

    gap: 3px;

    padding: 8px 3px;

    border-radius: 15px;

    color: var(--muted);

    cursor: pointer;

}


.nav-item svg {

    width: 19px;
    height: 19px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.65;

    stroke-linecap: round;

    stroke-linejoin: round;

}


.nav-item small {

    font-size: 8px;

    font-weight: 650;

}


.nav-item.active {

    background: var(--primary);

    color: white;

}


/* =========================================================
   ACADEMICS
========================================================= */


.academic-summary {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 12px;

}


.academic-summary > div {

    padding: 18px;

    background: var(--surface);

    border:
        1px solid var(--border);

    border-radius: var(--radius);

    box-shadow: var(--shadow);

}


.academic-summary span {

    display: block;

    color: var(--muted);

    font-size: 10px;

}


.academic-summary strong {

    display: block;

    margin-top: 5px;

    font-size: 27px;

}


.subject-row {

    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 15px;

    border-bottom:
        1px solid var(--border);

}


.subject-row:last-child {

    border-bottom: 0;

}


.subject-row > div:first-child {

    display: flex;

    flex-direction: column;

    gap: 3px;

}


.subject-row strong {

    font-size: 13px;

}


.subject-row span {

    color: var(--muted);

    font-size: 10px;

}


.subject-grade {

    display: flex;

    align-items: center;

    gap: 9px;

}


.subject-grade strong {

    font-size: 15px;

}


.subject-grade span {

    min-width: 26px;

    padding: 5px 4px;

    text-align: center;

    border-radius: 8px;

    background: #edf5f1;

    color: var(--success);

    font-weight: 800;

}


.history-card {

    display: grid;

    grid-template-columns:
        1fr auto auto;

    align-items: center;

    gap: 10px;

    padding: 15px;

    margin-bottom: 9px;

}


.history-card span {

    font-size: 11px;

}


.history-card strong {

    font-size: 12px;

}


.history-card small {

    color: var(--muted);

    font-size: 10px;

}


/* =========================================================
   SCHEDULE
========================================================= */


.day-selector {

    display: grid;

    grid-template-columns:
        repeat(5, 1fr);

    gap: 7px;

    margin-bottom: 25px;

}


.day {

    border:
        1px solid var(--border);

    border-radius: 14px;

    padding: 10px 4px;

    background: var(--surface);

    cursor: pointer;

}


.day small,
.day strong {

    display: block;

}


.day small {

    color: var(--muted);

    font-size: 8px;

    font-weight: 750;

}


.day strong {

    margin-top: 4px;

    font-size: 15px;

}


.day.active {

    background: var(--primary);

    color: white;

    border-color: var(--primary);

}


.day.active small {

    color:
        rgba(255,255,255,0.7);

}


.timeline {

    position: relative;

}


.timeline::before {

    content: "";

    position: absolute;

    left: 72px;

    top: 12px;

    bottom: 12px;

    width: 1px;

    background: var(--border);

}


.timeline-item {

    position: relative;

    display: grid;

    grid-template-columns:
        55px 35px 1fr;

    align-items: start;

    min-height: 92px;

}


.timeline-time {

    padding-top: 15px;

    color: var(--muted);

    font-size: 10px;

    font-weight: 700;

}


.timeline-dot {

    position: relative;

    z-index: 2;

    width: 9px;
    height: 9px;

    margin: 18px auto;

    border-radius: 50%;

    background: #d2d7da;

    box-shadow:
        0 0 0 5px var(--background);

}


.timeline-item.current .timeline-dot {

    background: var(--primary);

}


.timeline-card {

    margin-left: 5px;

    padding: 13px;

    background: var(--surface);

    border:
        1px solid var(--border);

    border-radius: 14px;

    box-shadow: var(--shadow);

}


.timeline-card strong,
.timeline-card span,
.timeline-card small {

    display: block;

}


.timeline-card strong {

    font-size: 12px;

}


.timeline-card span {

    margin-top: 3px;

    color: var(--muted);

    font-size: 10px;

}


.timeline-card small {

    margin-top: 7px;

    color: var(--muted);

    font-size: 9px;

}


.timeline-card.break {

    background: transparent;

    box-shadow: none;

}


/* =========================================================
   FULL NOTICES
========================================================= */


.notice-full {

    display: flex;

    padding: 18px;

    margin-bottom: 12px;

}


.notice-full h3 {

    margin:
        7px 0;

    font-size: 15px;

}


.notice-full p {

    margin: 0;

    color: var(--muted);

    font-size: 11px;

    line-height: 1.65;

}


/* =========================================================
   PROFILE
========================================================= */


.profile-card {

    display: flex;

    flex-direction: column;

    align-items: center;

    padding: 25px;

    text-align: center;

}


.large-avatar {

    width: 70px;
    height: 70px;

    margin-bottom: 12px;

    border-radius: 22px;

    font-size: 18px;

}


.profile-card strong {

    font-size: 16px;

}


.profile-card span {

    margin-top: 4px;

    color: var(--muted);

    font-size: 11px;

}


.profile-group {

    overflow: hidden;

    margin-top: 25px;

    padding-top: 15px;

}


.profile-group .eyebrow {

    padding:
        0 15px 10px;

}


.profile-row {

    width: 100%;

    display: flex;

    justify-content: space-between;

    padding: 15px;

    border: 0;

    border-top:
        1px solid var(--border);

    background: transparent;

    text-align: left;

    font-size: 12px;

    cursor: pointer;

}


.profile-row b {

    color: var(--muted);

}


.profile-row.danger {

    color: var(--danger);

}


/* =========================================================
   STUDENT SHEET
========================================================= */


.sheet-backdrop {

    position: fixed;

    inset: 0;

    z-index: 50;

    background:
        rgba(15,18,20,0.35);

    opacity: 0;

    visibility: hidden;

    transition: 0.2s ease;

}


.sheet-backdrop.open {

    opacity: 1;

    visibility: visible;

}


.bottom-sheet {

    position: fixed;

    left: 50%;

    bottom: 0;

    z-index: 51;

    width:
        min(100%, 720px);

    transform:
        translate(-50%, 105%);

    padding:
        10px 22px 28px;

    background: var(--surface);

    border-radius:
        25px 25px 0 0;

    box-shadow:
        0 -15px 50px rgba(0,0,0,0.15);

    transition:
        transform 0.25s ease;

}


.bottom-sheet.open {

    transform:
        translate(-50%, 0);

}


.sheet-handle {

    width: 36px;
    height: 4px;

    margin:
        3px auto 20px;

    border-radius: 20px;

    background: #d6dbdd;

}


.sheet-heading {

    display: flex;

    justify-content: space-between;

    align-items: center;

    margin-bottom: 15px;

}


.sheet-heading h2 {

    margin:
        3px 0 0;

    font-size: 19px;

}


.sheet-heading button {

    border: 0;

    width: 34px;
    height: 34px;

    border-radius: 50%;

    background: var(--surface-soft);

    font-size: 22px;

    cursor: pointer;

}


.student-option {

    width: 100%;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 12px;

    margin-top: 8px;

    border:
        1px solid var(--border);

    border-radius: 15px;

    background: var(--surface);

    text-align: left;

    cursor: pointer;

}


.student-option > div:nth-child(2) {

    display: flex;

    flex-direction: column;

    gap: 3px;

}


.student-option strong {

    font-size: 12px;

}


.student-option span {

    color: var(--muted);

    font-size: 10px;

}


.student-option .check {

    margin-left: auto;

    color: transparent;

}


.student-option.selected {

    border-color: var(--primary);

    background: #fafafa;

}


.student-option.selected .check {

    color: var(--primary);

    font-weight: 800;

}


.student-avatar.secondary {

    background: #e9e4ef;

    color: #684c7f;

}


/* =========================================================
   RESPONSIVE
========================================================= */


@media (min-width: 760px) {

    .app-header {

        padding-left:
            max(
                22px,
                calc(
                    (100vw - 720px) / 2 + 22px
                )
            );

        padding-right:
            max(
                22px,
                calc(
                    (100vw - 720px) / 2 + 22px
                )
            );

    }

}