:root{--green:#173f35;--green2:#2d6350;--lime:#e4efc4;--bg:#f6f7f3;--text:#263b33;--muted:#79857b;--border:#e4e8df;--amber:#b47b31;--red:#b75a4d;--shadow:0 6px 26px #173f3508;font-family:Inter,"Segoe UI",Arial,sans-serif;color:var(--text);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,select{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #8aa65d;outline-offset:3px}button{border:0;background:none;color:inherit}a{color:inherit}svg.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.sidebar{position:fixed;inset:0 auto 0 0;width:236px;background:#fff;border-right:1px solid var(--border);padding:31px 20px;display:flex;flex-direction:column;z-index:30}.brand{display:flex;align-items:center;gap:11px;margin:0 9px 42px;text-decoration:none}.brand-mark{display:inline-flex;position:relative;align-items:center;justify-content:center;background:var(--green);color:#edf5d3;border-radius:12px;width:41px;height:43px;font:italic 35px Georgia,serif;flex-shrink:0}.brand-mark span{font:22px Arial;position:absolute;right:5px;top:0;color:#d9ed9c}.brand-name{font-size:18px;font-weight:750;letter-spacing:-.6px}.brand-name small{display:block;font-size:10px;font-weight:600;color:var(--muted);letter-spacing:2px;margin-top:4px;text-transform:uppercase}.nav-label,.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:1.7px;font-weight:700;color:var(--muted)}.nav-label{padding-left:16px;margin-bottom:15px}.nav{display:grid;gap:6px}.nav button{display:flex;align-items:center;gap:13px;padding:13px 15px;border-radius:9px;text-align:left;font-size:13px;color:#718074;font-weight:550}.nav button:hover{background:#f4f6f0}.nav button.active{background:#eef3e7;color:var(--green);font-weight:700}.nav .count{margin-left:auto;font-size:10px;background:#fff;border:1px solid #dfe8d6;border-radius:5px;padding:2px 5px}.sidebar-note{margin-top:auto;padding:17px 15px;background:#f6f7f0;border-radius:12px;font-size:11px;line-height:1.65;color:var(--muted)}.sidebar-note strong{font-size:12px;color:var(--green);display:block;margin:7px 0 3px}.profile{border-top:1px solid var(--border);margin:22px 3px -8px;padding-top:20px;display:flex;align-items:center;gap:10px;font-size:12px}.profile small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.avatar{width:36px;height:36px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#e7eedb;color:var(--green);font-size:12px;font-weight:650;flex-shrink:0}.avatar.large{width:58px;height:58px;font-size:20px}.main{margin-left:236px}.topbar{height:77px;background:#fff;border-bottom:1px solid var(--border);padding:0 38px;display:flex;align-items:center;justify-content:space-between;gap:12px}.breadcrumb{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:12px}.breadcrumb span:last-child{color:var(--text);font-weight:550}.top-actions{display:flex;align-items:center;gap:12px}.top-actions select{max-width:205px;background:#f7f8f4}.top-date{font-size:11px;color:var(--muted)}.content{max-width:1480px;margin:auto;padding:32px 38px 50px}.page-title{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:27px}.page-title h1{font-size:29px;letter-spacing:-1.1px;margin:8px 0 7px;font-weight:650}.page-title p,.subtitle{color:var(--muted);font-size:12px;line-height:1.6;margin:0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:11px 15px;border-radius:8px;min-height:39px;font-size:12px;font-weight:600;border:1px solid var(--border);background:white;white-space:nowrap;text-decoration:none}.btn:hover{border-color:#b8c6ae;background:#f7f9f2}.btn.primary{background:var(--green);border-color:var(--green);color:white}.btn.primary:hover{background:#245342}.btn.light{background:var(--lime);border-color:var(--lime);color:var(--green)}.btn.ghost{background:transparent}.btn.small{min-height:32px;padding:7px 10px;font-size:11px}.btn.danger{color:var(--red)}.icon-btn{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:7px}.icon-btn:hover{background:#eef2e7}.hero{background:var(--green);color:white;border-radius:15px;display:flex;align-items:center;justify-content:space-between;padding:31px 34px;overflow:hidden;position:relative;min-height:225px;margin-bottom:23px}.hero-copy{max-width:60%;position:relative;z-index:2}.hero .eyebrow{color:#bbcda8;font-size:9px}.hero h2{font-weight:500;font-size:29px;line-height:1.27;letter-spacing:-.8px;margin:12px 0}.hero p{font-size:12px;color:#b7c9bd;line-height:1.7;max-width:370px;margin:0 0 20px}.hero-art{width:260px;height:230px;position:absolute;right:14px;top:0;opacity:.95}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:17px;margin-bottom:26px}.stat{border:1px solid var(--border);background:white;border-radius:11px;padding:19px 20px;box-shadow:var(--shadow)}.stat-label{display:flex;align-items:center;justify-content:space-between;color:var(--muted);font-size:11px}.stat-label svg{width:16px;height:16px;color:#8d9f7e}.stat strong{font-size:29px;font-weight:600;letter-spacing:-1px;display:block;margin:13px 0 7px}.stat small{font-size:10px;color:var(--muted)}.grid-two{display:grid;grid-template-columns:1.4fr 1fr;gap:22px}.panel{background:white;border:1px solid var(--border);border-radius:12px;box-shadow:var(--shadow);overflow:hidden}.panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:21px 23px 17px}.panel-head h2,.section-title{font-size:14px;margin:0;font-weight:650;letter-spacing:-.2px}.panel-head p{font-size:10px;color:var(--muted);margin:6px 0 0}.panel-body{padding:0 23px 23px}.panel-foot{padding:14px 23px;border-top:1px solid var(--border);font-size:10px;color:var(--muted);background:#fcfdf9}.empty{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:39px 25px;min-height:230px}.empty-symbol{background:#f0f4e9;color:#71895f;border-radius:14px;width:52px;height:52px;display:grid;place-items:center;margin-bottom:15px}.empty h3{font-size:14px;margin:0 0 9px}.empty p{font-size:11px;line-height:1.7;color:var(--muted);max-width:300px;margin:0 0 17px}.topic-row{display:flex;align-items:center;gap:11px;padding:11px 0;border-bottom:1px solid #eff1eb}.topic-row:last-child{border:0}.topic-code{font-size:10px;font-weight:700;background:#edf2e5;color:#4b6b37;border-radius:7px;min-width:31px;height:31px;display:inline-flex;align-items:center;justify-content:center}.topic-code.geo{background:#e9eef7;color:#60789c}.topic-code.calc{background:#fbefdf;color:#b58a4d}.topic-text{flex:1;font-size:11px;font-weight:550;line-height:1.4}.topic-text small{font-size:10px;display:block;color:var(--muted);font-weight:400;margin-top:3px}.topic-num{font-size:10px;color:var(--muted)}.toolbar{display:flex;align-items:center;gap:11px;margin:19px 0}.searchbox{position:relative;flex:1;max-width:420px}.searchbox svg{position:absolute;left:13px;top:12px;width:17px;height:17px;color:#95a08f}.searchbox input{padding-left:39px!important;width:100%}.control,input[type=text],input[type=search],input[type=number],input[type=date],textarea,select{border:1px solid var(--border);background:#fff;border-radius:8px;padding:10px 12px;color:var(--text);font-size:12px;min-height:40px;outline:none}.control:focus,input:focus,textarea:focus,select:focus{border-color:#97ad7a;box-shadow:0 0 0 3px #b1ca8c20}select{cursor:pointer}.year-tabs{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.year-tab{font-size:11px;font-weight:550;min-width:52px;padding:9px 14px;border-radius:7px;border:1px solid var(--border);background:white}.year-tab.active{background:var(--green);border-color:var(--green);color:white}.year-tab:hover{border-color:#8c9e7e}.results-line{display:flex;justify-content:space-between;align-items:center;margin:23px 0 14px;color:var(--muted);font-size:10px}.results-line strong{color:var(--text);font-size:12px;font-weight:600}.question-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.question-card{border:1px solid var(--border);border-radius:11px;background:#fff;overflow:hidden;transition:transform .16s,box-shadow .16s}.question-card:hover{transform:translateY(-3px);box-shadow:0 9px 26px #173f3510;border-color:#c7d4b8}.question-thumb{width:100%;height:168px;display:block;overflow:hidden;background:#fff;padding:20px 15px 12px;position:relative;border-bottom:1px solid #edf0e7}.question-thumb img{width:100%;height:100%;object-fit:contain;object-position:top;display:block}.question-thumb .preview-label{position:absolute;inset:auto 0 10px;display:flex;justify-content:center;opacity:0;transition:opacity .15s}.preview-label span{background:#173f35eb;color:#fff;border-radius:18px;padding:7px 13px;font-size:10px;display:flex;align-items:center;gap:7px}.question-card:hover .preview-label,.question-thumb:focus-visible .preview-label{opacity:1}.question-info{padding:16px 17px 17px}.question-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.question-top h3{font-size:13px;margin:0;font-weight:650}.paper-badge{font-size:9px;color:var(--muted);background:#f5f6f1;border-radius:4px;padding:4px 6px}.question-topic{display:flex;gap:7px;align-items:flex-start;margin:12px 0;min-height:30px}.question-topic .topic-code{min-width:24px;height:24px;font-size:9px;border-radius:5px}.question-topic span:last-child{font-size:10px;line-height:1.5;padding-top:4px;color:#6c796b}.question-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #edf0e8;padding-top:12px;font-size:10px;color:#8b9587}.score-chip{font-size:10px;background:#edf4e6;color:#58743e;padding:5px 7px;border-radius:5px}.score-chip.low{background:#fbede7;color:#b16c52}.score-chip.mid{background:#fcf1da;color:#ac843b}.chip{display:inline-flex;padding:5px 8px;background:#f0f3eb;border-radius:5px;font-size:10px;color:#6b7d5e;align-items:center;gap:5px}.pagination{display:flex;align-items:center;justify-content:center;gap:13px;margin:26px 0 0;font-size:11px;color:var(--muted)}.student-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:19px}.student-card{padding:23px;cursor:pointer}.student-card:hover{border-color:#adc094}.student-card h3{font-size:15px;margin:14px 0 4px}.student-card p{font-size:11px;color:var(--muted);margin:0}.student-card .student-metrics{display:flex;gap:22px;border-top:1px solid var(--border);padding-top:17px;margin-top:20px;font-size:18px;font-weight:600}.student-metrics small{display:block;font-weight:400;color:var(--muted);font-size:10px;margin-top:4px}.student-heading{display:flex;align-items:center;gap:17px}.student-heading h1{margin-top:0}.student-tabs{display:flex;gap:25px;border-bottom:1px solid var(--border);margin-bottom:25px}.student-tabs button{padding:13px 0;font-size:12px;color:var(--muted);border-bottom:2px solid transparent}.student-tabs button.active{border-color:var(--green);color:var(--green);font-weight:650}.table-wrap{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:11px}th{text-align:left;font-size:9px;color:var(--muted);text-transform:uppercase;letter-spacing:.7px;background:#fafbf7;font-weight:600;padding:12px 19px}td{padding:16px 19px;border-top:1px solid #eff1e9;vertical-align:middle}td .minor{display:block;color:var(--muted);font-size:10px;margin-top:5px}.text-button{font-size:11px;color:var(--green2);font-weight:600;padding:0}.notice{background:#f0f4e7;border:1px solid #e3eacb;border-radius:9px;padding:12px 16px;font-size:11px;line-height:1.6;color:#6a7e4f;display:flex;align-items:center;gap:10px;margin-bottom:20px}.notice.warning{background:#fcf3e5;border-color:#efe1c7;color:#9c7744}.demo-banner{display:flex;gap:12px;align-items:center;background:#fff0d8;padding:10px 38px;font-size:11px;color:#96713b}.demo-banner button{margin-left:auto;text-decoration:underline;font-weight:650;font-size:11px}.insight-topic{padding:15px 0;border-bottom:1px solid #eef1e7}.insight-topic:last-child{border:0}.insight-topic .row{display:flex;align-items:center;gap:10px;margin-bottom:10px}.insight-topic .row strong{font-size:11px;flex:1;font-weight:550}.insight-topic .row .percentage{font-size:12px;font-weight:650}.progress{height:5px;background:#eef1e7;border-radius:5px;overflow:hidden}.progress span{display:block;background:#75975c;border-radius:5px;height:100%}.progress span.low{background:#d29a78}.progress span.mid{background:#d3bc72}.insight-topic .fine{display:flex;justify-content:space-between;color:var(--muted);font-size:9px;margin-top:8px}.recommendation{padding:17px;border-radius:9px;background:#f5f7ef;margin-bottom:12px}.recommendation h3{font-size:12px;margin:7px 0}.recommendation p{font-size:11px;line-height:1.65;color:var(--muted);margin:7px 0 13px}.chart{width:100%;height:190px;display:block}.chart text{font-family:inherit;font-size:10px;fill:#86917f}.legend{font-size:10px;color:var(--muted);display:flex;align-items:center;gap:7px;margin:10px 0}.legend i{width:7px;height:7px;border-radius:50%;background:#6b8d51}.overlay{position:fixed;inset:0;background:#11251e77;z-index:80;display:flex;align-items:center;justify-content:center;padding:30px;backdrop-filter:blur(3px)}.dialog{width:min(470px,100%);max-height:90vh;overflow-y:auto;background:#fff;border-radius:15px;box-shadow:0 20px 90px #11251e40;padding:25px}.dialog-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:19px}.dialog-head h2{font-size:19px;letter-spacing:-.5px;margin:0}.field{display:block;margin-bottom:16px}.field>span{display:block;font-size:11px;font-weight:600;margin-bottom:8px}.field input,.field textarea,.field select{width:100%}.field small{display:block;font-size:10px;line-height:1.5;color:var(--muted);margin-top:6px}.field textarea{resize:vertical;min-height:75px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.dialog-footer{display:flex;justify-content:flex-end;gap:10px;margin-top:22px}.question-dialog{width:min(1240px,100%);height:min(850px,92vh);max-height:92vh;padding:0;display:flex;flex-direction:column;overflow:hidden}.question-dialog>.dialog-head{padding:17px 23px;border-bottom:1px solid var(--border);margin:0;flex-shrink:0}.question-dialog>.dialog-head h2{font-size:16px}.question-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;min-height:0;flex:1}.question-canvas{background:#f1f3ed;overflow:auto;padding:23px}.question-canvas img{width:100%;height:auto;background:white;border-radius:4px;display:block;box-shadow:0 3px 12px #00000009}.question-canvas .source-info{font-size:10px;color:var(--muted);line-height:1.6;margin:12px 3px}.question-score{overflow-y:auto;padding:23px;border-left:1px solid var(--border)}.question-score h3{font-size:13px;margin:0 0 17px}.question-score .btn.primary{width:100%}.question-score .notice{font-size:10px;padding:10px}.attempt-history{border-top:1px solid var(--border);padding-top:19px;margin-top:23px}.history-entry{padding:12px 0;border-bottom:1px solid var(--border);font-size:11px;display:flex;justify-content:space-between;gap:8px}.history-entry small{color:var(--muted);display:block;font-size:10px;margin-top:5px;max-width:175px;line-height:1.5;overflow-wrap:anywhere}.history-entry .buttons{display:flex}.history-entry .icon-btn{width:25px;height:25px}.history-entry svg{width:14px;height:14px}.error-message{font-size:11px;color:var(--red);line-height:1.5;min-height:16px}.loading{min-height:100vh;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;color:var(--muted);font-size:13px}.loading .brand-mark{width:58px;height:61px;font-size:45px}#toast{position:fixed;bottom:25px;left:calc(50% + 118px);transform:translateX(-50%) translateY(20px);background:var(--green);color:#fff;box-shadow:0 5px 20px #0002;border-radius:9px;padding:13px 20px;font-size:12px;opacity:0;pointer-events:none;transition:all .2s;z-index:110}#toast.visible{opacity:1;transform:translateX(-50%) translateY(0)}.mobile-menu{display:none}.muted{color:var(--muted)}.spacer{height:22px}.flex{display:flex;align-items:center;gap:10px}.visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}.footer-note{font-size:10px;color:#98a28f;text-align:center;margin-top:35px}.full-span{grid-column:1/-1}.demo-link{font-size:11px;text-decoration:underline;color:#6f8655}.bar-count{display:flex;align-items:center;gap:8px;font-size:10px;color:var(--muted)}.topic-pill-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:15px}
@media(min-width:1550px){.question-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1150px){.sidebar{width:205px;padding-left:15px;padding-right:15px}.main{margin-left:205px}.content{padding:28px}.topbar{padding:0 28px}.question-grid,.student-grid{grid-template-columns:repeat(2,1fr)}.grid-two{grid-template-columns:1.2fr 1fr}.top-date{display:none}.stat{padding:17px 15px}.hero-art{right:-35px}.question-layout{grid-template-columns:minmax(0,1fr) 290px}#toast{left:calc(50% + 102px)}}@media(max-width:800px){.sidebar{display:none}.sidebar.open{display:flex;box-shadow:10px 0 50px #0002;width:236px}.main{margin:0}.mobile-menu{display:inline-flex}.topbar{height:66px;padding:0 19px}.content{padding:23px 19px}.top-actions{gap:6px}.top-actions .btn{font-size:0;padding:9px}.top-actions select{max-width:155px;font-size:11px}.breadcrumb{gap:8px}.breadcrumb .workspace-name{display:none}.page-title h1{font-size:25px}.page-title{align-items:flex-start}.page-title>.btn{font-size:10px;padding:9px}.stats{grid-template-columns:repeat(2,1fr);gap:12px}.grid-two{grid-template-columns:1fr}.hero{padding:25px;min-height:220px}.hero-copy{max-width:75%}.hero h2{font-size:26px}.hero-art{opacity:.25;right:-60px}.toolbar{flex-wrap:wrap}.searchbox{flex-basis:100%;max-width:none}.toolbar select{flex:1;min-width:0}.question-grid,.student-grid{gap:12px}.question-info{padding:13px}.question-thumb{height:145px;padding:13px 10px}.question-dialog{height:94vh;max-height:94vh}.overlay{padding:12px}.question-layout{display:block;overflow-y:auto}.question-canvas{overflow:visible;padding:14px}.question-score{overflow:visible;border:0;border-top:1px solid var(--border);padding:21px}.question-canvas img{max-height:none}.question-dialog>.dialog-head{padding:13px 16px}.question-dialog .dialog-head h2{font-size:13px}.dialog{padding:21px}.question-dialog{padding:0}.demo-banner{padding:10px 19px}.student-tabs{gap:20px}#toast{left:50%;width:max-content;max-width:90vw}.brand-name{font-size:18px}.student-heading .avatar.large{display:none}}@media(max-width:450px){.question-grid,.student-grid{grid-template-columns:1fr}.question-thumb{height:180px}.hero-copy{max-width:100%}.hero h2{font-size:24px}.year-tab{min-width:43px;padding:8px 10px}.page-title .actions{display:flex;flex-direction:column;gap:5px}.top-actions select{max-width:130px}.topbar{padding:0 12px}.breadcrumb{font-size:11px}.stat strong{font-size:26px}.page-title h1{font-size:24px}.content{padding:22px 15px}}

/* Question-bank layout, following the tutor's reference. */
:root{--green:#111b31;--green2:#087eaf;--lime:#e9f6fd;--bg:#f7f9fc;--text:#172238;--muted:#7386a1;--border:#dfe7f2;--shadow:0 2px 5px #15346504;--red:#d63859}
.sidebar{display:none!important}.main{margin-left:0}.topbar{height:64px;background:#30394b;border:0;padding:0 30px;position:sticky;top:0;z-index:40;justify-content:flex-start;gap:27px}.topbar .breadcrumb{display:none}.top-brand{margin:0;color:#fff;gap:10px;flex-shrink:0}.top-brand .brand-mark{width:36px;height:37px;border-radius:6px;background:#00a9e3;color:#071b2d;font:700 23px Georgia}.top-brand .brand-name{font-size:16px;letter-spacing:-.5px}.top-brand small{font-size:8px;color:#b2c1d6;letter-spacing:2px}.top-nav{display:flex;align-items:center;gap:5px}.top-nav button{display:flex;align-items:center;gap:8px;padding:11px 13px;border-radius:7px;color:#bdc8d7;font-size:12px;font-weight:550;white-space:nowrap}.top-nav button.active{background:#f7f9fc;color:#111b31}.top-nav svg{width:17px;height:17px}.top-actions{margin-left:auto}.top-actions .top-date{display:none}.top-actions select{background:#394457;border-color:#48556b;color:#fff;font-size:11px}.top-actions .btn.primary{background:#00a9e3;border-color:#00a9e3;color:#092034}.content{max-width:1600px;padding:31px 30px 45px}.content:has(.library-filter){max-width:none;margin-left:300px;padding-left:30px}.library-filter{position:fixed;left:30px;top:100px;width:250px}.library-filter>.eyebrow{color:#7386a1}.library-filter>.subtitle{margin:9px 0 26px;font-size:11px}.library-filter .field{margin-bottom:24px}.library-filter .field>span{font-size:10px;font-weight:500;color:#7488a4;letter-spacing:.4px}.library-filter .field select{font-size:11px;width:100%;padding:9px 10px;border-color:#cdd9e9}.filter-tip{border-top:1px solid var(--border);padding-top:20px;color:#8b9aaf;display:flex;gap:10px;font-size:10px;line-height:1.7}.filter-tip svg{width:15px;height:15px}.filter-tip p{margin:0}.page-title h1{font-size:25px;font-weight:650;letter-spacing:-.7px}.page-title .eyebrow{display:none}.page-title p{font-size:12px}.page-title{margin-bottom:22px}.question-grid{gap:18px}.question-card{border-radius:8px}.question-thumb{height:245px;padding:19px}.question-info{padding:14px 15px}.question-top h3{font-size:12px}.question-topic{min-height:32px}.question-bottom{flex-wrap:wrap;gap:10px}.question-bottom>span{display:none}.card-actions{display:flex;gap:7px;flex-wrap:wrap;width:100%}.card-actions .btn{font-size:10px;min-height:29px;padding:6px 9px}.card-actions svg{width:14px;height:14px}.question-topic .topic-code{background:#edf0ff;color:#4e4cce}.topic-code.geo{background:#edf0ff;color:#4e4cce}.topic-code.calc{background:#fff1da;color:#b37729}.btn.primary:hover{background:#27344e}.btn.light{background:#dff2ff}.year-tab{padding:8px 13px;font-size:11px}.toolbar{gap:9px}.toolbar>select{display:none}.toolbar .searchbox{max-width:430px}.toolbar .text-button{margin-left:auto}.score-chip{background:#ddf7eb;color:#027a5a}.score-chip.low{background:#ffe8ed;color:#d41646}.score-chip.mid{background:#fff1ca;color:#a76700}.progress{background:#edf1f6}.progress span{background:#00a380}.progress span.low{background:#e61b4b}.progress span.mid{background:#d68b00}.panel{border-radius:8px}.stat{border-radius:8px}.student-card{padding:22px}.student-card .avatar{background:#101b31;color:#fff;border-radius:7px;width:44px;height:44px;font-size:14px}.student-card .student-metrics{font-size:20px;margin-top:18px}.student-signals{border-top:1px solid var(--border);margin-top:17px;padding-top:11px;font-size:11px;min-height:75px}.student-signals p{margin:6px 0;line-height:1.5;font-size:11px}.student-signals p span{color:#7587a0}.student-signals p strong{color:#087eaf;font-weight:500}.student-signals p:first-child strong{color:#d3274e}.student-signals small{font-size:9px;color:var(--muted)}.student-card-links{display:flex;align-items:center;gap:9px;font-size:11px;color:#4f688b;margin-top:10px}.student-card-links svg{height:15px;width:15px}.log-summary{display:flex;align-items:center;gap:25px;padding:16px 20px;margin:20px 0;background:#fff;border:1px solid var(--border);border-radius:8px;color:var(--muted);font-size:12px}.log-summary strong{color:var(--text);font-weight:600;margin-left:4px}.log-summary small{margin-left:auto;color:#98a6ba;font-size:10px}.log-question{display:flex;align-items:center;gap:9px;font-size:11px;text-align:left;white-space:nowrap}.log-question img{width:50px;height:32px;object-fit:contain;border:1px solid var(--border);border-radius:4px;padding:3px}th{background:#f7f9fc;color:#536b8e}.chip{background:#f0f3ff;color:#5a59bf}.notice{background:#eef6fc;border-color:#deebf6;color:#5e809a}.recommendation{background:#f7f9fc;border:1px solid #e7edf5}.hero{background:#30394b}.question-dialog{width:min(1340px,100%)}.question-layout{grid-template-columns:minmax(0,1fr) 320px}.question-score{background:#f8fafc}.question-canvas{background:white}.question-canvas img{padding:15px;border:1px solid var(--border);border-radius:7px}.question-canvas .source-info{margin-top:17px}.question-dialog>.dialog-head{background:white}.question-score h3{font-size:14px}.student-tabs button.active{border-color:#00a9e3}.demo-banner{position:relative;z-index:45}.hero-art{opacity:.8}.insight-topic .fine{font-size:10px}.insight-topic .row strong{font-size:12px}.progress{height:7px}.dialog .btn.primary{background:#111b31}.dialog .btn.primary:hover{background:#263851}.footer-note{color:#a2afc0}#toast{left:50%;background:#172238}.top-nav{overflow-x:auto}.top-nav button:focus-visible{outline-color:#00a9e3}
@media(min-width:1550px){.question-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1120px){.topbar{gap:15px;padding:0 20px}.top-nav button{padding:11px 9px;font-size:11px;gap:5px}.top-actions select{max-width:140px}.top-brand .brand-name{font-size:14px}.content:has(.library-filter){margin-left:240px;padding-left:20px}.library-filter{left:20px;width:210px}.question-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.question-thumb{height:210px}.top-actions .btn{font-size:0;padding:9px}.top-actions .btn svg{width:18px}.toolbar>select{display:none}}
@media(max-width:800px){.topbar{height:auto;min-height:65px;flex-wrap:wrap;padding:13px 16px 0;gap:9px 15px}.top-brand{order:0}.top-actions{order:1}.top-nav{order:2;flex-basis:100%;padding-bottom:9px}.top-nav button{font-size:11px;padding:10px 11px;flex:1;justify-content:center}.top-brand .brand-name{font-size:15px}.content:has(.library-filter){margin-left:0;padding:22px 18px}.library-filter{display:none}.toolbar>select{display:block}.toolbar{gap:10px}.toolbar .searchbox{max-width:none}.question-thumb{height:190px}.question-dialog{padding:0}.question-layout{display:block}.question-score{border-top:1px solid var(--border)}.content{padding:25px 18px}.student-grid{grid-template-columns:repeat(2,1fr)}.log-summary{gap:12px;flex-wrap:wrap;font-size:11px}.log-summary small{margin-left:0;flex-basis:100%}.top-nav svg{width:15px}.student-profile .page-title{flex-direction:column}.student-heading .avatar.large{display:none}.page-title .flex{flex-wrap:wrap}.question-score .form-grid{grid-template-columns:1fr 1fr}}
@media(max-width:480px){.question-grid,.student-grid{grid-template-columns:1fr}.question-thumb{height:230px}.top-nav button{font-size:10px;padding:10px 7px}.top-nav{gap:2px}.top-actions select{max-width:135px}.page-title{flex-wrap:wrap}.page-title .flex{width:100%}.stats{gap:10px}.stat{padding:16px}.student-card .student-metrics{gap:34px}.demo-banner{font-size:10px}.demo-banner svg{display:none}}

.overlay>section{width:470px;max-width:100%;min-width:0}.overlay>section:has(.question-dialog){width:1340px}.overlay>section>.dialog{width:100%}

/* Complete, readable questions rather than cropped thumbnail cards. */
.question-grid{display:flex;flex-direction:column;gap:35px}.question-sheet{width:100%;min-width:0;background:transparent;border-bottom:1px solid #dce5f0;padding-bottom:23px}.sheet-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:17px 0 16px}.sheet-title h2{font-size:15px;font-weight:650;letter-spacing:-.25px;margin:0 0 10px}.sheet-topic{display:flex;align-items:center;gap:8px;color:#7184a0;font-size:11px}.sheet-topic .topic-code{height:24px;min-width:27px;font-size:9px}.sheet-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.sheet-actions .btn{font-size:11px;min-height:34px;padding:9px 12px}.sheet-actions .btn svg{width:15px;height:15px}.question-page{background:white;width:100%;padding:12px 7px;border-radius:4px}.question-page img{width:100%;height:auto;max-height:none;object-fit:initial;display:block}.sheet-footer{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#8a9ab0;padding-top:12px}.question-source-note{margin:12px 0 0}.content:has(.library-filter){padding-top:23px}.question-sheet:first-child .sheet-heading{padding-top:0}.question-sheet:has(.question-source-note){padding-bottom:15px}
@media(max-width:800px){.sheet-heading{flex-wrap:wrap}.sheet-actions{width:100%;justify-content:flex-start}.sheet-title h2{font-size:14px}.question-grid{gap:25px}.question-page{padding:5px 0}.sheet-topic{font-size:10px;flex-wrap:wrap}.sheet-footer{font-size:9px}.sheet-actions .icon-btn{margin-left:auto}}

/* Topic labels and reviewed imports. */
[hidden]{display:none!important}.library-filter{max-height:calc(100vh - 125px);overflow-y:auto;padding-right:5px}.library-filter>.eyebrow{display:block;margin-bottom:22px}.library-filter .field{margin-bottom:17px}.mobile-filters{display:none}.source-caption{display:block;color:var(--muted);font-size:11px;margin-bottom:7px}.question-labels{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.label-suggestions{display:flex;flex-wrap:wrap;gap:6px;margin:-5px 0 20px}.label-suggestions button{border:1px solid #dce2fa}.label-suggestions button:hover{background:#e4eaff}.dialog>.subtitle{margin-bottom:20px}.dialog details{border-top:1px solid var(--border);padding:14px 0;margin:10px 0}.dialog summary{cursor:pointer;font-size:12px;font-weight:600;margin-bottom:12px}.field input[type=password],.field input[type=file]{border:1px solid var(--border);border-radius:8px;padding:10px;font-size:12px;min-height:40px;max-width:100%}.dialog .notice{justify-content:space-between}.upload-history{margin-top:26px;border-top:1px solid var(--border);padding-top:16px}.upload-history h3{font-size:13px}.paper-row{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:14px 0;border-bottom:1px solid var(--border);font-size:11px}.paper-row>span:first-child{flex:1;min-width:0}.paper-row strong{font-weight:600;display:block}.paper-row small{display:block;color:var(--muted);margin-top:5px;overflow-wrap:anywhere}.review-toolbar{padding:13px 23px;border-bottom:1px solid var(--border);font-size:11px;display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap}.review-toolbar .flex{flex-wrap:wrap}.review-dialog>.notice{margin:8px 20px;padding:8px 13px}.review-dialog .question-canvas>.btn{margin-top:15px}.review-dialog .question-canvas>.subtitle{margin-top:12px}.include-question{display:flex;gap:8px;align-items:center;font-size:12px;font-weight:600;margin:0 0 23px}.include-question input{width:17px;height:17px}.region-row{border:1px solid var(--border);padding:8px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-bottom:10px}.region-row legend{font-size:10px;color:var(--muted)}.region-row label{font-size:10px;min-width:0}.region-row input{width:100%;min-width:0;padding:7px;font-size:11px}.busy-spinner{height:20px;width:20px;border:2px solid #d8e9f7;border-top-color:#087eaf;border-radius:50%;animation:spin 1s linear infinite;flex-shrink:0}@keyframes spin{to{transform:rotate(360deg)}}
@media(max-width:1350px){.sheet-heading{flex-wrap:wrap}.sheet-actions{flex-wrap:wrap}.top-actions{gap:7px}.topbar{gap:17px}.top-nav button{padding:11px 8px;font-size:11px}.top-brand .brand-name{font-size:14px}.top-actions .btn{font-size:11px;padding:9px}}
@media(max-width:1120px){.top-actions .btn{font-size:0}.top-actions .btn svg{width:18px;height:18px}}
@media(max-width:800px){.mobile-filters{display:inline-flex;margin-bottom:12px}.library-filter.filters-open{display:block;position:static;max-height:none;width:100%;padding:18px;background:white;border:1px solid var(--border);border-radius:8px;margin-bottom:16px}.library-filter.filters-open .field{margin-bottom:14px}.review-toolbar{padding:12px 16px}.sheet-actions{gap:6px}.sheet-actions .btn{padding:8px}.review-dialog>.notice{margin:8px 12px}.review-dialog .question-layout{overflow-y:auto}.question-score details{margin-top:18px}.top-actions .btn{font-size:0;padding:9px}}

/* Question details, solution tabs, and label combobox. */
.question-sheet{cursor:pointer}.question-title-link{text-align:left;font:inherit;padding:0}.question-title-link:hover{color:#087eaf}.question-page{text-align:left;cursor:pointer;border:1px solid transparent}.question-page:hover{border-color:#b4cddd}.question-page:focus-visible{outline:3px solid #00a9e3;outline-offset:3px}.png-download:hover{color:#087eaf;background:#e8f4fc}.question-main{min-width:0;min-height:0;display:flex;flex-direction:column;background:white}.question-main>.question-canvas{flex:1;min-height:0}.question-tabs{display:flex;gap:24px;padding:0 24px;border-bottom:1px solid var(--border);flex-shrink:0;background:white}.question-tabs [role=tab]{display:flex;align-items:center;gap:7px;border-bottom:2px solid transparent;padding:16px 2px 13px;font-size:12px;color:var(--muted)}.question-tabs [aria-selected=true]{color:#111b31;border-color:#00a9e3;font-weight:650}.question-tabs .icon{width:16px;height:16px}.solution-dot{width:6px;height:6px;background:#00a380;border-radius:50%;margin-left:3px}.detail-topic{display:flex;align-items:center;gap:9px;font-size:12px;line-height:1.5}.detail-topic .topic-code{flex-shrink:0}.question-facts{font-size:11px;margin:21px 0 15px}.question-facts>div{display:flex;justify-content:space-between;gap:12px;margin:13px 0}.question-facts dt{color:var(--muted);flex-shrink:0}.question-facts dd{margin:0;text-align:right;line-height:1.5}.score-entry-block{border-top:1px solid var(--border);margin-top:23px;padding-top:23px}.score-entry-block .subtitle{margin-bottom:15px}.score-entry-block form{margin-top:16px}.selected-score{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:12px;background:white;border:1px solid var(--border);border-radius:7px;margin-bottom:15px;font-size:10px}.selected-score small{color:var(--muted);width:100%}.solution-empty{min-height:240px;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:25px}.solution-empty h3{font-size:16px;margin:4px 0 10px}.solution-empty p{font-size:12px;color:var(--muted);line-height:1.7;max-width:330px}.solution-upload{padding:20px;border:1px dashed #cdd9e9;border-radius:8px;max-width:520px;margin:20px auto}.label-field>label{display:block;font-size:11px;font-weight:600;margin-bottom:8px}.label-picker{position:relative;border:1px solid var(--border);background:white;border-radius:7px;padding:7px;cursor:text}.label-picker:focus-within{border-color:#00a9e3;box-shadow:0 0 0 3px #00a9e314}.label-chips{display:flex;flex-wrap:wrap;gap:5px}.label-token{display:inline-flex;align-items:center;gap:4px;max-width:100%;background:#e9eef5;color:#283c55;border-radius:4px;font-size:11px;padding:4px 5px 4px 8px;overflow-wrap:anywhere}.label-token button{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:3px;padding:2px;flex-shrink:0}.label-token button:hover{background:#d2dce9}.label-token .icon{width:12px;height:12px}.label-picker #label-input{width:100%;min-width:0;border:0;border-radius:3px;padding:7px 4px;font-size:12px;min-height:30px;box-shadow:none}.label-picker .label-suggestions{position:absolute;left:-1px;right:-1px;top:calc(100% + 4px);display:block;background:white;border:1px solid #cdd9e9;border-radius:7px;box-shadow:0 6px 20px #162d4920;padding:5px;margin:0;max-height:220px;overflow-y:auto;z-index:8}.label-picker .label-option{display:flex;align-items:center;justify-content:space-between;gap:7px;width:100%;padding:9px;border:0;background:white;color:var(--text);font-size:12px;text-align:left;border-radius:4px;min-height:36px}.label-picker .label-option.active,.label-picker .label-option:hover{background:#eaf4ff}.label-option>span{display:flex;align-items:center;gap:5px;overflow-wrap:anywhere;min-width:0}.label-option .icon{width:14px;height:14px}.label-option small{font-size:9px!important;white-space:nowrap;margin:0!important}.label-empty{padding:10px;font-size:11px;color:var(--muted)}.label-field>small{margin-top:7px}.dialog:has(.label-picker){overflow-x:visible}.detail-dialog .question-details{padding-top:23px}.detail-dialog>.dialog-head{padding:17px 23px}.detail-dialog .question-canvas img{box-shadow:none}.solution-upload input[type=file]{max-width:100%}
@media(max-width:800px){.detail-dialog .question-main{display:block}.question-main>.question-canvas{overflow:visible}.question-tabs{position:sticky;top:0;z-index:2;padding:0 16px}.question-details .question-facts{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.question-details .question-facts>div{margin:8px 0}.detail-dialog .dialog-head{align-items:flex-start}.detail-dialog .dialog-head>.flex .btn{font-size:0;padding:8px}.detail-dialog .dialog-head>.flex .btn .icon{width:17px;height:17px}.solution-upload{margin:15px 0;padding:15px}}

/* Mark schemes, part scores, and paper navigation. */
.mark-scheme{border-top:1px solid var(--border);padding-top:18px;margin-top:20px}.marks-heading{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-bottom:10px}.marks-heading .text-button{display:inline-flex;align-items:center;gap:5px}.marks-heading .icon{width:14px;height:14px}.mark-scheme>.subtitle{font-size:11px;margin-bottom:15px}.part-definition{display:grid;grid-template-columns:minmax(0,1fr) 90px 28px;gap:7px;align-items:end;margin-bottom:10px}.part-definition label{min-width:0;font-size:10px;color:var(--muted)}.part-definition label span{display:block;margin-bottom:5px}.part-definition input{min-width:0;width:100%;padding:9px;font-size:12px}.part-definition .icon-btn{width:28px;height:38px}.auto-total{font-size:11px;display:flex;align-items:center;gap:7px;margin:17px 0}.auto-total input{width:16px;height:16px}.mark-scheme input[readonly],.score-total-row input[readonly]{background:#edf2f7;color:#46617d}.mark-scheme .error-message:not(:empty),#score-live-error:not(:empty){background:#fff0f2;border-left:3px solid #d63859;border-radius:4px;padding:10px;margin:5px 0 12px}.saved-mark-scheme{display:grid;gap:7px;margin:15px 0;font-size:11px}.saved-mark-scheme>span{display:flex;justify-content:space-between;color:var(--muted)}.saved-mark-scheme strong{color:var(--text);font-weight:500}.score-tools{display:flex;gap:7px;margin-bottom:16px}.part-score-row{display:grid;grid-template-columns:minmax(0,1fr) 77px 35px;align-items:center;gap:8px;margin-bottom:10px;font-size:12px}.part-score-row input{min-width:0;width:100%;padding:8px;text-align:right}.part-score-row>span{color:var(--muted);font-size:11px}.score-total-row{border-top:1px solid var(--border);padding-top:16px;margin-top:16px}.library-page-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.library-page-actions .btn{background:#00a9e3;border-color:#00a9e3;color:#092034}.library-filter .year-sort-label{display:flex;justify-content:space-between;align-items:center}.sort-year-btn{font-size:10px;color:#087eaf;padding:2px 0;font-weight:600}.top-nav{min-width:0}.top-actions{flex-shrink:0}.top-actions .btn[data-action="upload-paper"]{font-size:11px!important;gap:5px;padding:9px 11px!important}.top-actions .btn[data-action="upload-paper"] .icon{width:15px;height:15px}.solution-provenance{font-size:11px;color:var(--muted);line-height:1.6;margin:15px 0}.library-filter select{max-width:100%;text-overflow:ellipsis}
@media(max-width:1120px){.top-nav{flex:1}.top-actions select{max-width:125px}.topbar{gap:10px}.top-brand .brand-name{font-size:13px}}
@media(max-width:800px){.top-nav{flex-basis:100%}.library-page-actions{gap:8px}.library-page-actions .btn{font-size:11px}.part-definition{grid-template-columns:minmax(0,1fr) 95px 30px}.top-actions select{max-width:110px}}
@media(max-width:450px){.top-brand .brand-name{display:none}.top-actions .btn[data-action="upload-paper"]{font-size:10px!important;padding:8px!important}.top-actions select{max-width:105px}.library-page-actions{width:100%;justify-content:space-between}}

.part-score-row{grid-template-columns:minmax(0,1fr) 64px 30px 35px;gap:6px}.part-full-btn{font-size:10px;color:#087eaf;padding:6px 3px;border:1px solid #cdddec;border-radius:4px;background:white}.part-full-btn:hover{background:#eaf4ff}.marks-review-note{font-size:10px;line-height:1.6;color:#9c7744;background:#fff7ea;border-radius:6px;padding:10px;margin:14px 0}

.year-filter>.year-sort-label{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#7488a4;margin-bottom:8px}

.page-student-picker{display:flex;align-items:center;gap:9px;font-size:11px;color:var(--muted)}.page-student-picker select{min-width:170px;max-width:250px;font-size:12px;background:white}.student-switcher{display:flex;justify-content:flex-end;margin:-5px 0 15px}.toolbar #log-topic{display:block}.toolbar .page-student-picker{margin-right:4px}@media(max-width:800px){.page-title .page-student-picker{width:100%;margin-bottom:8px}.page-student-picker select{flex:1;min-width:0}.student-switcher{justify-content:flex-start}.toolbar .page-student-picker{width:100%;margin-right:0}}

.paper-attempt-dialog{width:min(760px,100%)}.paper-score-grid{border:1px solid var(--border);border-radius:9px;overflow:hidden;margin:8px 0 18px}.paper-score-heading,.paper-score-row{display:grid;grid-template-columns:minmax(0,1fr) 110px 55px;align-items:center;gap:10px;padding:11px 14px;border-bottom:1px solid var(--border)}.paper-score-heading{grid-template-columns:1fr auto;background:#fafbf7;font-size:11px}.paper-score-heading span,.paper-score-row small,.paper-score-row em{color:var(--muted);font-size:10px;font-style:normal}.paper-score-row:last-child{border-bottom:0}.paper-score-row span{font-size:11px;font-weight:650}.paper-score-row small{display:block;font-weight:400;margin-top:3px}.paper-score-row input{width:100%}.paper-results{margin-bottom:0}@media(max-width:600px){.paper-score-heading,.paper-score-row{grid-template-columns:minmax(0,1fr) 85px 42px}.paper-attempt-dialog .form-grid{grid-template-columns:1fr}}

.inline-question-edit{min-height:100%}.inline-edit-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.inline-question-edit .subtitle{margin-bottom:22px}.inline-question-edit form>.field:first-child{margin-top:0}.inline-question-edit .dialog-footer{position:sticky;bottom:-23px;background:white;border-top:1px solid var(--border);padding:15px 0 0;z-index:3}.inline-question-edit .btn.primary{width:auto}.footer-note a{color:var(--green2);font-weight:650}

/* Jira-style multi-select for question-bank subtopics. */
.filter-label-field{position:relative}.filter-label-field>span{display:block;font-size:11px;font-weight:600;margin-bottom:8px}.filter-label-combobox{position:relative}.filter-label-trigger{width:100%;min-height:40px;border:1px solid var(--border);background:#fff;border-radius:8px;padding:9px 11px;display:flex;align-items:center;justify-content:space-between;gap:8px;text-align:left;font-size:12px}.filter-label-trigger:hover:not(:disabled),.filter-label-trigger[aria-expanded=true]{border-color:#00a9e3}.filter-label-trigger>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.filter-label-menu{position:absolute;z-index:20;left:0;right:0;top:calc(100% + 4px);background:#fff;border:1px solid #cdd9e9;border-radius:7px;box-shadow:0 8px 24px #162d4925;padding:6px}.filter-label-menu input{width:100%;min-width:0;margin-bottom:5px}.filter-label-options{max-height:210px;overflow-y:auto}.filter-label-options>button{display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:9px;border-radius:5px;text-align:left;font-size:11px}.filter-label-options>button:hover,.filter-label-options>button:focus-visible{background:#eaf4ff}.filter-label-options .icon{width:14px;height:14px}.filter-label-chips{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.filter-label-chips:empty{display:none}.filter-label-field>small{display:block;margin-top:7px;line-height:1.45}

/* Student profile level and Jira-style subject picker. */
.student-subject-field>span{display:block;font-size:11px;font-weight:600;margin-bottom:8px}.student-subject-field{position:relative}.student-subject-field>small{display:block;margin-top:7px}.student-subject-options small{color:var(--muted);margin-left:5px}.student-dialog:has(.filter-label-menu){overflow:visible}

.paper-legend i{background:var(--amber)}
