:root{--paper:#f4f0e7;--paper-deep:#e9e1d3;--ink:#171714;--ink-soft:#35342f;--muted:#746f65;--line:#c9c0b2;--line-dark:#26251f;--vermilion:#c83b2d;--vermilion-dark:#9e2a21;--indigo:#20354d;--success:#32664a;--danger:#a62828;--text:#171714;--panel:#faf7f0}*{box-sizing:border-box}body{min-height:100vh;color:var(--ink);letter-spacing:normal;background:radial-gradient(circle at 82% 12%, #c83b2d1c 0 7rem, transparent 7.1rem), linear-gradient(#17171409 1px, transparent 1px), linear-gradient(90deg, #17171409 1px, transparent 1px), var(--paper);background-size:auto,48px 48px,48px 48px,auto;margin:0;font-family:Arial,Helvetica,ui-sans-serif,system-ui,sans-serif}body:before{content:"";pointer-events:none;opacity:.17;mix-blend-mode:multiply;background-image:repeating-linear-gradient(8deg,#0000 0 8px,#3a312712 9px,#0000 10px);position:fixed;inset:0}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.48}a{color:inherit;text-decoration:none}.site-shell{max-width:1220px;min-height:100vh;margin:auto;padding:28px 28px 64px}.brandbar{border-bottom:1px solid var(--ink);align-items:center;gap:13px;padding-bottom:17px;display:flex}.brandbar>div:nth-child(2){display:grid}.brandbar strong{letter-spacing:normal;font-family:Arial,Helvetica,sans-serif}.brandbar span{color:var(--muted);font-size:12px}.brandmark{border:1px solid var(--vermilion);background:var(--vermilion);color:#fff9ef;place-items:center;width:43px;height:43px;font-family:Arial,Helvetica,sans-serif;font-size:17px;font-weight:900;display:grid;box-shadow:inset 0 0 0 4px #ffffff29}.admin-link{color:var(--ink-soft);border-bottom:1px solid #0000;margin-left:auto;padding:10px 0;font-size:14px}.admin-link:hover{color:var(--vermilion);border-color:var(--vermilion)}.start-grid{grid-template-columns:minmax(0,1.2fr) minmax(360px,.8fr);align-items:center;gap:72px;min-height:calc(100vh - 120px);display:grid}.intro{border-left:4px solid var(--vermilion);max-width:690px;padding-left:27px;position:relative}.eyebrow{color:var(--vermilion);letter-spacing:.06em;text-transform:uppercase;margin:0 0 12px;font-size:13px;font-weight:850}.intro h1,.result-card h1,.login-card h1,.admin-header h1{color:var(--ink);letter-spacing:-.025em;margin:0;font-family:Arial,Helvetica,sans-serif;font-weight:850;line-height:1.08}.intro h1{font-size:clamp(42px,6vw,70px)}.intro>p:not(.eyebrow){color:var(--ink-soft);max-width:640px;margin:25px 0;font-size:18px;line-height:1.7}.facts{flex-wrap:wrap;gap:9px;display:flex}.facts span{border:1px solid var(--line);color:var(--ink-soft);background:#faf7f0b8;align-items:center;gap:8px;padding:10px 13px;font-size:13px;display:flex}.facts svg{width:16px;color:var(--vermilion)}.panel{border:1px solid var(--line-dark);background:#faf7f0f0;border-radius:2px;position:relative;box-shadow:12px 12px #20354d1a}.panel:after{content:"";pointer-events:none;border:1px solid #17171414;position:absolute;inset:7px}.start-card{padding:34px}.panel-title{gap:14px;margin-bottom:26px;display:flex}.panel-title>svg{color:var(--vermilion);width:25px}.panel-title h2,.code-panel h2,.results-panel h2{margin:0 0 6px;font-family:Arial,Helvetica,sans-serif;font-size:24px}.panel-title p,.code-panel p{color:var(--muted);margin:0;font-size:14px;line-height:1.5}label{color:var(--ink-soft);letter-spacing:normal;gap:7px;margin:15px 0;font-size:14px;font-weight:700;display:grid}input,textarea,select{border:1px solid var(--line);width:100%;color:var(--ink);font:inherit;letter-spacing:normal;background:#fffdf8;border-radius:0;outline:none;padding:13px 14px}textarea{resize:vertical;min-height:94px;line-height:1.5}.code-input{letter-spacing:.12em;text-transform:uppercase;font-family:ui-monospace,monospace}.primary-btn,.secondary-btn,.icon-btn{border-radius:0;justify-content:center;align-items:center;gap:9px;font-weight:800;display:inline-flex}.primary-btn{color:#fffaf1;background:var(--vermilion);border:1px solid var(--vermilion-dark);width:100%;box-shadow:4px 4px 0 var(--ink);margin-top:7px;padding:14px 18px;transition:transform .15s,box-shadow .15s,background .15s}.primary-btn:hover:not(:disabled){background:var(--vermilion-dark);box-shadow:2px 2px 0 var(--ink);transform:translate(2px,2px)}.primary-btn.small{width:auto;margin:0;padding:11px 17px}.secondary-btn{color:var(--ink);border:1px solid var(--ink);background:0 0;padding:11px 15px}.secondary-btn:hover:not(:disabled),.icon-btn:hover:not(:disabled){background:var(--ink);color:var(--paper)}.tiny,.quiet{color:var(--muted);text-align:center;margin:16px 0 0;font-size:12px;line-height:1.5}.error-box{border-left:4px solid var(--danger);color:#7f1f1f;background:#f3dfdc;margin:13px 0;padding:11px 13px;font-size:14px}.quiz-shell{max-width:980px;min-height:100vh;margin:auto;padding:28px}.quiz-top{color:var(--muted);border-bottom:1px solid var(--ink);grid-template-columns:1fr auto 1fr;align-items:center;margin-bottom:24px;padding-bottom:15px;font-size:13px;display:grid}.quiz-top>div{align-items:center;gap:8px;display:flex}.quiz-top .timer{background:var(--indigo);border:1px solid var(--indigo);color:#fff;justify-self:end;padding:8px 12px;font-family:ui-monospace,monospace;font-size:15px}.quiz-top .timer.timer-warning{background:var(--danger);border-color:var(--danger);animation:1.4s ease-in-out infinite timer-pulse}@keyframes timer-pulse{50%{box-shadow:0 0 0 5px #a6282829}}.violation-warning{border:1px solid var(--danger);color:#7f1f1f;background:#f3dfdc;align-items:center;gap:10px;max-width:760px;margin:-8px auto 18px;padding:12px 14px;font-size:14px;font-weight:750;display:flex}.student-id{text-align:center;justify-self:center;color:var(--ink)!important;gap:2px!important;display:grid!important}.student-id span{color:var(--muted);font-size:12px}.status-dot{background:var(--vermilion);border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 5px #c83b2d1f}.progress-head{color:var(--muted);justify-content:space-between;font-size:13px;display:flex}.progress-head strong{color:var(--vermilion);letter-spacing:.03em}.progress-track{background:var(--paper-deep);height:5px;margin:12px 0 34px;overflow:hidden}.progress-track span{background:var(--vermilion);height:100%;transition:all .25s;display:block}.question-title{letter-spacing:-.02em;max-width:800px;margin:0 0 28px;font-family:Arial,Helvetica,sans-serif;font-size:clamp(24px,4vw,36px);line-height:1.3}.options-list{gap:10px;display:grid}.multi-choice-hint{color:var(--text-soft);align-items:center;gap:8px;margin:12px 0;font-weight:800;display:flex}.option-btn{text-align:left;border:1px solid var(--line);width:100%;color:var(--ink);background:#fffdf8;grid-template-columns:38px 1fr 20px;align-items:center;gap:13px;padding:13px;transition:all .15s;display:grid}.option-btn:hover{border-color:var(--indigo);transform:translate(3px)}.option-btn>span{border:1px solid var(--line-dark);width:36px;height:36px;color:var(--ink-soft);place-items:center;font-weight:850;display:grid}.option-btn p{margin:0;line-height:1.45}.option-btn.selected>span{background:var(--vermilion);border-color:var(--vermilion);color:#fff}.quiz-nav{grid-template-columns:1fr auto 1fr;align-items:center;margin-top:30px;display:grid}.quiz-nav>span{text-align:center;color:var(--muted);font-size:13px}.quiz-nav>.primary-btn{justify-self:end}.quiz-nav>.secondary-btn{justify-self:start}.result-card{text-align:center;max-width:600px;margin:12vh auto 0;padding:50px}.success-mark{background:var(--vermilion);color:#fff;border:6px double #fff6e9;border-radius:50%;place-items:center;width:64px;height:64px;margin:0 auto 22px;display:grid}.result-score{justify-content:center;align-items:baseline;gap:12px;margin:28px auto 9px;display:flex}.result-score strong{letter-spacing:-.04em;font-family:Arial,Helvetica,sans-serif;font-size:68px}.quiz-name{color:var(--muted);margin:12px 0 0;font-weight:700}.result-score span{color:var(--vermilion);font-weight:850}.muted{color:var(--muted)}.result-meta{flex-wrap:wrap;justify-content:center;gap:10px;margin-top:24px;display:flex}.result-meta span{border:1px solid var(--line);color:var(--ink-soft);background:#fffdf8;align-items:center;gap:7px;padding:9px 12px;font-size:13px;display:flex}.result-actions{gap:10px;margin-top:24px;display:grid}.result-actions .primary-btn{margin-top:0}.result-actions .secondary-btn{width:100%}.admin-shell{min-height:100vh;padding:45px 24px}.admin-shell.wide{max-width:1420px;margin:auto}.login-card,.loading-card{text-align:center;max-width:440px;margin:10vh auto;padding:40px}.login-card label{text-align:left;margin-top:26px}.login-card .primary-btn{margin-top:12px}.back-link{color:var(--muted);margin-top:20px;font-size:13px;display:block}.back-link:hover{color:var(--vermilion)}.admin-header{border-bottom:3px double var(--ink);justify-content:space-between;align-items:end;margin-bottom:28px;padding-bottom:20px;display:flex}.admin-header>div>p:last-child{color:var(--muted);margin:9px 0 0}.header-actions{gap:9px;display:flex}.icon-btn{width:42px;height:42px;color:var(--ink);border:1px solid var(--ink);background:0 0}.stats-grid{grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:14px;display:grid}.stat-card{border:1px solid var(--ink);background:#faf7f0e6;gap:4px;padding:20px;display:grid;position:relative}.stat-card>svg{color:var(--vermilion);opacity:.7;position:absolute;top:18px;right:18px}.stat-card span{color:var(--muted);font-size:13px}.stat-card strong{font-family:Arial,Helvetica,sans-serif;font-size:30px}.stat-card small{color:var(--muted);margin-left:3px;font-size:13px}.admin-grid{grid-template-columns:360px 1fr;gap:14px;display:grid}.code-panel,.results-panel{padding:27px}.generate-row{grid-template-columns:90px 1fr;gap:9px;margin:20px 0;display:grid}.generate-row input{margin:0}.new-codes{border:1px solid var(--line);border-left:4px solid var(--vermilion);background:#fffdf8;margin-bottom:22px;padding:13px}.new-codes>div{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.new-codes button,.code-list button{color:var(--vermilion);background:0 0;border:0;align-items:center;gap:5px;font-size:12px;display:flex}.new-codes code{color:var(--ink-soft);word-break:break-word;font-size:13px;line-height:2}.code-list{border-top:1px solid var(--line);padding-top:18px}.code-list h3{font-size:14px}.code-list>div{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;padding:11px 0;display:flex}.code-list span{font-size:13px;display:grid}.code-list small{color:var(--muted);margin-top:3px}.table-head{justify-content:space-between;align-items:end;gap:20px;margin-bottom:18px;display:flex}.table-head input{max-width:260px}.table-row{text-align:left;grid-template-columns:minmax(190px,1.3fr) 80px 120px 145px 30px;align-items:center;gap:12px;width:100%;display:grid}.table-labels{color:var(--muted);text-transform:uppercase;letter-spacing:.07em;padding:0 13px 10px;font-size:11px}.result-entry{border-top:1px solid var(--line)}.result-row{color:var(--ink);background:0 0;border:0;padding:14px 13px}.result-row:hover{background:#20354d0f}.result-row>span:first-child{display:grid}.result-row small{color:var(--muted);margin-top:3px;font-size:12px}.score-pill{background:var(--vermilion);color:#fff;place-items:center;width:max-content;padding:5px 8px;font-weight:850;display:inline-grid}.answer-detail{border-left:3px solid var(--indigo);background:#fffdf8;margin:0 8px 16px;padding:8px 17px}.answer-detail>div{border-top:1px solid var(--line);padding:15px 0}.answer-detail>div:first-child{border:0}.answer-detail>div>div{align-items:center;gap:8px;display:flex}.answer-detail>div>div span{padding:3px 7px;font-size:11px}.answer-ok>div span{color:#fff;background:var(--success)}.answer-bad>div span{color:#fff;background:var(--danger)}.answer-detail h4{margin:8px 0;font-size:14px}.answer-detail p{color:var(--ink-soft);margin:5px 0;font-size:13px;line-height:1.45}.answer-detail b{color:var(--ink)}.empty-state{text-align:center;color:var(--muted);padding:45px}.admin-footer{text-align:center;color:var(--muted);padding:24px;font-size:12px}.admin-tabs{border:1px solid var(--ink);background:#faf7f0e0;gap:4px;width:max-content;max-width:100%;margin-bottom:22px;padding:4px;display:flex;overflow-x:auto}.admin-tabs button{color:var(--muted);white-space:nowrap;background:0 0;border:0;align-items:center;gap:8px;padding:10px 15px;font-weight:750;display:inline-flex}.admin-tabs button.active{background:var(--ink);color:var(--paper)}.global-message{justify-content:space-between;align-items:center;gap:20px;max-width:100%;display:flex}.global-message button{color:inherit;background:0 0;border:0;font-size:22px}.notice-box{border-left:4px solid var(--success);color:#214b35;background:#e2eee6;margin:13px 0;padding:11px 13px;font-size:14px}.violation-alert{border-left:5px solid var(--danger);color:#7f1f1f;background:#f3dfdc;margin:13px 0;padding:14px 16px;font-weight:800}.violation-alert>span{align-items:center;gap:10px;display:flex}.workspace-section{gap:18px;display:grid}.section-heading{justify-content:space-between;align-items:end;gap:24px;display:flex}.section-heading h2{letter-spacing:-.02em;margin:0;font-size:30px}.section-heading p:not(.eyebrow){color:var(--muted);margin:7px 0 0}.section-heading>select{width:min(380px,100%)}.search-input{width:min(360px,100%)}.test-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.test-card{border:1px solid var(--line-dark);background:#faf7f0e6;flex-direction:column;min-height:250px;padding:23px;display:flex;box-shadow:7px 7px #20354d14}.test-card.selected{border-top:5px solid var(--vermilion);padding-top:19px}.test-card-top{color:var(--muted);justify-content:space-between;gap:12px;font-size:12px;display:flex}.test-card-top strong{color:var(--vermilion)}.test-card h3{margin:19px 0 8px;font-size:22px;line-height:1.2}.test-card>p{color:var(--muted);flex:1;margin:0;line-height:1.5}.test-card-stats{border-top:1px solid var(--line);grid-template-columns:repeat(3,1fr);gap:8px;margin:22px 0 16px;padding-top:14px;display:grid}.test-card-stats span{color:var(--muted);gap:3px;font-size:12px;display:grid}.test-card-stats b{color:var(--ink);font-size:18px}.test-card-actions{flex-wrap:wrap;gap:7px;display:flex}.test-card-actions button{flex:auto;justify-content:center}.library-card>small{color:var(--muted);margin:14px 0}.selected-test-button{border:1px solid var(--vermilion);color:var(--vermilion-dark);background:#f7e8e3;justify-content:center;align-items:center;gap:7px;padding:11px 15px;font-weight:800;display:inline-flex}.builder-panel{padding:28px}.builder-header{justify-content:space-between;align-items:start;gap:20px;margin-bottom:18px;display:flex}.builder-header h3,.panel-section-title h3{margin:0 0 5px;font-size:22px}.builder-header p,.panel-section-title p{color:var(--muted);margin:0;line-height:1.5}.builder-header>span{background:var(--ink);color:var(--paper);white-space:nowrap;padding:7px 10px;font-size:12px}.builder-meta{grid-template-columns:1fr 1fr;gap:16px;display:grid}.question-builder-list{gap:13px;margin-top:20px;display:grid}.question-builder{border:1px solid var(--line);background:#fffdf8;padding:20px}.question-builder-head{justify-content:space-between;align-items:center;margin-bottom:11px;display:flex}.question-builder-head button,.inline-action{background:0 0;border:0;align-items:center;gap:6px;padding:5px;font-weight:700;display:inline-flex}.text-danger{color:var(--danger)}.option-builder-list{gap:8px;margin-top:10px;display:grid}.option-builder{grid-template-columns:22px 1fr 30px;align-items:center;gap:8px;display:grid}.option-builder input[type=radio],.option-builder input[type=checkbox]{width:18px;height:18px;accent-color:var(--vermilion);box-shadow:none}.builder-field-note{color:var(--text-soft);margin-top:8px;display:block}.option-builder>button{color:var(--danger);background:0 0;border:0;font-size:20px}.inline-action{color:var(--vermilion);margin-top:9px}.builder-actions{justify-content:space-between;align-items:center;gap:12px;margin-top:20px;display:flex}.builder-mode{border:1px solid var(--line-dark);gap:6px;width:max-content;max-width:100%;margin-bottom:18px;padding:4px;display:flex}.builder-mode button{background:0 0;border:0;align-items:center;gap:7px;padding:9px 14px;font-weight:800;display:inline-flex}.builder-mode button.active{background:var(--ink);color:var(--paper)}.ai-source{border:1px solid var(--line-dark);background:#f0eadf;margin-bottom:20px;padding:18px}.ai-code-rule{border:2px solid var(--line);background:var(--panel);border-radius:13px;grid-template-columns:minmax(0,1fr) 150px auto;align-items:end;gap:12px;margin-bottom:16px;padding:14px;display:grid}.ai-code-rule>div:first-child{align-self:center;gap:4px;display:grid}.ai-code-rule span{color:var(--muted);font-size:12px;line-height:1.45}.ai-code-rule code{background:var(--surface-soft);color:var(--blue-dark);border-radius:5px;padding:2px 5px;font-size:11px}.ai-code-rule label{margin:0}.ai-code-rule-actions{gap:7px;display:flex}.ai-code-rule-actions button{white-space:nowrap;min-height:42px}.ai-source-grid{grid-template-columns:minmax(0,1.5fr) minmax(230px,.5fr);gap:16px;display:grid}.ai-source textarea{min-height:240px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.ai-source-grid>div{align-content:start;gap:14px;display:grid}.ai-source-grid small{color:var(--muted);line-height:1.45}.compact-stats{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;display:grid}.compact-stats>div{border:1px solid var(--ink);background:#faf7f0e6;gap:5px;min-height:125px;padding:17px;display:grid}.compact-stats span{color:var(--muted);font-size:13px}.compact-stats strong{font-size:26px;line-height:1.15}.compact-stats small{color:var(--muted);line-height:1.35}.analytics-grid{grid-template-columns:minmax(0,1.6fr) minmax(300px,.7fr);gap:14px;display:grid}.analytics-panel{padding:24px}.panel-section-title{justify-content:space-between;align-items:start;gap:18px;margin-bottom:18px;display:flex}.panel-section-title>svg{color:var(--vermilion)}.metric-list{gap:7px;display:grid}.question-metric{border-top:1px solid var(--line);padding:10px 0 15px}.question-metric .metric-row{border-top:0}.metric-row{border-top:1px solid var(--line);grid-template-columns:minmax(220px,1.4fr) minmax(100px,.6fr) 48px;align-items:center;gap:14px;padding:10px 0;display:grid}.metric-row>div:first-child{gap:3px;min-width:0;display:grid}.metric-row>div:first-child strong{color:var(--vermilion);font-size:12px}.metric-row>div:first-child span{white-space:nowrap;text-overflow:ellipsis;font-size:14px;overflow:hidden}.metric-bar{background:var(--paper-deep);height:8px;overflow:hidden}.metric-bar i{background:var(--indigo);height:100%;display:block}.metric-row>b{text-align:right}.option-stat-list{gap:5px;margin:4px 0 0 34px;display:grid}.option-stat-list>div{color:var(--ink-soft);background:#e9e1d38c;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;padding:8px 10px;font-size:13px;display:grid}.option-stat-list span{align-items:center;gap:7px;display:flex}.option-stat-list b{color:var(--muted);white-space:nowrap}.option-stat-list .correct-option{border-left:3px solid var(--success);background:#e2eee6}.option-stat-list .correct-option b{color:var(--success)}.group-list{display:grid}.group-list>div{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:18px;padding:13px 0;display:flex}.group-list span{gap:3px;display:grid}.group-list small{color:var(--muted)}.group-list b{color:var(--vermilion);font-size:20px}.results-panel{padding:18px}.student-table{text-align:left;grid-template-columns:minmax(170px,1.1fr) minmax(150px,1fr) 165px 110px 135px 28px;align-items:center;gap:12px;width:100%;display:grid}.student-labels{color:var(--muted);text-transform:uppercase;padding:0 12px 11px;font-size:11px}.student-detail{background:#f0eadf;padding:15px}.student-detail-summary{grid-template-columns:repeat(4,1fr);gap:10px;margin-bottom:10px;display:grid}.student-detail-summary span{color:var(--muted);background:#fffdf8;gap:4px;padding:10px;font-size:12px;display:grid}.student-detail-summary b{color:var(--ink);font-size:14px}.student-detail-actions{justify-content:flex-end;margin:0 0 14px;display:flex}.group-builder{padding:24px}.group-builder h3{margin:0 0 5px;font-size:22px}.group-builder>div:first-child>p{color:var(--muted);margin:0}.group-builder-fields{grid-template-columns:minmax(220px,.55fr) minmax(320px,1.45fr);gap:16px;display:grid}.smart-import{gap:15px;display:grid}.raw-student-text{min-height:230px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.file-import input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.file-import>span{border:1px dashed var(--line-dark);min-height:48px;color:var(--vermilion);cursor:pointer;background:#fffdf8;justify-content:center;align-items:center;gap:8px;display:flex}.file-import>span:hover{background:#f7e8e3}.import-preview{border:1px solid var(--line);background:#fffdf8;padding:16px}.import-preview>div{border-bottom:1px solid var(--line);justify-content:space-between;gap:15px;padding-bottom:11px;display:flex}.import-preview>div span,.import-preview>p{color:var(--muted);font-size:13px}.import-preview ol{columns:2;column-gap:36px;margin:12px 0 0;padding-left:24px}.import-preview li{break-inside:avoid;color:var(--ink-soft);padding:5px 0;font-size:14px}.group-summary-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;display:grid}.group-summary-card{border:1px solid var(--line-dark);background:#faf7f0e6;padding:20px}.group-card-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:15px;padding-bottom:12px;display:flex}.group-card-head strong{font-size:20px}.group-card-head span,.group-summary-card small{color:var(--muted);font-size:12px}.group-card-head>span{flex-direction:column;gap:3px;display:flex}.group-card-head>span strong{color:var(--ink)}.group-summary-card ol{color:var(--ink-soft);margin:12px 0;padding-left:24px;font-size:13px}.group-summary-card li{padding:3px 0}.group-summary-card.history-open{grid-column:1/-1}.group-history-toggle{justify-content:center;width:100%;margin-top:12px}.group-history{border-top:1px solid var(--line);gap:17px;max-height:720px;margin-top:15px;padding-top:14px;display:grid;overflow-y:auto}.group-history h4{color:var(--vermilion-dark);text-transform:capitalize;margin:0 0 7px}.group-attempt{border:1px solid var(--line);background:#fffdf8}.group-attempt>button{text-align:left;background:0 0;border:0;grid-template-columns:minmax(0,1fr) auto 20px;align-items:center;gap:12px;width:100%;padding:11px 12px;display:grid}.group-attempt>button span{gap:3px;display:grid}.group-attempt>button small{color:var(--muted)}.group-attempt-detail{border-top:1px solid var(--line);background:#f0eadf;gap:8px;padding:12px;display:grid}.group-attempt-detail>div{flex-wrap:wrap;gap:8px 18px;font-size:12px;display:flex}.group-attempt-detail article{border-left:3px solid var(--danger);background:#fffdf8;padding:10px}.group-attempt-detail article.answer-ok{border-left-color:var(--success)}.group-attempt-detail p{margin:5px 0 0;font-size:12px}.empty-group-history{color:var(--muted);text-align:center}.assignment-list{border-top:1px solid var(--line);max-height:380px;display:grid;overflow-y:auto}.assignment-list>div{border-bottom:1px solid var(--line);grid-template-columns:minmax(220px,1fr) 110px;align-items:center;gap:16px;padding:10px 4px;display:grid}.assignment-list code{letter-spacing:.05em;font-weight:850}.count-badge{background:var(--ink);min-width:42px;height:42px;color:var(--paper);place-items:center;padding:0 10px;font-size:18px;font-weight:850;display:grid}.danger-btn{border:1px solid var(--danger);color:var(--danger);background:#f3dfdc;align-items:center;gap:7px;padding:9px 12px;font-weight:800;display:inline-flex}.admin-accounts-layout{grid-template-columns:370px minmax(0,1fr);align-items:start;gap:14px;display:grid}.admin-account-form{padding:24px;position:sticky;top:18px}.permission-editor{gap:6px;margin:18px 0;display:grid}.permission-editor>strong{margin-bottom:4px}.permission-editor label{border:1px solid var(--line);background:#fffdf8;grid-template-columns:none;align-items:center;gap:10px;margin:0;padding:9px 10px;display:flex}.permission-editor input{width:18px;height:18px;accent-color:var(--vermilion);box-shadow:none}.account-form-actions,.account-card-actions{justify-content:flex-end;gap:9px;display:flex}.admin-account-list{gap:13px;display:grid}.admin-account-card{padding:22px}.account-title{justify-content:space-between;align-items:start;gap:15px;display:flex}.account-title>div{gap:4px;display:grid}.account-title strong{font-size:21px}.account-title>div span{color:var(--muted);font-size:13px}.owner-badge,.teacher-badge{text-transform:uppercase;padding:5px 8px;font-size:11px;font-weight:800}.owner-badge{background:var(--ink);color:var(--paper)}.teacher-badge{color:var(--success);background:#dfece2}.password-hidden{color:var(--muted);align-items:center;gap:7px;margin:15px 0;font-size:13px;display:flex}.permission-tags{flex-wrap:wrap;gap:6px;margin-bottom:18px;display:flex}.permission-tags span{border:1px solid var(--line);color:var(--ink-soft);background:#fffdf8;padding:6px 8px;font-size:12px}@media (max-width:900px){.start-grid,.admin-grid{grid-template-columns:1fr}.start-grid{gap:35px;padding-top:60px}.stats-grid{grid-template-columns:repeat(2,1fr)}.admin-grid{flex-direction:column;display:flex}.code-panel{order:2}.table-row{grid-template-columns:1fr 70px 100px 30px}.table-row>span:nth-child(4){display:none}.test-grid,.compact-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.analytics-grid,.admin-accounts-layout,.ai-source-grid,.ai-code-rule{grid-template-columns:1fr}.admin-account-form{position:static}.group-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.student-table{min-width:860px}.results-panel{overflow-x:auto}}@media (max-width:620px){.site-shell,.quiz-shell{padding:18px}.brandbar>div:nth-child(2) span{display:none}.admin-link{font-size:12px}.start-grid{padding-top:45px}.intro{padding-left:17px}.intro h1{font-size:40px}.start-card{padding:24px}.quiz-top{grid-template-columns:1fr auto}.student-id{display:none!important}.quiz-card{padding:22px}.quiz-nav{grid-template-columns:1fr 1fr}.quiz-nav>span{grid-area:1/1/auto/-1;margin-bottom:12px}.option-btn{grid-template-columns:34px 1fr 18px}.admin-header{align-items:start}.admin-header h1{font-size:34px}.admin-header>div>p:last-child{display:none}.stats-grid{grid-template-columns:1fr 1fr}.results-panel{padding:17px;overflow-x:auto}.table-head{display:block}.table-head input{max-width:none;margin-top:12px}.table-row{min-width:560px}.login-card,.result-card{margin-top:7vh;padding:28px}.result-score strong{font-size:56px}.admin-shell{padding:24px 15px}.admin-header{gap:18px;display:grid}.header-actions{flex-wrap:wrap}.admin-tabs{width:100%}.section-heading{flex-direction:column;align-items:stretch}.section-heading .primary-btn.small{width:100%}.test-grid,.compact-stats,.builder-meta,.group-builder-fields{grid-template-columns:1fr}.builder-panel{padding:20px}.builder-header,.builder-actions{flex-direction:column;align-items:stretch}.builder-actions .primary-btn.small{width:100%}.metric-row{grid-template-columns:1fr 48px}.metric-bar{grid-area:2/1/auto/-1}.option-stat-list{margin-left:0}.student-detail-summary{grid-template-columns:1fr 1fr}.assignment-list>div{grid-template-columns:1fr 92px}.group-summary-grid{grid-template-columns:1fr}.import-preview ol{columns:1}}.app-notice{border:2px solid var(--line);background:var(--panel);min-height:58px;color:var(--ink);box-shadow:none;border-bottom-width:4px;border-radius:15px;align-items:flex-start;gap:12px;margin:14px 0;padding:13px 14px;display:flex;position:relative;overflow:hidden}.app-notice-icon{border-radius:11px;flex:0 0 34px;place-items:center;width:34px;height:34px;display:grid}.app-notice-icon svg{width:19px;height:19px}.app-notice-content{overflow-wrap:anywhere;flex:1;align-self:center;min-width:0;font-size:14px;font-weight:750;line-height:1.45}.app-notice.success{border-color:color-mix(in srgb, var(--success) 48%, var(--line))}.app-notice.success .app-notice-icon{background:color-mix(in srgb, var(--success) 15%, var(--panel));color:var(--vermilion-dark)}.app-notice.error{border-color:color-mix(in srgb, var(--danger) 48%, var(--line))}.app-notice.error .app-notice-icon{background:color-mix(in srgb, var(--danger) 14%, var(--panel));color:var(--danger)}.app-notice.warning{border-color:color-mix(in srgb, var(--yellow) 58%, var(--line))}.app-notice.warning .app-notice-icon{background:color-mix(in srgb, var(--yellow) 16%, var(--panel));color:#b07800}.app-notice.info{border-color:color-mix(in srgb, var(--blue) 48%, var(--line))}.app-notice.info .app-notice-icon{background:color-mix(in srgb, var(--blue) 13%, var(--panel));color:var(--blue-dark)}.app-notice-close{width:30px;height:30px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:9px;flex:0 0 30px;place-items:center;display:grid}.app-notice-close:hover{background:var(--surface-soft);color:var(--ink)}.app-notice-close svg{width:17px;height:17px}.notification-stack{z-index:90;pointer-events:none;gap:10px;width:min(430px,100vw - 36px);display:grid;position:fixed;top:18px;right:18px}.notification-stack .app-notice.floating{pointer-events:auto;margin:0;animation:.24s ease-out both toast-arrive;box-shadow:0 14px 42px #00000029}.app-notice.auto-closing:after{content:"";opacity:.28;transform-origin:0;height:3px;animation:notice-life var(--notice-duration,4.5s) linear forwards;background:currentColor;position:absolute;bottom:0;left:0;right:0}@keyframes toast-arrive{0%{opacity:0;transform:translateY(-10px)scale(.98)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes notice-life{0%{transform:scaleX(1)}to{transform:scaleX(0)}}.dialog-backdrop{z-index:110;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0d171b9e;place-items:center;padding:20px;animation:.16s ease-out both backdrop-arrive;display:grid;position:fixed;inset:0}.confirm-dialog{border:2px solid var(--line);background:var(--panel);width:min(480px,100%);color:var(--ink);border-bottom-width:5px;border-radius:22px;padding:28px;animation:.2s ease-out both dialog-arrive;box-shadow:0 24px 80px #0000004d}.confirm-dialog-icon{background:color-mix(in srgb, var(--vermilion) 15%, var(--panel));width:52px;height:52px;color:var(--vermilion-dark);border-radius:16px;place-items:center;margin-bottom:20px;display:grid}.confirm-dialog.danger .confirm-dialog-icon{background:color-mix(in srgb, var(--danger) 14%, var(--panel));color:var(--danger)}.confirm-dialog-icon svg{width:25px;height:25px}.confirm-dialog-copy h2{margin:4px 0 10px;font-size:27px;line-height:1.15}.confirm-dialog-copy>div{color:var(--muted);line-height:1.6}.confirm-dialog-copy strong{color:var(--ink)}.confirm-dialog-actions{grid-template-columns:1fr 1fr;gap:11px;margin-top:24px;display:grid}.confirm-dialog-actions>button{justify-content:center;width:100%;margin:0}.submit-summary{grid-template-columns:repeat(2,1fr);gap:10px;margin-top:18px;display:grid}.submit-summary span{border:2px solid var(--line);background:var(--surface-soft);border-radius:13px;padding:12px}.submit-summary b{color:var(--ink);font-size:23px;display:block}.submit-summary .missing b{color:var(--danger)}.quiz-quick-actions{justify-content:flex-end;margin:-2px 0 18px;display:flex}.quiz-quick-actions .secondary-btn{min-height:40px;padding:8px 12px;font-size:12px}@keyframes backdrop-arrive{0%{opacity:0}to{opacity:1}}@keyframes dialog-arrive{0%{opacity:0;transform:translateY(12px)scale(.97)}to{opacity:1;transform:translateY(0)scale(1)}}@media (max-width:620px){.notification-stack{width:calc(100vw - 20px);top:10px;right:10px}.confirm-dialog{border-radius:18px;padding:22px 18px}.confirm-dialog-actions{grid-template-columns:1fr}.confirm-dialog-actions .secondary-btn{order:2}.quiz-quick-actions{justify-content:stretch}.quiz-quick-actions .secondary-btn{width:100%}}@media (prefers-reduced-motion:reduce){.app-notice.floating,.dialog-backdrop,.confirm-dialog{animation:none}}.save-indicator{border:2px solid var(--line);color:var(--muted);background:var(--panel);border-radius:12px;align-items:center;gap:6px;padding:7px 10px;font-size:12px;font-weight:800;display:inline-flex}.save-indicator[data-state=offline]{color:var(--danger);border-color:color-mix(in srgb, var(--danger) 45%, var(--line))}.paused-card .success-mark{color:#9b6800;background:color-mix(in srgb, var(--yellow) 18%, var(--panel))}.live-selectors{flex-wrap:wrap;gap:10px;display:flex}.live-selectors select{min-width:190px}.live-summary{grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px;display:grid}.live-summary span{border:2px solid var(--line);background:var(--panel);color:var(--muted);border-bottom-width:4px;border-radius:16px;align-items:baseline;gap:8px;padding:18px;display:flex}.live-summary b{color:var(--ink);font-size:27px}.live-attempt-grid{grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:14px;display:grid}.live-attempt-card{gap:14px;padding:22px;display:grid}.live-attempt-card.expanded{grid-column:1/-1}.live-attempt-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.live-attempt-head span{gap:4px;display:grid}.live-attempt-head small{color:var(--muted)}.live-attempt-head>b{text-transform:uppercase;border-radius:9px;padding:5px 9px;font-size:11px}.live-attempt-head>b.active{color:var(--success);background:color-mix(in srgb, var(--success) 15%, var(--panel))}.live-attempt-head>b.paused{color:#9b6800;background:color-mix(in srgb, var(--yellow) 18%, var(--panel))}.live-progress{background:var(--surface-soft);border-radius:99px;height:10px;overflow:hidden}.live-progress span{border-radius:inherit;background:var(--success);height:100%;display:block}.live-metrics{grid-template-columns:repeat(2,1fr);gap:8px;display:grid}.live-metrics span{background:var(--surface-soft);color:var(--muted);border-radius:11px;padding:10px;font-size:12px;display:grid}.live-metrics b{color:var(--ink);font-size:16px}.live-metrics .metric-warning{background:color-mix(in srgb, var(--danger) 12%, var(--surface-soft));color:var(--danger)}.live-metrics .metric-warning b{color:var(--danger)}.live-actions{flex-wrap:wrap;gap:8px;display:flex}.live-actions button{min-height:38px;padding:8px 11px;font-size:11px}.not-started-list,.recent-finished{margin-top:16px;padding:22px}.not-started-list>div{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:8px;display:grid}.not-started-list span,.finished-row{background:var(--surface-soft);border-radius:11px;justify-content:space-between;align-items:center;gap:10px;padding:10px 12px;display:flex}.not-started-list code{color:var(--vermilion-dark);font-weight:900}.finished-row+.finished-row{margin-top:8px}.finished-row>span{display:grid}.finished-row small{color:var(--muted)}.monitor-answer-list{border-top:1px solid var(--line);gap:10px;padding-top:14px;display:grid}.monitor-answer{border:1px solid var(--line);border-left:4px solid var(--muted);background:var(--surface-soft);border-radius:13px;gap:10px;padding:15px;display:grid}.monitor-answer.correct{border-left-color:var(--success)}.monitor-answer.incorrect{border-left-color:var(--danger)}.monitor-answer.review{border-left-color:var(--yellow)}.monitor-answer header,.monitor-answer-values,.monitor-code-comparison{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.monitor-answer header{color:var(--muted);font-size:12px}.monitor-answer.correct header b{color:var(--success)}.monitor-answer.incorrect header b{color:var(--danger)}.monitor-answer.review header b{color:#9b6800}.monitor-answer h4{margin:0;line-height:1.45}.monitor-answer-values>span,.monitor-code-comparison>div{flex:1;gap:5px;min-width:0;display:grid}.monitor-answer-values small{color:var(--muted)}.monitor-answer-values b{overflow-wrap:anywhere}.monitor-code-comparison{flex-wrap:wrap}.monitor-code-comparison>div{min-width:min(100%,320px)}.monitor-code-comparison .code-window{width:100%;max-height:280px;margin-top:2px}.monitor-code-comparison>small{color:var(--muted);flex-basis:100%}.bank-layout{grid-template-columns:minmax(0,1.1fr) minmax(330px,.9fr);align-items:start;gap:18px;display:grid}.bank-list{gap:12px;display:grid}.bank-editor,.bank-card{padding:22px}.bank-card{gap:10px;display:grid}.bank-card>div:first-child{color:var(--muted);align-items:center;gap:8px;display:flex}.difficulty{border-radius:8px;padding:4px 8px;font-size:11px;font-weight:900}.difficulty.easy{color:var(--success);background:color-mix(in srgb, var(--success) 15%, var(--panel))}.difficulty.medium{color:#9b6800;background:color-mix(in srgb, var(--yellow) 18%, var(--panel))}.difficulty.hard{color:var(--danger);background:color-mix(in srgb, var(--danger) 13%, var(--panel))}.bank-tags{flex-wrap:wrap;gap:6px;display:flex}.bank-tags span{background:var(--surface-soft);color:var(--muted);border-radius:8px;padding:4px 8px;font-size:11px}.bank-rules{margin-bottom:14px;padding:22px}.builder-preview-toolbar{color:var(--muted);justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px;display:flex}.test-status-panel{margin-bottom:18px;padding:22px}.test-status-row{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;padding:11px 0;display:flex}.test-status-row>span{gap:3px;display:grid}.test-status-row small{color:var(--muted)}.test-status-row>div{flex-wrap:wrap;gap:7px;display:flex}.test-status-row button{min-height:36px;padding:7px 10px;font-size:10px}.preview-backdrop{z-index:120}.preview-dialog{border:2px solid var(--line);background:var(--panel);width:min(860px,100%);max-height:calc(100vh - 32px);color:var(--ink);border-bottom-width:5px;border-radius:22px;padding:26px;overflow:auto;box-shadow:0 24px 80px #0000004d}.preview-head{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px;display:flex}.preview-head h2{margin:4px 0 0}.preview-question{margin-top:18px}.preview-question h3{margin:24px 0 16px;font-size:25px}@media (max-width:820px){.bank-layout,.live-summary{grid-template-columns:1fr}.test-status-row{flex-direction:column;align-items:flex-start}.quiz-top .save-indicator{order:4}}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--paper:#070b14;--paper-deep:#0b1220;--ink:#f5f7fb;--ink-soft:#c7d0df;--muted:#8b98ad;--line:#253149;--line-dark:#374763;--vermilion:#8b70ff;--vermilion-dark:#6f52e8;--indigo:#111b30;--success:#41d69b;--danger:#ff7185;--text:#f5f7fb;--panel:#0f1727;--surface:#0f1727;--surface-raised:#131e31;--surface-soft:#0b1322;--glow:#8b70ff3d}body{background-color:#0000;background-image:radial-gradient(circle at 12% 4%,#5b47cc38,#0000 28rem),radial-gradient(circle at 92% 22%,#269abd21,#0000 25rem),linear-gradient(#080d18 0%,#070b14 56%,#090e19 100%);background-position:0 0,0 0,0 0;background-repeat:repeat,repeat,repeat;background-size:auto,auto,auto;background-attachment:fixed;background-origin:padding-box,padding-box,padding-box;background-clip:border-box,border-box,border-box;overflow-x:hidden}body:before{opacity:.2;mix-blend-mode:normal;background-image:linear-gradient(#ffffff06 1px,#0000 1px),linear-gradient(90deg,#ffffff06 1px,#0000 1px);background-size:44px 44px;-webkit-mask-image:linear-gradient(#000,#0000 75%);mask-image:linear-gradient(#000,#0000 75%)}button,input,textarea,select{min-height:44px}:is(button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible){outline:3px solid var(--glow);outline-offset:2px}.brandbar{border-color:#ffffff1a;padding:4px 0 19px}.brandmark{color:#fff;background:linear-gradient(145deg,#9a82ff,#6549dc);border:0;border-radius:14px;width:46px;height:46px;font-size:14px;box-shadow:0 12px 35px #6f52e84d,inset 0 1px #ffffff4d}.brandbar strong{font-size:17px}.admin-link{border:1px solid var(--line);background:#ffffff06;border-radius:11px;padding:10px 14px}.admin-link:hover{border-color:var(--vermilion);background:var(--glow)}.intro{border-left:0;padding-left:0}.intro h1,.result-card h1,.login-card h1,.admin-header h1{color:var(--ink)}.intro h1{background:linear-gradient(115deg,#fff 25%,#cfc6ff 68%,#8bd9ee);color:#0000;-webkit-background-clip:text;background-clip:text;max-width:760px}.eyebrow{color:#a996ff}.facts span{border-color:var(--line);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);background:#111b30b8;border-radius:999px}.panel{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:linear-gradient(145deg,#131e31f2,#0c1422f7);border:1px solid #8196b938;border-radius:18px;overflow:hidden;box-shadow:0 24px 70px #00000057,inset 0 1px #ffffff09}input,textarea,select,.option-btn,.result-meta span,.new-codes,.answer-detail,.question-builder,.student-detail-summary span,.file-import>span,.import-preview,.group-attempt,.group-attempt-detail article,.permission-editor label,.permission-tags span{border-color:var(--line);background:var(--surface-soft);color:var(--ink);border-radius:11px}input::placeholder,textarea::placeholder{color:#68768d}select{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}.primary-btn,.secondary-btn,.icon-btn,.selected-test-button,.danger-btn{border-radius:11px;min-height:44px;transition:transform .18s,border-color .18s,background .18s,box-shadow .18s}.primary-btn{color:#fff;background:linear-gradient(135deg,#9279ff,#684bdd);border:1px solid #ffffff1f;box-shadow:0 10px 28px #684bdd47}.primary-btn:hover:not(:disabled){background:linear-gradient(135deg,#a18cff,#7559e7);transform:translateY(-1px);box-shadow:0 14px 36px #684bdd61}.secondary-btn,.icon-btn{border-color:var(--line-dark);color:var(--ink-soft);background:#ffffff06}.secondary-btn:hover:not(:disabled),.icon-btn:hover:not(:disabled){color:#fff;background:#8b70ff21;border-color:#8267ef}.danger-btn{color:#ff91a1;background:#ff718514;border-color:#ff718561}.danger-btn:hover:not(:disabled){color:#fff;background:#dc5268}.test-delete-button{justify-content:center}.error-box,.violation-warning,.violation-alert{border-color:var(--danger);color:#ffabb7;background:#ff71851a;border-radius:10px}.notice-box{border-color:var(--success);color:#8be9c4;background:#41d69b1a;border-radius:10px}.quiz-top,.admin-header{border-color:#ffffff1f}.quiz-top .timer{color:#d8d0ff;background:#8b70ff21;border-color:#8b70ff4d;border-radius:10px}.quiz-top .timer.timer-warning{color:#ffabb7;background:#ff718529}.progress-track{background:#1c2940;border-radius:999px;height:7px}.progress-track span{border-radius:inherit;background:linear-gradient(90deg,#8b70ff,#57c6e1)}.option-btn>span{border-color:var(--line-dark);border-radius:9px}.option-btn.selected>span{background:#8065ed;border-color:#8b70ff}.success-mark{box-shadow:0 14px 40px var(--glow);background:linear-gradient(145deg,#9a82ff,#6549dc);border:0}.admin-header{border-bottom-width:1px;align-items:center}.admin-tabs{z-index:20;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);scrollbar-width:none;background:#0a101ce0;border-color:#8196b933;border-radius:14px;gap:5px;position:sticky;top:10px;box-shadow:0 12px 36px #00000038}.admin-tabs::-webkit-scrollbar{display:none}.admin-tabs button{border-radius:9px}.admin-tabs button.active{color:#fff;background:linear-gradient(135deg,#8b70ff47,#57c6e121)}.stat-card,.test-card,.group-summary-card{background:linear-gradient(145deg,#121d30f0,#0b1320f5);border-color:#8196b933;border-radius:16px;box-shadow:0 16px 42px #0000002e}.test-card{transition:transform .2s,border-color .2s,box-shadow .2s}.test-card:hover{border-color:#8b70ff7a;transform:translateY(-2px);box-shadow:0 20px 48px #00000047}.test-card.selected{border-top-color:#8b70ff}.test-card-stats,.group-card-head,.assignment-list,.result-entry{border-color:var(--line)}.selected-test-button{color:#c7bbff;background:#8b70ff21;border-color:#8b70ff80}.builder-header>span,.count-badge,.owner-badge{color:#d8dfff;background:#1a2540;border-radius:9px}.builder-mode{border-color:var(--line);background:var(--surface-soft);border-radius:12px;padding:4px}.builder-mode button{border-radius:8px}.builder-mode button.active{color:#fff;background:#8b70ff2e}.ai-source,.student-detail,.group-attempt-detail{background:var(--surface-soft);border-radius:13px}.option-stat-list .correct-option{background:#41d69b17}.teacher-badge{color:#72dfb4;background:#41d69b1a;border-radius:7px}.score-pill{background:#8065ed;border-radius:8px}.answer-detail{border-left-color:#8b70ff}.empty-state{color:var(--muted)}@media (max-width:900px){.start-grid{min-height:auto;padding:72px 0 40px}.admin-tabs{top:6px}.test-card{min-height:230px}}@media (max-width:620px){.site-shell,.quiz-shell{padding:14px}.site-shell{padding-bottom:36px}.brandbar{gap:10px}.brandmark{border-radius:12px;width:40px;height:40px}.brandbar strong{font-size:15px}.admin-link{padding:9px 10px;font-size:11px}.start-grid{gap:28px;padding:44px 0 20px}.intro{padding:0}.intro h1{font-size:clamp(34px,11vw,44px)}.intro>p:not(.eyebrow){margin:18px 0;font-size:16px;line-height:1.55}.facts{grid-template-columns:1fr;display:grid}.facts span{justify-content:flex-start}.start-card,.quiz-card,.builder-panel,.admin-account-card{padding:19px}.panel{border-radius:15px;box-shadow:0 18px 50px #00000045}.quiz-top{grid-template-columns:1fr auto;gap:10px}.student-id{text-align:left;grid-area:2/1/auto/-1;justify-self:start;display:grid!important}.question-title{margin-bottom:22px;font-size:23px}.option-btn{min-height:58px;padding:10px}.option-btn:hover{transform:none}.quiz-nav{gap:8px}.quiz-nav .secondary-btn,.quiz-nav .primary-btn.small{width:100%}.admin-shell{padding:18px 12px 30px}.admin-header{gap:16px;padding-bottom:17px}.admin-header h1{font-size:30px}.header-actions{grid-template-columns:1fr 44px 1fr;gap:7px;width:100%;display:grid}.header-actions .secondary-btn{padding:10px 8px}.admin-tabs{border-left:0;border-right:0;border-radius:0;width:calc(100% + 24px);max-width:none;margin-left:-12px;padding:7px 12px}.admin-tabs button{padding:10px 12px}.section-heading h2{font-size:25px}.test-card{min-height:0;padding:18px}.test-card-actions{grid-template-columns:1fr 1fr;display:grid}.test-card-actions button{width:100%;min-width:0;padding:10px 8px}.test-card-actions .test-delete-button{grid-column:1/-1}.group-summary-card,.analytics-panel{padding:18px}.result-card{margin-top:5vh;padding:24px 20px}.result-card h1{font-size:32px}.result-score{flex-direction:column;align-items:center;gap:0}.result-score strong{font-size:52px}}@media (max-width:420px){.stats-grid,.student-detail-summary{grid-template-columns:1fr}.header-actions{grid-template-columns:1fr 44px}.header-actions>:last-child{grid-column:1/-1}.test-card-actions{grid-template-columns:1fr}.test-card-actions .test-delete-button{grid-column:auto}.assignment-list>div{grid-template-columns:minmax(0,1fr) 84px;gap:8px}}.drawer-theme-toggle{width:100%;display:flex;border:1px solid var(--line)!important;background:var(--surface-soft)!important;min-height:58px!important;color:var(--ink)!important;border-radius:14px!important;justify-content:flex-start!important;gap:12px!important;padding:9px 11px!important}.drawer-theme-toggle>span:last-child{text-align:left;gap:2px;display:grid}.drawer-theme-toggle>span:last-child strong{font-size:14px}.drawer-theme-toggle>span:last-child small{color:var(--muted);font-size:10px;font-weight:700}.drawer-theme-track{background:var(--panel);width:66px;min-width:66px;height:34px;color:var(--muted);box-shadow:inset 0 0 0 1px var(--line);border-radius:999px;justify-content:space-around;align-items:center;display:flex;position:relative}.drawer-theme-track i{background:var(--vermilion);border-radius:50%;width:28px;height:28px;transition:transform .2s;position:absolute;top:3px;left:3px;box-shadow:0 3px 10px #0000002e}.drawer-theme-track svg{z-index:1;position:relative}.drawer-theme-toggle.light .drawer-theme-track svg:first-child,.drawer-theme-toggle.dark .drawer-theme-track svg:last-of-type{color:#fff}.drawer-theme-toggle.dark .drawer-theme-track i{transform:translate(32px)}.code-suggestions{z-index:6;background:#1d2d34;border:1px solid #3b4d55;border-radius:12px;width:min(360px,100% - 40px);max-height:260px;padding:6px;display:grid;position:absolute;top:52px;left:20px;overflow-y:auto;box-shadow:0 16px 40px #00000059}.code-suggestions button{color:#edf6f8;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;grid-template-columns:minmax(0,1fr) auto;gap:14px;padding:9px 10px;display:grid}.code-suggestions button span{color:#9fb2b9;font-size:11px}.code-suggestions button.active{color:#9bea63;background:#58cc0233}.smart-code-layer textarea[readonly]{cursor:default;caret-color:#0000}.live-signal,.connection-pill{background:color-mix(in srgb, var(--success) 14%, var(--panel));width:fit-content;color:var(--success);text-transform:uppercase;letter-spacing:.05em;border-radius:999px;align-items:center;gap:7px;padding:7px 10px;font-size:11px;font-weight:900;display:inline-flex}.live-signal:before,.live-dot{width:8px;height:8px;box-shadow:0 0 0 5px color-mix(in srgb, currentColor 16%, transparent);content:"";background:currentColor;border-radius:50%;animation:1.8s ease-in-out infinite livePulse}@keyframes livePulse{50%{opacity:.45;box-shadow:0 0 0 9px #0000}}.connection-pill.connecting,.connection-pill.offline{background:color-mix(in srgb, #ffb020 13%, var(--panel));color:#bd7500}.live-coding-start-grid{grid-template-columns:minmax(0,1.1fr) minmax(310px,.9fr);gap:18px;display:grid}.live-lesson-setup{gap:14px;display:grid}.live-setup-row{grid-template-columns:1fr 1fr;gap:12px;display:grid}.code-source-input{resize:vertical;min-height:190px;font:13px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;color:#ecf7f8!important;background:#17262b!important}.live-lesson-history{align-self:start;padding:18px}.live-lesson-history>button{border:0;border-bottom:1px solid var(--line);width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;justify-content:space-between;align-items:center;gap:12px;padding:13px 4px;display:flex}.live-lesson-history>button span{gap:4px;min-width:0;display:grid}.live-lesson-history>button small{color:var(--muted);font-size:11px}.live-lesson-history>button b{background:var(--surface-soft);color:var(--muted);border-radius:7px;flex:none;padding:5px 7px;font-size:10px}.live-lesson-history>button b.active{background:color-mix(in srgb, var(--success) 15%, var(--panel));color:var(--success)}.live-coding-loading{gap:16px;display:grid}.live-coding-loading>button{width:fit-content}.live-room-top{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;margin-bottom:16px;display:grid}.live-room-top>div{gap:4px;display:grid}.live-room-top h2,.live-room-top p{margin:0}.live-room-top .connection-pill{margin-bottom:3px}.live-room-layout{grid-template-columns:minmax(0,1fr) 320px;align-items:start;gap:16px;display:grid}.live-code-stage{gap:14px;min-width:0;display:grid}.live-editor-panel{min-width:0;padding:0;overflow:hidden}.live-editor-toolbar{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;min-height:58px;padding:10px 14px;display:flex}.live-editor-toolbar>span{gap:2px;display:grid}.live-editor-toolbar small{color:var(--muted)}.live-editor-toolbar>div{gap:8px;display:flex}.live-editor-panel .smart-code-editor{height:clamp(360px,58vh,680px);min-height:300px;max-height:calc(100vh - 150px)}.live-stdin-field{border-bottom:1px solid var(--line);background:var(--surface-soft);grid-template-columns:minmax(180px,.42fr) minmax(0,1fr);align-items:center;gap:12px;padding:12px 14px;transition:background-color .18s,box-shadow .18s;display:grid}.live-stdin-field>span{gap:2px;display:grid}.live-stdin-field small{color:var(--muted);font-size:12px;line-height:1.35}.live-stdin-field textarea{resize:vertical;white-space:pre;min-height:68px;max-height:150px;padding:10px 12px;font:13px/1.45 ui-monospace,SFMono-Regular,Consolas,monospace}.live-stdin-field textarea:disabled{cursor:not-allowed;opacity:.58}.live-stdin-field.needs-input{background:color-mix(in srgb, var(--warning) 10%, var(--surface-soft));box-shadow:inset 3px 0 var(--warning)}.live-stdin-field.needs-input small{color:var(--warning-strong);font-weight:750}.live-console{min-width:0;padding:0;overflow:hidden}.live-console>div{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:11px 14px;display:flex}.live-console>div span{gap:2px;display:grid}.live-console small{color:var(--muted)}.live-console pre{color:#dff0f2;white-space:pre-wrap;background:#101c21;min-height:72px;max-height:220px;margin:0;padding:14px;font:12px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace;overflow:auto}.live-console.has-error pre{color:#ffaca8}.checkpoint-bar{gap:10px;padding:14px;display:grid}.checkpoint-bar>div{gap:7px;display:flex;overflow-x:auto}.checkpoint-bar>div button{border:1px solid var(--line);background:var(--surface-soft);color:var(--ink);cursor:pointer;border-radius:9px;flex:none;align-items:center;gap:5px;padding:7px 9px;display:flex}.checkpoint-bar button small{color:var(--muted)}.live-participants{padding:14px;position:sticky;top:78px}.participant-list{gap:6px;max-height:460px;display:grid;overflow-y:auto}.participant-list>button{width:100%;color:var(--ink);text-align:left;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:11px;grid-template-columns:9px minmax(0,1fr) auto auto;align-items:center;gap:9px;padding:10px;display:grid}.participant-list>button:hover,.participant-list>button.selected{border-color:var(--line);background:var(--surface-soft)}.participant-list>button.has-control{border-color:color-mix(in srgb, var(--success) 55%, var(--line));background:color-mix(in srgb, var(--success) 10%, var(--panel))}.participant-list i{background:var(--line-dark);border-radius:50%;width:8px;height:8px}.participant-list i.online{background:var(--success);box-shadow:0 0 0 4px color-mix(in srgb, var(--success) 13%, transparent)}.participant-list span{gap:2px;min-width:0;display:grid}.participant-list strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.participant-list small{color:var(--muted);font-size:10px}.participant-list>button>b{text-align:right;min-width:25px}.participant-list .lucide-hand{color:#e29a00}.participant-actions{background:var(--surface-soft);border-radius:12px;gap:9px;margin-top:12px;padding:13px;display:grid}.participant-actions>span{color:var(--muted);font-size:10px;line-height:1.45}.score-buttons{grid-template-columns:repeat(4,1fr);gap:6px;display:grid}.score-buttons button{border:1px solid var(--line);background:var(--panel);min-height:36px;color:var(--ink);cursor:pointer;border-radius:9px;font-weight:900}.student-live-invites{margin:25px 0}.student-live-invites .section-heading{margin-bottom:12px}.student-live-invite{border-color:color-mix(in srgb, var(--success) 52%, var(--line));grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;padding:15px 17px;display:grid}.student-live-invite .live-dot{color:var(--success)}.student-live-invite>div{gap:3px;display:grid}.student-live-invite small{color:var(--muted)}.student-live-history{margin-top:30px;padding:0 4px 6px}.student-live-history .section-heading{margin-bottom:14px;padding:0 4px}.live-history-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px;display:grid}.live-history-grid article{gap:11px;min-height:230px;padding:22px;display:grid}.live-history-grid article>span{color:var(--muted);font-size:10px;font-weight:900}.live-history-grid article h3{overflow-wrap:anywhere;margin:2px 0 4px;font-size:clamp(19px,2.4vw,25px);line-height:1.25}.live-history-grid article>strong{color:var(--success);font-size:24px}.live-history-grid article p{color:var(--muted);margin:0;font-size:12px}.live-history-grid article .secondary-btn{width:100%;margin-top:auto}.live-student-shell{width:min(1500px,100% - 28px);min-height:100vh;margin:0 auto;padding:18px 0 42px}.live-student-header{grid-template-columns:150px minmax(0,1fr) auto;align-items:center;gap:16px;margin-bottom:15px;display:grid}.live-student-header>div{gap:3px;display:grid}.live-student-header small{color:var(--muted)}.student-control-banner{border:1px solid var(--line);background:var(--panel);border-radius:14px;justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px;padding:13px 16px;display:flex}.student-control-banner>div{align-items:center;gap:11px;display:flex}.student-control-banner span{gap:3px;display:grid}.student-control-banner small{color:var(--muted)}.student-control-banner.active{border-color:var(--success);background:color-mix(in srgb, var(--success) 9%, var(--panel))}.hand-button{background:color-mix(in srgb, #ffc43d 13%, var(--panel));color:#a96900;cursor:pointer;border:2px solid #e5a100;border-bottom-width:4px;border-radius:12px;align-items:center;gap:7px;min-height:42px;padding:8px 13px;font-weight:900;display:inline-flex}.hand-button.raised{color:#332300;background:#ffc43d}.student-live-layout{grid-template-columns:minmax(0,1fr) 280px;align-items:start;gap:15px;display:grid}.student-live-layout>aside{gap:14px;display:grid}.student-live-score{text-align:center;justify-items:center;gap:6px;display:grid}.student-live-score>svg{color:#e5a100}.student-live-score>strong{color:var(--success);font-size:42px}.student-live-score>strong small{color:var(--muted);font-size:15px}.student-live-score p{color:var(--muted);margin:0;font-size:11px}.live-group-score{gap:10px;padding:14px;display:grid}.live-group-score>div:first-child{justify-content:space-between;align-items:center;gap:10px;display:flex}.live-group-score>div:first-child span{gap:2px;display:grid}.live-group-score>div:first-child small{color:var(--muted)}.live-group-score>div:first-child>strong{color:var(--success);font-size:20px}.live-group-score-list{gap:5px;max-height:210px;padding-right:3px;display:grid;overflow-y:auto}.live-group-score-list>div{background:var(--surface-soft);border-radius:9px;grid-template-columns:minmax(0,1fr) auto;gap:10px;padding:7px 9px;display:grid}.live-group-score-list span{text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:800;overflow:hidden}.live-group-score-list b{color:var(--success);font-size:12px}.live-group-summary{color:var(--success);align-items:center;gap:6px;font-weight:850;display:inline-flex}.score-action-status{min-height:17px;color:var(--muted);font-size:10px}@media (max-width:980px){.live-coding-start-grid,.live-room-layout,.student-live-layout{grid-template-columns:1fr}.live-participants{position:static}.student-live-layout>aside{grid-template-columns:minmax(180px,.4fr) minmax(0,1fr)}}@media (max-width:700px){.live-coding-start-grid{gap:12px}.live-setup-row{grid-template-columns:1fr}.live-room-top{grid-template-columns:1fr auto}.live-room-top>button:first-child{grid-column:1/-1;width:fit-content}.live-room-top>div{min-width:0}.live-room-top h2{overflow-wrap:anywhere;font-size:21px}.live-editor-toolbar{flex-direction:column;align-items:flex-start}.live-editor-toolbar>div{width:100%}.live-editor-toolbar>div button{flex:1}.live-stdin-field{grid-template-columns:1fr}.live-editor-panel .smart-code-editor{height:min(58vh,520px);min-height:280px;max-height:58vh}.live-student-shell{width:min(100% - 20px,1500px);padding-top:10px}.live-student-header{grid-template-columns:minmax(0,1fr) auto}.live-student-header>.brand-logo{display:none}.student-control-banner{flex-direction:column;align-items:stretch}.student-control-banner .hand-button{justify-content:center}.student-live-layout>aside{grid-template-columns:1fr}.student-live-invite{grid-template-columns:auto minmax(0,1fr)}.student-live-invite button{grid-column:1/-1;width:100%}.student-live-history{margin-top:24px;padding-inline:0}.student-live-history .section-heading{padding-inline:2px}.live-history-grid{grid-template-columns:1fr;gap:14px}.live-history-grid article{min-height:0;padding:18px}.live-history-grid article h3{margin:2px 0 4px}}.analytics-filters{grid-template-columns:repeat(5,minmax(140px,1fr)) auto;align-items:end;gap:12px;padding:18px;display:grid}.analytics-filters label{margin:0}.analytics-side{align-content:start;gap:18px;display:grid}.quality-label{border-radius:8px;margin-left:6px;padding:3px 7px;font-size:11px;display:inline-flex}.quality-label.normal{color:var(--blue-dark);background:color-mix(in srgb, var(--blue) 12%, var(--panel))}.quality-label.attention{color:var(--vermilion-dark);background:color-mix(in srgb, var(--vermilion) 14%, var(--panel))}.comparison-chart{gap:13px;display:grid}.chart-row{grid-template-columns:minmax(90px,150px) minmax(110px,1fr) 48px;align-items:center;gap:10px;display:grid}.chart-row>span{font-weight:800;display:grid}.chart-row small{color:var(--muted);font-size:11px;font-weight:600}.chart-row>i{background:var(--paper-deep);border-radius:999px;height:12px;overflow:hidden}.chart-row>i>b{border-radius:inherit;background:var(--blue);height:100%;display:block}.period-chart{align-items:end;gap:7px;height:210px;padding:18px 4px 0;display:flex;overflow-x:auto}.period-chart>div{text-align:center;grid-template-rows:1fr auto auto;align-items:end;min-width:40px;height:100%;display:grid}.period-chart b{background:var(--vermilion);border-radius:7px 7px 2px 2px;width:26px;min-height:6px;margin:auto}.period-chart span,.period-chart small{color:var(--muted);font-size:10px}.gradebook-toolbar{justify-content:space-between;align-items:center;gap:18px;padding:18px 22px;display:flex}.gradebook-toolbar>span{gap:4px;display:grid}.gradebook-toolbar>span small{color:var(--muted)}.gradebook-toolbar>div{gap:9px;display:flex}.gradebook-scroll{padding:0;overflow:auto}.gradebook-table{border-collapse:collapse;width:max-content;min-width:100%;font-size:13px}.gradebook-table th,.gradebook-table td{border-right:1px solid var(--line);border-bottom:1px solid var(--line);text-align:center;min-width:130px;padding:13px 14px}.gradebook-table th:first-child{z-index:1;text-align:left;background:var(--panel);min-width:220px;position:sticky;left:0}.gradebook-table thead th{z-index:2;background:var(--surface-soft);position:sticky;top:0}.gradebook-table thead th:first-child{z-index:3;background:var(--surface-soft)}.gradebook-table td.missed{color:var(--vermilion-dark);font-weight:800}.overall-feedback{border:2px solid var(--line);background:var(--panel);border-radius:14px;align-items:end;gap:12px;margin:14px 0;padding:15px;display:flex}.overall-feedback label{flex:1;margin:0}.overall-feedback textarea,.answer-feedback-editor textarea{min-height:76px}.answer-feedback-editor{grid-template-columns:1fr auto;align-items:end;gap:10px;margin:12px 0;display:grid}.teacher-feedback,.answer-feedback{border:2px solid var(--line);background:var(--surface-soft);text-align:left;border-radius:13px;margin:16px 0;padding:14px}.teacher-feedback p{margin:6px 0 0}.student-review{text-align:left;gap:12px;width:100%;margin-top:24px;display:grid}.student-review h2{font-size:21px}.student-review article{border-radius:13px;padding:15px}@media (max-width:1050px){.analytics-filters{grid-template-columns:repeat(3,1fr)}}@media (max-width:700px){.analytics-filters{grid-template-columns:1fr}.gradebook-toolbar,.overall-feedback{flex-direction:column;align-items:stretch}.gradebook-toolbar>div{grid-template-columns:1fr 1fr;display:grid}.answer-feedback-editor{grid-template-columns:1fr}}.brand-actions{align-items:center;gap:16px;margin-left:auto;display:flex}.brand-actions a{color:var(--ink-soft);border-bottom:1px solid #0000;padding:10px 0;font-size:14px}.brand-actions a:hover{color:var(--vermilion);border-color:var(--vermilion)}.brand-actions .admin-link{margin:0}.profile-button{border:2px solid var(--line);background:var(--panel);min-height:46px;color:var(--ink);text-align:left;border-bottom-width:4px;border-radius:14px;grid-template-rows:auto auto;grid-template-columns:38px auto;align-items:center;column-gap:9px;padding:4px 12px 4px 5px;display:grid}.profile-button>span{background:var(--blue);color:#fff;border-radius:10px;grid-row:1/3;place-items:center;width:36px;height:36px;font-weight:900;display:grid}.profile-button b{text-overflow:ellipsis;white-space:nowrap;align-self:end;max-width:140px;font-size:13px;overflow:hidden}.profile-button small{color:var(--muted);align-self:start;font-size:10px}.drawer-section-label{color:var(--muted);letter-spacing:.1em;text-transform:uppercase;margin:14px 8px 3px;font-size:10px;font-weight:900}.drawer-guide-link{border:2px solid var(--line);color:var(--blue-dark);border-radius:13px;align-items:center;gap:9px;margin-top:14px;padding:13px;font-weight:850;display:flex}.drawer-page-link{width:100%;min-height:48px;color:var(--muted);border-radius:13px;align-items:center;gap:9px;padding:11px 13px;font-weight:850;display:flex}.drawer-page-link:hover{background:var(--surface-soft);color:var(--ink)}.quick-help-strip{border:2px solid var(--line);background:var(--panel);border-radius:15px;align-items:center;gap:12px;padding:14px 18px;display:flex}.quick-help-strip span{align-items:center;gap:8px;font-weight:800;display:flex}.quick-help-strip span b{background:var(--vermilion);color:#fff;border-radius:9px;place-items:center;width:28px;height:28px;display:grid}.quick-help-strip>svg{color:var(--muted)}.quick-help-strip a,.quick-help-strip>button{color:var(--blue-dark);background:0 0;border:0;border-radius:9px;align-items:center;gap:7px;margin-left:auto;padding:7px 9px;font-weight:800;display:flex}.quick-help-strip>button:hover{background:var(--surface-soft)}.welcome-dialog,.profile-dialog{width:min(620px,100vw - 28px);max-height:calc(100vh - 32px);padding:30px;overflow:auto}.welcome-dialog{text-align:center}.welcome-dialog h2,.profile-dialog h2{margin:0;font-size:28px}.welcome-dialog>p:not(.eyebrow){color:var(--muted);line-height:1.6}.welcome-icon{background:var(--blue);color:#fff;border-radius:18px;place-items:center;width:64px;height:64px;margin:0 auto 18px;display:grid}.welcome-dialog ol{text-align:left;gap:10px;padding:0;list-style:none;display:grid}.welcome-dialog li{border:2px solid var(--line);border-radius:13px;gap:3px;padding:13px 15px;display:grid}.welcome-dialog li span{color:var(--muted)}.welcome-actions{flex-wrap:wrap;justify-content:center;gap:9px;margin-top:20px;display:flex}.text-button{color:var(--muted);background:0 0;border:0;padding:10px;font-weight:800}.profile-dialog-head{grid-template-columns:58px 1fr 42px;align-items:center;gap:14px;margin-bottom:22px;display:grid}.profile-dialog-head .eyebrow{margin-bottom:4px}.profile-dialog-head span{color:var(--muted);font-size:13px}.profile-avatar{background:var(--blue);color:#fff;border-radius:17px;place-items:center;width:58px;height:58px;font-size:24px;font-weight:900;display:grid}.simple-mode-card{border:2px solid var(--line);background:var(--surface-soft);border-radius:14px;grid-template-columns:28px 1fr auto;align-items:center;gap:11px;padding:14px;display:grid}.simple-mode-card>svg{color:var(--vermilion)}.simple-mode-card span{gap:3px;display:grid}.simple-mode-card small{color:var(--muted)}.profile-preferences{gap:10px;display:grid}.mode-toggle{border:2px solid var(--line-dark);background:var(--panel);min-width:92px;color:var(--muted);border-radius:11px;padding:9px 11px;font-weight:850}.mode-toggle.active{border-color:var(--blue);background:var(--blue);color:#fff}.profile-password{border-top:2px solid var(--line);margin-top:18px;padding-top:16px}.profile-password h3{margin:0}.profile-password>p{color:var(--muted);margin:5px 0;font-size:13px}.profile-actions{justify-content:flex-end;gap:9px;margin-top:18px;display:flex}.profile-links{border-top:2px solid var(--line);grid-template-columns:repeat(3,1fr);gap:8px;margin-top:18px;padding-top:16px;display:grid}.profile-links a,.profile-links button{background:var(--surface-soft);color:var(--ink);border:0;border-radius:10px;justify-content:center;align-items:center;gap:7px;padding:10px;font-weight:750;display:flex}.simple-mode{font-size:17px}.simple-mode .advanced-nav{display:none}.simple-mode .admin-tabs.admin-drawer>button{min-height:56px;font-size:17px}.simple-mode .primary-btn,.simple-mode .secondary-btn{min-height:48px;font-size:16px}.simple-mode input,.simple-mode textarea,.simple-mode select{min-height:50px;font-size:17px}.simple-mode .section-heading p:not(.eyebrow),.simple-mode .panel-section-title p{font-size:16px}.help-center{width:min(820px,100vw - 28px);max-height:calc(100vh - 32px);padding:28px;overflow:auto}.help-center-head{grid-template-columns:1fr 42px;align-items:start;gap:18px;display:grid}.help-center-head h2{margin:0;font-size:30px}.help-center-head p:not(.eyebrow){color:var(--muted);margin:7px 0 0}.help-scenarios{grid-template-columns:1fr 1fr;gap:10px;margin-top:22px;display:grid}.help-scenarios>button{border:2px solid var(--line);background:var(--panel);min-height:74px;color:var(--ink);text-align:left;border-bottom-width:4px;border-radius:14px;grid-template-columns:38px 1fr 22px;align-items:center;gap:10px;padding:13px;display:grid}.help-scenarios>button:hover{border-color:var(--blue);background:color-mix(in srgb, var(--blue) 6%, var(--panel))}.help-scenarios>button>svg:first-child{background:color-mix(in srgb, var(--blue) 12%, var(--panel));width:38px;height:38px;color:var(--blue-dark);border-radius:11px;padding:8px}.help-scenarios>button>svg:last-child{color:var(--muted)}.help-scenarios span{gap:3px;display:grid}.help-scenarios small{color:var(--muted)}.popular-solutions{margin-top:26px}.popular-solutions h3{margin:0 0 10px}.popular-solutions details{border-top:1px solid var(--line);padding:14px 16px}.popular-solutions summary{cursor:pointer;font-weight:850}.popular-solutions p{color:var(--muted);margin-bottom:2px;line-height:1.55}.help-footer{border-top:2px solid var(--line);justify-content:space-between;align-items:center;gap:12px;margin-top:22px;padding-top:18px;display:flex}.help-footer a{color:var(--blue-dark);align-items:center;gap:7px;font-weight:850;display:flex}.tour-layer{z-index:5000;position:fixed;inset:0}.tour-highlight{z-index:5001;border:3px solid var(--blue);box-shadow:0 0 0 9999px #0a1419ad, 0 0 0 7px color-mix(in srgb, var(--blue) 22%, transparent);pointer-events:none;border-radius:16px;transition:inset .22s,width .22s,height .22s;position:fixed}.tour-layer:not(:has(.tour-highlight)):before{content:"";background:#0a1419ad;position:fixed;inset:0}.tour-card{z-index:5002;border:2px solid var(--line);border-bottom:5px solid var(--line-dark);background:var(--panel);max-height:calc(100vh - 24px);color:var(--ink);border-radius:18px;padding:20px;position:fixed;overflow:auto;box-shadow:0 18px 60px #00000047}.tour-card-head{justify-content:space-between;align-items:center;gap:14px;display:flex}.tour-card-head>span{color:var(--blue-dark);letter-spacing:.06em;text-transform:uppercase;font-size:12px;font-weight:900}.tour-card-head button{background:var(--surface-soft);width:34px;height:34px;color:var(--ink);border:0;border-radius:9px;place-items:center;display:grid}.tour-progress{background:var(--surface-soft);border-radius:999px;height:7px;margin:13px 0 10px;overflow:hidden}.tour-progress i{border-radius:inherit;background:var(--vermilion);height:100%;transition:width .2s;display:block}.tour-card>small{color:var(--muted);font-weight:750}.tour-card h2{margin:12px 0 7px;font-size:23px;line-height:1.18}.tour-card>p{color:var(--muted);margin:0;line-height:1.55}.tour-hint{background:color-mix(in srgb, var(--blue) 10%, var(--panel));color:var(--ink-soft);border-radius:11px;margin-top:13px;padding:11px 12px;font-size:13px}.tour-actions{justify-content:flex-end;align-items:center;gap:8px;margin-top:18px;display:flex}.tour-actions .tour-skip{color:var(--muted);background:0 0;border:0;margin-right:auto;padding:8px 4px;font-weight:800}.tour-actions .secondary-btn,.tour-actions .primary-btn{min-height:42px}.guide-tour-button{z-index:30;border:2px solid var(--line);background:var(--panel);min-height:44px;color:var(--blue-dark);border-bottom-width:4px;border-radius:13px;align-items:center;gap:8px;padding:10px 14px;font-weight:850;display:flex;position:fixed;bottom:22px;left:22px;box-shadow:0 8px 24px #0000001f}.guide-shell{max-width:1240px;margin:auto;padding:24px 28px 70px}.guide-top{z-index:10;border-bottom:2px solid var(--line);background:color-mix(in srgb, var(--paper) 94%, transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);justify-content:space-between;align-items:center;gap:20px;min-height:66px;display:flex;position:sticky;top:0}.guide-brand{align-items:center;gap:10px;font-size:19px;display:flex}.guide-brand span{background:var(--vermilion);color:#fff;border-radius:11px;place-items:center;width:38px;height:38px;font-weight:900;display:grid}.guide-top nav{align-items:center;gap:18px;font-size:13px;font-weight:800;display:flex}.guide-top nav button{color:var(--ink);background:0 0;border:0;align-items:center;gap:6px;font-weight:800;display:inline-flex}.guide-admin-link{background:var(--blue);color:#fff;border-radius:11px;align-items:center;gap:7px;padding:10px 13px;display:inline-flex}.guide-hero{grid-template-columns:minmax(0,1.35fr) minmax(320px,.65fr);align-items:center;gap:42px;min-height:620px;display:grid}.guide-hero h1{letter-spacing:-.045em;max-width:800px;margin:0;font-size:clamp(44px,6vw,72px);line-height:1.02}.guide-hero>div:first-child>p:not(.eyebrow){max-width:730px;color:var(--muted);font-size:19px;line-height:1.65}.guide-hero-actions{gap:11px;margin-top:26px;display:flex}.guide-purpose{padding:30px}.guide-purpose>svg{color:var(--vermilion)}.guide-purpose h2{font-size:27px}.guide-purpose p{color:var(--muted);line-height:1.65}.guide-section{padding:70px 0 20px;scroll-margin-top:80px}.guide-heading{max-width:760px;margin-bottom:28px}.guide-heading h2{letter-spacing:-.035em;margin:0;font-size:clamp(32px,4vw,48px)}.guide-heading>p:not(.eyebrow){color:var(--muted);font-size:17px;line-height:1.6}.guide-steps{grid-template-columns:repeat(5,1fr);gap:12px;padding:0;list-style:none;display:grid}.guide-steps li{border:2px solid var(--line);background:var(--panel);border-bottom-width:5px;border-radius:17px;min-height:225px;padding:20px}.guide-steps li>span{background:var(--vermilion);color:#fff;border-radius:12px;place-items:center;width:42px;height:42px;font-size:19px;font-weight:900;display:grid}.guide-steps h3{margin:25px 0 8px}.guide-steps p,.guide-feature-grid p{color:var(--muted);line-height:1.55}.guide-feature-grid{grid-template-columns:repeat(3,1fr);gap:15px;display:grid}.guide-feature-grid article{padding:24px}.guide-feature-grid svg{color:var(--blue)}.guide-feature-grid h3{font-size:20px}.guide-student-flow{grid-template-columns:1fr auto 1fr auto 1fr;align-items:center;gap:16px;display:grid}.guide-student-flow>span{border:2px solid var(--line);background:var(--panel);text-align:center;border-radius:18px;justify-items:center;gap:8px;min-height:180px;padding:25px;display:grid}.guide-student-flow>span svg{color:var(--vermilion)}.guide-student-flow small{color:var(--muted);line-height:1.5}.guide-student-flow>svg{color:var(--muted)}.security-list{grid-template-columns:1fr 1fr;gap:14px;display:grid}.security-list article{border:2px solid var(--line);background:var(--panel);border-radius:16px;grid-template-columns:42px 1fr;gap:15px;padding:22px;display:grid}.security-list svg{color:var(--blue)}.security-list h3{margin:0 0 7px}.security-list p{color:var(--muted);margin:0;line-height:1.55}.guide-faq{gap:10px;display:grid}.guide-faq details{border:2px solid var(--line);background:var(--panel);border-radius:14px;padding:18px 20px}.guide-faq summary{cursor:pointer;font-size:17px;font-weight:850}.guide-faq p{color:var(--muted);line-height:1.6}.guide-footer{border:2px solid var(--line);background:var(--panel);border-radius:17px;justify-content:space-between;align-items:center;gap:20px;margin-top:70px;padding:25px;display:flex}.guide-footer>div{align-items:center;gap:13px;display:flex}.guide-footer span{gap:4px;display:grid}.guide-footer small{color:var(--muted)}@media (max-width:980px){.guide-top nav>a:not(.guide-admin-link),.guide-top nav button{display:none}.guide-hero{grid-template-columns:1fr;gap:24px;min-height:auto;padding:80px 0 20px}.guide-steps,.guide-feature-grid{grid-template-columns:repeat(2,1fr)}.profile-button b,.profile-button small,.notifications-btn{display:none}.profile-button{grid-template:none;padding-right:5px;display:flex}}@media (max-width:650px){.brand-actions{gap:10px}.brand-actions a:first-child{display:none}.guide-shell{padding:16px 14px 50px}.guide-hero h1{font-size:43px}.guide-steps,.guide-feature-grid,.security-list{grid-template-columns:1fr}.guide-steps li{min-height:0}.guide-student-flow{grid-template-columns:1fr}.guide-student-flow>svg{margin:auto;transform:rotate(90deg)}.guide-footer,.guide-hero-actions,.profile-actions{flex-direction:column;align-items:stretch}.guide-footer .primary-btn,.guide-hero-actions .primary-btn{width:100%}.profile-links{grid-template-columns:1fr}.quick-help-strip{flex-direction:column;align-items:stretch}.quick-help-strip>svg{display:none}.quick-help-strip a,.quick-help-strip>button{margin:4px 0 0}.header-guide{display:none}.help-center{padding:20px 16px}.help-center-head h2{font-size:25px}.help-scenarios{grid-template-columns:1fr}.help-footer{flex-direction:column;align-items:stretch}.help-footer .secondary-btn{width:100%}.tour-card{padding:17px}.tour-actions{flex-wrap:wrap}.tour-actions .tour-skip{text-align:left;width:100%;margin:0}.guide-tour-button{bottom:12px;left:12px}}@media print{.guide-top,.guide-hero-actions,.guide-footer,.guide-tour-button,.tour-layer{display:none!important}.guide-shell{max-width:none;padding:0}.guide-hero{grid-template-columns:1fr;min-height:auto}.guide-section{break-inside:avoid;padding:28px 0 0}.panel{box-shadow:none}}.code-lab-card{padding:22px}.programming-question-heading{min-width:0}.programming-question-heading .question-title{max-width:980px;margin:14px 0 20px}.programming-split{grid-template-columns:minmax(290px,.82fr) minmax(420px,1.18fr);align-items:stretch;gap:18px;margin-top:0;display:grid}.programming-task{border:2px solid var(--line);background:var(--surface-soft);border-bottom-width:4px;border-radius:18px;flex-direction:column;align-items:flex-start;min-width:0;padding:20px;display:flex;overflow:hidden}.programming-task>p{color:var(--muted);line-height:1.6}.task-kind{background:color-mix(in srgb, var(--blue) 13%, var(--panel));min-height:34px;color:var(--blue-dark);text-transform:uppercase;letter-spacing:.04em;border-radius:10px;align-items:center;gap:8px;padding:6px 11px;font-size:12px;font-weight:900;display:inline-flex}.lab-tips{width:100%;color:var(--muted);gap:5px;margin-top:auto;padding-top:18px;font-size:12px;display:grid}.lab-tips b{color:var(--ink)}.code-window,.code-editor-shell{color:#e8f2f5;box-shadow:none;background:#131f24;border:2px solid #34454d;border-bottom-width:4px;border-radius:17px;overflow:hidden}.code-window{margin:20px 0 24px}.code-window.compact{margin:10px 0 0}.code-window-bar,.code-editor-toolbar{background:#202f36;border-bottom:1px solid #34454d;justify-content:space-between;align-items:center;min-height:43px;padding:8px 14px;display:flex}.code-window-bar>span,.code-editor-toolbar>span{gap:6px;display:flex}.code-window-bar i,.code-editor-toolbar i{background:#ff5f57;border-radius:50%;width:10px;height:10px}.code-window-bar i:nth-child(2),.code-editor-toolbar i:nth-child(2){background:#ffc800}.code-window-bar i:nth-child(3),.code-editor-toolbar i:nth-child(3){background:#58cc02}.code-window-bar b,.code-editor-toolbar b{color:#a7b6bc;letter-spacing:.08em;align-items:center;gap:6px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;display:inline-flex}.code-readonly{grid-template-columns:auto minmax(0,1fr);max-height:390px;display:grid;overflow:auto}.code-line-numbers,.editor-lines{color:#6f858e;text-align:right;-webkit-user-select:none;user-select:none;border-right:1px solid #2c3d44;flex-direction:column;min-width:46px;padding:17px 11px;font:14px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;display:flex}.code-readonly pre{color:#e8f2f5;tab-size:4;min-width:max-content;margin:0;padding:17px 19px;font:14px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace}.syntax-keyword{color:#ce82ff}.syntax-type{color:#49c0f8}.syntax-method{color:#ffd43b}.syntax-string{color:#a5e870}.syntax-number{color:#ff9f7a}.syntax-comment{color:#71858d;font-style:italic}.code-editor-shell{flex-direction:column;min-height:430px;max-height:620px;display:flex}.code-editor-toolbar button{color:#a7b6bc;cursor:pointer;background:0 0;border:0;align-items:center;gap:6px;font-weight:800;display:inline-flex}.code-editor-toolbar button:hover{color:#fff}.code-editor-area{background:#131f24;flex:1;grid-template-columns:auto minmax(0,1fr);min-height:220px;display:grid}.code-editor-area textarea{resize:none;color:#e8f2f5;caret-color:#58cc02;width:100%;min-height:100%;box-shadow:none;tab-size:4;white-space:pre;background:0 0;border:0;border-radius:0;outline:0;padding:17px 19px;font:14px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;overflow:auto}.code-editor-area textarea:focus{box-shadow:none;border:0}.smart-code-editor{--editor-font-size:14px;--editor-line-height:24px;--editor-pad-y:16px;--editor-pad-x:19px;resize:vertical;contain:layout paint;background:#131f24;flex-direction:column;flex:1;height:430px;min-height:230px;display:flex;overflow:hidden}.smart-code-canvas{flex:1;grid-template-columns:auto minmax(0,1fr);min-height:0;display:grid;overflow:hidden}.smart-code-canvas>.editor-lines{height:100%;min-height:0;font-size:var(--editor-font-size);line-height:var(--editor-line-height);padding:0;overflow:hidden}.editor-lines>div{padding:var(--editor-pad-y) 11px;flex-direction:column;display:flex}.editor-lines span{height:var(--editor-line-height);line-height:var(--editor-line-height)}.editor-lines span.active{color:#dce9ed}.smart-code-layer{isolation:isolate;min-width:0;min-height:0;position:relative;overflow:hidden}.smart-code-layer pre,.smart-code-layer textarea,.editor-indent-guides{box-sizing:border-box;width:100%;height:100%;padding:var(--editor-pad-y) var(--editor-pad-x);white-space:pre;tab-size:4;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:var(--editor-font-size);font-weight:400;line-height:var(--editor-line-height);letter-spacing:0;word-spacing:0;font-kerning:none;font-variant-ligatures:none;text-transform:none;text-indent:0;border:0;border-radius:0;margin:0;position:absolute;inset:0;overflow:auto}.editor-indent-guides{z-index:0;pointer-events:none;color:#0000;padding:0;overflow:hidden}.editor-indent-guides>div{box-sizing:border-box;width:max-content;min-width:100%;padding:var(--editor-pad-y) var(--editor-pad-x)}.editor-indent-guides span{width:100%;height:var(--editor-line-height);display:block;position:relative}.editor-indent-guides span.active{background:#ffffff09}.editor-indent-guides i{background:#49c0f840;width:1px;position:absolute;top:0;bottom:0}.editor-indent-guides i:nth-child(3n+2){background:#a5e8703d}.editor-indent-guides i:nth-child(3n){background:#ce82ff3d}.smart-code-layer pre{z-index:1;pointer-events:none;-webkit-user-select:none;user-select:none;color:#e8f2f5;background:0 0;padding:0;overflow:hidden}.smart-code-layer pre>code{box-sizing:border-box;width:max-content;min-width:100%;padding:var(--editor-pad-y) var(--editor-pad-x);font:inherit;display:block}.smart-code-layer pre>code span{font:inherit}.smart-code-layer textarea{z-index:2;resize:none;overscroll-behavior:auto;touch-action:pan-x pan-y;color:#0000;caret-color:#58cc02;-webkit-overflow-scrolling:touch;-webkit-text-fill-color:transparent;background:0 0;outline:0}.smart-code-layer textarea::selection{-webkit-text-fill-color:transparent;background:#49c0f852}.smart-code-layer textarea:focus{box-shadow:none;border:0}.editor-diagnostics{color:#84d64b;border-top:1px solid #34454d;align-items:center;gap:6px;min-height:38px;padding:7px 12px;font-size:11px;display:flex}.editor-diagnostics.has-warning{color:#ffc800}.editor-diagnostics span{min-width:0;margin-right:auto}.editor-diagnostics kbd{color:#dce9ed;font:inherit;background:#202f36;border:1px solid #52636b;border-radius:4px;padding:2px 5px}.editor-diagnostics small{color:#8fa3aa}.code-run-bar{background:#202f36;border-top:1px solid #34454d;align-items:center;gap:15px;padding:12px 14px;display:flex}.code-run-bar>span{color:#8fa3aa;font-size:11px}.code-console{background:#0d171b;border-top:1px solid #34454d;min-height:86px;max-height:135px;padding:10px 14px 12px;overflow:auto}.code-console>div{color:#8fa3aa;text-transform:uppercase;letter-spacing:.06em;align-items:center;gap:7px;font-size:11px;font-weight:900;display:flex}.code-console pre{white-space:pre-wrap;color:#dce9ed;margin:9px 0 0;font:13px/1.55 ui-monospace,SFMono-Regular,Consolas,monospace}.code-console strong{color:#ffc800;margin-top:10px;font-size:12px;display:block}.code-console.is-success strong{color:#78df29}.code-console.has-error pre{color:#ff8b8b}.code-editor-shell{max-height:none}.smart-code-editor.resizable-code-panel,.live-editor-panel .smart-code-editor.resizable-code-panel{resize:none;flex:none;min-height:240px;max-height:none}.code-console.resizable-code-panel{flex-direction:column;flex:none;min-width:0;min-height:180px;max-height:none;padding:0;display:flex;overflow:hidden}.code-console-heading{color:#dce9ed;border-bottom:1px solid #34454d;flex:none;align-items:center;gap:9px;padding:12px 16px;display:flex}.code-console-heading b{font-size:13px}.code-console-heading small{color:#a7b6bc;margin-top:3px;font-size:12px;display:block}.code-console>.code-console-body{color:#dce9ed;text-transform:none;letter-spacing:normal;flex:1;min-width:0;min-height:0;padding:14px 16px;font-size:14px;font-weight:400;line-height:1.6;display:block;overflow:auto}.code-console-body pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:14px;line-height:1.65}.code-console-body p{color:#b5c7cf;margin:0 0 12px}.resizable-code-panel>.code-panel-size{color:#bacbd2;text-transform:none;letter-spacing:normal;background:#202f36;border-top:1px solid #34454d;flex:none;align-items:center;gap:4px;min-height:44px;padding:0 8px;font-size:12px;font-weight:400;display:flex}.code-panel-size button{width:40px;height:44px;color:inherit;cursor:pointer;background:0 0;border:0;flex:0 0 40px;place-items:center;display:grid}.code-panel-size button:disabled{opacity:.35;cursor:default}.code-panel-grip{cursor:ns-resize;touch-action:none;-webkit-user-select:none;user-select:none;flex:1;justify-content:center;align-items:center;gap:8px;min-width:0;min-height:44px;display:flex}.code-panel-size button:focus-visible{outline-offset:-3px;outline:2px solid #49c0f8}.code-panel-grip:focus-visible{outline-offset:-3px;outline:2px solid #49c0f8}.code-console-body:focus-visible{outline-offset:-3px;outline:2px solid #49c0f8}.editor-diagnostics{flex-wrap:wrap;flex:none}.smart-code-canvas .editor-lines span{flex:0 0 var(--editor-line-height)}.student-password-field{gap:7px;display:grid}.student-password-input{position:relative}.student-password-input input{padding-right:52px}.student-password-input>button{width:44px;height:44px;color:var(--muted);cursor:pointer;background:0 0;border:0;place-items:center;display:grid;position:absolute;top:50%;right:4px;transform:translateY(-50%)}.student-password-input>button:focus-visible{outline:2px solid var(--blue);border-radius:6px}.student-nickname-form{border-top:1px solid var(--line);border-bottom:1px solid var(--line);gap:10px;width:100%;margin:18px 0;padding:18px 0;display:grid}.student-nickname-form small{color:var(--muted);line-height:1.5}.student-nickname-form button{justify-self:start}.student-field-error{color:var(--danger);margin:0;font-size:13px}.question-type-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.question-kind-badge{background:color-mix(in srgb, var(--blue) 12%, var(--panel));color:var(--blue-dark);border-radius:9px;margin-right:auto;padding:5px 9px;font-size:11px;font-weight:900}.question-image-editor{border:2px dashed var(--line-dark);background:var(--surface-soft);border-radius:15px;gap:10px;margin:14px 0;padding:14px;display:grid}.question-image-editor>small{color:var(--muted);font-size:11px;line-height:1.45}.question-image-actions{align-items:center;gap:10px;display:flex}.question-image-upload{cursor:pointer;display:inline-flex}.question-image-upload input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute;overflow:hidden}.question-image-upload span{border:2px solid var(--line);background:var(--panel);min-height:42px;color:var(--ink);border-bottom-width:4px;border-radius:12px;align-items:center;gap:7px;padding:9px 13px;font-weight:850;display:inline-flex}.question-image-upload:hover span{border-color:var(--blue);color:var(--blue-dark)}.question-image-error{font-weight:800;color:var(--danger)!important}.question-image-preview{grid-template-columns:minmax(180px,320px) minmax(220px,1fr);align-items:end;gap:14px;display:grid}.question-image-preview img{object-fit:contain;border:2px solid var(--line);background:var(--panel);border-radius:13px;width:100%;max-height:220px}.question-media{justify-items:center;gap:8px;width:min(100%,860px);margin:20px auto 24px;display:grid}.question-media img{object-fit:contain;border:2px solid var(--line);background:var(--panel);width:auto;max-width:100%;max-height:min(52vh,560px);box-shadow:0 9px 0 color-mix(in srgb, var(--line) 72%, transparent);border-bottom-width:5px;border-radius:18px;display:block}.question-media figcaption{max-width:720px;color:var(--muted);text-align:center;font-size:13px;line-height:1.5}.builder-recognition{border:2px dashed var(--line-dark);background:var(--surface-soft);border-radius:15px;justify-content:space-between;align-items:center;gap:18px;padding:16px 18px;display:flex}.builder-recognition>div{gap:3px;display:grid}.builder-recognition span{color:var(--muted);font-size:12px}.builder-code-field,.code-task-fields{gap:14px;display:grid}.builder-code-field{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}.code-task-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.code-task-fields label:last-child{grid-column:1/-1}.test-case-builder{border:2px solid var(--line);background:var(--surface-soft);border-radius:14px;grid-column:1/-1;gap:10px;padding:16px;display:grid}.test-case-heading{justify-content:space-between;align-items:center;gap:14px;display:flex}.test-case-heading>div{gap:3px;display:grid}.test-case-heading span{color:var(--muted);font-size:12px}.test-case-row{border:1px solid var(--line);background:var(--panel);grid-template-columns:38px minmax(0,1fr) minmax(0,1fr) auto auto;align-items:end;gap:10px;padding:12px;display:grid}.test-case-row textarea{min-height:72px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.test-case-number{color:var(--muted);align-self:center;font-weight:900}.visibility-check{white-space:nowrap;align-items:center;gap:7px;min-height:44px;display:flex}.visibility-check input{width:18px;min-height:18px}.sample-cases{gap:8px;width:100%;margin-top:18px;display:grid}.sample-cases>div{grid-template-columns:1fr 1fr;gap:8px;display:grid}.sample-cases span{color:var(--muted);gap:4px;font-size:11px;display:grid}.sample-cases code{background:var(--panel);min-height:36px;color:var(--ink);white-space:pre-wrap;padding:8px;overflow:auto}.manual-review{border:2px solid var(--line);background:var(--surface-soft);grid-template-columns:110px minmax(220px,1fr) auto;align-items:end;gap:12px;margin-top:14px;padding:14px;display:grid}.manual-review>div{grid-column:1/-1;display:grid}.manual-review>div span,.manual-review>small{color:var(--muted);font-size:12px}.manual-review textarea{min-height:72px}.code-source-input{resize:vertical;color:#e8f2f5;caret-color:#58cc02;tab-size:4;background:#131f24;min-height:210px;font:13px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace}.code-source-input.tall{min-height:310px}.code-source-input.output{min-height:90px}.question-builder.code_input{border-left:5px solid var(--vermilion)}.question-builder.code_choice{border-left:5px solid var(--blue)}.answer-detail .code-window{max-width:920px}body:has(.quiz-shell) .theme-switcher{display:none}@media (max-width:980px){.programming-split{grid-template-columns:1fr}.programming-task{min-height:250px}.code-editor-shell{min-height:410px;max-height:none}.builder-code-field,.code-task-fields{grid-template-columns:1fr}.code-task-fields label:last-child{grid-column:auto}}@media (max-width:620px){.code-lab-card{padding:14px}.programming-question-heading .question-title{margin:12px 0 16px}.programming-split{gap:14px;margin-top:0}.programming-task{min-height:0;padding:18px}.code-editor-shell{border-radius:14px;min-height:390px;max-height:none}.code-editor-area textarea{padding:14px 12px;font-size:12px}.smart-code-editor{--editor-font-size:12px;--editor-line-height:21px;--editor-pad-y:14px;--editor-pad-x:12px}.editor-lines,.code-line-numbers{min-width:36px;padding:14px 7px;font-size:12px}.code-readonly pre{padding-block:14px;font-size:12px}.code-run-bar,.builder-recognition,.question-image-actions{flex-direction:column;align-items:stretch}.question-image-upload span{justify-content:center;width:100%}.question-image-preview{grid-template-columns:1fr}.question-media{margin:14px auto 18px}.question-media img{border-radius:14px;max-height:42vh}.code-run-bar .primary-btn,.builder-recognition .secondary-btn{width:100%}.question-type-grid{grid-template-columns:1fr}.question-builder-head{flex-wrap:wrap}.test-case-row,.manual-review{grid-template-columns:1fr}.test-case-heading{flex-direction:column;align-items:stretch}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}:root,:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--paper:#f4f0e7;--paper-deep:#e9e1d3;--ink:#171714;--ink-soft:#35342f;--muted:#746f65;--line:#c9c0b2;--line-dark:#26251f;--vermilion:#c83b2d;--vermilion-dark:#9e2a21;--indigo:#20354d;--success:#32664a;--danger:#a62828;--text:#171714;--panel:#faf7f0;--surface:#faf7f0;--surface-raised:#fffdf8;--surface-soft:#f0eadf;--glow:#c83b2d24}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--paper:#0d1117;--paper-deep:#161b22;--ink:#f0f3f6;--ink-soft:#c7ced8;--muted:#8c98a8;--line:#30363d;--line-dark:#484f58;--vermilion:#9b87f5;--vermilion-dark:#806dd7;--indigo:#161b22;--success:#56d49b;--danger:#ff7b88;--text:#f0f3f6;--panel:#161b22;--surface:#161b22;--surface-raised:#1c2128;--surface-soft:#11161d;--glow:#9b87f52e}body,:root[data-theme=dark] body,:root[data-theme=light] body{color:var(--ink);background-color:var(--paper);background-image:linear-gradient(#17171409 1px,#0000 1px),linear-gradient(90deg,#17171409 1px,#0000 1px);background-size:48px 48px;background-attachment:fixed}:root[data-theme=dark] body{background-image:none}body:before{display:none}.intro h1{color:var(--ink);-webkit-text-fill-color:currentColor;background:0 0}.panel,.stat-card,.test-card,.group-summary-card{border-color:var(--line);background:var(--panel);-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:0 10px 30px #17171414}:root[data-theme=dark] .panel,:root[data-theme=dark] .stat-card,:root[data-theme=dark] .test-card,:root[data-theme=dark] .group-summary-card{background:var(--panel);box-shadow:0 10px 30px #00000047}.start-card{box-shadow:0 12px 35px #1717141f}:root[data-theme=dark] .start-card{box-shadow:0 12px 35px #0000004d}.primary-btn{background:var(--vermilion);border-color:var(--vermilion-dark);box-shadow:0 6px 18px var(--glow)}.primary-btn:hover:not(:disabled){background:var(--vermilion-dark);box-shadow:0 8px 22px var(--glow)}.brandmark{background:var(--vermilion);box-shadow:0 8px 22px var(--glow)}.progress-track span{background:var(--vermilion)}.success-mark{background:var(--vermilion);box-shadow:0 10px 28px var(--glow)}.stat-card,.test-card,.group-summary-card{background-image:none}input,textarea,select,.option-btn,.result-meta span,.new-codes,.answer-detail,.question-builder,.student-detail-summary span,.file-import>span,.import-preview,.group-attempt,.group-attempt-detail article,.permission-editor label,.permission-tags span{background:var(--surface-raised);color:var(--ink)}.ai-source,.student-detail,.group-attempt-detail{background:var(--surface-soft)}.facts span{background:color-mix(in srgb, var(--panel) 90%, transparent)}.admin-link,.secondary-btn,.icon-btn{background:var(--panel);color:var(--ink-soft)}.selected-test-button{background:color-mix(in srgb, var(--vermilion) 12%, var(--panel));color:var(--vermilion-dark)}.theme-switcher{z-index:60;border:1px solid var(--line);background:var(--panel);border-radius:12px;gap:3px;padding:4px;display:flex;position:fixed;bottom:16px;right:16px;box-shadow:0 10px 30px #00000024}.theme-switcher button{min-height:34px;color:var(--muted);background:0 0;border:0;border-radius:8px;align-items:center;gap:6px;padding:7px 9px;font-size:12px;font-weight:750;display:inline-flex}.admin-title{align-items:center;gap:14px;display:flex}.menu-toggle{border:1px solid var(--line-dark);background:var(--panel);width:46px;min-width:46px;height:46px;color:var(--ink);border-radius:11px;place-items:center;display:grid}.menu-backdrop{z-index:69;-webkit-backdrop-filter:none;backdrop-filter:none;background:#0000006b;border:0;position:fixed;inset:0}.admin-tabs.admin-drawer{z-index:70;border:0;border-right:1px solid var(--line);background:var(--panel);border-radius:0;flex-direction:column;align-items:stretch;width:min(320px,88vw);max-width:none;margin:0;padding:18px;transition:transform .22s;display:flex;position:fixed;inset:0 auto 0 0;transform:translate(-105%);box-shadow:18px 0 55px #0003}.admin-tabs.admin-drawer.open{transform:translate(0)}.admin-tabs.admin-drawer>button{justify-content:flex-start;width:100%}.drawer-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;margin-bottom:18px;padding:4px 4px 16px;display:flex}.drawer-head strong{font-size:19px}.drawer-head button{border:1px solid var(--line);width:38px;min-height:38px;color:var(--ink);background:0 0;border-radius:9px;place-items:center;display:grid}.question-navigator{flex-wrap:wrap;gap:7px;margin:18px 0 24px;display:flex}.question-review-tools{justify-content:space-between;align-items:center;gap:12px;margin:-8px 0 14px;display:flex}.question-review-tools>span{color:var(--muted);align-items:center;gap:7px;font-size:12px;font-weight:750;display:inline-flex}.question-review-tools i{background:var(--success);border-radius:50%;width:9px;height:9px}.question-review-tools i.flagged{background:#d58b00;margin-left:5px}.question-flag{border:1px solid var(--line);background:var(--panel);min-height:38px;color:var(--muted);border-radius:10px;align-items:center;gap:7px;padding:8px 11px;font-weight:800;display:inline-flex}.question-flag:hover,.question-flag.active{background:color-mix(in srgb, #ffc800 14%, var(--panel));color:#9b6800;border-color:#d58b00}.question-navigator button{border:1px solid var(--line);background:var(--surface-raised);width:34px;height:34px;color:var(--muted);border-radius:8px;place-items:center;font-weight:800;display:inline-grid;position:relative}.question-navigator button svg{position:absolute;top:2px;right:2px}.question-navigator button.current{outline:2px solid var(--vermilion);outline-offset:2px;color:var(--ink)}.launch-wizard,.test-settings{gap:20px;display:grid}.launch-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;display:grid}.settings-checks{flex-wrap:wrap;gap:12px 24px;display:flex}.settings-checks label{align-items:center;gap:9px;font-weight:700;display:flex}.settings-checks input{width:18px;height:18px;accent-color:var(--vermilion)}.report-grid,.trash-grid{grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:14px;display:grid}.generated-code-batch{gap:16px;display:grid}.versions-panel{margin-top:18px;padding:22px}.version-list{gap:9px;display:grid}.version-list>div{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;padding:12px 0;display:flex}.version-list span{gap:3px;display:grid}.version-list small{color:var(--muted)}.history-filters{grid-template-columns:1fr 1fr 1fr auto;align-items:end;gap:12px;margin-bottom:18px;padding:18px;display:grid}.report-toolbar{justify-content:space-between;align-items:center;gap:18px;display:flex}.report-toolbar>div:first-child{gap:5px;display:grid}.report-toolbar>div:last-child,.report-actions{gap:8px;display:flex}.report-toolbar span,.report-card p{color:var(--muted)}.report-card{gap:18px;display:grid}.report-card h3{margin:10px 0 5px;font-size:24px}.report-status{background:var(--surface-soft);width:fit-content;color:var(--muted);border-radius:7px;padding:5px 8px;font-size:12px;font-weight:800;display:inline-flex}.report-status.ready{background:color-mix(in srgb, var(--success) 14%, var(--panel));color:var(--success)}.report-numbers{grid-template-columns:1fr 1fr;gap:10px;display:grid}.report-numbers span{border:1px solid var(--line);background:var(--surface-raised);color:var(--muted);border-radius:10px;gap:3px;padding:12px;display:grid}.report-numbers b{color:var(--ink);font-size:23px}.trash-card{gap:14px;display:grid}.trash-card>div{align-items:center;gap:12px;display:flex}.trash-card span{gap:3px;display:grid}.trash-card small,.trash-card p{color:var(--muted)}.two-factor-panel{gap:18px;margin-bottom:18px;display:grid}.two-factor-panel>div:first-child{align-items:center;gap:12px;display:flex}.two-factor-panel>div:first-child span{gap:4px;display:grid}.two-factor-panel small{color:var(--muted)}.two-factor-setup{border-top:1px solid var(--line);grid-template-columns:210px 1fr;gap:20px;padding-top:18px;display:grid}.two-factor-setup img{background:#fff;border-radius:10px;width:210px;height:210px}.two-factor-setup>div{align-content:start;gap:10px;display:grid}.two-factor-setup code{background:var(--surface-soft);overflow-wrap:anywhere;border-radius:7px;width:fit-content;padding:8px}.two-factor-setup a{color:var(--vermilion);font-weight:750}.two-factor-disable{gap:9px;max-width:480px;display:flex}@media (max-width:620px){.theme-switcher{position:absolute;top:70px;bottom:auto;right:12px}.theme-switcher button span{display:none}.theme-switcher button{padding:8px}.admin-title{align-items:flex-start}.menu-toggle{width:42px;min-width:42px;height:42px}.launch-grid,.history-filters{grid-template-columns:1fr}.report-toolbar{flex-direction:column;align-items:stretch}.report-toolbar>div:last-child,.report-actions{grid-template-columns:1fr 1fr;display:grid}.two-factor-setup{grid-template-columns:1fr}.two-factor-setup img{width:min(210px,100%);height:auto}.two-factor-disable{display:grid}}:root,:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--paper:#fff;--paper-deep:#f7f7f7;--ink:#3c3c3c;--ink-soft:#4b4b4b;--muted:#777;--line:#e5e5e5;--line-dark:#d4d4d4;--vermilion:#58cc02;--vermilion-dark:#46a302;--indigo:#1cb0f6;--success:#58cc02;--danger:#ff4b4b;--text:#3c3c3c;--panel:#fff;--surface:#fff;--surface-raised:#fff;--surface-soft:#f7f7f7;--glow:#58cc022e;--blue:#1cb0f6;--blue-dark:#168ac0;--yellow:#ffc800}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--paper:#131f24;--paper-deep:#17262b;--ink:#f1f7f9;--ink-soft:#d8e3e7;--muted:#a7b6bc;--line:#37464f;--line-dark:#4b5f68;--vermilion:#58cc02;--vermilion-dark:#46a302;--indigo:#1cb0f6;--success:#58cc02;--danger:#ff6969;--text:#f1f7f9;--panel:#202f36;--surface:#202f36;--surface-raised:#263941;--surface-soft:#17262b;--glow:#58cc022e;--blue:#49c0f8;--blue-dark:#1a91c9;--yellow:#ffd43b}html{background:var(--paper)}body,:root[data-theme=light] body,:root[data-theme=dark] body{color:var(--ink);background-color:var(--paper);background-image:none;font-family:ui-rounded,Arial Rounded MT Bold,Segoe UI,Arial,sans-serif;line-height:1.45}h1,h2,h3,h4,strong,button{letter-spacing:-.012em}.site-shell{max-width:1180px;padding:24px 28px 72px}.admin-shell{padding:32px 28px 48px}.admin-shell.wide{max-width:1360px}.workspace-section{gap:24px}.brandbar{border-bottom:2px solid var(--line);min-height:64px;padding:0 0 18px}.brandmark{background:var(--vermilion);width:46px;height:46px;box-shadow:0 5px 0 var(--vermilion-dark);color:#fff;border:0;border-radius:14px;font-size:15px}.brandbar strong{color:var(--vermilion-dark);font-size:20px;font-weight:900}.brandbar span{margin-top:2px;font-size:12px}.admin-link{border:2px solid var(--line);background:var(--panel);min-height:42px;color:var(--blue-dark);border-bottom-width:4px;border-radius:13px;padding:10px 16px;font-weight:850}.admin-link:hover{border-color:var(--line-dark);background:var(--surface-soft);color:var(--blue-dark)}.start-grid{grid-template-columns:minmax(0,1fr) minmax(340px,450px);gap:clamp(42px,7vw,96px);min-height:calc(100vh - 112px)}.intro{max-width:630px}.intro h1{max-width:620px;color:var(--ink);font-size:clamp(42px,5.5vw,66px);line-height:1.08}.intro>p:not(.eyebrow){max-width:570px;margin:22px 0 26px;font-size:18px;line-height:1.6}.eyebrow{color:var(--blue);letter-spacing:.07em;margin-bottom:10px;font-size:13px;font-weight:900}.facts{gap:10px}.facts span{border:2px solid var(--line);background:var(--panel);border-radius:14px;min-height:44px;padding:10px 14px;font-size:13px;font-weight:750}.facts svg{color:var(--blue)}.panel,.stat-card,.test-card,.group-summary-card{border:2px solid var(--line);background:var(--panel);box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;background-image:none;border-bottom-width:4px;border-radius:18px;overflow:hidden}.panel:after{display:none}.start-card{box-shadow:none;padding:30px}.panel-title{align-items:flex-start;margin-bottom:24px}.panel-title>svg,.panel-section-title>svg{color:var(--blue)}.panel-title h2,.panel-section-title h3{color:var(--ink);font-weight:900}label{color:var(--ink-soft);gap:8px;margin:14px 0;font-size:13px;font-weight:850}input,textarea,select{border:2px solid var(--line);background:var(--surface-raised);min-height:48px;color:var(--ink);border-radius:13px;padding:12px 14px}input:hover,textarea:hover,select:hover{border-color:var(--line-dark)}select{color-scheme:inherit}.primary-btn,.secondary-btn,.icon-btn,.selected-test-button,.danger-btn,.menu-toggle{border-radius:13px;min-height:46px;font-size:14px;font-weight:900;transition:transform .12s,border-color .12s,background-color .12s,color .12s}.primary-btn{border:2px solid var(--vermilion);border-bottom:5px solid var(--vermilion-dark);background:var(--vermilion);color:#fff;box-shadow:none;text-transform:uppercase;letter-spacing:.035em;background-image:none;padding:12px 18px}.primary-btn:hover:not(:disabled){border-color:#61df03;border-bottom-color:var(--vermilion-dark);box-shadow:none;background:#61df03;transform:translateY(-1px)}.primary-btn:active:not(:disabled){border-bottom-width:2px;transform:translateY(3px)}.primary-btn.small{padding:10px 16px}.secondary-btn,.icon-btn,.selected-test-button{border:2px solid var(--line);border-bottom:4px solid var(--line-dark);background:var(--panel);color:var(--blue-dark);padding:10px 14px}.secondary-btn:hover:not(:disabled),.icon-btn:hover:not(:disabled){border-color:var(--line-dark);background:var(--surface-soft);color:var(--blue-dark)}.secondary-btn:active:not(:disabled),.icon-btn:active:not(:disabled){border-bottom-width:2px;transform:translateY(2px)}.danger-btn{border:2px solid color-mix(in srgb, var(--danger) 35%, var(--line));background:color-mix(in srgb, var(--danger) 8%, var(--panel));color:var(--danger);border-bottom-width:4px}.danger-btn:hover:not(:disabled){background:var(--danger);color:#fff}.admin-header{border-bottom:2px solid var(--line);align-items:center;margin-bottom:30px;padding-bottom:22px}.admin-header h1{font-size:clamp(32px,4vw,44px)}.admin-title{gap:16px}.menu-toggle{border:2px solid var(--line);background:var(--panel);color:var(--ink);border-bottom-width:4px}.header-actions{gap:10px}.section-heading h2{font-size:clamp(26px,3vw,34px);font-weight:900}.search-input{min-height:50px}.admin-tabs.admin-drawer{border-right:2px solid var(--line);background:var(--panel);width:min(330px,90vw);padding:20px;box-shadow:18px 0 48px #0000002e}.drawer-head{padding:2px 2px 18px}.drawer-head strong{color:var(--vermilion-dark);font-size:22px}.drawer-intro{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;margin:0 8px 8px;font-size:12px;font-weight:900}.admin-tabs.admin-drawer>button{min-height:64px;color:var(--muted);border-radius:14px;padding:10px 13px;font-weight:850}.admin-tabs.admin-drawer>button>svg{flex:none}.admin-tabs.admin-drawer>button>span{text-align:left;gap:2px;display:grid}.admin-tabs.admin-drawer>button>span strong{color:inherit;font-size:15px}.admin-tabs.admin-drawer>button>span small{color:var(--muted);font-size:11px;font-weight:700}.admin-tabs.admin-drawer>button.active>span small{color:color-mix(in srgb, var(--vermilion-dark) 68%, var(--muted))}.admin-tabs.admin-drawer>button.drawer-settings{border-top:2px solid var(--line);border-radius:0 0 14px 14px;margin-top:12px}.workspace-switcher{border:2px solid var(--line);background:var(--panel);border-bottom-width:4px;border-radius:16px;align-items:center;gap:18px;margin-bottom:22px;padding:11px 12px;display:flex}.workspace-switcher>span{color:var(--ink);flex:none;align-items:center;gap:8px;padding:0 7px;display:inline-flex}.workspace-switcher>span svg{color:var(--vermilion)}.workspace-switcher>div{scrollbar-width:none;gap:6px;min-width:0;padding:2px;display:flex;overflow-x:auto}.workspace-switcher>div::-webkit-scrollbar{display:none}.workspace-switcher button,.workspace-switcher a{min-height:40px;color:var(--muted);white-space:nowrap;background:0 0;border:0;border-radius:11px;justify-content:center;align-items:center;gap:6px;padding:9px 13px;font-weight:850;display:inline-flex}.workspace-switcher button:hover,.workspace-switcher a:hover{background:var(--surface-soft);color:var(--ink)}.workspace-switcher button.active{background:var(--ink);color:var(--paper)}.theme-preference-card .inline-theme-switcher{position:static;inset:auto}.theme-preference-card .inline-theme-switcher>span{display:none}.launch-wizard,.test-settings,.builder-panel,.analytics-panel,.results-panel,.generated-code-batch,.admin-account-form,.admin-account-card,.two-factor-panel,.report-toolbar,.report-card,.trash-card{padding:24px}.launch-wizard{gap:18px}.launch-grid{gap:14px}.settings-checks{gap:12px 26px;padding:2px 0 4px}.settings-checks label{margin:0}.settings-checks input,.permission-editor input,.option-builder input[type=radio],.option-builder input[type=checkbox]{accent-color:var(--vermilion)}.compact-stats{gap:14px}.compact-stats>div{border:2px solid var(--line);background:var(--panel);border-bottom-width:4px;border-radius:16px;min-height:132px;padding:19px}.compact-stats strong{color:var(--ink);font-size:30px}.test-grid,.group-summary-grid{gap:16px}.test-card:hover{border-color:var(--line-dark);box-shadow:none;transform:translateY(-2px)}.test-card.selected{border-top:2px solid var(--vermilion);border-bottom-color:var(--vermilion-dark);padding-top:22px}.test-card-top strong,.group-list b,.progress-head strong{color:var(--blue)}.test-card h3{margin-top:16px;font-weight:900}.builder-header>span,.count-badge,.owner-badge{background:var(--blue);color:#fff;border-radius:12px}.builder-mode{border:2px solid var(--line);background:var(--surface-soft);border-radius:14px}.builder-mode button{min-height:40px;color:var(--muted);border-radius:10px}.builder-mode button.active{background:var(--panel);color:var(--blue-dark);box-shadow:0 2px 0 var(--line-dark)}.question-builder,.group-attempt,.permission-editor label,.import-preview{border:2px solid var(--line);border-radius:14px}.ai-source,.student-detail,.group-attempt-detail{border:2px solid var(--line);background:var(--surface-soft);border-radius:14px}.assignment-list{border-top:2px solid var(--line)}.assignment-list>div{min-height:48px;padding:11px 6px}.assignment-list code{color:var(--blue-dark);font-size:15px}.generated-code-batch{border-top-color:var(--vermilion)}.score-pill{background:var(--blue);color:#fff;border-radius:10px}.report-status.ready,.teacher-badge{background:color-mix(in srgb, var(--vermilion) 13%, var(--panel));color:var(--vermilion-dark)}.quiz-top{border-bottom:2px solid var(--line);margin-bottom:24px;padding-bottom:18px}.quiz-top .timer{border:2px solid var(--line);border-bottom:4px solid var(--line-dark);background:var(--panel);color:var(--blue-dark);border-radius:13px}.status-dot{background:var(--vermilion);box-shadow:0 0 0 5px color-mix(in srgb, var(--vermilion) 18%, transparent)}.progress-track{background:var(--paper-deep);border-radius:999px;height:14px;margin:12px 0 24px}.progress-track span{border-radius:inherit;background:var(--vermilion);background-image:none}.question-navigator{gap:8px;margin:18px 0 28px}.question-navigator button{border:2px solid var(--line);border-bottom-width:4px;border-radius:11px;width:38px;height:38px}.question-navigator button.answered{border-color:color-mix(in srgb, var(--vermilion) 55%, var(--line));background:color-mix(in srgb, var(--vermilion) 12%, var(--panel));color:var(--vermilion-dark)}.question-navigator button.flagged{background:color-mix(in srgb, #ffc800 16%, var(--panel));color:#a26a00;border-color:#d58b00}.question-navigator button.current{outline:3px solid var(--blue);outline-offset:2px}.question-title{font-size:clamp(25px,4vw,34px)}.options-list{gap:12px}.option-btn{border:2px solid var(--line);background:var(--panel);border-bottom-width:4px;border-radius:15px;min-height:66px;padding:12px 14px}.option-btn:hover{border-color:var(--blue);background:color-mix(in srgb, var(--blue) 6%, var(--panel));transform:translateY(-1px)}.option-btn>span{border:2px solid var(--line-dark);border-radius:11px}.option-btn.selected>span{border-color:var(--blue);background:var(--blue);color:#fff}.option-btn>svg{color:var(--blue)}.success-mark{background:var(--vermilion);box-shadow:0 6px 0 var(--vermilion-dark);background-image:none}.theme-switcher{border:2px solid var(--line);background:var(--panel);box-shadow:none;border-bottom-width:4px;border-radius:15px;gap:4px;padding:5px}.theme-switcher button{border-radius:10px;min-height:36px;font-weight:850}.theme-switcher button.active{background:var(--blue);color:#fff}:root[data-theme=dark] .panel,:root[data-theme=dark] .stat-card,:root[data-theme=dark] .test-card,:root[data-theme=dark] .group-summary-card,:root[data-theme=dark] .primary-btn,:root[data-theme=dark] .success-mark,:root[data-theme=dark] .progress-track span,:root[data-theme=dark] .brandmark{box-shadow:none;background-image:none}:root[data-theme=dark] .brandmark,:root[data-theme=dark] .success-mark{box-shadow:0 5px 0 var(--vermilion-dark)}:root[data-theme=dark] .selected-test-button{color:var(--blue)}@media (max-width:900px){.start-grid{grid-template-columns:1fr;gap:34px;padding:48px 0 32px}.launch-grid,.compact-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:620px){.site-shell,.quiz-shell{padding:14px 14px 42px}.admin-shell{padding:18px 12px 36px}.brandbar{min-height:56px;padding-bottom:12px}.brandmark{width:40px;height:40px}.admin-link{min-height:38px;padding:8px 10px}.start-grid{gap:26px;padding:52px 0 18px}.intro h1{font-size:clamp(36px,11vw,46px)}.facts{grid-template-columns:1fr}.start-card,.quiz-card,.builder-panel,.generated-code-batch,.admin-account-card,.analytics-panel,.report-toolbar,.report-card,.trash-card{padding:18px}.launch-grid,.history-filters{grid-template-columns:1fr}.compact-stats{grid-template-columns:1fr 1fr}.compact-stats>div{min-height:116px;padding:15px}.admin-header{gap:14px;margin-bottom:24px;padding-bottom:18px}.header-actions{gap:7px}.section-heading{gap:14px}.workspace-switcher{flex-direction:column;align-items:stretch;gap:8px;margin-bottom:17px;padding:10px}.workspace-switcher>span{padding:2px 6px}.workspace-switcher>div{margin-inline:-2px}.workspace-switcher button,.workspace-switcher a{min-height:42px;padding-inline:12px}.profile-links{grid-template-columns:repeat(2,minmax(0,1fr))}.theme-preference-card{grid-template-columns:28px 1fr}.theme-preference-card .inline-theme-switcher{grid-column:1/-1;width:100%}.theme-preference-card .inline-theme-switcher button{flex:1;justify-content:center}.test-card-actions{gap:7px}.quiz-card{padding:20px 16px}.option-btn{min-height:62px;padding:10px}.theme-switcher{top:68px}body:has(.login-card) .theme-switcher{top:14px}body:has(.quiz-shell) .theme-switcher{display:none}}@media (max-width:420px){.compact-stats,.student-detail-summary,.report-numbers{grid-template-columns:1fr}.panel-section-title{flex-direction:column;align-items:stretch}.panel-section-title>button{width:100%}.assignment-list>div{grid-template-columns:minmax(0,1fr) 92px}}.theme-switcher.inline-theme-switcher{z-index:auto;box-shadow:none;flex:none;position:static;inset:auto}.brand-actions .inline-theme-switcher{margin-right:2px}.brand-actions .inline-theme-switcher span,.brand-actions .admin-link span{color:inherit}.brand-actions .admin-link{align-items:center;gap:7px;display:inline-flex}.drawer-theme{border-top:1px solid var(--line);gap:8px;margin-top:18px;padding:15px 12px;display:grid}.drawer-theme>span{color:var(--muted);letter-spacing:.07em;text-transform:uppercase;font-size:11px;font-weight:900}.drawer-theme .inline-theme-switcher{width:100%}.drawer-theme .inline-theme-switcher button{flex:1;justify-content:center}.help-center.panel{overscroll-behavior:contain;touch-action:pan-y;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:var(--line-dark) transparent;min-height:0;max-height:calc(100dvh - 32px);overflow:hidden auto}.help-center.panel::-webkit-scrollbar{width:10px}.help-center.panel::-webkit-scrollbar-thumb{border:2px solid var(--panel);background:var(--line-dark);border-radius:999px}@media (max-width:620px){.theme-switcher.inline-theme-switcher{position:static;inset:auto}.brand-actions .inline-theme-switcher button span{display:none}.brand-actions{gap:7px}.brand-actions .admin-link{place-items:center;width:42px;min-width:42px;padding:8px;display:grid}.brand-actions .admin-link span{display:none}.help-center.panel{max-height:calc(100dvh - 18px)}}.admin-header .header-actions{flex-wrap:nowrap;grid-template-columns:none;justify-content:flex-end;align-items:center;gap:8px;width:auto;display:flex}.header-icon-button{border:2px solid var(--line);background:var(--panel);width:42px;min-width:42px;height:42px;color:var(--blue-dark);border-bottom-width:4px;border-radius:12px;place-items:center;padding:0;transition:transform .12s,border-color .12s,background-color .12s;display:grid;position:relative}.header-icon-button:hover{border-color:var(--blue);background:color-mix(in srgb, var(--blue) 7%, var(--panel));transform:translateY(-1px)}.header-icon-button:active{border-bottom-width:2px;height:40px;margin-top:2px;transform:none}.header-icon-button:focus-visible{outline:3px solid color-mix(in srgb, var(--blue) 32%, transparent);outline-offset:2px}.header-icon-button.profile-icon-button{border-color:var(--blue);background:var(--blue);color:#fff}.header-icon-button:after{content:attr(data-tooltip);z-index:90;background:var(--ink);width:max-content;max-width:190px;color:var(--paper);opacity:0;pointer-events:none;border-radius:7px;padding:6px 8px;font-size:11px;font-weight:800;line-height:1.2;transition:opacity .14s,transform .14s;position:absolute;top:calc(100% + 9px);left:50%;transform:translate(-50%,-4px)}.header-icon-button:hover:after{opacity:1;transform:translate(-50%)}.header-icon-button:focus-visible:after{opacity:1;transform:translate(-50%)}.header-icon-button:last-child:after{left:auto;right:0;transform:translateY(-4px)}.header-icon-button:last-child:hover:after{transform:translateY(0)}.header-icon-button:last-child:focus-visible:after{transform:translateY(0)}@media (max-width:620px){.admin-header .header-actions{justify-self:end;gap:6px;width:auto}.header-icon-button{width:40px;min-width:40px;height:40px}.header-icon-button:after{display:none}}.dialog-backdrop{overscroll-behavior:contain;touch-action:pan-y;overflow:hidden auto}.confirm-dialog,.preview-dialog,.profile-dialog.panel,.help-center.panel{overscroll-behavior:contain;touch-action:pan-y;-webkit-overflow-scrolling:touch;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:var(--line-dark) transparent;min-height:0;max-height:calc(100dvh - 40px);overflow:hidden auto!important}.confirm-dialog::-webkit-scrollbar{width:10px}.preview-dialog::-webkit-scrollbar{width:10px}.profile-dialog.panel::-webkit-scrollbar{width:10px}.help-center.panel::-webkit-scrollbar{width:10px}.confirm-dialog::-webkit-scrollbar-thumb{border:2px solid var(--panel);background:var(--line-dark);border-radius:999px}.preview-dialog::-webkit-scrollbar-thumb{border:2px solid var(--panel);background:var(--line-dark);border-radius:999px}.profile-dialog.panel::-webkit-scrollbar-thumb{border:2px solid var(--panel);background:var(--line-dark);border-radius:999px}.help-center.panel::-webkit-scrollbar-thumb{border:2px solid var(--panel);background:var(--line-dark);border-radius:999px}.tour-card{overscroll-behavior:contain;touch-action:pan-y;max-height:calc(100dvh - 24px)}@media (max-width:620px){.dialog-backdrop{padding:9px}.confirm-dialog,.preview-dialog,.profile-dialog.panel,.help-center.panel{max-height:calc(100dvh - 18px)}}.brand-logo{flex:none;align-items:center;width:160px;max-width:42vw;line-height:0;display:inline-flex}.brand-logo img{object-fit:contain;width:100%;height:auto;display:block}.brand-logo-dark,:root[data-theme=dark] .brand-logo-light{display:none!important}:root[data-theme=dark] .brand-logo-dark{display:block!important}.student-brand-logo{width:166px}.student-portal-logo{width:154px}.guide-brand-logo{width:158px}.admin-login-logo{width:194px;max-width:70%;margin:0 auto 20px}.admin-brand-logo{width:154px;margin-bottom:4px}.drawer-brand-logo{width:146px}.brand-context{color:var(--muted);font-size:12px;font-weight:800}.brand-actions{margin-left:auto}.save-indicator{width:32px;min-width:32px;height:32px;min-height:32px;color:var(--muted);background:0 0;border:1px solid #0000;border-radius:10px;place-items:center;padding:0;display:grid}.save-indicator[data-state=saved]{color:var(--muted);border-color:#0000}.save-indicator[data-state=saving]{color:var(--blue);background:color-mix(in srgb, var(--blue) 8%, transparent)}.save-indicator[data-state=offline]{border-color:color-mix(in srgb, var(--danger) 45%, transparent);color:var(--danger);background:color-mix(in srgb, var(--danger) 9%, var(--panel))}.save-indicator[data-state=saving] svg{animation:1s ease-in-out infinite save-pulse}@keyframes save-pulse{50%{opacity:.35;transform:translateY(-1px)}}.quiz-protected,.quiz-protected *{-webkit-user-select:none;user-select:none}.landing-shell{max-width:1240px;margin:auto;padding:24px 28px 48px}.landing-nav,.student-portal-head{border-bottom:2px solid var(--line);justify-content:space-between;align-items:center;gap:18px;min-height:66px;display:flex}.landing-logo{color:var(--ink);align-items:center;gap:10px;font-size:19px;display:flex}.landing-logo>span{background:var(--blue);color:#fff;border-radius:12px;place-items:center;width:40px;height:40px;font-size:13px;font-weight:950;display:grid}.landing-nav nav{align-items:center;gap:12px;display:flex}.landing-nav nav>a{color:var(--ink-soft);align-items:center;gap:6px;font-weight:800;display:inline-flex}.landing-hero{grid-template-columns:minmax(0,1.2fr) minmax(320px,.8fr);align-items:center;gap:54px;min-height:610px;display:grid}.landing-hero h1{letter-spacing:-.045em;max-width:780px;margin:12px 0 20px;font-size:clamp(48px,6vw,82px);line-height:.99}.landing-hero>div:first-child>p:not(.eyebrow){max-width:710px;color:var(--muted);font-size:19px;line-height:1.65}.landing-actions{flex-wrap:wrap;gap:11px;margin-top:28px;display:flex}.landing-visual{padding:28px;transform:rotate(1.5deg)}.landing-rank{gap:6px;display:grid}.landing-rank>span{color:var(--blue-dark);text-transform:uppercase;letter-spacing:.06em;font-weight:900}.landing-rank strong{font-size:74px;line-height:1}.landing-rank p,.landing-visual small{color:var(--muted)}.landing-progress{gap:10px;margin:28px 0 18px;display:grid}.landing-progress i{background:var(--vermilion);height:15px;box-shadow:inset 0 -3px color-mix(in srgb, var(--vermilion-dark) 70%, transparent);border-radius:999px}.landing-features{grid-template-columns:repeat(3,1fr);gap:16px;padding:36px 0 70px;display:grid}.landing-features article{border:2px solid var(--line);background:var(--panel);border-bottom-width:4px;border-radius:18px;padding:26px}.landing-features h2{margin:18px 0 8px}.landing-features p{color:var(--muted);margin:0;line-height:1.55}.landing-callout{grid-template-columns:auto 1fr auto;align-items:center;gap:22px;padding:30px;display:grid}.landing-callout>svg{color:var(--vermilion)}.landing-callout h2{margin:5px 0}.landing-callout p{color:var(--muted);margin:0}.landing-callout>a{color:var(--blue-dark);align-items:center;gap:7px;font-weight:900;display:flex}.landing-footer{color:var(--muted);justify-content:space-between;align-items:center;gap:18px;padding:44px 0 0;display:flex}.landing-footer span{color:var(--ink);align-items:center;gap:7px;font-weight:900;display:flex}.landing-footer a{color:var(--blue-dark);font-weight:850}.student-portal{max-width:1180px}.student-portal-head>div{text-align:right;margin-left:auto;display:grid}.student-portal-head span{color:var(--muted);font-size:12px}.student-welcome{grid-template-columns:1fr 230px;align-items:center;gap:22px;padding:64px 0 28px;display:grid}.student-welcome h1{margin:8px 0;font-size:clamp(38px,5vw,64px);line-height:1}.student-welcome p:not(.eyebrow){color:var(--muted)}.student-rank-card{border:2px solid var(--line);background:var(--panel);border-bottom-width:5px;border-radius:18px;grid-template-columns:auto 1fr;align-items:center;gap:4px 10px;padding:22px;display:grid}.student-rank-card svg{color:var(--yellow);grid-row:1/4}.student-rank-card strong{font-size:42px;line-height:1}.student-rank-card small{color:var(--muted)}.student-portal-grid{grid-template-columns:minmax(0,1fr) 330px;align-items:start;gap:22px;display:grid}.student-assignment{flex-direction:column;align-items:flex-start;padding:22px;display:flex}.student-assignment h3{margin:14px 0 7px;font-size:22px}.student-assignment>p{color:var(--muted);flex:1;line-height:1.5}.student-assignment>button{justify-content:center;width:100%;margin-top:10px}.assignment-result{background:var(--surface-soft);border-radius:12px;align-items:center;gap:10px;width:100%;padding:12px;display:flex}.assignment-result b{color:var(--vermilion-dark);font-size:24px}.student-password-card{padding:22px;position:sticky;top:18px}.leaderboard{margin-top:28px;padding:24px}.leaderboard-table{display:grid}.leaderboard-row{border-top:1px solid var(--line);grid-template-columns:70px minmax(180px,1fr) minmax(110px,.5fr) 90px;align-items:center;gap:12px;min-height:58px;padding:9px 12px;display:grid}.leaderboard-row.head{min-height:40px;color:var(--muted);text-transform:uppercase;border:0;font-size:11px;font-weight:900}.leaderboard-row>span{display:grid}.leaderboard-row small{color:var(--muted)}.leaderboard-row.me{background:color-mix(in srgb, var(--blue) 10%, var(--panel));border-radius:12px}.leaderboard-open-link{width:fit-content;margin:18px 12px 4px}.teacher-leaderboard-page{min-height:100dvh}.teacher-leaderboard-header{border-bottom:2px solid var(--line);justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:24px;padding-bottom:22px;display:flex}.teacher-leaderboard-header h1{margin:4px 0 8px;font-size:clamp(34px,5vw,52px);line-height:1}.teacher-leaderboard-header>div:first-child>p:last-child{max-width:760px;color:var(--muted);margin:0}.teacher-leaderboard-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:10px;display:flex}.teacher-leaderboard-actions .inline-theme-switcher{position:static;inset:auto}.teacher-leaderboard-actions .secondary-btn{white-space:nowrap}.leaderboard-summary{grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:18px;display:grid}.leaderboard-summary article{grid-template-columns:auto 1fr;align-items:center;gap:3px 12px;padding:20px;display:grid}.leaderboard-summary svg{color:var(--blue);grid-row:1/3}.leaderboard-summary span{color:var(--muted);font-size:12px;font-weight:850}.leaderboard-summary strong{font-size:28px;line-height:1.1}.teacher-leaderboard-panel{padding:22px}.teacher-leaderboard-toolbar{grid-template-columns:minmax(180px,1fr) minmax(280px,420px) minmax(160px,220px) auto;align-items:end;gap:12px;margin-bottom:18px;display:grid}.teacher-leaderboard-toolbar h2{margin:0;font-size:25px}.teacher-leaderboard-toolbar p{color:var(--muted);margin:4px 0 0;font-size:12px}.leaderboard-search{margin:0;display:block;position:relative}.leaderboard-search svg{z-index:1;color:var(--muted);position:absolute;top:50%;left:14px;transform:translateY(-50%)}.leaderboard-search input{width:100%;padding-left:42px}.teacher-leaderboard-toolbar select{width:100%}.teacher-leaderboard-table{display:grid}.teacher-leaderboard-row{border-top:1px solid var(--line);grid-template-columns:72px minmax(210px,1.2fr) minmax(130px,.7fr) minmax(170px,.8fr) 80px 90px;align-items:center;gap:14px;min-height:62px;padding:10px 12px;display:grid}.teacher-leaderboard-row.head{min-height:42px;color:var(--muted);letter-spacing:.05em;text-transform:uppercase;border-top:0;font-size:10px;font-weight:900}.teacher-leaderboard-row.top-1,.teacher-leaderboard-row.top-2,.teacher-leaderboard-row.top-3{border:1px solid color-mix(in srgb, var(--yellow) 50%, var(--line));background:color-mix(in srgb, var(--yellow) 7%, var(--panel));border-radius:12px;margin:2px 0}.leaderboard-place{font-size:18px}.leaderboard-score{color:var(--vermilion-dark);font-size:20px}.leaderboard-loading,.leaderboard-error,.leaderboard-access-card{text-align:center;padding:48px 24px}.leaderboard-error{color:var(--danger);justify-content:center;gap:12px;display:flex}.leaderboard-error button{color:var(--blue-dark);background:0 0;border:0;font-weight:900;text-decoration:underline}.leaderboard-access-card{justify-items:center;max-width:560px;margin:90px auto;display:grid}.leaderboard-access-card svg{color:var(--yellow)}.leaderboard-access-card h2{margin-bottom:0}.leaderboard-access-card p{color:var(--muted)}@media (max-width:980px){.leaderboard-summary{grid-template-columns:repeat(2,1fr)}.teacher-leaderboard-toolbar{grid-template-columns:1fr 1fr auto}.teacher-leaderboard-toolbar>div:first-child{grid-column:1/-1}.teacher-leaderboard-table{overflow-x:auto}.teacher-leaderboard-row{min-width:850px}}@media (max-width:620px){.teacher-leaderboard-page{padding:15px 12px 32px}.teacher-leaderboard-header{flex-direction:column;align-items:flex-start}.teacher-leaderboard-header h1{font-size:36px}.teacher-leaderboard-actions{justify-content:space-between;width:100%}.teacher-leaderboard-actions .inline-theme-switcher span{display:none}.leaderboard-summary{gap:8px}.leaderboard-summary article{padding:14px}.leaderboard-summary strong{font-size:23px}.teacher-leaderboard-panel{padding:14px}.teacher-leaderboard-toolbar{grid-template-columns:1fr auto}.leaderboard-search{grid-column:1/-1}.teacher-leaderboard-row.head{display:none}.teacher-leaderboard-table{gap:9px;overflow:visible}.teacher-leaderboard-row{border:2px solid var(--line);border-bottom-width:4px;border-radius:14px;grid-template-columns:42px 1fr auto;min-width:0;padding:13px}.teacher-leaderboard-row>span:first-of-type{grid-column:2/3}.teacher-leaderboard-row>span:nth-of-type(2),.teacher-leaderboard-row>span:nth-of-type(3),.teacher-leaderboard-row>span:nth-of-type(4){color:var(--muted);grid-column:2/4;font-size:12px}.teacher-leaderboard-row>span:nth-of-type(2):before{content:"Группа: ";font-weight:850}.teacher-leaderboard-row>span:nth-of-type(3):before{content:"Преподаватель: ";font-weight:850}.teacher-leaderboard-row>span:nth-of-type(4):before{content:"Тестов: ";font-weight:850}.leaderboard-place{grid-row:1/5;align-self:start}.leaderboard-score{grid-area:1/3}}.answer-explanation{background:color-mix(in srgb, var(--blue) 9%, var(--panel));color:var(--ink-soft);border-radius:11px;margin-top:10px;padding:12px;line-height:1.5}.ai-integrations-page{min-height:100dvh}.ai-page-header h1{max-width:760px}.ai-notice{z-index:100;border:2px solid var(--green);background:var(--panel);box-shadow:var(--shadow);color:var(--ink);border-radius:14px;align-items:center;gap:9px;padding:12px 16px;font-weight:850;animation:.2s ease-out toast-in;display:flex;position:fixed;top:18px;left:50%;transform:translate(-50%)}.ai-notice svg{color:var(--green)}.ai-summary-grid{grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:18px;display:grid}.ai-summary-grid article{grid-template-columns:auto 1fr;align-items:center;gap:4px 12px;padding:20px;display:grid}.ai-summary-grid svg{color:var(--blue);grid-row:1/3}.ai-summary-grid span{color:var(--muted);font-size:12px;font-weight:850}.ai-summary-grid strong{font-size:24px}.ai-connect-grid{grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px;display:grid}.ai-connect-card{align-content:start;gap:18px;padding:24px;display:grid}.ai-connect-card h2,.ai-token-reveal h2,.ai-management-panel h2{margin:3px 0 8px;font-size:25px}.ai-connect-card p:not(.eyebrow),.ai-token-reveal p,.ai-management-panel .section-heading p:last-child{color:var(--muted);margin:0;line-height:1.55}.ai-card-icon{background:color-mix(in srgb, var(--blue) 14%, var(--panel));width:52px;height:52px;color:var(--blue-dark);border-radius:15px;place-items:center;display:grid}.ai-card-icon.alternate{background:color-mix(in srgb, var(--green) 16%, var(--panel));color:var(--green-dark)}.ai-connect-card ol{color:var(--muted);gap:8px;margin:0;padding-left:22px;font-size:13px;line-height:1.45;display:grid}.copy-field{border:2px solid var(--line);background:var(--surface-soft);border-bottom-width:4px;border-radius:13px;grid-template-columns:minmax(0,1fr) 44px;align-items:center;display:grid;overflow:hidden}.copy-field code{min-width:0;color:var(--ink);text-overflow:ellipsis;white-space:nowrap;padding:13px 14px;font-size:12px;overflow:hidden}.copy-field button{border:0;border-left:2px solid var(--line);background:var(--panel);color:var(--blue-dark);cursor:pointer;align-self:stretch;place-items:center;display:grid}.copy-field button:disabled{cursor:wait;opacity:.5}.copy-field svg{width:17px}.copy-field.subtle{margin-top:auto}.ai-token-form{grid-template-columns:1fr auto;align-items:end;gap:10px;display:grid}.ai-token-form label{margin:0}.ai-token-form .primary-btn{white-space:nowrap;min-height:48px}.ai-free-import-panel{border-color:color-mix(in srgb, var(--green) 65%, var(--line));gap:20px;margin-bottom:18px;padding:24px;display:grid}.ai-free-heading{grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:15px;display:grid}.ai-free-heading h2{margin:3px 0 7px;font-size:28px}.ai-free-heading p:not(.eyebrow){color:var(--muted);margin:0;line-height:1.5}.ai-free-heading>span{background:color-mix(in srgb, var(--green) 14%, var(--panel));color:var(--green-dark);border-radius:999px;padding:7px 10px;font-size:10px;font-weight:900}.ai-free-steps{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.ai-free-steps article{background:var(--surface-soft);border-radius:12px;align-items:center;gap:10px;padding:13px;display:flex}.ai-free-steps b{background:var(--green);color:#fff;border-radius:50%;flex:0 0 32px;place-items:center;height:32px;display:grid}.ai-free-steps span{gap:2px;display:grid}.ai-free-steps small{color:var(--muted);font-size:9px}.ai-free-settings{grid-template-columns:1fr 1.4fr 1fr 110px;gap:10px;display:grid}.ai-free-settings label{margin:0}.ai-free-settings input,.ai-free-settings select{width:100%}.ai-free-provider{justify-content:space-between;align-items:center;gap:12px;display:flex}.ai-free-provider>span{color:var(--muted);font-size:12px;font-weight:850}.ai-free-provider>div{flex-wrap:wrap;gap:7px;display:flex}.ai-free-provider button{border:2px solid var(--line);background:var(--panel);min-height:38px;color:var(--ink);cursor:pointer;border-radius:10px;padding:7px 13px;font-weight:850}.ai-free-provider button.active{border-color:var(--blue);background:color-mix(in srgb, var(--blue) 9%, var(--panel));color:var(--blue-dark)}.ai-free-actions{flex-wrap:wrap;gap:10px;display:flex}.ai-free-actions>*{justify-content:center}.ai-response-field{margin:0}.ai-response-field>span{margin-bottom:7px;font-size:13px;font-weight:900;display:block}.ai-response-field textarea{resize:vertical;min-height:190px;font-family:var(--font-mono,monospace);tab-size:4;white-space:pre;font-size:12px;line-height:1.6}.ai-response-field>small{color:var(--muted);margin-top:7px;font-size:11px;line-height:1.5;display:block}.ai-response-field>small code{background:var(--surface-soft);color:var(--ink);border-radius:5px;padding:2px 5px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.ai-free-submit{justify-content:space-between;align-items:center;gap:14px;padding-top:4px;display:flex}.ai-free-submit>div{align-items:center;gap:10px;display:flex}.ai-free-submit>div>svg{color:var(--green-dark)}.ai-free-submit span{gap:2px;display:grid}.ai-free-submit small{color:var(--muted);font-size:10px}.ai-free-submit button{justify-content:center}.ai-howto-panel{gap:20px;margin-bottom:18px;padding:22px;display:grid}.ai-howto-panel .section-heading{margin:0}.ai-platform-picker{grid-template-columns:repeat(3,1fr);gap:10px;display:grid}.ai-platform-picker button{border:2px solid var(--line);background:var(--surface-soft);min-width:0;color:var(--ink);text-align:left;cursor:pointer;border-bottom-width:4px;border-radius:13px;align-items:center;gap:10px;padding:14px;display:flex}.ai-platform-picker button:hover,.ai-platform-picker button.active{border-color:var(--blue);background:color-mix(in srgb, var(--blue) 9%, var(--panel))}.ai-platform-picker button.active{color:var(--blue-dark)}.ai-platform-picker button>span{gap:2px;min-width:0;font-weight:900;display:grid}.ai-platform-picker small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:9px;font-weight:700;overflow:hidden}.ai-wizard-progress{gap:8px;display:grid}.ai-wizard-progress>div:first-child{color:var(--muted);justify-content:space-between;gap:10px;font-size:11px;font-weight:850;display:flex}.ai-progress-track{background:var(--surface-soft);border-radius:999px;height:8px;overflow:hidden}.ai-progress-track span{border-radius:inherit;background:var(--green);height:100%;transition:width .25s;display:block}.ai-wizard-step{border:2px solid var(--line);background:var(--surface-soft);border-bottom-width:5px;border-radius:16px;grid-template-columns:auto minmax(0,1fr);gap:16px;min-height:220px;padding:22px;display:grid}.ai-step-number{background:var(--blue);color:#fff;border-radius:50%;place-items:center;width:48px;height:48px;font-size:20px;font-weight:950;display:grid}.ai-wizard-step>div{align-content:start;gap:12px;display:grid}.ai-wizard-step h3{margin:0;font-size:27px}.ai-wizard-step p:not(.eyebrow){max-width:760px;color:var(--ink-soft);margin:0;font-size:15px;line-height:1.6}.ai-wizard-step .copy-field{width:min(100%,680px);margin-top:5px}.ai-wizard-step .primary-btn{width:fit-content;margin-top:5px}.ai-wizard-nav{grid-template-columns:auto 1fr auto;align-items:center;gap:14px;display:grid}.ai-wizard-nav>button{justify-content:center;min-width:130px}.ai-step-dots{justify-content:center;gap:7px;display:flex}.ai-step-dots button{background:var(--line);cursor:pointer;border:0;border-radius:50%;width:10px;height:10px;padding:0}.ai-step-dots button.done{background:var(--green)}.ai-step-dots button.active{background:var(--blue);border-radius:999px;width:28px}.ai-prompt-preview{border-top:1px solid var(--line);padding-top:14px}.ai-prompt-preview summary{width:fit-content;color:var(--blue-dark);cursor:pointer;font-size:12px;font-weight:900}.ai-prompt-preview[open] summary{margin-bottom:12px}.ai-ready-prompt{border:2px solid var(--line);background:var(--surface-soft);border-radius:14px;position:relative;overflow:hidden}.ai-ready-prompt pre{max-height:330px;color:var(--ink);font:650 12px/1.65 var(--font-mono,monospace);white-space:pre-wrap;margin:0;padding:18px 64px 18px 18px;overflow:auto}.ai-ready-prompt .icon-btn{background:var(--panel);position:absolute;top:10px;right:10px}.ai-secret-note{background:color-mix(in srgb, var(--green) 10%, var(--panel));color:var(--ink-soft);border-radius:12px;grid-template-columns:auto 1fr;align-items:start;gap:10px;margin:0;padding:13px;font-size:12px;line-height:1.5;display:grid}.ai-secret-note svg{color:var(--green-dark)}.ai-token-reveal{border-color:var(--green);grid-template-columns:minmax(210px,.55fr) 1fr;align-items:center;gap:22px;margin-bottom:18px;padding:22px;display:grid}.ai-management-panel{margin-bottom:18px;padding:22px}.ai-access-list,.ai-history-list{gap:8px;display:grid}.ai-access-list article,.ai-history-list article{border:1px solid var(--line);background:var(--surface-soft);border-radius:13px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:13px;padding:14px;display:grid}.ai-access-list article.revoked{opacity:.62}.ai-access-list article>div:nth-child(2),.ai-history-list article>div:nth-child(2){gap:3px;min-width:0;display:grid}.ai-access-list span,.ai-history-list span{color:var(--muted);font-size:12px}.ai-access-list small,.ai-history-list small{color:var(--muted);font-size:10px}.ai-access-kind,.ai-history-icon{background:color-mix(in srgb, var(--blue) 12%, var(--panel));width:40px;height:40px;color:var(--blue-dark);border-radius:11px;place-items:center;display:grid}.ai-access-list .danger-btn{min-height:38px;padding:8px 10px}.ai-access-list .danger-btn svg{width:15px}.ai-status{background:var(--panel);border-radius:999px;padding:6px 9px;font-weight:900;font-size:10px!important}.ai-status.draft{color:var(--blue-dark)}.ai-status.published{color:var(--green-dark)}.ai-history-list .empty-state{justify-content:center;gap:9px;display:flex}.oauth-shell{background:var(--page);place-items:center;min-height:100dvh;padding:20px;display:grid}.oauth-card{width:min(100%,560px);padding:30px}.oauth-logo{width:170px;margin-bottom:36px}.oauth-card h1{margin:6px 0 12px;font-size:clamp(30px,7vw,43px);line-height:1.05}.oauth-lead{color:var(--muted);margin:0 0 24px;line-height:1.55}.oauth-login{gap:13px;display:grid}.oauth-login label{margin:0}.oauth-login .primary-btn{justify-content:center;margin-top:6px}.oauth-permission{border:2px solid var(--line);background:var(--surface-soft);border-radius:15px;grid-template-columns:auto 1fr;gap:13px;margin:22px 0;padding:17px;display:grid}.oauth-permission div{gap:5px;display:grid}.oauth-permission span{color:var(--muted);font-size:13px;line-height:1.5}.oauth-actions{justify-content:flex-end;gap:10px;margin-top:24px;display:flex}.oauth-actions button{justify-content:center}.oauth-inline-error{background:color-mix(in srgb, var(--danger) 10%, var(--panel));color:var(--danger);border-radius:10px;padding:11px 13px;font-size:13px;font-weight:800}.oauth-loading,.oauth-error{text-align:center;justify-items:center;padding:50px 10px;display:grid}.oauth-loading svg,.oauth-error svg{color:var(--blue)}.launch-access-actions{flex-wrap:wrap;gap:10px;display:flex}.group-directory{grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0 24px;display:grid}.directory-group-card{justify-content:space-between;align-items:center;gap:14px;padding:17px;display:flex}.directory-group-card>div{gap:4px;display:grid}.directory-group-card span{color:var(--muted);font-size:12px}.student-account-list{gap:6px;max-height:360px;padding:0;list-style:none;display:grid;overflow-y:auto}.student-account-list li{background:var(--surface-soft);border-radius:10px;justify-content:space-between;align-items:center;gap:10px;padding:9px;display:flex}.student-account-list li>span{gap:3px;display:grid}.student-account-list code{color:var(--blue-dark);font-weight:900}.student-access-actions{flex-wrap:wrap;justify-content:flex-end;gap:6px;display:flex}.student-account-list button{background:var(--panel);min-height:34px;color:var(--muted);border:0;border-radius:8px;align-items:center;gap:5px;padding:6px 8px;font-size:10px;font-weight:850;display:inline-flex}.teacher-agent{z-index:1200;justify-items:end;gap:12px;font-family:inherit;display:grid;position:fixed;bottom:22px;right:22px}.teacher-agent-trigger{border:2px solid color-mix(in srgb, var(--green) 75%, var(--line));background:var(--green);color:#15210f;cursor:pointer;border-bottom-width:5px;border-radius:18px;place-items:center;width:58px;height:58px;padding:0;transition:transform .16s,border-bottom-width .16s;display:grid;position:relative;box-shadow:0 12px 32px #0e1d2633}.teacher-agent-trigger:hover{transform:translateY(-2px)}.teacher-agent-trigger:active{border-bottom-width:2px;transform:translateY(2px)}.teacher-agent-trigger span{border:2px solid var(--page);background:var(--ink);color:var(--panel);letter-spacing:.05em;border-radius:7px;padding:3px 5px;font-size:8px;font-weight:950;position:absolute;top:-6px;right:-5px}.teacher-agent-panel{border:1px solid var(--line);background:var(--panel);border-radius:22px;grid-template-rows:auto minmax(220px,1fr) auto auto;width:min(430px,100vw - 28px);height:min(660px,100dvh - 108px);display:grid;overflow:hidden;box-shadow:0 24px 70px #08141e3d}.teacher-agent-panel header{border-bottom:1px solid var(--line);background:var(--panel);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;min-height:68px;padding:12px 14px;display:grid}.teacher-agent-title{gap:3px;min-width:0;display:grid}.teacher-agent-panel header strong{text-overflow:ellipsis;white-space:nowrap;font-size:14px;overflow:hidden}.teacher-agent-panel header small{color:var(--muted);align-items:center;gap:6px;font-size:10px;display:flex}.teacher-agent-panel header small i{background:var(--green-dark);width:7px;height:7px;box-shadow:0 0 0 3px color-mix(in srgb, var(--green) 18%, transparent);border-radius:50%}.teacher-agent-header-actions{gap:5px;display:flex}.teacher-agent-panel header button{width:34px;height:34px;color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:10px;place-items:center;padding:0;transition:background .16s,color .16s;display:grid}.teacher-agent-panel header button:hover{background:var(--surface-soft);color:var(--ink)}.teacher-agent-mark{background:color-mix(in srgb, var(--green) 20%, var(--panel));width:40px;height:40px;color:var(--green-dark);border-radius:12px;place-items:center;display:grid}.teacher-agent-messages{overscroll-behavior:contain;background:color-mix(in srgb, var(--surface-soft) 48%, var(--panel));scrollbar-width:thin;flex-direction:column;gap:13px;padding:18px 16px;display:flex;overflow-y:auto}.agent-welcome{border:1px solid color-mix(in srgb, var(--blue) 24%, var(--line));background:var(--panel);border-radius:15px;grid-template-columns:auto 1fr;gap:12px;padding:15px;display:grid}.agent-welcome>span{background:color-mix(in srgb, var(--blue) 12%, var(--panel));width:34px;height:34px;color:var(--blue-dark);border-radius:10px;place-items:center;display:grid}.agent-welcome div{gap:4px;display:grid}.agent-welcome strong{font-size:13px}.agent-welcome p{color:var(--muted);margin:0;font-size:11px;line-height:1.55}.agent-message-row{grid-template-columns:28px minmax(0,1fr);align-items:end;gap:8px;max-width:91%;display:grid}.agent-message-row.user{grid-template-columns:minmax(0,1fr) 28px;align-self:flex-end}.agent-message-row.user .agent-avatar{background:color-mix(in srgb, var(--blue) 16%, var(--panel));color:var(--blue-dark);grid-area:1/2}.agent-message-row.user .agent-message{border-color:var(--blue);background:var(--blue);color:#fff;border-radius:15px 15px 4px;grid-area:1/1}.agent-avatar{border:1px solid var(--line);background:color-mix(in srgb, var(--green) 17%, var(--panel));width:28px;height:28px;color:var(--green-dark);border-radius:9px;place-items:center;display:grid}.agent-message{border:1px solid var(--line);background:var(--panel);min-width:0;color:var(--ink);overflow-wrap:anywhere;border-radius:15px 15px 15px 4px;padding:10px 12px;font-size:12px;line-height:1.55}.agent-message-copy{gap:5px;display:grid}.agent-message-copy p{margin:0}.agent-message-copy strong{font-weight:900}.agent-paragraph-gap{height:3px}.agent-list-line{grid-template-columns:18px minmax(0,1fr);gap:4px;display:grid}.agent-list-line>b{color:var(--blue-dark);text-align:center}.agent-message-row.user .agent-list-line>b{color:#fff}.agent-message.thinking{gap:4px;display:flex}.agent-message.thinking i{background:var(--blue);border-radius:50%;width:6px;height:6px;animation:1s ease-in-out infinite agent-pulse}.agent-message.thinking i:nth-child(2){animation-delay:.15s}.agent-message.thinking i:nth-child(3){animation-delay:.3s}@keyframes agent-pulse{50%{opacity:.3;transform:translateY(-2px)}}.agent-empty{text-align:center;justify-items:center;gap:9px;margin:auto 0;padding:24px;display:grid}.agent-empty>svg{width:38px;height:38px;color:var(--green-dark)}.agent-empty p{color:var(--muted);margin:0;font-size:12px;line-height:1.5}.agent-empty a,.agent-actions a{color:var(--blue-dark);align-items:center;gap:6px;font-size:12px;font-weight:900;text-decoration:none;display:inline-flex}.agent-suggestions{flex-wrap:wrap;gap:7px;display:flex}.agent-suggestions button{border:1px solid var(--line);background:var(--panel);color:var(--blue-dark);cursor:pointer;border-radius:999px;padding:8px 10px;font-size:10px;font-weight:850;transition:border-color .16s,transform .16s}.agent-suggestions button:hover{border-color:var(--blue);transform:translateY(-1px)}.agent-actions{gap:6px;margin-left:36px;display:grid}.agent-actions a{border:1px solid var(--line);background:var(--panel);border-radius:10px;justify-content:space-between;padding:9px 11px}.agent-error{border:1px solid color-mix(in srgb, var(--danger) 25%, var(--line));background:color-mix(in srgb, var(--danger) 9%, var(--panel));color:var(--danger);border-radius:11px;padding:10px 12px;font-size:11px;font-weight:800}.agent-composer{border-top:1px solid var(--line);background:var(--panel);gap:6px;padding:10px 12px 7px;display:grid}.teacher-agent-panel .agent-composer form{border:1px solid var(--line);background:var(--surface-soft);border-radius:15px;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:8px;padding:5px 5px 5px 12px;transition:border-color .16s,box-shadow .16s;display:grid}.teacher-agent-panel .agent-composer form:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px color-mix(in srgb, var(--blue) 12%, transparent)}.teacher-agent-panel .agent-composer textarea{resize:none;min-height:34px;max-height:180px;color:var(--ink);font:inherit;background:0 0;border:0;outline:0;padding:8px 0 6px;font-size:12px;line-height:1.45}.teacher-agent-panel .agent-composer textarea::placeholder{color:var(--muted)}.teacher-agent-panel .agent-composer form button{background:var(--blue);color:#fff;cursor:pointer;border:0;border-radius:11px;place-items:center;width:40px;height:40px;padding:0;display:grid}.teacher-agent-panel .agent-composer form button:disabled{opacity:.4;cursor:default}.agent-composer>div{color:var(--muted);justify-content:space-between;gap:8px;padding:0 4px;font-size:8px;display:flex}.agent-composer>div span{align-items:center;gap:3px;display:flex}.teacher-agent-panel footer{background:var(--panel);color:var(--muted);text-align:center;padding:0 12px 9px;font-size:9px}.owner-analytics-page,.support-page{gap:22px;display:grid}.owner-stat-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;display:grid}.owner-stat-grid article{border-bottom-width:4px;gap:7px;min-height:146px;padding:19px;display:grid}.owner-stat-grid svg{color:var(--blue-dark)}.owner-stat-grid span{color:var(--muted);font-size:12px}.owner-stat-grid strong{font-size:31px;line-height:1}.owner-stat-grid small{color:var(--muted);font-size:10px;line-height:1.4}.owner-stat-grid a{color:var(--blue-dark);font-weight:850;text-decoration:none}.owner-analytics-grid{grid-template-columns:minmax(0,1.65fr) minmax(280px,.65fr);gap:14px;display:grid}.owner-chart-card,.owner-teacher-usage{padding:24px}.owner-chart-legend{flex-wrap:wrap;gap:15px;margin:13px 0 4px;display:flex}.owner-chart-legend span{color:var(--muted);align-items:center;gap:6px;font-size:10px;display:flex}.owner-chart-legend i{border-radius:3px;width:9px;height:9px}.owner-daily-chart{grid-template-columns:repeat(30,minmax(10px,1fr));align-items:stretch;gap:4px;height:260px;padding-top:20px;display:grid;overflow-x:auto}.owner-day{grid-template-rows:minmax(190px,1fr) 18px;gap:5px;min-width:12px;display:grid}.owner-day>div{border-bottom:1px solid var(--line);justify-content:center;align-items:end;gap:1px;height:100%;display:flex}.owner-day i{border-radius:3px 3px 0 0;width:3px;min-height:0}.owner-day span{color:var(--muted);white-space:nowrap;font-size:8px}.owner-chart-legend .teacher,.owner-day .teacher{background:var(--blue)}.owner-chart-legend .student,.owner-day .student{background:var(--green-dark)}.owner-chart-legend .tests,.owner-day .tests{background:var(--vermilion)}.owner-chart-legend .ai,.owner-day .ai{background:var(--ink)}.owner-adoption{align-content:start;gap:14px;display:grid}.owner-adoption article{grid-template-columns:84px minmax(0,1fr);align-items:center;gap:13px;padding:17px;display:grid}.owner-adoption h3,.owner-adoption p{margin:0}.owner-adoption p{color:var(--muted);margin:4px 0 8px;font-size:10px;line-height:1.45}.owner-adoption strong{font-size:11px}.owner-ring{place-items:center;width:80px;height:80px;display:grid;position:relative}.owner-ring svg{width:100%;height:100%;position:absolute;inset:0;transform:rotate(-90deg)}.owner-ring circle{fill:none;stroke:var(--line);stroke-width:5px}.owner-ring circle.value{stroke:var(--blue);stroke-linecap:round;stroke-dasharray:calc(var(--value) * 1.068) 106.8}.owner-ring.green circle.value{stroke:var(--green-dark)}.owner-ring b{font-size:16px}.owner-summary-card>svg{width:38px;height:38px;color:var(--vermilion);place-self:center;display:grid}.owner-summary-card div>strong{font-size:26px}.owner-teacher-table{display:grid;overflow-x:auto}.owner-teacher-table>div{border-bottom:1px solid var(--line);grid-template-columns:minmax(180px,1.5fr) repeat(4,minmax(70px,.55fr)) minmax(150px,1fr);align-items:center;gap:12px;min-width:780px;padding:12px 8px;display:grid}.owner-teacher-table>div:last-child{border-bottom:0}.owner-teacher-table .head{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:9px;font-weight:900}.owner-teacher-table span{gap:2px;font-size:11px;display:grid}.owner-teacher-table small{color:var(--muted)}.owner-analytics-error{color:var(--danger);gap:10px;padding:24px;display:grid}.owner-analytics-error a{color:var(--blue-dark)}.telegram-connect-card{border-color:color-mix(in srgb, var(--blue) 35%, var(--line));grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:18px;display:grid}.telegram-connect-card.connected{border-color:color-mix(in srgb, var(--green-dark) 45%, var(--line))}.telegram-connect-card>span{background:color-mix(in srgb, var(--blue) 12%, var(--panel));width:44px;height:44px;color:var(--blue-dark);border-radius:13px;place-items:center;display:grid}.telegram-connect-card.connected>span{background:color-mix(in srgb, var(--green) 16%, var(--panel));color:var(--green-dark)}.telegram-connect-card h2,.telegram-connect-card p{margin:0}.telegram-connect-card h2{font-size:15px}.telegram-connect-card p{color:var(--muted);margin-top:4px;font-size:11px}.telegram-connect-card>div:last-child{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.support-layout{grid-template-columns:minmax(300px,.72fr) minmax(0,1.28fr);align-items:start;gap:16px;display:grid}.support-form{gap:14px;padding:24px;display:grid}.support-form-icon{background:color-mix(in srgb, var(--vermilion) 12%, var(--panel));width:46px;height:46px;color:var(--vermilion);border-radius:14px;place-items:center;display:grid}.support-form h2,.support-form p{margin:0}.support-form p:not(.eyebrow){color:var(--muted);font-size:11px}.support-form label{margin:0}.support-form label>small{color:var(--muted);margin-top:5px;font-size:10px;display:block}.support-form textarea{resize:vertical;min-height:170px}.support-room-picker{gap:9px;display:grid}.support-room-picker>strong{font-size:12px}.support-room-picker>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.support-room-picker button{border:2px solid var(--line);background:var(--panel);min-height:44px;color:var(--ink-soft);text-align:left;border-bottom-width:4px;border-radius:12px;justify-content:flex-start;align-items:center;gap:7px;padding:9px 11px;font-size:11px;font-weight:850;display:flex}.support-room-picker button:hover{border-color:var(--line-dark)}.support-room-picker button.active{border-color:var(--vermilion);background:color-mix(in srgb, var(--vermilion) 10%, var(--panel));color:var(--vermilion-dark)}.support-room-picker button:active{border-bottom-width:2px;transform:translateY(2px)}.support-room-picker small{color:var(--muted);font-size:10px}.support-form-validation{border:2px solid color-mix(in srgb, var(--danger) 40%, var(--line));background:color-mix(in srgb, var(--danger) 8%, var(--panel));color:var(--danger);border-radius:12px;align-items:center;gap:8px;padding:11px 12px;font-size:12px;font-weight:800;display:flex}.support-form-validation svg{flex:none}.telegram-reply-card{border:2px solid color-mix(in srgb, var(--blue) 32%, var(--line));background:color-mix(in srgb, var(--blue) 6%, var(--panel));border-radius:13px;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px;display:grid}.telegram-reply-card.connected{border-color:color-mix(in srgb, var(--green-dark) 40%, var(--line));background:color-mix(in srgb, var(--green) 8%, var(--panel))}.telegram-reply-card>span{background:var(--panel);width:38px;height:38px;color:var(--blue-dark);border-radius:11px;place-items:center;display:grid}.telegram-reply-card.connected>span{color:var(--green-dark)}.telegram-reply-card>span svg{width:19px}.telegram-reply-card>div:not(.telegram-reply-steps){gap:3px;min-width:0;display:grid}.telegram-reply-card strong{font-size:11px}.telegram-reply-card small{color:var(--muted);font-size:9px;line-height:1.4}.telegram-reply-steps{flex-wrap:wrap;grid-column:1/-1;gap:7px;display:flex}.telegram-reply-steps>*{flex:150px}.support-problem-presets{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.support-problem-presets button{border:2px solid var(--line);background:var(--surface-soft);min-height:42px;color:var(--ink-soft);text-align:left;border-radius:11px;align-items:center;gap:8px;padding:8px 10px;font-size:11px;font-weight:800;display:flex}.support-problem-presets button.active{border-color:var(--green-dark);background:color-mix(in srgb, var(--green) 11%, var(--panel));color:var(--ink)}.support-problem-presets span{font-size:18px}.support-ticket-open{width:100%;color:inherit;text-align:left;background:0 0;border:0;gap:6px;padding:0;display:grid}.support-ticket-dialog{border-radius:20px;width:min(720px,100vw - 24px);max-height:calc(100vh - 28px);padding:24px;overflow:auto}.support-ticket-dialog>header{border-bottom:2px solid var(--line);justify-content:space-between;gap:18px;padding-bottom:16px;display:flex}.support-ticket-dialog h2,.support-ticket-dialog p{margin:0}.support-ticket-dialog header span{color:var(--muted);font-size:11px}.support-dialog-copy,.support-comments,.support-reply{gap:10px;margin-top:17px;display:grid}.support-dialog-copy>p{background:var(--surface-soft);white-space:pre-wrap;border-radius:13px;padding:15px;line-height:1.6}.support-resolution{border:2px solid color-mix(in srgb, var(--green) 40%, var(--line));background:color-mix(in srgb, var(--green) 8%, var(--panel));border-radius:13px;padding:14px}.support-comments article{border:1px solid var(--line);border-radius:12px;padding:12px}.support-comments article strong{display:block}.support-comments article small{color:var(--muted)}.support-comments article p{white-space:pre-wrap;margin-top:7px}.support-reply textarea{min-height:90px}.support-ticket-list{gap:10px;display:grid}.support-ticket{gap:10px;padding:19px;display:grid}.support-ticket h3,.support-ticket p{margin:0}.support-ticket p{color:var(--muted);white-space:pre-wrap;font-size:12px;line-height:1.55}.support-ticket-head,.support-ticket footer{justify-content:space-between;align-items:center;gap:10px;display:flex}.support-ticket-head small{color:var(--muted);font-size:9px}.ticket-status{background:color-mix(in srgb, var(--vermilion) 12%, var(--panel));color:var(--vermilion);border-radius:999px;padding:5px 8px;font-size:9px;font-weight:900}.ticket-status.resolved{background:color-mix(in srgb, var(--green) 18%, var(--panel));color:var(--green-dark)}.support-ticket footer span{color:var(--muted);align-items:center;gap:5px;font-size:10px;display:flex}.support-ticket-photo{border:1px solid var(--line);object-fit:contain;background:var(--soft);border-radius:16px;width:min(100%,720px);max-height:520px;margin-top:14px;display:block}.open-answer-criteria,.open-question textarea{min-height:150px}.quiz-protected input,.quiz-protected textarea{-webkit-user-select:none;user-select:none}.admin-header,.teacher-leaderboard-header,.landing-nav,.student-portal-head,.quiz-top{z-index:40;background:color-mix(in srgb, var(--paper) 94%, transparent);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);position:sticky;top:0}.embedded-admin-page{gap:20px;min-width:0;display:grid}.embedded-page-heading{margin-bottom:2px}@media (max-width:800px){html,body{max-width:100%;overflow-x:hidden}.landing-shell,.site-shell,.student-login-shell{width:100%;min-width:0}.landing-shell{padding:14px 14px 36px}.landing-nav,.landing-nav>*,.landing-hero>*,.start-grid>*,.student-portal-grid>*{min-width:0}.landing-nav .theme-switcher{display:none}.landing-brand-logo{width:146px;max-width:58vw}.student-brand-logo,.student-portal-logo,.guide-brand-logo,.admin-brand-logo{width:138px;max-width:52vw}.landing-hero{grid-template-columns:minmax(0,1fr);gap:24px;width:100%;max-width:100%;min-height:auto;padding:70px 0 28px;overflow:hidden}.landing-hero>div,.landing-visual{width:100%;max-width:100%}.landing-hero h1,.student-login-shell .intro h1{overflow-wrap:anywhere;word-break:break-word;max-width:100%;font-size:clamp(38px,11.5vw,47px)}.landing-hero>div:first-child>p:not(.eyebrow),.student-login-shell .intro>p:not(.eyebrow){overflow-wrap:anywhere;max-width:100%}.landing-actions>*{max-width:100%}.landing-visual{transform:none}.landing-features,.student-assignment-list,.group-directory,.landing-callout{grid-template-columns:1fr}.landing-footer{flex-direction:column;align-items:flex-start}.student-welcome,.student-portal-grid{grid-template-columns:1fr}.student-password-card{position:static}.leaderboard{padding:14px 8px;overflow-x:auto}.leaderboard-row{min-width:650px}.student-account-list li{flex-direction:column;align-items:flex-start}.student-access-actions{justify-content:flex-start;width:100%}.guide-tour-button{display:none}.ai-summary-grid,.ai-connect-grid,.ai-token-reveal{grid-template-columns:1fr}.ai-free-heading{grid-template-columns:auto 1fr}.ai-free-heading>span{grid-column:2;justify-self:start}.ai-free-steps,.ai-free-settings{grid-template-columns:1fr 1fr}.ai-platform-picker{grid-template-columns:1fr}.ai-wizard-step{grid-template-columns:1fr;min-height:270px;padding:17px}.ai-wizard-nav{grid-template-columns:1fr 1fr}.ai-step-dots{grid-area:1/1/auto/-1}.ai-wizard-nav>button{min-width:0}.ai-connect-card,.ai-management-panel{padding:16px}.ai-token-form{grid-template-columns:1fr}.ai-access-list article,.ai-history-list article{grid-template-columns:auto minmax(0,1fr)}.ai-access-list article>button,.ai-access-list article>b,.ai-history-list article>.ai-status{grid-column:2;justify-self:start}.oauth-card{padding:22px}.oauth-logo{margin-bottom:28px}.teacher-agent{bottom:12px;right:12px}.teacher-agent-panel{height:min(560px,100dvh - 88px)}.teacher-agent-trigger{border-radius:16px;width:52px;height:52px}.owner-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.owner-analytics-grid,.support-layout{grid-template-columns:1fr}.telegram-connect-card{grid-template-columns:auto minmax(0,1fr)}.telegram-connect-card>div:last-child{grid-column:1/-1;justify-content:stretch}}@media (max-width:520px){.ai-code-rule-actions{grid-template-columns:1fr;display:grid}.ai-free-import-panel{padding:16px}.ai-free-heading{grid-template-columns:1fr}.ai-free-heading .ai-card-icon{display:none}.ai-free-heading>span{grid-column:1}.ai-free-steps,.ai-free-settings{grid-template-columns:1fr}.ai-free-provider,.ai-free-submit{flex-direction:column;align-items:stretch}.ai-free-provider>div{grid-template-columns:repeat(3,1fr);display:grid}.ai-free-provider button{padding-inline:6px}.ai-free-actions{display:grid}.ai-free-submit button{width:100%}.owner-stat-grid{grid-template-columns:1fr}.owner-stat-grid article{min-height:120px}.owner-adoption article{grid-template-columns:70px minmax(0,1fr)}.owner-ring{width:66px;height:66px}.telegram-connect-card{grid-template-columns:1fr}.telegram-connect-card>div:last-child{grid-column:1}}.helpdesk-shell{background:var(--paper);min-height:100dvh;color:var(--ink)}.helpdesk-scrim{z-index:78;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#1422286b;border:0;position:fixed;inset:0}.helpdesk-sidebar{z-index:80;border-right:2px solid var(--line);background:var(--panel);flex-direction:column;width:min(332px,90vw);padding:20px;transition:transform .22s;display:flex;position:fixed;inset:0 auto 0 0;transform:translate(-105%);box-shadow:18px 0 48px #14222829}.helpdesk-sidebar.open{transform:translate(0)}.helpdesk-brand{border-bottom:2px solid var(--line);justify-content:space-between;align-items:center;min-height:60px;padding:0 2px 17px;display:flex}.helpdesk-brand>button{border:2px solid var(--line);background:var(--panel);width:42px;height:42px;color:var(--ink);border-bottom-width:4px;border-radius:13px;place-items:center;display:grid}.helpdesk-brand>button:active{border-bottom-width:2px;transform:translateY(2px)}.helpdesk-brand>button svg{width:20px}.helpdesk-workspace{border:2px solid var(--line);background:var(--surface-soft);border-bottom-width:4px;border-radius:16px;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:12px;margin:18px 0 22px;padding:14px;display:grid}.helpdesk-workspace>span{background:var(--vermilion);border-radius:14px;place-items:center;width:48px;height:48px;font-size:14px;display:grid}.helpdesk-workspace strong{font-size:14px}.helpdesk-workspace small{font-size:11px}.helpdesk-workspace div{gap:3px;min-width:0;display:grid}.helpdesk-workspace i{background:var(--vermilion);border-radius:50%;width:8px;height:8px}.helpdesk-nav-label{margin:0 12px 9px;font-size:10px}.helpdesk-sidebar nav{gap:7px;display:grid}.helpdesk-sidebar nav button{text-align:left;border:2px solid #0000;border-radius:14px;align-items:center;gap:11px;min-height:52px;padding:12px 14px;font-size:14px;font-weight:850;display:flex}.helpdesk-sidebar nav button svg{width:21px}.helpdesk-sidebar nav button:hover{border-color:var(--line);background:var(--surface-soft);color:var(--ink)}.helpdesk-sidebar nav button.active{border-color:color-mix(in srgb, var(--vermilion) 40%, var(--line));background:color-mix(in srgb, var(--vermilion) 10%, var(--panel));box-shadow:none;color:var(--vermilion-dark)}.helpdesk-calm-card{display:none}.helpdesk-sidebar-bottom{margin-top:auto}.helpdesk-profile{border-top:2px solid var(--line);grid-template-columns:44px minmax(0,1fr) 42px;gap:11px;padding-top:16px;display:grid}.helpdesk-profile>span{background:var(--blue);color:#fff;text-transform:uppercase;border-radius:13px;place-items:center;width:44px;height:44px;font-weight:950;display:grid}.helpdesk-profile div{gap:2px;min-width:0;display:grid}.helpdesk-profile strong{font-size:13px}.helpdesk-profile small{font-size:10px}.helpdesk-profile button{border:2px solid var(--line);background:var(--panel);width:42px;height:42px;color:var(--muted);border-bottom-width:4px;border-radius:12px;place-items:center;display:grid}.helpdesk-main{min-height:100dvh;margin-left:0}.helpdesk-topbar{z-index:30;border-bottom:2px solid var(--line);background:color-mix(in srgb, var(--paper) 94%, transparent);justify-content:space-between;align-items:center;min-height:82px;padding:12px clamp(20px,4vw,58px);display:flex;position:sticky;top:0}.helpdesk-topbar-brand,.helpdesk-topbar-actions{align-items:center;gap:13px;display:flex}.helpdesk-topbar>div{font-size:12px}.helpdesk-topbar-brand>div{gap:2px;display:grid}.helpdesk-topbar-brand>div strong{font-size:13px}.helpdesk-topbar-brand>div span{color:var(--muted);font-size:10px}.helpdesk-menu{border:2px solid var(--line);background:var(--panel);width:46px;height:46px;color:var(--ink);border-bottom-width:4px;border-radius:14px;flex:none;place-items:center;display:grid}.helpdesk-menu:active{border-bottom-width:2px;transform:translateY(2px)}.helpdesk-menu svg{width:22px}.helpdesk-topbar-logo{width:144px;height:auto}.helpdesk-topbar .theme-switcher{position:static!important}.helpdesk-topbar .header-icon-button{flex:none}.helpdesk-content{width:100%;max-width:1480px;margin:0 auto;padding:44px clamp(24px,4vw,60px) 76px}.helpdesk-heading{justify-content:space-between;align-items:flex-end;gap:24px;margin-bottom:30px;display:flex}.helpdesk-heading>div{min-width:0}.helpdesk-heading h1{letter-spacing:-.045em;margin:7px 0 10px;font-size:clamp(38px,5vw,58px);font-weight:950;line-height:.98}.helpdesk-heading p:not(.eyebrow){max-width:760px;font-size:16px;line-height:1.55}.helpdesk-heading .secondary-btn{min-width:155px}.helpdesk-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:22px;display:grid}.helpdesk-stats article{border-bottom-width:5px;border:2px solid var(--line);background:var(--panel);border-bottom-width:5px;border-radius:18px;gap:10px;min-height:158px;padding:21px;display:grid}.helpdesk-stats article>span{color:var(--muted);justify-content:space-between;align-items:center;font-size:12px;font-weight:850;display:flex}.helpdesk-stats article svg{width:23px;color:var(--vermilion-dark)}.helpdesk-stats article strong{letter-spacing:-.04em;font-size:42px}.helpdesk-stats article small{font-size:11px}.helpdesk-queue{border:2px solid var(--line);background:var(--panel);border-bottom-width:5px;border-radius:19px;overflow:hidden}.helpdesk-queue-head{justify-content:space-between;padding:25px 24px 16px;display:flex}.helpdesk-queue-head h2,.helpdesk-queue-head p{margin:0}.helpdesk-queue-head h2 span{color:var(--vermilion-dark)}.helpdesk-queue-head p{margin-top:6px;font-size:12px}.helpdesk-status-tabs{gap:7px;padding:0 22px 16px;display:flex;overflow-x:auto}.helpdesk-status-tabs button{min-height:38px;color:var(--muted);white-space:nowrap;background:0 0;border:2px solid #0000;border-radius:11px;padding:8px 12px;font-size:11px;font-weight:850}.helpdesk-status-tabs button:hover{border-color:var(--line);color:var(--ink)}.helpdesk-status-tabs button.active{border-color:color-mix(in srgb, var(--vermilion) 34%, var(--line));background:color-mix(in srgb, var(--vermilion) 10%, var(--panel));color:var(--vermilion-dark)}.helpdesk-filters{border-block:2px solid var(--line);grid-template-columns:minmax(260px,1fr) 190px auto auto;gap:10px;padding:16px 22px;display:grid}.helpdesk-filters label{margin:0;position:relative}.helpdesk-filters label svg{width:17px;color:var(--muted);position:absolute;top:50%;left:13px;transform:translateY(-50%)}.helpdesk-filters label input{padding-left:39px}.helpdesk-filters input,.helpdesk-filters select{min-height:46px}.helpdesk-filters button{border:2px solid var(--line);background:var(--panel);min-height:46px;color:var(--muted);border-bottom-width:4px;border-radius:13px;padding:0 15px;font-size:11px;font-weight:850}.helpdesk-filters button.active{border-color:var(--vermilion);color:var(--vermilion-dark)}.helpdesk-ticket-table>.head,.helpdesk-ticket-table>button{grid-template-columns:minmax(280px,1.65fr) 145px 115px 175px;align-items:center;gap:18px;width:100%;display:grid}.helpdesk-ticket-table>.head{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;padding:13px 22px;font-size:10px;font-weight:900}.helpdesk-ticket-table>button{border:0;border-top:1px solid var(--line);min-height:92px;color:var(--ink);text-align:left;background:0 0;padding:17px 22px}.helpdesk-ticket-table>button>span{gap:4px;min-width:0;display:grid}.helpdesk-ticket-table>button>span:first-child small{color:var(--blue-dark);font-size:10px}.helpdesk-ticket-table>button>span:first-child strong{font-size:14px}.helpdesk-ticket-table em,.helpdesk-ticket-table>button>span:last-child small{font-size:10px}.helpdesk-ticket-table>button>span:nth-child(2),.helpdesk-priority{font-size:11px}.helpdesk-ticket-table>button>span:nth-child(2){justify-content:flex-start;align-items:center;gap:6px;display:flex}.helpdesk-status{background:var(--muted);border-radius:50%;width:8px;height:8px;display:inline-block}.helpdesk-status.new{background:var(--blue)}.helpdesk-status.progress{background:#e7a533}.helpdesk-status.waiting{background:#8b70ff}.helpdesk-status.resolved{background:var(--green-dark)}.helpdesk-status.cancelled{background:var(--danger)}.helpdesk-priority{font-weight:850}.helpdesk-priority.high,.late{color:var(--danger)!important}.helpdesk-priority.low{color:var(--muted)}.helpdesk-empty{color:var(--muted);text-align:center;grid-column:1/-1;padding:60px 24px}.helpdesk-empty h3{color:var(--ink);margin:10px 0 4px}.helpdesk-empty svg{width:34px}.helpdesk-management-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:20px;display:grid}.helpdesk-mini-form{border-bottom-width:5px;border-radius:18px;gap:14px;padding:25px;display:grid}.helpdesk-mini-form>svg{background:color-mix(in srgb, var(--blue) 12%, var(--panel));width:46px;height:46px;color:var(--blue-dark);border-radius:14px;padding:11px}.helpdesk-mini-form h2{font-size:21px}.helpdesk-mini-form p{color:var(--muted);margin:5px 0 0;font-size:12px;line-height:1.5}.helpdesk-mini-form input,.helpdesk-mini-form select{min-height:48px}.helpdesk-mini-form textarea{min-height:96px}.helpdesk-chips{flex-wrap:wrap;gap:8px;display:flex}.helpdesk-chips span{border:1px solid var(--line);padding:8px 10px;font-size:10px}.helpdesk-inventory-table{border:2px solid var(--line);background:var(--panel);border-bottom-width:5px;border-radius:18px;margin-top:20px;overflow:hidden}.helpdesk-inventory-table>div{border-top:1px solid var(--line);grid-template-columns:minmax(220px,1fr) 170px 170px 150px;align-items:center;min-height:68px;padding:15px 22px;font-size:13px;display:grid}.helpdesk-inventory-table .head{min-height:45px;font-size:10px}.helpdesk-inventory-table small{margin-top:3px;font-size:10px}.helpdesk-table-empty{color:var(--muted);text-align:left;justify-content:center;align-items:center!important;gap:14px!important;min-height:160px!important;display:flex!important}.helpdesk-table-empty svg{width:34px;color:var(--blue-dark)}.helpdesk-table-empty span{gap:3px;display:grid}.helpdesk-table-empty strong{color:var(--ink)}.helpdesk-problem-form{border-bottom-width:5px;grid-template-columns:78px minmax(250px,1.5fr) minmax(190px,1fr) auto;gap:11px;padding:20px;display:grid}.helpdesk-problem-form input,.helpdesk-problem-form button{min-height:48px}.helpdesk-problem-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-top:20px;display:grid}.helpdesk-problem-grid article{border-bottom-width:5px;gap:10px;min-height:190px;padding:23px;display:grid}.helpdesk-problem-grid article>span{font-size:34px}.helpdesk-problem-grid h2{margin:0;font-size:19px;line-height:1.25}.helpdesk-problem-grid small,.helpdesk-problem-grid b{font-size:10px}.helpdesk-category-chart{border-bottom-width:5px;gap:18px;padding:26px;display:grid}.helpdesk-category-chart h2{margin:0;font-size:22px}.helpdesk-category-chart p{color:var(--muted);margin:5px 0 0;font-size:12px}.helpdesk-category-chart>div{gap:8px;display:grid}.helpdesk-category-chart span{justify-content:space-between;font-size:13px;display:flex}.helpdesk-category-chart i{background:var(--surface-soft);border-radius:10px;height:13px;overflow:hidden}.helpdesk-category-chart em{border-radius:inherit;background:var(--vermilion);height:100%;display:block}.helpdesk-chart-empty{min-height:150px;color:var(--muted);justify-content:center;align-items:center;gap:10px!important;display:flex!important}.helpdesk-chart-empty svg{color:var(--blue-dark)}.helpdesk-team-list,.helpdesk-telegram{border-bottom-width:5px;gap:15px;padding:25px;display:grid}.helpdesk-team-list>div h2,.helpdesk-telegram h2{margin:0;font-size:21px}.helpdesk-team-list>div p,.helpdesk-telegram p{color:var(--muted);margin:5px 0 0;font-size:12px;line-height:1.5}.helpdesk-team-list article{border-top:2px solid var(--line);grid-template-columns:48px minmax(0,1fr) auto;gap:13px;padding:15px 0;display:grid}.helpdesk-team-list article>span{background:var(--blue);color:#fff;border-radius:14px;place-items:center;width:48px;height:48px;font-weight:900;display:grid}.helpdesk-team-list article div{display:grid}.helpdesk-team-list article strong{font-size:13px}.helpdesk-team-list small,.helpdesk-team-list b,.helpdesk-telegram small{font-size:10px}.helpdesk-telegram>svg{background:color-mix(in srgb, var(--blue) 12%, var(--panel));width:48px;height:48px;color:var(--blue-dark);border-radius:14px;padding:11px}.helpdesk-telegram.connected>svg{background:color-mix(in srgb, var(--green) 14%, var(--panel));color:var(--green-dark)}.helpdesk-access-requests{border-bottom-width:5px;gap:16px;margin-bottom:20px;padding:24px;display:grid}.helpdesk-access-heading{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.helpdesk-access-heading>span{align-items:center;gap:10px;font-size:20px;display:flex}.helpdesk-access-heading>span svg{width:25px;color:var(--vermilion-dark)}.helpdesk-access-heading>small{max-width:430px;color:var(--muted);text-align:right;font-size:11px;line-height:1.5}.helpdesk-access-list{gap:10px;display:grid}.helpdesk-access-list article{border:2px solid var(--line);background:var(--surface-soft);border-radius:15px;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:13px;padding:14px;display:grid}.helpdesk-access-avatar{background:var(--vermilion);color:#fff;text-transform:uppercase;border-radius:14px;place-items:center;width:48px;height:48px;font-weight:950;display:grid}.helpdesk-access-list article>div:nth-child(2){gap:4px;display:grid}.helpdesk-access-list article>div:nth-child(2) strong{font-size:13px}.helpdesk-access-list article>div:nth-child(2) small{color:var(--muted);font-size:10px}.helpdesk-access-list article>div:last-child{flex-wrap:wrap;justify-content:flex-end;gap:8px;display:flex}.helpdesk-access-empty{min-height:90px;color:var(--muted);justify-content:center;align-items:center;gap:12px;display:flex}.helpdesk-access-empty>svg{color:var(--vermilion-dark)}.helpdesk-access-empty>span{gap:3px;display:grid}.helpdesk-access-empty strong{color:var(--ink);font-size:13px}.helpdesk-access-empty small{font-size:10px}.helpdesk-dialog-backdrop{z-index:150}.helpdesk-ticket-dialog{border:2px solid var(--line);overscroll-behavior:contain;border-bottom-width:5px;border-radius:22px;width:min(1160px,100vw - 32px);max-height:calc(100dvh - 32px);padding:28px;overflow:auto}.helpdesk-ticket-dialog>header{z-index:2;background:var(--panel);border-bottom:2px solid var(--line);justify-content:space-between;gap:16px;margin:-28px -28px 0;padding:25px 28px 20px;display:flex;position:sticky;top:-28px}.helpdesk-ticket-dialog h2{margin:5px 0 7px;font-size:clamp(25px,3vw,34px)}.helpdesk-ticket-dialog header span{font-size:11px}.helpdesk-ticket-dialog-grid{grid-template-columns:minmax(0,1.55fr) minmax(310px,.62fr);gap:20px;margin-top:20px;display:grid}.helpdesk-ticket-dialog-grid section{border:2px solid var(--line);border-radius:16px;padding:20px}.helpdesk-ticket-dialog-grid h3{margin:0 0 12px;font-size:16px}.helpdesk-ticket-dialog-grid section>p{white-space:pre-wrap;font-size:13px;line-height:1.65}.helpdesk-discussion{margin-top:15px}.helpdesk-discussion article{border-top:1px solid var(--line);padding:14px 0}.helpdesk-discussion article.internal{border:1px dashed var(--blue);background:color-mix(in srgb, var(--blue) 5%, var(--panel));border-radius:11px;padding:14px}.helpdesk-discussion article>div{justify-content:space-between;gap:10px;display:flex}.helpdesk-discussion article p{font-size:12px;line-height:1.55}.helpdesk-discussion small{font-size:10px}.helpdesk-action-form,.helpdesk-ticket-actions{gap:11px;margin-top:16px;display:grid}.helpdesk-action-form textarea,.helpdesk-ticket-actions textarea{min-height:105px}.helpdesk-action-form label{font-size:11px}.helpdesk-ticket-dialog dl{grid-template-columns:1fr 1.2fr;gap:11px;margin:0;font-size:11px;display:grid}.helpdesk-ticket-dialog dt{color:var(--muted)}.helpdesk-ticket-dialog dd{align-items:center;gap:6px;margin:0;font-weight:800;display:flex}.helpdesk-history{margin-top:18px}.helpdesk-history>div{border-left:2px solid var(--line);gap:4px;padding:0 0 17px 19px;display:grid;position:relative}.helpdesk-history>div>i{background:var(--blue);border-radius:50%;width:8px;height:8px;position:absolute;top:2px;left:-5px}.helpdesk-history strong{font-size:11px}.helpdesk-history small{font-size:9px}.helpdesk-login{background:var(--paper);grid-template-columns:minmax(0,1.05fr) minmax(390px,.7fr);min-height:100dvh;display:grid}.helpdesk-login-copy{border-right:2px solid var(--line);background:color-mix(in srgb, var(--vermilion) 9%, var(--paper));color:var(--ink);flex-direction:column;justify-content:center;padding:clamp(36px,7vw,100px);display:flex}.helpdesk-login-logo{width:min(285px,72%);margin-bottom:76px}.helpdesk-login-copy h1{letter-spacing:-.05em;margin:10px 0 20px;font-size:clamp(44px,6vw,76px);font-weight:950}.helpdesk-login-copy>p:last-child{max-width:680px;color:var(--muted);font-size:18px}.helpdesk-login-form{border:2px solid var(--line);border-bottom-width:5px;border-radius:22px;align-self:center;width:min(470px,100% - 38px);margin:auto;padding:38px}.helpdesk-login-form h2{margin:8px 0 10px;font-size:32px}.helpdesk-login-form>p.muted{margin:0 0 8px;line-height:1.5}.helpdesk-login-form input{min-height:50px}.helpdesk-login-form .primary-btn{min-height:51px;margin-top:18px}.helpdesk-login-icon{background:color-mix(in srgb, var(--vermilion) 13%, var(--panel));width:58px;height:58px;color:var(--vermilion-dark);border-radius:17px}.helpdesk-login-copy .brand-logo-light{display:block!important}.helpdesk-login-copy .brand-logo-dark,:root[data-theme=dark] .helpdesk-login-copy .brand-logo-light{display:none!important}:root[data-theme=dark] .helpdesk-login-copy .brand-logo-dark{display:block!important}@media (max-width:1100px){.helpdesk-topbar-brand>div{display:none}.helpdesk-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.helpdesk-management-grid{grid-template-columns:1fr}.helpdesk-ticket-table>.head,.helpdesk-ticket-table>button{grid-template-columns:minmax(260px,1.5fr) 135px 105px 155px}}@media (max-width:820px){.helpdesk-topbar{min-height:72px;padding:10px 16px}.helpdesk-topbar-logo{width:132px}.helpdesk-content{padding:32px 16px 58px}.helpdesk-heading{flex-direction:column;align-items:stretch}.helpdesk-heading h1{font-size:clamp(36px,9vw,48px)}.helpdesk-heading p:not(.eyebrow){font-size:14px}.helpdesk-heading .secondary-btn{align-self:flex-start}.helpdesk-ticket-table>.head{display:none}.helpdesk-ticket-table>button{grid-template-columns:minmax(0,1fr) auto;gap:10px 16px;min-height:0;padding:17px}.helpdesk-ticket-table>button>span:first-child{grid-column:1/-1}.helpdesk-ticket-table>button>span:nth-child(2){display:flex}.helpdesk-ticket-table>button>span:nth-child(3){text-align:right;display:block}.helpdesk-ticket-table>button>span:nth-child(4){grid-column:1/-1;display:grid}.helpdesk-inventory-table>.head{display:none}.helpdesk-inventory-table>div{grid-template-columns:1fr 1fr;gap:10px 18px}.helpdesk-problem-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.helpdesk-ticket-dialog-grid,.helpdesk-login{grid-template-columns:1fr}.helpdesk-login-copy{display:none}.helpdesk-login-form{margin:8vh auto}}@media (max-width:620px){.helpdesk-topbar-actions{gap:7px}.helpdesk-topbar-logo{width:120px}.helpdesk-topbar .theme-switcher span{display:none}.helpdesk-content{padding:26px 12px 48px}.helpdesk-heading{margin-bottom:23px}.helpdesk-heading h1{overflow-wrap:anywhere;font-size:36px}.helpdesk-stats{grid-template-columns:1fr 1fr;gap:10px}.helpdesk-stats article{min-height:130px;padding:15px}.helpdesk-stats article>span{font-size:10px}.helpdesk-stats article strong{font-size:34px}.helpdesk-stats article small{font-size:9px}.helpdesk-queue-head{padding:20px 16px 13px}.helpdesk-status-tabs{padding-inline:14px}.helpdesk-filters{grid-template-columns:1fr 1fr;padding:13px}.helpdesk-filters label,.helpdesk-filters select{grid-column:1/-1}.helpdesk-ticket-table>button{grid-template-columns:1fr}.helpdesk-ticket-table>button>span:nth-child(3){text-align:left}.helpdesk-ticket-table>button>span:nth-child(4){grid-column:1}.helpdesk-mini-form,.helpdesk-team-list,.helpdesk-telegram,.helpdesk-category-chart{padding:19px}.helpdesk-problem-form{grid-template-columns:64px minmax(0,1fr);padding:14px}.helpdesk-problem-form input:nth-child(3),.helpdesk-problem-form button{grid-column:1/-1}.helpdesk-problem-grid{grid-template-columns:1fr}.helpdesk-inventory-table>div{grid-template-columns:1fr;padding:15px 17px}.helpdesk-team-list article{grid-template-columns:44px minmax(0,1fr)}.helpdesk-team-list article>b{grid-column:2;justify-self:start}.helpdesk-access-requests{padding:18px}.helpdesk-access-heading{flex-direction:column}.helpdesk-access-heading>small{text-align:left}.helpdesk-access-list article{grid-template-columns:44px minmax(0,1fr)}.helpdesk-access-avatar{width:44px;height:44px}.helpdesk-access-list article>div:last-child{grid-column:1/-1;justify-content:stretch}.helpdesk-access-list article>div:last-child>*{flex:150px}.helpdesk-ticket-dialog{border-radius:18px;width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:16px}.helpdesk-ticket-dialog>header{margin:-16px -16px 0;padding:18px 16px 15px;top:-16px}.helpdesk-ticket-dialog-grid section{padding:15px}.helpdesk-login-form{width:calc(100% - 24px);padding:24px}}@media (max-width:430px){.helpdesk-topbar-logo{display:none}.helpdesk-stats{grid-template-columns:1fr}.helpdesk-stats article{min-height:118px}.support-room-picker>div{grid-template-columns:1fr}}.admin-header{align-items:center;min-height:58px;margin-bottom:22px;padding:7px 0 10px}.admin-header .admin-title>div{align-items:center;gap:12px;min-width:0;display:flex}.admin-header .admin-brand-logo{width:118px;margin:0}.admin-header h1{white-space:nowrap;margin:0;font-size:clamp(21px,2.1vw,27px);line-height:1.05}.admin-header .admin-title p{display:none}.admin-header .menu-toggle,.admin-header .header-icon-button{border-radius:10px;width:38px;min-width:38px;height:38px}.admin-header .header-icon-button:active{height:36px}.admin-tabs.admin-drawer{width:min(284px,84vw);padding:14px}.quiz-top{grid-template-columns:auto minmax(0,1fr) auto auto;gap:12px;min-height:52px;margin-bottom:16px;padding:7px 0 10px}.quiz-top .student-id{text-align:left;justify-self:start;min-width:0}.quiz-top .student-id strong,.quiz-top .student-id span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;overflow:hidden}.quiz-top .timer{padding:6px 10px}.question-title{overflow-wrap:break-word;word-break:normal;-webkit-hyphens:auto;hyphens:auto;text-wrap:pretty;max-width:920px;font-size:clamp(22px,3vw,31px);line-height:1.32}@media (max-width:700px){.admin-header{gap:7px;min-height:52px;margin-bottom:16px;padding:5px 0 8px;display:flex}.admin-header .admin-title{flex:auto;gap:7px}.admin-header .admin-title>div{flex:auto;gap:0}.admin-header .admin-brand-logo{width:102px;max-width:28vw}.admin-header h1{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.admin-header .header-actions{flex:none;gap:5px}.admin-header .menu-toggle,.admin-header .header-icon-button{width:36px;min-width:36px;height:36px}.admin-header .header-icon-button:active{height:34px}.admin-header .header-icon-button svg{width:18px;height:18px}.quiz-top{grid-template-columns:minmax(0,1fr) auto auto;gap:7px;min-height:48px}.quiz-top>div:first-child{display:none}.quiz-top .student-id{grid-area:1/1;display:grid!important}.quiz-top .student-id span{display:none}.quiz-top .save-indicator{grid-area:1/2}.quiz-top .timer{grid-area:1/3;font-size:13px}.question-title{letter-spacing:-.012em;margin-bottom:20px;font-size:clamp(19px,5.4vw,23px);line-height:1.4}.programming-question-heading .question-title{font-size:clamp(19px,5.2vw,22px);line-height:1.42}}@media (max-width:420px){.admin-header .admin-brand-logo{width:88px}.admin-header .header-actions{gap:4px}.admin-header .menu-toggle,.admin-header .header-icon-button{width:34px;min-width:34px;height:34px}.admin-header .header-icon-button:active{height:32px}}.student-sidebar{overflow:hidden}#student-support{scroll-margin-top:96px}.student-support-section{gap:20px;margin-top:34px;display:grid}.student-support-section>.section-heading{align-items:flex-start}.student-support-section>.section-heading>svg{color:var(--vermilion)}.student-support-grid{grid-template-columns:minmax(0,1.25fr) minmax(300px,.75fr);align-items:start;gap:18px;display:grid}.student-support-form{gap:15px;padding:clamp(18px,2.6vw,28px);display:grid}.student-support-form label{gap:7px;display:grid}.student-support-form textarea{resize:vertical;min-height:132px}.student-support-categories{flex-wrap:wrap;gap:7px;display:flex}.student-support-categories button{border:1px solid var(--line);background:var(--surface-soft);min-height:36px;color:var(--muted);font:inherit;border-radius:999px;padding:7px 11px;font-size:12px;font-weight:750}.student-support-categories button:hover,.student-support-categories button.active{border-color:var(--vermilion);background:color-mix(in srgb, var(--vermilion) 14%, var(--panel));color:var(--vermilion)}.student-screenshot-picker{border:1px dashed var(--line-dark);background:var(--surface-soft);cursor:pointer;border-radius:12px;grid-template-columns:auto 1fr auto;align-items:center;min-height:72px;padding:13px;position:relative;gap:12px!important;display:grid!important}.student-screenshot-picker:hover,.student-screenshot-picker.has-image{border-color:var(--vermilion)}.student-screenshot-picker>input{opacity:0;pointer-events:none;width:1px;height:1px;position:absolute}.student-screenshot-picker>span{background:color-mix(in srgb, var(--vermilion) 13%, var(--panel));width:42px;height:42px;color:var(--vermilion);border-radius:10px;place-items:center;display:grid}.student-screenshot-picker>div{gap:2px;min-width:0;display:grid}.student-screenshot-picker strong{color:var(--ink);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.student-screenshot-picker small{color:var(--muted);font-size:10px}.student-screenshot-picker>button{border:1px solid var(--line);background:var(--panel);width:34px;height:34px;color:var(--muted);border-radius:9px;place-items:center;display:grid}.student-screenshot-preview{border:1px solid var(--line);object-fit:contain;background:var(--surface-soft);border-radius:12px;width:min(100%,620px);max-height:320px}.student-ticket-history{gap:10px;display:grid}.student-ticket-history>h3{margin:0 0 4px}.student-ticket-summary{border:1px solid var(--line);width:100%;min-height:112px;color:var(--ink);text-align:left;justify-items:start;gap:8px;padding:16px;display:grid}.student-ticket-summary:hover{border-color:var(--vermilion);transform:translateY(-1px)}.learning-course{gap:24px;min-width:0;display:grid}.learning-course>.section-heading{flex-wrap:wrap;align-items:flex-start;gap:20px}.learning-course .section-heading h2{font-size:clamp(24px,2.5vw,34px);line-height:1.2}.learning-course .section-heading p{max-width:76ch}.learning-course p{line-height:1.65}.learning-course .panel{padding:clamp(18px,2.5vw,28px)}.course-viewer,.course-lesson,.course-editor{min-width:0}.course-progress-heading{color:var(--muted);flex-wrap:wrap;align-items:center;gap:12px 24px;margin-bottom:20px;font-size:14px;display:flex}.course-progress-heading progress{width:min(220px,100%);height:8px;accent-color:var(--vermilion)}.course-layout{grid-template-columns:210px minmax(0,1fr);align-items:start;gap:24px;display:grid}.course-outline{gap:5px;display:grid}.course-outline-toggle{display:none}.course-outline button{width:100%;min-height:44px;color:var(--muted);text-align:left;font:inherit;background:0 0;border:1px solid #0000;border-radius:10px;align-items:flex-start;gap:10px;padding:11px;font-size:13px;line-height:1.4;display:flex}.course-outline button>span{flex:0 0 22px;place-items:center;min-height:22px;font-size:12px;display:grid}.course-outline button strong{overflow-wrap:anywhere;font-weight:600}.course-outline button.active,.course-tabs button.active{color:var(--text);background:var(--surface-soft);border-color:var(--line)}.course-outline button.done>span{color:var(--vermilion)}.course-outline button:disabled{opacity:.5;cursor:default}.course-lesson{border:1px solid var(--line);background:var(--panel);border-radius:16px;padding:clamp(18px,2.5vw,28px)}.course-lesson-heading h2{overflow-wrap:anywhere;margin:8px 0 12px;font-size:clamp(22px,2vw,30px);line-height:1.3}.course-lesson-heading>p:last-of-type{color:var(--muted);margin-bottom:18px}.course-status{color:var(--vermilion);align-items:center;gap:6px;margin-bottom:16px;font-size:13px;display:inline-flex}.course-tabs{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:8px;margin:8px 0 24px;padding-bottom:16px;display:flex}.course-tabs button{min-height:38px;color:var(--muted);font:inherit;background:0 0;border:1px solid #0000;border-radius:8px;padding:8px 12px;font-size:13px}.course-theory,.course-materials,.course-practice{gap:24px;min-width:0;display:grid}.course-theory>section{min-width:0;max-width:80ch}.course-theory h3,.course-materials h3{margin:0 0 12px;font-size:19px;line-height:1.35}.course-theory p{margin:8px 0}.course-theory ul{padding-left:20px;line-height:1.7}.course-theory li+li{margin-top:8px}.course-theory details,.course-code-task details{padding:12px 0}.course-theory summary,.course-code-task summary{cursor:pointer;color:var(--muted);font-weight:600}.course-output,.course-check-result pre{border:1px solid var(--line);background:var(--surface-soft);white-space:pre-wrap;overflow-wrap:anywhere;border-radius:8px;max-height:280px;margin:12px 0;padding:14px;font:13px/1.65 Consolas,monospace;overflow:auto}.course-task-navigation{flex-wrap:wrap;gap:8px;display:flex}.course-task-navigation button{border:1px solid var(--line);background:var(--panel);min-height:36px;color:var(--muted);font:inherit;border-radius:8px;align-items:center;gap:6px;padding:8px 10px;font-size:12px;display:flex}.course-task-navigation button.active{border-color:var(--vermilion);color:var(--text)}.course-task-navigation button.done{color:var(--vermilion);background:color-mix(in srgb, var(--vermilion) 9%, var(--panel))}.course-code-task{min-width:0;padding:16px}.course-code-task h3,.course-question h3{overflow-wrap:anywhere;margin:10px 0;font-size:20px;line-height:1.35}.course-code-task p,.course-code-task small{overflow-wrap:anywhere}.course-code-task small{color:var(--muted);line-height:1.6;display:block}.course-sample{border:1px solid var(--line);border-radius:8px;gap:8px;margin:18px 0;padding:12px;font-size:12px;display:grid}.course-sample pre{background:var(--surface-soft);white-space:pre-wrap;max-height:160px;margin:5px 0;padding:9px;font:12px/1.6 Consolas,monospace;overflow:auto}.course-editor>header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:12px 16px;font-size:13px;display:flex}.course-editor-actions{flex-wrap:wrap;align-items:center;gap:12px;margin-top:18px;display:flex}.course-editor>.course-editor-actions{padding:0 16px 16px}.course-check-result{border:1px solid var(--line);background:var(--surface-soft);border-radius:10px;margin-top:16px;padding:16px;font-size:14px}.course-check-result.passed{border-color:var(--vermilion)}.course-checks{flex-wrap:wrap;gap:8px;display:flex}.course-checks span{font-size:12px}.course-checks .passed{color:var(--vermilion)}.course-checks .failed{color:var(--muted)}.course-question fieldset{border:0;gap:10px;margin:20px 0;padding:0;display:grid}.course-option{border:1px solid var(--line);cursor:pointer;overflow-wrap:anywhere;border-radius:10px;align-items:flex-start;gap:12px;padding:14px;font-size:14px;line-height:1.55;display:flex!important}.course-option input{width:16px;height:16px;accent-color:var(--vermilion);flex:0 0 16px;margin:3px 0 0}.course-downloads{flex-wrap:wrap;gap:12px;display:flex}.course-book{border-bottom:1px solid var(--line);justify-content:space-between;gap:16px;padding:16px 0;display:flex}.course-book>div{min-width:0}.course-book-actions{flex-wrap:wrap;flex-shrink:0;justify-content:flex-end;align-items:center;gap:12px;max-width:240px;display:flex}@media (max-width:640px){.course-book{flex-direction:column}.course-book-actions{justify-content:flex-start;max-width:none}}.course-book small{color:var(--muted);margin-top:5px;display:block}.course-book p{margin:8px 0;font-size:14px}.course-book>a{flex-shrink:0;align-self:flex-start}.course-assignment-fields{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:24px;display:grid}.course-assignment-fields label,.course-teacher-progress>label{gap:8px;min-width:0;font-size:13px;display:grid}.course-assignment-fields select,.course-teacher-progress select{width:100%;min-width:0}.course-students{margin-top:20px}.course-students article{border-bottom:1px solid var(--line);align-items:center;gap:16px;padding:16px 0;font-size:14px;display:flex}.course-students article>div{overflow-wrap:anywhere;flex:1;min-width:0}.course-students small{color:var(--muted);margin-top:5px;font-size:12px;display:block}.course-students article>span{color:var(--muted)}.course-student-detail{border-top:1px solid var(--line);margin-top:24px;padding-top:20px}.course-student-detail article{padding-top:18px}.course-student-detail h4{margin-bottom:12px}@media (max-width:1100px){.course-layout{grid-template-columns:175px minmax(0,1fr);gap:16px}.course-assignment-fields{grid-template-columns:1fr}}@media (max-width:760px){.course-layout{grid-template-columns:minmax(0,1fr)}.course-outline{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;display:none}.course-outline.is-open{display:grid}.course-outline-toggle{justify-content:space-between;width:100%;display:flex}.learning-course>.section-heading{position:relative}.learning-course>.section-heading:has(>.icon-btn){padding-right:44px}.learning-course>.section-heading>.icon-btn{position:absolute;top:0;right:0}.course-outline button{padding:8px;font-size:12px}.course-outline button>span{flex-basis:18px}.course-lesson{padding:16px}.course-book{flex-direction:column;gap:8px}.course-students article{flex-wrap:wrap}.course-students article>div{flex-basis:100%}.course-editor-actions>button,.course-downloads>a{flex:180px;justify-content:center}}.course-overview{border:1px solid var(--line);background:var(--panel);border-radius:12px;justify-content:space-between;align-items:center;gap:24px;margin-bottom:20px;padding:20px 24px;display:flex}.course-overview>div{min-width:0}.course-overview strong{overflow-wrap:anywhere;font-size:17px;line-height:1.5;display:block}.course-overview p{color:var(--muted);margin:6px 0 0;font-size:13px}.course-overview .eyebrow{margin:0 0 6px}.course-overview .course-progress-heading{font-variant-numeric:tabular-nums;flex-direction:column;flex-shrink:0;align-items:flex-start;gap:10px;margin:0}.course-view-switch{border-bottom:1px solid var(--line);flex-wrap:wrap;gap:8px;margin-bottom:24px;padding-bottom:16px;display:flex}.course-view-switch button{min-height:44px;color:var(--muted);font:inherit;background:0 0;border:1px solid #0000;border-radius:9px;justify-content:center;align-items:center;gap:8px;padding:10px 16px;font-size:14px;display:inline-flex}.course-view-switch button[aria-pressed=true]{background:var(--panel);border-color:var(--line);color:var(--text);font-weight:600}.learning-course button:not(:disabled),.learning-course a,.learning-course summary{touch-action:manipulation}.learning-course button:not(:disabled):hover,.learning-course summary:hover{color:var(--text);border-color:var(--line)}.learning-course :is(button,a,input,select,summary):focus-visible{outline:2px solid var(--vermilion);outline-offset:3px}.learning-course :is(progress,.course-mastery,.course-group-stats){font-variant-numeric:tabular-nums}.course-layout{grid-template-columns:230px minmax(0,1fr)}.course-layout[hidden]{display:none}.course-outline{min-width:0;display:block}.course-search{border:1px solid var(--line);background:var(--panel);min-width:0;color:var(--muted);border-radius:8px;align-items:center;gap:8px;padding:0 12px;display:flex!important}.course-search svg{flex-shrink:0}.course-search input{width:100%;min-width:0;height:44px;color:var(--text);background:0 0;border:0;border-radius:0;padding:8px 0;font-size:13px}.course-search:focus-within{outline:2px solid var(--vermilion);outline-offset:2px}.course-search input:focus-visible{outline:none}.course-module{border-bottom:1px solid var(--line);padding:9px 0}.course-outline .course-module-toggle{color:var(--text);justify-content:space-between;align-items:center;padding:9px 2px;display:flex}.course-outline .course-module-toggle>span{text-align:left;flex:1;display:block}.course-module-toggle strong{font-size:13px}.course-module-toggle small,.course-lesson-link small{color:var(--muted);margin-top:3px;font-size:11px;font-weight:400;line-height:1.4;display:block}.course-module-toggle[aria-expanded=true]>svg{transform:rotate(180deg)}.course-outline .course-lesson-link{align-items:flex-start;margin-top:3px}.course-outline .course-lesson-link>span:last-child{text-align:left;flex:1;min-width:0;display:block}.course-outline .course-lesson-link:disabled{opacity:.7}.course-outline-empty{color:var(--muted);padding:12px 4px;font-size:13px}.course-reading{min-width:0}.course-lesson :is([data-course-heading],.course-exercise-anchor),.course-student-detail{scroll-margin-top:100px}.course-lesson [data-course-heading]:focus,.course-exercise-anchor:focus,.course-student-detail:focus{outline:none}.course-tabs button{min-height:44px}.course-theory>section{max-width:72ch}.course-theory p{font-size:15px;line-height:1.8}.course-paragraphs{white-space:pre-line}.course-article-outline{border:1px solid var(--line);border-radius:12px;gap:8px;margin-bottom:24px;padding:18px;display:grid}.course-article-outline a{color:var(--accent);font-size:14px}.course-theory>section{scroll-margin-top:100px}.course-prerequisites{color:var(--muted)}.course-discussion{border:1px solid var(--line);border-radius:12px;margin-top:24px;padding:20px}.course-discussion>div+div{margin-top:22px}.course-discussion label{gap:10px;display:grid}.course-discussion textarea{resize:vertical;width:100%;min-height:140px}.course-discussion details{margin-top:12px}.course-overview .course-progress-heading{max-width:42ch}.course-progress-heading small{color:var(--muted);font-size:12px;line-height:1.6}.course-theory .course-example{max-width:none}.course-example>small{color:var(--muted);margin:10px 0;display:block}.course-example-input pre{border:1px solid var(--line);background:var(--surface-soft);white-space:pre-wrap;border-radius:8px;padding:12px}.course-study-checklist{border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.course-study-checklist h3{margin-top:20px}.course-study-checklist summary{min-height:32px}.course-next-step{border:1px solid var(--line);background:var(--surface-soft);border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:16px;padding:20px;display:flex}.course-next-step>div{flex:260px;min-width:0}.course-next-step strong{color:var(--text);font-size:16px;display:block}.course-next-step p{color:var(--muted);margin:6px 0 0;font-size:13px}.course-layout:has(.course-practice){grid-template-columns:minmax(0,1fr)}.course-layout:has(.course-practice)>.course-outline{display:none}.course-layout:has(.course-practice)>.course-outline.is-open{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.course-layout:has(.course-practice) .course-outline>.course-search{grid-column:1/-1}.course-layout:has(.course-practice)>.course-outline-toggle{justify-content:space-between;display:flex}.course-practice{gap:20px}.course-mastery{background:var(--surface-soft);border:1px solid var(--line);border-radius:10px;flex-wrap:wrap;align-items:center;gap:16px 28px;padding:16px;display:flex}.course-mastery strong{font-size:14px;display:block}.course-mastery small{color:var(--muted);margin-top:4px;font-size:12px;display:block}.course-mastery>span{color:var(--vermilion);margin-left:auto;font-size:12px}.course-task-groups{flex-wrap:wrap;gap:24px;display:flex}.course-task-groups p{color:var(--muted);margin:0 0 8px;font-size:12px}.course-task-navigation button{min-height:44px}.course-task-caption{color:var(--muted);margin:0;font-size:13px}.course-task-footer,.course-lesson-pagination{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.course-task-footer>span{text-align:center;color:var(--muted);flex:180px;font-size:12px}.course-lesson-pagination{margin:20px 0}.course-lesson-pagination>span{color:var(--muted);font-size:12px}.course-help-text{color:var(--muted);margin:12px 0 0;font-size:12px;line-height:1.6;display:block}.course-editor>.course-help-text{padding:0 16px 12px}.course-editor>.course-check-result,.course-editor>.course-inline-error{margin:0 16px 16px}.course-inline-error{border:1px solid var(--line);background:var(--surface-soft);border-radius:10px;padding:16px}.course-inline-error p{margin:8px 0}.course-inline-error small{color:var(--muted)}.course-reset-confirm{background:var(--surface-soft);border:1px solid var(--line);border-radius:8px;flex-wrap:wrap;align-items:center;gap:12px;padding:16px;display:flex}.course-reset-confirm p{flex-basis:100%;margin:0;font-size:13px}.course-section-intro{max-width:72ch;margin-bottom:24px}.course-section-intro h3{margin:8px 0;font-size:24px}.course-section-intro p{color:var(--muted);font-size:14px}.course-library-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;display:grid}.course-library-book{border:1px solid var(--line);background:var(--panel);border-radius:12px;flex-direction:column;align-items:flex-start;min-width:0;padding:24px;display:flex}.course-library-book>svg{color:var(--vermilion);margin-bottom:18px}.course-library-book .course-status{margin-bottom:12px;font-size:12px}.course-library-book h4{overflow-wrap:anywhere;margin:0 0 10px;font-size:18px;line-height:1.4}.course-library-book>small{color:var(--muted)}.course-library-book>p{color:var(--muted);flex:1;margin:16px 0 24px;font-size:14px}.course-library-book .course-book-actions{flex-direction:column;align-items:flex-start;max-width:none}.course-sources{margin-top:24px}.course-sources a{width:fit-content;color:var(--text);align-items:center;gap:8px;margin-top:16px;font-size:14px;display:flex}.course-downloads{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.course-download-card{border:1px solid var(--line);background:var(--panel);min-width:0;color:var(--text);border-radius:10px;align-items:center;gap:14px;padding:18px;text-decoration:none;display:flex}.course-download-card>svg{color:var(--muted);flex-shrink:0}.course-download-card>span{flex:1;min-width:0}.course-download-card strong{font-size:14px;display:block}.course-download-card small{color:var(--muted);margin-top:4px;font-size:12px;line-height:1.5;display:block}.course-download-card:hover{border-color:var(--vermilion)}.course-group-picker{margin:24px 0}.course-group-picker .section-heading h3{font-size:20px}.course-group-picker .section-heading .course-search{width:min(280px,100%)}.course-group-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px;display:grid}.course-group-card{text-align:left;border:1px solid var(--line);background:var(--panel);color:var(--text);font:inherit;overflow-wrap:anywhere;border-radius:10px;gap:7px;padding:18px;display:grid}.course-group-card.active{border-color:var(--vermilion);background:color-mix(in srgb, var(--vermilion) 5%, var(--panel))}.course-group-card span,.course-group-card small{color:var(--muted);font-size:12px}.course-assignment{margin-top:24px}.course-assignment .section-heading{flex-wrap:wrap;gap:12px}.course-field-label{color:var(--muted);margin:24px 0 12px;font-size:13px;display:block}.course-presets{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;display:grid}.course-presets button{border:1px solid var(--line);background:var(--panel);color:var(--text);text-align:left;font:inherit;border-radius:9px;padding:14px;font-size:14px}.course-presets button[aria-pressed=true]{border-color:var(--vermilion);background:color-mix(in srgb, var(--vermilion) 5%, var(--panel))}.course-presets small{color:var(--muted);margin-top:5px;font-size:12px;display:block}.course-assignment-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.course-assignment-fields small{color:var(--muted);font-size:12px;line-height:1.6}.course-teacher-progress{margin-top:24px}.course-group-stats{border-bottom:1px solid var(--line);color:var(--muted);flex-wrap:wrap;gap:20px;margin-bottom:16px;padding:16px 0;font-size:13px;display:flex}.course-group-stats>span{align-items:baseline;gap:10px;display:flex}.course-group-stats strong{color:var(--text);font-size:24px}.course-progress-filters{grid-template-columns:1fr 160px 1.5fr;gap:16px;display:grid}.course-progress-filters label{align-content:start;gap:8px;min-width:0;font-size:12px;display:grid}.course-progress-filters :is(input,select){width:100%;min-width:0}.course-students .course-student-progress{flex:0 170px}.course-student-progress strong{font-variant-numeric:tabular-nums;font-size:13px}.course-student-progress progress{width:100%;height:7px;accent-color:var(--vermilion);margin-top:8px;display:block}.course-student-detail .section-heading{flex-wrap:wrap;gap:12px}.course-student-detail article>p{color:var(--muted);font-size:13px}.course-teacher-guide{padding:20px 0}.course-teacher-guide summary{cursor:pointer;color:var(--muted);font-weight:600}.course-teacher-guide p{color:var(--muted);font-size:13px}@media (max-width:1100px){.course-layout{grid-template-columns:190px minmax(0,1fr)}.course-library-grid{grid-template-columns:minmax(0,1fr)}.course-library-book{padding:20px}.course-assignment-fields{grid-template-columns:minmax(0,1fr)}.course-progress-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.course-progress-filters>label:last-child{grid-column:1/-1}}@media (max-width:760px){.course-overview{flex-direction:column;align-items:stretch;gap:16px;padding:16px}.course-overview:has(progress)>div:first-child{display:none}.course-overview>div:first-child>strong{display:none}.course-overview .course-progress-heading{flex-flow:wrap}.course-layout{grid-template-columns:minmax(0,1fr)}.course-outline{display:none}.course-outline.is-open{display:block}.course-layout:has(.course-practice)>.course-outline.is-open{display:block}.course-outline-toggle{display:flex}.course-view-switch{gap:4px}.course-view-switch button{flex:1;padding:10px;font-size:12px}.course-group-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.course-group-card{padding:14px}.course-presets{gap:8px}.course-presets button{padding:12px 8px;font-size:12px}.course-progress-filters{grid-template-columns:minmax(0,1fr)}.course-progress-filters>label:last-child{grid-column:auto}.course-downloads{grid-template-columns:minmax(0,1fr)}.course-mastery>span{margin-left:0}.course-lesson-pagination>span{text-align:center;flex-basis:100%;order:-1}.course-lesson-pagination button{flex:1;padding-inline:10px;font-size:12px}.course-students .course-student-progress{flex:1}.course-task-footer>span{flex-basis:100%;order:1}}.student-ticket-summary strong{overflow-wrap:anywhere}.student-ticket-summary small{color:var(--muted)}.student-ticket-history .empty-state{min-height:150px}.student-support-dialog{gap:18px;width:min(760px,100vw - 28px);max-height:calc(100dvh - 32px);padding:clamp(18px,3vw,28px);display:grid;overflow-y:auto}.student-support-dialog>header{justify-content:space-between;align-items:flex-start;gap:15px;display:flex}.student-support-dialog>header h2{overflow-wrap:anywhere;margin:3px 0}.student-support-dialog>header small{color:var(--muted)}.student-support-description{white-space:pre-wrap;margin:0}.student-support-dialog .support-reply{grid-template-columns:1fr auto;gap:9px;display:grid}.student-support-dialog .support-reply textarea{grid-column:1/-1;min-height:88px}@media (max-width:980px){.student-support-grid{grid-template-columns:1fr}.student-ticket-history{grid-template-columns:repeat(2,minmax(0,1fr))}.student-ticket-history>h3{grid-column:1/-1}}@media (max-width:600px){.student-support-section{margin-top:26px}.student-ticket-history{grid-template-columns:1fr}.student-screenshot-picker{grid-template-columns:auto minmax(0,1fr) auto}.student-screenshot-picker small{line-height:1.35}.student-support-dialog .support-reply{grid-template-columns:1fr}}.student-certificates{margin-block:0 24px;padding:24px}.student-certificates .section-heading{align-items:flex-start}.certificate-empty{color:var(--muted);align-items:center;gap:16px;display:flex}.certificate-empty p{margin:0}.certificate-list{gap:16px;display:grid}.certificate-badge{border:1px solid var(--line);border-radius:16px;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:20px;padding:20px;display:grid}.certificate-badge h4{margin:0 0 8px;font-size:18px}.certificate-badge p{margin:0 0 8px}.certificate-badge small{color:var(--muted)}.certificate-badge details{margin-top:10px;font-size:13px}.certificate-badge summary{cursor:pointer}.certificate-number{overflow-wrap:anywhere;padding-top:8px}.certificate-medal{color:#17201b;background:#7e8e5e;border-radius:18px 18px 30px 30px;flex-direction:column;justify-content:center;align-items:center;gap:8px;width:72px;height:88px;font-weight:800;display:flex}.certificate-medal.blue{background:#6c9ac6}.certificate-palette{flex-wrap:wrap;gap:10px;margin-bottom:18px;display:flex}.certificate-palette button{border:1px solid var(--line);color:inherit;cursor:pointer;background:0 0;border-radius:12px;align-items:center;gap:8px;min-height:44px;padding:10px 14px;display:flex}.certificate-palette button:before{content:"";background:#7e8e5e;border-radius:50%;width:12px;height:12px}.certificate-palette .blue:before{background:#6c9ac6}.certificate-palette button[aria-pressed=true]{outline-offset:2px;outline:2px solid}.course-certificate-hint{border:1px solid var(--line);border-radius:14px;margin-bottom:24px;padding:16px 20px}.course-certificate-hint p{color:var(--muted);margin:8px 0}@media (max-width:600px){.student-certificates{padding:18px}.certificate-badge{grid-template-columns:58px minmax(0,1fr);gap:14px;padding:16px}.certificate-medal{width:58px;height:76px}.certificate-badge>button{grid-column:1/-1;justify-content:center;width:100%}}.student-email{padding:24px}.student-email h3,.email-verified{align-items:center;gap:8px;display:flex}.student-email form{gap:16px;max-width:560px;display:grid}.student-email label,.student-email-recovery label{gap:8px;display:grid}.email-actions{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.email-verified{color:var(--success);overflow-wrap:anywhere}.student-email-recovery{border-top:1px solid var(--line);margin-top:16px;padding-top:16px}.student-email-recovery>div,.student-email-recovery form{gap:14px;margin-top:14px;display:grid}.student-email-recovery .text-action{text-transform:none}@media (max-width:600px){.student-email{padding:18px}}.strict-test-content{min-width:0}.strict-test-content[inert]{pointer-events:none}.strict-test-status{color:var(--muted);flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 14px;font-size:13px;display:flex}.strict-test-backdrop{z-index:12000;background:var(--paper);overscroll-behavior:contain;place-items:center;padding:24px;display:grid;position:fixed;inset:0;overflow:auto}.strict-test-gate{gap:18px;width:min(100%,600px);padding:clamp(20px,4vw,36px);display:grid}.strict-test-gate h2,.strict-test-gate p{margin:0}.strict-test-gate p{line-height:1.6}.strict-test-gate small{color:var(--muted);line-height:1.5}.proctor-journal{margin:14px 0}.proctor-journal>section{border:1px solid var(--line);border-radius:16px;margin-top:12px;padding:18px}.proctor-journal-heading,.proctor-journal li>div{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;display:flex}.proctor-journal ol{gap:12px;margin:16px 0;padding:0;list-style:none;display:grid}.proctor-journal li{border-inline-start:3px solid var(--muted);background:var(--panel);border-radius:0 8px 8px 0;padding:8px 12px}.proctor-journal li[data-counted=true]{border-inline-start-color:var(--danger)}.proctor-journal time,.proctor-journal small{color:var(--muted);font-size:12px}.proctor-journal p{margin:8px 0;line-height:1.5}.live-extension-connect{border:1px solid var(--line);background:var(--panel);border-radius:12px;flex-wrap:wrap;align-items:center;gap:16px;margin:12px 0;padding:16px 18px;display:flex}.live-extension-connect>div:first-child{flex:1;gap:4px;min-width:210px;display:grid}.live-extension-connect small{color:var(--muted);line-height:1.5}.live-extension-actions{flex-wrap:wrap;gap:8px;display:flex}.live-extension-connect details,.live-extension-fallback{flex-basis:100%;font-size:13px}.live-extension-connect summary{cursor:pointer;color:var(--muted)}.live-extension-connect p{margin:8px 0 0;line-height:1.6}.live-extension-fallback{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.live-draft-recovery{border-left:3px solid var(--accent);flex-wrap:wrap;align-items:center;gap:14px;padding:16px 18px;display:flex}.live-draft-recovery>div:first-child{flex:260px;min-width:0}.live-draft-recovery strong{font-size:13px}.live-draft-recovery p{color:var(--muted);margin:5px 0 0;font-size:12px}.live-draft-actions{flex-wrap:wrap;gap:8px;display:flex}.personal-theme-switch{min-width:0}.personal-theme-switch .theme-switcher{flex-wrap:nowrap;width:100%;min-width:0;display:flex}.personal-theme-picker{min-width:28px;color:var(--accent);flex:0 0 30px;justify-content:center;align-items:center;display:flex;position:relative}.personal-theme-picker select{opacity:0;cursor:pointer;width:100%;height:100%;min-height:0;padding:0;position:absolute;inset:0}.personal-theme-picker:focus-within{outline:2px solid var(--accent);outline-offset:2px;border-radius:6px}.personal-theme-picker:has(select:disabled){opacity:.5}.theme-switch-error{color:var(--danger);overflow-wrap:anywhere;margin:4px 0;font-size:11px}.drawer-theme-control .personal-theme-switch{width:100%}.drawer-theme-control .theme-switcher{background:0 0;border:0}.drawer-theme-control .theme-switcher button{flex:1;justify-items:center;gap:4px;min-width:0;padding:7px 2px;display:grid}.drawer-theme-control .theme-switcher button span{font-size:10px}.personal-theme-settings{min-width:0;margin:20px 0;padding:24px}.personal-theme-settings h3{align-items:center;gap:8px;display:flex}.personal-theme-settings h4{margin:0 0 8px}.personal-theme-settings p{color:var(--muted);font-size:13px}.theme-menu-settings,.theme-editor{border:1px solid var(--line);background:var(--surface-soft);border-radius:12px;margin-bottom:18px;padding:18px}.theme-builtin-checks{flex-wrap:wrap;gap:18px;display:flex}.theme-builtin-checks label,.theme-library-item label{align-items:center;gap:8px;font-size:13px;display:flex}.theme-editor-meta{grid-template-columns:1fr 1fr;gap:16px;margin-bottom:18px;display:grid}.theme-editor-meta>button{justify-self:start}.theme-color-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.theme-color-field{min-width:0;font-size:12px}.theme-color-field>div{align-items:center;gap:8px;min-width:0;display:flex}.theme-color-field input[type=color]{cursor:pointer;flex:0 0 42px;width:42px;height:38px;min-height:38px;padding:4px}.theme-color-field input:not([type=color]){width:100%;min-width:0;min-height:38px;padding:7px 10px;font-family:monospace;font-size:13px}.theme-contrast{color:var(--success);gap:5px;margin:16px 0;font-size:12px;display:grid}.theme-contrast .weak{color:var(--yellow)}.theme-editor-actions{flex-wrap:wrap;align-items:center;gap:12px;margin-top:16px;display:flex}.theme-auto-contrast{cursor:pointer;align-items:flex-start;gap:10px;margin-bottom:20px;display:flex}.theme-auto-contrast input{width:18px;height:18px;min-height:0;accent-color:var(--accent);flex:none;margin-top:3px}.theme-auto-contrast small{color:var(--muted);margin-top:4px;font-size:12px;line-height:1.5;display:block}.theme-advanced-colors{margin-top:18px}.theme-advanced-colors summary{cursor:pointer;padding:10px 0;font-size:13px;font-weight:600}.theme-advanced-colors .theme-color-grid{margin-top:12px}.theme-palette-preview{border:1px solid;border-radius:12px;margin-top:20px;padding:18px}.theme-palette-preview>small{margin-bottom:12px;display:block}.theme-palette-preview>div{border:1px solid;border-radius:8px;padding:18px}.theme-preview-button{border-radius:8px;margin:4px 8px 0 0;padding:10px 14px;font-size:13px;font-weight:600;display:inline-block}.theme-contrast-advice{margin-top:14px}.theme-contrast-advice small{color:var(--muted);margin-top:8px;line-height:1.5;display:block}.theme-color-field input[aria-invalid=true]{border-color:var(--danger)}.theme-library-head{align-items:center;gap:14px;margin-bottom:14px;display:flex}.theme-search{flex:1;align-items:center;gap:8px;min-width:0;display:flex}.theme-search input{width:100%;min-width:0}.theme-library{gap:8px;display:grid}.theme-library-item{border:1px solid var(--line);border-radius:10px;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;display:grid}.theme-library-item strong{overflow-wrap:anywhere;display:block}.theme-library-item small{color:var(--accent);display:block}.theme-swatches{grid-template-columns:repeat(2,20px);gap:3px;display:grid}.theme-swatches i{border:1px solid var(--line-dark);border-radius:5px;width:20px;height:20px}.theme-row-actions{align-items:center;gap:4px;display:flex}.theme-row-actions .icon-btn{width:32px;min-width:32px;height:32px;min-height:32px}.theme-delete-confirm{border-top:1px solid var(--line);flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:12px;padding-top:12px;font-size:13px;display:flex}.theme-notice{color:var(--success)!important}.theme-preview-recovery{z-index:250;border:1px solid #c1d0c8;border-radius:12px;flex-wrap:wrap;align-items:center;gap:12px;max-width:calc(100vw - 24px);padding:12px 16px;font-size:13px;display:flex;position:fixed;bottom:14px;left:50%;transform:translate(-50%);box-shadow:0 4px 20px #0002;color:#172329!important;background:#fff!important}.theme-preview-recovery button{white-space:nowrap;border-radius:6px;padding:8px 12px;color:#fff!important;background:#172329!important}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (max-width:700px){.personal-theme-settings{padding:16px}.theme-editor-meta{grid-template-columns:1fr}.theme-color-grid{gap:10px}.theme-library-item{grid-template-columns:44px minmax(0,1fr)}.theme-row-actions{grid-column:2}}@media (max-height:520px){.drawer-theme-control .theme-switcher button{gap:3px;min-height:28px;display:flex}}:root,:root[data-theme=light]{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--app-bg:#f5f7f6;--sidebar-bg:#fff;--topbar-bg:#fff;--surface:#fff;--surface-soft:#f0f4f2;--surface-raised:#fff;--ink:#172329;--ink-soft:#384a43;--muted:#64736d;--line:#dce5df;--line-dark:#bdcdc3;--accent:#3e7351;--accent-hover:#315d40;--accent-soft:#e5f0e8;--on-accent:#fff;--danger:#ba3c43;--danger-soft:#fff0f0;--yellow:#93671a;--warning-soft:#fff6df;--success:#3e7351;--soft-shadow:0 6px 24px #1723290a}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--app-bg:#101817;--sidebar-bg:#141e1c;--topbar-bg:#141e1c;--surface:#192522;--surface-soft:#15201e;--surface-raised:#21302a;--ink:#eff5f1;--ink-soft:#d0dcd5;--muted:#a3b4aa;--line:#2d4036;--line-dark:#466150;--accent:#b0df73;--accent-hover:#c4ed96;--accent-soft:#293b21;--on-accent:#14200e;--danger:#f19696;--danger-soft:#352325;--yellow:#e2c27d;--warning-soft:#302b20;--success:#b0df73;--soft-shadow:none}:root[data-theme=nordic]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--app-bg:#102025;--sidebar-bg:#122328;--topbar-bg:#15272c;--surface:#1b3036;--surface-soft:#172a30;--surface-raised:#253d42;--ink:#eff5f3;--ink-soft:#cfdfdc;--muted:#a7bdba;--line:#324b51;--line-dark:#537078;--accent:#9ec8aa;--accent-hover:#b8d9c1;--accent-soft:#29443b;--on-accent:#14271e;--danger:#ec9898;--danger-soft:#34272e;--yellow:#dfc68d;--warning-soft:#322f27;--success:#9ec8aa;--soft-shadow:none}:root[data-theme],:root{--paper:var(--app-bg);--paper-deep:var(--surface-soft);--panel:var(--surface);--text:var(--ink);--text-soft:var(--ink-soft);--page:var(--app-bg);--vermilion:var(--accent);--vermilion-dark:var(--accent-hover);--green:var(--accent);--green-dark:var(--accent-hover);--blue:var(--accent);--blue-dark:var(--accent);--indigo:var(--accent);--glow:color-mix(in srgb, var(--accent) 15%, transparent);--sidebar-width:244px;--content-space:clamp(20px, 2.4vw, 38px)}html{background:var(--app-bg);scroll-padding-top:90px}:root[data-theme] body,body{background:var(--app-bg);color:var(--ink);background-image:none;font-family:Inter,Segoe UI,Arial,ui-sans-serif,sans-serif;font-size:14px;line-height:1.5}body:before,.panel:after{display:none}[hidden]{display:none!important}button,input,textarea,select{font-family:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}:is(button:focus-visible,a:focus-visible,summary:focus-visible){outline:2px solid var(--accent);outline-offset:3px}button:disabled{opacity:.5;cursor:not-allowed}button svg,a svg{flex-shrink:0}::selection{background:color-mix(in srgb, var(--accent) 28%, transparent)}h1,h2,h3,h4{color:var(--ink);text-transform:none;text-wrap:pretty;overflow-wrap:break-word}h1{letter-spacing:-.035em;font-size:30px;line-height:1.2}h2{letter-spacing:-.025em;font-size:26px;line-height:1.25}h3{letter-spacing:-.015em;font-size:19px;line-height:1.35}p{line-height:1.6}.eyebrow{color:var(--accent);letter-spacing:.06em;font-size:11px;font-weight:650}.muted,.quiet{color:var(--muted)}.panel,.stat-card,.test-card,.group-summary-card{background:var(--surface);border:1px solid var(--line);box-shadow:none;background-image:none;border-radius:12px}.panel:hover,.test-card:hover{box-shadow:none}.primary-btn,.secondary-btn,.danger-btn,.icon-btn,.menu-toggle,.selected-test-button{border:1px solid var(--line);min-height:40px;box-shadow:none;text-transform:none;letter-spacing:normal;border-radius:8px;font-size:14px;font-weight:600;transition:background-color .15s,border-color .15s,color .15s;transform:none}.primary-btn{background:var(--accent);border-color:var(--accent);color:var(--on-accent);padding:11px 17px}.primary-btn.small{min-height:40px;padding:10px 15px}.primary-btn:hover:not(:disabled),.primary-btn:active:not(:disabled){background:var(--accent-hover);border-color:var(--accent-hover);color:var(--on-accent);box-shadow:none;transform:none}.secondary-btn,.icon-btn,.menu-toggle,.selected-test-button{background:var(--surface);color:var(--ink-soft);padding:10px 14px}.secondary-btn:hover:not(:disabled),.icon-btn:hover:not(:disabled),.menu-toggle:hover:not(:disabled),.selected-test-button:hover{background:var(--surface-soft);border-color:var(--line-dark);color:var(--ink);box-shadow:none;transform:none}.danger-btn{color:var(--danger);background:0 0;padding:9px 13px}.danger-btn:hover:not(:disabled){background:var(--danger-soft);border-color:var(--danger);color:var(--danger);transform:none}.icon-btn,.menu-toggle{place-items:center;width:40px;min-width:40px;padding:0;display:inline-grid}.text-action{color:var(--accent);font:inherit;text-align:left;background:0 0;border:0;align-items:center;gap:8px;padding:7px 0;font-weight:600;display:inline-flex}.text-action:hover{text-underline-offset:4px;text-decoration:underline}label{color:var(--ink-soft);margin:10px 0;font-size:13px;font-weight:550}input,textarea,select{border:1px solid var(--line);background:var(--surface-soft);color:var(--ink);border-radius:8px;padding:11px 13px;font-weight:450}input,select{min-height:42px}input::placeholder,textarea::placeholder{color:var(--muted);opacity:.85;font-weight:400}input:focus,textarea:focus,select:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--glow)}input[type=checkbox],input[type=radio]{width:17px;height:17px;min-height:0;accent-color:var(--accent)}.section-heading{align-items:center;gap:16px}.section-heading h2{font-size:clamp(23px,2.1vw,30px);font-weight:650;line-height:1.25}.section-heading p:not(.eyebrow){max-width:76ch;color:var(--muted);margin:7px 0 0;font-size:14px}.section-heading>div{min-width:0}.workspace-section{gap:22px;padding-top:26px}.workspace-section>*,.dashboard-main>*,.dashboard-rail>*{min-width:0}.panel-section-title h2,.panel-section-title h3{font-size:19px;font-weight:650}.panel-section-title p{color:var(--muted);font-size:13px}.empty-state{min-height:130px;color:var(--muted);text-align:center;align-content:center;justify-items:center;gap:8px;padding:24px;display:grid}.empty-state h3,.empty-state p{margin:0}.admin-shell.wide:not(.support-page){grid-template-columns:var(--sidebar-width) minmax(0, 1fr);background:var(--app-bg);grid-auto-rows:min-content;width:100%;max-width:none;min-height:100dvh;margin:0;padding:0 0 52px;display:grid}.admin-shell.wide:not(.support-page)>*{grid-column:2;min-width:0}.admin-shell.wide:not(.support-page)>.admin-drawer{grid-area:1/1/span 200}.admin-shell.wide:not(.support-page)>:is(.workspace-section,.workspace-switcher,.history-filters,.embedded-admin-page){width:auto;margin-left:var(--content-space);margin-right:var(--content-space)}.admin-tabs.admin-drawer{z-index:75;width:var(--sidebar-width);border:0;border-right:1px solid var(--line);background:var(--sidebar-bg);height:100dvh;max-height:100dvh;box-shadow:none;flex-direction:column;padding:22px 14px 16px;display:flex;position:fixed;inset:0 auto 0 0;overflow:hidden;transform:none}.drawer-head{justify-content:space-between;align-items:center;display:flex}.admin-tabs.admin-drawer .drawer-head{border:0;min-height:62px;margin:0 0 15px;padding:3px 9px 26px}.admin-tabs.admin-drawer .drawer-head button{display:none}.admin-tabs.admin-drawer .drawer-brand-logo{width:196px;max-width:100%}.admin-tabs.admin-drawer .drawer-intro{display:none}.admin-tabs.admin-drawer>button{width:100%;min-height:49px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:9px;gap:13px;margin:3px 0;padding:11px 14px}.admin-tabs.admin-drawer>button>span strong{font-size:14px;font-weight:550}.admin-tabs.admin-drawer>button>span small{display:none}.admin-tabs.admin-drawer>button:hover{background:var(--surface-soft);color:var(--ink)}.admin-tabs.admin-drawer>button.active{background:var(--accent-soft);color:var(--accent)}.drawer-spacer{flex:1;min-height:12px}.sidebar-profile{border-top:1px solid var(--line);align-items:center;gap:6px;padding:14px 0;display:flex}.sidebar-profile>button:first-child{min-width:0;color:var(--ink);text-align:left;background:0 0;border:0;flex:1;align-items:center;gap:10px;padding:0;display:flex}.sidebar-profile>button>span:not(.workspace-avatar){flex:1;gap:2px;min-width:0;display:grid}.sidebar-profile strong{white-space:nowrap;text-overflow:ellipsis;font-size:12px;font-weight:600;display:block;overflow:hidden}.sidebar-profile small{color:var(--muted);font-size:11px}.sidebar-profile .icon-btn{border:0;width:30px;min-width:30px;min-height:34px}.workspace-avatar{background:var(--accent-soft);width:40px;height:40px;min-height:40px;color:var(--accent);border:0;border-radius:50%;flex:none;place-items:center;font-size:13px;font-weight:650;display:inline-grid}.admin-header{z-index:40;min-height:74px;padding:13px var(--content-space);border:0;border-bottom:1px solid var(--line);background:var(--topbar-bg);-webkit-backdrop-filter:none;backdrop-filter:none;grid-template-columns:minmax(160px,1fr) minmax(180px,380px) auto;align-items:center;gap:16px;margin:0;display:grid;position:sticky;top:0}.admin-header .admin-title{gap:10px;min-width:0}.admin-header .admin-title>div{min-width:0;display:block}.admin-header .admin-brand-logo,.admin-header .admin-title p{display:none}.admin-header h1{white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:24px;font-weight:650;line-height:1.2;overflow:hidden}.admin-header .menu-toggle{display:none}.admin-header .header-actions{gap:6px;width:auto;display:flex}.header-ai-button{border:1px solid var(--line);background:var(--surface);min-height:40px;color:var(--accent);border-radius:8px;align-items:center;gap:6px;padding:8px 11px;font-weight:600;display:inline-flex}.admin-header .header-icon-button,.header-icon-button{width:38px;min-width:38px;height:40px;color:var(--muted);background:0 0;border:0;border-radius:8px;place-items:center;padding:0;display:inline-grid}.admin-header .header-icon-button:hover,.header-icon-button:hover{background:var(--surface-soft);transform:none}.admin-header .header-icon-button:active,.header-icon-button:active{border:0;height:40px;margin:0}.admin-header .profile-icon-button{background:var(--accent-soft);color:var(--accent);border-radius:50%;font-weight:650}.admin-global-search{align-items:center;min-width:0;display:flex;position:relative}.admin-global-search>svg{color:var(--muted);pointer-events:none;position:absolute;left:12px}.admin-global-search input{background:var(--surface-soft);min-width:0;min-height:42px;margin:0;padding:10px 12px 10px 39px;font-size:13px}.admin-search-results{z-index:100;border:1px solid var(--line);background:var(--surface);border-radius:10px;gap:3px;max-height:50dvh;padding:7px;display:grid;position:absolute;top:calc(100% + 7px);left:0;right:0;overflow-y:auto;box-shadow:0 12px 34px #00000026}.admin-search-results button{color:var(--ink);text-align:left;background:0 0;border:0;border-radius:6px;align-items:center;gap:9px;padding:10px;display:flex}.admin-search-results button:hover{background:var(--surface-soft)}.admin-search-results span{display:grid}.admin-search-results small{color:var(--muted)}.workspace-switcher{border:0;border-bottom:1px solid var(--line);min-height:45px;box-shadow:none;background:0 0;border-radius:0;align-items:center;gap:12px;margin-top:14px;padding:0;display:flex}.workspace-switcher>span{display:none}.workspace-switcher>div{flex-wrap:wrap;gap:3px;width:100%;display:flex}.workspace-switcher button{min-height:43px;color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;padding:10px 13px;font-size:13px;font-weight:550}.workspace-switcher button.active{border-bottom-color:var(--accent);color:var(--accent);background:0 0}.workspace-switcher button:hover{background:var(--surface-soft)}.theme-switcher,.inline-theme-switcher{border:1px solid var(--line);background:var(--surface-soft);border-radius:9px;gap:2px;padding:3px;display:flex}.theme-switcher button{min-height:34px;color:var(--muted);background:0 0;border:0;border-radius:6px;justify-content:center;align-items:center;gap:6px;padding:6px 10px;font-size:11px;font-weight:550;display:inline-flex}.theme-switcher button.active{background:var(--accent-soft);color:var(--accent);box-shadow:none}.theme-switcher.compact button span{display:none}.drawer-theme-control{border-top:1px solid var(--line);margin:0;padding:12px 0 0;display:block}.drawer-theme-control>div:first-child{display:none}.drawer-theme-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;display:grid}.drawer-theme-options button{min-height:51px;color:var(--muted);background:0 0;border:0;border-radius:7px;place-items:center;gap:3px;padding:6px 1px;display:grid}.drawer-theme-options button span{font-size:10px}.drawer-theme-options button.active{background:var(--accent-soft);color:var(--accent)}.dashboard-columns{grid-template-columns:minmax(0,1fr) minmax(235px,290px);align-items:start;gap:24px;display:grid}.dashboard-main,.dashboard-rail{gap:22px;min-width:0;display:grid}.dashboard-main>.section-heading{margin-bottom:0}.rail-card{padding:22px}.rail-title{align-items:center;gap:10px;display:flex}.rail-title h3{margin:0;font-size:16px;font-weight:600}.rail-title svg{color:var(--muted)}.rail-card p{color:var(--muted);margin:14px 0;font-size:13px}.rail-group,.rank-number{letter-spacing:-.03em;margin:20px 0 6px;font-size:34px;font-weight:650;line-height:1.2;display:block}.rank-number{font-size:40px}.rail-card .text-action{width:100%;margin-top:13px}.rail-card .primary-btn+.text-action{border-top:1px solid var(--line);margin-top:18px;padding-top:16px}.launch-wizard{padding:18px}.quick-launch-row{grid-template-columns:minmax(0,1.45fr) minmax(0,.9fr) 105px auto;align-items:end;gap:13px;display:grid}.quick-launch-row label{margin:0;font-size:12px}.quick-launch-row .primary-btn{white-space:nowrap;min-height:42px;margin:0}.launch-options{border-top:1px solid var(--line);margin-top:16px;padding-top:12px}.launch-options summary{color:var(--accent);cursor:pointer;align-items:center;gap:8px;font-size:12px;list-style:none;display:flex}.launch-options summary>span{color:var(--muted);margin-left:auto;font-size:11px}.launch-options>label{max-width:200px;margin-top:16px}.launch-remediation{margin-top:10px}.attention-section h3,.recent-section h3,.completed-tests>h3,.student-live-history>h3{margin:8px 0 13px;font-size:19px;font-weight:650}.attention-list,.recent-list{padding:0 18px;overflow:hidden}.attention-list>button,.recent-list>button{width:100%;min-height:81px;color:var(--ink);text-align:left;background:0 0;border:0;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:15px;padding:17px 3px;display:grid}.recent-list>button{grid-template-columns:auto minmax(0,1fr) auto auto}.attention-list>button+button,.recent-list>button+button{border-top:1px solid var(--line)}.attention-list>button:hover,.recent-list>button:hover{background:var(--surface-soft)}.attention-list strong,.recent-list strong{font-size:14px;font-weight:550;display:block}.attention-list small,.recent-list small,.recent-list time{color:var(--muted);margin-top:3px;font-size:12px;display:block}.recent-list time{white-space:nowrap;font-size:10px}.attention-list>button>svg:first-child{color:var(--accent)}.recent-list>button>svg{color:var(--muted)}.generated-code-batch{padding:20px}.stat-card{gap:5px;padding:18px}.stat-card:first-child{border-top:1px solid var(--line)}.stat-card strong{color:var(--ink);font-size:29px;font-weight:650}.stat-card span,.stat-card small{color:var(--muted);font-size:12px}.test-card{min-height:245px;padding:22px;transition:border-color .15s}.test-card:hover{border-color:var(--line-dark);transform:none}.test-card h3{margin:16px 0 8px;font-size:20px;font-weight:650;line-height:1.3}.test-card-actions button{flex:0 auto;min-height:34px;padding:7px 10px;font-size:12px}.test-card-stats b{font-size:19px}.selected-test-button{min-height:34px;font-size:12px}.group-summary-card,.group-card,.bank-card,.bank-editor,.builder-panel,.analytics-panel,.report-card,.account-card{padding:22px}.test-builder,.group-builder,.reports-panel,.results-panel,.code-panel{padding:24px}.question-editor,.settings-panel{border:1px solid var(--line);background:var(--surface-soft);border-radius:10px;padding:18px}.results-table,.teacher-leaderboard-table,.gradebook-table,.owner-teacher-table{scrollbar-width:thin}.result-entry,.code-entry,.assignment-list>div{border-color:var(--line)}.result-entry h3,.group-card h3{font-size:19px}.builder-tabs button,.history-filters button,.monitor-filters button{box-shadow:none;background-image:none;border-width:1px;border-radius:8px}.difficulty,.ticket-status,.task-kind,.test-status{font-size:11px;font-weight:550}.owner-summary-card,.owner-teacher-usage,.owner-chart,.owner-events,.leaderboard-podium,.report-card{background-image:none;border-width:1px;border-radius:12px}.owner-summary-card strong{font-weight:650}.podium-card{box-shadow:none;background:var(--surface);border-width:1px}.podium-card.first{background:var(--accent-soft)}.ai-setup-card,.ai-setup-steps>article,.ai-workspace-tabs,.ai-import-panel,.ai-token-panel,.ai-history-card{box-shadow:none;background-image:none;border-width:1px;border-radius:12px}.ai-integrations-page h1,.teacher-leaderboard-header h1,.owner-analytics-page h1{font-size:30px}.ai-integrations-page h2{font-size:23px}.student-portal-shell{grid-template-columns:var(--sidebar-width) minmax(0, 1fr);background:var(--app-bg);width:100%;max-width:none;min-height:100dvh;margin:0;display:grid}.student-sidebar{width:var(--sidebar-width);border-right:1px solid var(--line);background:var(--sidebar-bg);flex-direction:column;height:100dvh;padding:24px 14px 16px;display:flex;position:fixed;inset:0 auto 0 0;overflow:hidden}.student-sidebar .drawer-head{margin-bottom:15px;padding:3px 9px 26px}.student-sidebar .drawer-head .icon-btn{display:none}.student-sidebar-logo{width:196px;max-width:100%;margin:0}.student-sidebar nav{gap:6px;display:grid}.student-sidebar nav button,.student-sidebar-bottom>button{width:100%;min-height:49px;color:var(--muted);text-align:left;background:0 0;border:0;border-radius:9px;align-items:center;gap:13px;padding:11px 14px;font-size:14px;font-weight:550;display:flex}.student-sidebar nav button:hover,.student-sidebar-bottom>button:hover{background:var(--surface-soft);color:var(--ink)}.student-sidebar nav button.active,.student-sidebar-bottom>button.active{background:var(--accent-soft);color:var(--accent)}.student-sidebar-bottom{gap:8px;margin-top:auto;padding-top:12px;display:grid}.student-sidebar-bottom>button{min-height:42px;font-size:12px}.student-sidebar-bottom .theme-switcher{border:0;border-top:1px solid var(--line);background:0 0;border-radius:0;width:100%;padding:8px 0 0}.student-sidebar-bottom .theme-switcher button{flex:1;gap:4px;min-height:51px;padding:6px 2px;display:grid}.student-sidebar-bottom .theme-switcher button span{font-size:10px}.student-sidebar-bottom .sidebar-profile{padding:12px 0}.student-portal-main.site-shell{width:100%;max-width:none;padding:0 var(--content-space) 52px;grid-column:2;min-width:0;margin:0}.student-portal-head{z-index:40;min-height:74px;margin:0 calc(var(--content-space) * -1);padding:13px var(--content-space);border:0;border-bottom:1px solid var(--line);background:var(--topbar-bg);-webkit-backdrop-filter:none;backdrop-filter:none;align-items:center;gap:16px;display:flex;position:sticky;top:0}.student-portal-head h1{margin:0;font-size:24px;font-weight:650}.student-portal-head .menu-toggle{display:none}.student-group-chip{border:1px solid var(--line);color:var(--ink-soft);border-radius:8px;margin-left:auto;padding:7px 12px;font-size:12px}.student-page{gap:24px;min-width:0;padding-top:32px;display:grid}.student-page .section-heading h2{font-size:29px}.student-assignment-list{grid-template-columns:1fr;gap:18px;display:grid}.student-assignment{min-height:0;padding:24px}.student-assignment h3{margin:18px 0 9px;font-size:clamp(24px,2.5vw,32px);font-weight:650;line-height:1.25}.student-assignment>p{color:var(--muted);margin:0;font-size:14px}.availability-label{background:var(--accent-soft);color:var(--accent);border-radius:6px;align-items:center;gap:7px;padding:5px 9px;font-size:11px;font-weight:600;display:inline-flex}.status-dot{background:var(--accent);box-shadow:none;width:7px;height:7px}.assignment-meta{color:var(--muted);flex-wrap:wrap;gap:16px;margin:22px 0;font-size:13px;display:flex}.assignment-meta>span{align-items:center;gap:7px;display:flex}.student-assignment footer{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:14px;padding-top:18px;display:flex}.student-assignment footer>span{color:var(--muted);font-size:11px}.student-assignment footer .primary-btn{flex-shrink:0;min-height:44px}.remediation-row{align-items:center;gap:16px;padding:20px;display:flex}.remediation-row>svg{color:var(--accent)}.remediation-row>div{flex:1;min-width:0}.remediation-row h3{margin:0;font-size:17px;font-weight:600}.remediation-row p{color:var(--muted);margin:6px 0 0;font-size:12px}.completed-list{overflow:hidden}.completed-list>article{color:var(--muted);grid-template-columns:minmax(0,1fr) auto auto auto;align-items:center;gap:18px;padding:17px 20px;font-size:12px;display:grid}.completed-list>article+article{border-top:1px solid var(--line)}.completed-list>article strong{color:var(--ink);font-size:13px;font-weight:550;display:block}.completed-list>article b{color:var(--ink);font-size:14px}.completed-list>article small{color:var(--muted);margin-top:3px;display:block}.student-history{padding:15px 0 0}.student-history summary{color:var(--muted);cursor:pointer;padding:0 20px 15px}.password-required{border:1px solid color-mix(in srgb, var(--yellow) 35%, var(--line));color:var(--yellow);background:var(--warning-soft);border-radius:10px;align-items:center;gap:10px;margin-top:22px;padding:12px 16px;display:flex}.password-required span{flex:1;font-size:13px}.profile-page-grid{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;max-width:960px;display:grid}.student-profile-details,.student-password-card{padding:26px;position:static}.student-profile-details .workspace-avatar{width:56px;height:56px;font-size:20px}.student-profile-details p{color:var(--muted)}.profile-theme{border-top:1px solid var(--line);margin:25px 0;padding-top:20px}.profile-theme h3{font-size:15px}.student-live-history{margin-top:16px}.live-history-grid .panel{border-width:1px;padding:22px}.live-history-grid h3{margin:14px 0;font-size:19px}.live-history-grid .panel>strong{color:var(--accent);margin:14px 0;font-size:25px;font-weight:650;display:block}.live-history-grid .panel>p{color:var(--muted);font-size:12px}.student-live-invite{border-width:1px;padding:19px}.home-summary{align-items:center;gap:18px;padding:24px;display:flex}.home-summary>div{flex:1}.home-summary h3{margin:0}.home-summary p{color:var(--muted);margin:6px 0;font-size:13px}.home-summary>svg{color:var(--accent)}.leaderboard{padding:0;overflow-x:auto}.leaderboard-row{min-height:65px;padding:15px 22px;font-size:13px}.leaderboard-row.head{background:var(--surface-soft);min-height:45px;color:var(--muted);font-size:11px}.leaderboard-row.me{background:var(--accent-soft)}.student-support-section{margin-top:0}.student-ticket-summary{border-width:1px}.quiz-shell{max-width:1100px;padding:22px 26px 48px}.quiz-shell-wide{max-width:1460px}.quiz-top{background:var(--topbar-bg);border-bottom:1px solid var(--line);-webkit-backdrop-filter:none;backdrop-filter:none;min-height:65px}.quiz-top .timer{background:var(--accent-soft);border:1px solid var(--line);color:var(--accent);border-radius:8px}.quiz-top .timer.timer-warning{background:var(--warning-soft);color:var(--yellow);border-color:var(--yellow);animation:none}.quiz-card{padding:clamp(20px,3vw,34px)}.question-title{font-size:clamp(21px,2.2vw,29px);font-weight:600;line-height:1.45}.programming-question-heading .question-title{font-size:clamp(20px,1.8vw,25px);line-height:1.5}.programming-task{border:1px solid var(--line);background:var(--surface-soft);border-radius:10px;padding:20px}.programming-task h3{font-size:18px}.option-btn{border:1px solid var(--line);background:var(--surface);color:var(--ink);box-shadow:none;border-radius:9px;padding:13px 15px}.option-btn:hover{background:var(--surface-soft);border-color:var(--line-dark);transform:none}.option-btn.selected{border-color:var(--accent);background:var(--accent-soft)}.option-btn>span{border:1px solid var(--line);background:var(--surface-soft);border-radius:6px;font-weight:550}.question-navigator{gap:7px}.question-navigator button{border:1px solid var(--line);min-width:35px;min-height:36px;box-shadow:none;background:var(--surface);color:var(--muted);border-radius:7px;padding:5px}.question-navigator button.answered{background:var(--accent-soft);color:var(--accent)}.question-navigator button.current{border-color:var(--accent);color:var(--accent)}.question-navigator button.flagged{background:var(--warning-soft);border-color:var(--yellow);color:var(--yellow)}.progress-track{background:var(--surface-soft)}.progress-track span{background:var(--accent);background-image:none}.violation-warning{border-color:var(--danger);background:var(--danger-soft);color:var(--danger);border-radius:8px}.save-indicator{box-shadow:none;color:var(--muted);background:0 0;border:0}.result-card{max-width:800px;margin-top:6vh;padding:32px}.result-card h1{font-size:30px}.result-score strong{font-size:58px;font-weight:650}.success-mark{background:var(--accent-soft);color:var(--accent);box-shadow:none;border:0}.result-meta span{background:var(--surface-soft);border-color:var(--line);border-radius:6px}.student-review{text-align:left}.answer-ok,.answer-bad{background:var(--surface-soft);border-width:1px}.answer-explanation,.teacher-feedback{background:var(--accent-soft);border-color:var(--line)}.live-coding-home{padding-top:26px}.live-coding-home .section-heading h2{font-size:29px;line-height:1.3}.live-coding-start-grid .panel{padding:24px}.live-coding-start-grid h2{font-size:22px}.live-editor-panel,.live-console,.live-participants,.student-live-score,.live-group-score,.live-history-card{border:1px solid var(--line);box-shadow:none;border-radius:12px}.live-editor-toolbar,.live-room-header,.live-student-header{background:var(--surface);border-color:var(--line)}.live-editor-panel{overflow:hidden}.live-console pre{color:var(--ink-soft);background:var(--surface-soft);font-size:13px}.live-participants{padding:20px}.student-control-banner{background:var(--surface-soft);border-width:1px;border-radius:10px}.student-control-banner.active{background:var(--accent-soft)}.hand-button,.score-buttons button,.live-participant,.connection-pill{box-shadow:none;background-image:none;border-width:1px}.hand-button{background:var(--surface);color:var(--ink)}.hand-button.raised{background:var(--accent-soft);color:var(--accent)}.live-student-shell{max-width:1500px;margin:auto;padding:22px}.live-student-header{z-index:40;padding:15px 0;position:sticky;top:0}.live-student-header .brand-logo{width:150px}.support-page .support-layout{padding-bottom:35px}.support-form,.support-ticket,.helpdesk-section>.panel{border-width:1px;padding:22px}.support-ticket h3{font-size:20px}.support-ticket p{font-size:13px}.support-ticket-head small{font-size:11px}.support-problem{box-shadow:none;border-width:1px;border-radius:8px}.support-form-icon{background:var(--accent-soft);color:var(--accent)}.teacher-leaderboard-header{border-bottom:1px solid var(--line);background:0 0;padding:0 0 24px;position:static}.support-page .teacher-leaderboard-header h1{max-width:none;font-size:30px}.support-page .teacher-leaderboard-header p:not(.eyebrow){font-size:14px}.helpdesk-topbar{z-index:40;background:var(--topbar-bg);border:0;border-bottom:1px solid var(--line);-webkit-backdrop-filter:none;backdrop-filter:none;min-height:74px;padding:12px 28px;position:sticky;top:0}.helpdesk-content{padding-top:32px}.helpdesk-heading h1{font-size:30px;font-weight:650}.helpdesk-heading p:not(.eyebrow){font-size:14px}.helpdesk-stats article{border:1px solid var(--line);background:var(--surface);min-height:115px;box-shadow:none;border-radius:12px;padding:18px}.helpdesk-stats article strong{font-size:30px;font-weight:650}.helpdesk-stats article small,.helpdesk-stats article>span{font-size:12px}.helpdesk-nav{border:0;border-bottom:1px solid var(--line);box-shadow:none;background:0 0;border-radius:0;padding:0}.helpdesk-nav button{color:var(--muted);background:0 0;border:0;border-bottom:2px solid #0000;border-radius:0;font-size:13px}.helpdesk-nav button.active{border-bottom-color:var(--accent);color:var(--accent);background:0 0}.helpdesk-inventory-table,.helpdesk-category-chart,.helpdesk-problem-form,.helpdesk-problem-grid article,.helpdesk-telegram,.helpdesk-team-card,.helpdesk-access-requests{box-shadow:none;border-width:1px;border-radius:12px}.helpdesk-ticket-table>button{background:var(--surface)}.helpdesk-ticket-table>button:hover{background:var(--surface-soft)}.helpdesk-status-tabs button,.helpdesk-priority{box-shadow:none;border-width:1px}.helpdesk-login-form,.helpdesk-login-copy{background:var(--surface)}.helpdesk-login-copy h1{font-size:36px}.helpdesk-login-copy:before,.helpdesk-login-copy:after{display:none}.dialog-backdrop,.menu-backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;background:#0a14137a}.dialog-backdrop{z-index:120;padding:20px}.dialog-backdrop>:is(section,.panel){overscroll-behavior:contain;border-width:1px;max-height:calc(100dvh - 40px);overflow-y:auto;box-shadow:0 18px 50px #0000002e}.profile-dialog h2,.help-center h2,.confirm-dialog h2,.support-ticket-dialog h2{font-size:25px;font-weight:650}.profile-dialog,.help-center,.confirm-dialog,.support-ticket-dialog{border-radius:14px;padding:26px}.help-scenarios button{border:1px solid var(--line);min-height:76px;box-shadow:none;border-radius:9px;padding:16px}.help-scenarios button b{font-size:14px;font-weight:600}.help-scenarios button small{font-size:12px}.help-scenarios button>svg:first-child{background:var(--accent-soft);color:var(--accent)}.simple-mode-card,.popular-solutions details{border-width:1px;border-radius:9px}.mode-toggle{border:1px solid var(--line);background:var(--surface-soft);color:var(--muted);box-shadow:none;border-radius:8px}.mode-toggle.active{background:var(--accent-soft);color:var(--accent)}.inline-notice{box-shadow:var(--soft-shadow);border-width:1px;border-radius:10px}.tour-card{background:var(--surface);border-width:1px;border-radius:12px;box-shadow:0 12px 45px #0003}.tour-card h2{font-size:23px}.tour-highlight{border-color:var(--accent);border-radius:10px}.teacher-agent-trigger{border:1px solid var(--line);background:var(--accent);color:var(--on-accent);box-shadow:var(--soft-shadow);border-radius:50%}body:has(.admin-header) .teacher-agent:not(.open) .teacher-agent-trigger{display:none}.teacher-agent-panel{border-radius:14px;box-shadow:0 12px 45px #0000002e}.teacher-agent-messages{background:var(--app-bg)}.agent-message,.agent-tool-result{box-shadow:none}.teacher-agent-panel .agent-composer form button{background:var(--accent);color:var(--on-accent)}.guide-shell{max-width:1180px}.guide-top{background:var(--topbar-bg);border-bottom:1px solid var(--line);-webkit-backdrop-filter:none;backdrop-filter:none}.guide-hero h1{font-size:clamp(30px,4vw,46px);line-height:1.2}.guide-hero>p{font-size:16px}.guide-nav a,.guide-faq details,.guide-role-card,.guide-student-flow>span,.guide-footer{box-shadow:none;background-image:none;border-width:1px;border-radius:10px}.guide-section h2{font-size:27px}.guide-faq summary{font-size:16px;font-weight:600}.guide-footer{padding:22px}.simple-mode :is(button,input,select){min-height:46px}.simple-mode .section-heading h2{font-size:32px}.simple-mode .workspace-section{font-size:16px}.landing-shell{max-width:1240px;padding:0 32px 28px}.landing-nav{border-bottom:1px solid var(--line);background:var(--app-bg);-webkit-backdrop-filter:none;backdrop-filter:none;min-height:85px;padding:20px 0}.landing-brand-logo{width:200px}.landing-hero{grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:60px;min-height:0;padding:80px 0 70px}.landing-hero h1{letter-spacing:-.04em;max-width:650px;font-size:clamp(34px,4.2vw,55px);font-weight:650;line-height:1.13}.landing-hero>div>p:not(.eyebrow){max-width:58ch;color:var(--muted);font-size:16px;line-height:1.7}.landing-actions{margin-top:25px}.landing-actions .primary-btn{width:auto;min-height:46px;padding:12px 22px}.landing-preview{padding:0;overflow:hidden}.landing-preview-head{background:var(--surface-soft);border-bottom:1px solid var(--line);color:var(--muted);align-items:center;gap:8px;padding:14px 18px;font-size:12px;display:flex}.landing-preview-head>span:last-child{margin-left:auto;font-size:10px}.landing-preview-body{padding:24px}.landing-preview-body h3{margin:16px 0 8px;font-size:23px}.landing-preview-body p{color:var(--muted);font-size:13px}.landing-preview-meta{color:var(--muted);gap:18px;font-size:12px;display:flex}.landing-preview-meta span{align-items:center;gap:6px;display:flex}.landing-preview-question{border-top:1px solid var(--line);margin-top:20px;padding-top:16px}.landing-preview-question small{color:var(--muted)}.landing-preview-option{border:1px solid var(--line);color:var(--muted);border-radius:7px;margin-top:8px;padding:10px 12px;font-size:12px}.landing-preview-option.correct{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.landing-features{border-top:1px solid var(--line);gap:35px;padding:30px 0;display:grid}.landing-features article{box-shadow:none;background:0 0;border:0;padding:0}.landing-features h2{margin:13px 0 8px;font-size:18px;font-weight:600}.landing-features p{color:var(--muted);font-size:13px}.landing-features svg{color:var(--accent)}.landing-callout{align-items:center;gap:22px;margin:30px 0;padding:26px;display:flex}.landing-callout h2{font-size:24px;line-height:1.3}.landing-callout p:not(.eyebrow){color:var(--muted);font-size:14px}.landing-footer{border-top:1px solid var(--line);font-size:12px}.student-login-shell{max-width:1120px}.student-login-shell .intro{border:0;padding-left:0}.student-login-shell .intro h1{font-size:clamp(32px,4vw,47px);font-weight:650;line-height:1.16}.student-login-shell .intro>p:not(.eyebrow){color:var(--muted);font-size:15px}.student-login-shell .facts span{background:var(--surface);border-width:1px;border-radius:7px;font-size:11px}.login-card h1{font-size:30px;font-weight:650}.loading-card{box-shadow:none;background:var(--surface);border:1px solid var(--line);border-radius:12px;font-size:14px}@media (max-width:1400px){:root,:root[data-theme]{--sidebar-width:220px;--content-space:24px}.admin-tabs.admin-drawer .drawer-brand-logo,.student-sidebar-logo{width:174px}.dashboard-columns{grid-template-columns:minmax(0,1fr) 240px;gap:18px}.quick-launch-row{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) 90px;gap:10px}.quick-launch-row>.primary-btn{grid-column:1/-1;justify-self:start}.admin-header{grid-template-columns:minmax(120px,1fr) minmax(170px,280px) auto;gap:10px}.recent-list time{display:none}.recent-list>button{grid-template-columns:auto minmax(0,1fr) auto}}@media (max-width:1100px){.dashboard-columns{grid-template-columns:1fr}.dashboard-rail{grid-template-columns:repeat(2,minmax(0,1fr))}.quick-launch-row{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr) 100px auto}.quick-launch-row>.primary-btn{grid-column:auto}.admin-header .header-icon-button[aria-label=Обновить\ данные]{display:none}.admin-header .admin-global-search{max-width:100%}.completed-list>article{grid-template-columns:minmax(0,1fr) auto auto;gap:10px}.completed-list .text-action{grid-column:1/-1;justify-self:start}.profile-page-grid{grid-template-columns:1fr}.landing-hero{gap:30px}}@media (max-width:900px),(max-height:520px){.admin-shell.wide:not(.support-page){display:block}.admin-tabs.admin-drawer,.student-sidebar{z-index:130;pointer-events:none;width:min(280px,88vw);height:100dvh;box-shadow:none;padding:18px 14px 14px;transition:transform .18s;position:fixed;top:0;left:0;transform:translate(-105%)}.admin-tabs.admin-drawer.open,.student-sidebar.open{pointer-events:auto;transform:translate(0)}.admin-tabs.admin-drawer .drawer-head button,.student-sidebar .drawer-head .icon-btn{display:inline-grid}.admin-tabs.admin-drawer .drawer-head,.student-sidebar .drawer-head{padding:0 7px 18px}.admin-tabs.admin-drawer .drawer-brand-logo,.student-sidebar-logo{width:170px}.admin-header .menu-toggle,.student-portal-head .menu-toggle{display:inline-grid}.menu-backdrop{z-index:125;border:0;width:100%;height:100dvh;position:fixed;inset:0}.student-portal-shell{display:block}.student-sidebar{display:flex}.admin-header{grid-template-columns:minmax(0,1fr) minmax(170px,250px) auto}.live-coding-start-grid,.live-room-layout,.student-live-layout,.programming-split{grid-template-columns:1fr}.programming-task{max-height:none}}@media (max-height:700px){.admin-tabs.admin-drawer,.student-sidebar{padding-top:14px;padding-bottom:8px}.admin-tabs.admin-drawer .drawer-head,.student-sidebar .drawer-head{min-height:40px;margin-bottom:9px;padding-bottom:12px}.admin-tabs.admin-drawer>button,.student-sidebar nav button{min-height:40px;margin:1px 0;padding-top:8px;padding-bottom:8px}.sidebar-profile{padding:9px 0}.drawer-theme-options button,.student-sidebar-bottom .theme-switcher button{min-height:38px}.drawer-theme-control,.student-sidebar-bottom{gap:4px;padding-top:6px}}@media (max-height:520px){.admin-tabs.admin-drawer .drawer-head,.student-sidebar .drawer-head{margin-bottom:3px;padding-bottom:4px}.admin-tabs.admin-drawer>button,.student-sidebar nav button{min-height:32px;padding-block:4px}.drawer-spacer{min-height:0}.sidebar-profile{padding:6px 0}.sidebar-profile .workspace-avatar{width:30px;height:30px;min-height:30px}.drawer-theme-options button{justify-content:center;gap:4px;min-height:32px;display:flex}.student-sidebar-bottom .theme-switcher button{min-height:32px;display:flex}.student-sidebar-bottom>button{min-height:30px}}@media (max-width:700px){:root,:root[data-theme]{--content-space:16px}.admin-header{grid-template-columns:minmax(0,1fr) auto;gap:9px;min-height:65px;padding:10px 14px}.admin-global-search{grid-area:2/1/auto/-1}.admin-header h1,.student-portal-head h1{font-size:21px}.admin-header .header-actions{gap:3px}.admin-header .header-icon-button[aria-label=Настроить\ уведомления]{display:none}.header-ai-button{min-width:36px;padding:8px}.header-ai-button span{display:none}.admin-header .header-icon-button{width:34px;min-width:34px}.workspace-switcher{margin-top:10px}.workspace-switcher button{padding:9px 10px;font-size:12px}.workspace-section,.student-page{padding-top:22px}.student-portal-head{gap:10px;min-height:65px;padding-block:10px}.student-portal-head .workspace-avatar{width:35px;height:35px;min-height:35px;margin-left:auto}.student-group-chip{display:none}.quick-launch-row{grid-template-columns:minmax(0,1fr) 100px}.quick-launch-row label:first-child{grid-column:1/-1}.quick-launch-row .primary-btn{grid-column:1/-1;justify-self:stretch}.dashboard-rail{grid-template-columns:1fr}.rail-card{padding:20px}.launch-options summary{flex-wrap:wrap}.launch-options summary>span{width:100%;margin-left:0;padding-left:24px}.student-assignment{padding:20px}.student-assignment h3{font-size:25px}.student-assignment footer{flex-direction:column;align-items:stretch}.student-assignment footer .primary-btn{width:100%}.remediation-row{flex-wrap:wrap}.remediation-row .secondary-btn{margin-left:42px}.completed-list>article{grid-template-columns:minmax(0,1fr) auto}.completed-list>article>span:nth-child(3){grid-column:1}.password-required{flex-wrap:wrap}.password-required span{min-width:200px}.home-summary{flex-wrap:wrap;align-items:start}.home-summary>div{min-width:190px}.profile-page-grid{grid-template-columns:1fr}.leaderboard-row{min-width:510px}.landing-shell{padding-inline:20px}.landing-nav{gap:10px;min-height:75px}.landing-brand-logo{width:145px}.landing-nav .theme-switcher button{padding:6px}.landing-nav .theme-switcher button span{display:none}.landing-hero{grid-template-columns:1fr;gap:30px;padding:40px 0}.landing-hero h1{font-size:38px}.landing-features{grid-template-columns:1fr;gap:25px}.landing-callout{align-items:start;padding:20px}.landing-callout h2{font-size:21px}.landing-footer{flex-direction:column;align-items:start;gap:14px}.start-grid{grid-template-columns:1fr;gap:28px;min-height:0;padding-top:35px}.intro{max-width:none}.student-login-shell .intro h1{font-size:33px}.student-login-shell .brand-context,.student-login-shell .theme-switcher button span{display:none}.login-card,.start-card{padding:24px}.quiz-shell,.live-student-shell{padding:14px}.question-title{font-size:22px}.result-card{margin-top:25px;padding:24px}.dialog-backdrop{padding:12px}.dialog-backdrop>:is(section,.panel){max-height:calc(100dvh - 24px)}.profile-dialog,.help-center,.confirm-dialog,.support-ticket-dialog{padding:20px}.help-scenarios{grid-template-columns:1fr}.helpdesk-topbar{padding-inline:16px}.helpdesk-heading h1{font-size:27px}.guide-hero h1{font-size:32px}.guide-footer{padding:18px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}.test-state{background:var(--surface-soft);color:var(--muted);border-radius:5px;padding:3px 7px;display:inline-flex}.test-state.published{background:var(--accent-soft);color:var(--accent)}.test-more{flex:1 0 100%;min-width:0}.test-more summary{cursor:pointer;width:fit-content;color:var(--muted);align-items:center;gap:5px;padding:8px 0;font-size:12px;list-style:none;display:flex}.test-more summary::-webkit-details-marker{display:none}.test-more[open] summary svg{transform:rotate(180deg)}.test-more>div{border-top:1px solid var(--line);flex-wrap:wrap;gap:6px;padding-top:8px;display:flex}.code-window{border:1px solid var(--line);box-shadow:none;border-radius:9px}.code-window-bar{background:var(--surface-soft);border-bottom:1px solid var(--line);padding:9px 13px}.helpdesk-sidebar{width:var(--sidebar-width);background:var(--sidebar-bg);border-right:1px solid var(--line);height:100dvh;max-height:100dvh;box-shadow:none;padding:22px 14px 16px;overflow:hidden;transform:none}.helpdesk-main{margin-left:var(--sidebar-width);min-width:0}.helpdesk-brand{border-bottom:1px solid var(--line);min-height:47px;padding-bottom:20px}.helpdesk-brand-logo{width:180px}.helpdesk-brand>button,.helpdesk-menu,.helpdesk-topbar-logo{display:none}.helpdesk-workspace{background:0 0;border:0;grid-template-columns:32px minmax(0,1fr) auto;gap:8px;margin:20px 0;padding:10px}.helpdesk-workspace>span{background:var(--accent-soft);width:32px;height:32px;color:var(--accent);border-radius:8px;font-weight:600}.helpdesk-sidebar nav{gap:3px}.helpdesk-sidebar nav button{border:0;border-radius:8px;min-height:47px;padding:12px;font-weight:500}.helpdesk-sidebar nav button.active{background:var(--accent-soft);color:var(--accent);border:0}.helpdesk-sidebar nav button:hover{border:0}.helpdesk-profile{border-top:1px solid var(--line);grid-template-columns:34px minmax(0,1fr) 30px;gap:8px}.helpdesk-profile>span{background:var(--surface-raised);width:34px;height:34px;color:var(--ink);border-radius:50%;font-weight:600}.helpdesk-profile strong{text-overflow:ellipsis;white-space:nowrap;font-weight:600;overflow:hidden}.helpdesk-profile button{background:0 0;border:0;border-radius:6px;width:30px;height:34px}.helpdesk-content{padding:32px var(--content-space) 50px;max-width:1500px;margin-inline:auto}.helpdesk-queue-head h2{font-size:22px}.helpdesk-status-tabs{border-bottom:1px solid var(--line)}.helpdesk-status-tabs button{font-size:13px;font-weight:500}.helpdesk-filters :is(button,input,select),.helpdesk-room-pill{border:1px solid var(--line);box-shadow:none;border-radius:7px}.helpdesk-ticket-table :is(strong,.head),.helpdesk-inventory-table :is(strong,.head){font-weight:600}.helpdesk-chips span,.support-room-picker button,.helpdesk-bot-state{border:1px solid var(--line);box-shadow:none;border-radius:7px}@media (max-width:900px),(max-height:520px){.helpdesk-sidebar{z-index:130;width:min(280px,88vw);transform:translate(-105%)}.helpdesk-sidebar.open{transform:translate(0)}.helpdesk-main{margin-left:0}.helpdesk-brand>button,.helpdesk-menu{display:grid}.helpdesk-brand>button{border:1px solid var(--line);border-radius:8px}.helpdesk-scrim{z-index:125;-webkit-backdrop-filter:none;backdrop-filter:none}}@media (max-height:600px){.helpdesk-workspace{margin-block:8px}.helpdesk-sidebar nav button{min-height:36px;padding-block:8px}}@media (max-width:700px){.helpdesk-content{padding:24px 16px 40px}}:root:is([data-theme=dark],[data-theme=nordic]) .brand-logo .brand-logo-light{display:none!important}:root:is([data-theme=dark],[data-theme=nordic]) .brand-logo .brand-logo-dark{display:block!important}.landing-nav .theme-switcher{display:inline-flex}.rail-group{overflow-wrap:anywhere;font-size:clamp(24px,2.2vw,34px)}.test-card{flex-direction:column;display:flex}.test-card>p{flex:1;margin-bottom:20px}.test-card-actions{margin-top:15px}.test-card-stats{padding-block:15px}@media (max-width:900px),(max-height:520px){.admin-tabs.admin-drawer,.student-sidebar,.helpdesk-sidebar{visibility:hidden}.admin-tabs.admin-drawer.open,.student-sidebar.open,.helpdesk-sidebar.open{visibility:visible}}html{overflow-x:clip}body{overflow-x:visible}.admin-header h1{clip-path:none;width:auto;height:auto;position:static}.support-problem-presets button{border:1px solid var(--line);border-radius:7px;gap:9px;font-size:12px;font-weight:500}.support-problem-presets button svg{color:var(--accent)}.support-problem-presets button.active{background:var(--accent-soft);border-color:var(--accent)}.question-review-tools .question-flag{border:1px solid var(--line);min-height:38px;box-shadow:none;font-size:12px;font-weight:500}.builder-header>span,.count-badge,.owner-badge,.score-pill,.guide-steps li>span,.ai-free-steps b,.ai-step-number,.helpdesk-team-list article>span,.helpdesk-access-avatar{background:var(--accent);color:var(--on-accent);font-weight:600}.agent-message-row.user .agent-message,.agent-message-row.user .agent-list-line>b{background:var(--accent);color:var(--on-accent)}.profile-avatar{background:var(--accent-soft);color:var(--accent);border-radius:50%}@media (max-height:400px){.admin-tabs.admin-drawer,.student-sidebar,.helpdesk-sidebar{padding-block:8px}.admin-tabs.admin-drawer .drawer-brand-logo,.student-sidebar-logo,.helpdesk-brand-logo{width:120px}.admin-tabs.admin-drawer .drawer-head,.student-sidebar .drawer-head,.helpdesk-brand{min-height:32px;margin-bottom:3px;padding-bottom:3px}.admin-tabs.admin-drawer>button,.student-sidebar nav button,.helpdesk-sidebar nav button{min-height:28px;margin-block:1px;padding-block:4px;font-size:12px}.sidebar-profile{padding-block:4px}.sidebar-profile .workspace-avatar{width:26px;height:26px;min-height:26px}.student-sidebar-bottom>button{min-height:28px;padding-block:4px}.student-sidebar-bottom,.drawer-theme-control{padding-top:3px}.student-sidebar-bottom .theme-switcher button,.drawer-theme-options button{min-height:28px}.helpdesk-workspace,.helpdesk-nav-label{display:none}}.advanced-settings{padding:0}.advanced-settings>summary{cursor:pointer;color:var(--ink);align-items:center;gap:14px;padding:18px 22px;font-size:14px;font-weight:600;list-style:none;display:flex}.advanced-settings>summary::-webkit-details-marker{display:none}.advanced-settings>summary small{color:var(--muted);margin-left:auto;font-size:12px;font-weight:400}.advanced-settings[open]>summary{border-bottom:1px solid var(--line)}.advanced-settings[open]>summary>svg{transform:rotate(180deg)}.advanced-settings>:not(summary){margin:18px 22px}.code-editor-shell{border:1px solid var(--line);box-shadow:none;border-radius:10px}@media (max-width:700px){.advanced-settings>summary{flex-wrap:wrap;gap:8px;padding:15px 18px}.advanced-settings>summary small{margin-left:0}}.sidebar-profile small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.owner-stat-grid article,.owner-adoption article,.ai-summary-grid article{border:1px solid var(--line);box-shadow:none;background:var(--surface);border-radius:12px}.owner-adoption article{grid-template-columns:64px minmax(0,1fr);gap:14px;padding:18px}.owner-adoption h3{font-size:16px;font-weight:600;line-height:1.35}.owner-ring{width:64px;height:64px}@media (max-height:400px){.student-sidebar nav{gap:2px}.student-sidebar-bottom .sidebar-profile{padding-block:4px}.student-sidebar-bottom .sidebar-profile>button:first-child{min-height:28px}.student-sidebar .icon-btn{width:28px;min-width:28px;height:28px;min-height:28px}.student-sidebar-bottom .theme-switcher{padding-top:2px}}.helpdesk-sidebar nav button{color:var(--muted);background:0 0}.helpdesk-sidebar nav button.active{background:var(--accent-soft);color:var(--accent)}.admin-tabs.admin-drawer{gap:0}.launch-receipt,.review-queue-toolbar,.group-workspace-actions,.launch-shortcuts,.builder-steps,.launch-preset-editor{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.launch-receipt,.review-queue-toolbar,.builder-journey,.group-workspace{margin-bottom:20px;padding:20px}.launch-receipt{border-color:var(--accent)}.launch-receipt>div{flex:1;min-width:200px}.launch-receipt p{color:var(--muted);margin:5px 0 0}.launch-shortcuts{margin-bottom:14px}.launch-shortcuts button{text-align:left;font-size:12px}.launch-preset-editor{border-top:1px solid var(--line);margin-top:16px;padding-top:16px}.launch-preset-editor label{flex:1;min-width:180px}.saved-launch{justify-content:space-between;align-items:center;gap:12px;margin-top:12px;display:flex}.builder-steps{margin-bottom:16px}.builder-steps .active,.review-queue-toolbar .active,.group-workspace-picker .active,.code-layout-toolbar .active{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.builder-issues{background:var(--danger-soft);color:var(--danger);border-radius:8px;margin:16px 0;padding:16px 16px 16px 36px}.validation-ready{color:var(--success)}.group-workspace-picker{flex-wrap:wrap;gap:10px;margin:20px 0;display:flex}.group-workspace-picker button{flex-direction:column;align-items:flex-start;gap:3px;min-width:115px;display:flex}.group-workspace-picker small{color:var(--muted);font-weight:400}.group-workspace-actions{border-bottom:1px solid var(--line);padding-bottom:20px}.group-active-tests,.group-lessons{margin-top:22px}.group-lesson-row{border-bottom:1px solid var(--line);flex-wrap:wrap;align-items:center;gap:12px;padding:14px 0;display:flex}.group-lesson-row>div:first-child,.group-lesson-row>span:first-child{flex:1;min-width:180px}.group-lesson-row strong,.group-lesson-row small{display:block}.group-lesson-row small{color:var(--muted);margin-top:4px}.lesson-score-list{flex-basis:100%;margin:4px 0;padding:0;list-style:none}.lesson-score-list li{background:var(--surface-soft);border-radius:6px;justify-content:space-between;gap:16px;margin:4px 0;padding:8px 12px;display:flex}.student-result-summary{font-weight:600}.student-assignment.access-closed .availability-label{color:var(--muted)}.student-assignment.access-closed .status-dot{background:var(--muted)}.test-more{position:relative}.test-more>summary{cursor:pointer;color:var(--ink-soft);border:1px solid var(--line);border-radius:8px;align-items:center;gap:8px;padding:8px 10px;font-size:12px;display:flex}.test-more>div{z-index:8;background:var(--surface-raised);border:1px solid var(--line);border-radius:8px;min-width:210px;padding:10px}.code-workspace{width:100%;min-width:0}.code-layout-toolbar{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:12px 0;display:flex}.code-layout-toolbar [role=group]{gap:6px;display:flex}.code-layout-toolbar button{min-height:34px;padding:6px 10px;font-size:12px}.code-layout-toolbar label{color:var(--muted);align-items:center;gap:10px;font-size:12px;display:flex}.code-layout-toolbar input[type=range]{width:110px;min-height:24px;accent-color:var(--accent);padding:0}.code-workspace-grid{grid-template-columns:minmax(0, var(--workspace-side-width)) minmax(0, 1fr);align-items:start;gap:18px;display:grid}.code-workspace-side,.code-workspace-main{min-width:0}.code-workspace.side-right .code-workspace-grid{grid-template-columns:minmax(0, 1fr) minmax(0, var(--workspace-side-width))}.code-workspace.side-right .code-workspace-side{grid-area:1/2}.code-workspace.side-right .code-workspace-main{grid-area:1/1}.code-workspace.only-code .code-workspace-grid{grid-template-columns:minmax(0,1fr)}.code-workspace.only-code .code-workspace-main{grid-column:1}.code-workspace .programming-task{padding:18px}.code-workspace .programming-task .question-title{overflow-wrap:anywhere;margin:0 0 18px;font-size:clamp(18px,1.6vw,24px);line-height:1.5}.stdin-expand{margin:12px;font-size:13px}.preview-input{border-top:1px solid var(--line);padding:14px;display:block}.preview-input textarea{min-height:66px;margin-top:8px;font-family:ui-monospace,monospace}.preview-input small{color:var(--muted);margin-top:6px;display:block}@media (max-width:960px){.code-workspace .code-workspace-grid,.code-workspace.side-right .code-workspace-grid{grid-template-columns:minmax(0,1fr)}.code-workspace .code-workspace-side,.code-workspace.side-right .code-workspace-side,.code-workspace .code-workspace-main,.code-workspace.side-right .code-workspace-main{grid-area:auto/1}.code-workspace.side-right .code-workspace-main{order:-1}.code-layout-toolbar label{display:none}}@media (max-width:600px){.launch-receipt,.review-queue-toolbar,.builder-journey,.group-workspace{padding:16px}.group-workspace-actions>button{flex:150px}.builder-steps{gap:6px}.builder-steps button{padding:8px;font-size:12px}.code-layout-toolbar [role=group]{width:100%}.code-layout-toolbar [role=group] button{flex:1}}.missing-tests-options{flex-wrap:wrap;align-items:center;gap:18px;margin-bottom:18px;padding:20px;display:flex}.missing-tests-options label{gap:8px;display:grid}.missing-tests-options .checkbox-label{align-items:center;gap:8px;display:flex}.missing-tests-options .checkbox-label input{width:18px;height:18px}.missing-tests-table{padding:8px 16px;overflow-x:auto}.missing-tests-table table{border-collapse:collapse;text-align:left;width:100%}.missing-tests-table th,.missing-tests-table td{border-bottom:1px solid var(--line);vertical-align:top;padding:18px 12px}.missing-tests-table th{color:var(--muted);font-size:13px}.missing-tests-table small{color:var(--muted);margin-top:6px;display:block}.missing-tests-table td:first-child{min-width:190px}.missing-tests-table td:last-child{min-width:180px}.missing-tests-table td:last-child button{margin:0 8px 8px 0}.missing-reason{background:var(--surface-soft);border-radius:8px;padding:5px 9px;font-size:13px;font-weight:600;display:inline-block}.missing-reason.disqualified{color:var(--danger)}.coin-icon{vertical-align:middle;flex:none;display:inline-block}.wallet-chip{border:1px solid var(--line);background:var(--surface);color:var(--ink);cursor:pointer;font:inherit;border-radius:999px;flex:none;align-items:center;gap:8px;padding:8px 13px;display:inline-flex}.wallet-chip:hover{background:var(--surface-soft)}.student-shop{border:1px solid var(--line);background:var(--surface);width:min(820px,100vw - 32px);max-height:calc(100dvh - 40px);color:var(--ink);border-radius:24px;margin:auto;padding:0;overflow:hidden;box-shadow:0 24px 100px #0005}.student-shop[open]{flex-direction:column;display:flex}.shop-content{overscroll-behavior:contain;min-height:0;padding:24px 28px 28px;overflow-y:auto}.student-shop::backdrop{background:#071116a6}.shop-header{background:var(--surface);border-bottom:1px solid var(--line);flex:none;justify-content:space-between;align-items:flex-start;gap:16px;padding:24px 28px;display:flex}.shop-header>div{min-width:0}.shop-header .icon-btn{flex-shrink:0}.shop-header h2{margin:0;font-size:clamp(24px,3vw,32px);line-height:1.2}.shop-balance{align-items:center;gap:16px;padding:24px 0;display:flex}.shop-balance div{gap:2px;display:grid}.shop-balance strong{font-variant-numeric:tabular-nums;font-size:32px}.shop-balance span,.shop-card p,.shop-card small,.shop-history small,.shop-rules p,.help-tools-body p{color:var(--muted)}.shop-tabs{border-bottom:1px solid var(--line);grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;margin-bottom:20px;padding-bottom:12px;display:grid}.shop-tabs button{min-width:0;font:inherit;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:10px;padding:10px 6px;font-size:clamp(12px,2.5vw,15px)}.shop-tabs button.active{background:var(--accent-soft);color:var(--ink)}.shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.shop-equipment-actions{flex-wrap:wrap;align-items:center;gap:8px 24px;margin-top:16px;display:flex}.shop-equipment-actions .text-action{max-width:100%;min-height:44px}.shop-card{border:1px solid var(--line);background:var(--surface-soft);border-radius:18px;flex-direction:column;align-items:flex-start;gap:12px;min-width:0;padding:22px;display:flex}.shop-card h3,.shop-card p{margin:0}.shop-card h3{font-size:19px}.shop-card p{flex:1;font-size:14px;line-height:1.55}.shop-card footer{align-items:center;width:100%;margin-top:4px;display:flex}.shop-card .secondary-btn{justify-content:center;width:100%}.shop-item-icon{color:var(--accent);align-items:center;height:46px;display:flex}.shop-confirm,.help-confirm{border:1px solid var(--accent);background:var(--accent-soft);border-radius:14px;margin-bottom:18px;padding:18px}.shop-confirm div{flex-wrap:wrap;gap:12px;display:flex}.shop-history article{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:20px;padding:16px 0;display:flex}.shop-history article div{gap:6px;display:grid}.shop-history article strong{font-size:15px}.coin-credit{color:var(--accent)}.shop-rules{border-top:1px solid var(--line);margin-top:24px;padding-top:18px}.shop-rules summary{cursor:pointer;font-weight:600}.shop-rules p{font-size:14px;line-height:1.65}.frame-mint{outline-offset:3px;outline:3px solid #67c8ae}.frame-gold{outline-offset:3px;outline:3px solid #e8b33b;box-shadow:0 0 0 6px #e8b33b25}.frame-nordic{outline-offset:3px;outline:3px solid #88c0d0;box-shadow:0 0 0 6px #a3be8c40}.workspace-avatar:is(.frame-comet,.frame-pulse,.frame-orbit){isolation:isolate;position:relative;overflow:visible}.workspace-avatar:is(.frame-comet,.frame-pulse,.frame-orbit):before,.workspace-avatar:is(.frame-pulse,.frame-orbit):after{content:"";pointer-events:none;border-radius:50%;position:absolute;inset:-5px}.frame-comet{outline-offset:2px;outline:2px solid #61bddd}.workspace-avatar.frame-comet:before{border:3px solid #64dcf5;border-color:#64dcf5 #9d92ed #0000 #0000;animation:5s linear infinite cosmetic-orbit}.frame-pulse{outline-offset:2px;outline:2px solid #b784ef}.workspace-avatar.frame-pulse:before{border:2px solid #c084fc;animation:3s ease-in-out infinite alternate cosmetic-pulse;box-shadow:0 0 10px #c084fc70}.workspace-avatar.frame-pulse:after{border:1px solid #68ddd8;animation:3s ease-in-out -1.5s infinite alternate cosmetic-pulse;inset:-9px}.frame-orbit{outline-offset:2px;outline:2px solid #e4b75c}.workspace-avatar.frame-orbit:before{border:2px dashed #e4b75c;animation:12s linear infinite cosmetic-orbit;inset:-7px -3px}.workspace-avatar.frame-orbit:after{border:1px dashed #81cddd;animation:9s linear infinite reverse cosmetic-orbit;inset:-3px -7px}@keyframes cosmetic-orbit{to{transform:rotate(360deg)}}@keyframes cosmetic-pulse{0%{opacity:.35;transform:scale(.98)}to{opacity:1;transform:scale(1.05)}}.test-scenery{isolation:isolate;position:relative}.test-scenery-backdrop{z-index:-1;pointer-events:none;background:var(--scenery-base,var(--app-bg));position:fixed;inset:0;overflow:hidden}.test-scenery-backdrop:before,.shop-background-preview:before{content:"";pointer-events:none;background-image:var(--scenery-image);background-size:var(--scenery-size,100% 100%);animation:var(--scenery-animation,none);position:absolute;inset:-5%}.test-scenery.background-blueprint{--scenery-base:color-mix(in srgb,var(--app-bg) 78%,#68b8d2);--scenery-image:linear-gradient(#397f9d40 1px,transparent 1px),linear-gradient(90deg,#397f9d40 1px,transparent 1px),linear-gradient(#397f9d22 1px,transparent 1px),linear-gradient(90deg,#397f9d22 1px,transparent 1px),radial-gradient(ellipse at top right,#66adc570,transparent 70%);--scenery-size:140px 140px,140px 140px,28px 28px,28px 28px,100% 100%}.test-scenery.background-aurora{--scenery-base:color-mix(in srgb,var(--app-bg) 85%,#64bfc2);--scenery-image:radial-gradient(ellipse at 10% 15%,#42d6ae99,transparent 55%),radial-gradient(ellipse at 90% 45%,#a681e6a0,transparent 55%),radial-gradient(ellipse at 30% 95%,#43b5e399,transparent 60%);--scenery-animation:scenery-aurora 16s ease-in-out infinite alternate}.test-scenery.background-stars{--scenery-base:color-mix(in srgb,var(--app-bg) 78%,#555f9f);--scenery-star:#5367adcc;--scenery-image:radial-gradient(circle,var(--scenery-star) 1.5px,transparent 2.5px),radial-gradient(circle,var(--scenery-star) 1px,transparent 2px),radial-gradient(circle,#67acc8aa 2px,transparent 3px),radial-gradient(ellipse at 15% 0,#9381d480,transparent 65%),radial-gradient(ellipse at 90% 100%,#4aaecb65,transparent 65%);--scenery-size:67px 83px,113px 137px,191px 173px,100% 100%,100% 100%;--scenery-animation:scenery-stars 28s ease-in-out infinite alternate}:root:is([data-theme-mode=dark],[data-theme-mode=nordic]) .background-stars{--scenery-star:#d5e9ffdd}@keyframes scenery-aurora{0%{opacity:.8;transform:translate(-1%,-1%)scale(1)}to{opacity:1;transform:translate(2%,2%)scale(1.03)}}@keyframes scenery-stars{to{opacity:.8;transform:translate(1%,2%)}}.test-scenery.effects-paused .test-scenery-backdrop:before{animation-play-state:paused}.shop-background-preview{border:1px solid var(--line);background:var(--scenery-base,var(--surface));border-radius:10px;width:112px;height:46px;display:block;overflow:hidden}.shop-background-preview:before{z-index:-1}.shop-background-preview>span{gap:3px;padding:10px 24px;display:grid}.shop-background-preview i{background:var(--surface-soft);border:1px solid var(--line);border-radius:3px;height:5px}.shop-cosmetics-note{color:var(--muted);margin-top:22px;font-size:13px;line-height:1.6}.scenery-toggle{font-size:12px}.scenery-toolbar{justify-content:flex-end;margin:0 0 14px;display:flex}@media (prefers-reduced-motion:reduce){.workspace-avatar:is(.frame-comet,.frame-pulse,.frame-orbit):before,.workspace-avatar:is(.frame-pulse,.frame-orbit):after,.test-scenery-backdrop:before,.shop-background-preview:before{animation:none!important}}.student-help-tools{min-width:0;margin:18px 0}.help-tools-body{border:1px solid var(--line);background:var(--surface-soft);border-radius:14px;margin-top:12px;padding:18px;font-size:14px}.help-tools-list{flex-wrap:wrap;gap:10px;margin:16px 0;display:flex}.help-tools-list .secondary-btn{padding:10px 12px;font-size:13px}.help-tools-list button span{opacity:.7}.help-effect p{white-space:pre-line;line-height:1.6}.help-effect pre{max-height:250px;overflow:auto}.help-confirm{margin:16px 0 0}.help-confirm button{margin:6px 8px 0 0}.assistance-label{color:var(--accent);background:var(--accent-soft);border-radius:8px;padding:8px 12px;font-size:13px}@media (max-width:640px){.student-shop{border-radius:18px;max-height:calc(100dvh - 24px)}.shop-header,.shop-content{padding:20px}.shop-grid{grid-template-columns:1fr}.wallet-chip{gap:5px;padding:7px 9px}.shop-card{padding:18px}.student-portal-head .student-group-chip{display:none}}.teacher-coin-dialog{width:min(560px,100vw - 32px)}.coin-grant-student{color:var(--muted);overflow-wrap:anywhere;margin:8px 0 0;font-size:15px}.coin-grant-form fieldset{border:0;gap:18px;min-width:0;margin:0;padding:0;display:grid}.coin-grant-form legend{margin-bottom:12px;padding:0;font-weight:600}.coin-grant-presets{flex-wrap:wrap;gap:10px;display:flex}.coin-grant-presets .active{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.coin-grant-form label{gap:8px;margin:0;display:grid}.coin-grant-form label .muted{font-size:13px;font-weight:400}.coin-grant-form>p{margin:20px 0;font-size:14px;line-height:1.6}.coin-grant-form .primary-btn{justify-content:center;width:100%}.student-account-list li{flex-wrap:wrap}.student-account-list li>span{overflow-wrap:anywhere;flex-grow:1;min-width:min(100%,220px)}.student-access-actions{max-width:100%}.authoring-workspace>.section-heading p:not(.eyebrow),.authoring-workspace>.table-search,.authoring-workspace>input{display:none}.authoring-workspace .builder-recognition{margin-block:12px}.authoring-question-workspace{grid-template-columns:220px minmax(0,1fr);align-items:start;gap:20px;display:grid}.authoring-question-list{gap:8px;max-height:65vh;display:grid;position:sticky;top:85px;overflow:auto}.authoring-question-list button{text-align:left;border:1px solid var(--line);background:var(--surface);color:var(--ink);border-radius:10px;gap:6px;padding:12px;display:grid}.authoring-question-list button.active{border-color:var(--accent);background:var(--accent-soft)}.authoring-question-list small,.draft-save-status{color:var(--muted);font-size:13px}.authoring-question-content{min-width:0}.authoring-question-tools{justify-content:end;gap:8px;margin-bottom:12px;display:flex}.authoring-workspace .builder-panel>.builder-actions{z-index:3;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:12px;position:sticky;bottom:12px}.code-authoring{gap:16px;display:grid}.authoring-test-case{border:1px solid var(--line);border-radius:12px;grid-template-columns:1fr 1fr;gap:12px;padding:16px;display:grid}.authoring-test-case>strong{grid-column:1/-1}.import-proposals{gap:12px;display:grid}.import-proposals article{border:1px solid var(--line);border-radius:12px;padding:16px}@media (max-width:800px){.authoring-question-workspace{grid-template-columns:minmax(0,1fr)}.authoring-question-list{max-height:none;padding-bottom:6px;display:flex;position:static;overflow:auto}.authoring-question-list button{min-width:155px}.authoring-test-case{grid-template-columns:minmax(0,1fr)}}.course-builder-fields{border:0;min-width:0;margin:0;padding:0}.course-builder-meta{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:20px;padding:20px;display:grid}.course-builder-block{border:1px solid var(--line);border-radius:12px;gap:12px;margin:16px 0;padding:18px;display:grid}.course-builder-block textarea{min-height:110px}.course-builder-actions{background:var(--surface);border:1px solid var(--line);z-index:4;border-radius:12px;flex-wrap:wrap;gap:10px;margin-top:20px;padding:14px;display:flex;position:sticky;bottom:12px}.course-catalog progress{width:100%;accent-color:var(--accent);margin-block:12px}.material-status-filter{flex-wrap:wrap;gap:8px;display:flex}.material-status-filter [aria-pressed=true]{background:var(--accent-soft);color:var(--accent);border-color:var(--accent)}.course-illustration{border-radius:12px;max-width:100%;height:auto;margin-block:16px;display:block}.course-certificate-hint{margin-bottom:12px;padding:10px 14px;font-size:13px}.course-overview{margin-bottom:16px;padding:16px 20px}.student-next-step{border-left:4px solid var(--accent);justify-content:space-between;align-items:center;gap:20px;padding:clamp(18px,2.5vw,28px);display:flex}.student-next-step>div{overflow-wrap:anywhere;min-width:0}.student-next-step>button{flex-shrink:0}.student-next-step h3{margin:8px 0}.student-next-step p{color:var(--muted);margin:0;line-height:1.55}.strict-preparation{border:1px solid var(--line);background:var(--surface-soft);border-radius:12px;margin-top:12px;padding:12px 16px}.course-back{margin-bottom:16px}.course-builder-preview{margin-top:24px}@media (max-width:700px){.course-builder-meta{grid-template-columns:minmax(0,1fr);padding:14px}.student-next-step{flex-direction:column;align-items:stretch}.course-overview{padding:12px 16px}.course-certificate-hint{margin-block:8px}.course-builder-actions button{flex:140px}}.authoring-workspace .builder-journey{margin-block:12px;padding:12px 16px}.authoring-workspace .builder-panel{padding:18px}.authoring-workspace .builder-header{display:none}.authoring-workspace .builder-meta{gap:12px;margin-block:12px}.authoring-workspace .builder-mode-switcher,.authoring-workspace .builder-modes,.authoring-workspace .draft-save-status{margin-block:8px}.authoring-workspace .builder-recognition{padding:10px 12px;display:block}.authoring-workspace .builder-recognition:not([open])>:not(summary){display:none}.authoring-description{padding-top:22px}.authoring-description summary,.authoring-image summary,.builder-recognition summary{cursor:pointer;font-size:13px}.authoring-description[open]{padding-top:0}.authoring-image>.question-image-field{margin-top:12px}.authoring-question-tools{margin-bottom:8px}.authoring-workspace .question-builder{padding:18px}.workspace-section.authoring-workspace{gap:12px;padding-top:14px}.authoring-workspace>.section-heading .eyebrow{display:none}.authoring-workspace .builder-journey{margin:0;padding:8px 12px}.authoring-workspace .builder-journey .builder-steps{margin:0}.authoring-workspace .builder-panel{margin-top:0}.authoring-workspace .builder-mode{margin-bottom:8px}.authoring-workspace .builder-meta{margin-block:8px}.authoring-workspace .builder-meta label{margin:0}.authoring-workspace .question-type-grid label{grid-template-columns:auto minmax(0,1fr);align-items:center;margin:0}.authoring-workspace .question-type-grid label small{grid-column:1/-1}.individual-retakes{padding:20px}.individual-retakes h3{margin:0}.retake-picker{margin-top:18px}.retake-students{border:1px solid var(--line);border-radius:10px;min-width:0;max-height:340px;margin-block:16px;padding:12px;overflow-y:auto}.retake-students legend{padding-inline:6px;font-size:13px}.retake-students label{border-bottom:1px solid var(--line);align-items:center;gap:12px;margin:0;padding:10px;display:flex}.retake-students label:last-child{border-bottom:0}.retake-students input{flex-shrink:0;width:18px;height:18px}.retake-students span{overflow-wrap:anywhere;min-width:0}.retake-students strong,.retake-students small{display:block}.retake-students small{color:var(--muted);margin-top:3px;font-weight:400}@media (max-width:600px){.individual-retakes{padding:16px}.retake-picker .builder-actions>button{width:100%}}.quiz-focus-shell{flex-direction:column;width:100%;max-width:1280px;height:100dvh;min-height:0;padding:10px 18px;display:flex;overflow:hidden}.quiz-focus-shell .strict-test-status{flex:none;margin:0 0 6px;font-size:11px}.quiz-focus-shell .strict-test-content{flex-direction:column;flex:1;min-height:0;display:flex}.quiz-focus-shell .quiz-top{flex:none;min-height:44px;margin:0 0 10px;padding:4px 0 8px;position:static}.quiz-focus-shell .scenery-toolbar{margin:0 0 6px}.quiz-focus-shell .violation-warning{flex:none;margin:0 0 8px;padding:7px 10px;font-size:12px}.quiz-focus-shell .quiz-card{flex-direction:column;flex:1;gap:8px;min-height:0;padding:18px 22px;display:flex}.quiz-focus-shell .progress-head{flex:none;font-size:12px}.quiz-focus-shell .progress-track{flex:none;height:4px;margin:0}.quiz-tools{border-bottom:1px solid var(--line);flex:none;align-items:center;gap:8px;min-height:36px;padding-bottom:6px;display:flex}.quiz-question-menu{position:relative}.quiz-question-menu>summary{border:1px solid var(--line);cursor:pointer;color:var(--ink);white-space:nowrap;border-radius:9px;padding:8px 10px;font-size:12px;font-weight:750}.quiz-question-menu-body{z-index:50;border:1px solid var(--line);background:var(--panel);border-radius:12px;width:min(400px,100vw - 48px);max-height:50dvh;padding:16px;position:absolute;top:calc(100% + 8px);left:0;overflow:auto;box-shadow:0 12px 28px #0002}.quiz-question-menu-body .question-review-tools{margin:0 0 12px}.quiz-question-menu-body .question-navigator{gap:8px;margin:0;padding:4px}.quiz-focus-shell .question-flag{align-items:center;gap:5px;min-height:36px;margin:0;padding:6px 8px;font-size:12px;display:flex}.quiz-focus-shell .quiz-quick-actions{order:4;margin:0 0 0 auto}.quiz-focus-shell .quiz-quick-actions .secondary-btn{min-height:36px;padding:6px 10px;font-size:12px}.quiz-focus-shell .student-help-tools{margin:0;position:relative}.quiz-focus-shell .student-help-tools>button{min-height:36px;font-size:12px}.quiz-focus-shell .help-tools-body{z-index:45;width:min(440px,100vw - 48px);max-height:55dvh;margin-top:6px;position:absolute;top:100%;right:0;overflow:auto;box-shadow:0 12px 28px #0002}.question-content{overscroll-behavior:contain;flex:1;min-width:0;min-height:0;overflow:auto}.question-answer-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:24px;height:100%;min-height:0;padding:10px 0;display:grid}.question-copy,.question-options{min-width:0;min-height:0}.question-copy:has(.code-window){flex-direction:column;height:100%;display:flex}:is(.question-copy:has(.code-window)>.task-kind,.question-copy:has(.code-window)>.question-title){flex:none;align-self:flex-start}.quiz-focus-shell .question-title{max-width:none;margin:10px 0 14px;font-size:clamp(19px,1.6vw,22px);line-height:1.4}.quiz-focus-shell .task-kind{font-size:11px}.quiz-focus-shell .multi-choice-hint{margin:0 0 10px;font-size:13px}.quiz-focus-shell .options-list{gap:8px}.quiz-focus-shell .option-btn{border-width:1px 1px 3px;border-radius:12px;grid-template-columns:30px minmax(0,1fr) 18px;gap:9px;min-height:56px;padding:10px 12px;font-size:15px}.quiz-focus-shell .option-btn>span{border-radius:8px;width:28px;height:28px;font-size:12px}.quiz-focus-shell .option-btn p{overflow-wrap:anywhere;line-height:1.4}.quiz-focus-shell .code-window{flex-direction:column;min-height:0;margin:10px 0 0;display:flex}.quiz-focus-shell .code-window-bar{flex:none;min-height:30px;padding:6px 10px}.quiz-focus-shell .code-readonly{min-height:0;max-height:32dvh;overflow:auto}.quiz-focus-shell .code-readonly pre,.quiz-focus-shell .code-line-numbers{padding:10px;font-size:13px;line-height:1.5}.open-answer-panel{flex-direction:column;align-self:stretch;gap:10px;height:100%;min-height:0;display:flex}.open-answer-panel>label{color:var(--ink);justify-content:space-between;align-items:center;gap:10px;margin:0;font-size:14px;font-weight:750;display:flex}.open-answer-panel small{color:var(--muted);font-size:11px;font-weight:400}.quiz-focus-shell .open-answer-panel textarea{resize:none;flex:1;width:100%;min-height:180px;padding:14px;font-size:16px;line-height:1.5}.open-answer-panel>p{color:var(--muted);margin:0;font-size:12px}.quiz-focus-shell .quiz-nav{border-top:1px solid var(--line);flex:none;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;margin:0;padding-top:10px}.quiz-focus-shell .quiz-nav>span{grid-area:auto;margin:0;font-size:12px}.quiz-focus-shell .quiz-nav button{width:auto;min-height:40px;padding:8px 14px;font-size:13px}.quiz-focus-shell .coding-content .programming-task{padding:14px}.quiz-focus-shell .coding-content .programming-task>p,.quiz-focus-shell .coding-content .lab-tips{font-size:12px}.quiz-focus-shell .programming-question-heading{margin-bottom:8px}.quiz-focus-shell .sample-cases{font-size:12px}@media (max-width:700px){.quiz-focus-shell{padding:6px 10px}.quiz-focus-shell .quiz-top{min-height:40px;margin-bottom:6px}.quiz-focus-shell .quiz-card{gap:6px;padding:12px}.quiz-focus-shell .quiz-tools{gap:6px;min-height:32px}.quiz-question-menu>summary{padding:7px 8px;font-size:11px}.quiz-focus-shell .question-flag{min-height:32px;padding:6px}.quiz-focus-shell .question-flag>span{display:none}.quiz-focus-shell .quiz-quick-actions .secondary-btn{min-height:32px;padding:6px 8px;font-size:11px}.quiz-focus-shell .quiz-quick-actions .secondary-btn>span{display:none}.quiz-focus-shell .student-help-tools>button{gap:0;width:32px;min-height:32px;padding:6px;font-size:0}.quiz-focus-shell .help-tools-body{max-height:60dvh;position:fixed;top:145px;right:22px}.question-answer-layout{grid-template-rows:minmax(0,1fr) auto;grid-template-columns:minmax(0,1fr);gap:12px;padding:6px 0}.question-answer-layout .question-copy{align-self:stretch;height:auto;display:block;overflow:auto}.question-copy,.question-options,.open-answer-panel{width:100%}.quiz-focus-shell .question-title{margin:6px 0 8px;font-size:16px;line-height:1.35}.quiz-focus-shell .task-kind{padding:4px 6px;font-size:10px;line-height:1.2}.quiz-focus-shell .option-btn{gap:7px;min-height:44px;padding:8px;font-size:14px}.quiz-focus-shell .options-list{gap:6px}.quiz-focus-shell .multi-choice-hint{margin:0 0 7px;font-size:12px}.open-answer-panel{gap:6px;height:auto;min-height:0}.quiz-focus-shell .open-answer-panel textarea{flex:auto;height:clamp(112px,20dvh,190px);min-height:112px;padding:10px}.quiz-focus-shell .code-readonly{max-height:22dvh}.quiz-focus-shell .quiz-nav{gap:6px;padding-top:7px}.quiz-focus-shell .quiz-nav>span{font-size:10px;line-height:1.4}.quiz-focus-shell .quiz-nav button{min-height:38px;padding:7px 10px;font-size:12px}}.live-quick-guide{border-top:1px solid var(--line);flex-basis:100%;min-width:0;padding-top:8px}.live-guide-toggle{min-height:44px;font-size:13px}.live-guide-toggle>svg:last-child{transform:rotate(90deg)}.live-guide-toggle[aria-expanded=true]>svg:last-child{transform:rotate(-90deg)}.live-guide-body{max-width:860px;padding-top:12px}.live-guide-steps{background:0 0;border:0;align-items:center;gap:8px;margin:0 0 18px;padding:0;display:flex}.live-guide-steps button{border:1px solid var(--line);background:var(--surface);width:44px;min-height:44px;color:var(--muted);border-radius:8px;place-items:center;font-size:13px;font-weight:600;display:grid}.live-guide-steps button[aria-current=step]{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.live-guide-layout{grid-template-columns:minmax(0,1fr) minmax(240px,1fr);align-items:center;gap:24px;display:grid}.live-guide-copy{min-width:0}.live-guide-copy h3{margin:8px 0 0;font-size:20px}.live-guide-copy>p{color:var(--muted);max-width:46ch;font-size:14px}.live-guide-demo{border:1px solid var(--line);background:var(--surface-soft);border-radius:9px;min-width:0;overflow:hidden}.live-guide-demo-title{border-bottom:1px solid var(--line);color:var(--ink);align-items:center;gap:8px;padding:12px 14px;font-size:12px;font-weight:600;display:flex}.live-guide-demo-title>span{color:var(--muted);margin-left:auto;font-size:10px;font-weight:400}.live-guide-demo-content{flex-direction:column;justify-content:center;align-items:center;gap:12px;min-height:190px;padding:20px 14px;display:flex}.live-guide-demo-content>svg{color:var(--accent)}.live-guide-demo-content>span{color:var(--muted);text-align:center;font-size:11px}.live-guide-demo-content>strong{text-align:center;overflow-wrap:anywhere;font-size:13px}.live-guide-demo-content>button{max-width:100%;min-height:44px;font-size:12px}.live-guide-demo-content>pre{white-space:pre-wrap;overflow-wrap:anywhere;border:1px solid var(--line);background:var(--surface);width:100%;min-height:80px;color:var(--ink);font:12px/1.6 var(--font-mono,Consolas,monospace);border-radius:5px;margin:0;padding:12px}.live-guide-demo-content>code{overflow-wrap:anywhere;text-align:center;width:100%;color:var(--ink);font-size:11px}.live-guide-demo-tabs{width:100%;color:var(--muted);justify-content:space-between;gap:8px;font-size:11px;display:flex}.live-guide-demo-tabs span:first-child{color:var(--accent)}.live-guide-navigation{border-top:1px solid var(--line);justify-content:space-between;align-items:center;gap:12px;margin-top:18px;padding-top:12px;display:flex}.live-guide-navigation>span{color:var(--muted);font-size:12px}.live-guide-navigation>button{min-height:44px;font-size:13px}.live-browser-login-notice{border:1px solid var(--line);background:var(--surface-soft);color:var(--ink-soft);border-radius:8px;align-items:flex-start;gap:10px;padding:12px 14px;font-size:13px;line-height:1.6;display:flex}.live-browser-login-notice>svg{color:var(--accent);flex:none;margin-top:3px}.student-login-shell>.live-browser-login-notice{max-width:720px;margin:0 auto 20px}.live-browser-auth-backdrop{z-index:3000;overscroll-behavior:contain;background:#0000006b;place-items:center;padding:24px;display:grid;position:fixed;inset:0;overflow-y:auto}.live-browser-auth.panel{background:var(--surface);border:1px solid var(--line);border-radius:12px;align-items:flex-start;gap:18px;width:min(100%,560px);margin:auto;padding:28px;display:flex;box-shadow:0 12px 50px #00000026}.live-browser-auth-icon{border:1px solid var(--line);width:46px;height:46px;color:var(--accent);background:var(--surface-soft);border-radius:10px;flex:none;place-items:center;display:grid}.live-browser-auth-main{flex:1;min-width:0}.live-browser-auth-main>.eyebrow{margin:0 0 7px;font-size:10px}.live-browser-auth-main>h2{margin:0;font-size:23px}.live-browser-auth-account{overflow-wrap:anywhere;flex-wrap:wrap;align-items:baseline;gap:6px 12px;display:flex;margin:14px 0 8px!important}.live-browser-auth-account>span{color:var(--muted);font-size:12px}.live-browser-auth-main>.muted{margin:0 0 8px;font-size:13px;line-height:1.6}.live-browser-auth-main>small.muted{font-size:11px;display:block}.live-browser-auth-actions{flex-wrap:wrap;align-items:center;gap:10px 18px;margin-top:20px;display:flex}.live-browser-auth-actions button{min-height:44px;font-size:13px}.live-browser-auth-error{color:var(--danger);overflow-wrap:anywhere;margin:12px 0 0;font-size:13px}.live-browser-auth-confirmed{color:var(--muted);align-items:flex-start;gap:7px;margin:14px 0 0;font-size:11px;line-height:1.6;display:flex}.live-browser-auth-confirmed>svg{flex:none;margin-top:2px}@media (max-width:600px){.live-guide-layout{grid-template-columns:minmax(0,1fr);gap:16px}.live-guide-copy h3{font-size:18px}.live-guide-copy>p{max-width:none}.live-guide-demo-content{min-height:160px}.live-browser-auth-backdrop{padding:14px}.live-browser-auth.panel{gap:12px;padding:22px 18px}.live-browser-auth-icon{display:none}.live-browser-auth-main>h2{font-size:21px}.live-browser-auth-actions{gap:10px 14px}.live-browser-auth-actions>.primary-btn{flex:1}.live-extension-connect{padding:14px}.live-extension-connect>div:first-child{flex-basis:100%;min-width:0}.live-extension-actions{width:100%}.live-extension-actions>.primary-btn,.live-extension-actions>.secondary-btn{flex:1}.live-guide-steps{gap:6px}}@font-face{font-family:CenterTest Nunito;src:url(/fonts/nunito-variable.ttf)format("truetype");font-weight:200 1000;font-style:normal;font-display:swap}:root{--brand-action:var(--accent);--brand-action-hover:var(--accent-hover);--brand-action-ink:var(--on-accent);--brand-action-edge:color-mix(in srgb, var(--accent) 68%, var(--app-bg));--brand-radius:20px;--brand-control-radius:13px}:root:not([data-theme]),:root[data-theme=light]:not([data-theme-mode]),:root[data-theme-mode=light]{--app-bg:#fff;--sidebar-bg:#fff;--topbar-bg:#fff;--surface:#fff;--surface-raised:#fff;--surface-soft:#f4f9ef;--ink:#20301c;--ink-soft:#3e4f38;--muted:#65715e;--line:#d7e4ce;--line-dark:#b9cdae;--accent:#36751b;--accent-hover:#285b12;--accent-soft:#e4f8d2;--on-accent:#fff;--success:#36751b;--warning-soft:#fff5db;--brand-action:#58cc02;--brand-action-hover:#64d611;--brand-action-ink:#173400;--brand-action-edge:#419700}:root[data-theme] body,:root:not([data-theme]) body{font-family:CenterTest Nunito,Nunito,Segoe UI,ui-sans-serif,sans-serif}:root :is(h1,h2,h3,h4){letter-spacing:-.025em;font-family:inherit;font-weight:850}:root :is(h1,h2){line-height:1.25}.eyebrow{letter-spacing:.035em;font-size:12px;font-weight:850}:where(button,a,summary){touch-action:manipulation}:is(button,a,summary):focus-visible{outline:3px solid var(--accent);outline-offset:4px}:is(.panel,.stat-card,.test-card,.group-summary-card,.group-card,.bank-card,.bank-editor,.builder-panel,.analytics-panel,.report-card,.account-card,.owner-summary-card,.owner-teacher-usage,.owner-chart,.owner-events,.ai-setup-card,.ai-import-panel,.ai-token-panel,.ai-history-card){border:2px solid var(--line);border-radius:var(--brand-radius);background:var(--surface);box-shadow:none}:is(.section-heading,.panel-section-title) :is(h2,h3){font-weight:900}.section-heading h2{font-size:clamp(25px,2.4vw,32px)}.section-heading p:not(.eyebrow){max-width:68ch;line-height:1.65}.workspace-section,.student-page{gap:24px}:is(.admin-header,.student-portal-head){border-bottom:2px solid var(--line)}:is(.admin-header,.student-portal-head) h1{font-size:25px;font-weight:900}.admin-global-search input{border:2px solid var(--line);background:var(--surface-soft);border-radius:13px}.admin-search-results{border:2px solid var(--line);border-radius:16px}.admin-search-results button{border-radius:10px}.primary-btn,.secondary-btn,.danger-btn{border:2px solid var(--line-dark);border-radius:var(--brand-control-radius);letter-spacing:normal;text-transform:none;min-height:44px;padding:10px 16px;font-size:14px;font-weight:850;line-height:1.4;transition:background-color .15s,border-color .15s,transform 80ms,box-shadow 80ms}.primary-btn,.primary-btn.small{background:var(--brand-action);min-height:44px;color:var(--brand-action-ink);border-color:var(--brand-action);box-shadow:0 4px 0 var(--brand-action-edge)}.primary-btn:hover:not(:disabled){background:var(--brand-action-hover);border-color:var(--brand-action-hover);color:var(--brand-action-ink);box-shadow:0 4px 0 var(--brand-action-edge);transform:none}.secondary-btn{background:var(--surface);color:var(--ink-soft);box-shadow:0 3px 0 var(--line-dark)}.secondary-btn:hover:not(:disabled){color:var(--ink);background:var(--surface-soft);border-color:var(--line-dark);box-shadow:0 3px 0 var(--line-dark);transform:none}.danger-btn{background:var(--surface);color:var(--danger);border-color:color-mix(in srgb, var(--danger) 45%, var(--surface));box-shadow:0 3px 0 color-mix(in srgb, var(--danger) 45%, var(--surface))}.primary-btn:active:not(:disabled),.secondary-btn:active:not(:disabled),.danger-btn:active:not(:disabled){box-shadow:none;transform:translateY(3px)}:is(.primary-btn,.secondary-btn,.danger-btn):disabled{color:var(--muted);background:var(--surface-soft);border-color:var(--line);box-shadow:none;opacity:.75;transform:none}.icon-btn,.menu-toggle,.header-ai-button,.selected-test-button{border-radius:12px;font-weight:800}.text-action{font-weight:800}:is(.builder-actions,.profile-actions,.course-editor-actions,.course-task-footer){gap:12px}:is(.admin-shell,.student-portal-shell,.student-login-shell,.login-card,.helpdesk-app) :is(input:not([type=checkbox]):not([type=radio]):not([type=color]),select,textarea):not(.smart-code-editor *):not(.code-input){border-width:2px;border-color:var(--line-dark);background-color:var(--surface);color:var(--ink);border-radius:13px}:is(.admin-shell,.student-portal-shell,.student-login-shell,.login-card,.helpdesk-app) :is(input,select,textarea):not(.smart-code-editor *):focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--glow)}.admin-global-search input,.course-search input{border-radius:inherit}.course-search input{background:0 0!important;border:0!important}.course-search{border:2px solid var(--line);background:var(--surface);border-radius:13px}:is(input[type=checkbox],input[type=radio]){accent-color:var(--accent)}.admin-tabs.admin-drawer,.student-sidebar,.helpdesk-sidebar{border-right:2px solid var(--line)}.admin-tabs.admin-drawer>button,.student-sidebar nav button,.helpdesk-sidebar nav button{border:2px solid #0000;border-radius:14px;font-weight:800}.admin-tabs.admin-drawer>button>span strong{font-weight:800}.admin-tabs.admin-drawer>button.active,.student-sidebar nav button.active,.helpdesk-sidebar nav button.active{border-color:color-mix(in srgb, var(--accent) 28%, var(--line));background:var(--accent-soft);color:var(--accent)}.admin-tabs.admin-drawer>button.active strong{font-weight:900}:is(.workspace-switcher,.builder-tabs,.history-filters,.monitor-filters,.helpdesk-nav,.shop-tabs){gap:8px}:is(.workspace-switcher,.builder-tabs,.history-filters,.monitor-filters,.helpdesk-nav,.shop-tabs)>button{min-height:42px;color:var(--muted);background:0 0;border:2px solid #0000;border-radius:13px;padding:9px 14px;font-weight:800}:is(.workspace-switcher,.builder-tabs,.history-filters,.monitor-filters,.helpdesk-nav,.shop-tabs)>button.active{border-color:var(--line-dark);background:var(--accent-soft);color:var(--accent)}.theme-switcher,.inline-theme-switcher{border-radius:12px}.theme-switcher button{border-radius:9px;font-weight:750}.test-grid{gap:20px}.test-card{min-height:255px;padding:24px}.test-card.selected{border:2px solid var(--accent);background:var(--surface);padding-top:24px}.test-card h3{margin-top:16px;font-size:23px;font-weight:900}.test-card>p{color:var(--muted);line-height:1.65}.test-card-stats{border-block-color:var(--line)}.test-card-stats b{font-size:22px;font-weight:900}.test-card-actions{gap:10px}.test-card-actions :is(.primary-btn,.secondary-btn){min-height:40px;padding:9px 12px;font-size:13px}:is(.test-state,.course-status,.task-kind,.test-status,.difficulty,.availability-label){font-weight:800}.test-state{border-radius:9px;padding:5px 9px}.test-state.published,.availability-label{background:var(--accent-soft);color:var(--accent)}:is(.question-editor,.settings-panel,.course-builder-block,.course-builder-meta){border:2px solid var(--line);background:var(--surface-soft);border-radius:16px}.bank-card h3,.group-card h3,.group-summary-card h3{font-size:22px;font-weight:900}.bank-card,.group-card,.group-summary-card{padding:24px}.group-workspace-picker button{border-radius:13px}.stat-card strong,.owner-summary-card strong,.helpdesk-stats article strong{font-weight:900}:is(.results-table,.teacher-leaderboard-table,.gradebook-table,.owner-teacher-table){border-color:var(--line)}.result-entry,.code-entry{border-radius:14px}.helpdesk-status.waiting{background:var(--warning-soft);color:var(--yellow)}.student-next-step{border-left:2px solid var(--line);gap:24px;padding:24px}.student-next-step:first-child{border-color:color-mix(in srgb, var(--accent) 35%, var(--line));background:var(--accent-soft)}.student-next-step :is(h3,.eyebrow){font-weight:900}.student-next-step h3{font-size:clamp(23px,2vw,28px);line-height:1.3}.student-next-step>div{min-width:0}.student-next-step button{flex-shrink:0}.student-assignment{border-radius:20px}.student-assignment h3{font-size:clamp(24px,2.3vw,31px);font-weight:900}.student-assignment.access-closed{background:var(--surface)}.student-assignment.access-closed .availability-label{background:var(--surface-soft);color:var(--muted)}.student-group-chip{border:2px solid var(--line);border-radius:12px;font-weight:800}.rank-number{color:var(--accent);font-weight:900}.rail-title h3,.home-summary h3{font-weight:850}.completed-list>article strong{font-weight:800}.student-profile-details h3,.student-password-card h3{font-weight:900}.shop-card{border:2px solid var(--line);background:var(--surface);border-radius:18px}.shop-card h3{font-weight:900}.shop-balance{border-bottom:1px solid var(--line);margin-bottom:20px}.shop-balance strong{font-weight:900}.student-shop{border:2px solid var(--line);border-radius:22px}.course-overview{border:2px solid var(--line);background:var(--accent-soft);border-radius:20px;padding:24px}.course-overview strong{font-size:20px;font-weight:900}.course-overview progress{border-radius:999px;height:10px}.course-view-switch button,.course-tabs button{border-width:2px;border-radius:13px;font-weight:800}.course-view-switch button[aria-pressed=true],.course-tabs button.active{color:var(--accent);background:var(--accent-soft);border-color:var(--line-dark)}.course-outline .course-lesson-link{border-width:2px;border-radius:12px}.course-outline .course-lesson-link.active{border-color:var(--line-dark);background:var(--accent-soft);color:var(--ink)}.course-outline .course-lesson-link>span:first-child{border-radius:8px;font-weight:900}.course-outline .course-lesson-link.done>span:first-child{color:var(--accent);background:var(--accent-soft)}.course-lesson{border:2px solid var(--line);border-radius:20px}.course-lesson-heading h2{font-weight:900}.course-theory :is(h3,h4),.course-materials h3{font-weight:850}.course-theory p,.course-theory li{line-height:1.8}.course-task-navigation button{border:2px solid var(--line);border-radius:11px;font-weight:800}.course-task-navigation button.active{color:var(--accent);border-color:var(--accent);background:var(--accent-soft)}.course-option{border:2px solid var(--line);background:var(--surface);border-radius:14px}.course-option.selected{border-color:var(--accent);background:var(--accent-soft)}:is(.course-next-step,.course-mastery,.course-checklist,.course-group-card,.course-presets button,.course-library-book,.course-download-card){border-width:2px;border-radius:16px}.course-next-step{background:var(--accent-soft)}.course-group-card.active,.course-presets button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft)}.course-group-stats strong{font-size:27px;font-weight:900}.course-builder-actions{border:2px solid var(--line);border-radius:16px;padding-bottom:18px}.quiz-card,.result-card{border-radius:22px}.question-title{font-weight:850}.option-btn{border:2px solid var(--line);border-radius:14px;padding:13px 15px}.option-btn>span{border:2px solid var(--line);border-radius:9px;font-weight:900}.option-btn.selected{background:var(--accent-soft);border-color:var(--accent)}.option-btn.selected>span{background:var(--accent);color:var(--on-accent);border-color:var(--accent)}.question-navigator button{border-width:2px;border-radius:10px;font-weight:800}.question-navigator button.current{border-color:var(--accent);background:var(--accent-soft)}.quiz-top .timer{border-radius:12px;font-weight:850}.progress-track{border-radius:999px}.result-score strong{font-weight:950}:is(.live-editor-panel,.live-console,.live-participants,.live-history-card,.live-group-score,.student-live-score){border-width:2px;border-radius:18px}.live-coding-start-grid h2,.live-coding-home .section-heading h2{font-weight:900}.login-card,.start-card{border-radius:24px;padding:32px}.login-card h1,.student-login-shell .intro h1{font-weight:900}.login-card .success-mark{background:var(--accent-soft);border-radius:18px}.student-login-shell .facts span{border:2px solid var(--line);border-radius:12px}.landing-hero h1{font-weight:950;line-height:1.12}.landing-preview{border-radius:20px}.landing-preview-option{border-width:2px;border-radius:12px}.landing-callout{background:var(--accent-soft);border-radius:20px}.guide-hero h1{font-weight:950}:is(.guide-role-card,.guide-faq details,.guide-footer,.help-scenarios button,.simple-mode-card,.popular-solutions details){border-width:2px;border-radius:16px}.guide-nav a{border:2px solid var(--line);border-radius:12px;font-weight:800}.guide-faq summary{font-weight:850}:is(.profile-dialog,.help-center,.confirm-dialog,.support-ticket-dialog,.tour-card,.teacher-agent-panel){border:2px solid var(--line);border-radius:22px}.inline-notice{border-radius:14px}:is(.admin-shell,.embedded-admin-page) :is(.builder-panel,.bank-editor,.account-card,.report-card,.analytics-panel){min-width:0}.builder-navigation,.builder-step-nav,.group-workspace-picker,.ai-workspace-tabs{border-color:var(--line);background:var(--surface);border-radius:16px}.builder-navigation button,.builder-step-nav button,.group-workspace-picker button{font-weight:800}:is(.builder-navigation,.builder-step-nav,.group-workspace-picker) button.active{color:var(--accent);background:var(--accent-soft);border-color:var(--line-dark)}.question-editor,.settings-panel,.question-builder,.permission-editor{border:2px solid var(--line);background:var(--surface-soft);border-radius:16px}:is(.question-editor,.settings-panel) :is(h3,h4),.permission-editor strong{font-weight:850}.question-editor>.question-editor-head,.question-builder-head{border-bottom-color:var(--line)}.authoring-image{margin-block:16px}.authoring-image>.question-image-editor{border-color:var(--line-dark);border-radius:16px;margin:0}.question-image-upload{max-width:100%;position:relative}.question-image-upload span{border:2px solid var(--line-dark);background:var(--surface);color:var(--ink);box-shadow:0 3px 0 var(--line-dark);border-radius:12px}.question-image-upload:hover:not(:has(input:disabled)) span{border-color:var(--accent);color:var(--accent)}.question-image-upload:focus-within span{outline:3px solid var(--accent);outline-offset:4px}.question-image-upload:has(input:disabled){cursor:wait;opacity:.7}.question-image-actions{flex-wrap:wrap}.question-type-grid select,.option-builder input,.bank-editor select{background:var(--surface)}.option-builder{gap:10px}.builder-field-note,.question-type-grid small,.bank-card small{color:var(--muted);line-height:1.6}.difficulty{border-radius:9px;font-weight:850}.difficulty.easy{background:var(--accent-soft);color:var(--accent)}.difficulty.medium{background:var(--warning-soft);color:var(--yellow)}.difficulty.hard{background:var(--danger-soft);color:var(--danger)}.bank-tags span,.permission-tags span{border:1px solid var(--line);background:var(--surface-soft);color:var(--ink-soft);border-radius:8px}.bank-card{overflow-wrap:anywhere}.group-workspace-picker{gap:10px}.group-students,.student-detail-summary,.group-settings,.group-create-card,.group-admins{border-color:var(--line)}.student-list-row,.group-student-row{border-color:var(--line);background:var(--surface)}.student-list-row:hover,.group-student-row:hover{background:var(--surface-soft)}.group-invite-card,.group-student-profile,.student-detail-summary>span{border:2px solid var(--line);background:var(--surface-soft);border-radius:14px}:is(.group-invite-card,.group-student-profile) h3{font-weight:850}.group-attempt,.group-attempt-detail{border-color:var(--line);background:var(--surface);border-radius:14px}.group-attempt-detail article{border:2px solid var(--line);background:var(--surface-soft);border-radius:12px}.permission-editor label{background:var(--surface);border-color:var(--line);border-radius:12px}.permission-editor label:has(input:checked){background:var(--accent-soft);border-color:var(--accent)}.new-codes,.assignment-list{border-color:var(--line);border-radius:14px}.generated-code-batch h3{font-weight:900}.history-filters,.history-filter-bar,.gradebook-toolbar{border-color:var(--line);border-radius:16px}.results-table .table-head,.teacher-leaderboard-table .table-head,.gradebook-table th,.owner-teacher-table th{background:var(--surface-soft);color:var(--muted);font-weight:850}.result-entry,.code-entry,.teacher-leaderboard-row{border-color:var(--line)}.result-entry:hover,.code-entry:hover{background:var(--surface-soft)}.result-entry:has(.answer-detail){border-color:var(--line-dark)}.result-entry .answer-detail{border:2px solid var(--line);background:var(--surface);border-radius:16px}.answer-detail .answer-ok,.answer-detail .answer-bad{border-radius:12px}.answer-detail :is(h3,h4),.report-card h3,.analytics-panel h3{font-weight:850}.teacher-comment,.teacher-feedback,.review-feedback{border-color:var(--line);background:var(--surface-soft);border-radius:14px}.gradebook-scroll,.results-table,.teacher-leaderboard-table,.owner-teacher-scroll{overscroll-behavior-x:contain;min-width:0}.analytics-stat,.leaderboard-podium,.owner-stat-grid>.panel,.owner-adoption>.panel{border:2px solid var(--line);background:var(--surface);box-shadow:none;border-radius:18px}.analytics-stat strong,.leaderboard-podium strong,.owner-stat-grid strong{font-weight:900}.owner-chart-card,.owner-chart-table,.owner-events-card{border:2px solid var(--line);background:var(--surface);border-radius:20px}.owner-ring .value{stroke:var(--accent)}.owner-chart-legend .teacher,.owner-day i.teacher{background:var(--accent)}.owner-chart-legend .student,.owner-day i.student{background:var(--brand-action)}.owner-chart-legend .tests,.owner-day i.tests{background:var(--yellow)}.owner-chart-legend .ai,.owner-day i.ai{background:var(--muted)}.ai-setup-card,.ai-setup-steps>article,.ai-import-panel,.ai-token-panel,.ai-history-card,.ai-management-panel,.ai-token-reveal,.ai-service-card{border:2px solid var(--line);background:var(--surface);box-shadow:none;border-radius:20px}.ai-integrations-page :is(h2,h3),.ai-service-card strong,.ai-access-list strong,.ai-history-list strong{font-weight:850}.ai-workspace-tabs button,.ai-service-tabs button{color:var(--muted);background:0 0;border:2px solid #0000;border-radius:12px;font-weight:800}.ai-workspace-tabs button.active,.ai-service-tabs button.active,.ai-service-card.selected{color:var(--accent);border-color:var(--line-dark);background:var(--accent-soft)}.ai-access-list>article,.ai-history-list>article{border-color:var(--line);border-radius:14px}.ai-access-kind,.ai-history-icon{color:var(--accent);background:var(--accent-soft);border-radius:12px}.ai-status{border-radius:8px;font-weight:800}.ai-status.published{color:var(--accent);background:var(--accent-soft)}.ai-status.draft{color:var(--yellow);background:var(--warning-soft)}.ai-status.archived,.ai-status.deleted,.ai-access-list .revoked{color:var(--muted);background:var(--surface-soft)}.ai-secret-note,.ai-prompt-preview,.ai-ready-prompt,.copy-field{border-color:var(--line);background-color:var(--surface-soft);border-radius:14px}.profile-dialog,.help-center,.confirm-dialog,.notification-settings,.two-factor-dialog,.preview-dialog,.oauth-card,.teacher-coin-dialog{border:2px solid var(--line);background:var(--surface);border-radius:22px}:is(.profile-dialog,.help-center,.confirm-dialog,.notification-settings,.two-factor-dialog,.oauth-card) :is(h1,h2,h3){font-weight:900}.profile-page-grid>section,.profile-info,.profile-security,.profile-preferences,.simple-mode-card{border:2px solid var(--line);background:var(--surface-soft);border-radius:16px}.personal-theme-settings{border:2px solid var(--line);background:var(--surface);border-radius:20px}.theme-menu-settings,.theme-editor,.theme-library-item,.theme-color-field input{border-width:2px;border-radius:13px}.theme-library-item{background:var(--surface)}.theme-library-item:has(input:checked){border-color:var(--accent)}.help-search,.help-shortcuts,.help-scenarios button,.popular-solutions details{border-color:var(--line);border-radius:14px}.help-scenarios button:hover{background:var(--accent-soft);color:var(--accent)}.tour-card{background:var(--surface);color:var(--ink)}.tour-count,.tour-progress,.step-number{color:var(--accent)}.landing-nav,.guide-top{border-bottom:2px solid var(--line)}.landing-hero>div>p:not(.eyebrow),.guide-hero>p{color:var(--muted)}.landing-preview-head{border-bottom:2px solid var(--line);background:var(--surface-soft)}.landing-preview-option.correct{color:var(--accent);background:var(--accent-soft);border-color:var(--accent)}.landing-features{border-top:2px solid var(--line);gap:28px}.landing-features h2{font-size:21px;font-weight:900}.landing-features p{font-size:14px;line-height:1.7}.landing-features article>svg{background:var(--accent-soft);width:42px;height:42px;color:var(--accent);border-radius:12px;padding:9px}.landing-callout{border-color:var(--line-dark)}.landing-footer,.guide-footer{border-color:var(--line);color:var(--muted)}.guide-role-card,.guide-feature-grid>article,.guide-safety-grid>article,.guide-student-flow>span{border:2px solid var(--line);background:var(--surface);border-radius:18px}:is(.guide-nav a:hover,.guide-nav a:focus-visible){color:var(--accent);background:var(--accent-soft)}.guide-role-card h3,.guide-feature-grid h3,.guide-section h2{font-weight:900}.guide-steps{border-color:var(--line)}.guide-steps>li:before{color:var(--accent);background:var(--accent-soft);border-color:var(--line)}.guide-faq details{background:var(--surface);border-color:var(--line)}.guide-faq details[open]{border-color:var(--line-dark)}.oauth-card{color:var(--ink)}.oauth-card input{border:2px solid var(--line-dark);background:var(--surface);color:var(--ink);border-radius:13px}.oauth-permission{border:2px solid var(--line);background:var(--accent-soft);color:var(--ink);border-radius:14px}.oauth-permission>svg{color:var(--accent)}.oauth-card .oauth-login label{color:var(--ink-soft)}@media (max-width:700px){:is(.builder-navigation,.builder-step-nav,.group-workspace-picker,.ai-workspace-tabs,.ai-service-tabs){flex-wrap:wrap;max-width:100%}.bank-card,.group-invite-card,.group-student-profile,.analytics-panel,.report-card{overflow-wrap:anywhere;min-width:0}:is(.profile-dialog,.help-center,.preview-dialog,.oauth-card){max-width:100%}.landing-hero{gap:28px}.landing-preview-meta{flex-wrap:wrap;gap:10px}.guide-feature-grid,.guide-safety-grid{grid-template-columns:minmax(0,1fr)}.ai-access-list>article,.ai-history-list>article{min-width:0}.ai-access-list strong,.ai-history-list strong{overflow-wrap:anywhere}}@media (max-width:900px),(max-height:520px){.admin-tabs.admin-drawer,.student-sidebar,.helpdesk-sidebar{border-right-width:2px}}@media (max-width:700px){.section-heading{flex-wrap:wrap;align-items:flex-start}:is(.admin-header,.student-portal-head) h1{font-size:22px}.section-heading h2{font-size:27px}.test-card,.bank-card,.group-card,.group-summary-card{padding:20px}.test-card.selected{padding-top:20px}.student-next-step{flex-direction:column;align-items:flex-start;gap:16px;padding:20px}.student-next-step button{width:100%}.course-overview{flex-direction:column;align-items:flex-start;gap:18px;padding:20px}.login-card,.start-card{padding:24px}.course-lesson{padding:18px}:is(.primary-btn,.secondary-btn,.danger-btn){overflow-wrap:anywhere}}@media (prefers-reduced-motion:reduce){:is(.primary-btn,.secondary-btn,.danger-btn){transition:none}}:is(:root .student-portal-shell,:root .student-login-shell,:root .student-shop,:root .quiz-focus-shell,:root .site-shell:has(>.result-card)){--student-radius:var(--brand-radius,20px);--student-control-radius:var(--brand-control-radius,13px)}:root .student-portal-shell .student-portal-head{border-bottom:2px solid var(--line)}:root .student-portal-shell .student-sidebar-bottom>button{border:2px solid #0000;border-radius:14px;font-weight:800;line-height:1.4}:root .student-portal-shell .student-sidebar-bottom>button.active{border-color:color-mix(in srgb, var(--accent) 28%, var(--line));color:var(--accent);background:var(--accent-soft)}:root .student-portal-shell .wallet-chip{border:2px solid var(--line);border-radius:var(--student-control-radius);background:var(--surface);min-height:44px;color:var(--ink);font-variant-numeric:tabular-nums;font-weight:850}:root .student-portal-shell .wallet-chip:hover:not(:disabled){border-color:var(--line-dark);background:var(--surface-soft)}:root .student-portal-shell :is(.student-page,.dashboard-main,.dashboard-rail,.student-assignment-list,.profile-page-grid)>*,:root .student-portal-shell .section-heading>div{min-width:0}:root .student-portal-shell .section-heading :is(h2,h3){overflow-wrap:anywhere}:root .student-portal-shell .section-heading p:not(.eyebrow){max-width:64ch}:root .student-portal-shell .password-required{border:2px solid var(--line-dark);background:var(--accent-soft);color:var(--ink);border-radius:16px;gap:12px;padding:16px 20px}:root .student-portal-shell .student-access-announcement{border:2px solid color-mix(in srgb, var(--accent) 35%, var(--line));background:var(--accent-soft);margin-top:20px}:root .student-portal-shell .student-access-announcement strong{margin-block:8px;font-size:18px;line-height:1.4;display:block}:root .student-portal-shell :is(.student-assignment,.remediation-row,.home-summary,.rail-card,.student-history){border:2px solid var(--line);border-radius:var(--student-radius);background:var(--surface);box-shadow:none}:root .student-portal-shell .student-assignment .assignment-meta{gap:10px 18px;line-height:1.5}:root .student-portal-shell .student-result-summary{background:var(--accent-soft);width:fit-content;max-width:100%;color:var(--ink);font-variant-numeric:tabular-nums;border-radius:12px;padding:9px 12px;font-weight:850}:root .student-portal-shell .student-assignment footer{gap:16px}:root .student-portal-shell .student-assignment footer>span{line-height:1.6}:root .student-portal-shell .remediation-row :is(h3,strong){font-weight:850}:root .student-portal-shell .remediation-row p{font-size:14px;line-height:1.5}:root .student-portal-shell .student-history>summary{min-height:44px;color:var(--ink-soft);font-size:14px;font-weight:850;line-height:1.5}:root .student-portal-shell .completed-list>article>span{min-width:0}:root .student-portal-shell .completed-list>article strong{overflow-wrap:anywhere;font-size:14px;font-weight:800;line-height:1.5}:root .student-portal-shell .completed-list>article :is(b,.text-action){font-variant-numeric:tabular-nums;line-height:1.5}:root .student-portal-shell .completed-list .text-action{min-height:44px}:root .student-portal-shell .leaderboard{border:2px solid var(--line);border-radius:var(--student-radius);background:var(--surface)}:root .student-portal-shell .leaderboard-row.head{font-size:12px;font-weight:800}:root .student-portal-shell .leaderboard-row :is(b,strong){font-weight:850}:root .student-portal-shell .leaderboard-row>span{overflow-wrap:anywhere;min-width:0}:root .student-portal-shell .leaderboard-row.me{background:var(--accent-soft)}:root .student-portal-shell :is(.student-profile-details,.student-password-card,.student-email,.student-certificates,.personal-theme-settings){border:2px solid var(--line);border-radius:var(--student-radius);background:var(--surface);box-shadow:none}:root .student-portal-shell :is(.student-profile-details,.student-password-card,.student-email) h3{font-size:22px;font-weight:900}:root .student-portal-shell :is(.student-profile-details,.student-password-card,.student-email) p{line-height:1.65}:root .student-portal-shell :is(.student-nickname-form,.student-email form,.student-password-card) label{line-height:1.5}:root .student-portal-shell .profile-theme{border-block:1px solid var(--line);margin-block:24px;padding-block:20px}:root .student-portal-shell .certificate-badge{border:2px solid var(--line);border-radius:var(--student-radius);background:var(--surface-soft);min-width:0}:root .student-portal-shell .certificate-badge>div{min-width:0}:root .student-portal-shell .certificate-badge h4{overflow-wrap:anywhere;font-weight:850}:root .student-portal-shell .certificate-badge summary{min-height:32px;font-weight:800}:root .student-portal-shell .certificate-empty{border:2px dashed var(--line-dark);background:var(--surface-soft);border-radius:16px;align-items:flex-start;padding:20px;line-height:1.6}:root .student-portal-shell .certificate-empty>svg{color:var(--accent);flex:none}:root .student-portal-shell .certificate-palette button{border:2px solid var(--line);border-radius:var(--student-control-radius);background:var(--surface);font-weight:800}:root .student-portal-shell .certificate-palette button[aria-pressed=true]{color:var(--accent);border-color:var(--accent);background:var(--accent-soft);outline:0}:root .student-portal-shell .course-catalog .test-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))}:root .student-portal-shell .course-catalog .test-card{flex-direction:column;align-items:flex-start;gap:14px;min-height:280px;display:flex}:root .student-portal-shell .course-catalog .test-card h3,:root .student-portal-shell .course-catalog .test-card p{margin:0}:root .student-portal-shell .course-catalog .test-card>.primary-btn{margin-top:auto}:root .student-portal-shell .course-catalog progress{margin-block:4px}:root .student-portal-shell :is(.course-prerequisites,.course-article-outline,.course-study-checklist,.course-mastery,.course-checklist,.course-inline-error,.course-certificate-hint){border:2px solid var(--line);background:var(--surface-soft);border-radius:16px}:root .student-portal-shell .course-prerequisites strong,:root .student-portal-shell .course-article-outline :is(strong,summary),:root .student-portal-shell .course-study-checklist :is(strong,h4){font-weight:850}:root .student-portal-shell :is(.course-prerequisites,.course-study-checklist){line-height:1.65}:root .student-portal-shell .course-outline .course-module-toggle{min-height:44px}:root .student-portal-shell .course-module-toggle strong{font-weight:850}:root .student-portal-shell .course-outline .course-lesson-link{border-color:#0000}:root .student-portal-shell .course-outline .course-lesson-link.active{border-color:var(--line-dark)}:root .student-portal-shell :is(.course-view-switch,.course-tabs){gap:8px}:root .student-portal-shell :is(.course-view-switch,.course-tabs) button{font-weight:850}:root .student-portal-shell .course-task-groups>button,:root .student-portal-shell .course-task-navigation button{border:2px solid var(--line);background:var(--surface);color:var(--ink-soft);border-radius:12px;font-weight:800}:root .student-portal-shell .course-task-navigation button.active{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}:root .student-portal-shell .course-option{border:2px solid var(--line);background:var(--surface);border-radius:14px}:root .student-portal-shell .course-option.selected{color:var(--ink);border-color:var(--accent);background:var(--accent-soft)}:root .student-portal-shell .course-library-book{border:2px solid var(--line);border-radius:18px}:root .student-portal-shell .course-library-book h4{font-weight:850}:root .student-portal-shell .course-download-card{border:2px solid var(--line);border-radius:16px}:root .student-portal-shell .course-download-card:hover{background:var(--surface-soft);border-color:var(--accent)}:root .student-portal-shell .course-lesson-pagination{gap:12px}:root .student-portal-shell .course-lesson-pagination>span{color:var(--muted);line-height:1.5}:root .student-portal-shell .learning-course :is(button,a,input,select,summary):focus-visible{outline:3px solid var(--accent);outline-offset:3px}:root .student-shop{border:2px solid var(--line);border-radius:24px}:root .student-shop .shop-header{border-bottom:2px solid var(--line)}:root .student-shop :is(h2,h3){font-weight:900}:root .student-shop .shop-tabs button{border:2px solid #0000;border-radius:13px;min-height:44px;font-weight:850}:root .student-shop .shop-tabs button.active{color:var(--accent);border-color:var(--line-dark);background:var(--accent-soft)}:root .student-shop .shop-card{border:2px solid var(--line);background:var(--surface);border-radius:18px;gap:14px}:root .student-shop .shop-card p{color:var(--muted);line-height:1.65}:root .student-shop .shop-card small{line-height:1.5}:root .student-shop .shop-confirm{border:2px solid var(--accent);border-radius:16px}:root .student-shop .shop-confirm>strong{font-size:17px;font-weight:900}:root .student-shop .shop-confirm p{color:var(--ink-soft);line-height:1.6}:root .student-shop .shop-equipment-actions{border-top:1px solid var(--line);gap:12px;padding-top:16px}:root .student-shop .shop-equipment-actions button{border:2px solid var(--line);border-radius:12px;padding:8px 12px}:root .student-shop .shop-history article>div{min-width:0}:root .student-shop .shop-history article strong{overflow-wrap:anywhere}:root .student-shop .shop-history article>b{font-variant-numeric:tabular-nums;white-space:nowrap;font-weight:900}:root .student-shop .shop-achievements .course-status{margin:4px 6px 4px 0}:root .student-shop .shop-rules summary{min-height:44px;font-weight:850;line-height:1.5}:root .student-portal-shell :is(.student-support-form,.student-ticket-summary,.student-support-dialog){border:2px solid var(--line);border-radius:var(--student-radius);background:var(--surface);box-shadow:none}:root .student-portal-shell .student-support-form h3{font-size:23px;font-weight:900}:root .student-portal-shell .student-support-form label{line-height:1.5}:root .student-portal-shell .student-support-categories button{border:2px solid var(--line);background:var(--surface);min-height:44px;color:var(--ink-soft);border-radius:12px;font-weight:800}:root .student-portal-shell .student-support-categories button.active,:root .student-portal-shell .student-support-categories button[aria-pressed=true]{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}:root .student-portal-shell .student-ticket-summary{padding:20px}:root .student-portal-shell .student-ticket-summary strong{font-size:16px;font-weight:850;line-height:1.45}:root .student-portal-shell .student-ticket-summary small{font-size:12px;line-height:1.6}:root .student-portal-shell .student-support-dialog .support-comments article{border-radius:14px}:root .student-portal-shell .student-support-description{line-height:1.7}:root .quiz-focus-shell .quiz-question-menu>summary{border:2px solid var(--line);border-radius:11px;font-weight:850}:root .quiz-focus-shell .quiz-question-menu-body{border:2px solid var(--line);background:var(--surface);border-radius:16px}:root .quiz-focus-shell .option-btn{border-color:var(--line);background:var(--surface)}:root .quiz-focus-shell .option-btn.selected{border-color:var(--accent);background:var(--accent-soft)}:root .quiz-focus-shell .question-navigator button.answered{color:var(--accent);background:var(--accent-soft)}:root .quiz-focus-shell .question-navigator button.flagged{color:var(--yellow);border-color:var(--yellow);background:var(--warning-soft)}:root .quiz-focus-shell .open-answer-panel{border-color:var(--line);border-radius:16px}:root .quiz-focus-shell .programming-task{border:2px solid var(--line);background:var(--surface-soft);border-radius:16px}:root .site-shell>.result-card{border:2px solid var(--line);background:var(--surface);border-radius:24px}:root .result-card .quiz-name{color:var(--ink-soft);line-height:1.5}:root .result-card .result-score{flex-wrap:wrap;gap:10px 16px}:root .result-card .result-score strong{font-variant-numeric:tabular-nums}:root .result-card .result-meta{gap:12px}:root .result-card .result-meta span{border:2px solid var(--line);border-radius:13px;padding:12px 14px}:root .result-card .result-actions{flex-wrap:wrap;gap:12px}:root .result-card .result-actions button{min-height:44px}:root .result-card .student-review>h2{font-size:24px;font-weight:900}:root .result-card .student-review article{border:2px solid var(--line);background:var(--surface-soft);border-radius:16px}:root .result-card .student-review article.answer-ok{border-left:4px solid var(--success)}:root .result-card .student-review article.answer-bad{border-left:4px solid var(--danger)}:root .result-card .student-review article>strong{overflow-wrap:anywhere;line-height:1.6}:root .result-card :is(.teacher-feedback,.answer-feedback,.answer-explanation){border-radius:13px;line-height:1.65}:root .student-login-shell .brand-context{color:var(--muted);font-weight:800}:root .student-login-shell .intro h1{letter-spacing:-.035em}:root .student-login-shell .intro>p{line-height:1.7}:root .student-login-shell .panel-title>div{min-width:0}:root .student-login-shell .panel-title h2{font-size:25px;font-weight:900}:root .student-login-shell .facts span{min-height:44px;line-height:1.4}:root .student-login-shell .student-email-recovery>.text-action{min-height:44px}@media (max-width:900px){:root .student-portal-shell .student-assignment footer{flex-wrap:wrap}:root .student-portal-shell .student-assignment footer>span{flex:220px}:root .student-portal-shell .student-assignment footer button{max-width:100%}}@media (max-width:700px){:root .student-portal-shell .completed-list>article{grid-template-columns:minmax(0,1fr) auto;gap:10px 12px;padding:16px}:root .student-portal-shell .completed-list>article>b{text-align:right;max-width:180px}:root .student-portal-shell .completed-list .text-action{justify-self:end}:root .student-portal-shell .student-assignment footer>span{flex-basis:100%}:root .student-portal-shell .student-assignment footer button{width:100%}:root .student-portal-shell .remediation-row{flex-wrap:wrap;align-items:flex-start}:root .student-portal-shell .remediation-row>div{flex-basis:calc(100% - 52px)}:root .student-portal-shell .remediation-row>button{width:100%}:root .student-portal-shell :is(.student-profile-details,.student-password-card,.student-email,.student-certificates){padding:20px}:root .student-portal-shell .certificate-badge{grid-template-columns:56px minmax(0,1fr);gap:16px;padding:16px}:root .student-portal-shell .certificate-badge .certificate-medal{width:56px;height:72px}:root .student-portal-shell .certificate-badge>button{grid-column:1/-1;width:100%}:root .student-portal-shell .leaderboard-row{grid-template-columns:34px minmax(0,1fr) 48px 64px;gap:6px;padding:14px 12px}:root .student-portal-shell .leaderboard-row strong{font-size:13px}:root .student-portal-shell .course-catalog .test-card{min-height:250px;padding:20px}:root .student-portal-shell .student-access-announcement{margin-top:16px}:root .student-shop .shop-header{padding:20px}:root .student-shop .shop-content{padding:18px 20px 24px}:root .student-shop .shop-grid{grid-template-columns:minmax(0,1fr)}:root .student-shop .shop-confirm div>button{flex:140px}:root .student-shop .shop-equipment-actions{flex-direction:column;align-items:stretch}:root .student-shop .shop-equipment-actions button{text-align:left;width:100%}:root .student-portal-shell .student-support-dialog .support-reply{grid-template-columns:minmax(0,1fr)}:root .result-card .result-meta>span{overflow-wrap:anywhere;min-width:0}:root .result-card .result-actions button{width:100%}:root .result-card .student-review>h2{font-size:22px}}@media (prefers-reduced-motion:reduce){:root .student-portal-shell :is(.wallet-chip,.student-sidebar-bottom>button),:root .student-shop :is(.shop-tabs button,.shop-card button){transition:none}}:is(.live-coding-home,.live-room,.live-student-shell){min-width:0;color:var(--ink)}:is(.live-coding-home,.live-room,.live-student-shell) :is(.section-heading,.panel-section-title) p{line-height:1.6}.live-coding-start-grid{gap:24px}.live-coding-start-grid>.panel,.live-coding-start-grid .live-lesson-setup{border:2px solid var(--line);border-radius:var(--brand-radius);background:var(--surface)}.live-coding-home .live-lesson-history{padding:24px}.live-coding-home .live-lesson-history>button{min-height:66px;padding:14px 0}.live-coding-home .live-lesson-history>button:hover{color:var(--accent)}.live-coding-home .live-lesson-history>button span{gap:5px}.live-coding-home .live-lesson-history>button small{font-size:12px;line-height:1.5}.live-coding-home .live-lesson-history>button b{border-radius:9px;font-size:11px;font-weight:850}.live-coding-home .live-lesson-history>button b.active{color:var(--accent);background:var(--accent-soft)}.live-room-top{gap:18px;margin-bottom:22px}.live-room-top h2{font-size:clamp(24px,2.5vw,32px);font-weight:900}.live-room-top p{color:var(--muted);font-size:13px;line-height:1.6}:is(.live-room,.live-student-shell) .connection-pill,.live-coding-home .live-signal{border:1px solid color-mix(in srgb, var(--accent) 30%, var(--line));background:var(--accent-soft);color:var(--accent);letter-spacing:normal;text-transform:none;border-radius:11px;font-size:12px;font-weight:850;line-height:1.4}:is(.live-room,.live-student-shell) .connection-pill:is(.connecting,.offline){border-color:color-mix(in srgb, var(--yellow) 45%, var(--line));background:var(--warning-soft);color:var(--ink-soft)}:is(.live-room,.live-student-shell) :is(.live-editor-panel,.live-console,.live-participants,.live-group-score,.student-live-score,.checkpoint-bar){border:2px solid var(--line);box-shadow:none;background:var(--surface);border-radius:18px}:is(.live-room,.live-student-shell) .live-editor-toolbar{border-bottom-color:var(--line);background:var(--surface)}:is(.live-room,.live-student-shell) .live-editor-toolbar>span>strong{font-size:14px;font-weight:850}:is(.live-room,.live-student-shell) .live-editor-toolbar small{font-size:12px}.live-room .live-participants{padding:20px}.live-room .participant-list{gap:8px}.live-room .participant-list>button{border:2px solid #0000;border-radius:13px;padding:12px}.live-room .participant-list>button:hover,.live-room .participant-list>button.selected{border-color:var(--line-dark);background:var(--surface-soft)}.live-room .participant-list>button.has-control{border-color:var(--accent);background:var(--accent-soft)}.live-room .participant-list strong{font-size:13px;font-weight:850}.live-room .participant-list small{font-size:11px;line-height:1.4}.live-room .participant-list .lucide-hand{color:var(--yellow)}.live-room .participant-actions{border:1px solid var(--line);background:var(--surface-soft);border-radius:15px;gap:12px;padding:16px}.live-room .participant-actions>span{font-size:12px;line-height:1.6}.live-room .score-buttons button{border:2px solid var(--line-dark);background:var(--surface);border-radius:11px;min-height:40px;font-family:inherit}.live-room .score-buttons button:hover:not(:disabled){border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}.live-room .score-buttons button:disabled{opacity:.6;cursor:not-allowed}.live-room .checkpoint-bar>div{gap:10px}.live-room .checkpoint-bar>div button{border:2px solid var(--line);border-radius:11px;min-height:40px;font-family:inherit;font-weight:800}.live-room .checkpoint-bar>div button:hover{color:var(--accent);border-color:var(--accent)}.live-room .checkpoint-bar small{font-weight:650}.live-student-shell .live-student-header{border-bottom:2px solid var(--line)}.live-student-shell .live-student-header strong{font-size:16px;font-weight:850}.live-student-shell .student-control-banner{border:2px solid var(--line);background:var(--surface);border-radius:16px}.live-student-shell .student-control-banner.active{border-color:var(--accent);background:var(--accent-soft)}.live-student-shell .student-control-banner small{line-height:1.5}.live-student-shell .hand-button{border:2px solid var(--line-dark);border-radius:var(--brand-control-radius);background:var(--surface);min-height:44px;color:var(--ink-soft);box-shadow:0 3px 0 var(--line-dark);font-family:inherit}.live-student-shell .hand-button.raised{color:var(--accent);background:var(--accent-soft);border-color:var(--accent);box-shadow:0 3px 0 color-mix(in srgb, var(--accent) 60%, var(--surface))}.live-student-shell .hand-button:active:not(:disabled){box-shadow:none;transform:translateY(2px)}:is(.live-room,.live-student-shell) .live-group-score-list>div{border:1px solid var(--line);border-radius:11px;padding:10px 12px}:is(.live-room,.live-student-shell) .live-group-score-list span{font-size:12px}:is(.live-room,.live-student-shell) .live-group-score-list b{font-size:13px}.live-student-shell .student-live-score>strong{font-weight:950}.live-student-shell .student-live-score p{font-size:13px;line-height:1.6}.live-extension-connect{border:2px solid var(--line);border-radius:var(--brand-radius);color:var(--ink);background:var(--surface);box-shadow:none;gap:18px;margin-block:18px 24px;padding:22px 24px}.live-extension-connect>div:first-child{gap:6px}.live-extension-connect>div:first-child>strong{font-size:17px;font-weight:900}.live-extension-connect small{font-size:13px;line-height:1.6}.live-extension-actions{gap:12px}.live-extension-connect .live-extension-fallback{border-top:1px solid var(--line);padding-top:14px}.live-extension-connect>p[role=alert]{color:var(--danger)}.live-quick-guide{border-top:1px solid var(--line);padding-top:12px}.live-quick-guide .live-guide-toggle{font-weight:850}.live-quick-guide .live-guide-steps{gap:10px}.live-quick-guide .live-guide-steps button{border:2px solid var(--line);border-radius:12px;font-family:inherit;font-weight:850}.live-quick-guide .live-guide-steps button[aria-current=step]{background:var(--accent-soft);border-color:var(--accent);color:var(--accent)}.live-quick-guide .live-guide-copy h3{font-size:23px;font-weight:900}.live-quick-guide .live-guide-copy p{line-height:1.7}.live-quick-guide .live-guide-demo{border:2px solid var(--line);background:var(--surface-soft);border-radius:16px}.live-quick-guide .live-guide-demo-title{font-size:13px;font-weight:850}.live-quick-guide .live-guide-demo-title>span{font-size:11px}.live-quick-guide .live-guide-demo-content>strong{font-size:15px}.live-quick-guide .live-guide-demo-content>span{font-size:12px;line-height:1.5}.live-quick-guide .live-guide-navigation{gap:14px;padding-top:16px}.live-quick-guide .live-guide-navigation>span{font-weight:800}:root .live-browser-auth.panel{border:2px solid var(--line);background:var(--surface);color:var(--ink);border-radius:22px;box-shadow:0 18px 60px #0000002e}:root .live-browser-auth-icon{border:2px solid var(--line);background:var(--accent-soft);color:var(--accent);border-radius:14px}.live-browser-auth .live-browser-auth-main>h2{font-size:25px;font-weight:900}.live-browser-auth .live-browser-auth-account{border:1px solid var(--line);background:var(--surface-soft);border-radius:12px;padding:13px 15px}.live-browser-auth .live-browser-auth-account>strong{font-size:16px}.live-browser-auth .live-browser-auth-account>span{font-size:13px}.live-browser-auth .live-browser-auth-confirmed{font-size:12px}.live-browser-auth .live-browser-auth-actions{gap:14px}:root .live-browser-login-notice{border:2px solid var(--line);background:var(--accent-soft);color:var(--ink);border-radius:14px}:is(.helpdesk-shell,.helpdesk-login,.support-page,.student-support-section){--panel:var(--surface)}.helpdesk-shell{background:var(--app-bg)}.helpdesk-shell .helpdesk-topbar{border-bottom:2px solid var(--line)}.helpdesk-shell :is(.helpdesk-heading h1,.helpdesk-queue-head h2){font-weight:900}.helpdesk-shell :is(.helpdesk-stats article,.helpdesk-queue,.helpdesk-inventory-table,.helpdesk-mini-form,.helpdesk-category-chart,.helpdesk-problem-form,.helpdesk-problem-grid article,.helpdesk-telegram,.helpdesk-team-card,.helpdesk-access-requests){border:2px solid var(--line);border-radius:var(--brand-radius);background:var(--surface);box-shadow:none}.helpdesk-shell .helpdesk-stats article{padding:22px}.helpdesk-shell .helpdesk-stats article strong{font-size:34px;font-weight:950}.helpdesk-shell .helpdesk-stats article svg,.helpdesk-shell .helpdesk-queue-head h2 span,.helpdesk-shell .helpdesk-mini-form>svg,.helpdesk-shell .helpdesk-access-empty>svg{color:var(--accent)}.helpdesk-shell .helpdesk-mini-form>svg{background:var(--accent-soft)}.helpdesk-shell .helpdesk-status-tabs{gap:10px}.helpdesk-shell .helpdesk-status-tabs button{border:2px solid #0000;border-radius:12px;min-height:42px;font-size:12px;font-weight:850}.helpdesk-shell .helpdesk-status-tabs button.active{border-color:var(--line-dark);color:var(--accent);background:var(--accent-soft)}.helpdesk-shell .helpdesk-ticket-table>button{min-height:76px}.helpdesk-shell .helpdesk-ticket-table>button:hover{color:var(--ink);background:var(--surface-soft)}.helpdesk-shell .helpdesk-ticket-table>button strong{font-weight:850}.helpdesk-shell .helpdesk-ticket-table small{font-size:12px}.helpdesk-shell .helpdesk-status.new{background:var(--accent)}.helpdesk-shell .helpdesk-status.waiting,.helpdesk-shell .helpdesk-status.progress{background:var(--yellow)}.helpdesk-shell .helpdesk-status.resolved{background:var(--success)}.helpdesk-shell .helpdesk-status.cancelled{background:var(--danger)}.helpdesk-shell .helpdesk-discussion article.internal{border-color:var(--accent);background:var(--accent-soft)}.helpdesk-shell .helpdesk-history>div>i{background:var(--accent)}.helpdesk-shell .helpdesk-access-avatar{color:var(--accent);background:var(--accent-soft)}.helpdesk-login .helpdesk-login-copy,.helpdesk-login .helpdesk-login-form{color:var(--ink);background:var(--surface)}.helpdesk-login .helpdesk-login-form{border:2px solid var(--line);border-radius:22px}.helpdesk-login .helpdesk-login-icon{color:var(--accent);background:var(--accent-soft);border-radius:16px}.helpdesk-login .helpdesk-login-copy h1{font-weight:950}.helpdesk-ticket-dialog.panel{border:2px solid var(--line);background:var(--surface);border-radius:22px}.helpdesk-ticket-dialog .helpdesk-ticket-dialog-grid section{border:2px solid var(--line);border-radius:16px}.helpdesk-ticket-dialog :is(h2,h3){font-weight:900}.helpdesk-ticket-dialog .helpdesk-discussion article.internal{border-color:var(--accent);background:var(--accent-soft)}.helpdesk-ticket-dialog .helpdesk-history>div>i{background:var(--accent)}:is(.support-page,.student-support-section) :is(.support-form,.support-ticket,.student-support-form,.student-ticket-summary){border:2px solid var(--line);border-radius:var(--brand-radius);background:var(--surface)}.support-page .support-form,.student-support-section .student-support-form{padding:24px}.support-page .support-form h2{font-weight:900}.support-page .support-form-icon{color:var(--accent);background:var(--accent-soft)}.support-page .support-problem-presets button,.support-page .support-room-picker button,.student-support-section .student-support-categories button{border:2px solid var(--line);background:var(--surface);min-height:44px;color:var(--ink-soft);border-radius:12px;font-size:13px;font-weight:800}.support-page .support-problem-presets button.active,.support-page .support-room-picker button.active,.student-support-section .student-support-categories button.active{color:var(--accent);border-color:var(--accent);background:var(--accent-soft)}:is(.support-page,.student-support-section) .ticket-status{border:1px solid var(--line);background:var(--accent-soft);color:var(--accent);border-radius:9px;font-size:11px;font-weight:850}:is(.support-page,.student-support-section) .ticket-status.resolved{background:color-mix(in srgb, var(--success) 12%, var(--surface));color:var(--success)}:is(.support-page,.student-support-section) .ticket-status.cancelled{background:var(--surface-soft);color:var(--muted)}.support-page .support-ticket-head small{font-size:12px}.support-page .support-ticket-open h3{font-size:22px;font-weight:900}.support-page .support-ticket-open p{font-size:14px;line-height:1.7}.support-page .telegram-reply-card{border-color:var(--line);background:var(--surface-soft);border-radius:16px}.support-page .telegram-reply-card>span{color:var(--accent);background:var(--surface)}.support-page .telegram-reply-card strong{font-size:13px;font-weight:850}.support-page .telegram-reply-card small{font-size:12px;line-height:1.5}.support-page .telegram-reply-card.connected{border-color:var(--accent);background:var(--accent-soft)}.support-ticket-dialog.panel,.student-support-dialog.panel{border:2px solid var(--line);background:var(--surface);border-radius:22px}:is(.support-ticket-dialog,.student-support-dialog) :is(h2,h3){font-weight:900}:is(.support-ticket-dialog,.student-support-dialog) .support-comments article{border-color:var(--line);border-radius:12px}:is(.support-ticket-dialog,.student-support-dialog) .support-comments p{line-height:1.7}.student-support-section .student-ticket-summary{text-align:left;padding:20px}.student-support-section .student-ticket-summary>strong{font-size:17px;font-weight:900}.student-support-section .student-ticket-summary>small{font-size:12px;line-height:1.5}@media (max-width:700px){.live-coding-start-grid{gap:18px}.live-coding-start-grid>.panel,.live-coding-home .live-lesson-history{padding:20px}.live-room-top h2{font-size:25px}.live-extension-connect{gap:16px;padding:18px}.live-extension-actions{width:100%}.live-extension-actions>:is(a,button){flex:180px}.live-quick-guide .live-guide-steps{gap:8px}.live-quick-guide .live-guide-copy h3{font-size:21px}:root .live-browser-auth.panel{gap:14px;padding:20px}.live-browser-auth .live-browser-auth-main>h2{font-size:23px}.helpdesk-shell .helpdesk-stats article{padding:18px}.helpdesk-shell .helpdesk-stats article strong{font-size:29px}.helpdesk-ticket-dialog .helpdesk-ticket-dialog-grid section{padding:18px}.support-page .support-form,.student-support-section .student-support-form{padding:20px}.support-page .support-ticket-open h3{font-size:20px}}@media (prefers-reduced-motion:reduce){.live-coding-home .live-signal:before,.live-student-shell .live-dot{animation:none}.live-student-shell .hand-button{transition:none}}
