@charset "UTF-8";
:root{--ink:#203b39;--teal:#12605b;--light:#e9f2ed;--cream:#f7f7f0;--line:#e1e7df;--muted:#71807b;--orange:#edaa58;--red:#ab3e3e;font-family:"Segoe UI","Microsoft YaHei",system-ui,sans-serif;color:var(--ink);background:var(--cream)}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,summary{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #e3a249;outline-offset:3px}button{border:0}a{color:var(--teal)}.shell{display:flex;min-height:100vh}.sidebar{width:235px;flex-shrink:0;background:#fdfdf9;border-right:1px solid var(--line);padding:36px 23px;position:fixed;height:100vh;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;font-size:34px;color:var(--teal);text-decoration:none}.brand span{font-size:21px;font-weight:750;letter-spacing:2px}.brand small{display:block;font-size:11px;letter-spacing:1px;margin-top:5px;color:var(--muted);font-weight:400}.side-label{font-size:11px;color:#909c94;margin:65px 14px 14px;letter-spacing:2px}.nav{display:flex;width:100%;gap:17px;padding:17px 14px;margin:6px 0;background:transparent;color:var(--muted);text-align:left;border-radius:10px;font-size:13px}.nav span{font-size:14px}.nav.active{background:var(--teal);color:white}.side-note{margin-top:auto;font-size:12px}.side-note p{font-size:11px;color:var(--muted);line-height:1.9}.dot{display:inline-block;background:#72a887;width:7px;height:7px;border-radius:50%;margin-right:7px}main{margin-left:235px;width:calc(100% - 235px);max-width:1600px;padding:35px 48px}header{display:flex;justify-content:space-between;align-items:center;margin-bottom:28px;gap:14px}h1{font-size:24px;letter-spacing:1px;margin:9px 0 0}h2{font-size:28px;margin:10px 0}h3{font-size:16px;margin:0}p{line-height:1.8}.eyebrow{font-size:10px;font-weight:650;letter-spacing:2px;color:var(--muted)}.badge,.pill{border:1px solid var(--line);border-radius:30px;font-size:11px;padding:7px 11px;display:inline-block;white-space:nowrap}.badge{background:white;color:var(--teal)}.notice{background:#fff4dd;border:1px solid #ecdab4;color:#836329;font-size:12px;line-height:1.8;border-radius:10px;padding:12px 18px;margin:15px 0}.hero{display:flex;justify-content:space-between;overflow:hidden;position:relative;min-height:210px;padding:28px 34px;background:#e7eee5;border-radius:15px;margin:23px 0}.hero h2{font-family:Georgia,"Times New Roman",serif;font-size:44px;letter-spacing:-1px;margin:13px 0 6px}.title-dot{color:#e6a23f}.hero p{font-size:13px;color:#63776a;margin:0 0 15px}.hero .pill{border-color:#c8d7c8;background:#ffffff50;color:#58705e}.colour-art{position:relative;width:240px;flex-shrink:0}.colour-art i{position:absolute;width:90px;height:110px;border-radius:48% 55% 42% 48%;transform:rotate(-12deg);background:#e9b540;top:30px;left:10px;box-shadow:inset -7px -5px 0 #00000006}.colour-art i:nth-child(2){background:#cf7462;top:9px;left:95px;transform:rotate(15deg)}.colour-art i:nth-child(3){background:#619a90;top:69px;left:116px;transform:rotate(-18deg)}.colour-art b{position:absolute;top:78px;left:54px;color:white;font-family:Georgia,serif;font-size:34px;transform:rotate(-8deg)}.grid-two{display:grid;grid-template-columns:1fr 1fr;gap:20px}.card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:25px;margin-bottom:20px}.section-title{display:flex;align-items:center;gap:10px;margin-bottom:21px}.section-title .pill,.section-title .small{margin-left:auto}.step{background:var(--light);border-radius:50%;width:26px;height:26px;display:grid;place-items:center;color:var(--teal);font-size:12px}label{display:block;font-size:12px;color:#526a60;margin:14px 0}input:not([type=checkbox]),textarea,select{width:100%;border:1px solid #dbe3db;background:#fafbf8;border-radius:8px;padding:12px;color:var(--ink);margin-top:8px;font-size:14px}input[type=checkbox]{accent-color:var(--teal);width:18px;height:18px;flex-shrink:0;cursor:pointer}.switch-row{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:8px 0;margin:8px 0}.switch-row b{font-size:13px;font-weight:550}.switch-row small{font-size:11px;color:var(--muted);display:block;margin-top:6px}.switch-row input{appearance:none;position:relative;width:36px;height:21px;border-radius:15px;background:#cbd3cb}.switch-row input:before{content:"";position:absolute;top:3px;left:3px;width:15px;height:15px;background:white;border-radius:50%;transition:.2s}.switch-row input:checked{background:var(--teal)}.switch-row input:checked:before{left:18px}.muted{color:var(--muted)}.small{font-size:11px}.item-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}.item{display:flex;gap:12px;padding:16px;border:1px solid var(--line);border-radius:9px;margin:0}.item:has(input:checked){border-color:#8cb3a7;background:#f2f7f1}.item b{display:block;font-weight:550;font-size:13px;margin-bottom:7px}.item small{font-size:11px;color:var(--muted)}.primary,.secondary,.danger{padding:13px 23px;border-radius:9px;background:var(--teal);color:white;min-height:44px;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:8px}.secondary{background:#edf2ec;color:var(--teal);border:1px solid #d7e1d6}.danger{background:#ba4e4e}.start-bar{display:flex;align-items:center;justify-content:space-between;gap:20px}.confirm{display:flex;align-items:center;gap:8px;line-height:1.7}.source-box{margin:28px 0;font-size:12px;color:var(--muted)}summary{cursor:pointer}.source-box audio{width:100%;max-width:500px}.login-card{max-width:520px;margin:70px auto}.login-card form{margin-top:25px}.login-card .primary{width:100%;margin-top:15px}footer{display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--muted);margin-top:40px;border-top:1px solid var(--line);padding:20px 0}.text-button{background:transparent;color:var(--muted);font-size:11px;padding:10px}.view-heading{display:flex;justify-content:space-between;align-items:center;margin:25px 0}.test-card{max-width:820px;margin:24px auto;text-align:center;padding:34px}.question-text{font-family:Georgia,serif;font-size:32px;line-height:1.7;color:var(--ink);padding:20px 0;white-space:pre-wrap}.question-sub{font-family:Georgia,serif;font-size:25px;padding:10px}.answer{background:#f0f5ef;border-radius:12px;padding:15px;margin:15px 0;color:var(--teal);font-family:Georgia,serif;font-size:25px}.stimulus{width:82px;height:82px;border-radius:50%;background:#549a59;box-shadow:inset -7px -7px 0 #00000012;margin:20px auto}.controls{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;margin:20px 0}.controls audio{width:100%;max-width:430px}.record-state{min-height:27px;font-size:13px;line-height:1.7}.record-state.recording{color:var(--red)}.file-button{cursor:pointer;display:inline-flex;align-items:center;position:relative;overflow:hidden}.file-button input{position:absolute;width:100%;height:100%;inset:0;opacity:0;cursor:pointer}.test-nav{display:flex;justify-content:space-between;align-items:center;margin-top:28px;padding-top:20px;border-top:1px solid var(--line)}.mode-chips{display:flex;gap:7px;flex-wrap:wrap}.mode-chips .pill{font-size:10px;padding:5px 9px}.exam-row{background:white;border:1px solid var(--line);border-radius:11px;padding:18px;margin:10px 0;display:flex;justify-content:space-between;align-items:center;gap:12px}.exam-row h3{margin-bottom:8px}.exam-row button{white-space:nowrap}.attempt-card{margin:16px 0}.scores{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0}.score{background:#f1f5ed;border-radius:10px;padding:15px;text-align:center}.score strong{display:block;font-size:25px;color:var(--teal);margin-bottom:7px}.score span{font-size:11px;color:var(--muted)}.error{background:#fff0e8;color:#994f2c;padding:13px;border-radius:8px;font-size:12px;line-height:1.8}.transcript{border-left:3px solid #cadaca;padding-left:14px;margin:20px 0;line-height:1.8;font-size:14px}.review-form{display:grid;grid-template-columns:1fr 1fr;gap:0 15px}.review-form .wide{grid-column:1/-1}.history{font-size:12px;border-top:1px solid var(--line);padding:12px 0;color:var(--muted)}.attempt-card audio{max-width:100%;width:430px}pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px;max-height:300px;overflow:auto;background:#f4f5f0;padding:15px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);max-width:90vw;background:var(--ink);color:white;border-radius:9px;padding:14px 22px;z-index:20;font-size:13px;box-shadow:0 5px 25px #0002}body.busy{cursor:progress}[hidden]{display:none!important}
.header-tools,.admin-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.management-link{font-size:12px;white-space:nowrap}.stimulus[data-colour=red]{background:#c94f4f}.stimulus[data-colour=yellow]{background:#efc64c}.stimulus[data-colour=blue]{background:#4b80c0}.stimulus[data-colour=black]{background:#292c2b}.stimulus[data-colour=orange]{background:#ed903e}.stimulus[data-colour=purple]{background:#8e65ad}.stimulus[data-colour=pink]{background:#e791b2}.stimulus[data-colour=white]{background:#fff;border:1px solid #b8c1bb}.stimulus[data-colour=brown]{background:#8b6647}.stimulus[data-colour=grey]{background:#8b9390}.recorder-controls{display:flex;align-items:center;justify-content:center;gap:30px;margin:30px 0 18px}.recorder-action{display:flex;align-items:center;gap:11px}.recorder-button{display:grid;place-items:center;width:48px;height:48px;padding:12px;border-radius:50%;background:var(--teal);color:#fff;transition:background .15s}.recorder-button.is-recording{background:#b64f4f}.recorder-button svg,.replay-button svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.recorder-button .stop-square,.replay-button .play-shape{fill:currentColor;stroke:none}#record-label{font-size:14px;color:var(--ink)}.replay-button{display:flex;align-items:center;gap:7px;min-height:44px;padding:8px 3px;background:transparent;color:var(--teal);font-size:13px}.replay-button:disabled{opacity:.35}
@media(min-width:1600px){main{padding-left:70px;padding-right:70px}}@media(max-width:1100px){main{padding:28px}.sidebar{width:200px;padding:30px 17px}main{margin-left:200px;width:calc(100% - 200px)}.colour-art{width:190px;transform:scale(.85)}.hero{padding:25px}.hero h2{font-size:36px}.section-title{flex-wrap:wrap}.section-title .pill{margin-left:0}}
@media(max-width:760px){.sidebar{position:static;width:100%;height:auto;padding:15px 18px;border-right:0;border-bottom:1px solid var(--line)}.shell{display:block}.brand{font-size:27px}.brand span{font-size:17px}.brand small{font-size:10px}.side-label,.side-note{display:none}nav{display:flex;gap:6px;margin-top:15px}.nav{justify-content:center;gap:6px;margin:0;padding:12px 5px;font-size:10px}.nav span{font-size:12px}main{margin:0;width:100%;padding:23px 17px}header{display:block;position:relative;margin-bottom:18px}header .badge{position:absolute;right:0;top:0}h1{font-size:18px;line-height:1.5;max-width:none;margin-top:24px}.eyebrow{font-size:9px;letter-spacing:1.5px}.badge{font-size:9px;padding:6px 8px;white-space:normal;max-width:102px;text-align:center}.notice{font-size:11px;padding:11px 13px}.hero{min-height:180px;padding:24px 20px}.hero h2{font-size:31px}.hero p{font-size:11px;max-width:230px}.colour-art{position:absolute;right:-75px;top:52px;transform:scale(.65);opacity:.45}.hero>div:first-child{position:relative;z-index:1}.grid-two,.item-list{grid-template-columns:1fr;gap:0}.card{padding:20px;margin-bottom:16px}.item-list{gap:10px}.item{padding:15px}.section-title{margin-bottom:16px;gap:8px}.start-bar{flex-direction:column;align-items:stretch;gap:6px}.start-bar .primary{width:100%}.confirm{font-size:11px}footer{gap:8px;line-height:1.6}.question-text{font-size:27px;padding:20px 0}.test-card{padding:23px 18px}.question-sub,.answer{font-size:24px}.controls{gap:10px}.controls button,.controls .file-button{padding:12px 15px}.scores{grid-template-columns:1fr 1fr}.review-form{grid-template-columns:1fr}.review-form .wide{grid-column:auto}.exam-row{flex-wrap:wrap}.exam-row .mode-chips{width:100%}.login-card{margin:30px auto}.view-heading h2{font-size:25px}.test-nav button{padding:12px}.test-nav{gap:10px}.mode-chips .pill{font-size:9px}input:not([type=checkbox]),textarea,select{font-size:16px}}
@media(max-width:760px){header .header-tools{position:absolute;right:0;top:0;gap:8px}header .header-tools .badge{position:static}.management-link{font-size:10px}#results-view .view-heading{flex-wrap:wrap}.hero h2{overflow-wrap:anywhere}}
