/* Shared admin + student skin. Loaded last so it wins over the flat sidebar theme. */
:is(#admin-body, #student-body) {
    --ee-ref-purple: #2563eb;
    --ee-ref-purple-deep: #1d4ed8;
    --ee-ref-page: #f9fafb;
    --ee-ref-card: #ffffff;
    --ee-ref-line: rgba(47, 43, 61, 0.08);
    --ee-ref-shadow: 0 10px 28px rgba(47, 43, 61, 0.06);
    --ee-ref-radius: var(--ee-radius, 5px);
}

html.dark :is(#admin-body, #student-body) {
    --ee-ref-page: #16141f;
    --ee-ref-card: #211f2c;
    --ee-ref-line: rgba(255, 255, 255, 0.08);
    --ee-ref-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

:is(#admin-body, #student-body).ee-panel-body,
:is(#admin-body, #student-body) .student-main-bg {
    background: var(--ee-ref-page) !important;
}

:is(#admin-body, #student-body) .ee-panel-topnav,
:is(#admin-body, #student-body) .student-topnav {
    background: var(--ee-ref-card) !important;
    border-bottom: 1px solid var(--ee-ref-line) !important;
    box-shadow: 0 1px 0 rgba(47, 43, 61, 0.04) !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

:is(#admin-body, #student-body) .student-topnav .ee-topnav-brand-rail {
    border-right-color: var(--ee-ref-line) !important;
}

@media (min-width: 1024px) {
    :is(#admin-body, #student-body) .student-topnav .ee-topnav-brand-rail {
        width: 16rem !important;
        min-width: 16rem !important;
        max-width: 16rem !important;
    }

    :is(#admin-body, #student-body).sidebar-collapsed .student-topnav .ee-topnav-brand-rail {
        width: 5rem !important;
        min-width: 5rem !important;
        max-width: 5rem !important;
        justify-content: center;
    }

    :is(#admin-body, #student-body).sidebar-collapsed .student-topnav .ee-topnav-brand-text {
        display: none !important;
    }
}

:is(#admin-body, #student-body) :is(#admin-sidebar, #student-sidebar).ee-panel-sidebar {
    background: var(--ee-ref-card) !important;
    border-right: 1px solid var(--ee-ref-line) !important;
    box-shadow: none !important;
}

:is(#admin-body, #student-body) :is(#admin-sidebar, #student-sidebar) :is(a.sidebar-link, button.sidebar-link, .sidebar-submenu-link) {
    border-radius: var(--ee-radius, 5px) !important;
    margin-bottom: 2px;
}

:is(#admin-body, #student-body) :is(#admin-sidebar, #student-sidebar) :is(a.sidebar-link, button.sidebar-link):hover {
    background: #eff6ff !important;
    color: var(--ee-ref-purple-deep) !important;
}

:is(#admin-body, #student-body) :is(#admin-sidebar, #student-sidebar) a.sidebar-link.ee-panel-nav-link--active,
:is(#admin-body, #student-body) :is(#admin-sidebar, #student-sidebar) .sidebar-submenu-link.sidebar-submenu-link--active {
    background: var(--ee-ref-purple) !important;
    color: #fff !important;
    font-weight: 600 !important;
    box-shadow: 0 8px 16px rgba(109, 94, 252, 0.28) !important;
}

:is(#admin-body, #student-body) :is(#admin-sidebar, #student-sidebar) a.sidebar-link.ee-panel-nav-link--active i,
:is(#admin-body, #student-body) :is(#admin-sidebar, #student-sidebar) .sidebar-submenu-link.sidebar-submenu-link--active i {
    color: #fff !important;
    opacity: 1 !important;
}

:is(#admin-body, #student-body) .ee-ref-side-card {
    margin: 0 0.35rem 0.75rem;
    padding: 0.9rem;
    border-radius: var(--ee-radius, 5px);
    background: #f9fafb;
    border: 1px solid #dbeafe;
}

html.dark :is(#admin-body, #student-body) .ee-ref-side-card {
    background: linear-gradient(160deg, #2a2448 0%, #211f2c 70%);
}

:is(#admin-body, #student-body) .ee-ref-side-card p {
    margin: 0 0 0.65rem;
    font-size: 0.75rem;
    line-height: 1.35;
    color: #5c5670;
}

html.dark :is(#admin-body, #student-body) .ee-ref-side-card p {
    color: #c4bdd8;
}

:is(#admin-body, #student-body) .ee-ref-side-card a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    width: 100%;
    min-height: 2.25rem;
    border-radius: var(--ee-radius, 5px);
    background: var(--ee-ref-purple);
    color: #fff !important;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
}

:is(#admin-body, #student-body) .ee-ref-side-card a:hover {
    background: var(--ee-ref-purple-deep);
}

:is(#admin-body, #student-body) .student-sidebar.sidebar-collapsed .ee-ref-side-card {
    display: none;
}

:is(#admin-body, #student-body) .student-content .ee-panel-card,
:is(#admin-body, #student-body) .student-content .rounded-xl.border.bg-white,
:is(#admin-body, #student-body) .student-content .rounded-2xl.border.bg-white,
:is(#admin-body, #student-body) .um-filter-bar {
    border-radius: var(--ee-ref-radius) !important;
    border-color: var(--ee-ref-line) !important;
    box-shadow: var(--ee-ref-shadow) !important;
    background: var(--ee-ref-card) !important;
}

:is(#admin-body, #student-body) .student-content .student-stat-card,
:is(#admin-body, #student-body) .student-stat-card {
    border: 1px solid var(--ee-ref-line) !important;
    border-radius: var(--ee-ref-radius) !important;
    box-shadow: var(--ee-ref-shadow) !important;
    overflow: hidden;
}

:is(#admin-body, #student-body) .student-stat-card-1 { background: #eef3ff !important; }
:is(#admin-body, #student-body) .student-stat-card-2 { background: #fff6eb !important; }
:is(#admin-body, #student-body) .student-stat-card-3 { background: #eefbf6 !important; }
:is(#admin-body, #student-body) .student-stat-card-4 { background: #f4f0ff !important; }

html.dark :is(#admin-body, #student-body) .student-stat-card-1 { background: #1c2744 !important; }
html.dark :is(#admin-body, #student-body) .student-stat-card-2 { background: #3a2a16 !important; }
html.dark :is(#admin-body, #student-body) .student-stat-card-3 { background: #14332c !important; }
html.dark :is(#admin-body, #student-body) .student-stat-card-4 { background: #2a2344 !important; }

:is(#admin-body, #student-body) .ee-stat-value,
:is(#admin-body, #student-body) .student-stat-card .ee-stat-value {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    letter-spacing: -0.03em;
}

:is(#admin-body, #student-body) .ee-ref-dash {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

:is(#admin-body, #student-body) .ee-ref-hello {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.85rem;
}

:is(#admin-body, #student-body) .ee-ref-hello h1 {
    margin: 0;
    font-size: clamp(1.45rem, 2.4vw, 1.85rem) !important;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #1f1b2e;
}

html.dark :is(#admin-body, #student-body) .ee-ref-hello h1 {
    color: #f5f3ff;
}

:is(#admin-body, #student-body) .ee-ref-hello p {
    margin: 0.35rem 0 0;
    max-width: 42rem;
    color: #6b6578;
    font-size: 0.92rem;
}

:is(#admin-body, #student-body) .ee-ref-hero {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.35rem 1.5rem;
    border-radius: var(--ee-radius, 5px);
    color: #fff;
    background: #2563eb;
    box-shadow: 0 16px 32px rgba(37, 99, 235, 0.28);
}

:is(#admin-body, #student-body) .ee-ref-hero h2 {
    margin: 0.2rem 0 0.35rem;
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
}

:is(#admin-body, #student-body) .ee-ref-kicker {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

:is(#admin-body, #student-body) .ee-ref-hero p {
    margin: 0;
    max-width: 36rem;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9rem;
}

:is(#admin-body, #student-body) .ee-ref-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.85rem;
}

:is(#admin-body, #student-body) .ee-ref-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.65rem;
    border-radius: var(--ee-radius, 5px);
    background: rgba(255, 255, 255, 0.16);
    font-size: 0.75rem;
    font-weight: 600;
}

:is(#admin-body, #student-body) .ee-ref-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

:is(#admin-body, #student-body) .ee-ref-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.5rem;
    padding: 0.45rem 1rem;
    border-radius: var(--ee-radius, 5px);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
}

:is(#admin-body, #student-body) .ee-ref-btn--solid {
    background: #fff;
    color: var(--ee-ref-purple-deep) !important;
}

:is(#admin-body, #student-body) .ee-ref-btn--ghost {
    background: transparent;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.45);
}

:is(#admin-body, #student-body) .ee-ref-btn--outline {
    background: #fff;
    color: #3f3a4d !important;
    border-color: var(--ee-ref-line);
    box-shadow: var(--ee-ref-shadow);
}

:is(#admin-body, #student-body) .ee-ref-split {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(16rem, 0.9fr);
    gap: 1.15rem;
    align-items: start;
}

:is(#admin-body, #student-body) .ee-ref-stack {
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    min-width: 0;
}

:is(#admin-body, #student-body) .ee-ref-event {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem;
    border-radius: var(--ee-radius, 5px);
    border: 1px solid var(--ee-ref-line);
    text-decoration: none;
    color: inherit;
    background: #fff;
}

html.dark :is(#admin-body, #student-body) .ee-ref-event {
    background: transparent;
}

:is(#admin-body, #student-body) .ee-ref-event + .ee-ref-event {
    margin-top: 0.55rem;
}

:is(#admin-body, #student-body) .ee-ref-event:hover {
    border-color: rgba(109, 94, 252, 0.35);
}

:is(#admin-body, #student-body) .ee-ref-date {
    width: 3.1rem;
    height: 3.1rem;
    border-radius: var(--ee-radius, 5px);
    background: #f4f0ff;
    color: var(--ee-ref-purple-deep);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1.05;
}

html.dark :is(#admin-body, #student-body) .ee-ref-date {
    background: #2a2344;
    color: #d6ccff;
}

:is(#admin-body, #student-body) .ee-ref-date span {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

:is(#admin-body, #student-body) .ee-ref-date strong {
    font-size: 1rem;
}

:is(#admin-body, #student-body) .ee-ref-event h3 {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: #1f1b2e;
}

html.dark :is(#admin-body, #student-body) .ee-ref-event h3 {
    color: #f5f3ff;
}

:is(#admin-body, #student-body) .ee-ref-event p {
    margin: 0.15rem 0 0;
    font-size: 0.78rem;
    color: #6b6578;
}

@media (max-width: 1100px) {
    :is(#admin-body, #student-body) .ee-ref-split {
        grid-template-columns: 1fr;
    }
}

/* Student shell + dashboard matching the light card reference */
#student-body .ee-stu-idcard {
    margin: 0 0.75rem 0.85rem;
    padding: 0.75rem;
    border-radius: var(--ee-radius, 5px);
    background: linear-gradient(135deg, #6d5efc, #4f46e5);
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

#admin-body .ee-stu-idcard {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

#student-body .ee-stu-search {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    max-width: 34rem;
    height: 2.55rem;
    margin-left: 0.5rem;
    padding: 0 0.9rem;
    border-radius: var(--ee-radius, 5px);
    background: #f4f6fb;
    border: 1px solid rgba(47, 43, 61, 0.08);
}

#student-body .ee-stu-search i {
    color: #8b849c;
}

#student-body .ee-stu-search input {
    width: 100%;
    border: 0;
    background: transparent;
    outline: none;
    font-size: 0.875rem;
    color: #1f1b2e;
}

@media (max-width: 720px) {
    #student-body .ee-stu-search { display: none; }
}

#student-body #student-sidebar :is(a.sidebar-link, button.sidebar-link, .sidebar-submenu-link),
#student-body #student-sidebar :is(a.sidebar-link, button.sidebar-link, .sidebar-submenu-link):hover,
#student-body #student-sidebar :is(a.sidebar-link, button.sidebar-link, .sidebar-submenu-link):focus,
#student-body #student-sidebar a.sidebar-link.ee-panel-nav-link--active,
#student-body #student-sidebar .sidebar-submenu-link.sidebar-submenu-link--active {
    background: transparent !important;
    background-color: transparent !important;
    box-shadow: none !important;
}

#student-body #student-sidebar a.sidebar-link.ee-panel-nav-link--active,
#student-body #student-sidebar .sidebar-submenu-link.sidebar-submenu-link--active {
    color: #5646e6 !important;
    font-weight: 600 !important;
}

#student-body #student-sidebar a.sidebar-link.ee-panel-nav-link--active i,
#student-body #student-sidebar .sidebar-submenu-link.sidebar-submenu-link--active i {
    color: #5646e6 !important;
}

#student-body .ee-stu-dash {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#student-body .ee-stu-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
}

#student-body .ee-stu-head h1 {
    margin: 0;
    font-size: 1.7rem !important;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #1c1730;
}

#student-body .ee-stu-head p {
    margin: 0.25rem 0 0;
    color: #6d677c;
    font-size: 0.92rem;
}

#student-body .ee-stu-head__actions,
#student-body .ee-stu-picks,
#student-body .ee-stu-card__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
}

#student-body .ee-stu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 2.45rem !important;
    height: auto !important;
    padding: 0.4rem 0.95rem !important;
    border-radius: var(--ee-radius, 5px) !important;
    font-size: 0.875rem !important;
    font-weight: 600;
    line-height: 1.2 !important;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    box-shadow: none !important;
}

#student-body .ee-stu-btn--primary {
    background: #2563eb;
    color: #fff !important;
}

#student-body .ee-stu-btn--primary:hover { background: #1d4ed8; }

#student-body .ee-stu-btn--ghost {
    background: #f9fafb;
    color: #3c3650 !important;
    border-color: rgba(47, 43, 61, 0.12);
}

#student-body .ee-stu-btn--sm {
    min-height: 2.1rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
}

#student-body .ee-stu-picks,
:is(#admin-body, #student-body) .ee-stu-stat,
#student-body .ee-stu-card {
    background: var(--ee-ref-card, #fff);
    border: 1px solid var(--ee-ref-line, rgba(47, 43, 61, 0.08));
    border-radius: var(--ee-radius, 5px);
    box-shadow: var(--ee-ref-shadow, 0 8px 22px rgba(47, 43, 61, 0.05));
}

#student-body .ee-stu-picks {
    padding: 0.75rem 0.9rem;
}

#student-body .ee-stu-picks__label {
    font-size: 0.78rem;
    font-weight: 700;
    color: #6d677c;
    margin-right: 0.25rem;
}

#student-body .ee-stu-picks__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    flex: 1;
}

#student-body .ee-stu-chip {
    padding: 0.28rem 0.65rem;
    border-radius: var(--ee-radius, 5px);
    background: #f4f0ff;
    color: #5646e6;
    font-size: 0.78rem;
    font-weight: 600;
}

#student-body .ee-stu-picks__edit {
    margin-left: auto;
    font-size: 0.82rem;
    font-weight: 700;
    color: #6d5efc;
}

:is(#admin-body, #student-body) .ee-stu-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

:is(#admin-body, #student-body) .ee-stu-stat {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.95rem 1rem;
}

:is(#admin-body, #student-body) .ee-stu-stat p,
:is(#admin-body, #student-body) .ee-stu-stat span {
    margin: 0;
    font-size: 0.75rem;
    color: var(--ee-ink-muted, #6d677c);
}

:is(#admin-body, #student-body) .ee-stu-stat strong {
    display: block;
    font-size: 1.55rem;
    line-height: 1.15;
    color: var(--ee-ink, #1c1730);
    font-weight: 700;
}

:is(#admin-body, #student-body) .ee-stu-stat__icon {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: var(--ee-radius, 5px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.05rem;
}

:is(#admin-body, #student-body) .ee-stu-stat__icon.is-purple { background: #efeaff; color: #6d5efc; }
:is(#admin-body, #student-body) .ee-stu-stat__icon.is-orange { background: #fff4e8; color: #f59e0b; }
:is(#admin-body, #student-body) .ee-stu-stat__icon.is-green { background: #e9fbf3; color: #10b981; }
:is(#admin-body, #student-body) .ee-stu-stat__icon.is-blue { background: #eaf2ff; color: #3b82f6; }

#student-body .ee-stu-card { padding: 1rem 1.1rem 1.1rem; }

#student-body .ee-stu-card__head {
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

#student-body .ee-stu-card h2 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #1c1730;
}

#student-body .ee-stu-card__head a {
    font-size: 0.82rem;
    font-weight: 700;
    color: #6d5efc;
}

#student-body .ee-stu-avg {
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
}

#student-body .ee-stu-avg strong {
    font-size: 2.4rem;
    line-height: 1;
    color: #1c1730;
}

#student-body .ee-stu-avg span,
#student-body .ee-stu-ready-label,
#student-body .ee-stu-empty {
    color: #6d677c;
    font-size: 0.85rem;
}

#student-body .ee-stu-badge {
    padding: 0.25rem 0.6rem;
    border-radius: var(--ee-radius, 5px);
    font-size: 0.75rem;
    font-weight: 600;
    background: #f4f6fb;
}

#student-body .ee-stu-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0.7rem 0 0.9rem;
    font-size: 0.75rem;
    color: #6d677c;
}

#student-body .ee-stu-legend i,
#student-body .ee-stu-bar > span.is-green { background: #10b981; }
#student-body .ee-stu-legend i,
#student-body .ee-stu-bar > span.is-gold { background: #eab308; }
#student-body .ee-stu-legend i { width: 0.55rem; height: 0.55rem; border-radius: var(--ee-radius, 5px); display: inline-block; }
#student-body .ee-stu-bar > span.is-orange,
#student-body .ee-stu-legend i.is-orange { background: #f97316; }
#student-body .ee-stu-bar > span.is-red,
#student-body .ee-stu-legend i.is-red { background: #ef4444; }
#student-body .ee-stu-legend i.is-green { background: #10b981; }
#student-body .ee-stu-legend i.is-gold { background: #eab308; }

#student-body .ee-stu-bar {
    height: 0.55rem;
    border-radius: var(--ee-radius, 5px);
    background: #eef0f6;
    overflow: hidden;
}

#student-body .ee-stu-bar > span {
    display: block;
    height: 100%;
    border-radius: var(--ee-radius, 5px);
}

#student-body .ee-stu-subjects {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

#student-body .ee-stu-subject__top {
    display: flex;
    justify-content: space-between;
    font-size: 0.84rem;
    margin-bottom: 0.3rem;
    color: #1c1730;
}

#student-body .ee-stu-split {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 0.9rem;
}

#student-body .ee-stu-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(47, 43, 61, 0.06);
}

#student-body .ee-stu-row h3 {
    margin: 0;
    font-size: 0.92rem;
    font-weight: 600;
    color: #1c1730;
}

#student-body .ee-stu-row p {
    margin: 0.15rem 0 0;
    font-size: 0.78rem;
    color: #6d677c;
}

#student-body .ee-stu-score {
    text-align: right;
    flex-shrink: 0;
}

#student-body .ee-stu-score__pct {
    display: inline-block;
    min-width: 3rem;
    padding: 0.15rem 0.45rem;
    border-radius: var(--ee-radius, 5px);
    font-size: 0.78rem;
    font-weight: 700;
    background: #f4f6fb;
}

#student-body .ee-stu-score__pct.is-green { color: #047857; background: #e9fbf3; }
#student-body .ee-stu-score__pct.is-gold { color: #a16207; background: #fef9c3; }
#student-body .ee-stu-score__pct.is-orange { color: #c2410c; background: #ffedd5; }
#student-body .ee-stu-score__pct.is-red { color: #b91c1c; background: #fee2e2; }

#student-body .ee-stu-score a {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: #6d5efc;
}

@media (max-width: 1100px) {
    :is(#admin-body, #student-body) .ee-stu-stats,
    #student-body .ee-stu-split {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    :is(#admin-body, #student-body) .ee-stu-stats,
    #student-body .ee-stu-split {
        grid-template-columns: 1fr;
    }
}

#student-body .ee-series-head h1 {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 700;
    color: #1f1b2e;
}

#student-body .ee-series-head p {
    margin: 0.3rem 0 0;
    color: #6d677c;
}

#student-body .ee-series-banner {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 1rem 0;
    padding: 0;
    background: transparent;
    color: inherit;
}

#student-body .ee-series-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

#student-body .ee-series-stat,
#student-body .ee-series-resume {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.95rem 1rem;
    border-radius: var(--ee-radius, 5px);
    background: #fff;
    border: 1px solid rgba(47, 43, 61, 0.08);
    box-shadow: 0 8px 22px rgba(47, 43, 61, 0.05);
}

#student-body .ee-series-stat__icon {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: var(--ee-radius, 5px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    line-height: 1;
    font-size: 1rem;
}

#student-body .ee-series-stat__icon i {
    display: block;
    width: 1em;
    height: 1em;
    margin: 0;
    font-size: 1rem;
    line-height: 1;
    text-align: center;
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-style: normal;
}

#student-body .ee-series-stat__icon i::before {
    display: block;
    line-height: 1;
}

#student-body .ee-series-stat__icon.is-purple { background: #efeaff; color: #6d5efc; }
#student-body .ee-series-stat__icon.is-green { background: #e9fbf3; color: #10b981; }
#student-body .ee-series-stat__icon.is-orange { background: #fff4e8; color: #f59e0b; }
#student-body .ee-series-stat__icon.is-blue { background: #eaf2ff; color: #3b82f6; }

#student-body .ee-series-stat strong,
#student-body .ee-series-resume strong {
    display: block;
    font-size: 1.45rem;
    line-height: 1.15;
    color: #1c1730;
}

#student-body .ee-series-stat > div span,
#student-body .ee-series-resume p,
#student-body .ee-series-resume > div span {
    display: block;
    margin: 0;
    font-size: 0.78rem;
    color: #6d677c;
    opacity: 1;
}

#student-body .ee-series-resume strong {
    font-size: 0.95rem;
    margin-top: 0.1rem;
}
#student-body .ee-series-resume .ee-stu-btn { margin-left: auto; }
#student-body .ee-series-resume { margin: 1rem 0; }
#student-body .ee-mod-topic.is-progress i { color: #f59e0b; }
#student-body #ee-series-page .ee-practice-modules { width: 100%; }

#student-body .ee-series-search {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.85rem;
    padding: 0.45rem 0.55rem 0.45rem 0.9rem;
    border: 1px solid rgba(47, 43, 61, 0.1);
    border-radius: var(--ee-radius, 5px);
    background: #fff;
}

#student-body .ee-series-search .ee-stu-btn {
    width: auto;
    min-width: 5.5rem;
    flex: 0 0 auto;
}

#student-body .ee-series-search i { color: #8b849c; }

#student-body .ee-series-search input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    outline: none;
}

#student-body .ee-series-clear {
    border: 0;
    background: transparent;
    color: #5646e6;
    font-weight: 600;
}

#student-body .ee-series-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

#student-body .ee-series-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    flex: 1;
}

#student-body .ee-series-chip,
#student-body .ee-series-views button {
    border: 1px solid rgba(47, 43, 61, 0.1);
    background: #fff;
    color: #3f3a4f;
    border-radius: var(--ee-radius, 5px);
    padding: 0.35rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 600;
}

#student-body .ee-series-chip.is-on,
#student-body .ee-series-views button.is-on {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

#student-body .ee-series-sort {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.82rem;
    color: #6d677c;
}

#student-body .ee-series-sort select {
    border: 1px solid rgba(47, 43, 61, 0.1);
    border-radius: var(--ee-radius, 5px);
    padding: 0.35rem 0.5rem;
    background: #fff;
}

#student-body .ee-series-views { display: flex; gap: 0.3rem; }

#student-body .ee-series-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.9rem;
}

#student-body .ee-series-grid.is-list { grid-template-columns: 1fr; }

#student-body .ee-series-card {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1rem 1.05rem;
    border-radius: var(--ee-radius, 5px);
    background: #fff;
    border: 1px solid rgba(47, 43, 61, 0.08);
    box-shadow: 0 8px 22px rgba(47, 43, 61, 0.05);
    position: relative;
    overflow: hidden;
    --ee-card-accent: var(--ee-card-line-1, #3b82f6);
}

#student-body .ee-series-card::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: var(--ee-card-accent);
    pointer-events: none;
    z-index: 4;
}

#student-body .ee-series-card:nth-child(8n+1) { --ee-card-accent: var(--ee-card-line-1, #3b82f6); }
#student-body .ee-series-card:nth-child(8n+2) { --ee-card-accent: var(--ee-card-line-2, #f59e0b); }
#student-body .ee-series-card:nth-child(8n+3) { --ee-card-accent: var(--ee-card-line-3, #10b981); }
#student-body .ee-series-card:nth-child(8n+4) { --ee-card-accent: var(--ee-card-line-4, #8b5cf6); }
#student-body .ee-series-card:nth-child(8n+5) { --ee-card-accent: var(--ee-card-line-5, #ef4444); }
#student-body .ee-series-card:nth-child(8n+6) { --ee-card-accent: var(--ee-card-line-6, #06b6d4); }
#student-body .ee-series-card:nth-child(8n+7) { --ee-card-accent: var(--ee-card-line-7, #ec4899); }
#student-body .ee-series-card:nth-child(8n) { --ee-card-accent: var(--ee-card-line-8, #84cc16); }

#student-body .ee-series-card h3 {
    margin: 0;
    font-size: 1.05rem;
    color: #1f1b2e;
}

#student-body .ee-series-card p,
#student-body .ee-series-note {
    margin: 0;
    color: #6d677c;
    font-size: 0.86rem;
}

#student-body .ee-series-card-top,
#student-body .ee-series-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
}

#student-body .ee-series-meta {
    margin: 0;
    padding: 0;
    list-style: none;
    color: #6d677c;
    font-size: 0.8rem;
}

#student-body .ee-series-meta i,
#student-body .ee-series-action i {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-style: normal;
}

#student-body .ee-series-meta i {
    color: #6d5efc;
    margin-right: 0.2rem;
}

#student-body .ee-series-tag,
#student-body .ee-series-badge {
    border-radius: var(--ee-radius, 5px);
    padding: 0.15rem 0.55rem;
    font-size: 0.72rem;
    font-weight: 700;
}

#student-body .ee-series-tag { background: #efeaff; color: #5646e6; }
#student-body .ee-series-badge.is-progress { background: #ffedd5; color: #c2410c; }
#student-body .ee-series-badge.is-done { background: #e9fbf3; color: #047857; }

#student-body .ee-series-bar {
    height: 6px;
    border-radius: var(--ee-radius, 5px);
    background: #f1e4d6;
    overflow: hidden;
}

#student-body .ee-series-bar span {
    display: block;
    height: 100%;
    background: #f59e0b;
}

#student-body .ee-series-action {
    align-self: flex-end;
    width: auto;
    margin-top: auto;
}

#student-body .ee-exam-page-loading {
    min-height: calc(100vh - 8rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    text-align: center;
    padding: 1rem;
}

#student-body .ee-result {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#student-body .ee-result-hero,
#student-body .ee-result-stat {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(47, 43, 61, 0.08);
    border-radius: var(--ee-radius, 5px);
    box-shadow: 0 8px 22px rgba(47, 43, 61, 0.05);
    --ee-card-accent: var(--ee-card-line-1, #3b82f6);
}

#student-body .ee-result-hero::before,
#student-body .ee-result-stat::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: var(--ee-card-accent);
    pointer-events: none;
    z-index: 4;
}

#student-body .ee-result-hero {
    text-align: center;
    padding: 2rem 1.5rem 1.75rem;
}

#student-body .ee-result-kicker {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #6d677c;
}

#student-body .ee-result-hero h1 {
    margin: 0.45rem 0 0;
    font-size: 1.55rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: #1c1730;
}

#student-body .ee-result-score {
    margin: 0.9rem 0 0;
    font-size: 3.25rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

#student-body .ee-result-score.is-high { color: #047857; }
#student-body .ee-result-score.is-mid { color: #b45309; }
#student-body .ee-result-score.is-low { color: #ea580c; }
#student-body .ee-result-score.is-fail { color: #dc2626; }

#student-body .ee-result-marks,
#student-body .ee-result-time {
    margin: 0.55rem 0 0;
    color: #6d677c;
    font-size: 0.95rem;
}

#student-body .ee-result-time:empty {
    display: none;
}

#student-body .ee-result-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.85rem;
}

#student-body .ee-result-stats .ee-result-stat:nth-child(4n+1) { --ee-card-accent: var(--ee-card-line-1, #3b82f6); }
#student-body .ee-result-stats .ee-result-stat:nth-child(4n+2) { --ee-card-accent: var(--ee-card-line-2, #f59e0b); }
#student-body .ee-result-stats .ee-result-stat:nth-child(4n+3) { --ee-card-accent: var(--ee-card-line-3, #10b981); }
#student-body .ee-result-stats .ee-result-stat:nth-child(4n) { --ee-card-accent: var(--ee-card-line-4, #8b5cf6); }

#student-body .ee-result-stat {
    padding: 1.05rem 0.9rem 1rem;
    text-align: center;
}

#student-body .ee-result-stat span {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6d677c;
}

#student-body .ee-result-stat strong {
    display: block;
    margin-top: 0.35rem;
    font-size: 1.65rem;
    font-weight: 800;
    color: #1c1730;
    font-variant-numeric: tabular-nums;
}

#student-body .ee-result-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

#student-body .ee-result-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
}

#student-body .ee-result-panel,
#student-body .ee-result-calc {
    background: #ffffff;
    border: 1px solid rgba(47, 43, 61, 0.08);
    border-radius: var(--ee-radius, 5px);
    box-shadow: 0 8px 22px rgba(47, 43, 61, 0.05);
    padding: 1rem 1.1rem 1.05rem;
}

#student-body .ee-result-panel h2,
#student-body .ee-result-calc h2 {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6d677c;
}

#student-body .ee-result-calc h2 {
    margin-bottom: 0.7rem;
}

#student-body .ee-result-panel > summary {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.55rem;
    width: 100%;
    margin: 0 0 0.7rem;
    padding: 0;
    list-style: none;
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6d677c;
}

#student-body .ee-result-panel > summary::-webkit-details-marker {
    display: none;
}

#student-body .ee-result-panel > summary::marker {
    content: "";
}

#student-body .ee-result-panel > summary::after {
    content: "";
    flex: 0 0 auto;
    width: 0.5rem;
    height: 0.5rem;
    margin-top: 0.15rem;
    border-right: 2px solid #1c1730;
    border-bottom: 2px solid #1c1730;
    transform: rotate(-135deg);
}

#student-body .ee-result-panel:not([open]) > summary {
    margin-bottom: 0;
}

#student-body .ee-result-panel:not([open]) > summary::after {
    margin-top: -0.15rem;
    transform: rotate(45deg);
}

#student-body .ee-result-panel dl {
    display: grid;
    gap: 0.45rem;
    margin: 0;
}

#student-body .ee-result-panel dl div {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    font-size: 0.92rem;
}

#student-body .ee-result-panel dt { color: #6d677c; }
#student-body .ee-result-panel dd {
    margin: 0;
    font-weight: 600;
    color: #1c1730;
    text-align: right;
}

#student-body .ee-result-calc p {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin: 0.35rem 0;
    font-size: 0.95rem;
    color: #3f3a4d;
    font-variant-numeric: tabular-nums;
}

#student-body .ee-result-calc strong { color: #1c1730; }

#student-body .ee-result-calc-total {
    margin-top: 0.7rem !important;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(47, 43, 61, 0.1);
    font-size: 1.05rem !important;
    font-weight: 700;
}

@media (max-width: 720px) {
    #student-body .ee-result-stats { grid-template-columns: 1fr 1fr; }
    #student-body .ee-result-panels { grid-template-columns: 1fr; }
}

#student-body .ee-result-review {
    background: #ffffff;
    border: 1px solid rgba(47, 43, 61, 0.08);
    border-radius: var(--ee-radius, 5px);
    padding: 1.1rem 1rem 0.4rem;
}

#student-body .ee-result-review-head h2 {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #6d677c;
}

#student-body .ee-result-review-head p {
    margin: 0.4rem 0 0.85rem;
    color: #6d677c;
    font-size: 0.9rem;
}

#student-body .ee-result-review-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

#student-body .ee-result-review-filters button {
    border: 1px solid rgba(47, 43, 61, 0.12);
    background: #f8f7fb;
    color: #3a3550;
    border-radius: 999px;
    padding: 0.35rem 0.8rem;
    font-size: 0.8rem;
    font-weight: 600;
}

#student-body .ee-result-review-filters button.is-on {
    background: #1c1730;
    border-color: #1c1730;
    color: #fff;
}

#student-body .ee-result-q {
    border-top: 1px solid rgba(47, 43, 61, 0.08);
    padding: 1rem 0 1.05rem;
}

#student-body .ee-result-q-head {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.55rem;
}

#student-body .ee-result-q-num {
    width: 1.7rem;
    height: 1.7rem;
    border-radius: 999px;
    background: #f1eff6;
    color: #1c1730;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    font-weight: 700;
}

#student-body .ee-result-q-status {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    border-radius: 999px;
    padding: 0.2rem 0.55rem;
}

#student-body .ee-result-q-status.is-correct { background: #d1fae5; color: #047857; }
#student-body .ee-result-q-status.is-wrong { background: #fee2e2; color: #b91c1c; }
#student-body .ee-result-q-status.is-skipped { background: #f3f4f6; color: #4b5563; }

#student-body .ee-result-q-text {
    margin: 0 0 0.7rem;
    font-weight: 600;
    color: #1c1730;
    line-height: 1.45;
}

#student-body .ee-result-opts { display: grid; gap: 0.4rem; }

#student-body .ee-result-opt {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem 0.6rem;
    padding: 0.55rem 0.7rem;
    border: 1px solid rgba(47, 43, 61, 0.1);
    border-radius: 8px;
    background: #fff;
}

#student-body .ee-result-opt.is-correct {
    border-color: #059669;
    background: #ecfdf5;
}

#student-body .ee-result-opt.is-wrong {
    border-color: #dc2626;
    background: #fef2f2;
}

#student-body .ee-result-opt-label {
    font-weight: 700;
    color: #4b5563;
    min-width: 1.1rem;
}

#student-body .ee-result-opt-text {
    flex: 1 1 12rem;
    color: #1c1730;
}

#student-body .ee-result-opt-tag {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #b91c1c;
}

#student-body .ee-result-opt-tag.is-right { color: #047857; }

#student-body .ee-result-why,
#student-body .ee-result-explain,
#student-body .ee-result-answer-line {
    margin: 0.65rem 0 0;
    font-size: 0.9rem;
    color: #3a3550;
}

#student-body .ee-result-explain {
    padding: 0.65rem 0.75rem;
    background: #f8f7fb;
    border-radius: 8px;
}

#student-body .ee-series-empty {
    grid-column: 1 / -1;
    padding: 2rem 1rem;
    text-align: center;
    color: #6d677c;
}

@media (max-width: 860px) {
    #student-body .ee-series-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    #student-body .ee-series-stats { grid-template-columns: 1fr 1fr; }
    #student-body .ee-series-resume { border-left: 0; padding-left: 0; }
}

@media (max-width: 640px) {
    #student-body .ee-series-stats,
    #student-body .ee-series-grid { grid-template-columns: 1fr; display: grid; }
    #student-body .ee-series-search { flex-wrap: wrap; }
    #student-body .ee-series-search input { flex: 1 1 12rem; }
}

#student-body #ee-series-page .ee-mod-topics {
    grid-template-columns: 1fr 1fr;
}

@media (max-width: 480px) {
    #student-body #ee-series-page .ee-mod-topics {
        grid-template-columns: 1fr;
    }
}

#student-body .ee-perf-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 1.25rem;
}

@media (max-width: 720px) {
    #student-body .ee-perf-stats { grid-template-columns: 1fr; }
}

/* 2px left accent (full height) + cycling colors on admin and student cards */
:is(#admin-body, #student-body) {
    --ee-card-line-1: #3b82f6;
    --ee-card-line-2: #f59e0b;
    --ee-card-line-3: #10b981;
    --ee-card-line-4: #8b5cf6;
    --ee-card-line-5: #ef4444;
    --ee-card-line-6: #06b6d4;
    --ee-card-line-7: #ec4899;
    --ee-card-line-8: #84cc16;
}

html.dark :is(#admin-body, #student-body) {
    --ee-card-line-1: #60a5fa;
    --ee-card-line-2: #fbbf24;
    --ee-card-line-3: #34d399;
    --ee-card-line-4: #a78bfa;
    --ee-card-line-5: #f87171;
    --ee-card-line-6: #22d3ee;
    --ee-card-line-7: #f472b6;
    --ee-card-line-8: #a3e635;
}

:is(#admin-body, #student-body) :is(
    .student-stat-card,
    .ee-panel-card,
    .student-panel-card,
    .ee-stu-stat,
    .ee-stu-card,
    .ee-stu-picks,
    .ee-ref-event,
    .admin-list-card,
    .um-filter-bar,
    .ee-series-stat,
    .ee-perf-stat
) {
    --ee-card-accent: var(--ee-card-line-1);
    position: relative;
    overflow: hidden;
    border-left-width: 1px !important;
    border-left-style: solid !important;
    border-left-color: var(--ee-ref-line, rgba(47, 43, 61, 0.08)) !important;
}

:is(#admin-body, #student-body) :is(
    .student-stat-card,
    .ee-panel-card,
    .student-panel-card,
    .ee-stu-stat,
    .ee-stu-card,
    .ee-stu-picks,
    .ee-ref-event,
    .admin-list-card,
    .um-filter-bar,
    .ee-series-stat,
    .ee-perf-stat
)::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: var(--ee-card-accent);
    pointer-events: none;
    z-index: 4;
}

:is(#admin-body, #student-body) :is(.student-stat-card, .ee-panel-card, .student-panel-card, .ee-stu-stat, .ee-stu-card, .ee-stu-picks, .ee-ref-event, .admin-list-card, .um-filter-bar, .ee-series-stat, .ee-perf-stat):nth-child(8n+1) { --ee-card-accent: var(--ee-card-line-1); }
:is(#admin-body, #student-body) :is(.student-stat-card, .ee-panel-card, .student-panel-card, .ee-stu-stat, .ee-stu-card, .ee-stu-picks, .ee-ref-event, .admin-list-card, .um-filter-bar, .ee-series-stat, .ee-perf-stat):nth-child(8n+2) { --ee-card-accent: var(--ee-card-line-2); }
:is(#admin-body, #student-body) :is(.student-stat-card, .ee-panel-card, .student-panel-card, .ee-stu-stat, .ee-stu-card, .ee-stu-picks, .ee-ref-event, .admin-list-card, .um-filter-bar, .ee-series-stat, .ee-perf-stat):nth-child(8n+3) { --ee-card-accent: var(--ee-card-line-3); }
:is(#admin-body, #student-body) :is(.student-stat-card, .ee-panel-card, .student-panel-card, .ee-stu-stat, .ee-stu-card, .ee-stu-picks, .ee-ref-event, .admin-list-card, .um-filter-bar, .ee-series-stat, .ee-perf-stat):nth-child(8n+4) { --ee-card-accent: var(--ee-card-line-4); }
:is(#admin-body, #student-body) :is(.student-stat-card, .ee-panel-card, .student-panel-card, .ee-stu-stat, .ee-stu-card, .ee-stu-picks, .ee-ref-event, .admin-list-card, .um-filter-bar, .ee-series-stat, .ee-perf-stat):nth-child(8n+5) { --ee-card-accent: var(--ee-card-line-5); }
:is(#admin-body, #student-body) :is(.student-stat-card, .ee-panel-card, .student-panel-card, .ee-stu-stat, .ee-stu-card, .ee-stu-picks, .ee-ref-event, .admin-list-card, .um-filter-bar, .ee-series-stat, .ee-perf-stat):nth-child(8n+6) { --ee-card-accent: var(--ee-card-line-6); }
:is(#admin-body, #student-body) :is(.student-stat-card, .ee-panel-card, .student-panel-card, .ee-stu-stat, .ee-stu-card, .ee-stu-picks, .ee-ref-event, .admin-list-card, .um-filter-bar, .ee-series-stat, .ee-perf-stat):nth-child(8n+7) { --ee-card-accent: var(--ee-card-line-7); }
:is(#admin-body, #student-body) :is(.student-stat-card, .ee-panel-card, .student-panel-card, .ee-stu-stat, .ee-stu-card, .ee-stu-picks, .ee-ref-event, .admin-list-card, .um-filter-bar, .ee-series-stat, .ee-perf-stat):nth-child(8n) { --ee-card-accent: var(--ee-card-line-8); }

:is(#admin-body, #student-body) .student-stat-card-1,
:is(#admin-body, #student-body) .ee-stu-stat:has(.is-purple) { --ee-card-accent: var(--ee-card-line-1); }
:is(#admin-body, #student-body) .student-stat-card-2,
:is(#admin-body, #student-body) .ee-stu-stat:has(.is-orange) { --ee-card-accent: var(--ee-card-line-2); }
:is(#admin-body, #student-body) .student-stat-card-3,
:is(#admin-body, #student-body) .ee-stu-stat:has(.is-green) { --ee-card-accent: var(--ee-card-line-3); }
:is(#admin-body, #student-body) .student-stat-card-4,
:is(#admin-body, #student-body) .ee-stu-stat:has(.is-blue) { --ee-card-accent: var(--ee-card-line-4); }

/* Same Noto Sans everywhere; left menu + table cells +1px */
:is(#admin-body, #student-body) :is(#admin-sidebar, #student-sidebar) :is(.sidebar-link, .sidebar-submenu-link, .sidebar-text, .sidebar-user-block) {
    font-family: var(--ee-font-sans);
}

:is(#admin-body, #student-body) :is(#admin-sidebar, #student-sidebar) :is(.sidebar-link, .ee-sidebar-nav-toggle) {
    font-size: var(--ee-font-size-menu) !important;
}

:is(#admin-body, #student-body) :is(#admin-sidebar, #student-sidebar) .sidebar-submenu-link {
    font-size: var(--ee-font-size-menu-sub) !important;
}

:is(#admin-body, #student-body) .student-content table,
:is(#admin-body, #student-body) .student-content table th,
:is(#admin-body, #student-body) .student-content table td,
:is(#admin-body, #student-body) .dataTables_wrapper {
    font-family: var(--ee-font-sans);
}

:is(#admin-body, #student-body) .student-content table tbody td,
:is(#admin-body, #student-body) .student-content table tbody th {
    font-size: var(--ee-font-size-table) !important;
}

:is(#admin-body, #student-body) .student-content table thead th {
    font-size: var(--ee-font-size-table-head) !important;
}

/* One corner radius on every panel box and control. */
:is(#admin-body, #student-body) :is(.student-content, .ee-panel-page-wrap, .ee-panel-topnav, .student-topnav, #admin-sidebar, #student-sidebar) :where(
    div,
    article,
    section,
    aside,
    form,
    button,
    a,
    input,
    select,
    textarea,
    span,
    li,
    label,
    table,
    th,
    td,
    ul
):not(img) {
    border-radius: var(--ee-radius, 5px) !important;
}

a,
a:hover,
a:focus,
a:active,
a:visited {
    text-decoration: none;
}




