:root{color-scheme:light;--text: #18283d;--page: #f2f5f9;--surface: white;--border: #d9e1ec;--primary: #145145;--on-primary: white;--disabled: #e2e8ee;--muted: #526175;--focus: #2f73c4;--selected: #edf7f3;--error: #972121;--secondary: #eef3f5;--secondary-text: #254457;--tile: #f2f6f7;--track: #e4ebf0;--score: #247766;--backdrop: rgb(16 23 34 / 55%);font-family:system-ui,sans-serif;color:var(--text);background:var(--page);line-height:1.6;font-synthesis:none}html[data-theme=dark]{color-scheme:dark;--text: #e3edf8;--page: #101722;--surface: #182332;--border: #42536a;--primary: #86d8c4;--on-primary: #102d28;--disabled: #283649;--muted: #b4c4d8;--focus: #87bfff;--selected: #203d3a;--error: #ffadad;--secondary: #27384b;--secondary-text: #d6e7fa;--tile: #233143;--track: #34445a;--score: #61c4ad;--backdrop: rgb(0 0 0 / 65%)}*{box-sizing:border-box}body{margin:0}main{max-width:42rem;margin:0 auto;padding:1.5rem 1rem 3rem}dialog{width:min(26rem,calc(100% - 2rem));padding:0;border:0;border-radius:1rem;background:transparent;color:inherit}dialog::backdrop{background:var(--backdrop)}dialog h2{margin:0 0 1rem}.panel{background:var(--surface);border:1px solid var(--border);border-radius:1rem;padding:clamp(1rem,5vw,2rem)}h1{margin:0 0 1rem;font-size:1.6rem;line-height:1.3}h2,legend{font-size:1.1rem;font-weight:700}p{margin:0 0 1rem}button,.primary{display:inline-flex;justify-content:center;align-items:center;min-height:3rem;border:0;border-radius:.6rem;padding:.55rem 1rem;background:var(--primary);color:var(--on-primary);font:inherit;font-weight:650;text-decoration:none;cursor:pointer}button:disabled{background:var(--disabled);color:var(--muted);cursor:default}:focus-visible{outline:3px solid var(--focus);outline-offset:3px}fieldset{padding:0;border:0;margin:0 0 1rem;min-width:0}legend{padding:0;margin-bottom:.65rem}.choice{display:flex;align-items:flex-start;gap:.65rem;border:1px solid var(--border);border-radius:.6rem;padding:.65rem;margin-bottom:.5rem;cursor:pointer}.choice:has(:checked){border-color:var(--primary);background:var(--selected)}.choice input{accent-color:var(--primary);margin-top:.35rem}.muted{color:var(--muted)}.error{color:var(--error)}.verdict{font-size:1.3rem;font-weight:700}dl div{display:flex;justify-content:space-between;padding:.45rem 0;border-bottom:1px solid var(--border)}dd{font-variant-numeric:tabular-nums;margin-left:1rem}.actions{display:flex;flex-wrap:wrap;gap:.5rem}@media(max-width:32rem){form button,.primary,.actions button{width:100%}}.dashboard-page{max-width:58rem}.dashboard-heading,.attempt-heading{display:flex;justify-content:space-between;align-items:flex-start;flex-wrap:wrap;gap:.75rem}.dashboard-heading h1{margin-bottom:.5rem}.dashboard-heading p{margin:0;overflow-wrap:anywhere}.secondary{background:var(--secondary);color:var(--secondary-text)}.dashboard-summary,.exam-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,9.5rem),1fr));gap:.5rem;margin:1.25rem 0 0}.dashboard-summary div,.exam-stats div{display:block;border:0;border-radius:.55rem;padding:.65rem .8rem;background:var(--tile)}.dashboard dt{color:var(--muted);font-size:.85rem}.dashboard dd{margin:0;font-weight:700}.dashboard-section{margin-top:1.5rem}.dashboard-section h2{margin:0 0 .65rem}.exam-card{padding:1rem;border:1px solid var(--border);border-radius:.75rem}.exam-card+.exam-card{margin-top:.65rem}.exam-card h3{margin:0;font-size:1.2rem}.exam-card p{margin:.25rem 0}.exam-stats{margin:.85rem 0}.field-score{margin-bottom:.65rem}.field-score>div:first-child{display:flex;justify-content:space-between;gap:.5rem}.score-track{position:relative;height:.7rem;margin-top:.25rem;background:var(--track);border-radius:1rem}.score-fill{height:100%;border-radius:inherit;background:var(--score)}.score-track:after{content:"";position:absolute;inset:-.18rem auto -.18rem 30%;width:2px;transform:translate(-50%);background:var(--text);box-shadow:0 0 0 1px var(--surface)}.attempt-list{margin:0;padding:0;list-style:none}.attempt-list li{padding:.7rem 0;border-top:1px solid var(--border)}.attempt-result,.attempt-fields{display:flex;flex-wrap:wrap;gap:.25rem .75rem}.attempt-fields{margin-top:.35rem;color:var(--muted);font-size:.9rem}.passed{color:var(--primary)}.failed{color:var(--error)}.brand{display:flex;align-items:center;gap:.5rem;color:#111;font-weight:750}[data-theme=dark] .brand{color:#fff}.brand svg{width:2.5rem;height:2.5rem;flex:none;fill:currentColor}.brand-check{stroke:#fff}[data-theme=dark] .brand-check{stroke:#111}.login-brand{display:flex;justify-content:center;margin-bottom:1rem}.app-shell{--sidebar-width: 16rem;padding-inline-start:var(--sidebar-width)}.app-sidebar{position:fixed;inset:0 auto 0 0;z-index:3;display:flex;flex-direction:column;width:var(--sidebar-width);padding:1rem;gap:1rem;background:var(--surface);border-inline-end:1px solid var(--border)}.sidebar-heading{display:flex;align-items:center;justify-content:space-between;gap:.25rem}.sidebar-nav{flex:1;min-height:0;overflow-y:auto}.sidebar-nav h2{margin:1rem .65rem .25rem;color:var(--muted);font-size:.85rem}.sidebar-nav a,.sidebar-placeholder{display:block;padding:.45rem .65rem;border-radius:.5rem;overflow-wrap:anywhere}.sidebar-nav a{color:inherit;text-decoration:none}.sidebar-nav a[aria-current=page]{background:var(--selected);color:var(--primary);font-weight:700}.sidebar-nav a:hover{background:var(--secondary)}.sidebar-nav a:focus-visible{outline-offset:-3px}.sidebar-placeholder{color:var(--muted);cursor:default}.sidebar-account{position:relative}.sidebar-user{display:grid;justify-content:start;width:100%;text-align:start;overflow-wrap:anywhere}.sidebar-user span{font-size:.85rem;font-weight:400}.sidebar-user-actions{position:absolute;inset:auto 0 calc(100% + .5rem);display:grid;gap:.25rem;padding:.4rem;background:var(--surface);border:1px solid var(--border);border-radius:.65rem}.sidebar-toggle,.sidebar-close,.sidebar-backdrop{display:none}.exam-card{scroll-margin-block-start:1rem}.exam-card[data-highlighted=true]{outline:3px solid var(--focus);outline-offset:2px;background:var(--selected)}.exam-card[data-highlighted=false]:focus{outline:none}@media(max-width:768px){.app-shell{padding-inline-start:0}.app-sidebar{width:min(var(--sidebar-width),calc(100% - 2rem))}.app-sidebar[data-open=false]{display:none}.sidebar-toggle,.sidebar-close{display:inline-flex;min-height:2.5rem;padding:.25rem .75rem}.sidebar-toggle{margin:1rem 0 0 1rem}.sidebar-backdrop{display:block;position:fixed;top:0;right:0;bottom:0;left:0;z-index:2;background:var(--backdrop)}}
