:root{--yellow:#fde70e;--black:#111;--grey:#f1f1ee;--muted:#767573;--line:#deded9;--red:#df305b;--font:Arial,Helvetica,sans-serif}
*{box-sizing:border-box}
html{min-height:100%;background:#fff}
body{margin:0;color:var(--black);font-family:var(--font);-webkit-font-smoothing:antialiased}
button,input{font:inherit}
a{color:inherit}
button{cursor:pointer}
.app-shell{min-height:100svh;display:flex;flex-direction:column}
.topbar{min-height:82px;padding:0 clamp(24px,5.5vw,96px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e8e8e4;background:#fff}
.brand{display:inline-flex;align-items:center;gap:13px;text-decoration:none;font-size:18px;font-weight:800;letter-spacing:-.055em;white-space:nowrap}
.brand-light{font-weight:400;letter-spacing:-.05em}
.brand-mark{width:30px;height:30px;display:grid;grid-template-columns:repeat(2,1fr);gap:3px;transform:rotate(-10deg)}
.brand-mark span{background:var(--yellow)}
.brand-mark span:nth-child(2){background:var(--black)}
.brand-mark span:nth-child(3){background:var(--black)}
.topbar-label,.card-overline,.eyebrow,.card-number,.coming-soon,.site-footer{font-size:10px;font-weight:800;letter-spacing:.16em}
.topbar-label{color:#73736f}
main{flex:1;display:flex}
.login-layout{flex:1;min-height:calc(100svh - 136px);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.intro-panel{position:relative;overflow:hidden;background:var(--yellow);padding:clamp(50px,8vw,132px) clamp(32px,7vw,118px) 52px;display:flex;flex-direction:column;align-items:flex-start}
.eyebrow{display:flex;align-items:center;gap:12px;margin:0 0 28px}
.eyebrow-line{display:inline-block;width:25px;height:2px;background:currentColor}
h1,h2,p{margin-top:0}
.intro-panel h1,.dashboard h1{position:relative;z-index:1;max-width:700px;margin:0;font-size:clamp(48px,6.9vw,110px);line-height:.95;letter-spacing:-.085em;font-weight:800}
h1 em{font-style:normal;font-weight:400}
.intro-copy{position:relative;z-index:1;margin:38px 0 0;max-width:380px;font-size:17px;line-height:1.65}
.intro-footnote{position:relative;z-index:1;margin:auto 0 0;padding-top:80px;font-size:12px;line-height:1.6;color:#38382e}
.intro-decoration{position:absolute;width:350px;height:350px;right:-97px;bottom:60px;opacity:.12;transform:rotate(-26deg)}
.intro-decoration span{display:block;position:absolute;background:#111}
.intro-decoration span:nth-child(1){width:66px;height:310px;left:60px;top:20px}
.intro-decoration span:nth-child(2){height:66px;width:270px;left:60px;top:244px}
.intro-decoration span:nth-child(3){height:66px;width:150px;left:160px;top:20px}
.form-panel{display:flex;align-items:center;justify-content:center;padding:64px clamp(30px,7vw,110px);background:#fff}
.form-card{width:min(100%,420px)}
.card-overline{display:flex;align-items:center;gap:10px;margin-bottom:29px}
.status-dot{width:8px;height:8px;background:var(--yellow);border:2px solid var(--black);border-radius:50%}
.form-card h2{margin:0 0 11px;font-size:clamp(39px,4vw,58px);line-height:1;letter-spacing:-.065em}
.card-subtitle{margin:0 0 37px;color:#5a5a58;font-size:15px;line-height:1.5}
.login-form{display:flex;flex-direction:column}
.login-form label{margin:0 0 9px;font-size:13px;font-weight:700}
.login-form input{width:100%;height:54px;padding:0 16px;border:1px solid #bdbdb8;border-radius:0;background:#fff;color:#111;font-size:15px;outline:none;transition:border-color .15s,box-shadow .15s}
.login-form input::placeholder{color:#969692}
.login-form input:focus{border-color:#111;box-shadow:0 0 0 3px var(--yellow)}
.login-form label[for=password]{margin-top:23px}
.password-field{position:relative;width:100%}.password-field input{display:block;width:100%;height:54px;padding-right:54px;appearance:textfield}.password-field input::-ms-reveal,.password-field input::-ms-clear{display:none}.password-field input::-webkit-password-reveal-button{-webkit-appearance:none;display:none}.show-password{position:absolute;top:1px;right:1px;width:52px;height:52px;padding:0;display:grid;place-items:center;border:0;background:transparent;color:#333;cursor:pointer}.show-password:hover{background:#f3f3ef}.show-password:focus-visible{outline:3px solid var(--yellow);outline-offset:-4px}.eye-icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.eye-slash{display:none}.show-password[aria-pressed=true] .eye-slash{display:block}
.primary-button{min-height:55px;margin-top:28px;padding:0 20px;display:flex;justify-content:space-between;align-items:center;gap:24px;background:var(--black);color:#fff;border:2px solid var(--black);text-decoration:none;font-size:15px;font-weight:700;transition:background .15s,color .15s}
.primary-button:hover,.primary-button:focus-visible{background:var(--yellow);color:var(--black)}
.primary-button span{font-size:21px;font-weight:400}
.card-footer{margin-top:30px;padding-top:20px;border-top:1px solid var(--line);display:flex;align-items:center;gap:9px;color:#64645f;font-size:12px}
.lock-icon{font-size:9px;color:#777}
.alert{padding:13px 15px;margin:-12px 0 24px;border-left:3px solid var(--red);background:#fff7f7;color:#5a1830;font-size:13px;line-height:1.5}
.site-footer{min-height:54px;padding:0 clamp(24px,5.5vw,96px);display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid #e8e8e4;color:#777;letter-spacing:.08em;font-weight:500}
.text-button{border:0;background:transparent;padding:10px 0;font-size:13px;font-weight:700}
.text-button span{margin-left:8px}
.text-button:hover,.text-button:focus-visible{text-decoration:underline;text-underline-offset:5px}
.dashboard{width:100%;padding:clamp(64px,9vw,130px) clamp(24px,8vw,136px);display:grid;grid-template-columns:1fr minmax(310px,470px);gap:clamp(50px,8vw,140px);align-items:center}
.dashboard .eyebrow{margin-bottom:30px}
.dashboard h1{font-size:clamp(58px,7vw,106px)}
.dashboard-heading>p:not(.eyebrow){margin:32px 0 0;color:#5a5a58;font-size:16px;line-height:1.6;overflow-wrap:anywhere}
.dashboard-heading strong{color:#111}
.dashboard-card{min-height:400px;padding:35px;display:flex;flex-direction:column;align-items:flex-start;background:var(--grey)}
.quiz-mode-card .coming-soon{margin-top:auto;border-top-color:currentColor}
.card-number{margin-bottom:auto}
.card-symbol{width:55px;height:55px;margin:30px 0 18px;display:flex;align-items:center;justify-content:center;background:var(--yellow);font-size:37px;line-height:1}
.dashboard-card h2{margin:0 0 14px;font-size:32px;letter-spacing:-.055em}
.dashboard-card p{max-width:330px;margin:0 0 35px;font-size:15px;line-height:1.65;color:#4d4d4b}
.coming-soon{padding-top:18px;width:100%;border-top:1px solid #c9c9c4}
.offline-page{min-height:100svh;padding:24px;display:grid;place-items:center;background:var(--yellow)}
.offline-card{width:min(100%,490px);padding:clamp(28px,6vw,55px);background:white}
.offline-symbol{width:65px;height:65px;margin-bottom:36px;display:grid;place-items:center;background:var(--yellow);font-size:42px}
.offline-card h1{font-size:clamp(48px,8vw,74px);letter-spacing:-.075em;line-height:1}
.offline-card>p:not(.eyebrow){line-height:1.6;color:#555}
@media(max-width:900px){.login-layout{grid-template-columns:1fr}.intro-panel{min-height:350px;padding:58px 48px 42px}.intro-panel h1{font-size:clamp(52px,9vw,84px)}.intro-copy{margin-top:22px}.intro-footnote{padding-top:38px}.form-panel{padding:70px 40px 85px}.dashboard{grid-template-columns:1fr;gap:60px}.dashboard-card{min-height:330px}}
@media(max-width:560px){.topbar{min-height:68px;padding:0 22px}.brand{font-size:16px;gap:9px}.brand-mark{width:25px;height:25px}.topbar-label{display:none}.intro-panel{min-height:323px;padding:44px 26px 30px}.intro-panel h1{font-size:clamp(49px,12vw,69px)}.intro-panel .eyebrow{margin-bottom:24px}.intro-copy{font-size:14px;margin-top:22px;max-width:300px}.intro-footnote{font-size:10px;padding-top:30px}.intro-decoration{right:-160px;bottom:-30px}.form-panel{padding:56px 26px 72px;align-items:flex-start}.form-card h2{font-size:46px}.card-subtitle{margin-bottom:30px}.site-footer{padding:18px 22px;min-height:64px;align-items:flex-start;flex-direction:column;gap:6px;font-size:9px}.dashboard{padding:68px 26px}.dashboard-welcome{min-height:220px;padding:26px;gap:18px}.dashboard-welcome-symbol{width:50px;height:50px;flex-basis:50px;font-size:32px}.dashboard h1{font-size:clamp(58px,15vw,82px)}.dashboard-card{padding:26px}.logout-form .text-button{font-size:12px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important}}
.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:clamp(12px,2vw,30px)}
.language-form{display:flex;align-items:center;gap:8px;white-space:nowrap}
.language-form label{font-size:12px;font-weight:700}
.language-form select{max-width:130px;min-height:36px;padding:6px 23px 6px 9px;border:1px solid #a5a59e;border-radius:0;background:#fff;color:#111;font-size:12px;font-weight:700;cursor:pointer}
.language-form select:focus-visible,.language-submit:focus-visible,.text-button:focus-visible,.row-actions a:focus-visible,.row-actions button:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}
.language-submit{min-height:36px;padding:0 10px;border:1px solid #111;background:#fff;font-size:12px;font-weight:700}
.js .language-submit{display:none}
.dashboard-admin-link{display:inline-flex;align-items:center;justify-content:space-between;gap:30px;margin-top:30px;padding:15px 18px;background:var(--yellow);font-size:14px;font-weight:700;text-decoration:none}
.dashboard-admin-link:hover{text-decoration:underline;text-underline-offset:4px}
.users-main{display:block;width:100%;background:#f7f7f5}
.users-content{width:min(100%,1250px);margin:auto;padding:clamp(40px,6vw,80px) clamp(22px,5vw,70px) 90px}
.users-heading{margin-bottom:42px}
.users-heading h1{margin:0 0 15px;font-size:clamp(42px,5.5vw,76px);line-height:1;letter-spacing:-.075em}
.users-heading>p:last-child{margin:0;color:#555;font-size:16px;line-height:1.55}
.users-heading .eyebrow{margin-bottom:23px}
.user-editor,.user-list{margin-top:26px;padding:clamp(24px,3vw,42px);background:#fff}
.section-heading{display:flex;align-items:center;gap:14px;margin-bottom:27px}
.section-heading h2{margin:0;font-size:clamp(23px,2.7vw,34px);letter-spacing:-.055em}
.section-index{width:30px;height:30px;flex:none;display:grid;place-items:center;background:var(--yellow);font-size:11px;font-weight:800}
.user-count{margin-left:auto;color:#666;font-size:13px;font-weight:700}
.user-form-fields{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.field{display:flex;flex-direction:column;gap:8px}
.field label{font-size:13px;font-weight:700}
.field input{width:100%;min-height:50px;padding:11px 13px;border:1px solid #aaa9a3;border-radius:0;background:#fff;outline:none}
.field input:focus{border-color:#111;box-shadow:0 0 0 3px var(--yellow)}
.field small{color:#666;font-size:11px;line-height:1.45}
.user-form-options{display:flex;flex-wrap:wrap;gap:16px 36px;margin-top:24px}
.check-field{display:flex;align-items:center;gap:9px;font-size:13px;font-weight:700;cursor:pointer}
.check-field input{width:19px;height:19px;accent-color:#111}
.form-actions{display:flex;align-items:center;gap:22px;margin-top:27px}
.form-actions .primary-button{min-width:175px;margin:0}
.cancel-link{font-size:13px;font-weight:700;text-underline-offset:4px}
.notice{padding:14px 16px;margin:0 0 24px;border-left:4px solid #111;background:var(--yellow);font-size:14px;font-weight:700}
.users-content>.alert{margin:0 0 24px}
.table-wrap{width:100%;overflow-x:auto}
.data-table-controls,.data-table-footer{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:0 0 18px}
.data-table-controls{align-items:center}
.data-table-search,.data-table-page-size{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:700}
.data-table-search input,.data-table-page-size select{height:38px;padding:0 10px;border:1px solid #aaa9a3;border-radius:0;background:#fff;color:#111}
.data-table-search input{width:min(100%,250px)}
.data-table-page-size select{min-width:62px}
.data-table-footer{margin:18px 0 0;align-items:center;font-size:12px;font-weight:700}
.data-table-pages{display:flex;align-items:center;gap:10px}
.data-table-pages button{min-height:34px;padding:0 10px;border:1px solid #111;background:#fff;font-size:12px;font-weight:700}
.data-table-pages button:disabled{cursor:default;opacity:.45}
.data-table-page{min-width:40px;text-align:center}
.data-table-empty{margin:18px 0 0;padding:14px;background:var(--grey);font-size:13px;font-weight:700}
.user-list table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}
.user-list th{padding:13px 14px;border-bottom:2px solid #111;font-size:11px;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
.user-list th[data-sortable]{cursor:pointer;user-select:none}
.user-list th[data-sortable]::after{content:' ↕';font-size:12px;color:#777}
.user-list th[aria-sort=ascending]::after{content:' ↑';color:#111}
.user-list th[aria-sort=descending]::after{content:' ↓';color:#111}
.user-list td{padding:18px 14px;border-bottom:1px solid #e5e5e1;vertical-align:middle}
.user-list tr:last-child td{border-bottom:0}
.email-cell{font-weight:700;overflow-wrap:anywhere;min-width:190px}
.status-pill{display:inline-block;padding:6px 9px;font-size:11px;font-weight:700;white-space:nowrap}
.status-active{background:#e6f4e8;color:#1e5630}
.status-inactive{background:#ececea;color:#555}
.row-actions{white-space:nowrap}
.row-actions form{display:inline-block;margin-left:14px}
.row-actions a,.row-actions button{border:0;background:none;padding:7px 0;color:#111;font-size:12px;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.row-actions button{color:#a52140}
.back-link{text-decoration:none;white-space:nowrap}

@media(max-width:900px){.topbar{min-height:75px;flex-wrap:wrap;gap:10px;padding-top:12px;padding-bottom:12px}.users-content{padding-top:48px}.user-form-fields{grid-template-columns:1fr}}
@media(max-width:640px){.header-actions{width:100%;justify-content:space-between;gap:10px;flex-wrap:wrap}.language-form label{font-size:11px}.language-form select{max-width:120px}.back-link,.logout-form .text-button{font-size:11px}.users-content{padding:36px 16px 70px}.user-editor,.user-list{padding:22px 16px}.data-table-controls,.data-table-footer{align-items:stretch;flex-direction:column}.data-table-search,.data-table-page-size{justify-content:space-between}.data-table-search input{width:65%}.data-table-footer{gap:12px}.data-table-pages{justify-content:space-between}.user-list table{min-width:650px}.form-actions{align-items:stretch;flex-direction:column}.form-actions .primary-button{width:100%}.quiz-shell{padding:42px 16px 65px}.quiz-score-wrap{top:42px;right:16px}.quiz-score{min-height:38px;padding:0 10px}.quiz-reset{min-height:38px;padding:0 10px;font-size:11px}.quiz-heading{padding-right:86px}.quiz-board{min-height:520px;padding:22px 16px}.quiz-options{grid-template-columns:1fr}.quiz-option{min-height:56px}}

.dashboard-welcome{min-height:260px;padding:clamp(28px,5vw,54px);display:flex;align-items:center;gap:30px;background:var(--grey)}.dashboard-welcome-symbol{width:66px;height:66px;flex:0 0 66px;display:grid;place-items:center;background:var(--yellow);font-size:42px}.dashboard-welcome .coming-soon{margin:0 0 18px}.dashboard-welcome h2{margin:0 0 12px;font-size:clamp(30px,4vw,46px);letter-spacing:-.06em}.dashboard-welcome div>p:last-child{max-width:480px;margin:0;color:#555;font-size:15px;line-height:1.65}
