:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --success: #16a34a;
    --danger: #dc2626;
    --warning: #f59e0b;
    --info: #0891b2;
    --background: #f6f8fc;
    --surface: #fff;
    --text: #0f172a;
    --muted: #64748b;
    --border: #e2e8f0;
    --sidebar: #0f172a;
    --sidebar-muted: #94a3b8;
    --sidebar-width: 17rem;
    --radius: 1rem;
    --shadow: 0 0.75rem 2rem rgba(15, 23, 42, 0.06);
}

* { box-sizing: border-box; }
html { min-width: 320px; }
body {
    margin: 0;
    color: var(--text);
    background: var(--background);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.skip-link {
    position: fixed;
    z-index: 2000;
    top: -4rem;
    left: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    color: #fff;
    background: var(--primary);
}
.skip-link:focus { top: 1rem; }
.app-shell { min-height: 100vh; }

.app-sidebar {
    --bs-offcanvas-width: var(--sidebar-width);
    color: #fff;
    background: var(--sidebar);
    border: 0;
}
.app-sidebar-header {
    min-height: 5.25rem;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}
.brand-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    text-decoration: none;
}
.brand-link:hover { color: #fff; }
.brand-link > span:last-child { display: grid; line-height: 1.2; }
.brand-link small { margin-top: 0.2rem; color: var(--sidebar-muted); font-size: 0.72rem; }
.brand-mark {
    display: grid;
    flex: 0 0 2.5rem;
    height: 2.5rem;
    place-items: center;
    border-radius: 0.75rem;
    background: var(--primary);
    font-weight: 800;
}
.app-sidebar-body {
    display: flex;
    min-height: calc(100vh - 5.25rem);
    flex-direction: column;
    padding: 1.25rem 0.85rem;
}
.app-sidebar-body nav { flex: 1; }
.sidebar-label {
    margin: 0 0.65rem 0.65rem;
    color: var(--sidebar-muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}
.app-sidebar .nav-link {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    gap: 0.8rem;
    padding: 0.65rem 0.8rem;
    border-radius: 0.65rem;
    color: #cbd5e1;
    font-size: 0.9rem;
    font-weight: 650;
}
.app-sidebar a.nav-link:hover { color: #fff; background: rgba(148, 163, 184, 0.1); }
.app-sidebar .nav-link.active { color: #fff; background: var(--primary); }
.app-sidebar .nav-link i { width: 1.1rem; text-align: center; }
.nav-link-disabled { cursor: not-allowed; opacity: 0.55; }
.soon-dot { width: 0.38rem; height: 0.38rem; margin-left: auto; border-radius: 50%; background: #475569; }

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-top: 1rem;
    padding: 0.85rem 0.65rem 0;
    border-top: 1px solid rgba(148, 163, 184, 0.16);
}
.user-avatar {
    display: grid;
    flex: 0 0 2.35rem;
    height: 2.35rem;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    font-size: 0.78rem;
    font-weight: 800;
}
.sidebar-user-copy,
.navbar-user > span:last-child { display: grid; min-width: 0; line-height: 1.2; }
.sidebar-user-copy { flex: 1; }
.sidebar-user-copy strong,
.navbar-user strong { overflow: hidden; font-size: 0.82rem; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-user-copy small { color: var(--sidebar-muted); font-size: 0.7rem; }
.sidebar-logout {
    display: grid;
    width: 2rem;
    height: 2rem;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 0.5rem;
    color: #cbd5e1;
    background: transparent;
}
.sidebar-logout:hover,
.sidebar-logout:focus-visible { color: #fff; background: rgba(220, 38, 38, 0.22); }

.app-main { display: flex; min-height: 100vh; flex-direction: column; }
.app-navbar {
    position: sticky;
    z-index: 1020;
    top: 0;
    display: flex;
    min-height: 5.25rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
}
.sidebar-toggle {
    display: grid;
    width: 2.65rem;
    height: 2.65rem;
    padding: 0;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 0.65rem;
    background: #fff;
    font-size: 1.35rem;
}
.navbar-eyebrow,
.section-eyebrow {
    color: var(--primary);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.navbar-title { font-size: clamp(1.05rem, 3vw, 1.35rem); font-weight: 800; }
.navbar-user { align-items: center; gap: 0.65rem; }
.navbar-user small { color: var(--muted); font-size: 0.7rem; }
.user-avatar-small { flex-basis: 2.15rem; height: 2.15rem; }
.app-content {
    width: 100%;
    max-width: 100rem;
    flex: 1;
    margin-inline: auto;
    padding: 1rem;
    outline: none;
}
.app-alert {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    border: 0;
    border-radius: 0.8rem;
    box-shadow: var(--shadow);
}

.welcome-panel {
    position: relative;
    display: flex;
    min-height: 11rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    overflow: hidden;
    padding: clamp(1.35rem, 4vw, 2.2rem);
    border-radius: var(--radius);
    color: #fff;
    background: linear-gradient(135deg, #1d4ed8, #2563eb 58%, #0891b2);
    box-shadow: var(--shadow);
}
.welcome-panel::after {
    position: absolute;
    width: 13rem;
    height: 13rem;
    border: 2rem solid rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    content: "";
    inset: auto -4rem -6rem auto;
}
.welcome-panel > * { position: relative; z-index: 1; }
.welcome-panel .section-eyebrow { margin-bottom: 0.45rem; color: #bfdbfe; }
.welcome-panel h2 { margin: 0; font-size: clamp(1.45rem, 5vw, 2.2rem); font-weight: 800; }
.welcome-panel p:last-child { max-width: 40rem; margin: 0.65rem 0 0; color: #dbeafe; }
.welcome-icon {
    display: none;
    width: 5rem;
    height: 5rem;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 1.4rem;
    background: rgba(255, 255, 255, 0.12);
    font-size: 2.4rem;
}

.stat-card,
.content-card { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.stat-card { display: flex; min-height: 8.5rem; align-items: flex-start; gap: 1rem; padding: 1.2rem; }
.stat-icon { display: grid; flex: 0 0 2.8rem; height: 2.8rem; place-items: center; border-radius: 0.8rem; font-size: 1.2rem; }
.stat-icon-primary { color: #1d4ed8; background: #dbeafe; }
.stat-icon-success { color: #15803d; background: #dcfce7; }
.stat-icon-warning { color: #b45309; background: #fef3c7; }
.stat-icon-info { color: #0e7490; background: #cffafe; }
.stat-label,
.stat-note,
.stat-value { margin: 0; }
.stat-label { color: var(--muted); font-size: 0.8rem; font-weight: 700; }
.stat-value { margin-top: 0.2rem; font-size: 1.8rem; font-weight: 850; line-height: 1.1; }
.stat-note { margin-top: 0.45rem; color: #94a3b8; font-size: 0.7rem; }
.content-card { padding: clamp(1rem, 3vw, 1.35rem); }
.content-card-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.content-card-header p,
.content-card-header h2 { margin: 0; }
.content-card-header h2 { margin-top: 0.2rem; font-size: 1.05rem; font-weight: 800; }

.empty-state {
    display: grid;
    min-height: 13rem;
    place-items: center;
    align-content: center;
    padding: 1.5rem 1rem;
    border: 1px dashed #cbd5e1;
    border-radius: 0.85rem;
    text-align: center;
}
.empty-state-icon { display: grid; width: 3rem; height: 3rem; place-items: center; border-radius: 50%; color: var(--primary); background: #eff6ff; font-size: 1.3rem; }
.empty-state h3 { margin: 0.85rem 0 0; font-size: 1rem; font-weight: 800; }
.empty-state p { max-width: 28rem; margin: 0.4rem 0 0; color: var(--muted); font-size: 0.85rem; }
.badge-revision { color: #9a3412; background: #ffedd5; }
.table-responsive { border-radius: 0.75rem; }
.table > :not(caption) > * > * { padding: 0.85rem 0.75rem; border-color: var(--border); vertical-align: middle; }
.app-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1rem; padding: 1rem; color: var(--muted); font-size: 0.75rem; }

.profile-summary {
    display: grid;
    place-items: center;
    align-content: center;
    min-height: 20rem;
    text-align: center;
}
.profile-summary h2 { margin: 1rem 0 0.2rem; font-size: 1.35rem; font-weight: 800; }
.profile-summary p { margin: 0 0 0.75rem; color: var(--muted); }
.profile-photo {
    display: grid;
    width: 7rem;
    height: 7rem;
    place-items: center;
    border: 0.35rem solid #eff6ff;
    border-radius: 50%;
    object-fit: cover;
}
.profile-photo-fallback {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    font-size: 2rem;
    font-weight: 800;
}
.profile-details { display: grid; margin: 0; }
.profile-details > div {
    display: grid;
    gap: 0.25rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--border);
}
.profile-details dt { color: var(--muted); font-size: 0.75rem; font-weight: 700; }
.profile-details dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.profile-actions { margin-top: 1.25rem; }
.form-card { max-width: 52rem; margin-inline: auto; }
.form-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.75rem; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.page-section-title { font-size: 1.35rem; font-weight: 800; }
.user-cell { display: flex; min-width: 14rem; align-items: center; gap: 0.7rem; }
.user-cell > span:last-child { display: grid; }
.user-cell strong { font-size: 0.88rem; }
.user-cell small { color: var(--muted); font-size: 0.72rem; }
.user-avatar-table { flex-basis: 2.25rem; height: 2.25rem; }
.table-actions { display: flex; align-items: center; gap: 0.35rem; }
.table-actions form { margin: 0; }
.temporary-password { display: inline-block; padding: 0.15rem 0.4rem; border-radius: 0.3rem; color: #713f12; background: rgba(255, 255, 255, 0.6); font-size: 0.9rem; user-select: all; }
.class-cell { display: flex; min-width: 17rem; align-items: center; gap: 0.75rem; }
.class-cell > span:last-child { display: grid; min-width: 0; }
.class-cell strong { overflow: hidden; max-width: 22rem; font-size: 0.88rem; text-overflow: ellipsis; white-space: nowrap; }
.class-cell small { color: var(--muted); font-size: 0.72rem; }
.class-cell img,
.class-thumbnail-fallback { width: 3.5rem; height: 2.5rem; flex: 0 0 3.5rem; border-radius: 0.55rem; object-fit: cover; }
.class-thumbnail-fallback { display: grid; place-items: center; color: var(--primary); background: #dbeafe; font-size: 1.15rem; }
.current-class-thumbnail { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 0.75rem; padding: 0.7rem; border: 1px solid var(--border); border-radius: 0.75rem; }
.current-class-thumbnail img { width: 6rem; height: 4rem; border-radius: 0.55rem; object-fit: cover; }
.current-class-thumbnail span { display: grid; }
.current-class-thumbnail small { color: var(--muted); font-size: 0.75rem; }
.class-hero { display: grid; gap: 1.25rem; }
.class-hero-image,
.class-hero-placeholder { width: 100%; min-height: 13rem; max-height: 22rem; border-radius: 0.8rem; object-fit: cover; }
.class-hero-placeholder { display: grid; place-items: center; color: var(--primary); background: linear-gradient(135deg, #dbeafe, #ecfeff); font-size: 4rem; }
.class-hero h2 { margin: 0; font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 850; }
.class-hero p:last-child { margin-bottom: 0; color: #334155; }
.class-slug { margin: 0.2rem 0 0.8rem; color: var(--muted); font-size: 0.8rem; }
.class-metric { display: grid; min-height: 7rem; place-items: center; align-content: center; text-align: center; }
.class-metric strong { font-size: clamp(1.4rem, 5vw, 2rem); }
.class-metric span { color: var(--muted); font-size: clamp(0.65rem, 2vw, 0.8rem); }
.speaker-picker { display: grid; gap: 0.65rem; max-height: 32rem; overflow-y: auto; }
.speaker-picker form { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.75rem; border: 1px solid var(--border); border-radius: 0.75rem; }
.speaker-picker form > div { display: grid; min-width: 0; }
.speaker-picker strong,
.speaker-picker small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.speaker-picker strong { font-size: 0.86rem; }
.speaker-picker small { color: var(--muted); font-size: 0.7rem; }
.small-empty-state { display: grid; min-height: 12rem; place-items: center; align-content: center; gap: 0.35rem; color: var(--muted); text-align: center; }
.small-empty-state i { color: var(--primary); font-size: 2rem; }
.small-empty-state strong { color: var(--text); }
.class-catalog { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: 1rem; }
.class-catalog-card { overflow: hidden; border: 1px solid var(--border); border-radius: 0.9rem; background: #fff; }
.class-catalog-cover { display: block; height: 9rem; text-decoration: none; }
.class-catalog-cover img { width: 100%; height: 100%; object-fit: cover; }
.class-catalog-cover span { display: grid; width: 100%; height: 100%; place-items: center; color: var(--primary); background: linear-gradient(135deg, #dbeafe, #ecfeff); font-size: 2.5rem; }
.class-catalog-body { padding: 1rem; }
.class-catalog-body h3 { margin: 0.65rem 0 0.35rem; font-size: 1rem; font-weight: 800; }
.class-catalog-body h3 a { color: var(--text); text-decoration: none; }
.class-catalog-body h3 a:hover { color: var(--primary); }
.class-catalog-body p { min-height: 2.55rem; margin: 0; color: var(--muted); font-size: 0.78rem; }
.class-catalog-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 0.8rem; margin-top: 0.8rem; color: var(--muted); font-size: 0.7rem; }
.dashboard-list { display: grid; }
.dashboard-list > a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; }
.dashboard-list > a:first-child { padding-top: 0; }
.dashboard-list > a:last-child { padding-bottom: 0; border-bottom: 0; }
.dashboard-list > a > span:first-child { display: grid; min-width: 0; }
.dashboard-list strong,
.dashboard-list small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-list strong { font-size: 0.86rem; }
.dashboard-list small { color: var(--muted); font-size: 0.7rem; }
.activity-feed { display: grid; gap: 0.85rem; }
.activity-feed > div { display: flex; gap: 0.65rem; }
.activity-dot { width: 0.55rem; height: 0.55rem; flex: 0 0 0.55rem; margin-top: 0.35rem; border: 2px solid #bfdbfe; border-radius: 50%; background: var(--primary); }
.activity-feed p { display: grid; margin: 0; color: #334155; font-size: 0.78rem; }
.activity-feed small { margin-top: 0.15rem; color: var(--muted); font-size: 0.68rem; }
.stage-notice { display: flex; align-items: center; gap: 0.6rem; padding: 0.8rem; border-radius: 0.7rem; color: #1e40af; background: #eff6ff; font-size: 0.78rem; }
.meeting-list { display: grid; gap: 0.75rem; }
.meeting-list article { display: flex; align-items: flex-start; gap: 0.8rem; padding: 1rem; border: 1px solid var(--border); border-radius: 0.8rem; }
.meeting-number { display: grid; width: 2.3rem; height: 2.3rem; flex: 0 0 2.3rem; place-items: center; border-radius: 0.65rem; color: #1d4ed8; background: #dbeafe; font-weight: 850; }
.meeting-list article > div { min-width: 0; flex: 1; }
.meeting-list h3 { margin: 0; font-size: 0.95rem; font-weight: 800; }
.meeting-list p { margin: 0.3rem 0; color: var(--muted); font-size: 0.78rem; }
.meeting-list small { color: var(--muted); font-size: 0.7rem; }
.meeting-list-manage article { align-items: center; }
.meeting-link { color: inherit; text-decoration: none; }
.meeting-link:hover article { border-color: #93c5fd; background: #f8fbff; }
.meeting-link article > .bi-chevron-right { align-self: center; color: var(--muted); }
.material-list { display: grid; gap: 0.75rem; }
.material-list article { display: flex; align-items: center; gap: 0.8rem; padding: 0.9rem; border: 1px solid var(--border); border-radius: 0.8rem; }
.material-list article > div:nth-child(2) { min-width: 0; flex: 1; }
.material-list h3 { margin: 0; font-size: 0.9rem; font-weight: 800; }
.material-list p { margin: 0.25rem 0; color: var(--muted); font-size: 0.75rem; }
.material-list small { color: var(--muted); font-size: 0.68rem; }
.material-icon { display: grid; width: 2.6rem; height: 2.6rem; flex: 0 0 2.6rem; place-items: center; border-radius: 0.7rem; color: var(--primary); background: #eff6ff; font-size: 1.2rem; }
.current-material-file { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.7rem; padding: 0.7rem; border: 1px solid var(--border); border-radius: 0.7rem; }
.current-material-file > i { color: var(--primary); font-size: 1.5rem; }
.current-material-file span { display: grid; }
.current-material-file small { color: var(--muted); }
.learning-materials { display: grid; gap: 1rem; }
.learning-materials article { padding: 1rem; border: 1px solid var(--border); border-radius: 0.9rem; }
.material-heading { display: flex; align-items: center; gap: 0.75rem; }
.material-heading small { color: var(--primary); font-size: 0.68rem; font-weight: 800; text-transform: uppercase; }
.material-heading h3 { margin: 0.1rem 0 0; font-size: 1rem; font-weight: 800; }
.material-text { margin: 1rem 0; color: #334155; font-size: 0.88rem; line-height: 1.7; }
.material-preview-image,
.material-preview-video { width: 100%; max-height: 32rem; margin-top: 1rem; border-radius: 0.75rem; object-fit: contain; background: #0f172a; }
.assignment-list { display: grid; gap: 0.75rem; }
.assignment-list article { display: flex; align-items: center; gap: 0.8rem; padding: 0.9rem; border: 1px solid var(--border); border-radius: 0.8rem; }
.assignment-list article > div { min-width: 0; flex: 1; }
.assignment-list h3 { margin: 0; font-size: 0.9rem; font-weight: 800; }
.assignment-list p { margin: 0.25rem 0; color: var(--muted); font-size: 0.75rem; }
.assignment-list small { color: var(--muted); font-size: 0.68rem; }
.assignment-icon { display: grid; width: 2.6rem; height: 2.6rem; flex: 0 0 2.6rem; place-items: center; border-radius: 0.7rem; color: #b45309; background: #fef3c7; font-size: 1.15rem; }
.assignment-icon.assignment-done { color: #15803d; background: #dcfce7; }
.assignment-instructions { color: #334155; font-size: 0.9rem; line-height: 1.75; }
.attachment-list { display: grid; gap: 0.6rem; }
.attachment-list > div,
.attachment-list > a { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; padding: 0.7rem; border: 1px solid var(--border); border-radius: 0.7rem; color: var(--text); text-decoration: none; }
.attachment-list > a:hover { border-color: #93c5fd; background: #f8fbff; }
.attachment-list span { display: grid; min-width: 0; flex: 1; }
.attachment-list span strong,
.attachment-list span small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attachment-list span strong { font-size: 0.8rem; }
.attachment-list span small { color: var(--muted); font-size: 0.68rem; }
.submission-history { display: grid; gap: 0.75rem; }
.submission-history article { padding: 0.8rem; border: 1px solid var(--border); border-radius: 0.75rem; background: #fff; }
.submission-history article.is-current { border-color: #93c5fd; background: #f8fbff; }
.submission-history small { display: block; margin-top: 0.25rem; color: var(--muted); font-size: 0.68rem; }
.submission-history p { display: -webkit-box; overflow: hidden; margin: 0.65rem 0; color: #334155; font-size: 0.78rem; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }
.submission-history a { overflow-wrap: anywhere; font-size: 0.78rem; text-decoration: none; }
.submission-answer-text { padding: 1rem; border: 1px solid var(--border); border-radius: 0.75rem; color: #334155; background: #f8fafc; line-height: 1.75; overflow-wrap: anywhere; }

@media (min-width: 576px) {
    .profile-details > div { grid-template-columns: 10rem 1fr; gap: 1rem; }
}

@media (min-width: 768px) {
    .class-hero { grid-template-columns: minmax(15rem, 28rem) 1fr; align-items: center; }
}

@media (min-width: 576px) { .welcome-icon { display: grid; } }
@media (min-width: 992px) {
    .app-sidebar { position: fixed; inset: 0 auto 0 0; width: var(--sidebar-width); transform: none !important; visibility: visible !important; }
    .app-main { margin-left: var(--sidebar-width); }
    .app-navbar,
    .app-content,
    .app-footer { padding-right: 1.5rem; padding-left: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* Keep announcement and notification copy readable on narrow screens. */
.dashboard-list a > span, .dashboard-list strong, .dashboard-list small { min-width: 0; overflow-wrap: anywhere; }
.app-navbar > div:first-child { min-width: 0; }
@media (max-width: 575px) { .app-navbar { gap: .5rem; } .navbar-title { overflow-wrap: anywhere; } }

.announcement-body { white-space: pre-wrap; overflow-wrap: anywhere; }
.activity-search { max-width: 22rem; }

/* Navigasi desktop dan mobile: sederhana, terang, dan berhierarki. */
:root { --sidebar-width: 17rem; }
.app-sidebar {
    color: #1e293b;
    background: #ffffff;
    border-right: 1px solid #e2e8f0;
    box-shadow: none;
}
.app-sidebar-header {
    min-height: 5.2rem;
    padding: 1.05rem 1.2rem;
    border-bottom: 1px solid #edf1f6;
}
.brand-link, .brand-link:hover { color: #172554; }
.brand-link { min-width: 0; gap: 0.75rem; }
.brand-link > span:last-child { min-width: 0; }
.brand-link strong { overflow: hidden; font-size: 0.96rem; letter-spacing: -0.02em; text-overflow: ellipsis; white-space: nowrap; }
.brand-link small { color: #64748b; font-size: 0.72rem; }
.brand-mark {
    flex-basis: 2.45rem;
    height: 2.45rem;
    color: #ffffff;
    background: #2457c5;
    border-radius: 0.65rem;
    box-shadow: none;
    font-size: 1.15rem;
}
.app-sidebar-body {
    min-height: calc(100vh - 5.2rem);
    padding: 1.15rem 0.8rem 1rem;
}
.sidebar-navigation { flex: 1; min-width: 0; }
.sidebar-group + .sidebar-group { margin-top: 1.15rem; }
.sidebar-label {
    margin: 0 0.75rem 0.35rem;
    color: #64748b;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.09em;
}
.sidebar-menu { display: grid; gap: 0.15rem; margin: 0; padding: 0; list-style: none; }
.sidebar-menu-link {
    position: relative;
    display: flex;
    min-height: 2.55rem;
    align-items: center;
    gap: 0.65rem;
    padding: 0.48rem 0.75rem;
    border-radius: 0.6rem;
    color: #334155;
    font-size: 0.86rem;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
    transition: color 150ms ease, background-color 150ms ease;
}
.sidebar-menu-link:hover { color: #1646a3; background: #f2f6fc; }
.sidebar-menu-link:focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
.sidebar-menu-link.active { color: #17449a; background: #eaf1ff; font-weight: 750; }
.sidebar-menu-link.active::before {
    position: absolute;
    top: 0.62rem;
    bottom: 0.62rem;
    left: 0;
    width: 0.2rem;
    border-radius: 0 0.2rem 0.2rem 0;
    background: #2563eb;
    content: '';
}
.sidebar-menu-icon { display: grid; width: 1.4rem; flex: 0 0 1.4rem; place-items: center; color: #64748b; font-size: 1rem; }
.sidebar-menu-link:hover .sidebar-menu-icon, .sidebar-menu-link.active .sidebar-menu-icon { color: #2457c5; }
.sidebar-user {
    margin-top: 1.1rem;
    padding: 0.9rem 0.55rem 0;
    border-top: 1px solid #e2e8f0;
}
.sidebar-user-copy strong { color: #1e293b; }
.sidebar-user-copy small { color: #64748b; }
.sidebar-user .user-avatar { background: #dceaff; color: #17449a; }
.sidebar-logout { color: #64748b; }
.sidebar-logout:hover, .sidebar-logout:focus-visible { color: #b42318; background: #fff1f0; }
@media (min-width: 992px) {
    .app-sidebar { display: flex; flex-direction: column; height: 100vh; overflow: hidden; }
    .app-sidebar.offcanvas-lg .app-sidebar-header { display: flex; flex: 0 0 auto; }
    .app-sidebar.offcanvas-lg .app-sidebar-body {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        padding: 1.15rem 0.8rem 1rem;
    }
}
@media (max-width: 991.98px) {
    .app-sidebar.offcanvas-lg {
        display: flex;
        flex-direction: column;
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
        overflow: hidden;
    }
    .app-sidebar-header { flex: 0 0 auto; }
    .app-sidebar-body {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior-y: contain;
        -webkit-overflow-scrolling: touch;
        padding-bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    }
}

.meeting-link-locked { display: block; color: #64748b; background: #f8fafc; border-radius: 14px; cursor: default; }
.meeting-link-locked h3 { color: #334155; }

.quiz-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:1rem}.quiz-card{border:1px solid #dbe5f0;border-radius:1rem;padding:1.15rem;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.04)}.quiz-card h3{font-size:1.05rem;font-weight:750;margin:.65rem 0 .3rem}.quiz-card p{color:#475569;margin:0 0 .55rem}.quiz-card small{color:#64748b}.quiz-kind{display:inline-block;color:#1d4ed8;background:#eaf1ff;border-radius:99px;padding:.25rem .6rem;font-size:.72rem;font-weight:800}.quiz-question-list{display:grid;gap:1rem}.quiz-question{border:1px solid #dbe5f0;border-radius:.9rem;padding:1rem;margin:0 0 1rem}.quiz-question h4,.quiz-question legend{font-size:1rem;font-weight:750;line-height:1.5}.quiz-question ol{margin:.75rem 0 0;padding-left:1.5rem}.quiz-option{display:flex;gap:.8rem;align-items:flex-start;padding:.7rem;border:1px solid #e2e8f0;border-radius:.65rem;margin-top:.55rem;cursor:pointer}.quiz-option:has(input:checked){border-color:#2563eb;background:#eff6ff}.quiz-option input{margin-top:.25rem}.quiz-result{text-align:center}.quiz-score{font-size:4rem;font-weight:850;color:#1d4ed8;line-height:1.2;margin:1.5rem 0 .5rem}

.upload-status{padding:1rem;border:1px solid #bfdbfe;border-radius:.85rem;background:#eff6ff;color:#1e3a8a}.upload-status .progress{height:.6rem;background:#dbeafe}.upload-status .progress-bar{background:#2563eb}.upload-status-error{border-color:#fecaca;background:#fef2f2;color:#991b1b}.upload-status-error .progress-bar{background:#dc2626}

.upload-status-error [data-upload-detail]{color:#991b1b!important;font-weight:650}
.external-exam-frame { display: block; width: 100%; min-height: 72vh; border: 1px solid #d7dde5; border-radius: .6rem; background: #fff; }
.external-exam-shell { position: relative; }
.external-exam-shell:fullscreen { overflow: auto; background: #fff; padding: 1rem; }
.exam-toolbar-actions { display: flex; align-items: center; gap: .4rem; }
.exam-toolbar-actions form { margin: 0; }
.exam-exit-confirm { position: absolute; inset: 0; z-index: 30; display: grid; place-items: center; padding: 1rem; background: rgba(15, 23, 42, .72); }
.exam-exit-confirm[hidden] { display: none; }
.exam-exit-confirm-card { width: min(100%, 29rem); padding: 1.4rem; border-radius: .85rem; background: #fff; color: #17233b; box-shadow: 0 18px 50px rgba(15, 23, 42, .25); }
.exam-exit-confirm-card h2 { font-size: 1.25rem; font-weight: 750; }
.exam-exit-confirm-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .5rem; margin-top: 1rem; }
.external-exam-overlay { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; overflow-y: auto; padding: 1rem; background: radial-gradient(circle at 15% 8%, #f87171 0, transparent 34%), linear-gradient(145deg, #b91c1c, #6f101b 80%); color: #17233b; text-align: left; }
.external-exam-overlay[hidden] { display: none; }
.external-exam-overlay::before { content: ''; position: fixed; inset: 0; pointer-events: none; opacity: .12; background: repeating-linear-gradient(135deg, #fff 0 1px, transparent 1px 20px); }
.exam-alert-card { position: relative; width: min(100%, 32rem); margin: auto; padding: clamp(1.25rem, 4vw, 2rem); overflow: hidden; border: 1px solid #ffffffb5; border-radius: 1.5rem; background: #f8faff; box-shadow: 0 1.5rem 4rem #38070e6b, inset 0 1px #fff; }
.exam-alert-card::after { content: ''; position: absolute; right: -4rem; bottom: -6rem; width: 14rem; height: 14rem; border-radius: 50%; background: #fca5a52c; pointer-events: none; }
.exam-alert-brand { display: flex; align-items: center; gap: .7rem; padding-bottom: 1.2rem; border-bottom: 1px solid #dce3ed; font-size: .88rem; font-weight: 800; line-height: 1.15; color: #0c244c; }
.exam-alert-brand img { width: 2.65rem; height: 2.65rem; flex: 0 0 auto; object-fit: contain; border-radius: 50%; background: #fff; }
.exam-alert-brand small { display: block; margin-top: .2rem; font-size: .69rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: #64748b; }
.exam-alert-icon { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; margin-top: 1.5rem; border-radius: 1rem; background: #fee2e2; color: #b91c1c; font-size: 2rem; font-weight: 900; box-shadow: inset 0 0 0 1px #fecaca; }
.exam-alert-kicker { margin: 1.3rem 0 .4rem; color: #b91c1c; font-size: .75rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.external-exam-overlay h2 { margin: 0; color: #102449; font-size: clamp(1.65rem, 5vw, 2.35rem); font-weight: 850; line-height: 1.15; }
.external-exam-overlay .exam-alert-message { margin: .85rem 0 0; color: #475569; font-size: clamp(.96rem, 2.7vw, 1.08rem); line-height: 1.6; }
.exam-alert-actions { position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; margin-top: 1.65rem; }
.exam-alert-actions [hidden] { display: none; }
.exam-alert-actions .btn { min-height: 2.8rem; border-radius: .75rem; font-weight: 750; }
.exam-alert-primary { border: 1px solid #245ce6; background: #245ce6; color: #fff; box-shadow: 0 .35rem .85rem #245ce634; }
.exam-alert-primary:hover, .exam-alert-primary:focus-visible { border-color: #1948b9; background: #1948b9; color: #fff; }
.exam-alert-warning .exam-alert-primary, .exam-alert-blocked .exam-alert-primary { border-color: #b91c1c; background: #b91c1c; box-shadow: 0 .35rem .85rem #b91c1c34; }
.exam-alert-warning .exam-alert-primary:hover, .exam-alert-blocked .exam-alert-primary:hover { background: #991b1b; }
.exam-alert-sound { border: 1px solid #cbd5e1; background: #fff; color: #334155; }
.exam-alert-sound:hover, .exam-alert-sound:focus-visible { border-color: #94a3b8; background: #f1f5f9; }
.exam-alert-footnote { position: relative; margin: 1.1rem 0 0; color: #64748b; font-size: .79rem; }
.exam-alert-stopped { background: radial-gradient(circle at 15% 8%, #b91c1c 0, transparent 38%), linear-gradient(145deg, #7f1d1d, #3f0b16 80%); }
.exam-alert-finished { background: radial-gradient(circle at 15% 8%, #a7d5fc 0, transparent 38%), linear-gradient(145deg, #102a55, #164d7a 80%); }
.exam-alert-finished .exam-alert-icon { background: #dcfce7; color: #15803d; border-color: #bbf7d0; }
.exam-alert-finished .exam-alert-kicker { color: #15803d; }
.native-exam-settings { max-width: 62rem; padding: clamp(1rem, 3vw, 2rem); }
.native-question-list { display: grid; gap: .65rem; }
.native-question-item { display: flex; align-items: center; justify-content: space-between; gap: .8rem; padding: .85rem 1rem; border: 1px solid #dbe4f1; border-radius: .8rem; }
.native-question-item small { display: block; color: #64748b; }
.native-editor { padding: clamp(1rem, 3vw, 1.6rem); }
.native-editor h4 { font-size: 1rem; font-weight: 800; }
.native-item-row { margin: .75rem 0; padding: .9rem; border: 1px solid #dbe4f1; border-radius: .85rem; background: #f8faff; }
.native-item-main { display: grid; grid-template-columns: minmax(0, 1fr) minmax(10rem, .5fr); gap: .8rem; align-items: center; }
.native-item-foot { display: flex; align-items: center; gap: .75rem; margin-top: .65rem; }
.native-item-foot .form-control { flex: 1 1 auto; min-width: 0; }
.native-editor-preview { display: block; width: auto; max-width: 8rem; max-height: 5rem; object-fit: contain; }
.native-exam-frame { overflow-y: auto; padding: clamp(1rem, 4vw, 2rem); background: #f5f7fc; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.native-exam-frame input, .native-exam-frame select, .native-exam-frame button { user-select: auto; -webkit-user-select: auto; }
.native-exam-progress, .native-exam-navigation { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.native-exam-progress { max-width: 47rem; margin: 0 auto 1rem; font-size: .88rem; color: #475569; }
.native-question-eyebrow { margin-bottom: .4rem; color: #1d4ed8; font-size: .78rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
#nativeQuestion { max-width: 47rem; min-height: 15rem; margin: 0 auto; padding: clamp(1rem, 4vw, 2rem); border-radius: 1.2rem; background: #fff; box-shadow: 0 .7rem 2rem #12264a16; }
.native-question-prompt { margin: 0 0 1rem; white-space: pre-wrap; font-size: clamp(1.15rem, 3vw, 1.55rem); font-weight: 750; line-height: 1.45; }
.native-question-image { display: block; max-width: 100%; max-height: 26rem; margin: .7rem 0; object-fit: contain; border-radius: .5rem; }
.native-answer-list { display: grid; gap: .7rem; margin-top: 1.2rem; }
.native-answer-option { display: flex; align-items: flex-start; gap: .7rem; padding: .9rem; border: 1px solid #d8e2f0; border-radius: .75rem; cursor: pointer; }
.native-answer-option:has(input:checked) { border-color: #2463eb; background: #eef4ff; }
.native-answer-option input { flex: 0 0 auto; margin-top: .25rem; width: 1.1rem; height: 1.1rem; }
.native-answer-option span { min-width: 0; white-space: pre-wrap; }
.native-category-statement { padding: .8rem; border: 1px solid #d8e2f0; border-radius: .75rem; }
.native-category-statement legend { float: none; width: auto; margin-bottom: .55rem; font-size: 1rem; font-weight: 650; }
.native-exam-navigation, .native-number-grid { max-width: 47rem; margin: 1rem auto 0; }
.native-number-grid { display: flex; flex-wrap: wrap; gap: .4rem; }
.native-number-grid button { min-width: 2.3rem; }
.native-number-grid .native-answered { border-color: #16a34a; color: #166534; background: #dcfce7; }
.native-number-grid .native-current { box-shadow: 0 0 0 2px #2563eb; }
.native-workbench { display: grid; grid-template-columns: minmax(18rem, 21rem) minmax(0, 1fr); align-items: start; gap: 1.25rem; margin-bottom: 1.5rem; }
.native-question-panel { position: sticky; top: 1rem; max-height: calc(100vh - 2rem); overflow: auto; padding: 1.15rem; }
.native-panel-top h3, .native-editor-heading h3 { font-weight: 850; color: #0d2147; }
.native-panel-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.native-question-search { margin-bottom: .8rem; }
.native-question-item { display: grid; gap: .7rem; padding: .75rem; background: #f8faff; }
.native-question-item[hidden], .native-list-pagination[hidden], .native-search-empty[hidden] { display: none; }
.native-question-item.is-selected { border-color: #2a5ee8; background: #eef4ff; box-shadow: inset 3px 0 #2459e8; }
.native-question-item-summary { display: flex; align-items: flex-start; gap: .65rem; min-width: 0; }
.native-question-item-summary > div { min-width: 0; }
.native-question-item-summary strong { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; font-size: .88rem; line-height: 1.4; }
.native-question-index { display: grid; flex: 0 0 2rem; width: 2rem; height: 2rem; place-items: center; border-radius: .65rem; color: #1d4ed8; background: #e7efff; font-weight: 850; }
.native-question-item-actions { display: flex; flex-wrap: wrap; gap: .35rem; }
.native-question-item-actions .btn { padding: .22rem .45rem; font-size: .75rem; }
.native-list-pagination { display: flex; align-items: center; justify-content: space-between; gap: .4rem; margin-top: 1rem; font-size: .78rem; color: #475569; }
.native-list-empty, .native-search-empty { margin: 1rem 0 0; color: #64748b; }
.native-editor { min-width: 0; }
.native-editor-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; padding-bottom: 1rem; border-bottom: 1px solid #dce5f3; }
.native-live-edit-note { line-height: 1.55; }
.native-live-confirm { display: flex; align-items: flex-start; gap: .6rem; margin-top: 1.3rem; padding: .9rem; border-radius: .75rem; background: #fff7e7; color: #6b3d00; font-weight: 650; }
.native-live-confirm input { flex: 0 0 auto; margin-top: .25rem; }
.native-editor-placeholder { display: grid; min-height: 21rem; align-content: center; justify-items: center; text-align: center; color: #64748b; }
.native-editor-placeholder h3 { color: #0d2147; font-weight: 850; }
.native-editor-placeholder p { max-width: 26rem; }
.native-placeholder-icon { display: grid; width: 3.5rem; height: 3.5rem; margin-bottom: 1rem; place-items: center; border-radius: 1rem; color: #1d4ed8; background: #e6efff; font-size: 1.8rem; }
.native-change-notice { display: flex; align-items: center; gap: .7rem; max-width: 47rem; margin: 0 auto 1rem; padding: .8rem 1rem; border: 1px solid #f6c95b; border-radius: .8rem; background: #fff6d8; color: #613c00; box-shadow: 0 .35rem 1rem #61460018; }
.native-change-notice[hidden] { display: none; }
.native-change-notice span { flex: 1 1 auto; }
.native-number-grid .native-needs-review { border-color: #d97706; background: #ffedd5; color: #92400e; }
@media (max-width: 900px) { .native-workbench { grid-template-columns: 1fr; } .native-question-panel { position: static; max-height: none; } }
@media (max-width: 640px) { .native-change-notice { flex-wrap: wrap; } .native-change-notice span { flex-basis: 100%; } .native-editor-heading { flex-wrap: wrap; } }
@media (max-width: 600px) { .native-item-main { grid-template-columns: 1fr; } .native-item-foot { flex-wrap: wrap; } .native-exam-frame { padding: .7rem; } .native-question-item { align-items: flex-start; flex-direction: column; } }
@media (max-width: 420px) { .external-exam-overlay { padding: .75rem; } .exam-alert-card { border-radius: 1.1rem; } .exam-alert-actions { flex-direction: column; align-items: stretch; } .exam-alert-actions .btn { width: 100%; } }
/* Ujian umum: halaman masuk dengan panggung navy dan formulir Soft UI. */
.public-entry-body { min-width: 320px; background: #e9eef5; }
.public-entry-page { display: grid; min-height: 100svh; place-items: center; padding: clamp(1rem, 3vw, 2.5rem); }
.public-entry-layout { display: grid; grid-template-columns: minmax(0, .93fr) minmax(0, 1.07fr); width: min(100%, 90rem); min-height: min(48rem, calc(100svh - 5rem)); overflow: hidden; border-radius: 1.7rem; background: #fbfcff; box-shadow: 0 1.7rem 3.7rem #14294b26, 0 .25rem .7rem #14294b12; }
.public-entry-intro { position: relative; display: flex; align-items: center; overflow: hidden; padding: clamp(2rem, 4.8vw, 4.6rem); color: #f8fbff; background: #081d42; isolation: isolate; }
.public-entry-intro::before { position: absolute; z-index: -1; top: 0; bottom: 0; left: 0; width: .42rem; background: #155dff; content: ''; }
.public-entry-intro-content { position: relative; z-index: 1; max-width: 33rem; }
.public-entry-brand { margin: 0 0 1.1rem; color: #b9c9ed; font-size: .75rem; font-weight: 750; letter-spacing: .27em; text-transform: uppercase; }
.public-entry-intro h1 { margin: 0; font-size: clamp(2.8rem, 5.3vw, 5rem); font-weight: 820; letter-spacing: -.055em; line-height: 1.04; }
.public-entry-subtitle { margin: 1rem 0 0; color: #c4d2ed; font-size: clamp(1.05rem, 1.8vw, 1.42rem); }
.public-entry-rules { display: grid; gap: 1.1rem; max-width: 31rem; margin-top: clamp(2.1rem, 5vw, 4rem); }
.public-entry-rules p { display: grid; grid-template-columns: 2.55rem 1fr; align-items: start; gap: 1rem; margin: 0; color: #d5def1; font-size: 1rem; line-height: 1.55; }
.public-entry-rules span { display: grid; width: 2.55rem; height: 2.55rem; place-items: center; border: 1px solid #456192; border-radius: 50%; color: #fff; background: #173560; font-size: .8rem; font-weight: 800; }
.public-entry-dial { position: absolute; z-index: -1; right: auto; bottom: -17rem; left: -12rem; width: 32rem; height: 32rem; border: 1px solid #245496; border-radius: 50%; box-shadow: inset 0 0 0 3rem #0d2a55, inset 0 0 0 3.1rem #285da5, inset 0 0 0 7rem #0b244a, inset 0 0 0 7.1rem #244e88; opacity: .62; }
.public-entry-form-panel { display: grid; place-items: center; min-width: 0; padding: clamp(2rem, 5vw, 4.7rem); }
.public-entry-form-content { width: min(100%, 34rem); }
.public-entry-form-eyebrow { margin: 0 0 .35rem; color: #2159cf; font-size: .72rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.public-entry-form-content h2 { margin: 0; color: #0d2147; font-size: clamp(1.6rem, 2.3vw, 2.15rem); font-weight: 780; letter-spacing: -.035em; }
.public-entry-form-intro { margin: .45rem 0 1.7rem; color: #617291; font-size: .9rem; line-height: 1.5; }
.public-entry-form-content .alert { margin-bottom: 1.3rem; border-radius: .75rem; }
.public-entry-field { margin-bottom: 1.35rem; }
.public-entry-field label { display: block; margin-bottom: .5rem; color: #12284d; font-size: .9rem; font-weight: 750; }
.public-entry-field label span { color: #c63443; }
.public-entry-field input, .public-entry-field select { display: block; width: 100%; min-height: 3.55rem; padding: .85rem 1.05rem; border: 1px solid #dce4f0; border-radius: .9rem; outline: none; color: #10274c; background: #edf2f9; box-shadow: inset .25rem .25rem .55rem #c9d3e2, inset -.28rem -.28rem .55rem #fff; font-size: 1rem; transition: border-color .15s ease, box-shadow .15s ease; }
.public-entry-field input::placeholder { color: #8192ad; opacity: 1; }
.public-entry-field select { cursor: pointer; }
.public-entry-field input:focus-visible, .public-entry-field select:focus-visible { border-color: #2563eb; box-shadow: 0 0 0 .2rem #2563eb29, inset .2rem .2rem .42rem #c9d3e2; }
.public-entry-field #access_token { letter-spacing: .27em; text-transform: uppercase; }
.public-entry-field small { display: block; margin-top: .45rem; color: #607493; font-size: .78rem; }
.public-entry-acknowledgement { display: flex; align-items: center; gap: .75rem; margin: 1.45rem 0 1.45rem; color: #1c3153; font-size: .91rem; cursor: pointer; }
.public-entry-acknowledgement input { width: 1.2rem; height: 1.2rem; flex: 0 0 1.2rem; margin: 0; accent-color: #1458e9; cursor: pointer; }
.public-entry-submit { display: flex; width: 100%; min-height: 3.65rem; align-items: center; justify-content: center; gap: .7rem; padding: .8rem 1.25rem; border: 1px solid #164cdc; border-radius: .9rem; color: #fff; background: #1358ef; box-shadow: .4rem .65rem 1.1rem #1748ae3b, inset 0 .1rem 0 #ffffff57; font-size: 1.02rem; font-weight: 780; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease; }
.public-entry-submit:hover:not(:disabled) { background: #0d4bdb; box-shadow: .25rem .45rem .85rem #1748ae42; transform: translateY(-1px); }
.public-entry-submit:active:not(:disabled) { transform: translateY(1px); box-shadow: inset .2rem .2rem .45rem #0c39ab; }
.public-entry-submit:focus-visible { outline: .2rem solid #86aaff; outline-offset: .18rem; }
.public-entry-submit:disabled { opacity: .62; cursor: not-allowed; }
.public-entry-js-note { margin: .75rem 0 0; color: #687a96; font-size: .78rem; text-align: center; }
.public-entry-js-note[hidden] { display: none; }
@media (max-width: 860px) {
  .public-entry-page { display: block; padding: 0; }
  .public-entry-layout { display: block; min-height: 100svh; border-radius: 0; box-shadow: none; }
  .public-entry-intro { min-height: 13.2rem; padding: 2rem 1.5rem 1.55rem; }
  .public-entry-intro::before { top: 0; right: 0; bottom: auto; width: auto; height: .32rem; }
  .public-entry-brand { margin-bottom: .65rem; font-size: .65rem; }
  .public-entry-intro h1 { font-size: clamp(2.45rem, 9vw, 3.5rem); }
  .public-entry-subtitle { margin-top: .45rem; font-size: 1rem; }
  .public-entry-rules { gap: .25rem; margin-top: 1.25rem; padding: .8rem .95rem; border-radius: .8rem; background: #061633; }
  .public-entry-rules p { display: block; font-size: .78rem; line-height: 1.45; }
  .public-entry-rules span { display: inline; width: auto; height: auto; margin-right: .35rem; border: 0; color: #83aaff; background: none; font-size: .75rem; }
  .public-entry-dial { display: none; }
  .public-entry-form-panel { display: block; padding: 1.45rem 1.35rem 2rem; }
  .public-entry-form-content { width: 100%; max-width: 36rem; margin: auto; }
  .public-entry-form-eyebrow, .public-entry-form-content h2, .public-entry-form-intro { display: none; }
  .public-entry-field { margin-bottom: 1rem; }
  .public-entry-field input, .public-entry-field select { min-height: 3.2rem; }
  .public-entry-acknowledgement { margin: 1.15rem 0; }
}
@media (max-width: 360px) { .public-entry-intro { padding-inline: 1.15rem; } .public-entry-form-panel { padding-inline: 1.15rem; } }
.public-exam-active { width: 100%; padding: 8px; }
.public-exam-shell { padding: 12px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.public-exam-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.public-exam-toolbar-details { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; min-width: 0; }
.public-exam-toolbar-title { font-weight: 700; }
.public-exam-toolbar-name { color: #667085; }
.public-exam-toolbar #examCountdown { white-space: nowrap; }
.public-exam-shell .external-exam-frame { min-height: calc(100dvh - 125px); }
.public-exam-status { display: flex; gap: 12px; align-items: center; padding: 8px 4px; }
.public-exam-status span { color: #667085; }
@media (max-width: 600px) {
  .public-exam-active { padding: 4px; }
  .public-exam-shell { padding: 8px; border-radius: 8px; }
  .public-exam-toolbar { align-items: flex-start; }
  .public-exam-toolbar-details { gap: 2px 10px; font-size: .88rem; }
  .public-exam-toolbar-title { width: 100%; }
  .public-exam-toolbar-name { display: none; }
  .public-exam-toolbar .btn { white-space: nowrap; }
  .public-exam-shell .external-exam-frame { min-height: calc(100dvh - 115px); }
}

/* The exam controls stay above the Form while the Form fills the remaining viewport. */
.public-exam-active { padding: 0; }

/* Status layar peserta Soal LMS: uses the same soft surfaces as the active exam. */
.native-status-card { position: relative; width: min(34rem, calc(100% - 2rem)); margin: clamp(1.25rem, 7vh, 4rem) auto; padding: clamp(1.4rem, 5vw, 2.25rem); overflow: hidden; border: 1px solid #fff; border-radius: 1.6rem; background: #f7faff; color: #0d2147; box-shadow: -.6rem -.6rem 1.5rem #ffffffd9, .9rem 1.1rem 2.1rem #aab9d28c; }
.native-status-card::before { content: ''; position: absolute; width: 14rem; height: 14rem; right: -7rem; top: -8rem; border-radius: 50%; background: radial-gradient(circle, #9fc3ff80, #b8d8ff00 72%); pointer-events: none; }
.native-status-card.native-status-blocked::before { background: radial-gradient(circle, #ffafae80, #ffd4d400 72%); }
.native-status-card > * { position: relative; }
.native-status-brand { display: flex; align-items: center; gap: .75rem; padding-bottom: 1.35rem; margin-bottom: 1.35rem; border-bottom: 1px solid #dce4f0; font-size: .88rem; font-weight: 800; line-height: 1.15; }
.native-status-brand img { width: 2.7rem; height: 2.7rem; object-fit: contain; border-radius: .75rem; background: #fff; box-shadow: 0 .3rem .7rem #91a5c066; }
.native-status-brand small { display: block; margin-top: .25rem; color: #637596; font-size: .75rem; font-weight: 600; }
.native-status-mark { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; margin-bottom: 1.15rem; border-radius: 1rem; color: #1457de; background: #e8f0ff; box-shadow: inset .2rem .2rem .45rem #c4d1e8, inset -.2rem -.2rem .45rem #fff; font-size: 1.65rem; }
.native-status-blocked .native-status-mark { color: #ae263d; background: #ffeaed; box-shadow: inset .2rem .2rem .45rem #efc5cb, inset -.2rem -.2rem .45rem #fff; }
.native-status-card h1 { margin: 0; font-size: clamp(1.35rem, 5vw, 1.85rem); line-height: 1.22; font-weight: 800; letter-spacing: -.025em; overflow-wrap: anywhere; }
.native-status-meta { margin: .75rem 0 1.5rem; color: #536784; font-size: .88rem; line-height: 1.55; }
.native-status-message { padding: 1.2rem; border: 1px solid #d6e2f3; border-radius: 1.15rem; background: #eef4fc; box-shadow: inset .25rem .25rem .65rem #d6e1f0, inset -.25rem -.25rem .65rem #fff; }
.native-status-blocked .native-status-message { border-color: #f1cbd2; background: #fff0f2; box-shadow: inset .2rem .2rem .55rem #f3d6da, inset -.2rem -.2rem .55rem #fff; }
.native-status-complete .native-status-mark { color: #15803d; background: #e3f7e9; }
.native-status-complete .native-status-message { border-color: #c8e8d5; background: #effaf3; box-shadow: inset .2rem .2rem .55rem #daeddf, inset -.2rem -.2rem .55rem #fff; }
.native-status-message h2 { margin: 0 0 .45rem; font-size: 1.12rem; font-weight: 800; }
.native-status-message p { margin: 0 0 1rem; color: #485b78; line-height: 1.55; }
.native-status-message p:last-child { margin-bottom: 0; }
.native-status-message .btn { border-radius: .75rem; font-weight: 700; }
.native-result-page { width: min(100%, 42rem); margin: clamp(1rem, 5vh, 3rem) auto; }
.native-result-card, .native-result-keys { padding: clamp(1.3rem, 4vw, 2.2rem); border: 1px solid #fff; border-radius: 1.5rem; background: #f8faff; box-shadow: -.55rem -.55rem 1.4rem #ffffffcf, .8rem 1rem 2rem #aab9d277; color: #0d2147; }
.native-result-icon { display: grid; place-items: center; width: 3.7rem; height: 3.7rem; margin-bottom: 1.1rem; border-radius: 1rem; background: #e8f0ff; color: #1358ef; font-size: 1.8rem; box-shadow: inset .18rem .18rem .4rem #ccd8ea, inset -.18rem -.18rem .4rem #fff; }
.native-result-submitted .native-result-icon { background: #e2f7e9; color: #15803d; }
.native-result-blocked .native-result-icon { background: #ffe9ed; color: #b42334; }
.native-result-card h1 { margin: 0; font-size: clamp(1.5rem, 5vw, 2rem); font-weight: 850; line-height: 1.2; }
.native-result-exam { margin: .5rem 0 1.35rem; color: #526583; font-weight: 650; overflow-wrap: anywhere; }
.native-result-description { margin: 0; padding: 1rem 1.1rem; border: 1px solid #d7e3f3; border-radius: 1rem; background: #edf3fc; color: #304462; line-height: 1.6; }
.native-result-submitted .native-result-description { border-color: #c9e7d4; background: #edf9f1; }
.native-result-blocked .native-result-description { border-color: #f0c8d0; background: #fff0f2; }
.native-result-score { display: grid; gap: .15rem; margin-top: 1.1rem; padding: 1.2rem; border-radius: 1rem; background: #e9f0ff; color: #143a82; }
.native-result-score strong { font-size: clamp(2.7rem, 10vw, 4.2rem); line-height: 1.1; letter-spacing: -.05em; }
.native-result-score small { font-size: 1rem; letter-spacing: 0; }
.native-result-detail { margin: 1rem 0 0; color: #64748b; font-size: .88rem; }
.native-result-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.5rem; }
.native-result-actions .btn { min-height: 2.8rem; padding: .6rem 1rem; border-radius: .75rem; font-weight: 750; }
.native-result-keys { margin-top: 1.25rem; }
.native-result-keys h2 { margin: 0 0 .3rem; font-size: 1.25rem; font-weight: 800; }
.native-result-keys > p { color: #64748b; }
@media (max-width: 480px) { .native-result-page { margin: 1rem auto; } .native-result-actions { display: grid; } .native-result-actions .btn { width: 100%; } }
.native-resume-status { display: flex; align-items: flex-start; gap: .65rem; padding: .75rem .85rem; border-radius: .75rem; background: #fff9fa; color: #8c3040; font-size: .85rem; font-weight: 650; line-height: 1.4; }
.native-resume-dot { flex: 0 0 .55rem; height: .55rem; margin-top: .3rem; border-radius: 50%; background: #ed9b35; box-shadow: 0 0 0 .25rem #ffdbaf; }
@media (max-width: 480px) { .native-status-card { margin: 1rem auto; padding: 1.35rem; border-radius: 1.25rem; } .native-status-message { padding: 1rem; } }
.public-exam-shell, .public-exam-shell:fullscreen { position: relative; display: flex; flex-direction: column; width: 100%; height: 100vh; height: 100dvh; min-height: 0; padding: 0; border: 0; border-radius: 0; overflow: hidden; background: #fff; }
.public-exam-toolbar { position: relative; z-index: 10; flex: 0 0 auto; min-height: 50px; margin: 0; padding: 5px 10px; background: rgba(255,255,255,.97); border-bottom: 1px solid #d7dde5; box-shadow: 0 2px 8px rgba(15,23,42,.1); }
.public-exam-toolbar-actions { display: flex; flex: 0 0 auto; gap: 6px; align-items: center; }
.public-exam-toolbar-actions form { margin: 0; }
.public-exam-shell .external-exam-frame { position: relative; top: auto; left: auto; flex: 1 1 0; width: 100%; height: 0; min-height: 0; border: 0; border-radius: 0; }
.external-exam-frame[hidden], .exam-entry-gate[hidden] { display: none; }
.exam-entry-gate { position: absolute; inset: 0; z-index: 20; display: grid; place-items: center; padding: 1rem; background: #eef3fa; }
.exam-entry-card { max-width: 28rem; padding: 1.5rem; border: 1px solid #cbd5e1; border-radius: .8rem; background: #fff; box-shadow: 0 12px 32px rgba(15,23,42,.12); text-align: center; }
.exam-entry-card h2 { font-size: 1.3rem; font-weight: 700; }

/* Admin Ujian Form */
.student-exam-hero { position: relative; display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; margin-bottom: 1.35rem; padding: clamp(1.3rem, 3vw, 2rem); overflow: hidden; border-radius: 1.4rem; background: linear-gradient(135deg,#0b2452,#153d86 72%,#245de5); color: #fff; box-shadow: .65rem .8rem 1.5rem #9aacc988, inset 0 1px #ffffff40; }
.student-exam-hero::after { content: ''; position: absolute; right: -4rem; bottom: -6rem; width: 17rem; height: 17rem; border-radius: 50%; background: radial-gradient(circle,#44d7e65c,#6558ee29 55%,transparent 72%); pointer-events: none; }
.student-exam-hero > * { position: relative; z-index: 1; }
.student-exam-hero .section-eyebrow { color: #a9c8ff; }
.student-exam-hero h2 { margin: 0; font-size: clamp(1.55rem,3vw,2.15rem); font-weight: 850; letter-spacing: -.035em; }
.student-exam-hero p:last-child { max-width: 41rem; margin: .5rem 0 0; color: #dce8ff; line-height: 1.55; }
.student-exam-summary { display: flex; flex-wrap: wrap; justify-content: end; gap: .6rem; }
.student-exam-summary span { display: inline-flex; align-items: center; gap: .4rem; padding: .65rem .85rem; border: 1px solid #ffffff45; border-radius: .8rem; background: #ffffff1c; color: #edf5ff; white-space: nowrap; font-size: .82rem; }
.student-exam-summary strong { color: #fff; font-size: 1.15rem; }
.student-exam-summary .student-exam-summary-alert { background: #fff1e91c; }
.student-exam-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.student-exam-card { display: flex; flex-direction: column; min-width: 0; padding: 1.3rem; border: 1px solid #fff; border-radius: 1.25rem; background: #f8faff; box-shadow: -.45rem -.45rem 1rem #ffffffcf,.55rem .65rem 1.25rem #aab9d277; }
.student-exam-card-top, .student-exam-card-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .65rem; }
.student-exam-kind { color: #31568d; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; }
.student-exam-kind i { margin-right: .25rem; font-size: 1rem; }
.student-exam-pill { display: inline-flex; align-items: center; padding: .32rem .65rem; border-radius: 99px; background: #e6eeff; color: #1e4dad; font-size: .76rem; font-weight: 800; white-space: nowrap; }
.student-exam-ready .student-exam-pill, .student-exam-graded .student-exam-pill { background: #dcf6e8; color: #137449; }
.student-exam-blocked .student-exam-pill { background: #ffe7eb; color: #aa2033; }
.student-exam-paused .student-exam-pill, .student-exam-scheduled .student-exam-pill { background: #fff1d6; color: #91590b; }
.student-exam-card h3 { margin: 1.1rem 0 .4rem; color: #0d2147; font-size: clamp(1.05rem,2vw,1.22rem); font-weight: 800; line-height: 1.34; overflow-wrap: anywhere; }
.student-exam-class { margin: 0; color: #587094; font-size: .85rem; font-weight: 650; }
.student-exam-message { flex: 1; margin: 1rem 0; color: #405577; font-size: .88rem; line-height: 1.55; }
.student-exam-card-footer { padding-top: 1rem; border-top: 1px solid #dce4f0; }
.student-exam-card-footer > span { color: #657792; font-size: .78rem; }
.student-exam-card-footer .btn { min-height: 2.65rem; border-radius: .72rem; font-size: .84rem; font-weight: 750; }
.student-exam-card-footer .btn i { margin-left: .35rem; }
.student-exam-empty { display: grid; justify-items: center; gap: .4rem; padding: 3rem 1rem; text-align: center; }
.student-exam-empty i { color: #285de2; font-size: 2rem; }.student-exam-empty h3 { margin: 0; font-size: 1.2rem; }.student-exam-empty p { margin: 0; color: #64748b; }
@media (max-width: 900px) { .student-exam-hero { align-items: start; flex-direction: column; }.student-exam-summary { justify-content: start; } }
@media (max-width: 690px) { .student-exam-grid { grid-template-columns: 1fr; }.student-exam-hero { border-radius: 1rem; }.student-exam-card { padding: 1.1rem; }.student-exam-card-footer .btn { width: 100%; }.student-exam-summary span { font-size: .76rem; } }
.exam-admin-heading, .exam-editor-heading, .exam-manage-heading { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.25rem; }
.exam-admin-heading .page-section-title, .exam-editor-heading .page-section-title, .exam-manage-heading .page-section-title { font-size: clamp(1.4rem, 2.4vw, 1.85rem); }
.exam-admin-overview { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: .75rem; margin-bottom: 1.25rem; }
.exam-admin-overview > div { display: flex; flex-direction: column; padding: .9rem 1rem; border: 1px solid #dce5f0; border-radius: .8rem; background: #fff; }
.exam-admin-overview strong { color: #1e3a8a; font-size: 1.55rem; line-height: 1.1; }
.exam-admin-overview span { color: #64748b; font-size: .85rem; }
.exam-admin-controls { display: grid; gap: .8rem; margin-bottom: .8rem; }
.exam-admin-controls > input { max-width: 26rem; }
.exam-admin-filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.exam-admin-filters button { padding: .4rem .7rem; border: 1px solid #d4deec; border-radius: 999px; background: #fff; color: #475569; font-size: .83rem; font-weight: 650; }
.exam-admin-filters button[aria-pressed="true"] { border-color: #1d4ed8; background: #eaf1ff; color: #1e40af; }
.exam-admin-filters button span { font-size: .78rem; opacity: .75; }
.exam-admin-items { display: grid; gap: .55rem; }
.exam-admin-item { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-width: 0; padding: .9rem 1rem; border: 1px solid #e2e8f0; border-radius: .7rem; color: #0f172a; text-decoration: none; }
.exam-admin-item:hover, .exam-admin-item:focus-visible { border-color: #93b4ee; background: #f8fbff; color: #0f172a; }
.exam-admin-item[hidden], .exam-admin-no-results[hidden] { display: none; }
.exam-admin-item-main { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .7rem; min-width: 0; }
.exam-admin-item-main strong { min-width: 0; overflow-wrap: anywhere; }
.exam-admin-meta { flex-basis: 100%; color: #64748b; font-size: .83rem; }
.exam-admin-item-action { color: #1d4ed8; font-size: .84rem; font-weight: 700; white-space: nowrap; }
.exam-admin-state { display: inline-flex; align-items: center; padding: .18rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 750; white-space: nowrap; }
.exam-admin-state-active { background: #dcfce7; color: #166534; }
.exam-admin-state-scheduled { background: #dbeafe; color: #1e40af; }
.exam-admin-state-draft { background: #fef3c7; color: #92400e; }
.exam-admin-state-paused { background: #ffedd5; color: #9a3412; }
.exam-admin-state-done { background: #e2e8f0; color: #475569; }
.exam-admin-no-results { margin: 1rem 0 0; color: #64748b; }
.exam-back-link { display: inline-flex; align-items: center; gap: .45rem; margin-bottom: 1rem; color: #475569; text-decoration: none; font-weight: 650; }
.exam-back-link:hover { color: #1d4ed8; }
.exam-editor-badge { padding: .32rem .7rem; border-radius: 999px; background: #fef3c7; color: #92400e; font-size: .8rem; font-weight: 750; }
.exam-editor-grid { display: grid; grid-template-columns: minmax(0, 1fr) 17rem; gap: 1rem; align-items: start; }
.exam-editor-form { display: grid; gap: 1rem; min-width: 0; }
.exam-editor-section-heading { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: 1.15rem; }
.exam-editor-section-heading > span { display: grid; flex: 0 0 1.7rem; height: 1.7rem; place-items: center; border-radius: 50%; background: #e8f0ff; color: #1d4ed8; font-weight: 800; }
.exam-editor-section-heading h3 { margin: 0; font-size: 1.05rem; font-weight: 800; }
.exam-editor-section-heading p { margin: .2rem 0 0; color: #64748b; font-size: .84rem; }
.exam-preview-link { display: inline-flex; gap: .35rem; margin-top: .55rem; font-size: .86rem; font-weight: 650; text-decoration: none; }
.exam-preview-link[hidden], #examClassField[hidden] { display: none; }
.exam-warning-input { max-width: 8rem; }
.exam-editor-actions { display: flex; justify-content: flex-end; gap: .65rem; }
.exam-editor-guide { position: sticky; top: 1rem; }
.exam-editor-guide h3 { font-size: 1rem; font-weight: 800; }
.exam-editor-guide ol { margin: 1rem 0; padding-left: 1.3rem; color: #475569; font-size: .88rem; }
.exam-editor-guide li + li { margin-top: .65rem; }
.exam-editor-guide p { color: #64748b; font-size: .82rem; }
.exam-manage-meta, .exam-manage-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem .85rem; }
.exam-manage-meta > span:not(:first-child) { color: #64748b; font-size: .85rem; }
.exam-manage-actions form { margin: 0; }
.exam-access-fields { display: grid; grid-template-columns: minmax(0, 2fr) minmax(10rem, 1fr); gap: .8rem; }
.exam-access-fields label { display: block; margin-bottom: .3rem; color: #475569; font-size: .8rem; font-weight: 700; }
.exam-copy-field { display: flex; gap: .4rem; }
.exam-copy-field input { min-width: 0; }
.exam-access-note { margin-top: .7rem; color: #64748b; font-size: .8rem; }
.exam-history-card summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; list-style: none; }
.exam-history-card summary::-webkit-details-marker { display: none; }
.exam-history-card summary span { display: flex; flex-direction: column; }
.exam-history-card summary small { color: #64748b; font-size: .82rem; }
.exam-history-card[open] summary { margin-bottom: 1rem; }
.exam-history-card[open] summary .bi { transform: rotate(180deg); }
@media (max-width: 850px) { .exam-editor-grid { grid-template-columns: 1fr; } .exam-editor-guide { position: static; } }
@media (max-width: 600px) {
  .exam-admin-heading .btn { width: 100%; }
  .exam-admin-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .exam-admin-item { align-items: flex-start; }
  .exam-admin-item-main { display: grid; gap: .25rem; }
  .exam-admin-item-action { font-size: 0; }
  .exam-admin-item-action .bi { font-size: 1rem; }
  .exam-access-fields { grid-template-columns: 1fr; }
  .exam-manage-actions { width: 100%; }
  .exam-manage-actions .btn { font-size: .82rem; }
}
.public-exam-shell #examNetwork { position: relative; z-index: 11; flex: 0 0 auto; margin: .4rem; }
@media (max-width: 600px) {
  .public-exam-active { padding: 0; }
  .public-exam-shell { padding: 0; border-radius: 0; }
  .public-exam-toolbar { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: .5rem; padding: .42rem .55rem; }
  .public-exam-toolbar-details { display: flex; flex: 0 1 auto; flex-wrap: nowrap; align-items: center; gap: .42rem; min-width: 0; font-size: .76rem; line-height: 1.2; }
  .public-exam-toolbar-title { display: none; }
  .public-exam-toolbar-name { display: none; }
  .public-exam-toolbar #examWarnings { white-space: nowrap; }
  .public-exam-toolbar-actions { flex: 0 0 auto; justify-content: flex-end; gap: .3rem; margin-left: 0; }
  .public-exam-toolbar-actions .btn { min-height: 2rem; padding: .25rem .42rem; font-size: .72rem; }
}
@media (max-width: 430px) {
  .public-exam-toolbar { display: grid; grid-template-columns: minmax(0, 1fr); gap: .35rem; }
  .public-exam-toolbar-details { justify-content: flex-start; }
  .public-exam-toolbar-actions { justify-content: flex-end; }
  .native-exam-shell .public-exam-toolbar { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .4rem; padding: .42rem .65rem; }
  .native-exam-shell .public-exam-toolbar-details { display: flex; flex-direction: column; align-items: flex-start; gap: .15rem; font-size: .76rem; }
  .native-exam-shell .public-exam-toolbar #examCountdown { font-size: .82rem; line-height: 1.2; }
  .native-exam-shell .public-exam-toolbar-actions { grid-column: 2; grid-row: 1; }
}

/* Soal LMS: focused exam workspace with tactile Soft UI controls. */
.native-exam-shell { --native-ink: #111d3b; --native-accent: #4f46e5; --native-line: #d7deed; }
.native-exam-shell .native-exam-toolbar { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr) auto auto; align-items: center; gap: 1rem; min-height: 4.25rem; margin: 0; padding: .65rem clamp(1rem,2.2vw,2rem); border: 0; border-bottom: 1px solid #e3e8f3; border-radius: 0; background: #fbfcff; box-shadow: 0 .25rem 1rem #15294a0c; color: var(--native-ink); }
.native-toolbar-identity { display: grid; min-width: 0; line-height: 1.2; }
.native-toolbar-identity strong { overflow: hidden; font-size: .96rem; text-overflow: ellipsis; white-space: nowrap; }
.native-toolbar-identity small { margin-top: .18rem; color: #64718b; font-size: .75rem; }
.native-toolbar-timer { justify-self: center; padding: .42rem .8rem; border-radius: 999px; background: #eff0ff; color: #2f3192; box-shadow: inset 2px 2px 5px #cdd1eb, inset -2px -2px 5px #fff; white-space: nowrap; }
.native-toolbar-timer strong { font-size: .86rem; letter-spacing: .01em; }
.native-toolbar-status { display: flex; justify-self: end; align-items: center; gap: .8rem; min-width: 0; color: #64718b; font-size: .79rem; }
.native-toolbar-status #examWarnings { white-space: nowrap; }
.native-save-header { overflow: hidden; max-width: 13rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.native-save-header[data-state="saved"] { color: #13834b; }
.native-save-header[data-state="saved"]::before { content: '✓ '; }
.native-save-header[data-state="error"] { color: #b4232d; }
.native-number-open, .native-number-close { display: none; }
.native-exam-menu { position: relative; justify-self: end; }
.native-exam-menu summary { display: grid; width: 2.65rem; height: 2.65rem; place-items: center; border: 1px solid var(--native-line); border-radius: .8rem; background: #f9fbff; box-shadow: 3px 3px 7px #d4dbeb, -3px -3px 7px #fff; color: #25335b; cursor: pointer; font-size: 1.4rem; line-height: 1; list-style: none; }
.native-exam-menu summary::-webkit-details-marker { display: none; }
.native-exam-menu summary:focus-visible, .native-number-open:focus-visible, .native-number-grid button:focus-visible, .native-category-choice:focus-visible { outline: 3px solid #6558ff; outline-offset: 2px; }
.native-exam-menu-content { position: absolute; z-index: 60; top: calc(100% + .5rem); right: 0; display: grid; min-width: 14rem; padding: .4rem; border: 1px solid var(--native-line); border-radius: .85rem; background: #fbfcff; box-shadow: 0 1rem 2.5rem #16264b29; }
.native-exam-menu-content button { padding: .65rem .7rem; border: 0; border-radius: .55rem; background: transparent; color: var(--native-ink); text-align: left; }
.native-exam-menu-content button:hover, .native-exam-menu-content button:focus-visible { background: #eff1ff; }
.native-exam-menu-content #examFullscreen { color: #b4232d; }
.native-exam-menu-content [hidden] { display: none; }
.native-text-settings { padding: .55rem .7rem .7rem; border-bottom: 1px solid #dce3ef; color: #40506d; font-size: .8rem; font-weight: 700; }
.native-text-actions { display: flex; gap: .3rem; margin-top: .45rem; }
.native-exam-menu-content .native-text-actions button { flex: 1; padding: .4rem .3rem; border: 1px solid #cbd5e8; border-radius: .5rem; background: #f7f9fe; color: #172b54; text-align: center; }
.native-text-actions button:disabled { opacity: .45; cursor: not-allowed; }
.native-exam-shell .native-exam-frame { display: flex; flex-direction: column; overflow-y: auto; padding: clamp(1rem,2.2vw,2rem); background: #eef2f9; }
.native-exam-shell .native-exam-frame[hidden] { display: none; }
.native-exam-workbench { display: grid; grid-template-columns: minmax(0,1fr) minmax(19rem,27rem); align-items: start; gap: clamp(1rem,2vw,2rem); width: min(100%,83rem); margin: 0 auto; }
.native-question-column { min-width: 0; }
.native-question-card, .native-number-panel { border: 1px solid #dce3ef; border-radius: 1.25rem; background: #fbfcff; box-shadow: 10px 12px 26px #bcc8da80, -9px -9px 22px #ffffffde; }
.native-question-card { min-height: 27rem; padding: clamp(1.25rem,2.2vw,2rem); }
.native-question-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.native-question-top .native-question-eyebrow { margin: 0; color: var(--native-accent); }
.native-flag-button { flex: 0 0 auto; min-height: 2.5rem; padding: .4rem .85rem; border: 1px solid #cfd7e9; border-radius: .75rem; background: #fbfcff; color: #273450; box-shadow: 3px 3px 7px #d3dbea, -3px -3px 7px #fff; font-weight: 700; }
.native-flag-button.is-flagged { border-color: #f59e0b; background: #fff0ca; color: #8a4b00; box-shadow: inset 2px 2px 5px #e6c58b, inset -2px -2px 5px #fff9e8; }
.native-exam-shell #nativeQuestion { max-width: none; min-height: 0; margin: 0; padding: 0; border-radius: 0; background: none; box-shadow: none; }
.native-exam-shell .native-question-prompt { margin: 0 0 1.35rem; color: var(--native-ink); font-size: calc(clamp(1.25rem,2vw,1.75rem) * var(--native-reader-scale,1)); letter-spacing: -.025em; line-height: 1.35; }
.native-exam-shell .native-answer-list { gap: .75rem; margin: 0; }
.native-exam-shell .native-answer-option { align-items: center; min-height: 3.8rem; padding: .85rem 1rem; border: 1px solid #ccd6e8; border-radius: .85rem; background: #fbfcff; box-shadow: 3px 3px 7px #d9e1ed, -3px -3px 7px #fff; color: var(--native-ink); }
.native-exam-shell .native-answer-option > span { font-size: calc(1rem * var(--native-reader-scale,1)); line-height: 1.5; }
.native-exam-shell .native-answer-option:has(input:checked) { border-color: #6c60ed; background: #efedff; box-shadow: inset 2px 2px 5px #c8c2f3, inset -2px -2px 5px #fff; }
.native-exam-shell .native-answer-option input { accent-color: var(--native-accent); }
.native-exam-shell .native-category-statement { display: grid; grid-template-columns: minmax(0,1fr) minmax(13rem,1fr); align-items: center; gap: .8rem 1.2rem; margin: 0; padding: 1rem 0; border: 0; border-top: 1px solid #e6eaf3; border-radius: 0; }
.native-exam-shell .native-category-statement legend { display: flex; align-items: flex-start; gap: .6rem; width: 100%; margin: 0; color: var(--native-ink); font-size: 1rem; line-height: 1.45; }
.native-exam-shell .native-category-statement legend > span:last-child { font-size: calc(1rem * var(--native-reader-scale,1)); }
.native-exam-shell .native-category-choice { font-size: calc(.95rem * var(--native-reader-scale,1)); }
.native-exam-shell .native-question-image { cursor: zoom-in; touch-action: pan-x pan-y; }
.native-exam-shell .native-question-image:focus-visible { outline: 3px solid var(--native-accent); outline-offset: 3px; }
.native-image-viewer[hidden] { display: none; }
.native-image-viewer { position: fixed; z-index: 90; inset: 0; display: grid; grid-template-rows: auto minmax(0,1fr) auto; background: #101b33f2; color: #fff; }
.native-image-viewer-header, .native-image-viewer-controls { display: flex; align-items: center; justify-content: center; gap: .75rem; min-height: 3.8rem; padding: .6rem 1rem; background: #172746; }
.native-image-viewer-header { justify-content: space-between; }
.native-image-viewer-header button, .native-image-viewer-controls button { min-width: 2.7rem; min-height: 2.7rem; padding: .3rem .65rem; border: 1px solid #9eabc5; border-radius: .65rem; background: #24385e; color: #fff; font-weight: 750; }
.native-image-viewer-header button { font-size: 1.4rem; }
.native-image-viewer-controls button:disabled { opacity: .45; }
.native-image-viewer-controls output { min-width: 3.5rem; text-align: center; }
.native-image-viewer-stage { overflow: auto; display: block; min-height: 0; padding: .75rem; overscroll-behavior: contain; touch-action: pan-x pan-y; text-align: center; }
.native-image-viewer-stage img { display: block; width: 100%; max-width: none; height: auto; margin: auto; object-fit: contain; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.native-statement-number { display: grid; flex: 0 0 1.6rem; width: 1.6rem; height: 1.6rem; place-items: center; border-radius: 50%; background: #ececff; color: var(--native-accent); font-size: .85rem; font-weight: 800; }
.native-category-choices { display: grid; grid-template-columns: repeat(auto-fit,minmax(6rem,1fr)); gap: .45rem; }
.native-category-choice { min-height: 3.15rem; padding: .45rem .65rem; border: 1px solid #cbd5e8; border-radius: .75rem; background: #fbfcff; color: var(--native-ink); box-shadow: 3px 3px 7px #dbe2ef, -3px -3px 7px #fff; font-weight: 700; line-height: 1.2; }
.native-category-choice.is-selected { border-color: var(--native-accent); background: var(--native-accent); color: #fff; box-shadow: inset 2px 2px 6px #2821ae, 3px 4px 9px #5146d548; }
.native-exam-shell .native-exam-navigation { display: flex; max-width: none; margin: 1.2rem 0 0; }
.native-exam-shell .native-exam-navigation .btn { min-height: 3.2rem; padding: .6rem 1rem; border-radius: .8rem; font-weight: 700; }
.native-exam-shell .native-exam-navigation .btn-primary { min-width: 12rem; border-color: var(--native-accent); background: var(--native-accent); box-shadow: 4px 5px 12px #5146d542; }
.native-exam-shell .native-exam-navigation .btn-outline-primary { border-color: #cbd5e8; color: var(--native-ink); background: #fbfcff; }
.native-number-panel { position: sticky; top: 0; padding: 1.25rem; }
.native-panel-handle { display: none; }
.native-panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: .5rem; }
.native-panel-heading h2 { margin: 0; color: var(--native-ink); font-size: 1.1rem; font-weight: 800; }
.native-panel-heading p { margin: .2rem 0 0; color: #5f6f8b; font-size: .8rem; }
.native-number-legend { display: flex; flex-wrap: wrap; gap: .35rem .8rem; margin: .9rem 0; color: #40506d; font-size: .72rem; }
.native-number-legend span { display: inline-flex; align-items: center; gap: .3rem; }
.native-number-legend i { display: block; width: .65rem; height: .65rem; border: 1px solid #bfc9df; border-radius: .2rem; }
.native-legend-answered { border-color: #168047!important; background: #168047; }
.native-legend-flagged { border-color: #eb9208!important; background: #fff0ca; }
.native-legend-current { border-color: var(--native-accent)!important; background: #efedff; }
.native-exam-shell .native-number-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: .4rem; max-width: none; margin: 0; }
.native-exam-shell .native-number-grid button { position: relative; width: 100%; min-width: 0; aspect-ratio: 1; padding: 0; border: 1px solid #c7d1e5; border-radius: .7rem; background: #fbfcff; color: var(--native-ink); box-shadow: 2px 3px 5px #d7dfec, -2px -2px 5px #fff; font-size: .82rem; font-weight: 800; }
.native-exam-shell .native-number-grid .native-answered { border-color: #168047; background: #168047; color: #fff; }
.native-exam-shell .native-number-grid .native-flagged { border-color: #ed940a; background: #fff0c7; color: #84500e; }
.native-exam-shell .native-number-grid .native-flagged::after { content: ''; position: absolute; top: .2rem; right: .2rem; width: .45rem; height: .45rem; border-radius: 50%; background: #e37900; }
.native-exam-shell .native-number-grid .native-current { outline: 3px solid var(--native-accent); outline-offset: 2px; box-shadow: none; }
.native-exam-shell .native-number-grid .native-needs-review { border-color: #d97706; }
.native-review-open { width: 100%; min-height: 3rem; margin-top: 1.15rem; border: 1px solid #f1999c; border-radius: .8rem; background: #fffafa; color: #af242e; font-weight: 750; }
.native-review-open:hover { background: #fff0f0; }
.native-mobile-progress, .native-mobile-navigation { display: none; }
.native-number-backdrop[hidden] { display: none; }
.native-review-dialog { width: min(calc(100% - 2rem),28rem); max-height: calc(100dvh - 2rem); padding: 0; border: 1px solid #dce3ef; border-radius: 1.2rem; background: #fbfcff; box-shadow: 0 1.5rem 4rem #17294d55; color: var(--native-ink); }
.native-review-dialog::backdrop { background: #14213db8; }
.native-review-content { padding: 1.5rem; }
.native-review-top { display: flex; justify-content: space-between; gap: 1rem; }
.native-review-top h2 { margin: 0; font-size: 1.5rem; font-weight: 850; }
.native-review-top button { align-self: start; border: 0; background: transparent; color: #495a78; font-size: 1.7rem; }
.native-review-content > p { margin: 1rem 0 1.4rem; color: #475674; line-height: 1.5; }
.native-review-actions { display: grid; gap: .65rem; }
.native-review-actions form { margin: 0; }
.native-review-actions button { width: 100%; min-height: 3rem; border: 1px solid #cbd5e8; border-radius: .7rem; background: #fff; color: var(--native-ink); font-weight: 750; }
.native-review-actions form button { border-color: #245ce6; background: #245ce6; color: #fff; }
@media (max-width: 900px) {
  .native-exam-shell .native-exam-toolbar { grid-template-columns: minmax(0,1fr) auto auto auto; gap: .45rem; }
  .native-toolbar-identity { display: none; }
  .native-toolbar-timer { justify-self: start; }
  .native-toolbar-status { justify-self: center; }
  .native-save-header { display: none; }
  .native-number-open { display: grid; width: 2.5rem; height: 2.5rem; place-items: center; border: 1px solid #cbd5e8; border-radius: .75rem; background: #fbfcff; color: #3733ae; font-size: 1.4rem; }
  .native-exam-workbench { display: block; }
  .native-number-backdrop:not([hidden]) { position: fixed; z-index: 49; inset: 0; width: 100%; border: 0; background: #10192e80; }
  .native-number-panel { position: fixed; z-index: 50; right: 0; bottom: 0; left: 0; top: auto; display: flex; flex-direction: column; width: 100%; max-height: min(83dvh,45rem); padding: 1rem; border-radius: 1.4rem 1.4rem 0 0; transform: translateY(110%); transition: transform .25s ease; box-shadow: 0 -1rem 2.5rem #121c3970; visibility: hidden; }
  .native-number-panel.is-open { transform: translateY(0); visibility: visible; }
  .native-panel-handle { display: block; flex: 0 0 auto; width: 2.5rem; height: .25rem; margin: 0 auto 1rem; border-radius: 999px; background: #cbd2e0; }
  .native-number-close { display: block; border: 0; background: transparent; color: #52617b; font-size: 1.8rem; line-height: 1; }
  .native-number-grid { overflow-y: auto; padding: .35rem; }
  .native-review-open { flex: 0 0 auto; }
  body.native-numbers-open { overflow: hidden; }
}
@media (max-width: 600px) {
  .native-exam-shell .native-exam-toolbar { grid-template-columns: minmax(0,1fr) auto auto auto; min-height: 3.65rem; padding: .4rem .65rem; }
  .native-toolbar-timer { padding: .35rem .6rem; }
  .native-toolbar-timer strong { font-size: .76rem; }
  .native-toolbar-status { font-size: .73rem; }
  .native-number-open, .native-exam-menu summary { width: 2.25rem; height: 2.25rem; }
  .native-exam-shell .native-exam-frame { padding: 0; background: #f3f5fb; }
  .native-mobile-progress { display: grid; grid-template-columns: 1fr auto; gap: .35rem; padding: .7rem 1rem .4rem; color: #5d6c88; font-size: .77rem; font-weight: 650; }
  .native-mobile-progress #nativeSaveState { overflow: hidden; max-width: 9rem; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
  .native-mobile-progress #nativeSaveState[data-state="saved"] { color: #168047; }
  .native-mobile-progress #nativeSaveState[data-state="error"] { color: #b4232d; }
  .native-progress-track { grid-column: 1/-1; height: .3rem; overflow: hidden; border-radius: 99px; background: #dfe4ef; }
  .native-progress-track span { display: block; height: 100%; border-radius: inherit; background: var(--native-accent); transition: width .2s ease; }
  .native-exam-workbench { flex: 1 1 auto; padding: .35rem 1rem 1rem; }
  .native-question-card { min-height: 0; padding: 1.1rem 1rem 1.4rem; border-radius: 1.15rem; box-shadow: 5px 7px 17px #c7d0e080, -5px -5px 17px #fff; }
  .native-exam-shell .native-question-prompt { font-size: calc(1.2rem * var(--native-reader-scale,1)); }
  .native-exam-shell .native-category-statement { grid-template-columns: 1fr; }
  .native-exam-shell .native-category-choices { grid-template-columns: repeat(auto-fit,minmax(7rem,1fr)); }
  .native-exam-shell .native-exam-navigation { display: none; }
  .native-mobile-navigation { position: sticky; z-index: 12; bottom: 0; display: grid; grid-template-columns: 3.2rem minmax(4.8rem,6rem) minmax(0,1fr); gap: .55rem; padding: .65rem 1rem max(.65rem,env(safe-area-inset-bottom)); border-top: 1px solid #dce3ef; background: #fbfcff; box-shadow: 0 -.3rem 1rem #17294d14; }
  .native-mobile-navigation button { min-height: 3rem; border: 1px solid #cbd5e8; border-radius: .75rem; background: #fbfcff; color: var(--native-ink); font-weight: 750; }
  .native-mobile-navigation #nativeMobileNext { border-color: var(--native-accent); background: var(--native-accent); color: #fff; box-shadow: 3px 4px 8px #5146d542; }
  .native-number-panel { max-height: min(78dvh,43rem); padding: 1rem; }
  .native-number-panel .native-number-grid { flex: 1 1 auto; gap: .45rem; }
}
@media (max-width: 360px) {
  .native-exam-shell .native-exam-toolbar { gap: .25rem; padding-inline: .35rem; }
  .native-toolbar-timer strong { font-size: .69rem; }
  .native-toolbar-status { font-size: .68rem; }
  .native-number-open, .native-exam-menu summary { width: 2.05rem; height: 2.05rem; }
}
@media (prefers-reduced-motion: reduce) {
  .native-number-panel, .native-progress-track span { transition: none; }
}
.exam-event-dialog{width:min(92vw,680px);max-height:85vh;border:1px solid #d7deeb;border-radius:14px;padding:1.25rem;background:#fff;color:#17233b;box-shadow:0 18px 50px #14233b38;overflow:auto}
.exam-event-dialog::backdrop{background:#101c32a8}
.exam-event-item{padding:.7rem 0;border-top:1px solid #e5eaf2}
.exam-event-list{max-height:55vh;overflow:auto}

/* Shared teacher monitor for Google Form and LMS questions. */
.exam-monitor-board{display:grid;gap:1rem;min-width:0;margin-bottom:1.5rem}
.exam-monitor-policy-note{display:flex;align-items:flex-start;gap:.5rem;margin:0 0 1rem;padding:.7rem .95rem;border:1px solid #d6e5fb;border-radius:13px;background:#edf4ff;color:#38547e;font-size:.82rem;line-height:1.45}
.native-results-card{margin-top:1rem}
.exam-monitor-topbar{position:relative;display:flex;align-items:center;justify-content:space-between;gap:1rem;overflow:hidden;padding:1.35rem 1.5rem;border:1px solid #17366e;border-radius:22px;background:linear-gradient(115deg,#081d42 0%,#102c5f 68%,#154b8d 100%);color:#f8fbff;box-shadow:10px 14px 30px #203c6a22,-7px -7px 22px #ffffffaa}
.exam-monitor-topbar::after{content:"";position:absolute;left:-6%;bottom:-125px;width:340px;height:180px;border-radius:50%;background:radial-gradient(ellipse at center,#10d7e69c 0%,#3659ff85 35%,#9355eb55 58%,transparent 72%);filter:blur(16px);pointer-events:none}
.exam-monitor-topbar-copy,.exam-monitor-topbar-actions{position:relative;z-index:1;display:flex;align-items:center;gap:.9rem;min-width:0}
.exam-monitor-topbar-copy{align-items:flex-start}
.exam-monitor-topbar .section-eyebrow{color:#86bbff;letter-spacing:.13em}
.exam-monitor-topbar h3{margin:0 0 .28rem;font-size:clamp(1.2rem,2vw,1.55rem);font-weight:800;letter-spacing:-.025em}
.exam-monitor-topbar p:not(.section-eyebrow){font-size:.86rem;color:#c8d7f2}
.exam-monitor-live-dot{flex:0 0 11px;width:11px;height:11px;margin-top:.35rem;border-radius:50%;background:#4ade80;box-shadow:0 0 0 5px #4ade8030,0 0 20px #4ade80}
.exam-monitor-topbar[data-connection="offline"] .exam-monitor-live-dot{background:#fb7185;box-shadow:0 0 0 5px #fb718530}
.exam-monitor-topbar-actions{justify-content:flex-end;flex-wrap:wrap;gap:.35rem .8rem;text-align:right}
.exam-monitor-connection{font-size:.8rem;font-weight:800;color:#b9f3cb}
.exam-monitor-topbar[data-connection="offline"] .exam-monitor-connection{color:#ffd1d8}
.exam-monitor-topbar-actions small{font-size:.76rem;color:#bdccea}
.exam-monitor-topbar-actions .btn{border-color:#91b8fa;color:#fff;background:#ffffff14;white-space:nowrap}
.exam-monitor-topbar-actions .btn:hover{background:#ffffff2b;color:#fff}
.exam-monitor-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem}
.exam-monitor-stat{display:flex;align-items:flex-start;gap:.85rem;min-width:0;padding:1rem 1.05rem;border:1px solid #f7faff;border-radius:20px;background:#f9fbff;box-shadow:7px 9px 18px #a9bbd840,-6px -6px 16px #ffffff}
.exam-monitor-stat-icon{display:grid;flex:0 0 42px;width:42px;height:42px;place-items:center;border-radius:14px;font-size:1.15rem;background:#e2f7ec;color:#15803d}
.exam-monitor-stat-review .exam-monitor-stat-icon{background:#fff0d5;color:#b65c00}
.exam-monitor-stat-finished .exam-monitor-stat-icon{background:#e7eeff;color:#2856ce}
.exam-monitor-stat-waiting .exam-monitor-stat-icon{background:#edf1f7;color:#566886}
.exam-monitor-stat>div{display:flex;flex-direction:column;min-width:0}
.exam-monitor-stat span:not(.exam-monitor-stat-icon){font-size:.82rem;color:#516381;font-weight:700}
.exam-monitor-stat strong{color:#0b2451;font-size:clamp(1.5rem,2.4vw,2rem);line-height:1.15;font-weight:850;letter-spacing:-.04em}
.exam-monitor-stat-review strong{color:#ad5400}
.exam-monitor-stat small{font-size:.72rem;line-height:1.35;color:#73819a}
.exam-monitor-list{min-width:0;padding:0;overflow:hidden}
.exam-monitor-list-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding:1.35rem 1.5rem .9rem}
.exam-monitor-list-heading h3{margin:0 0 .2rem;color:#0d2147;font-size:1.18rem;font-weight:800}
.exam-monitor-list-heading p:not(.section-eyebrow){color:#60718e;font-size:.84rem}
.exam-monitor-total{flex:0 0 auto;padding:.35rem .75rem;border-radius:999px;background:#e9f0ff;color:#1546ac;font-size:.78rem;font-weight:700}
.exam-monitor-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(11rem,14rem);gap:.65rem;padding:0 1.5rem 1.1rem}
.exam-monitor-search{position:relative;min-width:0}
.exam-monitor-search .bi{position:absolute;left:.92rem;top:50%;transform:translateY(-50%);color:#7485a1}
.exam-monitor-search .form-control{padding-left:2.55rem}
.exam-monitor-filter{min-width:0}
.exam-monitor-table-wrap{border-top:1px solid #e3eaf4}
.exam-monitor-table{margin:0;min-width:690px}
.exam-monitor-table thead th{padding:.72rem 1rem;background:#f1f5fb;color:#50627f;font-size:.72rem;letter-spacing:.065em;text-transform:uppercase;border-bottom:1px solid #dce5f1;white-space:nowrap}
.exam-monitor-table tbody td{padding:.85rem 1rem;border-color:#edf1f7;color:#172d53;font-size:.87rem;vertical-align:middle}
.exam-monitor-table tbody tr:hover td{background:#f7faff}
.exam-monitor-table tbody tr.exam-monitor-needs-review td:first-child{box-shadow:inset 3px 0 0 #f59e0b}
.exam-monitor-table td:first-child strong{display:block;color:#10254b;font-weight:780}
.exam-monitor-identity-detail{display:block;margin-top:.12rem;color:#60718e;font-size:.76rem}
.exam-monitor-identity-flags{display:block;margin-top:.3rem;color:#a75400;font-size:.73rem;font-weight:700}
.exam-monitor-status{display:inline-flex;align-items:center;gap:.35rem;max-width:100%;padding:.28rem .65rem;border-radius:999px;font-size:.76rem;font-weight:800;line-height:1.3;white-space:normal;background:#e8effb;color:#35527a}
.exam-monitor-status::before{content:"";flex:0 0 6px;width:6px;height:6px;border-radius:50%;background:currentColor}
.exam-monitor-status-active{background:#e5f8ec;color:#157347}
.exam-monitor-status-away,.exam-monitor-status-disconnected{background:#fff2d9;color:#9a5800}
.exam-monitor-status-blocked{background:#ffe5e8;color:#b42334}
.exam-monitor-status-finished{background:#e8edff;color:#3c53b7}
.exam-monitor-warning-cell{font-weight:800}
.exam-monitor-warning-cell small{display:block;color:#748099;font-size:.73rem;font-weight:500}
.exam-monitor-seen-cell{color:#61718a!important;font-size:.79rem!important;white-space:nowrap}
.exam-monitor-row-actions{display:flex;align-items:center;flex-wrap:wrap;gap:.35rem}
.exam-monitor-row-actions form{margin:0}
.exam-monitor-row-actions .btn{white-space:nowrap}
.exam-monitor-empty{padding:2.25rem 1rem!important;text-align:center;color:#677790!important}
.exam-monitor-list-footer{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.85rem 1.5rem;color:#60718e;font-size:.79rem;border-top:1px solid #e9eef6}
.exam-monitor-pagination{display:flex;align-items:center;gap:.55rem;white-space:nowrap}
.exam-monitor-pagination .btn{width:32px;height:32px;padding:0}
.exam-monitor-help{display:flex;align-items:flex-start;gap:.5rem;padding:.65rem 1.5rem 1rem;color:#74829b;font-size:.75rem;line-height:1.45}
.exam-monitor-history{padding:1rem 1.4rem}
.exam-monitor-history summary strong{color:#132b56;font-size:.96rem}
.exam-monitor-history .table{margin:0}
.exam-monitor-history .table th{font-size:.73rem;color:#5b6e8b}
.exam-monitor-events td{font-size:.82rem}
.exam-monitor-events tr.exam-monitor-needs-review td:first-child{box-shadow:inset 3px 0 0 #ef9b23}
.exam-event-dialog-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;padding-bottom:.8rem;border-bottom:1px solid #e3eaf4;margin-bottom:.9rem}
@media(max-width:1100px){.exam-monitor-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){
  .exam-monitor-topbar{align-items:flex-start;flex-direction:column;padding:1.1rem 1.15rem;border-radius:18px}
  .exam-monitor-topbar-actions{width:100%;justify-content:space-between;text-align:left}
  .exam-monitor-topbar-actions small{margin-right:auto}
  .exam-monitor-stats{gap:.55rem}
  .exam-monitor-stat{gap:.5rem;padding:.78rem;border-radius:16px}
  .exam-monitor-stat-icon{flex-basis:32px;width:32px;height:32px;border-radius:10px;font-size:.95rem}
  .exam-monitor-stat small{display:none}
  .exam-monitor-list-heading{padding:1.05rem 1rem .8rem}
  .exam-monitor-list-heading p:not(.section-eyebrow){font-size:.76rem}
  .exam-monitor-controls{grid-template-columns:1fr;padding:0 1rem .9rem}
  .exam-monitor-table-wrap{overflow:visible}
  .exam-monitor-table{display:block;min-width:0;background:#f6f9fd}
  .exam-monitor-table thead{display:none}
  .exam-monitor-table tbody{display:grid;gap:.65rem;padding:.75rem}
  .exam-monitor-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:.55rem .8rem;padding:1rem;border:1px solid #dfe7f1;border-radius:16px;background:#fff;box-shadow:4px 6px 14px #a9bad426}
  .exam-monitor-table tbody tr:hover td{background:transparent}
  .exam-monitor-table tbody tr.exam-monitor-needs-review{border-left:4px solid #f59e0b}
  .exam-monitor-table tbody tr.exam-monitor-needs-review td:first-child{box-shadow:none}
  .exam-monitor-table tbody td{display:block;min-width:0;width:auto;padding:0;border:0;font-size:.81rem}
  .exam-monitor-table tbody td:first-child,.exam-monitor-table tbody td:nth-child(2),.exam-monitor-table tbody td:last-child{grid-column:1/-1}
  .exam-monitor-table tbody td:first-child strong{font-size:.95rem}
  .exam-monitor-table tbody td:nth-child(3)::before,.exam-monitor-table tbody td:nth-child(4)::before{content:attr(data-label);display:block;margin-bottom:.14rem;color:#71819b;font-size:.68rem;font-weight:700}
  .exam-monitor-table tbody td:last-child:not([hidden]){padding-top:.7rem;border-top:1px solid #edf1f7}
  .exam-monitor-table tbody td[hidden]{display:none}
  .exam-monitor-seen-cell{white-space:normal}
  .exam-monitor-row-actions .btn{min-height:34px}
  .exam-monitor-list-footer{padding:.75rem 1rem}
  .exam-monitor-help{padding:.7rem 1rem 1rem}
  .exam-monitor-history{padding:.95rem 1rem}
  .exam-monitor-events thead{display:none}
  .exam-monitor-events tbody,.exam-monitor-events tr,.exam-monitor-events td{display:block;width:100%}
  .exam-monitor-events tr{padding:.75rem .1rem;border-bottom:1px solid #e5ebf3}
  .exam-monitor-events td{padding:.1rem 0;border:0}
  .exam-monitor-events td::before{content:attr(data-label) ': ';color:#677894;font-weight:700}
}
@media(max-width:380px){.exam-monitor-stat{flex-direction:column}.exam-monitor-list-heading{flex-direction:column;gap:.5rem}.exam-monitor-list-footer{align-items:flex-start;flex-direction:column}.exam-monitor-pagination{align-self:flex-end}}

/* LMS visual system: shared navy canvas, white surfaces, and cobalt actions.
   Keep rules scoped to the app shell so the fullscreen exam stays independent. */
:root {
    --primary: #1358ef;
    --primary-dark: #0d4bdb;
    --background: #e9eef5;
    --surface: #fbfcff;
    --text: #0d2147;
    --muted: #617291;
    --border: #dce4f0;
    --sidebar: #081d42;
    --sidebar-muted: #a7b9d9;
    --radius: 1rem;
    --shadow: 0 .75rem 2rem #14294b12;
    --bs-primary: #1358ef;
    --bs-primary-rgb: 19, 88, 239;
    --bs-link-color: #1554d4;
    --bs-link-hover-color: #0b3fae;
}
.app-shell { color: var(--text); background: var(--background); }
.app-shell .app-sidebar {
    --bs-offcanvas-bg: #081d42;
    color: #f8fbff;
    background-color: #081d42 !important;
    border-right: 1px solid #17345f;
}
.app-shell .app-sidebar-header { border-bottom-color: #ffffff1c; }
.app-shell .brand-link, .app-shell .brand-link:hover { color: #fff; }
.app-shell .brand-link small, .app-shell .sidebar-label,
.app-shell .sidebar-user-copy small { color: var(--sidebar-muted); }
.app-shell .brand-mark { color: #fff; background: #155dff; box-shadow: inset 0 .1rem 0 #ffffff48; }
.sidebar-workspace-switch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin: 0 .25rem .9rem;
    padding: .65rem .75rem;
    border: 1px solid #82a9ec70;
    border-radius: .75rem;
    color: #fff;
    background: #ffffff0d;
    text-decoration: none;
}
.sidebar-workspace-switch:hover, .sidebar-workspace-switch:focus-visible {
    color: #fff;
    background: #ffffff20;
    border-color: #a8c6ff;
}
.sidebar-workspace-switch small, .sidebar-workspace-switch strong { display: block; line-height: 1.3; }
.sidebar-workspace-switch small { color: #a8bee4; font-size: .63rem; letter-spacing: .08em; }
.sidebar-workspace-switch strong { font-size: .84rem; }
.sidebar-workspace-switch-action { flex: 0 0 auto; font-size: .73rem; font-weight: 700; color: #b6ccff; }
.app-shell .user-avatar { background: #1558d4; }
.app-shell .sidebar-menu-link { color: #cedbf2; }
.app-shell .sidebar-menu-icon { color: #9db6e0; }
.app-shell .sidebar-menu-link:hover { color: #fff; background: #ffffff15; }
.app-shell .sidebar-menu-link:hover .sidebar-menu-icon { color: #fff; }
.app-shell .sidebar-menu-link.active {
    color: #fff;
    background: #1558d4;
    box-shadow: inset 0 .1rem 0 #ffffff26, .25rem .4rem .9rem #04163357;
}
.app-shell .sidebar-menu-link.active .sidebar-menu-icon { color: #fff; }
.app-shell .sidebar-menu-link.active::before { background: #91b3ff; }
.app-shell .sidebar-user { border-top-color: #ffffff26; }
.app-shell .sidebar-user-copy strong { color: #f8fbff; }
.app-shell .sidebar-user .user-avatar { color: #fff; background: #1558d4; }
.app-shell .sidebar-logout { color: #c2d2ed; }
.app-shell .sidebar-logout:hover, .app-shell .sidebar-logout:focus-visible { color: #fff; background: #a8283f; }
.app-shell .app-sidebar .btn-close { filter: invert(1) grayscale(1); }
.app-shell .app-navbar {
    border-bottom-color: var(--border);
    background: #fbfcfff0;
    box-shadow: 0 .25rem 1rem #14294b0b;
}
.app-shell .navbar-title, .app-shell .page-section-title { color: var(--text); letter-spacing: -.035em; }
.app-shell .navbar-eyebrow, .app-shell .section-eyebrow { color: #2159cf; letter-spacing: .12em; }
.app-shell .app-content { padding-top: clamp(1.25rem, 2.4vw, 2rem); padding-bottom: 2rem; }
.app-shell .welcome-panel {
    border: 1px solid #1b3f77;
    background: #081d42;
    box-shadow: 0 1.1rem 2.5rem #14294b26;
}
.app-shell .welcome-panel::before { position: absolute; inset: 0 auto 0 0; width: .35rem; background: #155dff; content: ''; }
.app-shell .welcome-panel p:last-child { color: #c4d2ed; }
.app-shell .stat-card, .app-shell .content-card, .app-shell .quiz-card,
.app-shell .class-catalog-card, .app-shell .exam-admin-overview > div {
    border-color: var(--border);
    background: var(--surface);
    box-shadow: var(--shadow);
}
.app-shell .content-card-header h2, .app-shell .exam-editor-section-heading h3 { color: var(--text); letter-spacing: -.02em; }
.app-shell .form-control, .app-shell .form-select {
    border-color: var(--border);
    border-radius: .8rem;
    color: var(--text);
    background-color: #edf2f9;
    box-shadow: inset .2rem .2rem .42rem #c9d3e282, inset -.2rem -.2rem .42rem #fff;
}
.app-shell .form-control:focus, .app-shell .form-select:focus {
    border-color: #2563eb;
    background-color: #f7faff;
    box-shadow: 0 0 0 .2rem #2563eb29, inset .12rem .12rem .3rem #c9d3e270;
}
.app-shell .form-control::placeholder { color: #7385a2; opacity: 1; }
.app-shell .form-label { color: #213657; font-weight: 700; }
.app-shell .btn { border-radius: .7rem; font-weight: 700; }
.app-shell .btn-primary {
    border-color: #164cdc;
    color: #fff;
    background: #1358ef;
    box-shadow: .25rem .4rem .8rem #1748ae29, inset 0 .08rem 0 #ffffff57;
}
.app-shell .btn-primary:hover, .app-shell .btn-primary:focus-visible { border-color: #0d4bdb; background: #0d4bdb; }
.app-shell .btn-outline-primary { border-color: #a8c3f5; color: #174bb6; background: #f8fbff; }
.app-shell .btn-outline-primary:hover, .app-shell .btn-outline-primary:focus-visible { border-color: #1358ef; color: #fff; background: #1358ef; }
.app-shell .table { --bs-table-bg: transparent; --bs-table-color: #1a3154; --bs-table-border-color: var(--border); }
.app-shell .table thead th { color: #526685; background: #eef3fa; font-size: .75rem; font-weight: 800; letter-spacing: .04em; }
.app-shell .table tbody tr:hover { background: #f1f6fe; }
.app-shell .exam-admin-item:hover, .app-shell .dashboard-list > a:hover { background: #f1f6fe; }
.app-shell :is(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
@media (max-width: 991.98px) {
    .app-shell .app-sidebar { box-shadow: .6rem 0 2rem #06163340; }
}

/* List pagination and reusable create/edit dialog. */
.exam-admin-item-main { flex: 1 1 auto; color: inherit; text-decoration: none; }
.exam-admin-item-main:hover, .exam-admin-item-main:focus-visible { color: #1554d4; }
.exam-admin-item-actions { display: flex; flex: 0 0 auto; align-items: center; gap: .7rem; }
.exam-admin-item-action { text-decoration: none; }
.exam-admin-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .7rem; margin-top: 1.2rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.exam-admin-pagination[hidden] { display: none; }
.exam-page-summary { color: var(--muted); font-size: .82rem; }
.exam-page-controls { display: flex; flex-wrap: wrap; gap: .3rem; }
.exam-page-button { min-width: 2.3rem; min-height: 2.3rem; padding: .35rem .6rem; border: 1px solid #c7d7ef; border-radius: .55rem; color: #174bb6; background: #fff; font-size: .82rem; font-weight: 700; }
.exam-page-button:hover:not(:disabled) { border-color: #1358ef; background: #edf4ff; }
.exam-page-button.active { border-color: #1358ef; color: #fff; background: #1358ef; }
.exam-page-button:disabled { opacity: .45; cursor: not-allowed; }
.lms-form-modal { width: min(94vw, 72rem); max-width: 72rem; max-height: 92dvh; padding: 0; border: 1px solid #dce4f0; border-radius: 1.1rem; color: var(--text); background: #e9eef5; box-shadow: 0 1.5rem 4rem #071c3e70; overflow: auto; }
.lms-form-modal:not([open]) { display: none; }
.school-attachment-dialog { width: min(94vw, 26rem); }
.lms-form-modal::backdrop { background: #081d42b8; }
.lms-form-modal-header { position: sticky; z-index: 2; top: 0; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border); background: #fbfcfff2; backdrop-filter: blur(10px); }
.lms-form-modal-header h2 { margin: 0; font-size: clamp(1.1rem, 2.6vw, 1.4rem); font-weight: 800; }
.lms-form-modal-close { display: grid; width: 2.3rem; height: 2.3rem; flex: 0 0 2.3rem; place-items: center; border: 1px solid var(--border); border-radius: .55rem; color: #253b60; background: #fff; font-size: 1.5rem; line-height: 1; }
.lms-form-modal-close:hover { background: #edf4ff; }
.lms-form-modal-message { margin: 1rem 1.25rem 0; }
.lms-form-modal-message[hidden] { display: none; }
.lms-form-modal-content { padding: 1.25rem; }
.lms-form-modal-content > .form-card { max-width: none; }
.lms-form-modal-content > .form-card > .content-card-header { display: none; }
.lms-form-modal .content-card { border-color: var(--border); background: #fbfcff; box-shadow: var(--shadow); }
.lms-form-modal .form-control, .lms-form-modal .form-select { border-color: var(--border); border-radius: .8rem; color: var(--text); background-color: #edf2f9; box-shadow: inset .2rem .2rem .42rem #c9d3e282, inset -.2rem -.2rem .42rem #fff; }
.lms-form-modal .form-control:focus, .lms-form-modal .form-select:focus { border-color: #2563eb; background-color: #f7faff; box-shadow: 0 0 0 .2rem #2563eb29; }
.lms-form-modal .btn { border-radius: .7rem; font-weight: 700; }
.lms-form-modal .btn-primary { border-color: #164cdc; color: #fff; background: #1358ef; }
.lms-form-modal-content .exam-editor-guide { position: static; }
.lms-form-modal-content .exam-editor-grid { grid-template-columns: minmax(0, 1fr) minmax(12rem, 16rem); }
.lms-form-modal :is(input, select, textarea, button, a):focus-visible { outline: 2px solid #2563eb; outline-offset: 2px; }
@media (max-width: 850px) {
    .lms-form-modal-content .exam-editor-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .exam-admin-item { align-items: stretch; flex-wrap: wrap; }
    .exam-admin-item-actions { width: 100%; justify-content: space-between; }
    .exam-admin-item-action { font-size: .82rem; }
    .exam-admin-pagination { align-items: flex-start; }
    .lms-form-modal { width: 100vw; max-width: none; height: 100dvh; max-height: 100dvh; border: 0; border-radius: 0; }
    .lms-form-modal-content { padding: 1rem; }
    .lms-form-modal-content > .form-card { padding: 1rem; }
}

/* Logged-in exam: keep the toolbar and Form inside one exact viewport. */
body.exam-take-active { overflow: hidden; background: #fff; }
body.exam-take-active .app-sidebar,
body.exam-take-active .app-navbar,
body.exam-take-active .app-footer { display: none !important; }
body.exam-take-active .app-shell { min-height: 100vh; min-height: 100dvh; background: #fff; }
body.exam-take-active .app-main { min-height: 100vh; min-height: 100dvh; margin-left: 0 !important; }
body.exam-take-active .app-content { max-width: none; min-height: 100vh; min-height: 100dvh; padding: 0 !important; }
.member-exam-shell,
.member-exam-shell:fullscreen {
    display: flex;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    min-height: 100vh;
    min-height: 100dvh;
    flex-direction: column;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    overflow: hidden;
    background: #fff;
    box-shadow: none;
}
.member-exam-toolbar { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .35rem 1rem; min-height: 3.2rem; padding: .45rem .75rem; border-bottom: 1px solid #dce4f0; background: #fbfcff; }
.member-exam-toolbar-details { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1rem; min-width: 0; }
.member-exam-toolbar-details #examCountdown { white-space: nowrap; }
.member-exam-toolbar .exam-toolbar-actions { margin-left: auto; }
.member-exam-toolbar .btn { white-space: nowrap; }
.member-exam-shell .external-exam-frame { position: static; width: 100%; height: 0; min-height: 0; flex: 1 1 auto; border: 0; border-radius: 0; }
.member-exam-shell #examNetwork { flex: 0 0 auto; margin: .5rem; }
@media (max-width: 600px) {
    .member-exam-toolbar { display: grid; grid-template-columns: minmax(0, 1fr); gap: .35rem; padding: .5rem .65rem .45rem; }
    .member-exam-toolbar-details { width: auto; gap: .2rem .65rem; font-size: .8rem; line-height: 1.25; }
    .member-exam-toolbar .exam-toolbar-actions { justify-content: flex-end; margin-left: 0; }
    .member-exam-toolbar .btn { min-height: 2rem; padding: .28rem .55rem; font-size: .76rem; }
}

/* Profile identity card: a restrained neon beam travels around its edge. */
.profile-identity-card {
    position: relative;
    isolation: isolate;
    width: min(100%, 26rem);
    min-height: 27rem;
    margin-inline: auto;
    padding: 3px;
    overflow: hidden;
    border-radius: 1.45rem 3rem 1.45rem 1.45rem;
    background: #263c8f;
    box-shadow: 0 1.15rem 2rem #07163832, 0 .35rem .7rem #0716381c;
    transition: transform .5s ease, box-shadow .5s ease;
}
.profile-identity-card::before {
    position: absolute;
    z-index: 0;
    inset: -100%;
    background: conic-gradient(transparent 0deg 205deg, #36e8ff 246deg, #b76dff 280deg, #ff74c9 311deg, transparent 337deg);
    filter: drop-shadow(0 0 7px #68dfff);
    animation: profile-border-orbit 4s linear infinite, profile-border-pulse 2s ease-in-out infinite;
    content: '';
}
.profile-identity-card:hover,
.profile-identity-card:focus-within { transform: translateY(-3px); box-shadow: 0 1.5rem 2.6rem #07163840, 0 0 1.5rem #6a7cdb38; }
.profile-identity-inner {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: calc(27rem - 6px);
    flex-direction: column;
    padding: 1.3rem;
    overflow: hidden;
    border-radius: calc(1.45rem - 3px) calc(3rem - 3px) calc(1.45rem - 3px) calc(1.45rem - 3px);
    color: #fff;
    background: linear-gradient(145deg, #081d42 0%, #173287 43%, #6428ae 76%, #a01e92 100%);
}
.profile-identity-inner::after { position: absolute; z-index: -1; top: -6rem; right: -7rem; width: 21rem; height: 21rem; border-radius: 50%; background: radial-gradient(circle, #e19aff38, transparent 69%); content: ''; }
.profile-identity-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; color: #e2eaff; font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.profile-identity-top .bi { color: #c9deff; font-size: 1.25rem; }
.profile-identity-portrait { display: grid; flex: 1; place-items: center; padding: 1.75rem 0 1.25rem; }
.profile-identity-card .profile-photo { width: 7.6rem; height: 7.6rem; border: .35rem solid #ffffffcb; box-shadow: 0 .8rem 1.6rem #08132d57, 0 0 1.4rem #bba1ff8c; }
.profile-identity-card .profile-photo-fallback { background: linear-gradient(145deg, #1d71e6, #7639df); }
.profile-identity-footer { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: .75rem; padding: 1rem 1.1rem; border: 1px solid #ffffff24; border-radius: 1rem 2rem 1rem 1rem; background: linear-gradient(90deg, #071632bb, #301260bc); backdrop-filter: blur(14px); }
.profile-identity-footer > div { min-width: 0; flex: 1 1 11rem; }
.profile-identity-label { color: #bfd5ff; font-size: .65rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.profile-identity-footer h2 { margin: .35rem 0 .1rem; color: #fff; font-size: clamp(1.2rem, 2vw, 1.55rem); font-weight: 800; line-height: 1.2; overflow-wrap: anywhere; }
.profile-identity-footer p { margin: 0; color: #dce5ff; font-size: .85rem; }
.profile-identity-footer .badge { align-self: flex-end; }
@keyframes profile-border-orbit { to { transform: rotate(360deg); } }
@keyframes profile-border-pulse {
    0%, 100% { opacity: .67; filter: drop-shadow(0 0 5px #68dfff); }
    25%, 75% { opacity: 1; filter: drop-shadow(0 0 12px #ac8eff); }
    50% { opacity: .78; filter: drop-shadow(0 0 8px #ff83d4); }
}
@media (max-width: 575px) { .profile-identity-card { min-height: 24rem; } .profile-identity-inner { min-height: calc(24rem - 6px); } }
@media (prefers-reduced-motion: reduce) { .profile-identity-card::before { animation: none; } .profile-identity-card { transition: none; } }

/* Soft UI: tactile surfaces and a restrained iridescent wave on the dashboard card. */
.app-shell {
    --neo-canvas: #e7edf5;
    --neo-surface: #edf3fa;
    --neo-raised: -.55rem -.55rem 1.15rem #ffffffd9, .6rem .7rem 1.35rem #aab9ce7a;
    --neo-pressed: inset .22rem .22rem .48rem #bac8da9c, inset -.22rem -.22rem .48rem #ffffffd9;
    background: var(--neo-canvas);
}
.app-shell .app-content { background: var(--neo-canvas); }
.app-shell .welcome-panel {
    min-height: 15.5rem;
    padding: clamp(1.5rem, 3.6vw, 2.5rem);
    border: 1px solid #f6f9fd;
    border-radius: 1.75rem;
    color: #102b51;
    background: linear-gradient(135deg, #f2f7fd, #e5edf6 75%);
    box-shadow: var(--neo-raised);
}
.app-shell .welcome-panel::before { display: none; }
.app-shell .welcome-panel::after {
    width: 22rem;
    height: 22rem;
    right: 14rem;
    bottom: -17rem;
    border: 0;
    background: radial-gradient(circle, #a3c5f359, transparent 70%);
}
.app-shell .welcome-panel .section-eyebrow { color: #3461ae; }
.app-shell .welcome-panel h2 { color: #0d2750; letter-spacing: -.045em; }
.app-shell .welcome-panel p:last-child { color: #526780; }
.neo-hero-card {
    position: relative;
    isolation: isolate;
    flex: 0 0 min(33%, 19rem);
    width: min(33%, 19rem);
    height: 11.5rem;
    overflow: hidden;
    border: 1px solid #ffffff;
    border-radius: 1.4rem;
    color: #273c5c;
    background: linear-gradient(145deg, #f5f9ff, #dfebf8);
    box-shadow: -.45rem -.45rem .9rem #fff, .65rem .75rem 1.25rem #96a9c2a6, inset .08rem .08rem .15rem #fff;
    transform: rotate(-3deg);
    transition: transform .35s ease, box-shadow .35s ease;
}
.neo-hero-card:hover { transform: rotate(0) translateY(-3px); box-shadow: -.5rem -.5rem 1rem #fff, .8rem 1rem 1.5rem #91a5c0b3; }
.neo-hero-card-top, .neo-hero-card-copy, .neo-hero-card-index { position: relative; z-index: 2; }
.neo-hero-card-top { display: flex; align-items: flex-start; justify-content: space-between; padding: 1rem 1.1rem; }
.neo-hero-emblem { display: grid; width: 2.1rem; height: 2.1rem; place-items: center; border-radius: .55rem; color: #2c5ba0; background: #e6f0fc; box-shadow: var(--neo-pressed); }
.neo-hero-dots { display: flex; gap: .22rem; padding-top: .25rem; }
.neo-hero-dots i { width: .23rem; height: .23rem; border-radius: 50%; background: #8ba6c6; }
.neo-hero-card-copy { display: grid; gap: .26rem; padding: .6rem 1.25rem; }
.neo-hero-card-copy span { font-size: .65rem; font-weight: 800; letter-spacing: .16em; }
.neo-hero-card-copy strong { max-width: 13rem; font-size: clamp(1rem, 1.5vw, 1.25rem); line-height: 1.15; }
.neo-hero-wave {
    position: absolute;
    z-index: 0;
    width: 14rem;
    height: 10rem;
    left: -5.8rem;
    bottom: -5.5rem;
    border-radius: 45% 65% 25% 0;
    background: linear-gradient(135deg, #37d6e8 12%, #4669e7 42%, #b963e6 68%, #ffae88 94%);
    transform: rotate(-22deg);
    box-shadow: .45rem -.32rem 0 #e4ecfb, 1rem -.62rem 0 #cbdcf1, 1.55rem -.87rem 0 #f7fbff;
}
.neo-hero-card-index { position: absolute; right: 1.1rem; bottom: 1rem; color: #5e7495; font-size: .64rem; font-weight: 800; letter-spacing: .12em; }
.app-shell .stat-card, .app-shell .content-card, .app-shell .quiz-card,
.app-shell .class-catalog-card, .app-shell .exam-admin-overview > div {
    border: 1px solid #f8fbff;
    border-radius: 1.3rem;
    background: var(--neo-surface);
    box-shadow: var(--neo-raised);
}
.app-shell .stat-card { min-height: 9.2rem; align-items: center; padding: 1.25rem; }
.app-shell .stat-icon { width: 3.15rem; height: 3.15rem; flex-basis: 3.15rem; border: 1px solid #ffffffbd; border-radius: 1rem; box-shadow: -.22rem -.22rem .5rem #fff, .26rem .3rem .55rem #b6c5d9; }
.app-shell .stat-value { color: #102e59; letter-spacing: -.055em; }
.app-shell .content-card { padding: clamp(1.15rem, 2.7vw, 1.65rem); }
.app-shell .form-control, .app-shell .form-select { background-color: #e7eef7; box-shadow: var(--neo-pressed); }
.app-shell .btn-outline-primary, .app-shell .btn-outline-secondary { border-color: #d6e3f3; background: #edf3fa; box-shadow: -.18rem -.18rem .4rem #fff, .22rem .25rem .45rem #b9c8dc8c; }
.app-shell .btn-primary { box-shadow: -.16rem -.16rem .35rem #ffffffa6, .25rem .32rem .65rem #89a4d1a6, inset 0 .07rem 0 #ffffff70; }
.app-shell .btn:active { transform: translateY(1px); box-shadow: var(--neo-pressed); }
.workspace-select-page .workspace-select-card {
    border: 1px solid #fff;
    border-radius: 1.6rem;
    background: #edf3fa;
    box-shadow: -.7rem -.7rem 1.35rem #fff, .9rem 1rem 1.8rem #adbbcf9c;
}
.workspace-select-page .workspace-choice {
    min-height: 11rem;
    border: 1px solid #f9fcff;
    border-radius: 1.2rem;
    color: #174782;
    background: linear-gradient(145deg, #f6faff, #e5eef9);
    box-shadow: -.38rem -.38rem .85rem #fff, .44rem .52rem 1rem #acbdd3ad;
    transition: transform .22s ease, box-shadow .22s ease;
}
.workspace-select-page .workspace-choice:hover, .workspace-select-page .workspace-choice:focus-visible {
    transform: translateY(-3px);
    border-color: #aec8f2;
    color: #0e3c76;
    background: linear-gradient(145deg, #f8fbff, #eaf2fc);
    box-shadow: -.42rem -.42rem .9rem #fff, .58rem .7rem 1.2rem #9eafc8b5;
}
.workspace-select-page .workspace-choice:active { transform: translateY(0); box-shadow: inset .25rem .25rem .55rem #bfd0e3, inset -.25rem -.25rem .55rem #fff; }
.workspace-select-page .workspace-choice .badge { background: #256d59 !important; }
@media (max-width: 767.98px) {
    .app-shell .welcome-panel { min-height: 0; gap: 1.25rem; }
    .neo-hero-card { width: 10rem; height: 9rem; flex-basis: 10rem; }
    .neo-hero-card-copy { padding: 0 1rem; }
    .neo-hero-card-copy strong { font-size: .95rem; }
}
@media (max-width: 575.98px) {
    .app-shell .welcome-panel { display: grid; grid-template-columns: minmax(0, 1fr) 7.5rem; padding: 1.15rem; border-radius: 1.25rem; }
    .app-shell .welcome-panel h2 { font-size: 1.35rem; }
    .app-shell .welcome-panel p:last-child { font-size: .82rem; }
    .neo-hero-card { width: 7.5rem; height: 8.1rem; flex-basis: auto; border-radius: 1rem; }
    .neo-hero-card-top { padding: .6rem; }
    .neo-hero-emblem { width: 1.7rem; height: 1.7rem; }
    .neo-hero-card-copy { padding: .15rem .7rem; }
    .neo-hero-card-copy span { font-size: .45rem; }
    .neo-hero-card-copy strong { font-size: .78rem; }
    .neo-hero-card-index { right: .5rem; bottom: .5rem; font-size: .43rem; }
    .app-shell .stat-card { min-height: 8.2rem; padding: .9rem; }
}
@media (prefers-reduced-motion: reduce) { .neo-hero-card { transition: none; } }
@media (prefers-reduced-motion: reduce) { .workspace-select-page .workspace-choice { transition: none; } }
@media (max-width: 350px) {
    .app-shell .welcome-panel { grid-template-columns: minmax(0, 1fr); }
    .neo-hero-card { width: 10rem; height: 8.2rem; margin-left: auto; }
}
.school-subject-list { display: grid; gap: .55rem; max-height: 25rem; padding: .2rem; overflow-y: auto; }
.school-subject-tabs { min-width: 0; }
@media (max-width: 600px) {
    .school-subject-tabs { flex-wrap: nowrap !important; overflow-x: auto; padding: .25rem .15rem .7rem; scroll-snap-type: x proximity; }
    .school-subject-tabs .btn { flex: 0 0 auto; scroll-snap-align: start; }
}
.school-subject-row { display: grid; grid-template-columns: minmax(0,1fr) auto auto; align-items: center; gap: .55rem; }
.school-subject-row .form-check-label { display: inline-flex; align-items: center; gap: .3rem; font-size: .8rem; }
.school-hub-heading { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-bottom: 1.1rem; }
.school-hub-heading .page-section-title { margin: 0; font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
.school-hub-counts { display: flex; flex-wrap: wrap; gap: .45rem; }
.school-hub-counts span { display: inline-flex; align-items: baseline; gap: .35rem; padding: .5rem .7rem; border: 1px solid #f8fbff; border-radius: .7rem; color: #526885; background: #eaf1f9; box-shadow: -.18rem -.18rem .4rem #fff, .2rem .25rem .5rem #b8c7d9a6; font-size: .75rem; }
.school-hub-counts strong { color: #163d74; font-size: .95rem; }
.school-hub-tabs { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: .65rem; margin-bottom: 1.5rem; }
.school-hub-tab { display: grid; gap: .15rem; min-height: 4rem; padding: .75rem .9rem; border: 1px solid #f8fbff; border-radius: .95rem; color: #526885; background: #edf3fa; box-shadow: -.25rem -.25rem .55rem #fff, .3rem .35rem .75rem #b7c7dba6; text-decoration: none; }
.school-hub-tab strong { color: #1f3e65; font-size: .88rem; }
.school-hub-tab small { font-size: .7rem; }
.school-hub-tab:hover, .school-hub-tab:focus-visible { color: #1649a0; border-color: #c4d8fa; }
.school-hub-tab.active { border-color: #1558d4; color: #e4eeff; background: #1558d4; box-shadow: inset 0 .08rem 0 #ffffff47, .3rem .35rem .8rem #8aa8db91; }
.school-hub-tab.active strong { color: #fff; }
.school-hub-intro { border-left: .35rem solid #1558d4 !important; }
.school-step-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.school-step-card { display: flex; gap: 1rem; min-height: 13rem; padding: 1.35rem; border: 1px solid #f8fbff; border-radius: 1.25rem; color: #173353; background: #edf3fa; box-shadow: -.4rem -.4rem .85rem #fff, .5rem .55rem 1rem #afc0d7a3; text-decoration: none; }
.school-step-card:hover, .school-step-card:focus-visible { color: #1646a2; transform: translateY(-2px); }
.school-step-number { display: grid; width: 2.5rem; height: 2.5rem; flex: 0 0 2.5rem; place-items: center; border-radius: .7rem; color: #1358d4; background: #e2edfc; box-shadow: inset .13rem .13rem .35rem #c7d7eb, inset -.13rem -.13rem .35rem #fff; font-weight: 800; }
.school-step-card h3 { margin: .05rem 0 .55rem; font-size: 1.05rem; font-weight: 800; }
.school-step-card p { margin: 0; color: #5f7088; font-size: .8rem; line-height: 1.5; }
.school-step-state { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1rem; color: #1554ba; font-size: .75rem; font-weight: 800; }
.school-section-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin: .35rem 0 1.2rem; }
.school-section-heading h3 { margin: 0; font-size: clamp(1.3rem,2vw,1.7rem); font-weight: 800; }
.school-section-heading p:last-child { max-width: 43rem; margin: .35rem 0 0; color: #617291; font-size: .85rem; }
.school-simple-list { display: grid; gap: .4rem; }
.school-simple-list > div { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .25rem .75rem; padding: .65rem .75rem; border-radius: .65rem; background: #e5edf7; font-size: .8rem; }
.school-simple-list small { color: #657895; }
.school-content-filter { max-width: 100%; min-width: 0; }
.school-content-filter .form-select { min-width: 0; width: min(18rem, 100%); }
@media (max-width: 575.98px) {
    .school-content-filter { width: 100%; flex-wrap: wrap; }
    .school-content-filter .form-select { width: 100%; flex: 1 1 100%; }
}
.school-detail { border: 1px solid #d7e2f0; border-radius: .85rem; background: #f1f6fc; }
.school-detail > summary { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .8rem 1rem; color: #1d426f; cursor: pointer; font-size: .85rem; font-weight: 750; list-style: none; }
.school-detail > summary::-webkit-details-marker { display: none; }
.school-detail > summary::after { content: '⌄'; font-size: 1.1rem; line-height: 1; }
.school-detail[open] > summary::after { transform: rotate(180deg); }
.school-detail > summary:focus-visible { outline: 2px solid #1558d4; outline-offset: 2px; }
.school-class-list { display: grid; grid-template-columns: minmax(0,1fr); width: 100%; min-width: 0; gap: .75rem; }
.school-class-detail { min-width: 0; max-width: 100%; }
.school-class-detail > summary { flex-wrap: wrap; min-width: 0; }
.school-class-detail > summary span:first-child { display: grid; min-width: 0; gap: .2rem; }
.school-class-detail > summary small, .school-homeroom-summary { color: #667b97; font-size: .73rem; font-weight: 500; }
.school-homeroom-summary { min-width: 0; overflow-wrap: anywhere; }
.school-class-body { min-width: 0; max-width: 100%; padding: 0 1rem 1rem; }
.school-class-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .8rem; }
.school-class-actions form { min-width: 0; }
.school-class-actions .d-flex > .form-select { min-width: 0; flex: 1 1 auto; }
.school-teacher-form { display: flex; min-width: 12rem; gap: .4rem; }
.school-teacher-form select { min-width: 8rem; }
.school-assigned-teachers { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.school-people-list { padding: .65rem 1rem !important; }
.school-people-list > summary { padding: .35rem 0; }
.school-people-list .table-responsive { max-height: 25rem; overflow-y: auto; }
.school-homeroom-tabs { display: flex; flex-wrap: wrap; gap: .65rem; }
.school-homeroom-tabs a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .55rem .95rem; border: 1px solid #f8fbff; border-radius: .8rem; color: #24466f; background: #edf3fa; box-shadow: -.2rem -.2rem .5rem #fff, .25rem .3rem .65rem #b7c7dba6; font-size: .85rem; font-weight: 750; text-decoration: none; }
.school-homeroom-tabs a.active { color: #fff; background: #1558d4; border-color: #1558d4; }
.school-homeroom-tabs a:focus-visible { outline: 2px solid #1558d4; outline-offset: 2px; }
.btq-history-cards { display: none; gap: .75rem; }
.btq-history-card { padding: .9rem; border: 1px solid #d8e4f4; border-radius: .9rem; background: #f4f8fd; }
.btq-history-card-top { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: .2rem .65rem; margin-bottom: .5rem; }
.btq-history-card-top strong { color: #17365f; }
.btq-history-card-top small { color: #667b97; }
.btq-pagination { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .6rem; margin-top: 1rem; color: #526885; font-size: .8rem; }
.btq-pagination .disabled { pointer-events: none; opacity: .45; }
.btq-delete-dialog { width: min(100% - 2rem, 28rem); max-width: none; margin: auto; padding: 1.7rem; border: 1px solid #fff; border-radius: 1.3rem; color: #17365f; background: #f2f6fc; box-shadow: -.55rem -.55rem 1.15rem #ffffffb3, .75rem .85rem 2rem #112f5680; }
.btq-delete-dialog::backdrop { background: #102b52a8; backdrop-filter: blur(3px); }
.btq-delete-dialog-icon { display: grid; width: 2.8rem; height: 2.8rem; place-items: center; margin-bottom: 1rem; border-radius: .8rem; color: #b42335; background: #fde6e9; box-shadow: inset .15rem .15rem .35rem #efc9d0, inset -.15rem -.15rem .35rem #fff; font-size: 1.45rem; font-weight: 800; }
.btq-delete-dialog h3 { margin: 0 0 .6rem; font-size: 1.25rem; font-weight: 800; }
.btq-delete-dialog p { line-height: 1.5; }
.btq-delete-dialog-hint { color: #60728c; font-size: .82rem; }
.btq-delete-dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .6rem; margin-top: 1.35rem; }
.btq-edit-dialog { width: min(100% - 1.25rem, 53rem); max-width: none; max-height: min(90dvh, 50rem); margin: auto; padding: 1.5rem; border: 1px solid #fff; border-radius: 1.25rem; color: #17365f; background: #f2f6fc; box-shadow: -.55rem -.55rem 1.15rem #ffffffb3, .75rem .85rem 2rem #112f5680; overflow-y: auto; }
.btq-edit-dialog::backdrop { background: #102b52a8; backdrop-filter: blur(3px); }
.btq-edit-dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.3rem; }
.btq-edit-dialog-heading h3 { margin: 0 0 .3rem; font-size: 1.35rem; font-weight: 800; }
.btq-edit-close { display: grid; width: 2.25rem; height: 2.25rem; flex: 0 0 2.25rem; place-items: center; border: 1px solid #d1deee; border-radius: .65rem; color: #49617e; background: #f6f9fd; box-shadow: -.12rem -.12rem .3rem #fff, .18rem .2rem .45rem #b7c7db9e; font-size: 1.4rem; line-height: 1; }
.btq-edit-close:hover { color: #174ca1; }
@media (max-width: 575.98px) { .btq-edit-dialog { padding: 1.1rem; border-radius: 1rem; } .btq-edit-dialog-heading h3 { font-size: 1.15rem; } }
.btq-surah-picker { position: relative; }
.btq-surah-native-hidden { position: absolute !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.btq-surah-search { padding-right: 2.35rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23677d9b' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m16 16 4 4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right .8rem center; }
.btq-surah-results { position: absolute; z-index: 1050; top: calc(100% + .3rem); left: 0; right: 0; max-height: 17rem; overflow-y: auto; padding: .3rem; border: 1px solid #cbd9eb; border-radius: .75rem; background: #f8fbff; box-shadow: 0 .8rem 1.7rem #193a6760; }
.btq-surah-results[hidden] { display: none; }
.btq-surah-option { display: block; width: 100%; padding: .55rem .7rem; border: 0; border-radius: .45rem; color: #17365f; background: transparent; text-align: left; font-size: .86rem; }
.btq-surah-option:hover, .btq-surah-option.active { color: #fff; background: #1558d4; }
.btq-surah-no-result { margin: 0; padding: .65rem; color: #64748b; font-size: .84rem; }
@media (max-width: 575.98px) {
    .btq-history-table { display: none; }
    .btq-history-cards:not([hidden]) { display: grid; }
}
@media (max-width: 575.98px) {
    .school-subject-row { grid-template-columns: minmax(0,1fr) auto; }
    .school-subject-row .form-control { grid-column: 1 / -1; }
    .school-class-detail > summary { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .2rem .55rem; }
    .school-class-detail > summary span:first-child { grid-column: 1; grid-row: 1; }
    .school-class-detail > summary .school-homeroom-summary { grid-column: 1; grid-row: 2; }
    .school-class-detail > summary::after { grid-column: 2; grid-row: 1 / 3; align-self: center; }
}
@media (max-width: 767.98px) {
    .school-hub-tabs { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .school-step-grid { grid-template-columns: 1fr; }
    .school-step-card { min-height: 0; }
    .school-class-actions { grid-template-columns: 1fr; }
}

/* Soal LMS: bank soal dan penyusun dengan bidang Soft UI. */
.native-readiness { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .8rem; margin: 1rem 0 1.2rem; padding: .75rem 1rem; border: 1px solid #dce5f2; border-radius: 1rem; background: #e7edf7; box-shadow: inset 4px 4px 9px #cbd5e5, inset -4px -4px 9px #fff; color: #10284f; }
.native-readiness > strong { font-size: .85rem; }
.native-readiness-pill { padding: .35rem .7rem; border-radius: 999px; background: #f5f8fd; box-shadow: 3px 3px 7px #ccd5e4, -3px -3px 7px #fff; color: #1454bc; font-size: .78rem; font-weight: 750; }
.native-readiness-hint { color: #6b4a0e; font-size: .78rem; }
.native-editor-mobile-tabs { display: none; }
.native-workbench { grid-template-columns: minmax(17rem, 22rem) minmax(0, 1fr); gap: 1.35rem; }
.native-question-panel, .native-editor { border: 1px solid #edf2fb; border-radius: 1.35rem; background: #e7edf7; box-shadow: 10px 12px 24px #bfcadc, -9px -9px 23px #fff; }
.native-question-panel { min-width: 0; }
.native-panel-actions { display: grid; grid-template-columns: minmax(0,1fr) auto; }
.native-question-search, .native-editor .form-control, .native-editor .form-select { border-color: #d3deed; background: #edf2f9; box-shadow: inset 3px 3px 6px #c9d4e4, inset -3px -3px 7px #fff; }
.native-question-item { position: relative; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: flex-start; gap: .5rem; border: 0; border-radius: .9rem; background: #e8eef8; box-shadow: 5px 6px 11px #cbd5e5, -5px -5px 10px #fff; }
.native-question-item.is-selected { background: #eaf1ff; box-shadow: inset 0 0 0 2px #2b66ef, 4px 5px 9px #cbd5e5; }
.native-question-item-summary { display: flex; flex: 1 1 0; align-items: flex-start; gap: .65rem; min-width: 0; color: #10284f; text-decoration: none; }
.native-question-item-summary:hover { color: #1558df; }
.native-question-item-summary:focus-visible, .native-question-item-actions > summary:focus-visible, .native-answer-key:focus-within, .native-item-upload:focus-within, .native-image-upload:focus-within { outline: 3px solid #6e5cff; outline-offset: 2px; }
.native-question-item-actions { display: block; align-self: start; min-width: 0; }
.native-question-item-actions > summary { display: grid; width: 2rem; height: 2rem; place-items: center; border-radius: .6rem; background: #f4f7fc; box-shadow: 3px 3px 7px #cad4e3, -3px -3px 7px #fff; cursor: pointer; font-size: 1.1rem; font-weight: 800; list-style: none; }
.native-question-item-actions > summary::-webkit-details-marker { display: none; }
.native-question-item.is-menu-open { z-index: 20; }
.native-question-menu { position: absolute; top: calc(100% - .15rem); right: .7rem; z-index: 21; display: grid; gap: .25rem; width: min(13.5rem,calc(100% - 1.4rem)); padding: .45rem; border: 1px solid #d8e2f1; border-radius: .8rem; background: #f8faff; box-shadow: 7px 9px 21px #253d6380, -3px -3px 9px #fff; }
.native-question-menu form { margin: 0; }
.native-question-menu .btn { display: block; width: 100%; min-height: 2.2rem; padding: .4rem .55rem; border: 0; border-radius: .5rem; background: transparent; color: #17345f; text-align: left; font-size: .82rem; font-weight: 700; box-shadow: none; }
.native-question-menu .btn:hover, .native-question-menu .btn:focus-visible { background: #e7effc; color: #164ed3; }
.native-question-menu .btn-outline-danger { color: #ba2339; }
.native-question-menu .btn-outline-danger:hover, .native-question-menu .btn-outline-danger:focus-visible { background: #fff0f2; color: #a7182e; }
.native-new-question-active { margin-top: .8rem; padding: .9rem 1rem; border: 1.5px dashed #3572ec; border-radius: .85rem; color: #1652b8; font-size: .83rem; font-weight: 800; }
.native-delete-dialog { width: min(25rem,calc(100vw - 2rem)); padding: 1.4rem; border: 1px solid #e2e8f2; border-radius: 1rem; background: #f5f8fd; color: #0d2147; box-shadow: 12px 16px 32px #13284740; }
.native-delete-dialog::backdrop { background: #061b3c99; backdrop-filter: blur(3px); }
.native-delete-dialog h3 { margin: 0 0 .45rem; font-size: 1.2rem; font-weight: 850; }
.native-delete-dialog p { color: #52647e; }
.native-delete-dialog > div { display: flex; justify-content: flex-end; gap: .5rem; }
.native-editor-heading { border-bottom: 0; margin-bottom: .75rem; }
.native-field-heading { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .5rem; margin-bottom: .5rem; }
.native-field-heading .form-label { margin: 0; }
.native-image-upload, .native-item-upload { position: relative; overflow: hidden; cursor: pointer; }
.native-image-upload input, .native-item-upload input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.native-editor .native-item-row { margin: .65rem 0; padding: 0; border: 0; background: transparent; }
.native-item-line { display: grid; grid-template-columns: 2.8rem minmax(0,1fr) 2.55rem 2.55rem; align-items: stretch; gap: .55rem; }
.native-item-letter, .native-item-upload, .native-item-remove { display: grid; min-height: 2.9rem; place-items: center; border: 0; border-radius: .7rem; background: #eef3fa; box-shadow: 4px 4px 8px #c7d2e2, -4px -4px 8px #fff; color: #0d2147; font-weight: 800; }
.native-answer-key { position: relative; cursor: pointer; }
.native-answer-key input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.native-answer-key:has(input:checked) .native-item-letter { background: #128448; color: #fff; box-shadow: inset 2px 2px 5px #076c34, 3px 4px 8px #90cba9; }
.native-item-upload, .native-item-remove { cursor: pointer; font-size: 1.1rem; }
.native-item-remove { color: #c63343; }
.native-item-remove[hidden] { display: none; }
.native-item-number { color: #2858d5; }
.native-editor .native-item-text, .native-editor #questionPrompt { overflow-y: hidden; resize: none; }
.native-editor .native-item-text { min-height: 2.9rem; }
.native-item-attachment { display: flex; align-items: center; flex-wrap: wrap; gap: .6rem; padding-left: 3.35rem; }
.native-item-attachment:empty { display: none; }
.native-add-item { width: 100%; margin-top: .55rem; border-style: dashed; }
.native-add-item[hidden], #addCategory[hidden] { display: none; }
.native-options-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: .85rem; }
.native-options-heading h4 { margin: 0 0 .2rem; }
.native-paste-action { position: relative; flex: none; }
.native-paste-action > button { white-space: nowrap; }
.native-paste-action > button[hidden] { display: none; }
.native-paste-tooltip { position: absolute; z-index: 12; top: calc(100% + .55rem); right: 0; width: min(19rem, calc(100vw - 3rem)); padding: .75rem .9rem; border: 1px solid #c9d8ee; border-radius: .8rem; background: #f8fbff; color: #17345c; box-shadow: 6px 8px 18px #aebed3; font-size: .82rem; line-height: 1.45; opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-.25rem); transition: opacity .15s ease, transform .15s ease, visibility .15s ease; }
.native-paste-action:hover .native-paste-tooltip, .native-paste-action:focus-within .native-paste-tooltip { opacity: 1; visibility: visible; transform: translateY(0); }
.native-paste-action:has(> button[hidden]) .native-paste-tooltip { display: none; }
@media (max-width: 440px) { .native-options-heading { flex-wrap: wrap; } .native-paste-action { margin-left: auto; } }
.native-paste-dialog { box-sizing: border-box; width: min(94vw, 560px); max-height: 90vh; border: 1px solid #d8e3f3; border-radius: 22px; padding: 0; color: #13284d; background: #edf3fc; box-shadow: 16px 20px 45px #a9b9d0, -8px -8px 25px #fff; }
.native-paste-dialog::backdrop { background: #10234f99; }
.native-paste-dialog-body { padding: clamp(1.1rem, 4vw, 1.7rem); overflow-y: auto; max-height: 90vh; }
.native-paste-dialog h3 { font-size: 1.35rem; font-weight: 800; }
.native-paste-dialog p { line-height: 1.5; }
.native-paste-preview { display: grid; gap: .45rem; margin-top: 1rem; }
.native-paste-preview-row { display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .75rem; align-items: start; padding: .65rem .8rem; border-radius: .7rem; background: #fff; border: 1px solid #dce5f2; overflow-wrap: anywhere; }
.native-paste-preview-row input { min-width: 0; width: 100%; }
.native-form-error { margin: 1rem 0 0; padding: .7rem .9rem; border: 1px solid #f0afb5; border-radius: .7rem; background: #fff2f2; color: #9b1c2b; font-weight: 700; }
.native-form-error[hidden] { display: none; }
.native-editor-savebar { position: sticky; z-index: 5; bottom: 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .65rem; margin: 1.2rem -.2rem -.2rem; padding: .8rem; border-top: 1px solid #dce5f2; border-radius: .85rem; background: #e7edf7f2; box-shadow: 0 -7px 15px #d2dceb8a; backdrop-filter: blur(12px); }
.native-save-copy { display: grid; gap: .15rem; min-width: 0; font-size: .79rem; }
.native-save-copy strong { color: #9b5a00; }
.native-save-copy strong { white-space: nowrap; }
.native-save-copy strong[data-state="saving"] { color: #1558df; }
.native-save-copy strong:not([data-state]), .native-save-copy strong[data-state="saved"] { color: #168047; }
.native-save-copy span { color: #64748b; }
.native-save-copy span[data-ready="true"] { color: #168047; }
.native-save-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
@media (max-width: 900px) {
    .native-workbench { grid-template-columns: minmax(0,1fr); }
    .native-editor-mobile-tabs { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .35rem; margin-bottom: .85rem; padding: .35rem; border-radius: .85rem; background: #e5ecf7; box-shadow: inset 3px 3px 6px #cbd5e5, inset -3px -3px 7px #fff; }
    .native-editor-mobile-tabs button { min-width: 0; padding: .65rem .45rem; border: 0; border-radius: .7rem; background: transparent; color: #173864; font-weight: 800; }
    .native-editor-mobile-tabs button[aria-selected="true"] { background: #f4f7fc; box-shadow: 3px 4px 8px #c5d0e0, -3px -3px 8px #fff; }
    .native-editor-mobile-tabs span { font-size: .78rem; }
    .native-workbench[data-mobile-view="list"] .native-editor, .native-workbench[data-mobile-view="editor"] .native-question-panel { display: none; }
    .native-question-panel { max-height: none; }
}
@media (max-width: 640px) {
    .native-readiness { display: none; }
    .native-editor { padding: 1rem 1rem 9rem; }
    .native-editor-heading { gap: .5rem; }
    .native-item-line { grid-template-columns: 2.55rem minmax(0,1fr) 2.3rem 2.3rem; gap: .4rem; }
    .native-item-attachment { padding-left: 2.95rem; }
    .native-editor-savebar { position: sticky; bottom: 0; display: grid; gap: .45rem; margin: 1rem -1rem -9rem; padding: .55rem .85rem max(.65rem,env(safe-area-inset-bottom)); border-radius: 0 0 1.2rem 1.2rem; }
    .native-save-copy { display: flex; justify-content: space-between; gap: .5rem; font-size: .74rem; }
    .native-save-copy span { overflow: hidden; text-align: right; text-overflow: ellipsis; white-space: nowrap; }
    .native-save-actions { display: grid; grid-template-columns: 1fr 1.15fr; }
    .native-save-actions:has(.native-save-stay:only-child) { grid-template-columns: 1fr; }
    .native-save-actions .btn { min-width: 0; min-height: 2.8rem; padding: .45rem .3rem; font-size: .78rem; line-height: 1.15; white-space: normal; }
    .native-save-actions .native-save-stay { border-color: #245be5; background: #245be5; color: #fff; }
    .native-save-actions .native-save-add { border-color: #a8bde7; background: #f5f8fd; color: #15459e; }
}
@media (prefers-reduced-motion: reduce) { .native-question-item, .native-editor-mobile-tabs button { scroll-behavior: auto; transition: none; } }

/* Manajemen pengguna: konfirmasi tindakan mengikuti permukaan Soft UI. */
.user-action-dialog { width: min(27rem,calc(100vw - 2rem)); max-width: none; margin: auto; padding: 1.55rem; border: 1px solid #fff; border-radius: 1.25rem; background: #eef3fa; color: #0d2147; box-shadow: -.5rem -.5rem 1.2rem #ffffffb8, .8rem 1rem 2.3rem #0e2a4c70; }
.user-action-dialog::backdrop { background: #081d42ad; backdrop-filter: blur(4px); }
.user-action-dialog-icon { display: grid; width: 3rem; height: 3rem; margin-bottom: 1rem; place-items: center; border-radius: .85rem; color: #1558df; background: #e5efff; box-shadow: inset .18rem .18rem .4rem #cbdaf2, inset -.18rem -.18rem .4rem #fff; font-size: 1.35rem; }
.user-action-dialog-icon:has(.bi-person-dash) { color: #bd2740; background: #ffe9ee; }
.user-action-dialog-icon:has(.bi-key) { color: #8f5a00; background: #fff3d9; }
.user-action-dialog h2 { margin: 0 0 .55rem; font-size: 1.4rem; font-weight: 850; }
.user-action-dialog p:not(.section-eyebrow) { margin-bottom: 1rem; color: #50647f; line-height: 1.55; }
.user-action-dialog-target { display: grid; gap: .2rem; min-width: 0; padding: .8rem 1rem; border: 1px solid #dae4f2; border-radius: .8rem; background: #e8eef7; box-shadow: inset .2rem .2rem .5rem #ccd8e8, inset -.2rem -.2rem .5rem #fff; }
.user-action-dialog-target span { color: #61758e; font-size: .75rem; font-weight: 700; }
.user-action-dialog-target strong { overflow-wrap: anywhere; font-size: .95rem; }
.user-action-dialog-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: .6rem; margin-top: 1.35rem; }
.user-action-dialog-actions .btn { min-height: 2.65rem; border-radius: .7rem; font-weight: 750; }
.user-action-dialog :is(button):focus-visible { outline: 3px solid #6e5cff; outline-offset: 2px; }
@media (max-width: 480px) { .user-action-dialog { padding: 1.2rem; } .user-action-dialog-actions { display: grid; grid-template-columns: 1fr 1fr; } }

/* Satu ujian Sekolah untuk beberapa rombel dalam angkatan yang sama. */
.exam-target-picker { min-width: 0; margin: .85rem 0 1rem; }
.exam-target-count { flex: 0 0 auto; padding: .25rem .6rem; border-radius: 999px; background: #e5eeff; color: #1753bf; font-size: .76rem; font-weight: 800; }
.exam-target-options { display: grid; grid-template-columns: repeat(auto-fill,minmax(9.5rem,1fr)); gap: .6rem; max-height: 17rem; padding: .4rem; overflow-y: auto; }
.exam-target-option { display: flex; align-items: center; gap: .65rem; min-width: 0; padding: .68rem .75rem; border: 1px solid #dae4f2; border-radius: .8rem; background: #f4f7fc; box-shadow: 3px 4px 8px #cbd6e7, -3px -3px 8px #fff; cursor: pointer; }
.exam-target-option[hidden] { display: none; }
.exam-target-option:has(input:checked) { border-color: #2563eb; background: #e7efff; box-shadow: inset 0 0 0 1px #2563eb; }
.exam-target-option:has(input:disabled):not(:has(input:checked)) { opacity: .5; cursor: not-allowed; }
.exam-target-option input { flex: 0 0 auto; width: 1.05rem; height: 1.05rem; accent-color: #1358ef; }
.exam-target-option span { display: grid; min-width: 0; }
.exam-target-option strong { color: #0d2147; }
.exam-target-option small { color: #61758e; font-size: .73rem; }
@media (max-width: 420px) { .exam-target-options { grid-template-columns: repeat(2,minmax(0,1fr)); } }
.student-class { color:#10244b; }
.student-class-notice,.student-class-subjects,.student-class-content,.student-class-item,.student-class-empty { background:#e8edf6; box-shadow:8px 8px 17px #c7d0df,-8px -8px 17px #fff; border-radius:22px; }
.student-class-notice { display:flex; align-items:center; gap:18px; padding:20px 24px; margin:22px 0 26px; color:inherit; text-decoration:none; }
.student-class-notice strong,.student-class-notice small,.student-class-item strong,.student-class-item small { display:block; }
.student-class-notice small,.student-class-item small,.student-class-content-heading p { color:#627493; }
.student-class-icon,.student-class-section h4 span { display:grid; place-items:center; flex:none; width:46px; height:46px; border-radius:50%; color:#1556e8; background:#e8edf6; box-shadow:inset 4px 4px 8px #cbd4e3,inset -4px -4px 8px #fff; font-weight:800; }
.student-class-notice-action { margin-left:auto; padding:11px 18px; border-radius:13px; background:#245ee9; color:#fff; font-weight:700; white-space:nowrap; }
.student-class-grid { display:grid; grid-template-columns:minmax(235px,340px) minmax(0,1fr); gap:26px; align-items:start; }
.student-class-subjects,.student-class-content { padding:24px; min-width:0; }
.student-class-subject-search { margin-bottom:14px; background:#e8edf6; box-shadow:inset 4px 4px 8px #cbd4e3,inset -4px -4px 8px #fff; border:0; }
.student-class-subjects nav { display:grid; gap:4px; max-height:660px; overflow:auto; }
.student-class-subject { display:block; padding:11px 13px; border-radius:12px; color:#1a2c50; text-decoration:none; font-weight:600; }
.student-class-subject:hover,.student-class-subject.is-active { color:#1758eb; background:#f3f6fc; box-shadow:4px 4px 9px #c9d2e0,-4px -4px 9px #fff; }
.student-class-content-heading h3 { font-weight:800; margin:4px 0; }
.student-class-section { margin-top:28px; }
.student-class-section h4 { display:flex; justify-content:space-between; align-items:center; font-size:1.15rem; font-weight:750; margin-bottom:14px; }
.student-class-section h4 span { width:34px; height:34px; font-size:.85rem; }
.student-class-item { display:flex; align-items:center; gap:16px; padding:17px 18px; margin-bottom:12px; }
.student-class-item>div { min-width:0; flex:1; }
.student-class-item .btn { flex:none; }
.student-class-empty { padding:24px; text-align:center; border:1px dashed #abbddd; box-shadow:none; }
.student-class-mobile-label,.student-class-mobile-select,.student-class-mobile-tabs { display:none; }
@media(max-width:767px) {
  .student-class-grid { display:block; }
  .student-class-subjects,.student-class-content-heading { display:none; }
  .student-class-content { padding:0; background:transparent; box-shadow:none; }
  .student-class-notice { padding:14px; margin:18px 0 20px; gap:12px; }
  .student-class-notice-action { padding:10px; font-size:.8rem; }
  .student-class-mobile-label,.student-class-mobile-select,.student-class-mobile-tabs { display:block; }
  .student-class-mobile-label { font-weight:700; margin-bottom:8px; }
  .student-class-mobile-select { border:0; background:#e8edf6; box-shadow:inset 4px 4px 8px #cbd4e3,inset -4px -4px 8px #fff; margin-bottom:18px; }
  .student-class-mobile-tabs { display:flex; max-width:100%; overflow-x:auto; overscroll-behavior-inline:contain; padding:5px; border-radius:17px; background:#e8edf6; box-shadow:inset 3px 3px 7px #cbd4e3,inset -3px -3px 7px #fff; }
  .student-class-mobile-tabs button { flex:0 0 auto; min-width:5.5rem; padding:11px 8px; border:0; border-radius:13px; background:transparent; color:#10244b; font-size:.8rem; font-weight:700; }
  .student-class-mobile-tabs button.is-active { color:#1456eb; background:#e8edf6; box-shadow:4px 4px 8px #cbd4e3,-4px -4px 8px #fff; }
  .student-class-section { display:none; margin-top:18px; }
  .student-class-section.is-active { display:block; }
  .student-class-section[data-class-section=exams] { display:block; }
  .student-class-mobile-tabs:has(button:not(:first-child).is-active)~.student-class-section[data-class-section=exams] { display:none; }
  .student-class-section h4 { display:none; }
  .student-class-item { flex-wrap:wrap; padding:16px; }
  .student-class-item .btn { width:100%; }
}
.native-analysis-summary { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1rem; margin:1.25rem 0; }
.native-analysis-summary .content-card { display:grid; gap:.25rem; padding:1.3rem; }
.native-analysis-summary span { color:#566b8b; font-weight:700; }
.native-analysis-summary strong { color:#0d2147; font-size:2rem; line-height:1.1; }
.native-analysis-summary small { color:#667891; }
.native-analysis-guide { padding:1.25rem 1.4rem; margin-bottom:1.4rem; color:#21385d; line-height:1.55; }
.native-analysis-guide strong { display:block; margin-bottom:.35rem; }
.native-analysis-toolbar { display:flex; align-items:center; flex-wrap:wrap; gap:.7rem; margin-bottom:1rem; }
.native-analysis-toolbar label { font-weight:750; }
.native-analysis-toolbar .form-control { width:min(22rem,100%); border-color:#d3deed; background:#edf2f9; box-shadow:inset 3px 3px 6px #c9d4e4,inset -3px -3px 7px #fff; }
.native-analysis-toolbar>span { margin-left:auto; color:#61738e; font-size:.9rem; }
.native-analysis-list { display:grid; gap:.8rem; }
.native-analysis-item { padding:0; overflow:hidden; }
.native-analysis-item[hidden] { display:none; }
.native-analysis-item>summary { display:grid; grid-template-columns:2.7rem minmax(0,1fr) 7.5rem 7.5rem auto 1rem; align-items:center; gap:.8rem; padding:1rem 1.2rem; list-style:none; cursor:pointer; }
.native-analysis-item>summary::-webkit-details-marker { display:none; }
.native-analysis-number { display:grid; place-items:center; width:2.5rem; height:2.5rem; border-radius:.75rem; background:#e7efff; color:#1558df; font-weight:800; }
.native-analysis-title { min-width:0; }
.native-analysis-title strong,.native-analysis-title small,.native-analysis-stat small,.native-analysis-stat strong { display:block; }
.native-analysis-title strong { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.native-analysis-title small,.native-analysis-stat small { color:#61738e; font-size:.8rem; }
.native-analysis-stat strong { color:#0d2147; font-size:1.05rem; }
.native-analysis-flag { padding:.3rem .55rem; border-radius:99px; background:#fff2da; color:#835000; font-size:.75rem; font-weight:750; white-space:nowrap; }
.native-analysis-chevron { font-size:1.4rem; color:#61738e; transition:transform .15s ease; }
.native-analysis-item[open] .native-analysis-chevron { transform:rotate(180deg); }
.native-analysis-detail { padding:0 1.2rem 1.2rem 4.7rem; }
.native-analysis-reasons { color:#875000; font-weight:700; }
.native-analysis-choice { position:relative; display:flex; justify-content:space-between; gap:1rem; overflow:hidden; padding:.55rem .65rem; margin:.4rem 0; border-radius:.55rem; background:#edf2f9; }
.native-analysis-choice>span { position:relative; z-index:1; }
.native-analysis-choice>span:first-child { min-width:0; overflow-wrap:anywhere; }
.native-analysis-choice>span:nth-child(2) { flex:none; font-weight:700; }
.native-analysis-choice i { position:absolute; inset:0 auto 0 0; background:#d9e7ff; }
.native-analysis-statement { margin:1rem 0; }
@media(max-width:800px) {
  .native-analysis-summary { grid-template-columns:repeat(3,minmax(0,1fr)); gap:.55rem; }
  .native-analysis-summary .content-card { padding:.8rem; }
  .native-analysis-summary strong { font-size:1.4rem; }
  .native-analysis-item>summary { grid-template-columns:2.4rem minmax(0,1fr) auto; gap:.55rem; }
  .native-analysis-stat { grid-row:2; }
  .native-analysis-stat:nth-child(3) { grid-column:2; }
  .native-analysis-stat:nth-child(4) { grid-column:3; }
  .native-analysis-flag { grid-column:2; grid-row:3; justify-self:start; }
  .native-analysis-chevron { grid-column:3; grid-row:1; }
  .native-analysis-detail { padding:0 1rem 1rem; }
}
@media(max-width:480px) {
  .native-analysis-summary { grid-template-columns:1fr 1fr; }
  .native-analysis-summary .content-card:last-child { grid-column:1/-1; }
  .native-analysis-toolbar>span { width:100%; margin-left:0; }
  .native-analysis-item>summary { padding:.85rem; }
}
@media(prefers-reduced-motion:reduce) { .native-analysis-chevron { transition:none; } }
.native-analysis-controls { display:flex; flex-wrap:wrap; align-items:end; justify-content:space-between; gap:1rem; padding:1.1rem 1.3rem; margin-top:1.1rem; }
.native-analysis-controls .form-label { display:block; margin-bottom:.25rem; font-weight:700; }
.native-analysis-kkm { display:flex; align-items:center; flex-wrap:wrap; gap:.55rem; }
.native-analysis-kkm>span { color:#60718f; font-weight:700; }
.native-analysis-kkm>strong { font-size:1.2rem; color:#10244a; }
.native-analysis-kkm form { display:flex; gap:.5rem; }
.native-analysis-kkm input { width:5.5rem; }
.native-analysis-summary-wide { grid-template-columns:repeat(4,minmax(0,1fr)); }
.native-analysis-jump { display:flex; flex-wrap:wrap; gap:.5rem; margin:0 0 1.4rem; }
.native-analysis-jump a { padding:.55rem .9rem; border:1px solid #d5e0ef; border-radius:99px; color:#164db5; background:#f9fbff; font-weight:750; text-decoration:none; }
.native-analysis-jump a:hover,.native-analysis-jump a:focus-visible { background:#e8f0ff; }
.native-analysis-section { scroll-margin-top:6rem; margin:1.5rem 0 2rem; }
.native-analysis-section-heading { display:flex; flex-wrap:wrap; justify-content:space-between; align-items:end; gap:.5rem; margin-bottom:1rem; }
.native-analysis-section-heading h2 { margin:0; font-size:1.45rem; color:#10244a; font-weight:800; }
.native-analysis-section-heading p { max-width:40rem; margin:0; color:#62738e; }
.native-analysis-chart-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.native-analysis-chart { min-width:0; padding:1.2rem; }
.native-analysis-chart h3 { font-size:1.05rem; font-weight:800; margin-bottom:.9rem; }
.native-analysis-chart-row { display:grid; grid-template-columns:minmax(7rem,1fr) minmax(4rem,2fr) auto; align-items:center; gap:.65rem; margin:.55rem 0; font-size:.9rem; }
.native-analysis-chart-row span { overflow-wrap:anywhere; }
.native-analysis-chart-row strong { min-width:2.5rem; text-align:right; }
.native-analysis-chart-track { height:.7rem; border-radius:99px; overflow:hidden; background:#e1e9f5; }
.native-analysis-chart-track i { display:block; height:100%; border-radius:99px; background:linear-gradient(90deg,#2a65eb,#6c50e7); }
.native-analysis-metrics { display:flex; flex-wrap:wrap; gap:.4rem .9rem; margin:.75rem 0; color:#526888; }
.native-analysis-metrics strong { color:#10244a; }
.native-analysis-matrix-wrap { padding:0; overflow:hidden; }
.native-analysis-matrix,.native-analysis-remedial { margin:0; font-size:.88rem; }
.native-analysis-matrix th,.native-analysis-matrix td { min-width:7rem; vertical-align:top; white-space:normal; }
.native-analysis-matrix th:first-child,.native-analysis-matrix td:first-child { min-width:12rem; }
.native-analysis-matrix th small,.native-analysis-matrix td small { display:block; color:#667993; font-weight:400; }
.native-analysis-pages { display:flex; align-items:center; justify-content:center; gap:1rem; margin:1rem; }
@media(max-width:900px) { .native-analysis-summary-wide { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:620px) { .native-analysis-chart-grid { grid-template-columns:1fr; } .native-analysis-controls { align-items:stretch; } .native-analysis-controls form { max-width:100%; } .native-analysis-controls select { max-width:100%; } .native-analysis-summary-wide .content-card:last-child { grid-column:auto; } .native-analysis-chart-row { grid-template-columns:minmax(6rem,1fr) minmax(3rem,1.5fr) auto; } }

/* Focused exam administration and analysis surfaces. */
.exam-create-menu{position:relative;z-index:5}
.exam-create-menu summary{list-style:none;cursor:pointer}
.exam-create-menu summary::-webkit-details-marker{display:none}
.exam-create-menu>div{position:absolute;right:0;top:calc(100% + .5rem);display:grid;width:min(19rem,85vw);padding:.4rem;border:1px solid #dce4f0;border-radius:14px;background:#fbfcff;box-shadow:8px 14px 30px #142d5450}
.exam-create-menu a{display:grid;gap:.12rem;padding:.7rem .8rem;border-radius:9px;color:#0d2147;text-decoration:none}
.exam-create-menu a:hover,.exam-create-menu a:focus-visible{background:#ecf2ff}
.exam-create-menu a small{color:#60718e}
.exam-admin-search-row{display:flex;flex-wrap:wrap;gap:.65rem}
.exam-admin-search-row .form-control{flex:1 1 17rem;max-width:26rem}
.exam-admin-search-row .form-select{flex:0 1 12rem}
.exam-admin-meta{display:flex;flex-wrap:wrap;gap:.15rem .65rem}
.exam-admin-meta span+span::before{content:"·";margin-right:.65rem;color:#a0aec2}
.exam-manage-tabs,.native-analysis-tabs{display:flex;gap:.45rem;max-width:100%;overflow-x:auto;margin:1.1rem 0 1.35rem;padding:.35rem;border:1px solid #dce4f0;border-radius:16px;background:#edf2f9;scrollbar-width:thin}
.exam-manage-tabs a,.native-analysis-tabs a{flex:0 0 auto;padding:.68rem 1rem;border:1px solid transparent;border-radius:12px;color:#455b7e;font-size:.9rem;font-weight:750;text-decoration:none;white-space:nowrap}
.exam-manage-tabs a:hover,.native-analysis-tabs a:hover{color:#164bc2;background:#f7faff}
.exam-manage-tabs a[aria-current="page"],.native-analysis-tabs a[aria-current="page"]{border-color:#f7faff;background:#fbfcff;color:#154cd5;box-shadow:4px 5px 11px #b8c7dd88,-4px -4px 10px #fff}
.exam-manage-tabs a:focus-visible,.native-analysis-tabs a:focus-visible,.native-analysis-question-range a:focus-visible{outline:3px solid #1358ef;outline-offset:2px}
.exam-task-intro{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem 1.5rem;margin-bottom:1rem;padding:1.35rem 1.5rem}
.exam-task-intro h3{flex-basis:100%;margin:0;color:#0d2147;font-size:1.25rem;font-weight:800}
.exam-task-intro p{flex:1 1 21rem;margin:0;color:#526683;line-height:1.5}
.exam-task-intro .btn{flex:0 0 auto}
.exam-task-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:1rem;margin:1.1rem 0}
.exam-task-heading h3{margin:0;color:#0d2147;font-size:1.35rem;font-weight:800}
.exam-task-heading p{margin:.2rem 0 0;color:#60718e}
.native-results-card{padding:1.2rem}
.native-results-card .table{margin:0}
.native-results-card .table thead th{color:#516789;font-size:.78rem}
.native-results-mobile{display:none}
@media(max-width:600px){
  .native-results-desktop{display:none}
  .native-results-mobile{display:grid;gap:.65rem}
  .native-results-mobile article{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:.75rem;row-gap:.45rem;padding:.9rem;border:1px solid #d6e1ef;border-radius:16px;background:#f5f8fd}
  .native-results-mobile article>div{display:grid;align-content:start;gap:.15rem;min-width:0}
  .native-results-mobile article>div:nth-child(2){text-align:right}
  .native-results-mobile strong{color:#102756;overflow-wrap:anywhere}
  .native-results-mobile small{color:#5d7192}
  .native-results-mobile p{grid-column:1/-1;margin:0;color:#5d7192;font-size:.77rem;overflow-wrap:anywhere}
}
.native-analysis-heading{display:flex;align-items:end;justify-content:space-between;flex-wrap:wrap;gap:1rem}
.native-analysis-filter{display:flex;align-items:end;flex-wrap:wrap;gap:.5rem}
.native-analysis-filter label{flex-basis:100%}
.native-analysis-filter select{flex:0 1 18rem;width:auto;min-width:13rem}
.native-analysis-tabs{margin-top:1.15rem}
.native-analysis-summary-wide{margin-top:1rem}
.native-analysis-summary-wide .content-card{border:1px solid #f7faff}
.native-analysis-summary-wide strong{font-size:clamp(1.65rem,2.4vw,2rem)}
.native-analysis-guide{padding:.9rem 1.2rem}
.native-analysis-guide summary{color:#184585;font-weight:750;cursor:pointer}
.native-analysis-item>summary:hover{background:#f7faff}
.native-analysis-empty{padding:1.4rem;color:#60718e}
.native-analysis-question-range{display:flex;align-items:center;flex-wrap:wrap;gap:.5rem;margin-bottom:.9rem}
.native-analysis-question-range strong{margin-right:.3rem;color:#334f77;font-size:.88rem}
.native-analysis-question-range a{padding:.42rem .75rem;border:1px solid #d5e0ef;border-radius:10px;background:#fbfcff;color:#2857a3;font-size:.84rem;font-weight:750;text-decoration:none}
.native-analysis-question-range a[aria-current="page"]{border-color:#1758e5;background:#e9f0ff;color:#1645ae}
.native-analysis-desktop-matrix{max-height:min(72vh,760px);overflow:auto}
.native-analysis-matrix{border-collapse:separate;border-spacing:0}
.native-analysis-matrix thead th{position:sticky;top:0;z-index:2;background:#e9f0fa;color:#183a70;white-space:nowrap}
.native-analysis-matrix th:first-child{position:sticky;left:0;z-index:3;background:#f8faff}
.native-analysis-matrix thead th:first-child{z-index:4;background:#dfeafa}
.native-analysis-matrix tbody tr:nth-child(even) th:first-child{background:#f3f7fd}
.native-analysis-matrix td,.native-analysis-matrix th{padding:.6rem .7rem;border-color:#e1e9f4}
.native-analysis-matrix td:last-child{border-right:1px solid #e1e9f4}
.native-analysis-matrix small{margin-top:.15rem}
.native-analysis-mobile-participants,.native-analysis-mobile-remedial{display:none}
.native-analysis-remedial-wrap{padding:0;overflow:hidden}
.native-analysis-remedial th{white-space:nowrap;background:#edf3fb;color:#375376}
.native-analysis-remedial td{vertical-align:top}
.native-analysis-pages .disabled{pointer-events:none;opacity:.45}
.exam-confirm-dialog{width:min(92vw,440px);padding:1.5rem;border:1px solid #dce4f0;border-radius:18px;background:#fbfcff;color:#0d2147;box-shadow:18px 24px 60px #081d4260}
.exam-confirm-dialog::backdrop{background:#081d4280}
.exam-confirm-dialog h3{margin:0 0 .5rem;font-size:1.3rem;font-weight:800}
.exam-confirm-dialog p{margin:0 0 1.3rem;color:#526683;line-height:1.5}
.exam-confirm-actions{display:flex;justify-content:flex-end;gap:.6rem}
@media(max-width:700px){
  .exam-manage-tabs,.native-analysis-tabs{margin:.85rem 0 1rem}
  .exam-task-intro{padding:1.1rem}
  .exam-task-intro .btn,.native-analysis-heading .btn{width:100%}
  .native-analysis-controls{align-items:stretch}
  .native-analysis-filter{display:grid;grid-template-columns:minmax(0,1fr) auto;width:100%}
  .native-analysis-filter label{grid-column:1/-1}
  .native-analysis-filter select{width:100%;min-width:0}
  .native-analysis-kkm{justify-content:space-between}
  .native-analysis-kkm form{width:100%}
  .native-analysis-kkm input{flex:1;min-width:0}
  .native-analysis-desktop-matrix,.native-analysis-desktop-remedial{display:none}
  .native-analysis-mobile-participants,.native-analysis-mobile-remedial{display:grid;gap:.7rem;padding:.75rem}
  .native-analysis-person,.native-analysis-mobile-remedial article{min-width:0;padding:.9rem;border:1px solid #dce4f0;border-radius:13px;background:#fbfcff}
  .native-analysis-person summary{display:flex;justify-content:space-between;gap:.8rem;cursor:pointer;list-style:none}
  .native-analysis-person summary::-webkit-details-marker{display:none}
  .native-analysis-person summary span{display:grid;gap:.12rem;min-width:0}
  .native-analysis-person summary span:last-child{text-align:right;white-space:nowrap}
  .native-analysis-person summary strong{color:#0d2147}
  .native-analysis-person summary small,.native-analysis-mobile-remedial article span{color:#61738e;font-size:.78rem}
  .native-analysis-person-answers{display:grid;gap:0;margin-top:.8rem;border-top:1px solid #e1e9f4}
  .native-analysis-person-answers>div{display:grid;grid-template-columns:4.5rem minmax(0,1fr) auto;gap:.5rem;align-items:start;padding:.55rem 0;border-bottom:1px solid #edf1f7;font-size:.84rem}
  .native-analysis-person-answers span{overflow-wrap:anywhere}
  .native-analysis-person-answers small{color:#61738e;white-space:nowrap}
  .native-analysis-mobile-remedial article>div{display:grid;gap:.1rem;margin-bottom:.45rem}
  .native-analysis-mobile-remedial article p{margin:.45rem 0;font-size:.86rem;overflow-wrap:anywhere}
  .native-analysis-mobile-remedial article details{margin-top:.6rem;padding-top:.55rem;border-top:1px solid #e1e9f4}
  .native-analysis-mobile-remedial article summary{color:#164db5;font-weight:700;cursor:pointer}
  .native-analysis-question-range strong{flex-basis:100%}
}
@media(max-width:420px){.native-analysis-item>summary{grid-template-columns:2.4rem minmax(0,1fr) auto}.native-analysis-stat{font-size:.8rem}.native-analysis-flag{white-space:normal}}
.private-attachment-list{display:grid;gap:.65rem;margin-top:.75rem}
.private-attachment-row{display:flex;align-items:center;justify-content:space-between;gap:.8rem;padding:.75rem .9rem;border:1px solid #d8e2f0;border-radius:14px;background:#f6f9fd}
.private-attachment-name{display:flex;align-items:center;gap:.65rem;min-width:0;color:#183358}
.private-attachment-name>span{display:grid;min-width:0}
.private-attachment-name strong{overflow-wrap:anywhere;font-size:.9rem}
.private-attachment-name small{color:#6a7b94}
.private-attachment-actions{display:flex;gap:.4rem;flex-shrink:0}
.private-attachment-dialog{width:min(96vw,980px);height:min(92dvh,820px);max-width:none;max-height:none;padding:0;border:1px solid #d8e2f0;border-radius:18px;background:#f6f9fd;box-shadow:18px 24px 65px #081d4255}
.private-attachment-dialog[open]{display:flex;flex-direction:column}
.private-attachment-dialog::backdrop{background:#061633b8}
.private-attachment-dialog-head,.private-attachment-dialog-foot{display:flex;align-items:center;justify-content:space-between;gap:.7rem;padding:.7rem 1rem}
.private-attachment-dialog-head strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#102756}
.private-attachment-dialog-foot{justify-content:flex-end}
.private-attachment-stage{flex:1;min-height:0;display:grid;place-items:center;overflow:auto;background:#e8eef6}
.private-attachment-stage iframe{width:100%;height:100%;border:0;background:#fff}
.private-attachment-stage img,.private-attachment-stage video{display:block;max-width:100%;max-height:100%;object-fit:contain}
@media(max-width:600px){.private-attachment-row{align-items:flex-start;flex-direction:column}.private-attachment-actions{width:100%}.private-attachment-actions .btn{flex:1}.private-attachment-dialog{width:100vw;height:100dvh;border:0;border-radius:0}}
.teacher-subject-search{display:grid;gap:.55rem;padding:1.15rem;margin-bottom:1rem}
.teacher-subject-search>div{display:flex;flex-wrap:wrap;gap:.55rem}
.teacher-subject-search input{flex:1 1 16rem;min-width:0}
.teacher-subject-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,25rem),1fr));gap:1rem}
.teacher-subject-groups>.content-card{padding:1.2rem}
.teacher-subject-group-head{display:flex;align-items:end;justify-content:space-between;gap:.7rem;margin-bottom:.8rem}
.teacher-subject-group-head h2{margin:.2rem 0 0;color:#0d2147;font-size:1.3rem;font-weight:800}
.teacher-subject-group-head>span{color:#617492;font-size:.82rem}
.teacher-subject-links{display:grid;gap:.5rem}
.teacher-subject-links a{display:flex;align-items:center;justify-content:space-between;gap:.6rem;padding:.78rem .9rem;border:1px solid #d7e2f1;border-radius:12px;background:#f5f8fd;color:#174797;font-weight:700;text-decoration:none;overflow-wrap:anywhere}
.teacher-subject-links a:hover,.teacher-subject-links a:focus-visible{border-color:#729df4;background:#eaf1ff;outline-offset:2px}
.submission-kept-files{display:grid;gap:.35rem;padding:.8rem;margin-bottom:.75rem;border:1px solid #d7e2f1;border-radius:12px;background:#f5f8fd}
.submission-kept-files label{display:flex;align-items:start;gap:.5rem;overflow-wrap:anywhere}
.submission-selected-files{margin:.5rem 0;padding-left:1.3rem;color:#365275;font-size:.88rem}
.attachment-list>div{flex-wrap:wrap;gap:.5rem}

.school-subject-mobile-label,.school-subject-mobile-select { display:none; }
.school-subject-tabs { max-width:100%; overflow-x:auto; flex-wrap:nowrap; padding:3px 2px 12px; scrollbar-width:thin; }
.school-subject-tabs .btn { flex:none; white-space:nowrap; }
.school-teacher-subject-heading { margin:0 0 1rem; }
.school-teacher-actions { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.9rem; margin-bottom:.8rem; }
.school-teacher-action { display:flex; align-items:center; gap:.8rem; min-width:0; min-height:6.5rem; padding:1rem; border:1px solid #dce4f0; border-radius:1rem; color:#0d2147; background:#f4f7fc; box-shadow:5px 5px 12px #cbd5e5,-5px -5px 12px #fff; text-decoration:none; }
.school-teacher-action:hover,.school-teacher-action:focus-visible { color:#1358ef; border-color:#aac1f4; outline-offset:3px; }
.school-teacher-action>span:nth-child(2) { flex:1; min-width:0; }
.school-teacher-action strong,.school-teacher-action small { display:block; }
.school-teacher-action small { margin-top:.25rem; color:#52627e; line-height:1.35; }
.school-teacher-action-icon { display:grid; flex:none; place-items:center; width:2.7rem; height:2.7rem; border-radius:.85rem; color:#1358ef; background:#e2eaff; font-size:1.25rem; font-weight:800; }
.school-teacher-manage-link { display:inline-block; padding:.6rem 0; font-weight:700; }
.school-learning-jumps { display:flex; flex-wrap:wrap; gap:.5rem; margin:0 0 1.2rem; }
.school-learning-jumps a { padding:.65rem .9rem; border:1px solid #cad8f3; border-radius:.75rem; color:#123d8d; background:#f5f8ff; font-weight:700; text-decoration:none; }
.school-learning-jumps a:hover,.school-learning-jumps a:focus-visible { background:#e7efff; }
.school-attendance-panel,.school-learning-jumps,#school-content-list,#school-learning-form { scroll-margin-top:6rem; }
.school-attendance-date-form { display:flex; align-items:end; gap:.75rem; }
.school-attendance-date-form>div { flex:1; min-width:0; }
.school-attendance-history { margin-top:1.5rem; padding-top:1rem; border-top:1px solid #dce4f0; }
.school-attendance-history-item { display:flex; align-items:center; gap:.5rem; padding:.7rem 0; border-top:1px solid #e5eaf3; text-decoration:none; }
.school-attendance-history-item>span:first-child { flex:1; font-weight:700; }
.school-attendance-history-item small { color:#52627e; }
@media (max-width:767px) {
  .school-subject-mobile-label,.school-subject-mobile-select { display:block; }
  .school-subject-tabs { display:none !important; }
  .school-teacher-actions { grid-template-columns:1fr; gap:.65rem; }
  .school-teacher-action { min-height:4.7rem; padding:.8rem 1rem; }
  .school-learning-jumps { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .school-learning-jumps a { text-align:center; }
  .school-attendance-date-form { align-items:stretch; flex-direction:column; }
  .school-attendance-date-form button { width:100%; }
}

.school-attendance-layout { display:grid; grid-template-columns:minmax(17rem,.8fr) minmax(0,1.2fr); gap:1.25rem; align-items:start; }
.school-pick-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; align-items:start; }
.app-shell .school-pick-card { padding:0; overflow:hidden; }
.school-pick-card summary { display:flex; align-items:center; gap:1rem; padding:1.1rem 1.25rem; cursor:pointer; list-style:none; }
.school-pick-card summary::-webkit-details-marker { display:none; }
.school-pick-card summary>span:first-child { flex:1; min-width:0; }
.school-pick-card summary strong,.school-pick-card summary small { display:block; }
.school-pick-card summary small { margin-top:.2rem; color:#52627e; }
.school-pick-chevron { color:#1358ef; font-size:1.5rem; line-height:1; }
.school-pick-card[open] .school-pick-chevron { transform:rotate(180deg); }
.school-pick-subjects { display:grid; gap:.4rem; padding:.3rem 1rem 1rem; }
.school-pick-subjects a { display:flex; align-items:center; justify-content:space-between; gap:.75rem; padding:.75rem .9rem; border-radius:.7rem; color:#123d8d; background:#edf3ff; font-weight:650; text-decoration:none; }
.school-pick-subjects a:hover,.school-pick-subjects a:focus-visible { background:#dfeaff; }

@media (max-width:767px) {
  .school-attendance-layout,.school-pick-grid { grid-template-columns:1fr; }
}

.school-attendance-unsaved { padding:.8rem 1rem; border:1px solid #bfd3ed; border-radius:.8rem; background:#eef5ff; color:#17365f; }
.btq-batch-create { border-top:1px solid #dce4f0; padding-top:1rem; }
.btq-batch-create summary { display:inline-flex; align-items:center; list-style:none; cursor:pointer; }
.btq-batch-create summary::-webkit-details-marker { display:none; }
.btq-batch-history { display:grid; gap:.55rem; }
.btq-batch-history h4 { margin:1rem 0 .2rem; font-size:.95rem; color:#52627e; }
.btq-batch-history-item { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:1rem; border:1px solid #dce4f0; border-radius:.85rem; color:#0d2147; background:#f5f8fd; text-decoration:none; }
.btq-batch-history-item:hover,.btq-batch-history-item:focus-visible { border-color:#9dbaf5; color:#1358ef; }
.btq-batch-history-item strong,.btq-batch-history-item small { display:block; }
.btq-batch-history-item small { margin-top:.25rem; color:#52627e; }
.btq-legacy-history { margin-top:1.25rem; }
.btq-legacy-history>summary { padding:.9rem 1rem; border:1px solid #cbd8ea; border-radius:.8rem; color:#174ca1; background:#f5f8fd; cursor:pointer; font-weight:700; }
.btq-batch-toolbar { display:flex; justify-content:space-between; align-items:start; gap:1rem; margin-bottom:1rem; }
.btq-batch-progress { flex:none; padding:.45rem .7rem; border-radius:.6rem; color:#087147; background:#e5f7ee; font-size:.8rem; font-weight:700; }
.btq-batch-progress.is-pending { color:#8a510b; background:#fff4d8; }
.btq-batch-students { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.85rem; }
.btq-batch-student { min-width:0; padding:1rem; border:1px solid #dce4f0; border-radius:.9rem; background:#f5f8fd; }
.btq-batch-student[hidden] { display:none; }
.btq-batch-student-heading { display:flex; align-items:start; justify-content:space-between; gap:.6rem; margin-bottom:1rem; }
.btq-batch-student-heading strong { min-width:0; overflow-wrap:anywhere; }
.btq-batch-row-status { color:#087147; font-size:.75rem; white-space:nowrap; }
.btq-batch-row-status.is-error { color:#b42335; white-space:normal; }
.btq-batch-student-controls { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:end; gap:.75rem; }
.btq-batch-verse-choice { display:flex; flex-direction:column; gap:.4rem; align-items:start; }
.btq-batch-verse-editor { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.7rem; margin-top:.8rem; }
.btq-batch-verse-editor[hidden] { display:none; }
.btq-batch-finalize { position:sticky; z-index:4; bottom:0; display:flex; align-items:center; justify-content:space-between; gap:1rem; margin-top:1rem; padding:1rem; border:1px solid #dce4f0; border-radius:.9rem; color:#52627e; background:#f8fbfff2; box-shadow:0 -.4rem 1.2rem #17365f20; backdrop-filter:blur(8px); }
@media (max-width:767px) { .btq-batch-students { grid-template-columns:1fr; } .btq-batch-toolbar,.btq-batch-finalize { flex-direction:column; align-items:stretch; } .btq-batch-student-controls { grid-template-columns:1fr; } .btq-batch-history-item { align-items:start; flex-direction:column; } .btq-batch-finalize .btn { width:100%; } }
hool-task-heading{display:flex;justify-content:space-between;align-items:center;gap:1.5rem;margin:0 0 1.6rem}.school-task-heading h1{font-size:clamp(1.8rem,3vw,2.7rem);font-weight:850;color:#0d2147;margin:0}.school-task-heading p:last-child{color:#627391;margin:.3rem 0 0}.school-task-new-link{padding:.85rem 1.3rem;font-weight:750;box-shadow:6px 7px 13px #c4d0e2,-5px -5px 12px #fff}.school-task-save-state{color:#168346;font-weight:700;font-size:.9rem}.school-task-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin-bottom:1.35rem}.school-task-stats>div,.school-task-card,.school-task-row{background:#e8eef8;border:1px solid #edf3fc;border-radius:1.4rem;box-shadow:9px 10px 18px #c9d4e5,-7px -7px 17px #fff}.school-task-stats>div{padding:1.3rem 1.5rem;display:grid;gap:.15rem}.school-task-stats strong{font-size:2rem;color:#1c50de;line-height:1}.school-task-stats>div:first-child strong{color:#13854d}.school-task-stats span{color:#536581}.school-task-filters{display:grid;grid-template-columns:minmax(0,1fr) 12rem 15rem;gap:.8rem;align-items:center;margin-bottom:1rem}.school-task-filter-tabs,.school-task-segments{display:flex;gap:.2rem;padding:.3rem;border-radius:1rem;background:#e9eef7;box-shadow:inset 4px 4px 8px #cad4e4,inset -4px -4px 8px #fff}.school-task-filter-tabs button{border:0;border-radius:.75rem;background:transparent;color:#193050;padding:.6rem .8rem;font-weight:700}.school-task-filter-tabs button[aria-pressed=true],.school-task-segments input:checked+span{color:#1b55e8;background:#e7eefb;box-shadow:4px 5px 10px #c9d4e7,-4px -4px 9px #fff}.school-task-table-head,.school-task-row{display:grid;grid-template-columns:minmax(11rem,2fr) minmax(6rem,.9fr) minmax(9rem,1.2fr) minmax(9rem,1.1fr) minmax(5rem,.7fr) minmax(8rem,.8fr);gap:1rem;align-items:center}.school-task-table-head{padding:.7rem 1.3rem;color:#536581;font-size:.76rem;font-weight:800;text-transform:uppercase;letter-spacing:.07em}.school-task-row{padding:1rem 1.3rem;margin-bottom:.8rem;min-width:0}.school-task-row[hidden]{display:none}.school-task-row>div{min-width:0}.school-task-row-title strong{display:block;overflow-wrap:anywhere;color:#0d2147}.school-task-row-title small{display:block;color:#637492;margin-top:.2rem}.school-task-pill,.school-task-state{display:inline-block;border-radius:999px;background:#e9eef8;box-shadow:3px 4px 8px #cbd6e7,-3px -3px 8px #fff;padding:.38rem .7rem;font-weight:700;color:#142b50}.school-task-state-published{color:#148349}.school-task-state-scheduled{color:#8a5a06}.school-task-state-draft{color:#766027}.school-task-pending{display:block;color:#1658d6;font-weight:700}.school-task-actions{display:flex;gap:.35rem;align-items:center;justify-content:flex-end}.school-task-more{position:relative}.school-task-more summary{list-style:none;cursor:pointer;border-radius:.7rem;padding:.2rem .55rem;font-size:1.3rem;background:#e8eef8;box-shadow:3px 4px 8px #cbd6e7,-3px -3px 8px #fff}.school-task-more summary::-webkit-details-marker{display:none}.school-task-more>div{position:absolute;z-index:20;right:0;top:100%;width:11rem;padding:.4rem;background:#f7f9ff;border:1px solid #d4deef;border-radius:.7rem;box-shadow:0 10px 26px #aebdd3}.school-task-more a,.school-task-more button{display:block;width:100%;text-align:left;border:0;background:transparent;padding:.5rem;color:#16315d;text-decoration:none}.school-task-more button:hover,.school-task-more a:hover{background:#e8eef8}.school-task-more .school-task-delete-trigger{color:#b72537}.school-task-mobile-label{display:none}.school-task-empty{text-align:center;padding:2rem;color:#5b6a82}.school-task-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(19rem,.95fr);gap:1.25rem;align-items:start}.school-task-card{padding:clamp(1.1rem,2.5vw,2rem)}.school-task-card h2{font-size:1.35rem;font-weight:800;margin-bottom:1.5rem}.school-task-card .form-control,.school-task-card .form-select,.school-task-filters .form-control,.school-task-filters .form-select{background:#e8eef8;box-shadow:inset 4px 4px 8px #c9d4e5,inset -4px -4px 9px #fff;border:1px solid #dae4f3}.school-task-card textarea{min-height:13rem;resize:vertical}.school-task-drop{min-height:7rem;border:2px dashed #afbfdb;border-radius:1rem;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.5rem;padding:1rem;text-align:center}.school-task-drop.dragging{border-color:#1b55e8;background:#dce9ff}.school-task-drop input{position:absolute;width:1px;height:1px;opacity:0}.school-task-drop small{flex-basis:100%;color:#627391;overflow-wrap:anywhere}.school-task-field legend{font-size:1rem;font-weight:750}.school-task-field legend small{float:right;font-size:.8rem;color:#637492;font-weight:500}.school-task-segments label{flex:1;cursor:pointer;margin:0}.school-task-segments input{position:absolute;opacity:0}.school-task-segments span{display:block;text-align:center;padding:.6rem .4rem;border-radius:.75rem;font-weight:700}.school-task-segments input:focus-visible+span{outline:2px solid #1258ed}.school-task-extras{display:flex;align-items:end;flex-wrap:wrap;gap:1rem;margin-top:1.5rem}.school-task-extras>label:first-child{width:10rem}.school-task-extras>label:not(:first-child){padding-bottom:.5rem}.school-task-grade{margin-bottom:1rem}.school-task-grade p{margin:0 0 .5rem;color:#5d6d88}.school-task-target-buttons{display:flex;flex-wrap:wrap;gap:.5rem}.school-task-target-buttons label{position:relative;cursor:pointer}.school-task-target-buttons input{position:absolute;opacity:0}.school-task-target-buttons span{display:block;min-width:3rem;text-align:center;padding:.55rem .7rem;border-radius:.75rem;background:#e8eef8;box-shadow:4px 5px 9px #cbd5e5,-4px -4px 9px #fff;color:#15294f;font-weight:800}.school-task-target-buttons input:checked+span{background:#235dea;color:#fff;box-shadow:inset 3px 3px 6px #1746b9}.school-task-target-buttons input:focus-visible+span{outline:2px solid #142f91;outline-offset:2px}.school-task-text-button{border:0;background:transparent;color:#1858d4;font-weight:700;text-decoration:underline;padding:.6rem 0}.school-task-field [hidden]{display:none}.school-task-field #taskIndividualDeadlines{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.school-task-field #taskIndividualDeadlines[hidden]{display:none}.school-task-field #taskIndividualDeadlines label{font-size:.85rem}.school-task-footer{position:sticky;bottom:0;z-index:15;background:#f2f5fb;border-top:1px solid #d9e3f1;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.9rem 1.2rem;margin-top:1.5rem;box-shadow:0 -5px 18px #cbd6e390}.school-task-footer>div{display:flex;flex-wrap:wrap;gap:.5rem}.school-task-footer>span{color:#526482}.school-task-footer .btn{font-weight:750}.school-task-form{padding-bottom:1rem}
@media(max-width:1100px){.school-task-filters{grid-template-columns:1fr 1fr}.school-task-filter-tabs{grid-column:1/-1;overflow-x:auto}.school-task-filter-tabs button{white-space:nowrap}.school-task-table-head{display:none}.school-task-row{grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}.school-task-row-title{grid-column:1/-1}.school-task-mobile-label{display:block;font-size:.7rem;color:#6b7b95;text-transform:uppercase;letter-spacing:.06em;font-weight:800}.school-task-actions{justify-content:flex-start}.school-task-layout{grid-template-columns:1fr}}
@media(max-width:620px){.school-task-heading{align-items:flex-start;flex-wrap:wrap}.school-task-new-link{width:100%;text-align:center}.school-task-stats{gap:.5rem}.school-task-stats>div{padding:.9rem .7rem}.school-task-stats strong{font-size:1.5rem}.school-task-stats span{font-size:.72rem}.school-task-filters{grid-template-columns:1fr}.school-task-filter-tabs{grid-column:auto}.school-task-row{padding:1rem}.school-task-footer{margin-left:-1rem;margin-right:-1rem;padding:.7rem 1rem;flex-wrap:wrap}.school-task-footer>span{font-size:.8rem}.school-task-footer>div{width:100%}.school-task-footer .btn{flex:1}.school-task-field #taskIndividualDeadlines{grid-template-columns:1fr}.school-task-segments{flex-wrap:wrap}.school-task-segments label{min-width:42%}}
.school-task-save-state{color:#61718d}.school-task-save-state[data-saved="true"]{color:#168346}.school-task-error{display:block;color:#b42f39;font-weight:700;margin-top:.2rem}
.school-task-mobile-jump{display:none;color:#1b55e8;font-weight:750;text-decoration:none}.school-task-publish{scroll-margin-top:6rem}@media(max-width:1100px){.school-task-mobile-jump{display:inline-block;margin-top:.55rem}}

/* Pelajaran Saya dan ruang pelajaran */
.teacher-subject-list{display:grid;gap:.6rem}
.teacher-subject-row{display:grid;grid-template-columns:minmax(11rem,1.4fr) minmax(8rem,.75fr) minmax(12rem,1fr) auto;align-items:center;gap:1rem;padding:.8rem 1rem;box-shadow:none}
.teacher-subject-row strong,.teacher-subject-row small{display:block}
.teacher-subject-row small{color:#52627e}
.teacher-subject-row-actions{display:flex;gap:.45rem;justify-content:flex-end}
.school-lesson-more{position:relative}
.school-lesson-more summary{display:grid;place-items:center;min-width:2.2rem;min-height:2.1rem;cursor:pointer;border:1px solid #dce4f0;border-radius:.55rem;list-style:none}
.school-lesson-more>a{position:absolute;right:0;top:100%;z-index:2;min-width:9rem;padding:.6rem;background:#fff;border:1px solid #dce4f0;border-radius:.5rem;box-shadow:0 8px 20px #0d214722}
@media(max-width:900px){.teacher-subject-row{grid-template-columns:minmax(0,1fr) auto}.teacher-subject-row>span{font-size:.85rem}.teacher-subject-row-actions{grid-column:1/-1;justify-content:flex-start}}
@media(max-width:560px){.teacher-subject-row{display:flex;flex-direction:column;align-items:stretch;gap:.4rem}.teacher-subject-row-actions>a{flex:1;text-align:center}}
.school-lesson-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(15rem,1fr);align-items:start;gap:1.5rem}
.school-lesson-main,.school-lesson-aside{min-width:0}
.school-lesson-aside{padding:1rem;border:1px solid #dce4f0;border-radius:1rem;background:#f8faff}
.school-teacher-actions:has(> :nth-child(2):last-child){grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:900px){.school-lesson-grid{grid-template-columns:1fr}.school-lesson-aside{padding:.8rem}}
