:root {
    --student-primary: #0e7a63;
    --student-primary-strong: #075e4c;
    --student-primary-soft: #e7f4f0;
    --student-accent: #f2bc00;
    --student-accent-soft: #fff4c8;
    --student-coral: #e96655;
    --student-blue: #2878b8;
    --student-ink: #17232d;
    --student-muted: #6d7880;
    --student-border: #e1e7e5;
    --student-surface: #ffffff;
    --student-surface-alt: #f4f7f6;
    --student-page: #eef2f1;
    --student-shadow: 0 10px 28px rgba(31, 56, 49, 0.08);
    --student-sidebar: 280px;
}

html { scroll-behavior: smooth; }

/* Shared branded loader */
.student-theme-loader {
    position: fixed !important;
    z-index: 99999 !important;
    inset: 0;
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    background: #0e7a63 !important;
    color: #fff;
    opacity: 1;
    visibility: visible;
    transition: opacity .22s ease, visibility .22s ease;
}
.student-auth-page > .student-theme-loader {
    position: fixed !important;
    inset: 0 !important;
    display: flex !important;
    width: 100vw !important;
    height: 100vh !important;
    height: 100dvh !important;
    min-height: 100vh !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
}
.student-auth-page > .student-theme-loader .student-theme-loader-inner {
    position: static !important;
    inset: auto !important;
    margin: 0 auto !important;
    transform: none !important;
}
.student-theme-loader-inner {
    display: flex;
    width: min(360px, calc(100% - 44px));
    align-items: center;
    flex-direction: column;
    text-align: center;
}
.student-theme-loader-inner img {
    display: block;
    width: 210px;
    height: auto;
    object-fit: contain;
}
.student-theme-loader-track {
    width: 190px;
    height: 5px;
    margin: 26px 0 20px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,.2);
}
.student-theme-loader-track span {
    display: block;
    width: 45%;
    height: 100%;
    border-radius: inherit;
    background: #f2bc00;
    animation: studentLoaderSlide 1.05s ease-in-out infinite;
}
.student-theme-loader-inner strong {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}
.student-theme-loader-inner small {
    margin-top: 6px;
    color: rgba(255,255,255,.76);
    font-size: 13px;
}
@keyframes studentLoaderSlide {
    0% { transform: translateX(-110%); }
    50% { transform: translateX(120%); }
    100% { transform: translateX(340%); }
}

body.student-app-page {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    background: var(--student-page);
    color: var(--student-ink);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}

.student-app-page *,
.student-app-page *::before,
.student-app-page *::after { box-sizing: border-box; }

.student-app-page a { color: inherit; text-decoration: none; }
.student-app-page button,
.student-app-page input,
.student-app-page select,
.student-app-page textarea { font-family: inherit; letter-spacing: 0; }

.student-app-page a:focus-visible,
.student-app-page button:focus-visible,
.student-app-page input:focus-visible,
.student-app-page select:focus-visible,
.student-app-page textarea:focus-visible {
    outline: 3px solid rgba(242, 188, 0, 0.58);
    outline-offset: 2px;
}

.student-app-shell {
    display: flex;
    min-height: 100vh;
    overflow: visible !important;
    background: var(--student-page);
}

.student-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1030;
    display: flex;
    width: var(--student-sidebar);
    flex-direction: column;
    border-right: 1px solid var(--student-border);
    background: var(--student-surface);
    padding: 26px 18px 20px;
}

.student-brand {
    display: flex;
    min-height: 58px;
    align-items: center;
}

.student-brand img {
    display: block;
    width: 180px;
    height: 58px;
    object-fit: contain;
    object-position: left center;
}

.student-side-nav {
    display: grid;
    gap: 7px;
    margin-top: 30px;
}

.student-nav-item {
    display: grid;
    min-height: 52px;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    padding: 0 15px;
    color: var(--student-muted) !important;
    font-size: 15px;
    font-weight: 750;
    transition: background-color .18s ease, color .18s ease;
}

.student-nav-item i { font-size: 19px; text-align: center; }
.student-nav-item:hover,
.student-nav-item.is-active { background: var(--student-primary-soft); color: var(--student-primary) !important; }
.student-nav-item b {
    display: grid;
    min-width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    background: var(--student-accent);
    color: #202510;
    font-size: 10px;
}

.student-sidebar-footer { margin-top: auto; }
.student-online,
.student-drawer-version { display: flex; align-items: center; gap: 8px; color: var(--student-muted); font-size: 13px; }
.student-online { margin: 0 12px 13px; }
.student-online span,
.student-drawer-version span {
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: #26a269;
    box-shadow: 0 0 0 4px rgba(38, 162, 105, .12);
}
.student-nav-danger { color: #b64242 !important; }
.student-nav-danger:hover { background: #fff0f0; color: #952d2d !important; }

.student-app-column {
    display: flex;
    min-width: 0;
    min-height: 100vh;
    flex: 1;
    flex-direction: column;
    margin-left: var(--student-sidebar);
}

.student-topbar {
    position: sticky;
    top: 0;
    z-index: 1020;
    display: flex;
    min-height: 76px;
    align-items: center;
    border-bottom: 1px solid rgba(225, 231, 229, .9);
    background: rgba(255, 255, 255, .94);
    padding: 11px clamp(20px, 4vw, 52px);
    backdrop-filter: blur(16px);
}

.student-page-name small,
.student-page-name strong { display: block; }
.student-page-name small { margin-bottom: 2px; color: var(--student-muted); font-size: 12px; text-transform: uppercase; }
.student-page-name strong { font-size: 17px; }
.student-topbar-spacer { flex: 1; }
.student-period {
    margin-right: 10px;
    border-radius: 999px;
    background: var(--student-surface-alt);
    padding: 7px 10px;
    color: var(--student-muted);
    font-size: 13px;
    font-weight: 750;
    white-space: nowrap;
}

.student-icon-button,
.student-avatar {
    position: relative;
    display: inline-grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    margin-left: 7px;
    border: 1px solid var(--student-border);
    border-radius: 50%;
    background: var(--student-surface);
    color: var(--student-ink);
    cursor: pointer;
}

.student-icon-button:hover { border-color: var(--student-primary); color: var(--student-primary); }
.student-avatar { overflow: hidden; margin-left: 11px; }
.student-avatar img { width: 100%; height: 100%; object-fit: cover; }
.student-notification span {
    position: absolute;
    top: -3px;
    right: -3px;
    display: grid;
    width: 18px;
    height: 18px;
    place-items: center;
    border: 2px solid var(--student-surface);
    border-radius: 50%;
    background: var(--student-coral);
    color: #fff;
    font-size: 8px;
    font-weight: 850;
}

.student-app-main { flex: 1; min-width: 0; }
.student-content {
    width: min(1360px, calc(100% - 48px));
    min-height: calc(100vh - 132px);
    margin: 0 auto;
    padding: 34px 0 58px;
}

.student-app-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--student-border);
    padding: 18px clamp(22px, 4vw, 52px);
    color: var(--student-muted);
    font-size: 13px;
}

.student-mobile-only,
.student-bottom-nav,
.student-mobile-drawer { display: none; }

.student-drawer-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1050;
    background: rgba(8, 22, 18, .55);
    backdrop-filter: blur(2px);
}

/* Shared page headings */
.student-app-page .wpo-page-title {
    min-height: 0 !important;
    margin: 0 0 24px !important;
    overflow: visible;
    background: transparent !important;
    padding: 0 !important;
}

.student-app-page .wpo-page-title::before,
.student-app-page .wpo-page-title > .shape-1,
.student-app-page .wpo-page-title > .shape-2,
.student-app-page .wpo-page-title > .shape-3,
.student-app-page .wpo-page-title > .shape-4 { display: none !important; }

.student-app-page .wpo-page-title .container { max-width: none; padding: 0; }
.student-app-page .wpo-page-title .row { margin: 0; }
.student-app-page .wpo-page-title [class*="col-"] { padding: 0; }
.student-app-page .wpo-page-title .wpo-breadcumb-wrap {
    display: flex;
    min-height: 78px;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    text-align: left;
}
.student-app-page .wpo-page-title h2 {
    margin: 0 !important;
    color: var(--student-ink) !important;
    font-size: 29px !important;
    line-height: 1.2;
    letter-spacing: 0;
}
.student-app-page .wpo-page-title ol.wpo-breadcumb-wrap { min-height: auto; margin: 0; padding: 0; }
.student-app-page .wpo-page-title ol a {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--student-border);
    border-radius: 50%;
    background: var(--student-surface);
    color: var(--student-primary);
    font-size: 0;
}
.student-app-page .wpo-page-title ol a::before { content: "\f104"; font-family: FontAwesome; font-size: 20px; }
.student-app-page .wpo-page-title ol a img { display: none; }

/* Legacy sections aligned to the app shell */
.student-app-page .section-padding,
.student-app-page .wpo-checkout-area,
.student-app-page .wpo-blog-pg-section,
.student-app-page .wpo-product-section { padding-top: 0 !important; padding-bottom: 30px !important; }
.student-app-page .student-content > .container,
.student-app-page .student-content > div > .container,
.student-app-page .student-content > section > .container,
.student-app-page .student-content .wpo-checkout-area > .container,
.student-app-page .student-content .wpo-blog-pg-section > .container { max-width: none; padding-left: 0; padding-right: 0; }

.student-app-page .card,
.student-app-page .accordion-item,
.student-app-page .checkout-wrap,
.student-app-page .biling-item,
.student-app-page .wpo-blog-content .post,
.student-app-page .feedback-card {
    border: 1px solid var(--student-border) !important;
    border-radius: 8px !important;
    background: var(--student-surface) !important;
    color: var(--student-ink);
    box-shadow: 0 4px 16px rgba(31, 56, 49, .04) !important;
}

.student-app-page .card-header,
.student-app-page .card-footer,
.student-app-page .accordion-button { border-color: var(--student-border) !important; background: var(--student-surface-alt) !important; color: var(--student-ink) !important; }
.student-app-page .card-body,
.student-app-page .accordion-body { color: var(--student-ink); }
.student-app-page .text-muted { color: var(--student-muted) !important; }

.student-app-page .accordion { --bs-accordion-border-color: var(--student-border); }
.student-app-page .accordion-item { overflow: hidden; margin-bottom: 12px; }
.student-app-page .accordion-button { min-height: 56px; font-weight: 750; box-shadow: none !important; }
.student-app-page .accordion-button:not(.collapsed) { background: var(--student-primary-soft) !important; color: var(--student-primary) !important; }

.student-app-page .student-table-scroll,
.student-app-page .table-responsive { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.student-app-page table { color: var(--student-ink); }
.student-app-page .table { margin-bottom: 0; border-color: var(--student-border); }
.student-app-page .table > :not(caption) > * > * { border-color: var(--student-border); padding: 12px; vertical-align: middle; }
.student-app-page .table thead th,
.student-app-page .program-table th { background: var(--student-surface-alt); color: var(--student-muted); font-size: 11px; text-transform: uppercase; white-space: nowrap; }

.student-app-page input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.student-app-page select,
.student-app-page textarea,
.student-app-page .form-control,
.student-app-page .form-select {
    min-height: 46px;
    border: 1px solid var(--student-border) !important;
    border-radius: 8px !important;
    background-color: var(--student-surface) !important;
    color: var(--student-ink) !important;
    box-shadow: none !important;
}
.student-app-page textarea.form-control { min-height: 120px; }
.student-app-page input:focus,
.student-app-page select:focus,
.student-app-page textarea:focus,
.student-app-page .form-control:focus,
.student-app-page .form-select:focus { border-color: var(--student-primary) !important; box-shadow: 0 0 0 3px rgba(14, 122, 99, .12) !important; }
.student-app-page label { color: var(--student-ink); font-weight: 650; }
.student-app-page .form-check-input:checked { border-color: var(--student-primary); background-color: var(--student-primary); }

.student-app-page .theme-btn,
.student-app-page .theme-btn-s2,
.student-app-page .btn-primary,
.student-app-page button[type="submit"] {
    min-height: 44px;
    border: 1px solid var(--student-primary) !important;
    border-radius: 8px !important;
    background: var(--student-primary) !important;
    color: #fff !important;
    font-weight: 750;
    line-height: 1.2;
    padding: 0 18px !important;
    text-transform: none;
    box-shadow: none !important;
}
.student-app-page .theme-btn::before,
.student-app-page .theme-btn::after,
.student-app-page .theme-btn-s2::before,
.student-app-page .theme-btn-s2::after { display: none !important; }
.student-app-page .theme-btn:hover,
.student-app-page .theme-btn-s2:hover,
.student-app-page .btn-primary:hover,
.student-app-page button[type="submit"]:hover { border-color: var(--student-primary-strong) !important; background: var(--student-primary-strong) !important; }
.student-app-page .btn-outline-primary { border-color: var(--student-primary); color: var(--student-primary); }
.student-app-page .btn-outline-primary:hover { background: var(--student-primary); color: #fff; }

/* Existing category cards */
.student-app-page .wpo-courses-section-s2 { padding: 0 0 30px !important; background: transparent !important; }
.student-app-page .wpo-courses-section-s2 > .container { max-width: none; padding: 0; }
.student-app-page .wpo-courses-section-s2 .shape-1,
.student-app-page .wpo-courses-section-s2 .shape-2,
.student-app-page .wpo-courses-section-s2 .shape-3,
.student-app-page .wpo-courses-section-s2 .shape-4 { display: none; }
.student-app-page .wpo-courses-wrap {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 0 !important;
}
.student-app-page .wpo-courses-wrap > .grid { width: auto; max-width: none; padding: 0; }
.student-app-page .wpo-courses-item {
    height: 100%;
    min-height: 190px;
    overflow: hidden;
    border: 1px solid var(--student-border);
    border-radius: 8px;
    background: var(--student-surface);
    box-shadow: 0 4px 16px rgba(31, 56, 49, .04);
    transition: transform .18s ease, border-color .18s ease;
}
.student-app-page .wpo-courses-item:hover { transform: translateY(-3px); border-color: rgba(14, 122, 99, .4); }
.student-app-page .wpo-courses-item .wpo-courses-text { padding: 22px !important; }
.student-app-page .wpo-courses-item .courses-icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    margin-bottom: 20px;
    border-radius: 8px;
    background: var(--student-primary-soft) !important;
    color: var(--student-primary) !important;
}
.student-app-page .wpo-courses-item .courses-icon i { color: inherit !important; font-size: 22px !important; }
.student-app-page .wpo-courses-item h2 { margin: 0 0 8px; color: var(--student-ink) !important; font-size: 18px !important; letter-spacing: 0; }
.student-app-page .wpo-courses-item p { margin: 0; color: var(--student-muted) !important; font-size: 12px; line-height: 1.55; }
.student-app-page .wpo-section-title-s2 { margin-bottom: 20px; text-align: left; }
.student-app-page .wpo-section-title-s2 small { color: var(--student-primary); }
.student-app-page .wpo-section-title-s2 h2,
.student-app-page .wpo-section-title-s2 h3 { color: var(--student-ink); letter-spacing: 0; }

/* Compact navigation block used at the end of detail pages */
.student-quick-links { margin-top: 34px; }
.student-section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.student-section-heading small { color: var(--student-primary); font-size: 12px; font-weight: 850; text-transform: uppercase; }
.student-section-heading h2 { margin: 2px 0 0; color: var(--student-ink); font-size: 22px; }
.student-quick-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.student-quick-grid > a {
    display: grid;
    min-height: 94px;
    grid-template-columns: 50px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-content: center;
    column-gap: 13px;
    border: 1px solid var(--student-border);
    border-radius: 8px;
    background: var(--student-surface);
    padding: 15px;
    box-shadow: 0 4px 16px rgba(31, 56, 49, .04);
}
.student-quick-grid > a > span { display: grid; width: 50px; height: 50px; grid-row: 1 / 3; place-items: center; border-radius: 8px; font-size: 21px; }
.student-quick-grid > a > span.green { background: var(--student-primary-soft); color: var(--student-primary); }
.student-quick-grid > a > span.yellow { background: var(--student-accent-soft); color: #8a6500; }
.student-quick-grid > a > span.blue { background: #e8f3fb; color: var(--student-blue); }
.student-quick-grid > a > span.coral { background: #fff0ed; color: var(--student-coral); }
.student-quick-grid strong { align-self: end; overflow: hidden; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.student-quick-grid small { align-self: start; overflow: hidden; color: var(--student-muted); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }

/* Home dashboard */
.student-home-heading { margin-bottom: 24px; }
.student-home-heading small { color: var(--student-primary); font-size: 13px; font-weight: 850; text-transform: uppercase; }
.student-home-greeting { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0 9px; margin: 3px 0 7px; }
.student-home-greeting > span { color: var(--student-ink); font-size: 32px; line-height: 1.2; }
.student-home-heading h1 { margin: 0; color: var(--student-ink); font-size: 35px; line-height: 1.2; letter-spacing: 0; }
.student-home-heading p { margin: 0; color: var(--student-muted); font-size: 17px; line-height: 1.6; }
.student-focus-panel {
    display: grid;
    min-height: 270px;
    grid-template-columns: minmax(0, 1fr) 300px;
    overflow: hidden;
    border-radius: 8px;
    background: var(--student-primary);
    color: #fff;
    box-shadow: var(--student-shadow);
}
.student-focus-copy { align-self: center; padding: 32px 38px; }
.student-focus-copy > span { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; background: rgba(255,255,255,.14); padding: 8px 12px; font-size: 13px; font-weight: 750; }
.student-focus-copy small { display: block; margin-top: 22px; color: rgba(255,255,255,.8); font-size: 14px; font-weight: 750; }
.student-focus-copy h2 { margin: 5px 0 9px; color: #fff; font-size: 32px; letter-spacing: 0; }
.student-focus-copy p { max-width: 650px; margin: 0; color: rgba(255,255,255,.84); font-size: 16px; line-height: 1.6; }
.student-focus-copy a { display: inline-flex; min-height: 48px; align-items: center; margin-top: 20px; border-radius: 8px; background: var(--student-accent); padding: 0 20px; color: #1d261f !important; font-size: 16px; font-weight: 850; }
.student-focus-panel > img { align-self: end; justify-self: center; width: 230px; max-height: 250px; object-fit: contain; filter: drop-shadow(0 18px 20px rgba(0,0,0,.16)); }
.student-home-actions { margin-top: 30px; }
.student-home-actions h2,
.student-home-card h2 { margin: 0 0 14px; color: var(--student-ink); font-size: 22px; }
.student-home-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.student-home-grid > a { display: flex; min-height: 94px; align-items: center; gap: 14px; border: 1px solid var(--student-border); border-radius: 8px; background: var(--student-surface); padding: 15px; }
.student-home-grid > a > span { display: grid; width: 50px; height: 50px; flex: 0 0 50px; place-items: center; border-radius: 8px; background: var(--student-primary-soft); color: var(--student-primary); font-size: 21px; }
.student-home-grid > a:nth-child(2) > span { background: var(--student-accent-soft); color: #8a6500; }
.student-home-grid > a:nth-child(3) > span { background: #e8f3fb; color: var(--student-blue); }
.student-home-grid > a:nth-child(4) > span { background: #fff0ed; color: var(--student-coral); }
.student-home-grid > a:nth-child(5) > span { background: #eef0fb; color: #5367a6; }
.student-home-grid strong,
.student-home-grid small { display: block; }
.student-home-grid strong { font-size: 16px; }
.student-home-grid small { margin-top: 4px; color: var(--student-muted); font-size: 13px; }
.student-home-columns { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 18px; margin-top: 28px; }
.student-home-card { border: 1px solid var(--student-border); border-radius: 8px; background: var(--student-surface); padding: 20px; box-shadow: 0 4px 16px rgba(31,56,49,.04); }
.student-profile-summary { text-align: center; }
.student-profile-summary > img { width: 112px; height: 112px; border: 4px solid var(--student-primary-soft); border-radius: 50%; object-fit: cover; }
.student-profile-summary h2 { margin: 14px 0 5px; }
.student-profile-summary p { margin: 0 0 16px; color: var(--student-muted); font-size: 15px; line-height: 1.55; }
.student-profile-summary a { display: inline-flex; min-height: 44px; align-items: center; border: 1px solid var(--student-primary); border-radius: 8px; padding: 0 17px; color: var(--student-primary); font-size: 14px; font-weight: 750; }
.student-announcement-list { display: grid; }
.student-announcement-row { display: grid; min-height: 82px; grid-template-columns: 44px minmax(0,1fr) auto; align-items: center; gap: 13px; border-top: 1px solid var(--student-border); }
.student-announcement-row:first-child { border-top: 0; }
.student-announcement-row > i { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 8px; background: var(--student-primary-soft); color: var(--student-primary); font-size: 18px; }
.student-announcement-row strong,
.student-announcement-row small { display: block; }
.student-announcement-row strong { overflow: hidden; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.student-announcement-row small { margin-top: 5px; color: var(--student-muted); font-size: 12px; }
.student-announcement-row b { border-radius: 999px; background: var(--student-surface-alt); padding: 6px 10px; color: var(--student-muted); font-size: 11px; }
.student-announcement-row.is-unread b { background: #fff0ed; color: var(--student-coral); }
.student-announcement-all { display: inline-flex; margin-top: 14px; color: var(--student-primary) !important; font-size: 14px; font-weight: 800; }
.student-empty-state { border: 1px dashed var(--student-border); border-radius: 8px; padding: 20px; color: var(--student-muted); font-size: 14px; text-align: center; }

/* Announcements */
.student-announcements-page { display: grid; gap: 30px; }
.student-announcements-hero {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid var(--student-border);
    padding: 4px 0 27px;
}
.student-announcements-hero-icon {
    display: grid;
    width: 64px;
    height: 64px;
    place-items: center;
    border-radius: 8px;
    background: var(--student-primary);
    color: #fff;
    font-size: 26px;
}
.student-announcements-hero small {
    display: block;
    margin-bottom: 3px;
    color: var(--student-primary);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}
.student-announcements-hero h1 {
    margin: 0;
    color: var(--student-ink);
    font-size: 32px;
    letter-spacing: 0;
}
.student-announcements-hero p {
    margin: 7px 0 0;
    color: var(--student-muted);
    font-size: 15px;
    line-height: 1.55;
}
.student-announcement-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--student-border);
    border-radius: 8px;
    background: var(--student-surface);
}
.student-announcement-summary > div {
    display: flex;
    min-height: 92px;
    align-items: center;
    gap: 12px;
    border-left: 1px solid var(--student-border);
    padding: 18px 22px;
}
.student-announcement-summary > div:first-child { border-left: 0; }
.student-announcement-summary strong { color: var(--student-primary); font-size: 28px; }
.student-announcement-summary span { color: var(--student-muted); font-size: 14px; font-weight: 700; }
.student-announcement-group { display: grid; gap: 14px; }
.student-announcement-group-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.student-announcement-group-heading > div { display: flex; align-items: center; gap: 12px; }
.student-announcement-group-heading > div > span {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    border-radius: 8px;
    font-size: 20px;
}
.student-announcement-group-heading .green { background: var(--student-primary-soft); color: var(--student-primary); }
.student-announcement-group-heading .yellow { background: var(--student-accent-soft); color: #8a6500; }
.student-announcement-group-heading small { display: block; color: var(--student-muted); font-size: 11px; font-weight: 750; text-transform: uppercase; }
.student-announcement-group-heading h2 { margin: 2px 0 0; color: var(--student-ink); font-size: 21px; letter-spacing: 0; }
.student-announcement-group-heading > b {
    display: grid;
    min-width: 32px;
    height: 32px;
    place-items: center;
    border-radius: 50%;
    background: var(--student-surface-alt);
    color: var(--student-muted);
    font-size: 13px;
}
.student-modern-announcement-list { display: grid; gap: 10px; }
.student-modern-announcement {
    display: grid;
    min-height: 106px;
    grid-template-columns: 52px minmax(0, 1fr) 36px;
    align-items: center;
    gap: 15px;
    border: 1px solid var(--student-border);
    border-radius: 8px;
    background: var(--student-surface);
    padding: 16px 18px;
    box-shadow: 0 4px 16px rgba(31,56,49,.035);
    transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.student-modern-announcement:hover {
    border-color: rgba(14,122,99,.38);
    box-shadow: 0 10px 26px rgba(31,56,49,.08);
    transform: translateY(-2px);
}
.student-modern-announcement-icon {
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    border-radius: 8px;
    background: var(--student-primary-soft);
    color: var(--student-primary);
    font-size: 21px;
}
.student-modern-announcement.is-private .student-modern-announcement-icon { background: var(--student-accent-soft); color: #8a6500; }
.student-modern-announcement-copy,
.student-modern-announcement-copy > small,
.student-modern-announcement-copy > strong,
.student-modern-announcement-copy > span { display: block; min-width: 0; }
.student-modern-announcement-copy > small { margin-bottom: 3px; color: var(--student-primary); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.student-modern-announcement.is-private .student-modern-announcement-copy > small { color: #8a6500; }
.student-modern-announcement-copy > strong { overflow: hidden; color: var(--student-ink); font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
.student-modern-announcement-copy > span { margin-top: 7px; color: var(--student-muted); font-size: 13px; }
.student-modern-announcement-copy > span i { margin-right: 4px; }
.student-modern-announcement-copy > span i:not(:first-child) { margin-left: 14px; }
.student-modern-announcement-arrow { color: var(--student-muted); font-size: 22px; text-align: center; }
.student-modern-empty {
    display: flex;
    min-height: 150px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 1px dashed var(--student-border);
    border-radius: 8px;
    color: var(--student-muted);
    text-align: center;
}
.student-modern-empty > i { margin-bottom: 10px; color: var(--student-primary); font-size: 27px; }
.student-modern-empty strong { color: var(--student-ink); font-size: 16px; }
.student-modern-empty span { margin-top: 4px; font-size: 13px; }

.student-announcement-detail-page { max-width: 1080px; margin: 0 auto; }
.student-announcement-detail-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.student-detail-back { display: inline-flex; min-height: 44px; align-items: center; gap: 8px; color: var(--student-primary) !important; font-size: 14px; font-weight: 800; }
.student-detail-back i { font-size: 21px; }
.student-announcement-detail-toolbar > span { display: inline-flex; align-items: center; gap: 6px; color: var(--student-primary); font-size: 13px; font-weight: 750; }
.student-announcement-detail-card { overflow: hidden; border: 1px solid var(--student-border); border-radius: 8px; background: var(--student-surface); box-shadow: 0 8px 28px rgba(31,56,49,.06); }
.student-announcement-detail-header { display: grid; grid-template-columns: 66px minmax(0,1fr); gap: 18px; border-bottom: 1px solid var(--student-border); padding: 30px; }
.student-announcement-detail-icon { display: grid; width: 66px; height: 66px; place-items: center; border-radius: 8px; background: var(--student-primary); color: #fff; font-size: 27px; }
.student-announcement-detail-header small { color: var(--student-primary); font-size: 12px; font-weight: 850; text-transform: uppercase; }
.student-announcement-detail-header h1 { margin: 4px 0 10px; color: var(--student-ink); font-size: 28px; line-height: 1.3; letter-spacing: 0; }
.student-announcement-detail-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--student-muted); font-size: 13px; }
.student-announcement-detail-meta span { display: inline-flex; align-items: center; gap: 6px; }
.student-announcement-detail-content { min-height: 180px; padding: 32px; color: var(--student-ink); font-size: 17px; line-height: 1.8; overflow-wrap: anywhere; }
.student-announcement-attachment { border-top: 1px solid var(--student-border); padding: 26px 30px 30px; }
.student-announcement-attachment-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 16px; }
.student-announcement-attachment-heading > div { display: flex; align-items: center; gap: 11px; }
.student-announcement-attachment-heading > div > span { display: grid; width: 44px; height: 44px; place-items: center; border-radius: 8px; background: #fff0ed; color: var(--student-coral); font-size: 19px; }
.student-announcement-attachment-heading small { display: block; color: var(--student-muted); font-size: 11px; text-transform: uppercase; }
.student-announcement-attachment-heading h2 { margin: 2px 0 0; color: var(--student-ink); font-size: 19px; }
.student-announcement-attachment-heading > a { display: inline-flex; min-height: 42px; align-items: center; gap: 7px; border: 1px solid var(--student-primary); border-radius: 8px; padding: 0 14px; color: var(--student-primary) !important; font-size: 13px; font-weight: 800; }
.student-pdf-frame { width: 100%; min-height: 72vh; border: 0; border-radius: 8px; background: #1e1e1e; }
.student-announcement-detail-footer { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--student-border); background: var(--student-surface-alt); padding: 18px 30px; }
.student-announcement-detail-footer a { display: inline-flex; min-height: 42px; align-items: center; gap: 7px; color: var(--student-primary) !important; font-size: 14px; font-weight: 800; }

/* Assignments */
.student-tasks-page { display: grid; gap: 28px; }
.student-tasks-hero {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--student-border);
    padding-bottom: 28px;
}
.student-tasks-hero-icon {
    display: grid;
    width: 72px;
    height: 72px;
    place-items: center;
    border-radius: 8px;
    background: var(--student-primary);
    color: #fff;
    font-size: 29px;
}
.student-tasks-hero small {
    color: var(--student-primary);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}
.student-tasks-hero h1 {
    margin: 3px 0 6px;
    color: var(--student-ink);
    font-size: 34px;
    line-height: 1.18;
    letter-spacing: 0;
}
.student-tasks-hero p {
    max-width: 760px;
    margin: 0;
    color: var(--student-muted);
    font-size: 16px;
    line-height: 1.55;
}
.student-task-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    border: 1px solid var(--student-border);
    border-radius: 8px;
    background: var(--student-surface);
    box-shadow: 0 6px 20px rgba(31,56,49,.04);
}
.student-task-summary > div {
    display: flex;
    min-height: 92px;
    align-items: center;
    gap: 13px;
    border-left: 1px solid var(--student-border);
    padding: 18px 22px;
}
.student-task-summary > div:first-child { border-left: 0; }
.student-task-summary-icon {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    border-radius: 8px;
    font-size: 19px;
}
.student-task-summary-icon.green { background: var(--student-primary-soft); color: var(--student-primary); }
.student-task-summary-icon.yellow { background: var(--student-accent-soft); color: #8a6500; }
.student-task-summary-icon.red { background: #fff0ed; color: #c7493b; }
.student-task-summary strong,
.student-task-summary small { display: block; }
.student-task-summary strong { color: var(--student-ink); font-size: 25px; line-height: 1; }
.student-task-summary small { margin-top: 5px; color: var(--student-muted); font-size: 13px; font-weight: 700; }
.student-task-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.student-task-toolbar > div:first-child small,
.student-task-toolbar > div:first-child strong { display: block; }
.student-task-toolbar > div:first-child small { color: var(--student-primary); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.student-task-toolbar > div:first-child strong { margin-top: 3px; color: var(--student-ink); font-size: 17px; }
.student-task-view-switch {
    display: inline-grid;
    grid-template-columns: repeat(2, 1fr);
    border: 1px solid var(--student-border);
    border-radius: 8px;
    background: var(--student-surface);
    padding: 4px;
}
.student-task-view-switch button {
    display: inline-flex;
    min-width: 112px;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 7px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--student-muted);
    font-size: 14px;
    font-weight: 800;
}
.student-task-view-switch button.is-active { background: var(--student-primary); color: #fff; }
.student-task-view[hidden] { display: none !important; }
.student-task-view.is-active { display: grid; gap: 34px; }
.student-task-section { display: grid; gap: 15px; }
.student-task-section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}
.student-task-section-heading > div { display: flex; min-width: 0; align-items: center; gap: 12px; }
.student-task-section-heading > div > span {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    border-radius: 8px;
    font-size: 18px;
}
.student-task-section-heading .green { background: var(--student-primary-soft); color: var(--student-primary); }
.student-task-section-heading .yellow { background: var(--student-accent-soft); color: #8a6500; }
.student-task-section-heading .gray { background: var(--student-surface-alt); color: var(--student-muted); }
.student-task-section-heading .blue { background: #e8f4fb; color: var(--student-blue); }
.student-task-section-heading small { display: block; color: var(--student-muted); font-size: 11px; font-weight: 750; text-transform: uppercase; }
.student-task-section-heading h2 { margin: 2px 0 0; color: var(--student-ink); font-size: 21px; letter-spacing: 0; }
.student-task-section-heading > b {
    display: grid;
    min-width: 34px;
    height: 34px;
    place-items: center;
    border-radius: 8px;
    background: var(--student-surface);
    color: var(--student-primary);
    font-size: 13px;
    box-shadow: inset 0 0 0 1px var(--student-border);
}
.student-task-list { display: grid; gap: 10px; }
.student-task-card {
    display: grid;
    min-height: 104px;
    grid-template-columns: 50px minmax(0, 1fr) auto 24px;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--student-border);
    border-left: 4px solid var(--student-primary);
    border-radius: 8px;
    background: var(--student-surface);
    padding: 16px 18px 16px 15px;
    box-shadow: 0 5px 18px rgba(31,56,49,.04);
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
a.student-task-card:hover {
    border-color: rgba(14,122,99,.45);
    box-shadow: 0 10px 24px rgba(31,56,49,.09);
    transform: translateY(-1px);
}
.student-task-card.is-complete { border-left-color: #2b9b72; }
.student-task-card.is-overdue {
    border-color: #efc8c3;
    border-left-color: #c7493b;
    background: #fff8f7;
    box-shadow: none;
}
.student-task-card-icon {
    display: grid;
    width: 50px;
    height: 50px;
    place-items: center;
    border-radius: 8px;
    background: var(--student-primary-soft);
    color: var(--student-primary);
    font-size: 20px;
}
.student-task-card.is-complete .student-task-card-icon { background: #e7f5ee; color: #23815e; }
.student-task-card.is-overdue .student-task-card-icon { background: #fde7e4; color: #b33c31; }
.student-task-card-copy,
.student-task-card-copy > small,
.student-task-card-copy > strong { display: block; min-width: 0; }
.student-task-card-copy > small { margin-bottom: 3px; color: var(--student-primary); font-size: 11px; font-weight: 850; text-transform: uppercase; }
.student-task-card.is-overdue .student-task-card-copy > small { color: #b33c31; }
.student-task-card-copy > strong { color: var(--student-ink); font-size: 17px; line-height: 1.35; overflow-wrap: anywhere; }
.student-task-card-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 8px; color: var(--student-muted); font-size: 12px; }
.student-task-card-meta span { display: inline-flex; align-items: center; gap: 5px; }
.student-task-status {
    display: inline-flex;
    min-height: 30px;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 999px;
    padding: 5px 10px;
    background: var(--student-primary-soft);
    color: var(--student-primary);
    font-size: 11px;
    font-weight: 850;
    white-space: nowrap;
}
.student-task-status.is-complete { background: #e7f5ee; color: #237d5c; }
.student-task-status.is-overdue { background: #fde7e4; color: #ad382e; }
.student-task-card-arrow { color: var(--student-muted); font-size: 21px; }
.student-task-empty {
    display: flex;
    min-height: 140px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border: 1px dashed var(--student-border);
    border-radius: 8px;
    background: var(--student-surface);
    padding: 24px;
    text-align: center;
}
.student-task-empty > i { margin-bottom: 9px; color: var(--student-primary); font-size: 26px; }
.student-task-empty strong { color: var(--student-ink); font-size: 16px; }
.student-task-empty span { margin-top: 5px; color: var(--student-muted); font-size: 13px; }
.student-task-days { display: grid; gap: 18px; }
.student-task-day {
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
}
.student-task-day > header { display: flex; align-items: center; gap: 10px; padding: 11px 0; }
.student-task-day > header > span {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    border-radius: 8px;
    background: var(--student-surface);
    color: var(--student-primary);
    font-size: 11px;
    font-weight: 900;
    box-shadow: inset 0 0 0 1px var(--student-border);
}
.student-task-day header strong,
.student-task-day header small { display: block; }
.student-task-day header strong { color: var(--student-ink); font-size: 13px; line-height: 1.35; }
.student-task-day header small { margin-top: 3px; color: var(--student-muted); font-size: 11px; }
.student-task-section.is-history { border-top: 1px solid var(--student-border); padding-top: 30px; }
.student-task-section.is-history .student-task-day > header > span { color: var(--student-muted); }
.student-task-table-card,
.student-program-section {
    overflow: hidden;
    border: 1px solid var(--student-border);
    border-radius: 8px;
    background: var(--student-surface);
    box-shadow: 0 6px 20px rgba(31,56,49,.04);
}
.student-task-table-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--student-border); padding: 20px 22px; }
.student-task-table-heading small { color: var(--student-primary); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.student-task-table-heading h2 { margin: 2px 0 0; color: var(--student-ink); font-size: 21px; letter-spacing: 0; }
.student-task-table-heading > span { border-radius: 999px; background: var(--student-primary-soft); padding: 6px 10px; color: var(--student-primary); font-size: 12px; font-weight: 800; }
.student-task-table-scroll,
.student-program-scroll { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.student-task-table,
.student-program-table { width: 100%; border-collapse: collapse; color: var(--student-ink); }
.student-task-table { min-width: 900px; }
.student-program-table { min-width: 1080px; }
.student-task-table th,
.student-task-table td,
.student-program-table th,
.student-program-table td { border-bottom: 1px solid var(--student-border); padding: 14px; text-align: left; vertical-align: middle; }
.student-task-table thead th,
.student-program-table thead th { background: var(--student-surface-alt); color: var(--student-muted); font-size: 11px; font-weight: 850; text-transform: uppercase; white-space: nowrap; }
.student-task-table tbody td { font-size: 13px; }
.student-task-table tbody td > strong,
.student-task-table tbody td > small { display: block; }
.student-task-table tbody td > small { margin-top: 3px; color: var(--student-muted); font-size: 11px; }
.student-task-table tbody tr.is-overdue { background: #fff8f7; }
.student-task-table tbody tr.is-clickable { cursor: pointer; transition: background-color .18s ease, box-shadow .18s ease; }
.student-task-table tbody tr.is-clickable:hover,
.student-task-table tbody tr.is-clickable:focus-visible { outline: 0; background: var(--student-primary-soft); box-shadow: inset 4px 0 0 var(--student-primary); }
.student-task-table tbody tr:last-child td,
.student-program-table tbody tr:last-child th,
.student-program-table tbody tr:last-child td { border-bottom: 0; }
.student-task-table td:last-child { width: 46px; text-align: center; }
.student-task-table td:last-child a { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 8px; background: var(--student-primary-soft); color: var(--student-primary) !important; font-size: 18px; }
.student-task-table .student-task-table-topic { display: inline-flex; align-items: center; border-bottom: 1px solid currentColor; color: var(--student-primary) !important; font-weight: 800; line-height: 1.45; }
.student-task-table .student-task-table-topic:hover { color: var(--student-primary-strong) !important; }
.student-task-table .student-task-table-topic.is-locked { border-bottom: 0; color: var(--student-muted) !important; font-weight: 650; }
.student-task-table-empty { height: 120px; color: var(--student-muted); text-align: center !important; }
.student-program-section { padding-top: 20px; }
.student-program-section > .student-task-section-heading { padding: 0 22px 18px; }
.student-program-table th,
.student-program-table td { min-width: 104px; text-align: center; font-size: 12px; }
.student-program-table th:first-child { position: sticky; left: 0; z-index: 2; min-width: 68px; background: var(--student-surface-alt); color: var(--student-primary); }
.student-program-table td strong,
.student-program-table td small { display: block; }
.student-program-table td small { margin-top: 5px; color: var(--student-muted); font-size: 10px; line-height: 1.35; }
.student-program-table td.has-lesson,
.student-program-table td.has-plan { background: var(--student-primary-soft); color: var(--student-primary-strong); font-weight: 750; }
.student-life-plan-label { display: block; line-height: 1.4; }
.student-life-task-link { display: block; margin-top: 7px; border-top: 1px solid rgba(14,122,99,.2); padding-top: 7px; color: var(--student-primary-strong) !important; font-size: 11px; font-weight: 850; line-height: 1.35; text-decoration: underline !important; text-underline-offset: 2px; }
.student-life-task-link::before { margin-right: 4px; font-family: FontAwesome; font-weight: normal; content: "\f15c"; }
.student-life-task-link.is-complete::before { content: "\f00c"; }
.student-program-table .student-program-time-row th,
.student-program-table .student-program-time-row td { background: var(--student-surface-alt); color: var(--student-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }

/* Task detail and submission */
.student-task-detail-page { display: grid; gap: 22px; }
.student-task-detail-back { display: inline-flex; width: max-content; min-height: 42px; align-items: center; gap: 9px; color: var(--student-primary) !important; font-size: 14px; font-weight: 800; }
.student-task-detail-back i { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid var(--student-border); border-radius: 50%; background: var(--student-surface); }
.student-task-detail-hero { display: grid; grid-template-columns: 68px minmax(0,1fr) auto; align-items: center; gap: 18px; border-bottom: 1px solid var(--student-border); padding: 2px 0 25px; }
.student-task-detail-icon { display: grid; width: 68px; height: 68px; place-items: center; border-radius: 8px; background: var(--student-primary); color: #fff; font-size: 28px; }
.student-task-detail-hero small { display: block; color: var(--student-primary); font-size: 12px; font-weight: 850; text-transform: uppercase; }
.student-task-detail-hero h1 { margin: 4px 0 3px; color: var(--student-ink); font-size: 30px; line-height: 1.18; letter-spacing: 0; overflow-wrap: anywhere; }
.student-task-detail-hero p { margin: 0; color: var(--student-muted); font-size: 14px; }
.student-task-detail-status { display: inline-flex; min-height: 38px; align-items: center; gap: 7px; border-radius: 999px; padding: 0 13px; font-size: 12px; font-weight: 850; white-space: nowrap; }
.student-task-detail-status.is-pending { background: var(--student-primary-soft); color: var(--student-primary); }
.student-task-detail-status.is-complete { background: #e5f6ec; color: #217443; }
.student-task-detail-layout { display: grid; grid-template-columns: minmax(0,1fr) 290px; align-items: start; gap: 18px; }
.student-task-detail-main { display: grid; gap: 18px; min-width: 0; }
.student-task-info-band { display: grid; grid-template-columns: .65fr .9fr 1.45fr; overflow: hidden; border: 1px solid var(--student-border); border-radius: 8px; background: var(--student-surface); }
.student-task-info-band > div { display: grid; min-width: 0; grid-template-columns: 42px minmax(0,1fr); align-items: center; column-gap: 11px; border-left: 1px solid var(--student-border); padding: 17px; }
.student-task-info-band > div:first-child { border-left: 0; }
.student-task-info-band > div > span { display: grid; width: 42px; height: 42px; grid-row: 1 / 3; place-items: center; border-radius: 8px; background: var(--student-primary-soft); color: var(--student-primary); font-size: 17px; }
.student-task-info-band small,
.student-task-info-band strong { display: block; min-width: 0; }
.student-task-info-band small { align-self: end; color: var(--student-muted); font-size: 11px; font-weight: 750; }
.student-task-info-band strong { align-self: start; overflow: hidden; margin-top: 2px; color: var(--student-ink); font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.student-task-resources,
.student-task-submit-panel,
.student-task-complete-panel,
.student-task-gallery,
.student-task-detail-aside { border: 1px solid var(--student-border); border-radius: 8px; background: var(--student-surface); box-shadow: 0 6px 20px rgba(31,56,49,.04); }
.student-task-resources,
.student-task-submit-panel,
.student-task-gallery { padding: 22px; }
.student-task-block-heading { display: flex; align-items: center; gap: 12px; }
.student-task-block-heading > span { display: grid; width: 46px; height: 46px; flex: 0 0 46px; place-items: center; border-radius: 8px; background: var(--student-primary-soft); color: var(--student-primary); font-size: 19px; }
.student-task-block-heading small { display: block; color: var(--student-primary); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.student-task-block-heading h2 { margin: 2px 0 0; color: var(--student-ink); font-size: 20px; letter-spacing: 0; }
.student-task-resource-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 17px; }
.student-task-resource-list > a { display: grid; min-height: 70px; grid-template-columns: 38px minmax(0,1fr) 20px; align-items: center; gap: 10px; border: 1px solid var(--student-border); border-radius: 8px; padding: 11px; }
.student-task-resource-list > a > i:first-child { color: var(--student-coral); font-size: 25px; text-align: center; }
.student-task-resource-list > a > i:last-child { color: var(--student-muted); }
.student-task-resource-list strong,
.student-task-resource-list small { display: block; }
.student-task-resource-list strong { color: var(--student-ink); font-size: 14px; }
.student-task-resource-list small { margin-top: 3px; color: var(--student-muted); font-size: 11px; }
.student-task-submit-intro { margin: 14px 0 19px; color: var(--student-muted); font-size: 14px; line-height: 1.55; }
.student-task-count-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
.student-task-count-field { display: grid; min-height: 84px; grid-template-columns: 44px minmax(0,1fr) auto; align-items: center; gap: 11px; margin: 0; border: 1px solid var(--student-border); border-radius: 8px; padding: 12px; }
.student-task-count-field > span:first-child,
.student-task-upload-group > div > span { display: grid; width: 42px; height: 42px; flex: 0 0 42px; place-items: center; border-radius: 8px; font-size: 16px; }
.student-task-count-field .is-wrong,
.student-task-upload-group .is-wrong { background: #fff0ed; color: var(--student-coral); }
.student-task-count-field .is-blank,
.student-task-upload-group .is-blank { background: var(--student-accent-soft); color: #8a6500; }
.student-task-count-field > span:nth-child(2) strong,
.student-task-count-field > span:nth-child(2) small { display: block; }
.student-task-count-field > span:nth-child(2) strong { color: var(--student-ink); font-size: 15px; }
.student-task-count-field > span:nth-child(2) small { margin-top: 3px; color: var(--student-muted); font-size: 11px; }
.student-number-stepper { display: grid; overflow: hidden; grid-template-columns: 36px 46px 36px; border: 1px solid var(--student-border); border-radius: 8px; background: var(--student-surface-alt); }
.student-number-stepper button { display: grid; width: 36px; height: 42px; place-items: center; border: 0; background: transparent; color: var(--student-primary); font-size: 12px; }
.student-number-stepper input { width: 46px !important; min-width: 0 !important; height: 42px !important; border: 0 !important; border-inline: 1px solid var(--student-border) !important; border-radius: 0 !important; background: var(--student-surface) !important; padding: 0 !important; color: var(--student-ink) !important; font-size: 17px !important; font-weight: 850; text-align: center; appearance: textfield; }
.student-number-stepper input::-webkit-inner-spin-button { margin: 0; appearance: none; }
.student-task-upload-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; margin-top: 12px; }
.student-task-upload-group { min-width: 0; border: 1px dashed var(--student-border); border-radius: 8px; padding: 14px; background: var(--student-surface-alt); }
.student-task-upload-group > div:first-child { display: flex; align-items: center; gap: 11px; }
.student-task-upload-group > div:first-child strong,
.student-task-upload-group > div:first-child small { display: block; }
.student-task-upload-group > div:first-child strong { color: var(--student-ink); font-size: 14px; }
.student-task-upload-group > div:first-child small { margin-top: 3px; color: var(--student-muted); font-size: 10px; }
.student-task-upload-trigger { display: flex; min-height: 46px; align-items: center; justify-content: center; gap: 8px; margin: 13px 0 0; border: 1px solid var(--student-primary); border-radius: 8px; background: var(--student-surface); color: var(--student-primary); font-size: 13px; font-weight: 850; cursor: pointer; }
.student-task-preview-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.student-task-upload-group.has-files .student-task-preview-grid { margin-top: 11px; }
.student-task-preview-grid figure { position: relative; min-width: 0; margin: 0; }
.student-task-preview-grid img { display: block; width: 100%; aspect-ratio: 1; border-radius: 7px; object-fit: cover; }
.student-task-preview-grid button { position: absolute; top: 5px; right: 5px; display: grid; width: 30px; height: 30px; place-items: center; border: 2px solid #fff; border-radius: 50%; background: #c94343; color: #fff; font-size: 12px; box-shadow: 0 4px 12px rgba(0,0,0,.18); }
.student-task-preview-grid figcaption { overflow: hidden; margin-top: 5px; color: var(--student-muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.student-task-submit-error { margin-top: 13px; border-radius: 8px; background: #fff0ed; padding: 12px 14px; color: #a94035; font-size: 13px; font-weight: 750; }
.student-task-upload-progress { margin-top: 14px; }
.student-task-upload-progress > span { display: block; height: 7px; overflow: hidden; border-radius: 999px; background: var(--student-border); }
.student-task-upload-progress > span i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--student-primary); transition: width .2s ease; }
.student-task-upload-progress small { display: block; margin-top: 7px; color: var(--student-muted); font-size: 11px; text-align: center; }
.student-task-submit-button { display: flex; width: 100%; min-height: 52px; align-items: center; justify-content: center; gap: 9px; margin-top: 15px; border: 0; border-radius: 8px; background: var(--student-primary); color: #fff; font-size: 15px; font-weight: 850; }
.student-task-submit-button:disabled { cursor: wait; opacity: .8; }
.student-task-detail-aside { position: sticky; top: 90px; padding: 20px; }
.student-task-detail-aside > small { color: var(--student-primary); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.student-task-detail-aside > h2 { margin: 3px 0 16px; color: var(--student-ink); font-size: 20px; }
.student-task-detail-aside dl { margin: 0; }
.student-task-detail-aside dl > div { border-top: 1px solid var(--student-border); padding: 12px 0; }
.student-task-detail-aside dt { display: flex; align-items: center; gap: 7px; color: var(--student-muted); font-size: 11px; font-weight: 750; }
.student-task-detail-aside dt i { width: 15px; color: var(--student-primary); text-align: center; }
.student-task-detail-aside dd { margin: 5px 0 0 22px; color: var(--student-ink); font-size: 13px; font-weight: 750; line-height: 1.4; overflow-wrap: anywhere; }
.student-task-detail-aside > p { display: flex; gap: 8px; margin: 14px 0 0; border-radius: 8px; background: var(--student-primary-soft); padding: 11px; color: var(--student-primary-strong); font-size: 11px; line-height: 1.5; }
.student-task-detail-aside > p i { margin-top: 2px; }
.student-task-complete-panel { display: grid; grid-template-columns: 62px minmax(0,1fr) auto; align-items: center; gap: 16px; padding: 20px; }
.student-task-complete-mark { display: grid; width: 62px; height: 62px; place-items: center; border-radius: 50%; background: #e5f6ec; color: #217443; font-size: 24px; }
.student-task-complete-panel small { color: #217443; font-size: 10px; font-weight: 850; text-transform: uppercase; }
.student-task-complete-panel h2 { margin: 2px 0 4px; color: var(--student-ink); font-size: 23px; }
.student-task-complete-panel p { margin: 0; color: var(--student-muted); font-size: 13px; }
.student-task-complete-stats { display: flex; gap: 8px; }
.student-task-complete-stats > span { min-width: 88px; border-radius: 8px; background: var(--student-surface-alt); padding: 10px; text-align: center; }
.student-task-complete-stats strong,
.student-task-complete-stats small { display: block; }
.student-task-complete-stats strong { color: var(--student-ink); font-size: 21px; }
.student-task-complete-stats small { color: var(--student-muted); font-size: 9px; text-transform: none; }
.student-task-gallery-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 10px; margin-top: 17px; }
.student-task-gallery-grid button { overflow: hidden; border: 1px solid var(--student-border); border-radius: 8px; background: var(--student-surface); padding: 0; text-align: left; }
.student-task-gallery-grid img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.student-task-gallery-grid span { display: flex; align-items: center; gap: 6px; padding: 9px; font-size: 10px; font-weight: 800; }
.student-task-gallery-grid span.is-wrong { color: var(--student-coral); }
.student-task-gallery-grid span.is-blank { color: #8a6500; }
.student-task-gallery-empty { display: flex; min-height: 100px; align-items: center; justify-content: center; gap: 9px; margin-top: 16px; border: 1px dashed var(--student-border); border-radius: 8px; color: var(--student-muted); font-size: 13px; }
.student-task-result-modal,
.student-task-lightbox { position: fixed; z-index: 12000; inset: 0; display: grid; place-items: center; padding: 18px; opacity: 0; visibility: hidden; transition: opacity .18s ease, visibility .18s ease; }
.student-task-result-modal[hidden],
.student-task-lightbox[hidden] { display: none; }
.student-task-result-modal.is-visible,
.student-task-lightbox.is-visible { opacity: 1; visibility: visible; }
.student-task-result-backdrop,
.student-task-lightbox-backdrop { position: absolute; inset: 0; background: rgba(10,25,21,.7); backdrop-filter: blur(5px); }
.student-task-result-card { position: relative; width: min(410px,100%); border-radius: 8px; background: var(--student-surface); padding: 28px; color: var(--student-ink); text-align: center; box-shadow: 0 26px 70px rgba(0,0,0,.25); }
.student-task-result-card > span { display: grid; width: 66px; height: 66px; place-items: center; margin: 0 auto 15px; border-radius: 50%; background: #e5f6ec; color: #217443; font-size: 25px; }
.student-task-result-card > small { color: var(--student-primary); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.student-task-result-card h2 { margin: 4px 0 7px; color: var(--student-ink); font-size: 25px; }
.student-task-result-card p { margin: 0; color: var(--student-muted); font-size: 14px; line-height: 1.55; }
.student-task-result-card button { width: 100%; min-height: 48px; margin-top: 19px; border: 0; border-radius: 8px; background: var(--student-primary); color: #fff; font-size: 14px; font-weight: 850; }
.student-task-lightbox > div:last-child { position: relative; width: min(880px,100%); }
.student-task-lightbox > div:last-child > button { position: absolute; z-index: 2; top: 10px; right: 10px; display: grid; width: 42px; height: 42px; place-items: center; border: 0; border-radius: 50%; background: rgba(10,25,21,.78); color: #fff; font-size: 17px; }
.student-task-lightbox img { display: block; width: 100%; max-height: 78vh; border-radius: 8px; background: #111; object-fit: contain; }
.student-task-lightbox > div:last-child > span { display: block; margin-top: 9px; color: #fff; font-size: 13px; font-weight: 750; text-align: center; }
body.student-task-modal-open { overflow: hidden; }

/* Exams */
.student-exams-page,
.student-exam-entry-page,
.student-exam-results-page { display: grid; gap: 28px; }
.student-exams-hero {
    display: grid;
    grid-template-columns: 72px minmax(0,1fr);
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid var(--student-border);
    padding-bottom: 28px;
}
.student-exams-hero-icon,
.student-exam-entry-icon {
    display: grid;
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    place-items: center;
    border-radius: 8px;
    background: var(--student-primary);
    color: #fff;
    font-size: 29px;
}
.student-exams-hero small,
.student-exam-entry-hero small,
.student-exam-results-hero small { color: var(--student-primary); font-size: 12px; font-weight: 850; text-transform: uppercase; }
.student-exams-hero h1,
.student-exam-entry-hero h1,
.student-exam-results-hero h1 { margin: 3px 0 6px; color: var(--student-ink); font-size: 34px; line-height: 1.18; letter-spacing: 0; }
.student-exams-hero p,
.student-exam-entry-hero p,
.student-exam-results-hero p { max-width: 780px; margin: 0; color: var(--student-muted); font-size: 16px; line-height: 1.55; }
.student-exam-summary {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    overflow: hidden;
    border: 1px solid var(--student-border);
    border-radius: 8px;
    background: var(--student-surface);
    box-shadow: 0 6px 20px rgba(31,56,49,.04);
}
.student-exam-summary > div { display: flex; min-height: 88px; align-items: center; gap: 13px; border-left: 1px solid var(--student-border); padding: 17px 22px; }
.student-exam-summary > div:first-child { border-left: 0; }
.student-exam-summary > div > span { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; border-radius: 8px; background: var(--student-primary-soft); color: var(--student-primary); font-size: 18px; }
.student-exam-summary small,
.student-exam-summary strong { display: block; }
.student-exam-summary small { color: var(--student-muted); font-size: 11px; font-weight: 750; text-transform: uppercase; }
.student-exam-summary strong { margin-top: 3px; color: var(--student-ink); font-size: 17px; }
.student-exam-category { display: grid; gap: 14px; }
.student-exam-category + .student-exam-category { border-top: 1px solid var(--student-border); padding-top: 26px; }
.student-exam-category-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.student-exam-category-heading small { color: var(--student-primary); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.student-exam-category-heading h2 { margin: 2px 0 0; color: var(--student-ink); font-size: 22px; letter-spacing: 0; }
.student-exam-category-heading > span { color: var(--student-muted); font-size: 12px; font-weight: 750; }
.student-exam-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.student-exam-card {
    display: grid;
    min-height: 158px;
    grid-template-columns: 52px minmax(0,1fr) 36px;
    align-items: start;
    gap: 14px;
    border: 1px solid var(--student-border);
    border-radius: 8px;
    background: var(--student-surface);
    padding: 20px;
    box-shadow: 0 5px 18px rgba(31,56,49,.04);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.student-exam-card:hover { border-color: rgba(14,122,99,.4); box-shadow: 0 12px 26px rgba(31,56,49,.1); transform: translateY(-2px); }
.student-exam-card-icon { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 8px; background: var(--student-primary-soft); color: var(--student-primary); font-size: 20px; }
.student-exam-card.tone-blue .student-exam-card-icon { background: #e8f4fb; color: var(--student-blue); }
.student-exam-card.tone-yellow .student-exam-card-icon { background: var(--student-accent-soft); color: #8a6500; }
.student-exam-card.tone-coral .student-exam-card-icon { background: #fff0ed; color: var(--student-coral); }
.student-exam-card-copy > small,
.student-exam-card-copy > strong,
.student-exam-card-copy > span { display: block; }
.student-exam-card-copy > small { color: var(--student-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.student-exam-card-copy > strong { margin-top: 3px; color: var(--student-ink); font-size: 22px; }
.student-exam-card-copy > span { margin-top: 8px; color: var(--student-muted); font-size: 13px; line-height: 1.5; }
.student-exam-card-action { display: grid; width: 36px; height: 36px; place-items: center; border-radius: 8px; background: var(--student-surface-alt); color: var(--student-primary); font-size: 14px; }
.student-exam-entry-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.student-exam-entry-toolbar > span { color: var(--student-primary); font-size: 12px; font-weight: 800; }
.student-exam-entry-hero,
.student-exam-results-hero { display: grid; grid-template-columns: 72px minmax(0,1fr); align-items: center; gap: 20px; border-bottom: 1px solid var(--student-border); padding-bottom: 25px; }
.student-exam-entry-hero.tone-blue .student-exam-entry-icon,
.student-exam-results-hero.tone-blue .student-exam-entry-icon { background: var(--student-blue); }
.student-exam-entry-hero.tone-yellow .student-exam-entry-icon,
.student-exam-results-hero.tone-yellow .student-exam-entry-icon { background: #9a7200; }
.student-exam-entry-hero.tone-coral .student-exam-entry-icon,
.student-exam-results-hero.tone-coral .student-exam-entry-icon { background: var(--student-coral); }
.student-exam-steps {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--student-border);
    border-radius: 8px;
    background: var(--student-surface);
    padding: 0;
    list-style: none;
}
.student-exam-steps li { position: relative; display: flex; min-height: 78px; align-items: center; gap: 11px; border-left: 1px solid var(--student-border); padding: 14px 18px; }
.student-exam-steps li:first-child { border-left: 0; }
.student-exam-steps li > span { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 50%; background: var(--student-surface-alt); color: var(--student-muted); font-size: 12px; font-weight: 850; }
.student-exam-steps small,
.student-exam-steps strong { display: block; }
.student-exam-steps small { color: var(--student-muted); font-size: 10px; text-transform: uppercase; }
.student-exam-steps strong { margin-top: 2px; color: var(--student-muted); font-size: 14px; }
.student-exam-steps li.is-complete > span { background: var(--student-primary-soft); color: var(--student-primary); }
.student-exam-steps li.is-complete strong { color: var(--student-ink); }
.student-exam-steps li.is-active { background: var(--student-primary-soft); }
.student-exam-steps li.is-active > span { background: var(--student-primary); color: #fff; }
.student-exam-steps li.is-active small,
.student-exam-steps li.is-active strong { color: var(--student-primary-strong); }
.student-exam-entry-layout { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(280px,.55fr); align-items: start; gap: 18px; }
.student-exam-info-form,
.student-exam-entry-aside {
    border: 1px solid var(--student-border);
    border-radius: 8px;
    background: var(--student-surface);
    box-shadow: 0 6px 20px rgba(31,56,49,.04);
}
.student-exam-info-form { display: grid; gap: 20px; padding: 27px; }
.student-exam-form-heading small,
.student-exam-entry-aside > small,
.student-exam-results-heading small,
.student-exam-track-section > div:first-child small { color: var(--student-primary); font-size: 11px; font-weight: 850; text-transform: uppercase; }
.student-exam-form-heading h2,
.student-exam-entry-aside h2,
.student-exam-results-heading h2,
.student-exam-track-section h2 { margin: 3px 0 6px; color: var(--student-ink); font-size: 23px; letter-spacing: 0; }
.student-exam-form-heading p,
.student-exam-results-heading p,
.student-exam-track-section p { margin: 0; color: var(--student-muted); font-size: 13px; line-height: 1.55; }
.student-exam-form-error { display: flex; align-items: flex-start; gap: 9px; border: 1px solid #efc8c3; border-radius: 8px; background: #fff4f2; padding: 12px 14px; color: #a9362e; font-size: 13px; line-height: 1.5; }
.student-exam-form-error[hidden] { display: none !important; }
.student-exam-form-error i { margin-top: 3px; }
.student-exam-field { display: grid; gap: 8px; margin: 0; }
.student-exam-field > span { color: var(--student-ink); font-size: 14px; font-weight: 800; }
.student-exam-field > span i { width: 20px; color: var(--student-primary); }
.student-exam-field input { width: 100%; height: 52px; border: 1px solid var(--student-border); border-radius: 8px; background: var(--student-surface); padding: 0 14px; color: var(--student-ink); font-size: 16px; }
.student-exam-field input:focus { border-color: var(--student-primary); outline: 3px solid rgba(14,122,99,.12); }
.student-exam-field > small { color: var(--student-muted); font-size: 12px; }
.student-exam-primary-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 9px; border: 0; border-radius: 8px; background: var(--student-primary); padding: 0 20px; color: #fff !important; font-size: 15px; font-weight: 850; }
.student-exam-primary-button:hover { background: var(--student-primary-strong); }
.student-exam-primary-button:disabled { cursor: not-allowed; opacity: .55; }
.student-exam-primary-button.is-loading i { animation: studentExamSpin .8s linear infinite; }
@keyframes studentExamSpin { to { transform: rotate(360deg); } }
.student-exam-entry-aside { padding: 27px; }
.student-exam-entry-aside dl { display: grid; gap: 0; margin: 20px 0; }
.student-exam-entry-aside dl > div { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--student-border); padding: 13px 0; }
.student-exam-entry-aside dt { color: var(--student-muted); font-size: 12px; font-weight: 650; }
.student-exam-entry-aside dd { margin: 0; color: var(--student-ink); font-size: 12px; font-weight: 800; text-align: right; }
.student-exam-entry-aside > p { display: flex; align-items: flex-start; gap: 8px; margin: 0; border-radius: 8px; background: var(--student-primary-soft); padding: 12px; color: var(--student-primary-strong); font-size: 12px; line-height: 1.5; }
.student-exam-results-hero { grid-template-columns: 72px minmax(0,1fr) auto; }
.student-exam-results-badge { display: grid; justify-items: end; gap: 4px; }
.student-exam-results-badge span { border-radius: 999px; background: var(--student-primary-soft); padding: 7px 12px; color: var(--student-primary); font-size: 12px; font-weight: 850; }
.student-exam-results-badge small { color: var(--student-muted); font-size: 11px; }
.student-exam-results-form { display: grid; gap: 20px; }
.student-exam-track-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 1px solid var(--student-border);
    border-radius: 8px;
    background: var(--student-surface);
    padding: 22px;
}
.student-exam-track-switch { display: grid; min-width: 410px; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
.student-exam-track-switch label { margin: 0; cursor: pointer; }
.student-exam-track-switch input { position: absolute; opacity: 0; pointer-events: none; }
.student-exam-track-switch label > span { display: grid; min-height: 82px; grid-template-columns: 38px minmax(0,1fr); align-items: center; column-gap: 10px; border: 1px solid var(--student-border); border-radius: 8px; background: var(--student-surface-alt); padding: 12px; }
.student-exam-track-switch label > span > i { grid-row: 1 / 3; color: var(--student-blue); font-size: 21px; text-align: center; }
.student-exam-track-switch strong,
.student-exam-track-switch small { display: block; }
.student-exam-track-switch strong { align-self: end; color: var(--student-ink); font-size: 17px; }
.student-exam-track-switch small { align-self: start; color: var(--student-muted); font-size: 11px; }
.student-exam-track-switch input:checked + span { border-color: var(--student-primary); background: var(--student-primary-soft); box-shadow: inset 0 0 0 1px var(--student-primary); }
.student-exam-results-heading { display: flex; align-items: end; justify-content: space-between; gap: 18px; }
.student-exam-results-heading > span { display: inline-flex; align-items: center; gap: 7px; border-radius: 8px; background: var(--student-surface); padding: 9px 12px; color: var(--student-muted); font-size: 12px; font-weight: 750; box-shadow: inset 0 0 0 1px var(--student-border); }
.student-exam-course-list { display: grid; gap: 12px; }
.student-exam-course {
    overflow: hidden;
    border: 1px solid var(--student-border);
    border-radius: 8px;
    background: var(--student-surface);
    box-shadow: 0 5px 18px rgba(31,56,49,.04);
}
.student-exam-course-header { display: grid; grid-template-columns: 48px minmax(0,1fr) auto; align-items: center; gap: 13px; border-bottom: 1px solid var(--student-border); padding: 16px 18px; }
.student-exam-course-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 8px; background: var(--student-primary-soft); color: var(--student-primary); font-size: 18px; }
.student-exam-course-header small { display: block; color: var(--student-primary); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.student-exam-course-header h3 { display: inline; margin: 2px 8px 0 0; color: var(--student-ink); font-size: 18px; letter-spacing: 0; }
.student-exam-course-header div > span { color: var(--student-muted); font-size: 12px; }
.student-exam-course-header > b { border-radius: 999px; background: var(--student-surface-alt); padding: 6px 10px; color: var(--student-muted); font-size: 10px; white-space: nowrap; }
.student-exam-course-header > b.is-active { background: var(--student-primary-soft); color: var(--student-primary); }
.student-exam-score-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 11px; padding: 18px; }
.student-exam-score-grid label { display: grid; gap: 7px; margin: 0; }
.student-exam-score-grid label > span { color: var(--student-muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.student-exam-score-grid input { width: 100%; height: 48px; border: 1px solid var(--student-border); border-radius: 8px; background: var(--student-surface); padding: 0 12px; color: var(--student-ink); font-size: 16px; font-weight: 750; }
.student-exam-score-grid input:focus { border-color: var(--student-primary); outline: 3px solid rgba(14,122,99,.12); }
.student-exam-score-grid .is-net input { border-color: transparent; background: var(--student-primary-soft); color: var(--student-primary-strong); }
.student-exam-course-hint { display: flex; align-items: center; gap: 6px; margin: -5px 18px 16px; color: var(--student-muted); font-size: 11px; }
.student-exam-upload-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; padding: 0 18px 18px; }
.student-exam-upload[hidden] { display: none !important; }
.student-exam-upload { display: grid; gap: 10px; margin: 0; border: 1px dashed var(--student-border); border-radius: 8px; background: var(--student-surface-alt); padding: 13px; cursor: pointer; }
.student-exam-upload > span { display: grid; grid-template-columns: 30px minmax(0,1fr); column-gap: 8px; }
.student-exam-upload > span > i { grid-row: 1 / 3; align-self: center; color: var(--student-coral); font-size: 18px; text-align: center; }
.student-exam-upload strong,
.student-exam-upload small { display: block; }
.student-exam-upload strong { color: var(--student-ink); font-size: 12px; }
.student-exam-upload small { color: var(--student-muted); font-size: 10px; }
.student-exam-upload input { width: 100%; color: var(--student-muted); font-size: 11px; }
.student-exam-inline-state { display: flex; min-height: 150px; align-items: center; justify-content: center; flex-direction: column; border: 1px dashed var(--student-border); border-radius: 8px; background: var(--student-surface); padding: 24px; text-align: center; }
.student-exam-inline-state > i { margin-bottom: 9px; color: var(--student-primary); font-size: 25px; }
.student-exam-inline-state strong { color: var(--student-ink); font-size: 16px; }
.student-exam-inline-state span { margin-top: 4px; color: var(--student-muted); font-size: 12px; }
.student-exam-inline-state.is-error > i { color: var(--student-coral); }
.student-exam-save-bar { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--student-border); padding-top: 20px; }
.student-exam-save-bar > div { display: flex; align-items: center; gap: 8px; color: var(--student-muted); font-size: 12px; }
.student-exam-save-bar > div i { color: var(--student-primary); }
.student-exam-modal { position: fixed; z-index: 1100; inset: 0; display: grid; place-items: center; background: rgba(7,24,19,.68); padding: 18px; backdrop-filter: blur(6px); }
.student-exam-modal[hidden] { display: none !important; }
.student-exam-modal-card { width: min(410px,100%); border-radius: 8px; background: var(--student-surface); padding: 34px 28px 27px; text-align: center; box-shadow: 0 24px 70px rgba(0,0,0,.24); }
.student-exam-modal-icon { display: grid; width: 62px; height: 62px; place-items: center; margin: 0 auto 16px; border-radius: 50%; background: var(--student-primary); color: #fff; font-size: 25px; }
.student-exam-modal-card > small { color: var(--student-primary); font-size: 11px; font-weight: 850; text-transform: uppercase; }
.student-exam-modal-card h2 { margin: 4px 0 7px; color: var(--student-ink); font-size: 24px; letter-spacing: 0; }
.student-exam-modal-card p { margin: 0; color: var(--student-muted); font-size: 14px; }

/* Feedback and account details */
.student-app-page .feedback-card { border-left: 4px solid var(--student-primary) !important; color: var(--student-ink) !important; }
.student-app-page .feedback-meta { color: var(--student-primary) !important; }
.student-app-page .feedback-content { color: var(--student-ink) !important; }
.student-app-page .reply-box { border-color: var(--student-border) !important; border-left-color: var(--student-accent) !important; background: var(--student-surface-alt) !important; }
.student-app-page .reply-meta { color: var(--student-primary) !important; }

/* Account page */
.student-account-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(320px, .75fr);
    align-items: start;
    gap: 20px;
}
.student-account-card {
    overflow: hidden;
    border: 1px solid var(--student-border);
    border-radius: 8px;
    background: var(--student-surface);
    box-shadow: 0 4px 16px rgba(31,56,49,.04);
}
.student-account-intro {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 28px;
}
.student-account-intro > img {
    width: 112px;
    height: 112px;
    flex: 0 0 112px;
    border: 5px solid var(--student-primary-soft);
    border-radius: 50%;
    object-fit: cover;
}
.student-account-intro small,
.student-account-card-heading small {
    display: block;
    margin-bottom: 4px;
    color: var(--student-primary);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
}
.student-account-intro h1 {
    margin: 0 0 7px;
    color: var(--student-ink);
    font-size: 27px;
    letter-spacing: 0;
}
.student-account-intro p {
    max-width: 650px;
    margin: 0;
    color: var(--student-muted);
    font-size: 15px;
    line-height: 1.6;
}
.student-account-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    border-top: 1px solid var(--student-border);
    padding: 24px 28px;
}
.student-account-fields > div {
    display: flex;
    min-width: 0;
    min-height: 78px;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--student-border);
    border-radius: 8px;
    background: var(--student-surface-alt);
    padding: 13px 16px;
}
.student-account-fields span {
    margin-bottom: 5px;
    color: var(--student-muted);
    font-size: 12px;
    font-weight: 700;
}
.student-account-fields strong {
    overflow-wrap: anywhere;
    color: var(--student-ink);
    font-size: 16px;
    font-weight: 750;
}
.student-account-field-wide { grid-column: 1 / -1; }
.student-account-actions {
    display: flex;
    border-top: 1px solid var(--student-border);
    padding: 20px 28px;
}
.student-password-button {
    display: inline-flex !important;
    min-height: 48px !important;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-size: 15px !important;
}
.student-account-card-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    border-bottom: 1px solid var(--student-border);
    padding: 23px 24px;
}
.student-account-card-heading > span {
    display: grid;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    place-items: center;
    border-radius: 8px;
    background: var(--student-primary-soft);
    color: var(--student-primary);
    font-size: 20px;
}
.student-account-card-heading h2 {
    margin: 0;
    color: var(--student-ink);
    font-size: 22px;
    letter-spacing: 0;
}
.student-teacher-list { padding: 0 24px; }
.student-teacher-row {
    display: flex;
    min-height: 84px;
    align-items: center;
    gap: 13px;
    border-top: 1px solid var(--student-border);
}
.student-teacher-row:first-child { border-top: 0; }
.student-teacher-row > span {
    display: grid;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    place-items: center;
    border-radius: 50%;
    background: var(--student-surface-alt);
    color: var(--student-primary);
}
.student-teacher-row strong,
.student-teacher-row small { display: block; }
.student-teacher-row strong { color: var(--student-ink); font-size: 15px; }
.student-teacher-row small { margin-top: 4px; color: var(--student-muted); font-size: 13px; }
.student-teacher-empty {
    margin: 20px 0;
    border: 1px dashed var(--student-border);
    border-radius: 8px;
    padding: 18px;
    color: var(--student-muted);
    font-size: 14px;
    line-height: 1.5;
}

/* Modals */
.student-app-page .modal { z-index: 1080 !important; }
.student-app-page .modal-backdrop { z-index: 1070 !important; }
.student-app-page .modal-content { overflow: hidden; border: 1px solid var(--student-border); border-radius: 8px; background: var(--student-surface); color: var(--student-ink); }
.student-app-page .modal-header.bg-primary { background: var(--student-primary) !important; }

.preloader.student-preloader-hidden { visibility: hidden !important; opacity: 0 !important; pointer-events: none; }

/* Dark theme */
body.student-dark {
    --student-ink: #ecf2f0;
    --student-muted: #a7b3af;
    --student-border: #2b3d37;
    --student-surface: #14221d;
    --student-surface-alt: #1c2d27;
    --student-page: #0d1714;
    --student-primary-soft: #153a30;
    --student-accent-soft: #3f3515;
    --student-shadow: 0 10px 28px rgba(0,0,0,.2);
}
body.student-dark .student-topbar { background: rgba(20,34,29,.94); }
body.student-dark .student-nav-danger:hover { background: #3d2020; }
body.student-dark .student-task-card.is-overdue,
body.student-dark .student-task-table tbody tr.is-overdue { background: #321d1a; border-color: #6d3832; }
body.student-dark .student-task-section-heading .blue { background: #173247; color: #7fc4f1; }
body.student-dark .student-exam-card.tone-blue .student-exam-card-icon { background: #173247; color: #7fc4f1; }
body.student-dark .student-exam-card.tone-coral .student-exam-card-icon,
body.student-dark .student-exam-form-error { background: #321d1a; border-color: #6d3832; }
body.student-dark .student-app-page .bg-light,
body.student-dark .bg-light { background: var(--student-surface-alt) !important; }
body.student-dark .student-app-page .text-dark,
body.student-dark .text-dark { color: var(--student-ink) !important; }

@media (max-width: 1120px) {
    :root { --student-sidebar: 88px; }
    .student-sidebar { padding-inline: 12px; }
    .student-sidebar .student-brand img { width: 62px; object-fit: cover; object-position: left; }
    .student-sidebar .student-nav-item { grid-template-columns: 1fr; justify-items: center; padding: 0; }
    .student-sidebar .student-nav-item span,
    .student-sidebar .student-nav-item b,
    .student-sidebar .student-online { display: none; }
    .student-home-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .student-app-page .wpo-courses-wrap { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .student-account-layout { grid-template-columns: 1fr; }
    .student-exam-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .student-exam-entry-layout { grid-template-columns: 1fr; }
    .student-task-detail-layout { grid-template-columns: 1fr; }
    .student-task-detail-aside { position: static; }
}

@media (max-width: 767px) {
    body.student-app-page { font-size: 16px; }
    .student-desktop-only,
    .student-sidebar,
    .student-page-name { display: none !important; }
    .student-mobile-only { display: flex; }
    .student-app-column { margin-left: 0; }
    .student-topbar { min-height: 64px; align-items: center; padding: max(9px, env(safe-area-inset-top)) 13px 9px; }
    .student-menu-trigger { display: grid !important; width: 44px; height: 44px; place-items: center; margin-left: 0 !important; padding: 0; }
    .student-menu-trigger i { display: block; margin: 0; line-height: 1; }
    .student-mobile-brand { align-items: center; gap: 8px; margin-left: 8px; color: var(--student-ink) !important; }
    .student-mobile-brand span { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 7px; background: var(--student-primary); color: #fff; font-weight: 900; }
    .student-topbar-spacer { flex: 1; }
    .student-period { display: none; }
    .student-icon-button { margin-left: 6px; }
    .student-avatar { width: 40px; height: 40px; flex-basis: 40px; margin-left: 6px; border: 2px solid var(--student-primary-soft); }
    .student-content { width: 100%; min-height: 0; padding: 22px 15px calc(96px + env(safe-area-inset-bottom)); }
    .student-app-footer { display: none; }

    .student-bottom-nav {
        position: fixed;
        z-index: 1040;
        inset: auto 0 0;
        display: grid;
        min-height: calc(74px + env(safe-area-inset-bottom));
        grid-template-columns: repeat(5, 1fr);
        border-top: 1px solid var(--student-border);
        background: rgba(255,255,255,.96);
        padding: 7px 4px max(7px, env(safe-area-inset-bottom));
        box-shadow: 0 -8px 24px rgba(31,56,49,.08);
        backdrop-filter: blur(18px);
    }
    body.student-dark .student-bottom-nav { background: rgba(20,34,29,.96); }
    .student-bottom-nav a { position: relative; display: flex; min-width: 0; align-items: center; justify-content: center; flex-direction: column; gap: 4px; color: var(--student-muted) !important; font-size: 11px; font-weight: 700; }
    .student-bottom-nav a i { font-size: 20px; }
    .student-bottom-nav a.is-active { color: var(--student-primary) !important; }
    .student-bottom-nav .student-bottom-action i { display: grid; width: 50px; height: 50px; place-items: center; margin-top: -29px; border: 5px solid var(--student-surface); border-radius: 50%; background: var(--student-primary); color: #fff; font-size: 22px; box-shadow: 0 7px 18px rgba(14,122,99,.3); }

    .student-mobile-drawer {
        position: fixed;
        z-index: 1060;
        inset: 0 auto 0 0;
        display: flex;
        width: min(84vw, 330px);
        flex-direction: column;
        overflow-x: hidden;
        overflow-y: auto;
        border-right: 1px solid var(--student-border);
        background: var(--student-surface);
        padding: max(18px, env(safe-area-inset-top)) 18px calc(28px + env(safe-area-inset-bottom));
        transform: translateX(-105%);
        transition: transform .24s ease;
        box-shadow: 16px 0 34px rgba(0,0,0,.14);
        overscroll-behavior-y: contain;
        -webkit-overflow-scrolling: touch;
    }
    .student-mobile-drawer.is-open { transform: translateX(0); }
    body.student-drawer-open { overflow: hidden; }
    .student-drawer-head { display: flex; align-items: center; justify-content: space-between; }
    .student-drawer-head .student-brand img { width: 170px; }
    .student-drawer-profile { display: flex; align-items: center; gap: 8px; flex-direction: column; margin-top: 18px; border-radius: 8px; background: var(--student-surface-alt); padding: 18px 14px; text-align: center; }
    .student-drawer-profile img { width: 78px; height: 78px; border: 4px solid var(--student-primary-soft); border-radius: 50%; object-fit: cover; }
    .student-drawer-profile strong,
    .student-drawer-profile small { display: block; }
    .student-drawer-profile strong { font-size: 16px; line-height: 1.35; }
    .student-drawer-profile small { max-width: 240px; margin-top: 4px; color: var(--student-muted); font-size: 12px; line-height: 1.45; }
    .student-mobile-drawer .student-side-nav { flex: 0 0 auto; margin-top: 12px; }
    .student-mobile-drawer .student-nav-item { min-height: 50px; font-size: 15px; }
    .student-drawer-version { flex: 0 0 auto; margin-top: auto; padding-top: 20px; }

    .student-app-page .wpo-page-title .wpo-breadcumb-wrap { min-height: 58px; }
    .student-app-page .wpo-page-title h2 { font-size: 23px !important; }
    .student-app-page .wpo-page-title ol a { width: 38px; height: 38px; }
    .student-app-page .wpo-courses-wrap { grid-template-columns: 1fr; gap: 11px; }
    .student-app-page .wpo-courses-item { min-height: 0; }
    .student-app-page .wpo-courses-item .wpo-courses-text { display: grid; grid-template-columns: 44px minmax(0,1fr); column-gap: 13px; padding: 16px !important; }
    .student-app-page .wpo-courses-item .courses-icon { width: 44px; height: 44px; grid-row: 1 / 3; margin: 0; }
    .student-app-page .wpo-courses-item h2 { align-self: end; font-size: 16px !important; }
    .student-app-page .wpo-courses-item p { align-self: start; font-size: 14px; }
    .student-quick-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
    .student-quick-grid > a { min-height: 76px; grid-template-columns: 40px minmax(0,1fr); column-gap: 10px; padding: 10px; }
    .student-quick-grid > a > span { width: 40px; height: 40px; }
    .student-quick-grid strong { font-size: 14px; }
    .student-quick-grid small { font-size: 12px; }

    .student-section-heading small,
    .student-home-heading small { font-size: 12px; }
    .student-section-heading h2 { font-size: 21px; }
    .student-home-heading { margin-bottom: 20px; }
    .student-home-greeting { display: block; margin: 7px 0 8px; }
    .student-home-greeting > span { display: block; color: var(--student-muted); font-size: 16px; font-weight: 700; line-height: 1.35; }
    .student-home-heading h1 { margin-top: 2px; font-size: 26px; line-height: 1.18; overflow-wrap: anywhere; }
    .student-home-heading p { font-size: 15px; line-height: 1.6; }
    .student-focus-panel { min-height: 270px; grid-template-columns: minmax(0,1fr) 112px; }
    .student-focus-copy { padding: 23px 0 23px 21px; }
    .student-focus-copy > span { font-size: 12px; }
    .student-focus-copy h2 { font-size: 23px; }
    .student-focus-copy p { font-size: 14px; line-height: 1.55; }
    .student-focus-panel > img { width: 142px; max-width: none; margin-right: -24px; }
    .student-home-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
    .student-home-grid > a { min-height: 72px; padding: 9px; }
    .student-home-grid strong { font-size: 14px; }
    .student-home-grid small { font-size: 12px; }
    .student-home-columns { grid-template-columns: 1fr; gap: 14px; }
    .student-home-columns .student-profile-summary { display: none; }
    .student-home-card { padding: 17px; }
    .student-home-card h2 { font-size: 21px; }
    .student-profile-summary p,
    .student-announcement-all,
    .student-empty-state { font-size: 14px; }
    .student-announcement-row strong { font-size: 14px; }
    .student-announcement-row small { font-size: 12px; }
    .student-announcement-row b { font-size: 11px; }

    .student-app-page .checkout-wrap,
    .student-app-page .biling-item { padding: 15px !important; }
    .student-app-page .card-body { padding: 16px; }
    .student-app-page p,
    .student-app-page li,
    .student-app-page .card-body,
    .student-app-page .accordion-body { font-size: 15px; line-height: 1.6; }
    .student-app-page label,
    .student-app-page .accordion-button { font-size: 15px; }
    .student-app-page input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
    .student-app-page select,
    .student-app-page textarea,
    .student-app-page .form-control,
    .student-app-page .form-select { font-size: 16px !important; }
    .student-app-page .table > :not(caption) > * > * { padding: 11px; font-size: 13px; }
    .student-app-page .table thead th,
    .student-app-page .program-table th { font-size: 12px; }
    .student-app-page .theme-btn,
    .student-app-page .theme-btn-s2,
    .student-app-page .btn,
    .student-app-page button[type="submit"] { font-size: 15px !important; }
    .student-app-page .modal-dialog { margin: 12px; }

    .student-account-layout { gap: 14px; }
    .student-account-intro { align-items: flex-start; gap: 15px; padding: 20px 17px; }
    .student-account-intro > img { width: 82px; height: 82px; flex-basis: 82px; border-width: 4px; }
    .student-account-intro h1 { font-size: 21px; }
    .student-account-intro p { font-size: 14px; }
    .student-account-fields { grid-template-columns: 1fr; gap: 10px; padding: 17px; }
    .student-account-fields > div { min-height: 72px; }
    .student-account-field-wide { grid-column: auto; }
    .student-account-fields span { font-size: 12px; }
    .student-account-fields strong { font-size: 15px; }
    .student-account-actions { padding: 17px; }
    .student-password-button { width: 100%; }
    .student-account-card-heading { padding: 18px 17px; }
    .student-account-card-heading h2 { font-size: 20px; }
    .student-teacher-list { padding: 0 17px; }
    .student-teacher-row strong { font-size: 15px; }
    .student-teacher-row small { font-size: 13px; }

    .student-announcements-page { gap: 24px; }
    .student-announcements-hero { grid-template-columns: 50px minmax(0,1fr); gap: 12px; padding-bottom: 21px; }
    .student-announcements-hero-icon { width: 50px; height: 50px; font-size: 21px; }
    .student-announcements-hero h1 { font-size: 24px; line-height: 1.25; }
    .student-announcements-hero p { font-size: 14px; }
    .student-announcement-summary { grid-template-columns: 1fr; }
    .student-announcement-summary > div { min-height: 70px; border-top: 1px solid var(--student-border); border-left: 0; padding: 13px 17px; }
    .student-announcement-summary > div:first-child { border-top: 0; }
    .student-announcement-summary strong { font-size: 24px; }
    .student-announcement-summary span { font-size: 13px; }
    .student-announcement-group-heading h2 { font-size: 19px; }
    .student-modern-announcement { min-height: 100px; grid-template-columns: 46px minmax(0,1fr) 24px; gap: 11px; padding: 14px 12px; }
    .student-modern-announcement-icon { width: 46px; height: 46px; font-size: 19px; }
    .student-modern-announcement-copy > strong { font-size: 15px; }
    .student-modern-announcement-copy > span { display: flex; flex-direction: column; gap: 3px; font-size: 12px; }
    .student-modern-announcement-copy > span i:not(:first-child) { margin-left: 0; }
    .student-modern-announcement-arrow { font-size: 19px; }
    .student-modern-empty { min-height: 135px; padding: 20px; }

    .student-announcement-detail-toolbar > span { font-size: 12px; }
    .student-announcement-detail-header { grid-template-columns: 50px minmax(0,1fr); gap: 13px; padding: 20px 17px; }
    .student-announcement-detail-icon { width: 50px; height: 50px; font-size: 21px; }
    .student-announcement-detail-header h1 { font-size: 22px; }
    .student-announcement-detail-meta { flex-direction: column; gap: 6px; font-size: 12px; }
    .student-announcement-detail-content { min-height: 140px; padding: 22px 17px; font-size: 15px; line-height: 1.7; }
    .student-announcement-attachment { padding: 20px 17px; }
    .student-announcement-attachment-heading { align-items: flex-start; flex-direction: column; }
    .student-announcement-attachment-heading > a { width: 100%; justify-content: center; }
    .student-pdf-frame { min-height: 62vh; }
    .student-announcement-detail-footer { padding: 15px 17px; }
    .student-announcement-detail-footer a { font-size: 13px; }

    .student-tasks-page { gap: 22px; }
    .student-tasks-hero { grid-template-columns: 50px minmax(0,1fr); gap: 12px; padding-bottom: 21px; }
    .student-tasks-hero-icon { width: 50px; height: 50px; font-size: 21px; }
    .student-tasks-hero h1 { font-size: 26px; }
    .student-tasks-hero p { font-size: 14px; line-height: 1.55; }
    .student-task-summary { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .student-task-summary > div { min-height: 84px; gap: 10px; border-left: 0; border-top: 1px solid var(--student-border); padding: 13px; }
    .student-task-summary > div:nth-child(1),
    .student-task-summary > div:nth-child(2) { border-top: 0; }
    .student-task-summary > div:nth-child(2) { border-left: 1px solid var(--student-border); }
    .student-task-summary > div:last-child { grid-column: 1 / -1; }
    .student-task-summary-icon { width: 42px; height: 42px; flex-basis: 42px; font-size: 17px; }
    .student-task-summary strong { font-size: 23px; }
    .student-task-summary small { font-size: 12px; }
    .student-task-toolbar { align-items: stretch; flex-direction: column; gap: 12px; }
    .student-task-toolbar > div:first-child strong { font-size: 16px; }
    .student-task-view-switch { width: 100%; }
    .student-task-view-switch button { min-width: 0; min-height: 46px; font-size: 14px !important; }
    .student-task-view.is-active { gap: 29px; }
    .student-task-section-heading h2 { font-size: 19px; }
    .student-task-card { min-height: 0; grid-template-columns: 46px minmax(0,1fr) 20px; gap: 11px; padding: 14px 12px 14px 11px; }
    .student-task-card-icon { width: 46px; height: 46px; font-size: 18px; }
    .student-task-card-copy > strong { font-size: 16px; }
    .student-task-card-meta { gap: 5px 12px; font-size: 12px; }
    .student-task-status { grid-column: 2; justify-self: start; margin-top: -2px; }
    .student-task-card-arrow { grid-column: 3; grid-row: 1 / 3; }
    .student-task-day { grid-template-columns: 1fr; gap: 7px; }
    .student-task-day > header { padding: 2px 0; }
    .student-task-day > header > span { width: 42px; height: 42px; flex-basis: 42px; }
    .student-task-section.is-history { padding-top: 24px; }
    .student-task-table-heading { padding: 18px 16px; }
    .student-task-table-heading h2 { font-size: 19px; }
    .student-program-section { padding-top: 17px; }
    .student-program-section > .student-task-section-heading { padding: 0 16px 15px; }
    .student-task-detail-page { gap: 17px; }
    .student-task-detail-back { font-size: 13px; }
    .student-task-detail-hero { grid-template-columns: 52px minmax(0,1fr); gap: 12px; padding-bottom: 20px; }
    .student-task-detail-icon { width: 52px; height: 52px; font-size: 21px; }
    .student-task-detail-hero h1 { font-size: 23px; }
    .student-task-detail-hero p { font-size: 13px; }
    .student-task-detail-status { grid-column: 1 / -1; justify-self: start; }
    .student-task-info-band { grid-template-columns: 1fr; }
    .student-task-info-band > div { border-top: 1px solid var(--student-border); border-left: 0; padding: 13px 15px; }
    .student-task-info-band > div:first-child { border-top: 0; }
    .student-task-resources,
    .student-task-submit-panel,
    .student-task-gallery { padding: 16px; }
    .student-task-resource-list,
    .student-task-count-grid,
    .student-task-upload-grid { grid-template-columns: 1fr; }
    .student-task-count-field { grid-template-columns: 42px minmax(0,1fr); }
    .student-number-stepper { grid-column: 1 / -1; width: 100%; grid-template-columns: 48px minmax(0,1fr) 48px; }
    .student-number-stepper button { width: 48px; }
    .student-number-stepper input { width: 100% !important; }
    .student-task-preview-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .student-task-submit-button { min-height: 54px; font-size: 16px !important; }
    .student-task-detail-aside { display: none; }
    .student-task-complete-panel { grid-template-columns: 54px minmax(0,1fr); padding: 17px; }
    .student-task-complete-mark { width: 54px; height: 54px; font-size: 21px; }
    .student-task-complete-panel h2 { font-size: 21px; }
    .student-task-complete-stats { grid-column: 1 / -1; }
    .student-task-complete-stats > span { flex: 1; }
    .student-task-gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .student-task-result-card { padding: 23px 19px; }

    .student-exams-page,
    .student-exam-entry-page,
    .student-exam-results-page { gap: 22px; }
    .student-exams-hero,
    .student-exam-entry-hero,
    .student-exam-results-hero { grid-template-columns: 50px minmax(0,1fr); gap: 12px; padding-bottom: 21px; }
    .student-exams-hero-icon,
    .student-exam-entry-icon { width: 50px; height: 50px; flex-basis: 50px; font-size: 21px; }
    .student-exams-hero h1,
    .student-exam-entry-hero h1,
    .student-exam-results-hero h1 { font-size: 25px; overflow-wrap: anywhere; }
    .student-exams-hero p,
    .student-exam-entry-hero p,
    .student-exam-results-hero p { font-size: 14px; }
    .student-exam-summary { grid-template-columns: 1fr; }
    .student-exam-summary > div { min-height: 72px; border-top: 1px solid var(--student-border); border-left: 0; padding: 12px 15px; }
    .student-exam-summary > div:first-child { border-top: 0; }
    .student-exam-category-heading h2 { font-size: 20px; }
    .student-exam-grid { grid-template-columns: 1fr; gap: 10px; }
    .student-exam-card { min-height: 0; grid-template-columns: 48px minmax(0,1fr) 34px; gap: 11px; padding: 15px 13px; }
    .student-exam-card-icon { width: 48px; height: 48px; font-size: 18px; }
    .student-exam-card-copy > strong { font-size: 19px; }
    .student-exam-card-copy > span { margin-top: 5px; font-size: 13px; }
    .student-exam-card-action { width: 34px; height: 34px; }
    .student-exam-entry-toolbar .student-detail-back { font-size: 13px; }
    .student-exam-steps { grid-template-columns: 1fr; }
    .student-exam-steps li { min-height: 64px; border-top: 1px solid var(--student-border); border-left: 0; padding: 10px 14px; }
    .student-exam-steps li:first-child { border-top: 0; }
    .student-exam-info-form,
    .student-exam-entry-aside { padding: 20px 16px; }
    .student-exam-form-heading h2,
    .student-exam-entry-aside h2,
    .student-exam-results-heading h2,
    .student-exam-track-section h2 { font-size: 21px; }
    .student-exam-primary-button { width: 100%; min-height: 50px; }
    .student-exam-results-hero .student-exam-results-badge { display: none; }
    .student-exam-track-section { align-items: stretch; flex-direction: column; gap: 16px; padding: 18px 15px; }
    .student-exam-track-switch { min-width: 0; }
    .student-exam-track-switch label > span { min-height: 76px; }
    .student-exam-results-heading { align-items: flex-start; flex-direction: column; }
    .student-exam-results-heading > span { width: 100%; justify-content: center; }
    .student-exam-course-header { grid-template-columns: 44px minmax(0,1fr); gap: 11px; padding: 14px 13px; }
    .student-exam-course-icon { width: 44px; height: 44px; }
    .student-exam-course-header h3 { font-size: 16px; }
    .student-exam-course-header > b { grid-column: 2; justify-self: start; }
    .student-exam-score-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; padding: 15px 13px; }
    .student-exam-score-grid input { height: 48px; font-size: 16px !important; }
    .student-exam-course-hint { margin: -2px 13px 14px; }
    .student-exam-upload-grid { grid-template-columns: 1fr; padding: 0 13px 15px; }
    .student-exam-save-bar { align-items: stretch; flex-direction: column; padding-bottom: calc(10px + env(safe-area-inset-bottom)); }
    .student-exam-save-bar > div { align-items: flex-start; }
    .student-exam-modal { align-items: end; padding: 12px; }
    .student-exam-modal-card { padding: 30px 20px 24px; }
}

@media (max-width: 390px) {
    .student-notification { display: none; }
    .student-focus-panel { grid-template-columns: minmax(0,1fr) 88px; }
    .student-focus-panel > img { width: 124px; }
    .student-quick-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .student-app-page *,
    .student-app-page *::before,
    .student-app-page *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Login and public entry */
body.student-auth-page {
    min-width: 320px;
    margin: 0;
    background: #eef2f1;
    color: #17232d;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0;
}
.student-auth-page .wpo-login-area { min-height: 100vh; padding: 38px 16px; }
.student-auth-page .wpo-accountWrapper { width: min(980px, 100%); min-height: 620px; border-radius: 8px; box-shadow: 0 18px 55px rgba(31,56,49,.12); }
.student-auth-page .wpo-accountForm { min-height: 620px; padding: 58px 68px; }
.student-auth-page .wpo-accountInfo { min-height: 620px; background: #0e7a63; padding: 48px; }
.student-auth-page .fromTitle img { width: 210px; height: auto; object-fit: contain; }
.student-auth-page .fromTitle h2 { margin-top: 8px; color: #17232d; font-size: 28px; letter-spacing: 0; }
.student-auth-page .fromTitle p { color: #6d7880; }
.student-auth-page .form-style label { margin-bottom: 7px; color: #17232d; font-size: 12px; font-weight: 750; }
.student-auth-page .form-style input { min-height: 52px; border: 1px solid #dfe6e3 !important; border-radius: 8px; background: #f8faf9; color: #17232d; }
.student-auth-page .form-style input:focus { border-color: #0e7a63 !important; box-shadow: 0 0 0 3px rgba(14,122,99,.12); }
.student-auth-page .forget-btn a { color: #0e7a63; font-weight: 750; }
.student-auth-page .wpo-accountForm .wpo-accountBtn { min-height: 50px; border: 1px solid #0e7a63; border-radius: 8px; background: #0e7a63; color: #fff; font-weight: 800; }
.student-auth-page .wpo-accountForm .wpo-accountBtn:hover { background: #075e4c; color: #fff; }
.student-auth-page .wpo-accountForm .wpo-accountBtn:disabled { cursor: wait; opacity: .9; }
.student-auth-page .wpo-accountForm .wpo-accountBtn.is-loading { display: inline-flex; align-items: center; justify-content: center; gap: 10px; }
.student-button-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,.42);
    border-top-color: #fff;
    border-radius: 50%;
    animation: studentButtonSpin .7s linear infinite;
}
@keyframes studentButtonSpin { to { transform: rotate(360deg); } }
.student-auth-page .wpo-accountInfo .image img { max-height: 330px; }

body.student-auth-modal-open { overflow: hidden; }
.student-auth-modal[hidden] { display: none !important; }
.student-auth-modal {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease;
}
.student-auth-modal.is-visible { opacity: 1; pointer-events: auto; }
.student-auth-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(9, 27, 22, .58);
    backdrop-filter: blur(5px);
}
.student-auth-modal-card {
    position: relative;
    width: min(420px, 100%);
    border: 1px solid #dfe6e3;
    border-radius: 8px;
    background: #fff;
    padding: 34px 30px 30px;
    color: #17232d;
    text-align: center;
    box-shadow: 0 24px 70px rgba(8,35,27,.2);
    transform: translateY(12px) scale(.98);
    transition: transform .2s ease;
}
.student-auth-modal.is-visible .student-auth-modal-card { transform: translateY(0) scale(1); }
.student-auth-modal-icon {
    display: grid;
    width: 68px;
    height: 68px;
    place-items: center;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #e7f4f0;
    color: #0e7a63;
    font-size: 28px;
    box-shadow: 0 0 0 9px rgba(14,122,99,.08);
}
.student-auth-modal.is-error .student-auth-modal-icon {
    background: #fff0ed;
    color: #d45546;
    box-shadow: 0 0 0 9px rgba(233,102,85,.09);
}
.student-auth-modal-card > small {
    display: block;
    color: #0e7a63;
    font-size: 11px;
    font-weight: 850;
    text-transform: uppercase;
}
.student-auth-modal.is-error .student-auth-modal-card > small { color: #d45546; }
.student-auth-modal-card h2 {
    margin: 6px 0 9px;
    color: #17232d;
    font-size: 26px;
    letter-spacing: 0;
}
.student-auth-modal-card p {
    margin: 0;
    color: #6d7880;
    font-size: 15px;
    line-height: 1.6;
}
.student-auth-modal-progress {
    height: 5px;
    margin-top: 24px;
    overflow: hidden;
    border-radius: 999px;
    background: #e7f4f0;
}
.student-auth-modal-progress span {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: #0e7a63;
    transform-origin: left center;
    animation: studentAuthProgress 1.4s linear forwards;
}
@keyframes studentAuthProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.student-auth-modal-card button {
    width: 100%;
    min-height: 48px;
    margin-top: 24px;
    border: 1px solid #0e7a63;
    border-radius: 8px;
    background: #0e7a63;
    color: #fff;
    font-size: 15px;
    font-weight: 800;
}
.student-auth-modal-card button:hover { background: #075e4c; }

body.student-public-page { background: #eef2f1; color: #17232d; font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; letter-spacing: 0; }
.student-public-page .static-hero { background-color: #eef2f1; }
.student-public-page .static-hero .hero-content .slide-title h2 { color: #17232d; letter-spacing: 0; }
.student-public-page .static-hero .hero-content .slide-text p { color: #56635f; }
.student-public-page .theme-btn-s2 { border-radius: 8px; background: #0e7a63; color: #fff; }
.student-public-page .theme-btn-s2::before,
.student-public-page .theme-btn-s2::after { display: none; }
.student-public-page .wpo-site-footer { background: #14221d; }

@media (max-width: 767px) {
    .student-auth-page .wpo-login-area { align-items: stretch; padding: 0; background: #fff; }
    .student-auth-page .container,
    .student-auth-page .row,
    .student-auth-page [class*="col-"] { width: 100%; max-width: none; margin: 0; padding: 0; }
    .student-auth-page .wpo-accountWrapper { min-height: 100vh; border-radius: 0; box-shadow: none; }
    .student-auth-page .wpo-accountForm { width: 100%; min-height: 100vh; padding: max(64px, env(safe-area-inset-top)) 24px max(34px, env(safe-area-inset-bottom)); }
    .student-auth-page .wpo-accountInfo { display: none; }
    .student-auth-page .fromTitle { text-align: left; }
    .student-auth-page .fromTitle img { width: 185px; }
    .student-auth-page .fromTitle h2 { margin-top: 28px; font-size: 27px; }
    .student-auth-page .fromTitle p { margin-bottom: 32px; font-size: 15px; line-height: 1.6; }
    .student-auth-page .form-style label { font-size: 14px; }
    .student-auth-page .form-style input { font-size: 16px; }
    .student-auth-page .forget-btn,
    .student-auth-page .forget-btn a,
    .student-auth-page .wpo-accountForm .wpo-accountBtn { font-size: 15px; }
    .student-public-page .static-hero { min-height: 100vh; }
    .student-public-page .static-hero .hero-content .slide-text p { font-size: 16px; line-height: 1.65; }
    .student-public-page .theme-btn-s2 { font-size: 16px; }
    .student-theme-loader-inner img { width: 190px; }
    .student-theme-loader-inner strong { font-size: 17px; }
    .student-auth-modal { align-items: end; padding: 12px; }
    .student-auth-modal-card { padding: 30px 22px 24px; }
    .student-auth-modal-card h2 { font-size: 24px; }
}

/* Reports */
.student-reports-page { display: grid; gap: 28px; }
.student-reports-hero,
.student-feedback-hero { display: grid; grid-template-columns: 72px minmax(0,1fr); align-items: center; gap: 20px; border-bottom: 1px solid var(--student-border); padding-bottom: 28px; }
.student-reports-hero-icon,
.student-feedback-hero-icon { display: grid; width: 72px; height: 72px; place-items: center; border-radius: 8px; background: var(--student-primary); color: #fff; font-size: 28px; }
.student-reports-hero small,
.student-feedback-hero small { color: var(--student-primary); font-size: 12px; font-weight: 850; text-transform: uppercase; }
.student-reports-hero h1,
.student-feedback-hero h1 { margin: 4px 0 4px; color: var(--student-ink); font-size: 34px; line-height: 1.18; letter-spacing: 0; }
.student-reports-hero p,
.student-feedback-hero p { max-width: 780px; margin: 0; color: var(--student-muted); font-size: 16px; line-height: 1.6; }

.student-report-summary { display: grid; overflow: hidden; grid-template-columns: repeat(4,minmax(0,1fr)); border: 1px solid var(--student-border); border-radius: 8px; background: var(--student-surface); box-shadow: var(--student-shadow); }
.student-report-summary > div { display: flex; min-height: 112px; align-items: center; gap: 14px; border-left: 1px solid var(--student-border); padding: 18px 20px; }
.student-report-summary > div:first-child { border-left: 0; }
.student-report-summary > div > span { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border-radius: 8px; background: var(--student-primary-soft); color: var(--student-primary); font-size: 20px; }
.student-report-summary .tone-blue > span { background: #e8f3fb; color: var(--student-blue); }
.student-report-summary .tone-coral > span { background: #fff0ed; color: var(--student-coral); }
.student-report-summary .tone-yellow > span { background: var(--student-accent-soft); color: #8a6500; }
.student-report-summary small,
.student-report-summary em { display: block; color: var(--student-muted); font-size: 11px; font-style: normal; }
.student-report-summary small { font-weight: 800; text-transform: uppercase; }
.student-report-summary strong { display: block; margin: 2px 0; color: var(--student-ink); font-size: 27px; line-height: 1; }

.student-report-tabs { display: flex; gap: 8px; overflow-x: auto; border-bottom: 1px solid var(--student-border); padding-bottom: 12px; scrollbar-width: none; }
.student-report-tabs::-webkit-scrollbar { display: none; }
.student-report-tabs button { display: inline-flex; min-width: 190px; min-height: 48px; align-items: center; justify-content: center; gap: 9px; border: 1px solid var(--student-border); border-radius: 8px; background: var(--student-surface); padding: 0 16px; color: var(--student-muted); font-size: 14px; font-weight: 800; white-space: nowrap; }
.student-report-tabs button:hover { border-color: var(--student-primary); color: var(--student-primary); }
.student-report-tabs button.is-active { border-color: var(--student-primary); background: var(--student-primary); color: #fff; }
.student-report-tabs button b { display: grid; min-width: 22px; height: 22px; place-items: center; border-radius: 999px; background: var(--student-surface-alt); color: var(--student-muted); font-size: 10px; }
.student-report-tabs button.is-active b { background: rgba(255,255,255,.18); color: #fff; }
.student-report-panel[hidden] { display: none !important; }
.student-report-panel { display: grid; gap: 18px; }
.student-report-panel-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.student-report-panel-heading small { color: var(--student-primary); font-size: 11px; font-weight: 850; text-transform: uppercase; }
.student-report-panel-heading h2 { margin: 3px 0 3px; color: var(--student-ink); font-size: 25px; letter-spacing: 0; }
.student-report-panel-heading p { margin: 0; color: var(--student-muted); font-size: 14px; }
.student-report-panel-heading > span { border-radius: 999px; background: var(--student-primary-soft); padding: 7px 12px; color: var(--student-primary); font-size: 12px; font-weight: 800; white-space: nowrap; }
.student-report-panel-heading > a { display: inline-flex; min-height: 42px; align-items: center; gap: 8px; border: 1px solid var(--student-primary); border-radius: 8px; padding: 0 14px; color: var(--student-primary) !important; font-size: 13px; font-weight: 800; white-space: nowrap; }

.student-report-subjects { display: grid; gap: 10px; }
.student-report-subject { overflow: hidden; border: 1px solid var(--student-border); border-radius: 8px; background: var(--student-surface); box-shadow: 0 4px 16px rgba(31,56,49,.04); }
.student-report-subject summary { display: grid; min-height: 90px; grid-template-columns: 50px minmax(0,1fr) auto 22px; align-items: center; gap: 14px; cursor: pointer; padding: 14px 18px; list-style: none; }
.student-report-subject summary::-webkit-details-marker { display: none; }
.student-report-subject[open] summary { border-bottom: 1px solid var(--student-border); background: var(--student-surface-alt); }
.student-report-subject-icon { display: grid; width: 50px; height: 50px; place-items: center; border-radius: 8px; background: var(--student-primary-soft); color: var(--student-primary); font-size: 19px; }
.student-report-subject-icon.is-private { background: #e8f3fb; color: var(--student-blue); }
.student-report-subject-copy { min-width: 0; }
.student-report-subject-copy > small { display: block; color: var(--student-primary); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.student-report-subject-copy > strong { display: block; overflow: hidden; margin-top: 2px; color: var(--student-ink); font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
.student-report-subject-copy > span { display: block; width: min(320px,100%); height: 5px; margin-top: 8px; overflow: hidden; border-radius: 999px; background: var(--student-border); }
.student-report-subject-copy > span i { display: block; height: 100%; border-radius: inherit; background: var(--student-primary); }
.student-report-subject-numbers { min-width: 150px; text-align: right; }
.student-report-subject-numbers b { display: block; color: var(--student-ink); font-size: 19px; }
.student-report-subject-numbers small { color: var(--student-muted); font-size: 11px; }
.student-report-chevron { color: var(--student-muted); transition: transform .2s ease; }
.student-report-subject[open] .student-report-chevron { transform: rotate(180deg); }
.student-report-table-wrap { overflow-x: auto; }
.student-report-table { width: 100%; border-collapse: collapse; }
.student-report-table th { background: var(--student-surface-alt); padding: 11px 18px; color: var(--student-muted); font-size: 10px; font-weight: 850; text-align: left; text-transform: uppercase; }
.student-report-table td { border-top: 1px solid var(--student-border); padding: 13px 18px; color: var(--student-ink); font-size: 13px; }
.student-report-table td:first-child { width: 55%; font-weight: 700; }
.student-report-count { display: inline-grid; min-width: 30px; height: 30px; place-items: center; border-radius: 7px; background: var(--student-surface-alt); color: var(--student-muted); font-size: 12px; font-weight: 850; }
.student-report-count.is-done { background: var(--student-primary-soft); color: var(--student-primary); }
.student-report-count.is-missed { background: #fff0ed; color: var(--student-coral); }

.student-report-exam-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.student-report-exam-card { display: grid; min-height: 112px; grid-template-columns: 52px minmax(0,1fr) auto 24px; align-items: center; gap: 14px; border: 1px solid var(--student-border); border-radius: 8px; background: var(--student-surface); padding: 17px; color: var(--student-ink) !important; box-shadow: 0 4px 16px rgba(31,56,49,.04); }
.student-report-exam-card:hover { border-color: var(--student-primary); transform: translateY(-1px); }
.student-report-exam-icon { display: grid; width: 52px; height: 52px; place-items: center; border-radius: 8px; background: #e8f3fb; color: var(--student-blue); font-size: 20px; }
.student-report-exam-icon.is-kts { background: var(--student-accent-soft); color: #8a6500; }
.student-report-exam-copy { min-width: 0; }
.student-report-exam-copy > small { display: block; color: var(--student-primary); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.student-report-exam-copy > strong { display: block; overflow: hidden; margin: 3px 0 6px; color: var(--student-ink); font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.student-report-exam-copy > span { display: flex; flex-wrap: wrap; gap: 6px 12px; color: var(--student-muted); font-size: 11px; }
.student-report-exam-copy > span i { margin-right: 3px; }
.student-report-net { min-width: 80px; text-align: right; }
.student-report-net small { display: block; color: var(--student-muted); font-size: 10px; }
.student-report-net strong { color: var(--student-ink); font-size: 21px; }
.student-report-exam-arrow { color: var(--student-primary); }
.student-report-empty { min-height: 240px; display: flex; align-items: center; justify-content: center; flex-direction: column; border: 1px dashed var(--student-border); border-radius: 8px; background: var(--student-surface); padding: 28px; text-align: center; }
.student-report-empty > span { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; background: var(--student-primary-soft); color: var(--student-primary); font-size: 23px; }
.student-report-empty h3 { margin: 15px 0 5px; color: var(--student-ink); font-size: 19px; }
.student-report-empty p { margin: 0; color: var(--student-muted); font-size: 14px; }
.student-report-empty > a { display: inline-flex; min-height: 42px; align-items: center; margin-top: 16px; border-radius: 8px; background: var(--student-primary); padding: 0 16px; color: #fff !important; font-size: 13px; font-weight: 800; }

/* Feedback */
.student-feedback-page { display: grid; gap: 28px; }
.student-feedback-hero-icon { background: var(--student-primary); }
.student-feedback-summary { display: grid; overflow: hidden; grid-template-columns: repeat(3,minmax(0,1fr)); border: 1px solid var(--student-border); border-radius: 8px; background: var(--student-surface); box-shadow: var(--student-shadow); }
.student-feedback-summary > div { display: flex; min-height: 94px; align-items: center; gap: 13px; border-left: 1px solid var(--student-border); padding: 16px 20px; }
.student-feedback-summary > div:first-child { border-left: 0; }
.student-feedback-summary > div > span { display: grid; width: 46px; height: 46px; flex: 0 0 46px; place-items: center; border-radius: 8px; background: #e8f3fb; color: var(--student-blue); font-size: 18px; }
.student-feedback-summary > div > span.is-waiting { background: var(--student-accent-soft); color: #8a6500; }
.student-feedback-summary > div > span.is-answered { background: var(--student-primary-soft); color: var(--student-primary); }
.student-feedback-summary small { display: block; color: var(--student-muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.student-feedback-summary strong { display: block; margin-top: 2px; color: var(--student-ink); font-size: 25px; }
.student-feedback-layout { display: grid; grid-template-columns: minmax(320px, .78fr) minmax(0, 1.22fr); align-items: start; gap: 18px; }
.student-feedback-compose,
.student-feedback-history { border: 1px solid var(--student-border); border-radius: 8px; background: var(--student-surface); box-shadow: 0 4px 16px rgba(31,56,49,.04); }
.student-feedback-compose { position: sticky; top: 94px; padding: 22px; }
.student-feedback-section-heading { display: flex; align-items: center; gap: 13px; border-bottom: 1px solid var(--student-border); padding-bottom: 18px; }
.student-feedback-section-heading > span { display: grid; width: 48px; height: 48px; flex: 0 0 48px; place-items: center; border-radius: 8px; background: var(--student-primary-soft); color: var(--student-primary); font-size: 18px; }
.student-feedback-section-heading small,
.student-feedback-history-heading small { color: var(--student-primary); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.student-feedback-section-heading h2,
.student-feedback-history-heading h2 { margin: 2px 0; color: var(--student-ink); font-size: 21px; }
.student-feedback-section-heading p { margin: 0; color: var(--student-muted); font-size: 12px; }
#studentFeedbackForm { display: grid; gap: 17px; padding-top: 20px; }
.student-feedback-field { display: grid; gap: 7px; }
.student-feedback-field > span:first-child { color: var(--student-ink); font-size: 12px; font-weight: 800; }
.student-feedback-select-wrap { position: relative; display: block; }
.student-feedback-select-wrap > i:first-child { position: absolute; z-index: 1; top: 50%; left: 15px; color: var(--student-primary); transform: translateY(-50%); }
.student-feedback-select-wrap > i:last-child { position: absolute; top: 50%; right: 15px; color: var(--student-muted); font-size: 11px; pointer-events: none; transform: translateY(-50%); }
.student-feedback-field select,
.student-feedback-field textarea { width: 100%; border: 1px solid var(--student-border); border-radius: 8px; outline: 0; background: var(--student-surface-alt); color: var(--student-ink); font-size: 15px; }
.student-feedback-field select { min-height: 50px; appearance: none; padding: 0 42px; }
.student-feedback-field textarea { min-height: 170px; resize: vertical; padding: 14px 15px; line-height: 1.6; }
.student-feedback-field select:focus,
.student-feedback-field textarea:focus { border-color: var(--student-primary); box-shadow: 0 0 0 3px rgba(14,122,99,.12); }
.student-feedback-field > small { color: var(--student-muted); font-size: 11px; text-align: right; }
.student-feedback-form-error { border: 1px solid #f2c9c3; border-radius: 8px; background: #fff0ed; padding: 11px 13px; color: #a33d32; font-size: 13px; line-height: 1.5; }
.student-feedback-submit { display: flex; min-height: 50px; align-items: center; justify-content: center; gap: 10px; border: 1px solid var(--student-primary); border-radius: 8px; background: var(--student-primary); color: #fff; font-size: 14px; font-weight: 850; }
.student-feedback-submit:hover { background: var(--student-primary-strong); }
.student-feedback-submit:disabled { cursor: wait; opacity: .8; }
.student-feedback-privacy { display: flex; gap: 8px; margin: -3px 0 0; color: var(--student-muted); font-size: 11px; line-height: 1.5; }
.student-feedback-privacy i { margin-top: 2px; color: var(--student-primary); }
.student-feedback-history { min-width: 0; padding: 22px; }
.student-feedback-history-heading { display: flex; align-items: end; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--student-border); padding-bottom: 18px; }
.student-feedback-history-heading > span { border-radius: 999px; background: var(--student-surface-alt); padding: 6px 10px; color: var(--student-muted); font-size: 11px; font-weight: 800; }
.student-feedback-list { display: grid; gap: 12px; padding-top: 18px; }
.student-feedback-item { overflow: hidden; border: 1px solid var(--student-border); border-radius: 8px; background: var(--student-surface); }
.student-feedback-item > header { display: grid; grid-template-columns: 42px minmax(0,1fr) auto; align-items: center; gap: 11px; border-bottom: 1px solid var(--student-border); background: var(--student-surface-alt); padding: 13px 15px; }
.student-feedback-item-icon { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 8px; background: var(--student-accent-soft); color: #8a6500; font-size: 16px; }
.student-feedback-item.is-answered .student-feedback-item-icon { background: var(--student-primary-soft); color: var(--student-primary); }
.student-feedback-item > header small { display: block; color: #8a6500; font-size: 9px; font-weight: 850; text-transform: uppercase; }
.student-feedback-item.is-answered > header small { color: var(--student-primary); }
.student-feedback-item h3 { margin: 2px 0 0; color: var(--student-ink); font-size: 15px; }
.student-feedback-item time { color: var(--student-muted); font-size: 10px; white-space: nowrap; }
.student-feedback-message { padding: 16px; }
.student-feedback-message strong { color: var(--student-muted); font-size: 10px; text-transform: uppercase; }
.student-feedback-message p,
.student-feedback-reply p { margin: 5px 0 0; color: var(--student-ink); font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.student-feedback-reply { display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 11px; border-top: 1px solid var(--student-border); background: var(--student-primary-soft); padding: 15px 16px; }
.student-feedback-reply > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: var(--student-primary); color: #fff; }
.student-feedback-reply > div > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.student-feedback-reply strong { color: var(--student-primary); font-size: 12px; }
.student-feedback-pending { display: flex; align-items: center; gap: 9px; border-top: 1px solid var(--student-border); background: var(--student-accent-soft); padding: 12px 16px; color: #775d09; font-size: 11px; }
.student-feedback-empty { min-height: 310px; display: flex; align-items: center; justify-content: center; flex-direction: column; padding: 28px; text-align: center; }
.student-feedback-empty > span { display: grid; width: 58px; height: 58px; place-items: center; border-radius: 50%; background: var(--student-primary-soft); color: var(--student-primary); font-size: 22px; }
.student-feedback-empty h3 { margin: 15px 0 5px; color: var(--student-ink); font-size: 18px; }
.student-feedback-empty p { margin: 0; color: var(--student-muted); font-size: 13px; }

body.student-feedback-modal-open { overflow: hidden; }
.student-feedback-modal[hidden] { display: none !important; }
.student-feedback-modal { position: fixed; z-index: 100000; inset: 0; display: grid; place-items: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .18s ease; }
.student-feedback-modal.is-visible { opacity: 1; pointer-events: auto; }
.student-feedback-modal-backdrop { position: absolute; inset: 0; background: rgba(9,27,22,.58); backdrop-filter: blur(5px); }
.student-feedback-modal-card { position: relative; width: min(420px,100%); border: 1px solid var(--student-border); border-radius: 8px; background: var(--student-surface); padding: 34px 30px 30px; text-align: center; box-shadow: 0 24px 70px rgba(8,35,27,.2); transform: translateY(12px) scale(.98); transition: transform .2s ease; }
.student-feedback-modal.is-visible .student-feedback-modal-card { transform: translateY(0) scale(1); }
.student-feedback-modal-icon { display: grid; width: 68px; height: 68px; place-items: center; margin: 0 auto 20px; border-radius: 50%; background: var(--student-primary-soft); color: var(--student-primary); font-size: 27px; box-shadow: 0 0 0 9px rgba(14,122,99,.08); }
.student-feedback-modal-card > small { color: var(--student-primary); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.student-feedback-modal-card h2 { margin: 6px 0 8px; color: var(--student-ink); font-size: 25px; }
.student-feedback-modal-card p { margin: 0; color: var(--student-muted); font-size: 14px; line-height: 1.6; }
.student-feedback-modal-card button { width: 100%; min-height: 48px; margin-top: 23px; border: 1px solid var(--student-primary); border-radius: 8px; background: var(--student-primary); color: #fff; font-size: 14px; font-weight: 850; }

body.student-dark .student-report-summary .tone-blue > span,
body.student-dark .student-report-exam-icon,
body.student-dark .student-feedback-summary > div > span { background: #173247; color: #7fc4f1; }
body.student-dark .student-report-summary .tone-coral > span,
body.student-dark .student-report-count.is-missed,
body.student-dark .student-feedback-form-error { background: #321d1a; border-color: #6d3832; }
body.student-dark .student-report-summary .tone-yellow > span,
body.student-dark .student-report-exam-icon.is-kts,
body.student-dark .student-feedback-summary > div > span.is-waiting,
body.student-dark .student-feedback-item-icon,
body.student-dark .student-feedback-pending { background: #3a3217; color: #e3c75c; }

@media (max-width: 1120px) {
    .student-report-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .student-report-summary > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--student-border); }
    .student-report-summary > div:nth-child(4) { border-top: 1px solid var(--student-border); }
    .student-report-exam-list { grid-template-columns: 1fr; }
    .student-feedback-layout { grid-template-columns: 1fr; }
    .student-feedback-compose { position: static; }
}

@media (max-width: 767px) {
    .student-reports-page,
    .student-feedback-page { gap: 22px; }
    .student-reports-hero,
    .student-feedback-hero { grid-template-columns: 50px minmax(0,1fr); gap: 12px; padding-bottom: 21px; }
    .student-reports-hero-icon,
    .student-feedback-hero-icon { width: 50px; height: 50px; font-size: 20px; }
    .student-reports-hero h1,
    .student-feedback-hero h1 { font-size: 25px; }
    .student-reports-hero p,
    .student-feedback-hero p { font-size: 14px; line-height: 1.55; }
    .student-report-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .student-report-summary > div { min-height: 90px; gap: 10px; padding: 13px; }
    .student-report-summary > div:nth-child(2) { border-left: 1px solid var(--student-border); }
    .student-report-summary > div > span { width: 40px; height: 40px; flex-basis: 40px; font-size: 16px; }
    .student-report-summary strong { font-size: 22px; }
    .student-report-summary em { display: none; }
    .student-report-tabs { margin-right: -15px; padding-right: 15px; }
    .student-report-tabs button { min-width: 165px; font-size: 13px; }
    .student-report-panel-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
    .student-report-panel-heading h2 { font-size: 21px; }
    .student-report-panel-heading > a { width: 100%; justify-content: center; }
    .student-report-subject summary { min-height: 86px; grid-template-columns: 44px minmax(0,1fr) 18px; gap: 11px; padding: 13px; }
    .student-report-subject-icon { width: 44px; height: 44px; font-size: 17px; }
    .student-report-subject-copy > strong { font-size: 15px; }
    .student-report-subject-numbers { grid-column: 2; min-width: 0; text-align: left; }
    .student-report-subject-numbers b { display: inline; margin-right: 6px; font-size: 14px; }
    .student-report-subject-numbers small { font-size: 10px; }
    .student-report-chevron { grid-column: 3; grid-row: 1 / 3; }
    .student-report-table thead { display: none; }
    .student-report-table,
    .student-report-table tbody,
    .student-report-table tr,
    .student-report-table td { display: block; width: 100%; }
    .student-report-table tr { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); border-top: 1px solid var(--student-border); padding: 12px 13px; }
    .student-report-table td { display: flex; align-items: center; justify-content: space-between; border: 0; padding: 5px 7px; font-size: 12px; }
    .student-report-table td:first-child { grid-column: 1 / -1; width: 100%; border-bottom: 1px solid var(--student-border); padding-bottom: 10px; font-size: 14px; }
    .student-report-table td::before { content: attr(data-label); color: var(--student-muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
    .student-report-exam-card { min-height: 112px; grid-template-columns: 46px minmax(0,1fr) 20px; gap: 11px; padding: 14px 12px; }
    .student-report-exam-icon { width: 46px; height: 46px; font-size: 18px; }
    .student-report-net { grid-column: 2; min-width: 0; text-align: left; }
    .student-report-net small,
    .student-report-net strong { display: inline; font-size: 12px; }
    .student-report-net strong { margin-left: 5px; color: var(--student-primary); }
    .student-report-exam-arrow { grid-column: 3; grid-row: 1 / 3; }

    .student-feedback-summary { grid-template-columns: 1fr; }
    .student-feedback-summary > div { min-height: 72px; border-top: 1px solid var(--student-border); border-left: 0; padding: 12px 15px; }
    .student-feedback-summary > div:first-child { border-top: 0; }
    .student-feedback-summary > div > span { width: 42px; height: 42px; flex-basis: 42px; }
    .student-feedback-summary strong { font-size: 22px; }
    .student-feedback-compose,
    .student-feedback-history { padding: 17px; }
    .student-feedback-section-heading h2,
    .student-feedback-history-heading h2 { font-size: 20px; }
    .student-feedback-field select,
    .student-feedback-field textarea { font-size: 16px; }
    .student-feedback-submit { min-height: 52px; font-size: 15px; }
    .student-feedback-history-heading { align-items: center; }
    .student-feedback-item > header { grid-template-columns: 40px minmax(0,1fr); padding: 12px; }
    .student-feedback-item > header time { grid-column: 2; }
    .student-feedback-message { padding: 14px; }
    .student-feedback-reply { grid-template-columns: 34px minmax(0,1fr); padding: 14px; }
    .student-feedback-reply > span { width: 34px; height: 34px; }
    .student-feedback-reply > div > div { align-items: flex-start; flex-direction: column; gap: 2px; }
    .student-feedback-modal { align-items: end; padding: 12px; }
    .student-feedback-modal-card { padding: 30px 22px 24px; }
}

/* Private lesson assignments */
.student-private-page { display: grid; gap: 28px; }
.student-private-hero { display: grid; grid-template-columns: 72px minmax(0,1fr); align-items: center; gap: 20px; border-bottom: 1px solid var(--student-border); padding-bottom: 28px; }
.student-private-hero-icon { display: grid; width: 72px; height: 72px; place-items: center; border-radius: 8px; background: var(--student-blue); color: #fff; font-size: 28px; }
.student-private-hero small { color: var(--student-primary); font-size: 12px; font-weight: 850; text-transform: uppercase; }
.student-private-hero h1 { margin: 4px 0; color: var(--student-ink); font-size: 34px; line-height: 1.18; letter-spacing: 0; }
.student-private-hero p { max-width: 780px; margin: 0; color: var(--student-muted); font-size: 16px; line-height: 1.6; }
.student-private-summary { display: grid; overflow: hidden; grid-template-columns: 1.35fr repeat(3,minmax(0,1fr)); border: 1px solid var(--student-border); border-radius: 8px; background: var(--student-surface); box-shadow: var(--student-shadow); }
.student-private-summary > div { display: flex; min-height: 102px; align-items: center; gap: 13px; border-left: 1px solid var(--student-border); padding: 17px 19px; }
.student-private-summary > div:first-child { border-left: 0; }
.student-private-summary > div > span { display: grid; width: 46px; height: 46px; flex: 0 0 46px; place-items: center; border-radius: 8px; background: var(--student-primary-soft); color: var(--student-primary); font-size: 18px; }
.student-private-summary > div > span.is-active { background: #e8f3fb; color: var(--student-blue); }
.student-private-summary > div > span.is-teacher { background: var(--student-accent-soft); color: #8a6500; }
.student-private-summary > div > span.is-file { background: #fff0ed; color: var(--student-coral); }
.student-private-summary small { display: block; color: var(--student-muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.student-private-summary strong { display: block; margin-top: 3px; color: var(--student-ink); font-size: 20px; line-height: 1.2; }
.student-private-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.student-private-toolbar > div:first-child small { display: block; color: var(--student-primary); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.student-private-toolbar > div:first-child strong { display: block; margin-top: 2px; color: var(--student-ink); font-size: 18px; }
.student-private-filters { display: flex; gap: 6px; border: 1px solid var(--student-border); border-radius: 8px; background: var(--student-surface); padding: 5px; }
.student-private-filters button { display: inline-flex; min-height: 38px; align-items: center; gap: 8px; border: 0; border-radius: 6px; background: transparent; padding: 0 13px; color: var(--student-muted); font-size: 12px; font-weight: 800; }
.student-private-filters button b { display: grid; min-width: 21px; height: 21px; place-items: center; border-radius: 999px; background: var(--student-surface-alt); color: var(--student-muted); font-size: 9px; }
.student-private-filters button.is-active { background: var(--student-primary); color: #fff; }
.student-private-filters button.is-active b { background: rgba(255,255,255,.18); color: #fff; }
.student-private-days { display: grid; gap: 28px; }
.student-private-day[hidden],
.student-private-card[hidden] { display: none !important; }
.student-private-day { display: grid; grid-template-columns: 132px minmax(0,1fr); align-items: start; gap: 15px; }
.student-private-day > header { display: grid; grid-template-columns: 54px minmax(0,1fr); align-items: center; gap: 10px; padding-top: 8px; }
.student-private-day > header > span { display: grid; width: 54px; height: 58px; place-items: center; align-content: center; border: 1px solid var(--student-border); border-radius: 8px; background: var(--student-surface); box-shadow: 0 4px 14px rgba(31,56,49,.04); }
.student-private-day > header > span strong { color: var(--student-ink); font-size: 21px; line-height: 1; }
.student-private-day > header > span small { margin-top: 3px; color: var(--student-primary); font-size: 9px; font-weight: 850; }
.student-private-day > header > div small { color: var(--student-primary); font-size: 10px; font-weight: 850; text-transform: uppercase; }
.student-private-day > header > div h2 { margin: 2px 0 0; color: var(--student-ink); font-size: 13px; white-space: nowrap; }
.student-private-day > header > b { grid-column: 1 / -1; color: var(--student-muted); font-size: 10px; font-weight: 700; text-align: center; }
.student-private-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.student-private-card { display: grid; min-height: 238px; grid-template-columns: 48px minmax(0,1fr); align-items: start; gap: 13px; border: 1px solid var(--student-border); border-radius: 8px; background: var(--student-surface); padding: 17px; box-shadow: 0 4px 16px rgba(31,56,49,.04); }
.student-private-card.is-past { border-color: #efcbc6; background: #fffafa; }
.student-private-card-icon { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 8px; background: #e8f3fb; color: var(--student-blue); font-size: 18px; }
.student-private-card.is-past .student-private-card-icon { background: #fff0ed; color: var(--student-coral); }
.student-private-card-main { display: flex; min-width: 0; min-height: 202px; flex-direction: column; }
.student-private-card-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.student-private-card-heading > div { min-width: 0; }
.student-private-card-heading small { display: block; overflow: hidden; color: var(--student-primary); font-size: 10px; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.student-private-card-heading h3 { margin: 3px 0 0; color: var(--student-ink); font-size: 18px; overflow-wrap: anywhere; }
.student-private-card-heading > span { display: inline-flex; min-height: 27px; align-items: center; gap: 5px; border-radius: 999px; background: var(--student-primary-soft); padding: 0 9px; color: var(--student-primary); font-size: 9px; font-weight: 850; white-space: nowrap; }
.student-private-card-heading > span.is-today { background: var(--student-accent-soft); color: #7b5c00; }
.student-private-card-heading > span.is-past { background: #fff0ed; color: var(--student-coral); }
.student-private-topic { margin-top: 15px; }
.student-private-topic small { display: block; color: var(--student-muted); font-size: 9px; font-weight: 850; text-transform: uppercase; }
.student-private-topic strong { display: block; margin-top: 3px; color: var(--student-ink); font-size: 14px; line-height: 1.55; }
.student-private-note { display: grid; grid-template-columns: 24px minmax(0,1fr); gap: 7px; margin-top: 11px; border-left: 3px solid var(--student-accent); background: var(--student-accent-soft); padding: 10px 11px; }
.student-private-note i { color: #8a6500; }
.student-private-note p { margin: 0; color: #5f531e; font-size: 11px; line-height: 1.55; overflow-wrap: anywhere; }
.student-private-card footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; border-top: 1px solid var(--student-border); padding-top: 13px; }
.student-private-card footer > span { display: inline-flex; align-items: center; gap: 6px; color: var(--student-muted); font-size: 10px; }
.student-private-card footer > span i { color: var(--student-primary); }
.student-private-card footer > a { display: inline-flex; min-height: 36px; align-items: center; gap: 7px; border: 1px solid var(--student-primary); border-radius: 7px; padding: 0 11px; color: var(--student-primary) !important; font-size: 10px; font-weight: 850; white-space: nowrap; }
.student-private-card footer > a:hover { background: var(--student-primary); color: #fff !important; }
.student-private-no-file { opacity: .75; }
.student-private-empty,
.student-private-filter-empty { min-height: 280px; display: flex; align-items: center; justify-content: center; flex-direction: column; border: 1px dashed var(--student-border); border-radius: 8px; background: var(--student-surface); padding: 28px; text-align: center; }
.student-private-filter-empty[hidden] { display: none !important; }
.student-private-empty > span,
.student-private-filter-empty > span { display: grid; width: 62px; height: 62px; place-items: center; border-radius: 50%; background: #e8f3fb; color: var(--student-blue); font-size: 24px; }
.student-private-empty h2,
.student-private-filter-empty h3 { margin: 16px 0 5px; color: var(--student-ink); font-size: 20px; }
.student-private-empty p,
.student-private-filter-empty p { margin: 0; color: var(--student-muted); font-size: 14px; }
.student-private-empty > a { display: inline-flex; min-height: 42px; align-items: center; margin-top: 17px; border-radius: 8px; background: var(--student-primary); padding: 0 16px; color: #fff !important; font-size: 13px; font-weight: 800; }
body.student-dark .student-private-summary > div > span.is-active,
body.student-dark .student-private-card-icon,
body.student-dark .student-private-empty > span,
body.student-dark .student-private-filter-empty > span { background: #173247; color: #7fc4f1; }
body.student-dark .student-private-summary > div > span.is-teacher,
body.student-dark .student-private-card-heading > span.is-today,
body.student-dark .student-private-note { background: #3a3217; color: #e3c75c; }
body.student-dark .student-private-note p { color: #e4dcae; }
body.student-dark .student-private-summary > div > span.is-file,
body.student-dark .student-private-card.is-past .student-private-card-icon,
body.student-dark .student-private-card-heading > span.is-past { background: #321d1a; color: #f09588; }
body.student-dark .student-private-card.is-past { border-color: #6d3832; background: #281a18; }

@media (max-width: 1120px) {
    .student-private-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .student-private-summary > div:nth-child(3) { border-left: 0; border-top: 1px solid var(--student-border); }
    .student-private-summary > div:nth-child(4) { border-top: 1px solid var(--student-border); }
    .student-private-day { grid-template-columns: 110px minmax(0,1fr); }
    .student-private-list { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
    .student-private-page { gap: 22px; }
    .student-private-hero { grid-template-columns: 50px minmax(0,1fr); gap: 12px; padding-bottom: 21px; }
    .student-private-hero-icon { width: 50px; height: 50px; font-size: 20px; }
    .student-private-hero h1 { font-size: 25px; }
    .student-private-hero p { font-size: 14px; line-height: 1.55; }
    .student-private-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .student-private-summary > div { min-height: 88px; gap: 9px; padding: 12px; }
    .student-private-summary > div:nth-child(2) { border-left: 1px solid var(--student-border); }
    .student-private-summary > div > span { width: 39px; height: 39px; flex-basis: 39px; font-size: 15px; }
    .student-private-summary strong { font-size: 16px; }
    .student-private-toolbar { align-items: stretch; flex-direction: column; gap: 12px; }
    .student-private-toolbar > div:first-child strong { font-size: 16px; }
    .student-private-filters { width: 100%; }
    .student-private-filters button { min-width: 0; flex: 1; justify-content: center; padding: 0 7px; }
    .student-private-days { gap: 27px; }
    .student-private-day { grid-template-columns: 1fr; gap: 9px; }
    .student-private-day > header { grid-template-columns: 48px minmax(0,1fr) auto; padding: 0 2px; }
    .student-private-day > header > span { width: 48px; height: 52px; }
    .student-private-day > header > span strong { font-size: 19px; }
    .student-private-day > header > b { grid-column: 3; grid-row: 1; text-align: right; }
    .student-private-list { gap: 10px; }
    .student-private-card { min-height: 0; grid-template-columns: 43px minmax(0,1fr); gap: 10px; padding: 14px 12px; }
    .student-private-card-icon { width: 43px; height: 43px; font-size: 16px; }
    .student-private-card-main { min-height: 0; }
    .student-private-card-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
    .student-private-card-heading h3 { font-size: 17px; }
    .student-private-card-heading > span { min-height: 25px; }
    .student-private-topic { margin-top: 12px; }
    .student-private-topic strong { font-size: 14px; }
    .student-private-card footer { align-items: stretch; flex-direction: column; margin-top: 15px; }
    .student-private-card footer > a { width: 100%; min-height: 42px; justify-content: center; font-size: 12px; }
}

/* Public password recovery */
.student-password-page { min-height: 100vh; min-height: 100dvh; background: #eef2f1; }
.student-password-page *,
.student-password-page *::before,
.student-password-page *::after { box-sizing: border-box; }
.student-password-shell { display: grid; min-height: 100vh; min-height: 100dvh; place-items: center; padding: 36px 20px; }
.student-password-card { display: grid; width: min(980px,100%); min-height: 650px; grid-template-columns: minmax(0,1.08fr) minmax(320px,.92fr); overflow: hidden; border: 1px solid #dfe6e3; border-radius: 8px; background: #fff; box-shadow: 0 22px 60px rgba(31,56,49,.13); }
.student-password-form-panel { display: flex; min-width: 0; flex-direction: column; padding: 40px 62px 48px; }
.student-password-logo { display: inline-flex; width: 205px; align-items: center; }
.student-password-logo img { display: block; width: 100%; height: auto; }
.student-password-back { display: inline-flex; align-items: center; align-self: flex-start; gap: 8px; margin-top: 30px; color: #0e7a63 !important; font-size: 13px; font-weight: 800; }
.student-password-heading { position: relative; margin-top: 31px; padding-left: 62px; }
.student-password-heading > span { position: absolute; top: 0; left: 0; display: grid; width: 48px; height: 48px; place-items: center; border-radius: 8px; background: #e7f4f0; color: #0e7a63; font-size: 20px; }
.student-password-heading > small,
.student-password-invalid > small { display: block; color: #0e7a63; font-size: 10px; font-weight: 850; text-transform: uppercase; }
.student-password-heading h1,
.student-password-invalid h1 { margin: 3px 0 7px; color: #17232d; font-size: 29px; line-height: 1.2; letter-spacing: 0; }
.student-password-heading p,
.student-password-invalid p { margin: 0; color: #6d7880; font-size: 14px; line-height: 1.6; }
#studentPasswordRequestForm,
#studentPasswordResetForm { display: grid; gap: 17px; margin-top: 27px; }
.student-password-field { display: grid; gap: 7px; margin: 0; }
.student-password-field > span:first-child { color: #17232d; font-size: 12px; font-weight: 800; }
.student-password-field > small { color: #6d7880; font-size: 10px; }
.student-password-input { position: relative; display: block; }
.student-password-input > i { position: absolute; z-index: 1; top: 50%; left: 16px; color: #0e7a63; font-size: 15px; transform: translateY(-50%); }
.student-password-input input { width: 100%; min-height: 52px; border: 1px solid #dfe6e3 !important; border-radius: 8px; outline: 0; background: #f8faf9 !important; padding: 0 48px 0 44px; color: #17232d; font-size: 16px; }
.student-password-input input:focus { border-color: #0e7a63 !important; box-shadow: 0 0 0 3px rgba(14,122,99,.12); }
.student-password-input button { position: absolute; top: 50%; right: 8px; display: grid; width: 38px; height: 38px; place-items: center; border: 0; border-radius: 7px; background: transparent; color: #6d7880; transform: translateY(-50%); }
.student-password-input button:hover { background: #e7f4f0; color: #0e7a63; }
.student-password-error { border: 1px solid #f0c9c3; border-radius: 8px; background: #fff0ed; padding: 11px 13px; color: #a33d32; font-size: 12px; line-height: 1.5; }
.student-password-submit { display: flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px; border: 1px solid #0e7a63; border-radius: 8px; background: #0e7a63; color: #fff; font-size: 14px; font-weight: 850; }
.student-password-submit:hover { background: #075e4c; }
.student-password-submit:disabled { cursor: wait; opacity: .82; }
.student-password-strength { display: grid; gap: 6px; margin-top: -8px; }
.student-password-strength > span { display: block; height: 5px; overflow: hidden; border-radius: 999px; background: #e1e7e5; }
.student-password-strength > span i { display: block; width: 0; height: 100%; border-radius: inherit; background: #e96655; transition: width .18s ease, background .18s ease; }
.student-password-strength small { color: #6d7880; font-size: 10px; }
.student-password-strength.strength-1 > span i { width: 34%; background: #e96655; }
.student-password-strength.strength-2 > span i { width: 67%; background: #d8a900; }
.student-password-strength.strength-3 > span i { width: 100%; background: #0e7a63; }
.student-password-sent { margin-top: 35px; border: 1px solid #cfe6df; border-radius: 8px; background: #f4faf8; padding: 28px; text-align: center; }
.student-password-sent > span { display: grid; width: 62px; height: 62px; place-items: center; margin: 0 auto 17px; border-radius: 50%; background: #e7f4f0; color: #0e7a63; font-size: 24px; box-shadow: 0 0 0 8px rgba(14,122,99,.07); }
.student-password-sent h2 { margin: 0 0 7px; color: #17232d; font-size: 23px; }
.student-password-sent p { margin: 0; color: #56635f; font-size: 13px; line-height: 1.6; }
.student-password-sent > div { display: flex; align-items: flex-start; gap: 8px; margin-top: 17px; border-radius: 8px; background: #fff4c8; padding: 11px; color: #6d5710; font-size: 11px; line-height: 1.45; text-align: left; }
.student-password-sent button { margin-top: 19px; border: 0; background: transparent; color: #0e7a63; font-size: 12px; font-weight: 850; text-decoration: underline; }
.student-password-invalid { display: flex; flex: 1; align-items: flex-start; justify-content: center; flex-direction: column; padding-top: 26px; }
.student-password-invalid > span { display: grid; width: 68px; height: 68px; place-items: center; margin-bottom: 22px; border-radius: 50%; background: #fff0ed; color: #e96655; font-size: 26px; }
.student-password-invalid > a { display: inline-flex; min-height: 48px; align-items: center; margin-top: 22px; border-radius: 8px; background: #0e7a63; padding: 0 18px; color: #fff !important; font-size: 13px; font-weight: 850; }
.student-password-aside { display: flex; align-items: flex-start; justify-content: center; flex-direction: column; background: #0e7a63; padding: 48px; color: #fff; }
.student-password-aside > img { width: 190px; height: auto; margin-bottom: 55px; }
.student-password-aside-icon { display: grid; width: 66px; height: 66px; place-items: center; border-radius: 8px; background: rgba(255,255,255,.13); color: #f2bc00; font-size: 27px; }
.student-password-aside h2 { margin: 22px 0 9px; color: #fff; font-size: 26px; letter-spacing: 0; }
.student-password-aside p { margin: 0; color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.65; }
.student-password-aside ul { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.student-password-aside li { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 12px; font-weight: 700; }
.student-password-aside li i { display: grid; width: 24px; height: 24px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.12); color: #f2bc00; font-size: 10px; }
body.student-password-modal-open { overflow: hidden; }
.student-password-modal[hidden] { display: none !important; }
.student-password-modal { position: fixed; z-index: 100000; inset: 0; display: grid; place-items: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .18s ease; }
.student-password-modal.is-visible { opacity: 1; pointer-events: auto; }
.student-password-modal-backdrop { position: absolute; inset: 0; background: rgba(9,27,22,.62); backdrop-filter: blur(5px); }
.student-password-modal-card { position: relative; width: min(410px,100%); border: 1px solid #dfe6e3; border-radius: 8px; background: #fff; padding: 34px 28px 29px; text-align: center; box-shadow: 0 24px 70px rgba(8,35,27,.22); transform: translateY(12px); transition: transform .18s ease; }
.student-password-modal.is-visible .student-password-modal-card { transform: translateY(0); }
.student-password-modal-card > span { display: grid; width: 68px; height: 68px; place-items: center; margin: 0 auto 19px; border-radius: 50%; background: #e7f4f0; color: #0e7a63; font-size: 26px; box-shadow: 0 0 0 9px rgba(14,122,99,.08); }
.student-password-modal-card > small { color: #0e7a63; font-size: 10px; font-weight: 850; text-transform: uppercase; }
.student-password-modal-card h2 { margin: 5px 0 8px; color: #17232d; font-size: 25px; }
.student-password-modal-card p { margin: 0; color: #6d7880; font-size: 14px; line-height: 1.6; }
.student-password-modal-card a { display: flex; min-height: 48px; align-items: center; justify-content: center; margin-top: 23px; border-radius: 8px; background: #0e7a63; color: #fff !important; font-size: 14px; font-weight: 850; }

@media (max-width: 767px) {
    .student-password-shell { display: block; min-height: 100vh; min-height: 100dvh; padding: 0; background: #fff; }
    .student-password-card { display: block; min-height: 100vh; min-height: 100dvh; border: 0; border-radius: 0; box-shadow: none; }
    .student-password-form-panel { min-height: 100vh; min-height: 100dvh; padding: max(42px,env(safe-area-inset-top)) 24px max(32px,env(safe-area-inset-bottom)); }
    .student-password-logo { width: 185px; }
    .student-password-back { margin-top: 25px; font-size: 13px; }
    .student-password-heading { margin-top: 28px; padding-left: 0; }
    .student-password-heading > span { position: static; width: 50px; height: 50px; margin-bottom: 18px; }
    .student-password-heading h1,
    .student-password-invalid h1 { font-size: 27px; }
    .student-password-heading p,
    .student-password-invalid p { font-size: 14px; }
    #studentPasswordRequestForm,
    #studentPasswordResetForm { margin-top: 26px; }
    .student-password-field > span:first-child { font-size: 14px; }
    .student-password-input input { min-height: 56px; font-size: 16px; }
    .student-password-submit { min-height: 54px; font-size: 15px; }
    .student-password-aside { display: none; }
    .student-password-invalid { min-height: 520px; align-items: center; text-align: center; }
    .student-password-invalid > a { width: 100%; justify-content: center; }
    .student-password-modal { align-items: end; padding: 12px; }
    .student-password-modal-card { padding: 30px 22px 24px; }
}
