/* ==========================================================================
   EXAMO · Lapisan kulit visual (skin)
   Hanya mengubah warna, bayangan, sudut, dan efek hover/fokus.
   TIDAK mengubah tata letak, ukuran, jarak, font, maupun logika aplikasi.
   Warna aksen tetap mengikuti tema yang dipilih admin.
   ========================================================================== */

:root{
    --ink:#161d2b;
    --muted:#667085;
    --line:#e4e7ec;
    --paper:#f4f6f9;
    --shadow:0 1px 2px rgba(16,24,40,.04),0 6px 18px rgba(16,24,40,.05);
}
body{
    --accent:var(--violet);
    --accent-strong:var(--violet-dark);
    --accent-soft:var(--violet-soft);
    --accent-ring:rgba(100,87,217,.28);
    --shadow-sm:0 1px 2px rgba(16,24,40,.04),0 4px 14px rgba(16,24,40,.05);
    --shadow-md:0 2px 4px rgba(16,24,40,.04),0 12px 32px rgba(16,24,40,.08);
}
@supports (color:color-mix(in srgb,red,blue)){
    body{--accent-ring:color-mix(in srgb,var(--violet) 30%,transparent)}
}
body{background:var(--paper);color:var(--ink)}
::selection{background:var(--accent-soft);color:var(--accent-strong)}
body :is(button,a,input,select,textarea,summary):focus-visible{outline-color:var(--accent-ring)}

/* Sidebar & topbar */
body .sidebar{background:#fff;border-right-color:var(--line)}
body .side-caption{color:#98a2b3}
body .side-nav>a,body .side-nav-group>summary{color:#475467;transition:background-color .18s,color .18s}
body .side-nav>a:hover,body .side-nav-group>summary:hover{background:#f2f4f7;color:var(--ink)}
body .side-nav>a.active{background:var(--accent-soft);color:var(--accent-strong)}
body .side-nav-group[open]>summary{background:transparent;color:var(--ink)}
body .side-nav-group[open]{background:transparent}
body .side-subnav{background:transparent;border-left:1.5px solid var(--line);border-radius:0}
body .side-nav .side-subnav a{color:#586174}
body .side-nav .side-subnav a:hover{background:#f2f4f7;color:var(--ink)}
body .side-nav .side-subnav a.active{background:var(--accent-soft);color:var(--accent-strong)}
body .sidebar-bottom{border-color:var(--line)}
body .avatar{color:#fff;background:linear-gradient(145deg,var(--theme-gradient-start,#8879fa),var(--theme-gradient-end,#4338a8))}
body .icon-button:hover{color:#b42318}
body .nav-svg{width:1em;height:1em;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;vertical-align:-.14em}
body .topbar{border-bottom-color:var(--line)}
body .status-dot{background:#12b76a;box-shadow:0 0 0 3px #d1fadf}

/* Tombol */
body .button{border-radius:10px;transition:background-color .16s,border-color .16s,box-shadow .16s,transform .16s,color .16s}
body .button-primary{background:var(--accent);background-image:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,0));border-color:var(--accent-strong);box-shadow:0 1px 2px rgba(16,24,40,.12),inset 0 1px 0 rgba(255,255,255,.18)}
body .button-primary:hover:not(:disabled){background-color:var(--accent-strong);box-shadow:0 4px 12px var(--accent-ring),inset 0 1px 0 rgba(255,255,255,.18)}
body .button-quiet{background:var(--accent);background-image:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,0));border-color:var(--accent-strong);color:#fff;box-shadow:0 1px 2px rgba(16,24,40,.12),inset 0 1px 0 rgba(255,255,255,.18)}
body .button-quiet:hover:not(:disabled){background-color:var(--accent-strong);border-color:var(--accent-strong);color:#fff;box-shadow:0 4px 12px var(--accent-ring),inset 0 1px 0 rgba(255,255,255,.18)}
body .subject-icon-delete{background:#fff;border-color:#d0d5dd;color:#344054;box-shadow:0 1px 2px rgba(16,24,40,.05)}
body .subject-icon-delete:hover:not(:disabled){background:#fff0f1;border-color:#f0cbd0;color:#bd4653;box-shadow:0 1px 2px rgba(16,24,40,.05)}
body .button-danger{background:#d92d20;color:#fff}
body .button-danger:hover:not(:disabled){background:#b42318}

/* Kartu */
body .stat-card,body .exam-card,body .table-card,body .form-card,body .empty-state,body .exam-bulk-toolbar,body .results-filters,body .results-bulk-toolbar{border-color:var(--line);box-shadow:var(--shadow-sm)}
body .empty-state{border-style:dashed;border-color:#d0d5dd;box-shadow:none}
body .exam-card{transition:border-color .2s,box-shadow .2s}
body .question-bank-subject{transition:grid-template-rows .56s cubic-bezier(.2,.75,.25,1),border-color .2s,box-shadow .2s}
body .exam-card:hover{border-color:#cfd5df;box-shadow:var(--shadow-md)}
body .subject-tag{background:var(--accent-soft);color:var(--accent-strong)}
body .badge-draft{background:#fffaeb;color:#b54708}
body .badge-published,body .badge-complete{background:#ecfdf3;color:#067647}
body .badge-closed{background:#f2f4f7;color:#475467}
body .badge-live{background:#eff8ff;color:#175cd3}
body .text-link,body .eyebrow{color:var(--accent-strong)}
body .empty-icon,body .section-number,body .option-letter{background:var(--accent-soft);color:var(--accent-strong)}
body .score-value{color:var(--accent-strong)}
body input[type=checkbox],body input[type=radio]{accent-color:var(--accent)}

/* Tabel */
body th{background:#f9fafb;color:#667085;border-bottom-color:var(--line)}
body td{border-bottom-color:#eef0f4;color:#344054}
body tbody tr:hover td{background:#fafbfc}

/* Form */
body :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]):not([type=file]),select,textarea){border-color:#d0d5dd;transition:border-color .15s,box-shadow .15s}
body :is(input,select,textarea):hover:not(:disabled){border-color:#b6bdc9}
body :is(input:not([type=checkbox]):not([type=radio]),select,textarea):focus{outline:0;border-color:var(--accent);box-shadow:0 0 0 4px var(--accent-ring)}
body :is(input,select,textarea)::placeholder{color:#98a2b3}

/* Banner siswa & login: hanya warna */
body .student-banner{background:radial-gradient(120% 140% at 100% 0%,rgba(255,255,255,.18),transparent 55%),linear-gradient(120deg,var(--theme-gradient-end,#4338a8),var(--theme-gradient-mid,#6457d9) 60%,var(--theme-gradient-start,#8879fa));box-shadow:0 18px 40px -18px var(--accent-ring)}
body .login-visual{background:radial-gradient(70% 60% at 85% 8%,rgba(255,255,255,.14),transparent 60%),linear-gradient(150deg,var(--theme-gradient-end,#2d2670),var(--theme-gradient-mid,#5a4ec4) 70%,var(--theme-gradient-start,#8879fa))}
body .visual-content h1 em{color:var(--theme-text-accent,#d1caff)}
body .visual-content p{color:var(--theme-text-soft,#e5e1ff)}
body .password-toggle:hover{background:#f2f4f7;color:var(--accent-strong)}
body .password-toggle[aria-pressed=true]{background:var(--accent-soft);color:var(--accent-strong)}

/* Ruang ujian: hanya warna, sudut, dan status (ukuran & posisi tetap milik Anda) */
body:has(.test-shell){background:#f3f5f8}
body .test-header{background:rgba(255,255,255,.94);border-bottom-color:var(--line)}
body .test-title strong{color:var(--ink)}
body .timer-box{border-color:var(--line);background:#fff;box-shadow:0 1px 2px rgba(16,24,40,.05)}
body .timer-box strong{color:var(--ink)}
body .timer-label{color:var(--muted)}
body .timer-box:has(.timer-warning){border-color:#fda29b;background:#fef3f2}
body .timer-box strong.timer-warning,body .timer-box:has(.timer-warning) .timer-label{color:#b42318}
body .test-progress{background:#e4e7ec}
body .test-progress span{background:var(--accent);box-shadow:none}
body .test-main,body .test-aside{border-color:var(--line);box-shadow:var(--shadow-sm)}
body .question-meta{color:var(--ink)}
body .question-meta>span:first-child:before{background:var(--accent);box-shadow:none}
body .points-chip{border-color:var(--line);background:#fff;color:var(--muted)}
body .test-shell .exam-question-heading{color:#1a2230}
body .test-shell .answer-option{border-color:#dfe3ea;background:#fff;box-shadow:none;transition:border-color .16s,background-color .16s,box-shadow .16s}
body .test-shell .answer-option:hover{border-color:#b6bdc9;background:#fafbfc;box-shadow:none;transform:none}
body .test-shell .answer-option.selected{border-color:var(--accent);background:var(--accent-soft);box-shadow:0 0 0 3px var(--accent-ring);transform:none}
body .test-shell .answer-letter{border-color:#d0d5dd;background:#fff;color:var(--muted);box-shadow:none}
body .test-shell .answer-option.selected .answer-letter{border-color:var(--accent);background:var(--accent);color:#fff}
body .test-shell .answer-option .answer-text{color:#1f2937}
body .test-shell .answer-option.selected .answer-text{color:var(--ink)}
body .test-shell .answer-check{border-color:#d0d5dd}
body .test-shell .answer-option.selected .answer-check{border-color:var(--accent);background:var(--accent);color:#fff}
body .test-controls{border-top-color:#eef0f4}
body .test-shell .test-controls .button-quiet{background:var(--accent);border-color:var(--accent-strong);color:#fff;box-shadow:none}
body .test-shell .test-controls .button-quiet:hover:not(:disabled){background:var(--accent-strong);border-color:var(--accent-strong);color:#fff}
body .test-shell .test-controls .question-doubt-button{border-color:#fedf89;background:#fffcf5;color:#b54708}
body .test-shell .test-controls .question-doubt-button.is-marked{border-color:#f79009;background:#fef0c7;color:#93370d}
body .test-shell .test-controls .button-primary{border-color:transparent;background:var(--accent);background-image:none;box-shadow:0 1px 2px rgba(16,24,40,.14)}
body .test-shell .test-controls .button-primary:hover:not(:disabled){background:var(--accent-strong);box-shadow:0 6px 16px var(--accent-ring)}
body .test-controls>#next-question.is-submit-action{border-color:transparent;background:#079455;background-image:none}
body .test-shell .map-number:not(.current):not(.answered):not(.doubtful){border-color:#e4e7ec;background:#fff;color:#667085}
body .test-shell .map-number.answered:not(.doubtful),body .test-shell .map-number.answered:not(.doubtful):hover{border-color:var(--accent);background:var(--accent-soft);color:var(--accent-strong)}
body .test-shell .map-number.doubtful,body .test-shell .map-number.doubtful:hover{border-color:#f79009;background:#fef0c7;color:#93370d}
body .test-shell .map-number.current,body .test-shell .map-number.current:hover,
body .test-shell .map-number.answered.current:not(.doubtful),body .test-shell .map-number.answered.current:not(.doubtful):hover{border-color:var(--accent-strong);background:var(--accent);color:#fff;box-shadow:0 0 0 3px var(--accent-ring)}
body .test-shell .map-number.doubtful.current,body .test-shell .map-number.doubtful.current:hover{border-color:#b54708;background:#f79009;color:#fff;box-shadow:0 0 0 3px rgba(247,144,9,.3)}
body .map-legend{background:#f7f8fa}
body .map-legend .legend-current{background:var(--accent)}
body .map-legend .legend-answered{background:var(--accent-soft);border:1.5px solid var(--accent)}
body .map-legend .legend-doubtful{background:#fef0c7;border:1.5px solid #f79009}
body .test-aside-note{background:#f7f8fa;border-color:#eef0f4;color:var(--muted)}
body .submit-hint{color:#b54708}
body .test-shell .button-submit{border-color:transparent;background:#079455;background-image:none;color:#fff;box-shadow:0 1px 2px rgba(16,24,40,.14)}
body .test-shell .button-submit:hover:not(:disabled){background:#067647}
body .test-shell .button-submit:disabled{background:#e4e7ec;color:#98a2b3;box-shadow:none;opacity:1}
body dialog::backdrop{background:rgba(16,24,40,.5)}
body .exam-submit-dialog-icon{background:#ecfdf3;border-color:#d1fadf;color:#067647}

/* Halaman mulai & selesai */
body .exam-start-icon{background:var(--accent-soft);border-color:transparent;color:var(--accent)}
body .exam-start-card,body .finish-card{border-color:var(--line);box-shadow:var(--shadow-md)}
body .finish-icon{background:#ecfdf3;color:#067647}
body .finish-score strong{color:var(--accent-strong)}
body .finish-card .finish-appreciation{max-width:360px;margin:12px auto 0;color:#2459a6;font-size:13px;font-weight:600;line-height:1.55}

/* Ruang pengerjaan ujian */
body .test-shell.exam-workspace{--exam-blue:#2563eb;--exam-blue-dark:#1748a4;--exam-blue-soft:#eff6ff;--exam-green:#079455}
body:has(.test-shell.exam-workspace){background:#f1f6ff}
body .test-shell.exam-workspace{background:transparent}
body .test-shell.exam-workspace .exam-header-shell{overflow:hidden;border-radius:0 0 12px 12px;box-shadow:0 4px 14px rgba(16,24,40,.06)}
body .test-shell.exam-workspace .test-header{
    position:relative;
    display:grid;
    grid-template-columns:54px minmax(0,1fr) auto minmax(42px,auto);
    align-items:center;
    gap:14px;
    width:100%;
    height:78px;
    padding:0 clamp(18px,3.2vw,48px);
    border:0;
    border-bottom:1px solid #e7edf5;
    background:#fff;
    box-shadow:none;
}
body .test-shell.exam-workspace .exam-brand{display:grid;width:50px;height:50px;place-items:center;margin:0;padding:2px;border:1px solid #e2eaf5;border-radius:15px;background:#f8faff;box-shadow:0 2px 7px rgba(16,24,40,.06)}
body .test-shell.exam-workspace .exam-brand-logo{width:48px;height:48px;object-fit:contain}
body .test-shell.exam-workspace .test-title{position:absolute;top:50%;left:50%;width:calc(100% - 430px);max-width:720px;min-width:0;gap:4px;transform:translate(-50%,-50%);text-align:center}
body .test-shell.exam-workspace .test-title strong{overflow:hidden;color:#172b4d;font-size:16px;font-weight:750;line-height:1.25;text-overflow:ellipsis;white-space:nowrap}
body .test-shell.exam-workspace .test-title small{overflow:hidden;color:#667085;font-size:11px;line-height:1.3;text-overflow:ellipsis;white-space:nowrap}
body .test-shell.exam-workspace .timer-box{
    grid-column:3;
    display:flex;
    min-width:132px;
    align-items:center;
    justify-content:center;
    gap:9px;
    padding:7px 12px;
    border:1px solid #dce7f5;
    border-radius:14px;
    background:#f6f9ff;
    box-shadow:none;
    text-align:left;
}
body .test-shell.exam-workspace .timer-clock{display:grid;width:28px;height:28px;flex:0 0 28px;place-items:center;border:1px solid #d8e4f4;border-radius:9px;background:#fff;color:#2459a6}
body .test-shell.exam-workspace .timer-clock svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body .test-shell.exam-workspace .timer-copy{display:grid;gap:1px}
body .test-shell.exam-workspace .timer-label{color:#667085;font-size:9px;font-weight:700;letter-spacing:.1em}
body .test-shell.exam-workspace .timer-box strong{margin:0;color:#172b4d;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;font-size:20px;font-variant-numeric:tabular-nums;font-weight:750;letter-spacing:.025em;line-height:1.1}
body .test-shell.exam-workspace .timer-box:has(.timer-warning){border-color:#fda29b;background:#fef3f2}
body .test-shell.exam-workspace .timer-box strong.timer-warning,
body .test-shell.exam-workspace .timer-box:has(.timer-warning) .timer-label{color:#b42318}
body .test-shell.exam-workspace .exam-student-avatar{grid-column:4;display:flex;width:42px;min-width:42px;height:42px;align-items:center;justify-content:flex-start;gap:8px;overflow:hidden;padding:0 11px;border:1px solid #b9e3f5;border-radius:999px;background:#e5f6fd;color:#176b91;font:700 14px/1 system-ui,-apple-system,"Segoe UI",sans-serif;white-space:nowrap;cursor:pointer;transition:width .42s cubic-bezier(.22,1,.36,1),background-color .3s ease,border-color .3s ease,box-shadow .3s ease}
body .test-shell.exam-workspace .exam-student-avatar:hover,
body .test-shell.exam-workspace .exam-student-avatar[aria-expanded=true]{border-color:#91d3ed;background:#dff4fc;box-shadow:0 3px 10px rgba(23,107,145,.12)}
body .test-shell.exam-workspace .exam-student-avatar:focus-visible{outline:3px solid rgba(22,114,237,.3);outline-offset:3px}
body .test-shell.exam-workspace .exam-student-initial{display:grid;flex:0 0 18px;place-items:center}
body .test-shell.exam-workspace .exam-student-name{max-width:0;overflow:hidden;opacity:0;transition:max-width .42s cubic-bezier(.22,1,.36,1),opacity .25s ease}
body .test-shell.exam-workspace .exam-student-avatar[aria-expanded=true]{width:min(210px,26vw)}
body .test-shell.exam-workspace .exam-student-avatar[aria-expanded=true] .exam-student-name{max-width:170px;opacity:1}
body .test-shell.exam-workspace .test-progress{height:4px;background:#e9f0fa}
body .test-shell.exam-workspace .test-progress span{background:#22a6f2;box-shadow:none}
body .test-shell.exam-workspace .test-layout{
    grid-template-columns:minmax(0,1fr) 320px;
    gap:24px;
    width:min(100%,1440px);
    min-height:calc(100vh - 82px);
    padding:28px clamp(20px,3vw,42px) 44px;
}
body .test-shell.exam-workspace .test-main{
    padding:24px;
    border-color:#e5edfb;
    border-radius:18px;
    background:#fff;
    box-shadow:0 8px 28px rgba(31,78,150,.08);
}
body .test-shell.exam-workspace .question-meta{margin-bottom:17px;color:#17458f;font-size:11px;letter-spacing:.02em}
body .test-shell.exam-workspace .question-meta>span:first-child{padding:8px 12px;border:1px solid #d7e7ff;border-radius:999px;background:#eff6ff}
body .test-shell.exam-workspace .question-meta>span:first-child:before{width:8px;height:8px;border-radius:50%;background:#1672ed;box-shadow:none}
body .test-shell.exam-workspace .question-meta .muted{color:#5072a9}
body .test-shell.exam-workspace .points-chip{padding:7px 11px;border-color:#d7e7ff;border-radius:999px;background:#eff6ff;color:#175cd3;font-size:11px}
body .test-shell.exam-workspace .exam-question-heading{margin:0 0 16px;color:#142e5d;font-size:19px;font-weight:650;line-height:1.5}
body .test-shell.exam-workspace .answer-options{gap:10px}
body .test-shell.exam-workspace .answer-option{
    min-height:60px;
    gap:12px;
    padding:10px 14px;
    border-color:#dce7f7;
    border-radius:14px;
    background:#fff;
    box-shadow:none;
}
body .test-shell.exam-workspace .answer-option:hover{border-color:#8bb7ff;background:#f8fbff;box-shadow:none}
body .test-shell.exam-workspace .answer-option.selected{border-color:#367cff;background:#eff6ff;box-shadow:0 0 0 1px rgba(54,124,255,.08)}
body .test-shell.exam-workspace .answer-letter{
    display:grid;
    width:40px;
    height:40px;
    flex:0 0 40px;
    place-items:center;
    border:0;
    border-radius:50%;
    background:#e7eef9;
    color:#193766;
    font-size:15px;
}
body .test-shell.exam-workspace .answer-option.selected .answer-letter{border:0;background:#1672ed;color:#fff;box-shadow:none}
body .test-shell.exam-workspace .answer-option .answer-text{color:#18345f;font-size:16px;line-height:1.5}
body .test-shell.exam-workspace .answer-option.selected .answer-text{color:#18345f;font-weight:650}
body .test-shell.exam-workspace .answer-check{width:22px;height:22px;flex:0 0 22px;border-color:#d4deec;border-radius:50%;background:#fff;color:transparent}
body .test-shell.exam-workspace .answer-check svg{width:13px;height:13px}
body .test-shell.exam-workspace .answer-option.selected .answer-check{border-color:#d5e5ff;background:#eaf2ff;color:#1768df;box-shadow:none}
body .test-shell.exam-workspace .test-controls{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);
    grid-template-rows:auto auto;
    gap:9px 14px;
    margin-top:28px;
    padding-top:20px;
    border-top-color:#e8effa;
}
body .test-shell.exam-workspace .test-controls>#previous-question{grid-column:1;grid-row:1;justify-self:start}
body .test-shell.exam-workspace .test-controls>#next-question{grid-column:2;grid-row:1;justify-self:center}
body .test-shell.exam-workspace .test-controls>#toggle-doubt{grid-column:3;grid-row:1;justify-self:end}
body .test-shell.exam-workspace .test-controls>#question-counter{grid-column:1/-1;grid-row:2;color:#6880a5}
body .test-shell.exam-workspace .test-controls .button{min-height:48px;padding:0 18px;border-radius:999px;font-size:13px}
body .test-shell.exam-workspace .test-controls .button-quiet{
    border-color:#367cff;
    background:#fff;
    color:#1262dc;
    box-shadow:none;
}
body .test-shell.exam-workspace .test-controls .button-quiet:hover:not(:disabled){border-color:#125bd0;background:#eff6ff;color:#125bd0}
body .test-shell.exam-workspace .test-controls .question-doubt-button{border-color:#ffad24;background:#fff;color:#c66a00}
body .test-shell.exam-workspace .test-controls .question-doubt-button.is-marked{background:#fff4dd;color:#a44f00}
body .test-shell.exam-workspace .test-controls .button-primary{border-color:transparent;background:#1672ed;color:#fff;box-shadow:0 4px 11px rgba(22,114,237,.18)}
body .test-shell.exam-workspace .test-controls>#next-question.is-submit-action{border-color:transparent;background:#079455;color:#fff;box-shadow:0 4px 11px rgba(7,148,85,.18)}
body .test-shell.exam-workspace .test-aside{
    position:sticky;
    top:96px;
    display:grid;
    align-content:start;
    gap:15px;
    max-height:none;
    overflow:visible;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
}
body .test-shell.exam-workspace .question-nav-card,
body .test-shell.exam-workspace .exam-answer-guidance{
    min-width:0;
    padding:18px;
    border:1px solid #e5edfb;
    border-radius:18px;
    background:#fff;
    box-shadow:0 8px 24px rgba(31,78,150,.07);
}
body .test-shell.exam-workspace .question-nav-header{display:flex;gap:11px;min-height:0;margin:0;padding:0 0 15px;border-bottom:1px solid #eaf0fa}
body .test-shell.exam-workspace .question-nav-icon{display:grid;width:38px;height:38px;flex:0 0 38px;place-items:center;border-radius:50%;background:#e9f1ff;color:#1768df}
body .test-shell.exam-workspace .question-nav-icon svg{width:19px;height:19px;stroke:currentColor;stroke-width:2}
body .test-shell.exam-workspace .question-nav-title{display:grid;flex:1;gap:3px;align-content:center}
body .test-shell.exam-workspace .question-nav-title strong{color:#173565;font-size:15px}
body .test-shell.exam-workspace .question-nav-title small{color:#7185a8;font-size:12px}
body .test-shell.exam-workspace .question-nav-content{display:flex;padding-top:15px}
body .test-shell.exam-workspace .question-map{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin:0 0 14px}
body .test-shell.exam-workspace .map-number,
body .test-shell.exam-workspace .map-number:hover,
body .test-shell.exam-workspace .map-number.current,
body .test-shell.exam-workspace .map-number.answered:not(.current),
body .test-shell.exam-workspace .map-number.doubtful:not(.current){
    width:100%;
    max-width:none;
    height:auto;
    min-width:0;
    aspect-ratio:1;
    border:1px solid #d8e5f8;
    border-radius:12px;
    background:#fff;
    color:#21518e;
    font-size:14px;
    font-weight:700;
    box-shadow:none;
}
body .test-shell.exam-workspace .map-number.answered:not(.doubtful){border-color:#a9dfca;background:#e9f8f1;color:#087443}
body .test-shell.exam-workspace .map-number.doubtful{border-color:#ffca70;background:#fff6e5;color:#a44f00}
body .test-shell.exam-workspace .map-number.current,
body .test-shell.exam-workspace .map-number.answered.current:not(.doubtful){border-color:#1768df;background:#1768df;color:#fff;box-shadow:0 2px 7px rgba(23,104,223,.2)}
body .test-shell.exam-workspace .map-number.doubtful.current{border-color:#e88a00;background:#f59e0b;color:#fff}
body .test-shell.exam-workspace .submit-hint{margin:0 0 9px;color:#9b5a08;font-size:11px}
body .test-shell.exam-workspace .button-submit{
    width:100%;
    min-height:48px;
    border:0;
    border-radius:12px;
    background:#079455;
    color:#fff;
    box-shadow:0 4px 10px rgba(7,148,85,.16);
    font-size:13px;
}
body .test-shell.exam-workspace .button-submit:hover:not(:disabled){background:#067647}
body .test-shell.exam-workspace .button-submit:disabled{background:#e4e7ec;color:#98a2b3;box-shadow:none}
body .test-shell.exam-workspace .exam-answer-guidance{display:grid;gap:12px}
body .test-shell.exam-workspace .exam-guidance-heading{display:flex;align-items:center;gap:10px;margin:0;color:#173565;font-size:15px}
body .test-shell.exam-workspace .exam-guidance-heading>span{display:grid;width:25px;height:25px;place-items:center;border-radius:50%;background:#1768df;color:#fff;font-family:Arial,sans-serif;font-size:15px;font-weight:700}
body .test-shell.exam-workspace .exam-answer-guidance .map-legend{grid-template-columns:1fr;margin:0;padding:0;background:transparent}
body .test-shell.exam-workspace .exam-answer-guidance .map-legend>span{gap:10px;color:#61789d;font-size:12px}
body .test-shell.exam-workspace .exam-answer-guidance .map-legend i{width:11px;height:11px;border-radius:50%}
body .test-shell.exam-workspace .exam-answer-guidance .legend-current{background:#22a6f2}
body .test-shell.exam-workspace .exam-answer-guidance .legend-doubtful{background:#ffad24}
body .test-shell.exam-workspace .exam-answer-guidance .legend-empty{border:1.5px solid #c9d7ec;background:#fff}
body .test-shell.exam-workspace .exam-answer-guidance .legend-answered{background:#079455}
body .test-shell.exam-workspace .test-aside-note{margin:0;padding:10px;border-color:#e7effb;border-radius:11px;background:#f7faff;color:#1768df}
body .test-shell.exam-workspace .test-aside-note>span{display:grid;width:18px;height:18px;flex:0 0 18px;place-items:center;border-radius:50%;background:#e1f4ea;color:#07804a;font-size:11px;font-weight:800}
body .test-shell.exam-workspace .test-aside-note p{color:#607493;font-size:10px}

@media(max-width:1050px) and (min-width:761px){
    body .test-shell.exam-workspace .test-layout{grid-template-columns:minmax(0,1fr) 270px;gap:17px;padding-right:20px;padding-left:20px}
    body .test-shell.exam-workspace .test-main{padding:20px}
    body .test-shell.exam-workspace .test-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto auto}
    body .test-shell.exam-workspace .test-controls>#previous-question{grid-column:1;grid-row:1;justify-self:stretch}
    body .test-shell.exam-workspace .test-controls>#toggle-doubt{grid-column:2;grid-row:1;justify-self:stretch}
    body .test-shell.exam-workspace .test-controls>#next-question{grid-column:1/-1;grid-row:2;justify-self:stretch}
    body .test-shell.exam-workspace .test-controls>#question-counter{grid-column:1/-1;grid-row:3}
}
@media(max-width:760px){
    body .test-shell.exam-workspace .test-header{grid-template-columns:36px minmax(0,1fr) auto minmax(32px,auto);gap:9px;height:62px;padding:0 14px}
    body .test-shell.exam-workspace .test-title{position:static;left:auto;width:auto;max-width:none;transform:none}
    body .test-shell.exam-workspace .timer-box,
    body .test-shell.exam-workspace .exam-student-avatar{grid-column:auto}
    body .test-shell.exam-workspace .exam-brand{width:36px;height:36px;margin:0;padding:0}
    body .test-shell.exam-workspace .exam-brand-logo{width:35px;height:35px}
    body .test-shell.exam-workspace .test-title strong{font-size:12px}
    body .test-shell.exam-workspace .test-title small{font-size:9px}
    body .test-shell.exam-workspace .timer-box{min-width:100px;gap:7px;padding:5px 10px}
    body .test-shell.exam-workspace .timer-clock{width:25px;height:25px;flex-basis:25px}
    body .test-shell.exam-workspace .timer-clock svg{width:24px;height:24px}
    body .test-shell.exam-workspace .timer-label{font-size:8px}
    body .test-shell.exam-workspace .timer-box strong{font-size:16px;letter-spacing:.015em}
    body .test-shell.exam-workspace .exam-student-avatar{width:32px;min-width:32px;height:32px;padding:0 7px;font-size:12px}
    body .test-shell.exam-workspace .exam-student-initial{flex-basis:16px}
    body .test-shell.exam-workspace .exam-student-avatar[aria-expanded=true]{width:min(150px,40vw)}
    body .test-shell.exam-workspace .exam-student-avatar[aria-expanded=true] .exam-student-name{max-width:118px}
    body .test-shell.exam-workspace .test-layout{gap:0;padding:14px 13px 78px}
    body .test-shell.exam-workspace .test-main{padding:19px 17px 20px;border-radius:17px}
    body .test-shell.exam-workspace .exam-question-heading{font-size:18px}
    body .test-shell.exam-workspace .answer-options{gap:6px}
    body .test-shell.exam-workspace .answer-option{min-height:52px;padding:7px 11px}
    body .test-shell.exam-workspace .answer-letter{width:36px;height:36px;flex-basis:36px;font-size:14px}
    body .test-shell.exam-workspace .answer-option .answer-text{font-size:15px}
    body .test-shell.exam-workspace .answer-check{width:24px;height:24px;flex-basis:24px}
    body .test-shell.exam-workspace .test-controls{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto auto auto;gap:8px;margin-top:22px;padding-top:15px}
    body .test-shell.exam-workspace .test-controls>#previous-question{grid-column:1;grid-row:1;justify-self:stretch}
    body .test-shell.exam-workspace .test-controls>#toggle-doubt{grid-column:2;grid-row:1;justify-self:stretch}
    body .test-shell.exam-workspace .test-controls>#next-question{grid-column:1/-1;grid-row:2;justify-self:stretch}
    body .test-shell.exam-workspace .test-controls>#question-counter{grid-column:1/-1;grid-row:3}
    body .test-shell.exam-workspace .test-controls .button{min-height:42px;padding:0 10px;font-size:11px}
    body .test-shell.exam-workspace .test-aside{
        position:fixed;
        top:auto;
        right:0;
        bottom:0;
        left:0;
        z-index:30;
        display:block;
        max-height:none;
        overflow:visible;
        padding:0 0 env(safe-area-inset-bottom,0px);
    }
    body .test-shell.exam-workspace .question-nav-card{padding:0 14px 8px;border:0;border-top:1px solid #dfe9f8;border-radius:16px 16px 0 0;box-shadow:0 -6px 22px rgba(31,78,150,.12)}
    body .test-shell.exam-workspace .question-nav-header{min-height:56px;gap:9px;padding:5px 2px;border-bottom:0}
    body .test-shell.exam-workspace .question-nav-icon{width:32px;height:32px;flex-basis:32px}
    body .test-shell.exam-workspace .question-nav-icon svg{width:17px;height:17px}
    body .test-shell.exam-workspace .question-nav-title strong{font-size:12px}
    body .test-shell.exam-workspace .question-nav-title small{font-size:10px}
    body .test-shell.exam-workspace .question-nav-toggle{display:grid;width:35px;height:35px;place-items:center;border:1px solid #dbe8fb;border-radius:10px;background:#f4f8ff;color:#1768df;transition:background-color .35s ease,border-color .35s ease,color .35s ease,transform .45s cubic-bezier(.22,1,.36,1)}
    body .test-shell.exam-workspace .question-nav-content{display:none;max-height:42vh;max-height:42dvh;overflow:auto;padding:0 2px 10px}
    body .test-shell.exam-workspace .test-aside.is-nav-open{max-height:82vh;max-height:82dvh;overflow:auto}
    body .test-shell.exam-workspace .test-aside.is-nav-open .question-nav-content{display:flex}
    body .test-shell.exam-workspace .question-map{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:0 0 10px}
    body .test-shell.exam-workspace .map-number,
    body .test-shell.exam-workspace .map-number:hover,
    body .test-shell.exam-workspace .map-number.current,
    body .test-shell.exam-workspace .map-number.answered:not(.current),
    body .test-shell.exam-workspace .map-number.doubtful:not(.current){max-width:42px;border-radius:10px;font-size:12px}
    body .test-shell.exam-workspace .exam-answer-guidance{display:none;margin:0 14px 10px;padding:14px;border-radius:14px}
    body .test-shell.exam-workspace .test-aside.is-nav-open .exam-answer-guidance{display:grid}
    body .test-shell.exam-workspace .exam-guidance-heading{font-size:13px}
    body .test-shell.exam-workspace .exam-answer-guidance .map-legend{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
    body .test-shell.exam-workspace .exam-answer-guidance .map-legend>span{font-size:10px}
    body .test-shell.exam-workspace .test-aside-note{display:none}
    body .test-shell.exam-workspace .submit-hint{font-size:10px}
    body .test-shell.exam-workspace .button-submit{min-height:42px}
}
@media(max-width:420px){
    body .test-shell.exam-workspace .test-header{grid-template-columns:31px minmax(0,1fr) auto minmax(28px,auto);gap:7px;height:58px;padding:0 9px}
    body .test-shell.exam-workspace .exam-brand{width:31px;height:31px;margin:0;padding:0}
    body .test-shell.exam-workspace .exam-brand-logo{width:30px;height:30px}
    body .test-shell.exam-workspace .test-title strong{font-size:10px}
    body .test-shell.exam-workspace .test-title small{font-size:8px}
    body .test-shell.exam-workspace .timer-box{min-width:83px;gap:5px;padding:4px 7px}
    body .test-shell.exam-workspace .timer-clock{width:21px;height:21px;flex-basis:21px}
    body .test-shell.exam-workspace .timer-clock svg{width:20px;height:20px}
    body .test-shell.exam-workspace .timer-label{font-size:7px;letter-spacing:.07em}
    body .test-shell.exam-workspace .timer-box strong{font-size:14px;letter-spacing:0}
    body .test-shell.exam-workspace .exam-student-avatar{width:28px;min-width:28px;height:28px;padding:0 5px;font-size:11px}
    body .test-shell.exam-workspace .exam-student-initial{flex-basis:16px}
    body .test-shell.exam-workspace .exam-student-avatar[aria-expanded=true]{width:min(128px,38vw)}
    body .test-shell.exam-workspace .exam-student-avatar[aria-expanded=true] .exam-student-name{max-width:100px}
    body .test-shell.exam-workspace .exam-question-heading{font-size:17px}
    body .test-shell.exam-workspace .answer-option .answer-text{font-size:14px}
    body .test-shell.exam-workspace .test-layout{padding:11px 9px 75px}
    body .test-shell.exam-workspace .test-main{padding:16px 13px 17px}
    body .test-shell.exam-workspace .exam-question-heading{font-size:18px}
    body .test-shell.exam-workspace .answer-options{gap:5px}
    body .test-shell.exam-workspace .answer-option{min-height:49px;gap:8px;padding:6px 9px}
    body .test-shell.exam-workspace .answer-letter{width:32px;height:32px;flex-basis:32px;font-size:12px}
    body .test-shell.exam-workspace .answer-option .answer-text{font-size:12px}
    body .test-shell.exam-workspace .test-controls .button{font-size:10px}
}

@media(prefers-reduced-motion:reduce){
    body *,body *:before,body *:after{animation-duration:.01ms!important;transition-duration:.01ms!important}
}

/* Student question content: retain authored formatting without adding default emphasis. */
body .test-shell.exam-workspace .exam-question-heading,
body .test-shell.exam-workspace .answer-option .answer-text{
    font-size:16px;
    font-weight:400;
    line-height:1.45;
}
body .test-shell.exam-workspace .exam-question-heading{margin-bottom:12px}
body .test-shell.exam-workspace .exam-question-heading p,
body .test-shell.exam-workspace .exam-question-heading div,
body .test-shell.exam-workspace .answer-option .answer-text p,
body .test-shell.exam-workspace .answer-option .answer-text div{
    margin-block:0 .4em;
    line-height:inherit;
}
body .test-shell.exam-workspace .exam-question-heading>:last-child,
body .test-shell.exam-workspace .answer-option .answer-text>:last-child{margin-bottom:0}
body .test-shell.exam-workspace .exam-question-heading .inline-question-image-display:not(.image-wrap-square):not(.image-wrap-tight):not(.image-wrap-through):not(.image-wrap-top-bottom):not(.image-wrap-behind):not(.image-wrap-front){
    display:block;
    max-width:100%;
    height:auto;
    margin:8px 0;
    vertical-align:initial;
}
body .test-shell.exam-workspace .answer-option.selected .answer-text{font-weight:400}
body .test-shell.exam-workspace .answer-check{
    display:grid;
    box-sizing:border-box;
    place-items:center;
    padding:0;
    line-height:0;
}
body .test-shell.exam-workspace .answer-check svg{display:block;width:13px;height:13px;margin:auto}
body .test-shell.exam-workspace .exam-answer-guidance .map-legend{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
}
body .test-shell.exam-workspace .exam-answer-guidance .map-legend>span{
    min-height:32px;
    gap:8px;
    padding:6px 8px;
    border:1px solid #e8eef7;
    border-radius:9px;
    background:#fbfcfe;
    color:#526783;
    font-size:11px;
    line-height:1.25;
}
body .test-shell.exam-workspace .exam-answer-guidance .map-legend i{flex:0 0 10px}
@media(max-width:760px){
    body .test-shell.exam-workspace .exam-question-heading,
    body .test-shell.exam-workspace .answer-option .answer-text{font-size:16px;line-height:1.45}
    body .test-shell.exam-workspace .question-nav-content{
        display:flex;
        max-height:0;
        overflow:hidden;
        padding:0 2px;
        opacity:0;
        visibility:hidden;
        transform:translateY(-5px);
        pointer-events:none;
        transition:max-height .48s cubic-bezier(.22,1,.36,1),padding .42s cubic-bezier(.22,1,.36,1),opacity .32s ease,transform .48s cubic-bezier(.22,1,.36,1),visibility 0s linear .48s;
    }
    body .test-shell.exam-workspace .test-aside.is-nav-open .question-nav-content{
        display:flex;
        max-height:42vh;max-height:42dvh;
        padding:0 2px 10px;
        opacity:1;
        visibility:visible;
        transform:translateY(0);
        pointer-events:auto;
        transition:max-height .48s cubic-bezier(.22,1,.36,1),padding .42s cubic-bezier(.22,1,.36,1),opacity .36s ease,transform .48s cubic-bezier(.22,1,.36,1),visibility 0s;
    }
    body .test-shell.exam-workspace .exam-answer-guidance{
        display:grid;
        max-height:0;
        overflow:hidden;
        margin:0 14px;
        padding:0 14px;
        border-width:0;
        opacity:0;
        visibility:hidden;
        transform:translateY(-5px);
        transition:max-height .48s cubic-bezier(.22,1,.36,1),margin .42s cubic-bezier(.22,1,.36,1),padding .42s cubic-bezier(.22,1,.36,1),border-width .42s ease,opacity .32s ease,transform .48s cubic-bezier(.22,1,.36,1),visibility 0s linear .48s;
    }
    body .test-shell.exam-workspace .test-aside.is-nav-open .exam-answer-guidance{
        display:grid;
        max-height:180px;
        margin:0 14px 10px;
        padding:14px;
        border-width:1px;
        opacity:1;
        visibility:visible;
        transform:translateY(0);
        transition:max-height .48s cubic-bezier(.22,1,.36,1),margin .42s cubic-bezier(.22,1,.36,1),padding .42s cubic-bezier(.22,1,.36,1),border-width .42s ease,opacity .36s ease,transform .48s cubic-bezier(.22,1,.36,1),visibility 0s;
    }
}
@media(max-width:420px){
    body .test-shell.exam-workspace .exam-question-heading,
    body .test-shell.exam-workspace .answer-option .answer-text{font-size:16px;line-height:1.45}
}
