:root{color-scheme:dark;--bg:#090e18;--panel:#0f1726;--raised:#142037;--line:#243149;--muted:#91a0b9;--text:#f2f5fc;--blue:#4c82ff;--green:#61c9aa;--red:#ff949e;--radius:14px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;transition:background .15s,border-color .15s,transform .15s}button:disabled{opacity:.4;cursor:not-allowed}button:focus-visible,a:focus-visible{outline:3px solid #9fbaff;outline-offset:3px}a{color:#98b8ff}button{color:var(--text);background:transparent;border:1px solid var(--line);border-radius:9px;min-height:40px;padding:9px 15px;font-weight:500;display:inline-flex;align-items:center;justify-content:center;gap:8px}button:hover:not(:disabled){background:#1b2942;border-color:#425679}.primary{background:var(--blue);border-color:var(--blue);color:white}.primary:hover:not(:disabled){background:#6594ff}.quiet{border-color:transparent;color:var(--muted)}.danger{color:var(--red)}.icon-button{width:38px;min-height:38px;padding:8px;flex-shrink:0}svg.icon{height:19px;width:19px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.shell{min-height:100vh;display:grid;grid-template-columns:218px minmax(0,1fr)}.sidebar{position:sticky;top:0;height:100vh;background:#0b111e;border-right:1px solid var(--line);display:flex;flex-direction:column;padding:28px 18px 20px;gap:26px}.brand{display:flex;gap:11px;align-items:center;font-weight:650;letter-spacing:-.3px}.brand-icon{background:var(--blue);border-radius:10px;padding:9px;display:flex;color:white}.brand small{display:block;color:var(--muted);font-size:12px;font-weight:400;letter-spacing:1.6px;margin-top:5px}.nav-caption{font-size:11px;letter-spacing:1.7px;color:#73839e;padding:3px 13px 11px}.nav{display:grid;gap:6px}.nav button{justify-content:flex-start;border:0;color:var(--muted);padding:12px;min-height:46px}.nav button.active{color:#aec7ff;background:#182b50}.nav button.active .icon{color:#6d9aff}.nav-count{margin-left:auto;background:#283c60;border-radius:5px;padding:2px 6px;font-size:12px}.sidebar-bottom{margin-top:auto}.demo-note{border:1px solid var(--line);border-radius:12px;padding:15px;font-size:13px;color:var(--muted);line-height:1.6}.demo-note strong{color:#c7d7ef;font-weight:500;display:block;margin-bottom:4px}.user{display:flex;gap:10px;align-items:center;margin-top:22px}.avatar{width:35px;height:35px;display:grid;place-items:center;border-radius:50%;background:#203354;font-size:12px}.user p{font-size:13px;margin:0;line-height:1.6}.user small{display:block;color:var(--muted)}.user .icon-button{margin-left:auto}.workspace{min-width:0}.topbar{height:76px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 32px;gap:16px}.crumb{color:var(--muted);display:flex;gap:13px;align-items:center;font-size:13px}.crumb strong{font-weight:500;color:var(--text)}.pill{display:inline-flex;align-items:center;gap:6px;border:1px solid #304565;background:#14233b;color:#a6bde0;padding:5px 9px;border-radius:6px;font-size:12px;white-space:nowrap}.pill.good{color:#86d7bd;background:#12312d;border-color:#215447}.pill.warn{color:#e9c986;background:#312a1b;border-color:#51412a}.page{padding:34px 32px;max-width:1700px;margin:auto}.page-title{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.page-title h1{font-size:28px;letter-spacing:-.8px;margin:0 0 8px;font-weight:600}.page-title p{color:var(--muted);margin:0;font-size:14px;line-height:1.6}.actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.eyebrow{color:#7895c6;letter-spacing:1.5px;text-transform:uppercase;font-size:11px;font-weight:600;margin-bottom:14px}.editor-toolbar{display:flex;gap:24px;border-bottom:1px solid var(--line);margin-bottom:25px;align-items:center}.tab{border:0;border-radius:0;min-height:48px;padding:10px 1px;color:var(--muted);position:relative}.tab.active{color:#97b7ff}.tab.active:after{position:absolute;content:"";height:2px;background:var(--blue);left:0;right:0;bottom:-1px}.editor-toolbar .saved{margin-left:auto;color:var(--muted);font-size:12px}.editor{display:grid;grid-template-columns:220px minmax(270px,1fr) 250px;gap:20px;align-items:start}.panel{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius)}.question-list{padding:16px 12px}.panel-label{font-size:12px;color:var(--muted);font-weight:500;letter-spacing:.7px;display:flex;justify-content:space-between;align-items:center;margin:3px 4px 16px}.question-item{width:100%;text-align:left;justify-content:flex-start;align-items:flex-start;padding:13px 10px;border-color:transparent;margin-bottom:6px;gap:10px}.question-item.selected{background:#192e53;border-color:#365b96}.q-number{font-size:12px;border:1px solid #405579;border-radius:6px;display:grid;place-items:center;width:25px;height:25px;flex-shrink:0;color:#b2c8eb}.selected .q-number{background:var(--blue);border-color:var(--blue);color:white}.question-item span.q-label{font-size:13px;line-height:1.5;min-width:0;overflow-wrap:anywhere}.question-item small{display:block;color:var(--muted);font-weight:400;font-size:11px;margin-top:5px}.add-question{border-style:dashed;width:100%;color:#9dbbfb;font-size:13px;margin-top:8px}.q-list-footer{display:flex;align-items:center;gap:7px;color:#7586a3;font-size:12px;padding:18px 4px 2px}.question-editor{padding:25px;min-height:490px}.question-heading{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:28px}.question-heading .eyebrow{margin:0}.question-heading .actions{gap:3px}.question-heading .icon-button{width:30px;min-height:30px;padding:5px;border:0}.field{display:block;margin-bottom:21px}.field>span,.field-label{display:block;font-size:13px;color:#bdc9de;margin-bottom:9px}.field small,.help{display:block;font-size:12px;color:var(--muted);line-height:1.65;margin-top:8px}input,textarea,select{background:#0b1322;border:1px solid #2b3b55;border-radius:8px;color:var(--text);padding:11px 12px;width:100%;outline:none;min-height:43px}input:focus,textarea:focus,select:focus{border-color:#689aff;box-shadow:0 0 0 3px #3977ff16}textarea{resize:vertical;line-height:1.6;min-height:90px}input::placeholder,textarea::placeholder{color:#687995}.question-text{font-size:19px;font-weight:500;min-height:104px;line-height:1.55}.answer-heading{display:flex;justify-content:space-between;align-items:center;font-size:13px;margin:26px 0 12px}.answer-heading small{color:var(--muted);font-size:11px}.option-editor{display:flex;gap:9px;align-items:center;background:#101b2d;border:1px solid var(--line);border-radius:9px;padding:9px;margin-bottom:10px}.option-editor.correct{border-color:#375f9d;background:#142640}.option-editor input[type=text]{background:none;border:0;padding:6px;min-height:30px;font-size:14px;box-shadow:none}.option-editor input[type=radio]{width:17px;height:17px;min-height:17px;accent-color:var(--blue);flex-shrink:0;margin-left:6px}.option-editor .icon-button{border:0;min-height:28px;width:28px;color:var(--muted)}.add-option{border:0;color:#86aaff;font-size:13px;padding-left:0}.editor-foot{border-top:1px solid var(--line);margin-top:30px;padding-top:20px;color:var(--muted);font-size:12px;display:flex;gap:8px;align-items:center;line-height:1.6}.settings{padding:20px}.settings h3{font-size:14px;font-weight:550;margin:0 0 24px}.settings .field{margin-bottom:24px}.settings select{font-size:13px}.setting-row{display:flex;justify-content:space-between;align-items:center;padding:16px 0;border-top:1px solid var(--line);font-size:13px;gap:12px}.setting-row small{display:block;color:var(--muted);line-height:1.6;margin-top:5px;font-size:12px}.switch-on{height:21px;width:36px;border-radius:20px;background:#326bdf;flex-shrink:0;padding:3px}.switch-on:after{content:"";display:block;border-radius:50%;width:15px;height:15px;background:white;margin-left:auto}.settings-tip{color:#89a4d0;background:#122139;border-radius:9px;font-size:12px;padding:14px;line-height:1.7;margin-top:17px}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin-bottom:25px}.stat{padding:20px}.stat .value{font-size:29px;margin-top:16px;letter-spacing:-.6px}.stat .label{color:var(--muted);font-size:13px}.table-wrap{overflow:auto}.table{border-collapse:collapse;width:100%;text-align:left;font-size:14px}.table th{font-weight:400;color:var(--muted);font-size:12px;border-bottom:1px solid var(--line);padding:16px 20px;white-space:nowrap}.table td{padding:18px 20px;border-bottom:1px solid #1d2a40}.table tr:last-child td{border-bottom:0}.table td small{color:var(--muted);display:block;margin-top:6px;font-size:12px}.table .name{font-weight:500}.test-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px}.test-card{padding:24px;display:flex;flex-direction:column;min-height:250px}.test-card h2{font-size:19px;font-weight:550;margin:22px 0 10px;line-height:1.4}.test-card p{font-size:13px;color:var(--muted);line-height:1.7;margin:0 0 20px}.test-card .actions{margin-top:auto}.test-card-head{display:flex;justify-content:space-between;align-items:center;color:#8dacdf}.toolbar{display:flex;justify-content:space-between;gap:15px;margin-bottom:20px}.search{max-width:340px}.toolbar select{width:auto}.empty{text-align:center;padding:60px 25px}.empty .icon{width:32px;height:32px;color:#6786b7}.empty h2{font-size:20px;font-weight:500}.empty p{color:var(--muted);font-size:14px;line-height:1.7;max-width:440px;margin:0 auto 22px}.test-settings{max-width:700px;padding:28px}.two-cols{display:grid;grid-template-columns:1fr 1fr;gap:20px}.statusline{color:var(--muted);font-size:13px;line-height:1.7}.center-screen{min-height:100vh;display:flex;flex-direction:column;align-items:center;padding:34px 20px;background:radial-gradient(ellipse at 50% 0,#152952 0,transparent 55%)}.center-screen>.brand{align-self:flex-start;margin:0 0 55px 15px}.login-card{width:100%;max-width:420px;padding:34px;margin:auto}.login-card h1{font-size:27px;font-weight:600;letter-spacing:-.5px;margin:10px 0}.login-card p{font-size:14px;color:var(--muted);line-height:1.7;margin-bottom:27px}.full{width:100%}.divider{display:flex;align-items:center;gap:14px;color:#6c7f9e;margin:20px 0;font-size:12px}.divider:before,.divider:after{content:"";height:1px;background:var(--line);flex:1}.page-footer{color:#6d7e99;font-size:12px;text-align:center;padding:28px 0 0}.candidate-wrap{max-width:760px;width:100%;margin:0 auto}.candidate-top{display:flex;justify-content:space-between;gap:18px;align-items:center;margin-bottom:25px}.candidate-top h1{font-size:16px;font-weight:500;line-height:1.5;margin:0}.timer{font-variant-numeric:tabular-nums;white-space:nowrap;color:#a6c3ff;background:#182b4b;border:1px solid #2f4b77;border-radius:8px;padding:9px 13px;display:flex;align-items:center;gap:8px;font-size:15px}.candidate-card{padding:34px}.candidate-card h2{font-size:25px;line-height:1.5;font-weight:550;letter-spacing:-.4px;margin:14px 0 28px}.candidate-choice{display:flex;gap:14px;align-items:center;justify-content:flex-start;text-align:left;border:1px solid var(--line);background:#101c30;padding:16px;width:100%;margin-bottom:12px;font-weight:400;line-height:1.5}.candidate-choice.selected{background:#1b3260;border-color:var(--blue)}.candidate-choice .letter{height:28px;width:28px;display:grid;place-items:center;border:1px solid #405272;border-radius:6px;color:#a5b7d2;flex-shrink:0;font-size:12px}.candidate-choice.selected .letter{color:white;background:var(--blue);border-color:var(--blue)}.candidate-footer{display:flex;justify-content:space-between;gap:12px;margin-top:30px}.question-dots{display:flex;gap:8px;justify-content:center;margin:23px auto;flex-wrap:wrap}.question-dots button{padding:0;width:35px;min-height:35px;font-size:12px;color:var(--muted)}.question-dots button.answered{background:#183358;color:#b9d0f6}.question-dots button.current{border-color:var(--blue);color:white}.progress-track{height:3px;background:#20304b;border-radius:3px;overflow:hidden;margin:17px 0 28px}.progress-track progress{width:100%;height:3px;display:block;border:0;background:#20304b}.progress-track progress::-webkit-progress-bar{background:#20304b}.progress-track progress::-webkit-progress-value{background:var(--blue)}.intro-meta{display:flex;gap:12px;flex-wrap:wrap;margin:25px 0;color:var(--muted);font-size:13px}.intro-meta span{display:flex;gap:7px;align-items:center;background:#152137;padding:10px;border-radius:8px}.review-card{padding:24px;margin-bottom:16px}.review-card h3{font-size:16px;line-height:1.6;font-weight:500}.answer-box{padding:15px;background:#0b1322;border:1px solid var(--line);border-radius:8px;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px}.review-card .reference{color:var(--muted);font-size:13px;line-height:1.7;margin:16px 0}.review-card .actions{margin-top:18px}.selected-grade{border-color:var(--blue);background:#203a65}.notice{padding:13px 17px;border:1px solid #2d4266;background:#122039;border-radius:9px;font-size:13px;color:#a5bde3;margin-bottom:22px;line-height:1.7}.result-numbers{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:25px 0}.result-numbers strong{font-size:30px;display:block;color:white;margin-bottom:7px}.result-numbers span{color:var(--muted);font-size:12px}dialog{background:var(--panel);color:var(--text);border:1px solid #354965;border-radius:16px;padding:28px;width:calc(100% - 32px);max-width:470px;box-shadow:0 25px 80px #0008}dialog::backdrop{background:#030712b8;backdrop-filter:blur(4px)}dialog h2{margin:0 0 15px;font-size:22px}dialog p{color:var(--muted);line-height:1.7;font-size:14px}dialog .actions{justify-content:flex-end;margin-top:24px}#toast{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);background:#203552;border:1px solid #425e89;border-radius:10px;box-shadow:0 10px 40px #0006;padding:13px 20px;color:white;font-size:14px;z-index:10;max-width:90vw;display:none}#toast.show{display:block}.text-link{color:#a6c1ff}.nowrap{white-space:nowrap}.error{color:var(--red);font-size:13px;line-height:1.6}.preview-tag{background:#203353;border:1px solid #466594;color:#b8cdf2;text-align:center;padding:11px;border-radius:8px;font-size:13px;margin-bottom:22px}.mobile-only{display:none}
@media(min-width:1500px){.editor{grid-template-columns:245px minmax(320px,1fr) 270px}.question-editor{padding:32px}.page{padding:38px 40px}}
@media(max-width:1200px){.shell{grid-template-columns:180px minmax(0,1fr)}.sidebar{padding:24px 12px}.page{padding:27px 22px}.topbar{padding:0 22px}.editor{grid-template-columns:175px minmax(240px,1fr);gap:15px}.settings{grid-column:2}.question-list{grid-row:1 / 3;position:sticky;top:18px}.brand{font-size:13px;gap:8px}.brand-icon{padding:7px}.question-editor{padding:20px}.page-title h1{font-size:25px}.stats{gap:12px}.stat{padding:16px}}
@media(max-width:800px){.shell{display:block}.sidebar{height:auto;position:static;padding:15px 18px;gap:18px;border-right:0;border-bottom:1px solid var(--line)}.sidebar>.brand{font-size:15px}.brand small{display:none}.nav-caption,.sidebar-bottom{display:none}.nav{display:flex;gap:5px}.nav button{flex:1;justify-content:center;font-size:13px;min-height:40px;padding:8px}.nav button .icon{height:17px;width:17px}.topbar{height:53px;padding:0 19px}.crumb{font-size:12px}.page{padding:24px 18px}.page-title{align-items:flex-start;flex-direction:column;gap:16px;margin-bottom:20px}.page-title h1{font-size:25px}.page-title>.actions{width:100%}.page-title>.actions button{flex:1}.editor{grid-template-columns:1fr}.question-list{position:static;grid-row:auto;overflow:auto;padding:12px;display:flex;gap:8px;align-items:stretch}.question-list .panel-label,.q-list-footer,.question-item small{display:none}.question-item{width:160px;flex-shrink:0;margin:0;font-size:12px;padding:9px}.question-item .q-label{font-size:12px;max-height:38px;overflow:hidden}.add-question{width:42px;flex-shrink:0;margin:0;font-size:0}.add-question .icon{width:20px}.settings{grid-column:auto}.question-editor{padding:20px;min-height:0}.editor-toolbar{gap:22px}.editor-toolbar .saved{font-size:11px}.question-text{font-size:17px}.stats{grid-template-columns:1fr 1fr}.toolbar{flex-wrap:wrap}.toolbar .search{max-width:none;flex:1;min-width:170px}.table th,.table td{padding:14px}.center-screen{padding:24px 16px}.center-screen>.brand{margin:0 0 32px 0}.candidate-card{padding:23px}.candidate-card h2{font-size:22px}.candidate-top h1{font-size:14px}.timer{padding:8px;font-size:13px}.login-card{padding:27px}.two-cols{grid-template-columns:1fr;gap:0}.answer-heading{align-items:flex-start;gap:8px;flex-direction:column}.candidate-footer button{font-size:13px;padding:10px}.mobile-only{display:inline-flex}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.password-toggle{display:flex;align-items:center;gap:9px;font-size:13px;color:var(--muted)}.password-toggle input{width:17px;height:17px;min-height:17px;margin:0;accent-color:var(--blue)}.user p{min-width:0;overflow-wrap:anywhere}#modal{max-height:calc(100dvh - 32px);overflow-y:auto}@media(max-width:800px){.nav{flex-wrap:wrap}.nav button{flex:1 1 43%;justify-content:flex-start}}
.brand-company{display:flex;flex-direction:column;align-items:flex-start;gap:16px;isolation:isolate}.company-logo{display:block;width:100%;max-width:180px;height:auto;filter:invert(1);mix-blend-mode:screen}.brand-product{font-size:15px;letter-spacing:.1px;color:#c3cfe3}.center-screen>.brand-company{width:200px;margin-bottom:36px}.center-screen>.brand-company .company-logo{max-width:200px}@media(max-width:800px){.sidebar>.brand-company{flex-direction:row;align-items:center;justify-content:space-between;width:100%;gap:20px}.sidebar .company-logo{width:145px}.sidebar .brand-product{font-size:14px}.center-screen>.brand-company{width:180px}.center-screen>.brand-company .company-logo{max-width:180px}}
@media(max-width:800px){.topbar>.actions{flex-wrap:nowrap;gap:3px;flex-shrink:0}.topbar>.actions .pill{display:none}.topbar .crumb{min-width:0}.question-list{scrollbar-width:thin;scrollbar-color:#344a6c #101b2d}.question-editor,.settings{min-width:0}.editor-toolbar .saved{max-width:110px;text-align:right;line-height:1.5}}
