/* SPE exam atelier: numbered navigation, paper edges and restrained gold. */
:root{--ink:#202020;--paper:#f5f5f3;--muted:#686864;--line:#deded8;--gold:#d8b564;font-family:'Segoe UI',Arial,sans-serif;color:var(--ink);background:var(--paper)}
body{font-size:16px}button,input,select{font-family:inherit}h1,h2,h3{letter-spacing:-.035em}h1{font-size:clamp(32px,3.6vw,50px);font-weight:600}.eyebrow{font-size:12px;letter-spacing:.12em;color:#7b612b}
.sidebar{background:#181818;color:#f1f1ed;border-right:1px solid #333;padding-top:38px}.logo{padding-bottom:44px}.logo>span{color:#b7b6ae;font-size:10px}.nav-label{color:#a6a59f;font-size:11px}.sidebar nav{gap:0}.sidebar nav button{border-radius:0;min-height:56px;border-bottom:1px solid #ffffff12;color:#bdbcb6}.sidebar nav button>span{font:12px Consolas,monospace;letter-spacing:.04em;width:24px;color:#85847b}.sidebar nav button.active{background:#ffffff0b;color:#e5c983;box-shadow:inset 3px 0 var(--gold)}.sidebar nav button.active>span{color:#e5c983}.sidebar nav button:hover:not(.active){background:#ffffff09}.sidebar-note{border-color:#373737}.sidebar-note>span{font-size:11px;letter-spacing:.18em;border-top:2px solid var(--gold);padding-top:16px}.sidebar-note p{font-size:17px}.sidebar-note small,.course-link{color:#b5b3aa}.course-link>span{display:none}
.topbar{background:#fff;font-size:13px}.topbar i{width:14px;height:3px;border-radius:0;background:#ac873d}.page{padding-top:30px}.page-heading{margin-bottom:26px}.page-heading p:not(.eyebrow){font-size:16px}.date-chip{border:0;border-bottom:1px solid #c7c6bd;border-radius:0;padding-right:0;font-size:13px}
.feature-grid{gap:0;grid-template-columns:1.8fr 1fr;border:1px solid #d0cec5}.latest-card{border-radius:0;background:#202020;padding:28px 32px;border-top:3px solid var(--gold)}.latest-top>span:last-child{font-size:12px;color:#bbb8aa;letter-spacing:.08em}.pill{border-radius:0;border:0;border-bottom:1px solid #7e6b43;padding:0 0 6px;color:#e9d69f;font-size:11px;letter-spacing:.12em}.latest-body{min-height:164px}.latest-body h2{font-size:33px;max-width:280px;font-weight:500;line-height:1.12}.latest-body p{color:#c2bfb5;font-size:14px}.giant-number{font-family:Georgia,'Times New Roman',serif;font-weight:400;color:#d8b564;opacity:.88;letter-spacing:-.06em;font-size:clamp(95px,10vw,148px);align-self:center}.latest-bottom small{color:#bcb8ac;font-size:12px}
.button{border-radius:3px;min-height:48px;font-size:14px}.dark,.toast{background:#252525}.gold{color:#211b0e}.outline{border-color:#cecdc4}.button:hover:not(:disabled){transform:none;filter:brightness(.96)}.practice-card{border:0;border-radius:0;background:#eeece4;padding:29px;position:relative}.practice-card .eyebrow{font-size:11px;line-height:1.7}.practice-heading h2{font-size:31px;font-weight:500;line-height:1.15}.practice-stamp{font:32px Georgia,serif;text-align:center;line-height:.8;border-left:1px solid #c6b484;padding-left:18px;color:#81632d}.practice-stamp small{font:10px 'Segoe UI',sans-serif;letter-spacing:.16em}.practice-card p{font-size:14px;color:#6b6559}.practice-card .text-button{font-size:14px;border-bottom:1px solid #9c8250;padding-bottom:6px;min-height:40px}.text-button:hover{color:#7f5b15}
.daily-strip{display:grid;grid-template-columns:1.2fr .7fr 1fr;align-items:center;gap:28px;border-bottom:1px solid #cecdc6;padding:28px 0}.daily-strip .eyebrow{margin-bottom:6px;font-size:11px}.daily-strip h2{font-size:22px;margin-bottom:7px;font-weight:550}.daily-strip p:not(.eyebrow){font-size:13px;color:var(--muted);margin:0}.daily-target{display:grid;grid-template-columns:1fr auto;align-items:center;gap:12px}.daily-target label{font-size:13px}.daily-target select{background:white;border:1px solid #c9c6bb;border-radius:3px;padding:8px;font-size:13px;min-height:44px;width:100%}.daily-target progress{grid-column:1/-1;width:100%;height:5px;appearance:none;border:0;border-radius:0;background:#e2dfd5;accent-color:#ac8534}.daily-target progress::-webkit-progress-bar{background:#e2dfd5}.daily-target progress::-webkit-progress-value{background:#ac8534}.daily-target progress::-moz-progress-bar{background:#ac8534}.week-wrap>span{font-size:10px;letter-spacing:.1em;color:var(--muted)}.week-activity{display:flex;justify-content:space-between;gap:9px;margin-top:8px}.week-day{flex:1;display:flex;flex-direction:column;align-items:center;gap:5px;font-size:10px;color:#6c6b64;min-width:0}.week-day b{font-size:11px;font-weight:500}.week-bar{height:30px;width:100%;max-width:23px;background:#e8e6de;display:flex;align-items:flex-end}.week-bar i{display:block;width:100%;background:#9c988c}.week-day.today{color:#75540f}.today .week-bar i{background:#b68b37}.week-day small{font-size:10px}
.stat-row{background:transparent;border:0;border-radius:0;padding:0;margin:25px 0 38px}.stat{padding-left:24px}.stat:first-child{padding-left:0}.stat small{font-size:13px}.stat strong{font-size:30px;font-variant-numeric:tabular-nums;font-weight:500}.library-heading .eyebrow{font-size:11px}.library-heading h2{font-size:27px}.library-heading h2>span{background:#e8e4d8;border-radius:0}.search{border-radius:3px;background:#fff}.search .search-label{font:10px Consolas,monospace;letter-spacing:.12em;color:#777268;border-right:1px solid var(--line);padding-right:10px}.search input{font-size:14px}.segments{background:transparent;border-bottom:1px solid var(--line);border-radius:0;gap:15px;padding:0}.segments button{border-radius:0;font-size:13px;padding:10px 4px}.segments button.active{box-shadow:0 2px #967129;background:transparent}.filter-bar>span{font-size:12px}.exam-grid{gap:18px}.exam-card{border-radius:0;border:1px solid #d9d8d1;position:relative;box-shadow:3px 3px 0 #e8e7e0;padding:21px;transition:border-color .2s}.exam-card:hover{transform:none;border-color:#a98a43}.card-top{margin-bottom:22px}.exam-id{font:32px Georgia,serif;background:none;border-radius:0;min-width:0;color:#80632a;padding:0;letter-spacing:-.04em}.card-status{font-size:12px;color:#717166}.exam-card h3{font-size:19px;font-weight:500}.card-meta{font-size:13px}.card-footer>span{font-size:12px}.card-footer button{border-radius:2px;background:#eeece4;font-size:13px;border-bottom:2px solid #b49a60}.resume-card{border-radius:0;border-width:0 0 0 3px;background:#eae5d5;border-color:#9f7b32}.resume-card p{font-size:14px}
.collection-item,.history-item,.empty{border-radius:2px}.collection-item>small{font-size:13px}.empty{border-style:solid}.player-header{background:#fff}.player-header .text-button{font-size:14px}.timer strong{font-family:Consolas,monospace}.question-paper{border-radius:2px;border-top:3px solid #bc9b4e;box-shadow:4px 4px 0 #e8e7e0}.question-toolbar{font-size:14px}.icon-button{font-size:14px;border-radius:3px;padding:0 13px;min-height:44px}.question-paper h2{font-size:23px;font-weight:500}.option{border-radius:3px}.option-letter{border-radius:50%;background:#fafaf7}.option.correct .option-letter{border-color:#74a78a}.option.wrong .option-letter{border-color:#cf918a}.feedback{font-size:14px}.map-panel{border-radius:2px}.map-button{border-radius:2px;min-height:40px;font-size:12px}.map-button.current{outline-color:#8c6a26}.map-tip{font-size:12px;color:#73736c}.map-legend{font-size:12px}.map-panel .text-button{font-size:13px;border-block:1px solid var(--line);margin-bottom:12px}.modal{border-radius:4px;border-top:4px solid #bf9b48}.modal::backdrop{background:#111111b0;backdrop-filter:blur(3px)}.field select,.mode-choice{border-radius:3px}.field,legend{font-size:14px}.mode-choice small,.subtle{font-size:13px}.score-orbit{border:0;border-top:1px solid #b89542;border-bottom:1px solid #b89542;border-radius:0;width:100%;height:120px;background:#f6f3e9}.score-orbit strong{font-family:Georgia,serif;font-size:54px}.score-orbit span{font-size:11px}.result-breakdown{display:grid;gap:10px;text-align:left;margin:18px 0;font-size:12px}.result-breakdown>div{display:flex;justify-content:space-between;gap:12px}.result-breakdown strong{font-weight:600}.result-breakdown span{color:var(--muted)}#retry-missed{margin-bottom:10px}.toast{border-radius:3px}footer{font-size:12px;color:#6f6e66}
@media(max-width:1200px){.daily-strip{grid-template-columns:1fr 1fr;gap:22px}.week-wrap{grid-column:1/-1;display:flex;align-items:center;gap:24px}.week-activity{flex:1;margin-top:0}.week-day{flex-direction:row;gap:7px}.week-bar{height:24px;max-width:18px}.week-wrap>span{white-space:nowrap}.latest-card{padding:23px}.latest-body h2{font-size:29px}.giant-number{font-size:100px}.practice-card{padding:24px}.practice-stamp{display:none}}
@media(max-width:850px){.sidebar{padding-top:15px}.sidebar nav button{font-size:13px;min-height:48px;gap:8px}.sidebar nav button.active{box-shadow:inset 0 -2px var(--gold)}.sidebar nav button>span{font-size:11px;width:auto}.page{padding-top:25px}.topbar{font-size:12px}.topbar .text-button{font-size:12px}.latest-body{min-height:148px}.daily-strip h2{font-size:22px}.map-panel{position:static}.question-paper h2{font-size:22px}}
@media(max-width:560px){.logo>span{font-size:9px}.sidebar nav button{font-size:11px;min-height:54px}.sidebar nav button>span{font-size:10px}.page-heading p:not(.eyebrow){font-size:14px;max-width:none}.page-heading .eyebrow{font-size:11px}h1{font-size:36px}.feature-grid{grid-template-columns:1fr;gap:0}.latest-card{padding:22px}.latest-body{min-height:136px}.latest-body h2{font-size:29px;max-width:200px}.giant-number{font-size:93px}.latest-body p{font-size:12px}.latest-bottom small{display:none}.latest-top>span:last-child{font-size:10px}.pill{font-size:10px}.practice-card{padding:20px;display:grid;grid-template-columns:1fr auto;gap:0 12px}.practice-card .eyebrow{font-size:10px}.practice-heading h2{font-size:23px;margin:4px 0 9px}.practice-card p{font-size:13px}.practice-card .text-button{font-size:13px;max-width:105px}.daily-strip{padding:23px 0;gap:18px;grid-template-columns:1fr}.daily-target{grid-template-columns:1fr 110px}.week-wrap{display:block}.week-activity{margin-top:12px}.week-day{flex-direction:column}.week-bar{height:28px;max-width:25px}.stat-row{margin:22px 0 32px;border:1px solid var(--line)}.stat,.stat:first-child{padding:15px}.stat small{font-size:12px}.stat strong{font-size:27px}.library-heading h2{font-size:25px}.library-heading .eyebrow{font-size:10px}.segments{gap:8px}.segments button{font-size:12px}.exam-grid{gap:13px}.exam-card{padding:15px}.exam-id{font-size:29px}.card-status{font-size:10px}.exam-card h3{font-size:17px}.card-meta{font-size:11px}.card-footer>span{font-size:11px}.card-footer button{font-size:13px}.question-toolbar{font-size:13px}.question-paper{padding:24px 17px}.question-paper h2{font-size:20px}.question-navigation .button{font-size:13px}.player-header .text-button{font-size:12px}.modal{border-radius:4px}.result-breakdown>div{flex-wrap:wrap;gap:4px}.topbar>div{font-size:11px}.topbar i{display:none}}
@media(max-width:360px){.latest-body h2{font-size:25px}.giant-number{font-size:75px}.exam-grid{grid-template-columns:1fr}.card-footer{flex-direction:row}.card-footer button{width:auto}.card-status{font-size:12px}}
/* V3.1: entire cards are native keyboard-accessible buttons. */
button.exam-card{display:flex;flex-direction:column;text-align:left;width:100%;color:var(--ink);font:inherit;cursor:pointer}
.exam-card .card-title{display:block;font-size:21px;font-weight:550;line-height:1.3;letter-spacing:-.025em;margin-bottom:10px}
.exam-card .card-meta{display:block}.exam-card .card-footer{margin-top:auto;width:100%}.exam-card .card-top{margin-bottom:15px}
button.exam-card:hover,button.exam-card:focus-visible{background:#fcfaf3;border-color:#a98a43}
.latest-card{position:relative}.latest-card .card-hit-area{position:absolute;inset:0;width:100%;height:100%;background:transparent;border:0;border-radius:0;cursor:pointer}
.latest-card:has(.card-hit-area:hover){background:#292722}.card-hit-area:focus-visible{outline:3px solid var(--gold);outline-offset:-6px}
.stats-actions{display:flex;justify-content:flex-end;margin:-28px 0 25px}.stats-actions .text-button{font-size:13px;color:#76614a;text-decoration:underline;text-underline-offset:4px}
@media(max-width:560px){.exam-card .card-title{font-size:18px}.stats-actions{margin:-20px 0 24px}.exam-card .card-footer{align-items:flex-start}}
