:root{color:#111827;font-synthesis:none;background:#f6f7fb;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:1.5}*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button,input,select{font:inherit}.app-shell{min-height:100vh}.topbar{z-index:10;background:#fff;border-bottom:1px solid #e5e7eb;align-items:center;gap:48px;height:68px;padding:0 5%;display:flex;position:sticky;top:0}.brand{letter-spacing:-1px;font-size:24px;font-weight:850}.brand span{font-weight:500}.brand.large{margin-bottom:8px;font-size:34px}.topbar nav{align-items:center;gap:26px;height:100%;display:flex}.topbar nav a{color:#6b7280;border-bottom:2px solid #0000;align-items:center;height:100%;font-weight:600;display:flex}.topbar nav a.active{color:#111827;border-color:#111827}.user-menu{align-items:center;gap:16px;margin-left:auto;font-size:14px;display:flex}.user-menu button{color:#6b7280;cursor:pointer;background:0 0;border:0}.main{max-width:1180px;margin:0 auto;padding:48px 24px 80px}.hero{justify-content:space-between;align-items:flex-end;gap:32px;margin-bottom:28px;display:flex}.hero h1,.page-head h1{letter-spacing:-1.8px;margin:5px 0 8px;font-size:42px}.hero p,.page-head p{color:#6b7280;max-width:650px;margin:0}.eyebrow{letter-spacing:1.5px;color:#6b7280;font-size:11px;font-weight:800}.primary,.secondary,.danger-btn{cursor:pointer;border:0;border-radius:10px;justify-content:center;align-items:center;padding:11px 18px;font-weight:750;display:inline-flex}.primary{color:#fff;background:#111827}.secondary{color:#111827;background:#fff;border:1px solid #d1d5db}.danger-btn{color:#fff;background:#b91c1c}.full{width:100%}.stats{grid-template-columns:repeat(4,1fr);gap:14px;margin:26px 0;display:grid}.stats>div{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:20px}.stats b{font-size:26px;display:block}.stats span,.metric-row span{color:#6b7280;margin-top:3px;font-size:13px;display:block}.section-head,.page-head{justify-content:space-between;align-items:flex-end;margin:44px 0 18px;display:flex}.section-head h2,.panel h2{margin:4px 0 0;font-size:24px}.section-head select,.filters select{background:#fff;border:1px solid #d1d5db;border-radius:9px;padding:10px 12px}.subject-grid{grid-template-columns:repeat(2,1fr);gap:16px;display:grid}.subject-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;align-items:center;gap:15px;padding:20px;transition:all .15s;display:flex}.subject-card:hover,.test-card:hover{border-color:#9ca3af;transform:translateY(-1px)}.subject-card h3{margin:0;font-size:18px}.subject-card p{color:#6b7280;margin:3px 0 0;font-size:13px}.subject-card>span{margin-left:auto;font-size:22px}.subject-icon{background:#eef2ff;border-radius:12px;place-items:center;width:46px;height:46px;font-weight:800;display:grid}.filters{gap:14px;margin:20px 0;display:flex}.filters label{flex-direction:column;gap:6px;font-size:12px;font-weight:750;display:flex}.empty-panel,.panel,.instruction{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:28px}.empty-panel h2{margin-top:0}.test-list{gap:14px;display:grid}.test-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;justify-content:space-between;align-items:center;gap:24px;padding:22px;display:flex}.test-card h2{margin:9px 0 5px;font-size:20px}.test-card p{color:#6b7280;margin:0;font-size:14px}.pill{color:#4b5563;background:#f3f4f6;border-radius:999px;padding:4px 8px;font-size:11px;font-weight:800;display:inline-block}.narrow{max-width:760px;margin:20px auto}.narrow h1{letter-spacing:-1.5px;font-size:40px}.test-meta{grid-template-columns:repeat(4,1fr);gap:10px;margin:28px 0;display:grid}.test-meta div{background:#fff;border:1px solid #e5e7eb;border-radius:12px;padding:16px}.test-meta b,.test-meta span{display:block}.test-meta span{color:#6b7280;margin-top:3px;font-size:12px}.instruction{margin-bottom:20px}.instruction li{margin:10px 0}.auth-page{background:#f3f4f6;place-items:center;min-height:100vh;padding:24px;display:grid}.auth-card{background:#fff;border:1px solid #e5e7eb;border-radius:18px;width:min(420px,100%);padding:34px;box-shadow:0 10px 35px #1118270d}.auth-card h1{margin:26px 0 18px}.auth-card form{gap:16px;display:grid}.auth-card label{gap:7px;font-size:13px;font-weight:700;display:grid}.auth-card input{border:1px solid #d1d5db;border-radius:9px;outline:none;padding:12px}.auth-footer{color:#6b7280;text-align:center;font-size:13px}.auth-footer a{color:#111827;font-weight:700}.alert{border-radius:9px;margin-bottom:14px;padding:11px 13px;font-size:13px}.center-page{place-items:center;min-height:70vh;display:grid}.loader{border:3px solid #e5e7eb;border-top-color:#111827;border-radius:50%;width:30px;height:30px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.test-player{max-width:1180px;margin:0 auto;padding:22px}.test-header{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.test-header b{margin-top:3px;display:block}.timer{font-variant-numeric:tabular-nums;font-size:22px;font-weight:850}.progress{background:#e5e7eb;border-radius:10px;height:4px;overflow:hidden}.progress span{background:#111827;height:100%;display:block}.question-layout{grid-template-columns:260px 1fr;gap:22px;margin-top:24px;display:grid}.palette{background:#fff;border:1px solid #e5e7eb;border-radius:14px;flex-wrap:wrap;align-content:flex-start;gap:8px;padding:16px;display:flex}.palette button{cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:8px;width:38px;height:38px}.palette button.current{color:#fff;background:#111827;border-color:#111827}.question-card{background:#fff;border:1px solid #e5e7eb;border-radius:16px;padding:32px}.question-top{color:#6b7280;justify-content:space-between;font-size:12px;display:flex}.question-card h1{margin:25px 0;font-size:25px;line-height:1.35}.options{gap:11px;display:grid}.options button{text-align:left;cursor:pointer;background:#fff;border:1px solid #d1d5db;border-radius:11px;gap:14px;padding:15px;display:flex}.options button.selected{background:#f9fafb;border-color:#111827}.options button span{font-weight:800}.test-actions{justify-content:flex-end;gap:10px;margin-top:30px;display:flex}.result-page{text-align:center;max-width:760px;margin:30px auto}.result-page h1{font-size:40px}.result-score{background:#fff;border:1px solid #e5e7eb;border-radius:18px;margin:25px 0;padding:30px}.result-score b{font-size:54px;display:block}.result-score span{color:#6b7280}.result-actions{justify-content:center;gap:10px;margin-top:24px;display:flex}.metric-row{border-bottom:1px solid #eee;justify-content:space-between;align-items:center;padding:17px 0;display:flex}.metric-row:last-child{border-bottom:0}.metric-row strong{font-size:20px}@media (width<=760px){.topbar{gap:20px;padding:0 18px}.topbar nav{display:none}.main{padding:28px 16px}.hero,.section-head,.page-head{display:block}.hero .primary{margin-top:18px}.stats{grid-template-columns:repeat(2,1fr)}.subject-grid{grid-template-columns:1fr}.test-meta{grid-template-columns:repeat(2,1fr)}.question-layout{grid-template-columns:1fr}.palette{order:2}.test-actions{flex-wrap:wrap}.question-card{padding:20px}.hero h1,.page-head h1,.narrow h1{font-size:32px}}.grid-4{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.stat-card{border:1px solid var(--border,#e5e7eb);background:var(--surface,#fff);border-radius:16px;flex-direction:column;gap:6px;padding:20px;display:flex}.stat-card span,.stat-card small{color:var(--muted,#6b7280)}.stat-card strong{font-size:28px}.table-wrap{overflow:auto}.table-wrap table{border-collapse:collapse;width:100%}.table-wrap th,.table-wrap td{text-align:left;border-bottom:1px solid var(--border,#e5e7eb);white-space:nowrap;padding:12px}.truncate{text-overflow:ellipsis;max-width:420px;overflow:hidden}.badge{background:#eef2ff;border-radius:999px;padding:4px 8px;font-size:12px}.audit-list{flex-direction:column;display:flex}.audit-row{border-bottom:1px solid var(--border,#e5e7eb);grid-template-columns:1.5fr 1fr 1.5fr;gap:12px;padding:12px 0;display:grid}.audit-row span,.audit-row small{color:var(--muted,#6b7280)}@media (width<=900px){.grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}.audit-row{grid-template-columns:1fr}.table-wrap th,.table-wrap td{padding:9px}}.learning-panel{background:#fff;border:1px solid #e5e7eb;border-radius:16px;justify-content:space-between;align-items:center;gap:24px;margin-top:28px;padding:24px;display:flex}.learning-panel h2{margin:5px 0 6px;font-size:24px}.learning-panel p{max-width:700px;margin:0}@media (width<=760px){.learning-panel{display:block}.learning-panel .primary{margin-top:18px}}.subject-head-actions{align-items:center;gap:10px;display:flex}.subject-head-actions select{background:#fff;border:1px solid #d1d5db;border-radius:9px;padding:10px 12px}.subject-performance-grid{grid-template-columns:1.6fr 1fr;gap:16px;display:grid}.panel-head{justify-content:space-between;align-items:flex-end;margin-bottom:12px;display:flex}.panel h2{margin:4px 0 14px}.topic-performance{border-bottom:1px solid #eee;padding:15px 0}.topic-performance:last-child{border-bottom:0}.topic-title{justify-content:space-between;gap:12px;display:flex}.topic-title strong{font-size:14px}.topic-bar{background:#e5e7eb;border-radius:99px;height:7px;margin:9px 0 6px;overflow:hidden}.topic-bar span{background:#111827;height:100%;display:block}.topic-meta{color:#6b7280;font-size:12px}.recent-panel{margin-top:16px}@media (width<=760px){.subject-head-actions{flex-wrap:wrap;margin-top:18px}.subject-performance-grid{grid-template-columns:1fr}}.targeted-panel{margin-top:16px}.target-grid{grid-template-columns:repeat(2,1fr);gap:14px;display:grid}.target-card{border:1px solid #e5e7eb;border-radius:14px;padding:18px}.target-card-head{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.target-card h3{margin:8px 0 0;font-size:18px}.target-card>p{color:#6b7280;min-height:40px;font-size:13px}.target-card .secondary{margin-top:4px}.empty-inline{justify-content:space-between;align-items:center;gap:20px;display:flex}.retest-panel{margin-top:16px}.metric-list{margin-top:6px}@media (width<=760px){.target-grid{grid-template-columns:1fr}.empty-inline{display:block}.empty-inline .secondary{margin-top:12px}}.result-learning-panel,.result-next-panel{text-align:left;background:#fff;border:1px solid #e5e7eb;border-radius:16px;margin-top:16px;padding:24px}.result-learning-panel h2,.result-next-panel h2{text-transform:none;margin:5px 0 6px;font-size:24px}.result-learning-panel p,.result-next-panel p{margin:0}.result-learning-metrics{grid-template-columns:repeat(3,1fr);gap:10px;margin-top:20px;display:grid}.result-learning-metrics>div{border:1px solid #e5e7eb;border-radius:12px;padding:14px}.result-learning-metrics b,.result-learning-metrics span{display:block}.result-learning-metrics span{color:#6b7280;margin-top:3px;font-size:12px}.result-next-panel{justify-content:space-between;align-items:center;gap:20px;display:flex}.result-next-panel .result-actions{justify-content:flex-end;margin-top:0}.result-next-panel .secondary,.result-next-panel .primary{white-space:nowrap}@media (width<=760px){.result-learning-metrics{grid-template-columns:1fr}.result-next-panel{display:block}.result-next-panel .result-actions{flex-wrap:wrap;justify-content:flex-start;margin-top:18px}}.result-verification-panel{border:1px solid var(--border);background:var(--surface);border-radius:18px;justify-content:space-between;align-items:center;gap:24px;margin-top:18px;padding:22px;display:flex}.result-verification-panel h2{margin:6px 0}.result-verification-panel .result-learning-metrics{gap:24px;display:flex}.result-verification-panel .result-learning-metrics>div{min-width:90px}@media (width<=760px){.result-verification-panel{display:block}.result-verification-panel .result-learning-metrics{flex-wrap:wrap;margin-top:18px}}.performance-head-actions{align-items:center;gap:10px;display:flex}.performance-head-actions select{background:#fff;border:1px solid #d1d5db;border-radius:9px;padding:10px 12px}.loop-flow{grid-template-columns:repeat(6,1fr);gap:10px;margin:24px 0;display:grid}.loop-step{background:#fff;border:1px solid #e5e7eb;border-radius:14px;min-height:112px;padding:16px}.loop-step span{color:#fff;background:#111827;border-radius:50%;place-items:center;width:28px;height:28px;font-size:12px;font-weight:800;display:grid}.loop-step b{margin-top:12px;display:block}.loop-step small{color:#6b7280;margin-top:3px;display:block}.learning-loop-panel{margin-top:16px}.learning-loop-panel .panel-head p{margin:4px 0 0}.subject-loop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;display:grid}.subject-loop-card{border:1px solid #e5e7eb;border-radius:14px;padding:18px}.subject-loop-top{justify-content:space-between;align-items:flex-start;gap:15px;display:flex}.subject-loop-top h3{margin:8px 0 0;font-size:20px}.subject-loop-top>strong{font-size:24px}.subject-loop-meta{color:#6b7280;margin:7px 0 16px;font-size:12px}.subject-loop-card h4{margin:5px 0;font-size:17px}.subject-loop-card p{font-size:13px}.loop-target{background:#f9fafb;border-radius:9px;padding:10px}.subject-loop-actions{gap:9px;margin-top:15px;display:flex}.measurement-panel{margin-top:16px}.measurement-panel>p{max-width:760px}.measurement-grid{grid-template-columns:repeat(3,1fr);gap:10px;margin-top:18px;display:grid}.measurement-grid>div{border:1px solid #e5e7eb;border-radius:12px;padding:14px}.measurement-grid b,.measurement-grid span{display:block}.measurement-grid span{color:#6b7280;margin-top:4px;font-size:12px}@media (width<=900px){.loop-flow{grid-template-columns:repeat(3,1fr)}.subject-loop-grid,.measurement-grid{grid-template-columns:1fr}}@media (width<=760px){.performance-head-actions{margin-top:18px}.loop-flow{grid-template-columns:repeat(2,1fr)}.subject-loop-actions{flex-wrap:wrap}.subject-loop-actions .primary,.subject-loop-actions .secondary{flex:1}.measurement-grid{grid-template-columns:1fr}}.learning-tree{gap:16px;display:grid}.learning-tree-intro h2{margin:9px 0 4px;font-size:28px}.curriculum-topic{padding:22px}.curriculum-topic-head{justify-content:space-between;align-items:flex-start;gap:18px;display:flex}.curriculum-topic-head h2{margin:5px 0;font-size:22px}.subtopic-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:20px;display:grid}.subtopic-card{border:1px solid #e5e7eb;border-radius:13px;padding:16px}.subtopic-card h3{margin:0 0 5px;font-size:16px}.subtopic-card>p{margin:0 0 14px;font-size:13px}.concept-list{gap:8px;display:grid}.concept-item{border-top:1px solid #eee;padding-top:10px}.concept-item strong{font-size:13px;display:block}.concept-item small{color:#6b7280;margin-top:3px;font-size:12px;display:block}.skill-list{flex-wrap:wrap;gap:6px;margin-top:9px;display:flex}.skill-list .pill{font-size:10px}@media (width<=760px){.curriculum-topic-head{display:block}.curriculum-topic-head .secondary{margin-top:14px}.subtopic-grid{grid-template-columns:1fr}}.content-list{gap:16px;display:grid}.content-card{justify-content:space-between;align-items:center;gap:24px;display:flex}.lesson-reader{max-width:860px}.lesson-body{gap:24px;margin-top:28px;display:grid}.lesson-body h2{margin-bottom:8px}.lesson-body p{white-space:pre-wrap;line-height:1.8}@media (width<=700px){.content-card{flex-direction:column;align-items:flex-start}}.content-authoring-panel{margin-top:4px}.content-form-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0;display:grid}.content-form-grid label,.content-authoring-panel>label{flex-direction:column;gap:6px;font-size:13px;font-weight:700;display:flex}.content-authoring-panel input,.content-authoring-panel select,.content-authoring-panel textarea{font:inherit;background:#fff;border:1px solid #d1d5db;border-radius:9px;padding:10px 12px;font-weight:400}.content-editor-row{grid-template-columns:1.2fr .8fr;gap:16px;margin-top:14px;display:grid}.content-editor{flex-direction:column;gap:6px;font-size:13px;font-weight:700;display:flex}.content-editor textarea{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;line-height:1.5}.content-preview{border:1px solid #e5e7eb;border-radius:14px;min-height:280px;padding:16px}.content-preview .section-heading{margin-bottom:12px}.content-preview h3{margin:0}.lesson-preview{gap:16px;display:grid}.lesson-preview h4{margin:0 0 5px;font-size:16px}.lesson-preview p{white-space:pre-wrap;margin:0;line-height:1.7}.content-form-actions{align-items:center;gap:14px;margin-top:16px;display:flex}.content-filters{align-items:center;gap:8px;display:flex}.content-filters select{background:#fff;border:1px solid #d1d5db;border-radius:9px;padding:8px 10px}.content-actions{align-items:center;gap:7px;display:flex}.content-actions .secondary{padding:7px 10px}@media (width<=1000px){.content-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.content-editor-row{grid-template-columns:1fr}.content-filters{flex-wrap:wrap}}@media (width<=700px){.content-form-grid{grid-template-columns:1fr}.content-form-actions{display:block}.content-form-actions .primary{margin-bottom:10px}.content-filters{margin-top:14px}.content-actions{flex-direction:column;align-items:flex-start}}.quality-panel{border-left:4px solid #111827}.quality-summary{gap:8px;display:grid}.quality-row{border-bottom:1px solid #eee;grid-template-columns:minmax(220px,.4fr) 1fr;gap:12px;padding:9px 0;display:grid}.quality-row strong{font-size:12px}.quality-row span{font-size:13px}.quality-ready .badge{color:#166534}.quality-blocked .badge{color:#b91c1c}@media (width<=700px){.quality-row{grid-template-columns:1fr}}.lesson-status-row{border-bottom:1px solid #e5e7eb;justify-content:space-between;align-items:center;gap:16px;padding-bottom:18px;display:flex}.lesson-duration{color:#6b7280;margin-left:8px;font-size:12px}.progress-badge{color:#6b7280;white-space:nowrap;background:#f3f4f6;border-radius:999px;align-items:center;padding:5px 9px;font-size:11px;font-weight:800;display:inline-flex}.lesson-actions{border-top:1px solid #e5e7eb;align-items:center;gap:14px;margin-top:30px;padding-top:20px;display:flex}.lesson-actions button:disabled{opacity:.65;cursor:wait}.lesson-complete-note{color:#6b7280;font-size:13px}.content-card-top{align-items:center;gap:8px;display:flex}.content-card h2{margin-top:10px}.lesson-reader .lesson-body{margin-top:24px}@media (width<=700px){.lesson-status-row,.lesson-actions{flex-direction:column;align-items:flex-start}.lesson-actions button{width:100%}}.lesson-practice-panel{background:#fafafa;border:1px solid #e5e7eb;border-radius:14px;justify-content:space-between;align-items:center;gap:20px;margin-top:18px;padding:18px;display:flex}.lesson-practice-panel h2{margin:5px 0}.lesson-practice-panel p{max-width:620px;margin:0}.lesson-practice-metric{text-align:right;min-width:130px}.lesson-practice-metric b,.lesson-practice-metric span{display:block}.lesson-practice-metric b{font-size:26px}.lesson-practice-metric span{color:#6b7280;font-size:12px}@media (width<=700px){.lesson-practice-panel{display:block}.lesson-practice-metric{text-align:left;margin-top:14px}}.learning-evidence-grid{grid-template-columns:repeat(2,1fr);gap:14px;margin-top:20px;display:grid}.learning-evidence-card{background:#fff;border:1px solid #e5e7eb;border-radius:14px;padding:18px}.learning-evidence-card h3{margin:8px 0 0;font-size:17px}.evidence-chips{flex-wrap:wrap;gap:7px;margin-top:16px;display:flex}.evidence-chips span{border-radius:999px;padding:5px 8px;font-size:11px;font-weight:800}.evidence-on{color:#166534;background:#ecfdf5}.evidence-off{color:#6b7280;background:#f3f4f6}.evidence-warn{color:#991b1b;background:#fef2f2}.evidence-ready{color:#3730a3;background:#eef2ff}@media (width<=760px){.learning-evidence-grid{grid-template-columns:1fr}}.personalized-path-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.personalized-path-card{border:1px solid var(--border,#ddd);background:var(--surface,#fff);border-radius:16px;padding:18px}.path-step{letter-spacing:.06em;font-size:.75rem;font-weight:700}.personalized-path-card .subject-loop-actions{margin-top:14px}@media (width<=800px){.personalized-path-grid{grid-template-columns:1fr}}.hero-actions{align-items:center;gap:10px;display:flex}.journey-head{align-items:flex-end}.journey-flow{margin-bottom:18px}.journey-flow h2{margin:6px 0}.journey-flow p{max-width:780px;margin:0}.journey-flow-steps{grid-template-columns:repeat(6,1fr);gap:8px;margin-top:20px;display:grid}.journey-flow-step{text-align:center;border:1px solid #e5e7eb;border-radius:12px;padding:12px}.journey-flow-step span{color:#fff;background:#111827;border-radius:50%;place-items:center;width:25px;height:25px;margin:0 auto 7px;font-size:11px;font-weight:800;display:grid}.journey-flow-step b{font-size:12px}.journey-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.journey-card{padding:20px}.journey-card-head{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.journey-card-head h2{margin:6px 0 0}.journey-action{color:#3730a3;white-space:nowrap;background:#eef2ff;border-radius:999px;padding:6px 9px;font-size:11px;font-weight:800}.journey-state-grid{grid-template-columns:repeat(3,1fr);gap:8px;margin:18px 0;display:grid}.journey-state-grid>div{border:1px solid #e5e7eb;border-radius:10px;padding:11px}.journey-state-grid span,.journey-state-grid b{display:block}.journey-state-grid span{color:#6b7280;font-size:11px}.journey-state-grid b{margin-top:3px;font-size:14px}.journey-recommendation{background:#fafafa;border-radius:12px;padding:14px}.journey-recommendation h3{margin:6px 0 3px}.journey-recommendation p{margin:0;font-size:13px}.journey-actions{gap:8px;margin-top:16px;display:flex}.journey-actions .primary,.journey-actions .secondary{text-align:center;flex:1}@media (width<=900px){.journey-grid{grid-template-columns:1fr}.journey-flow-steps{grid-template-columns:repeat(3,1fr)}}@media (width<=700px){.hero-actions{flex-wrap:wrap}.journey-head{align-items:flex-start}.journey-state-grid{grid-template-columns:1fr}.journey-actions{flex-wrap:wrap}.journey-actions .primary,.journey-actions .secondary{flex:auto}.journey-flow-steps{grid-template-columns:repeat(2,1fr)}}:root{--surface:#fff;--border:#dce8f5;--muted:#586783;--text:#29354d;--blue:#1465e8;--purple:#7043df;--green:#008362;color:var(--text);background:#f5f8ff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif}body{background:radial-gradient(at 0 0,#ebe6ff80,#0000 45%),radial-gradient(at 100% 10%,#dcfff480,#0000 45%),#f7faff}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button:disabled{opacity:.6;cursor:not-allowed}button{min-height:44px}button,a{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline-offset:4px;outline:3px solid #7043df}input,select,textarea{max-width:100%}.muted{color:var(--muted)}.topbar{border-bottom:1px solid var(--border);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);background:#fffe;gap:34px;height:80px;padding:0 max(24px,50vw - 620px)}.brand-lockup{white-space:nowrap;align-items:center;gap:8px;display:inline-flex}.brand-mark{mix-blend-mode:multiply;width:56px;height:34px;display:block;position:relative;overflow:hidden}.brand-mark img{width:96px;max-width:none;height:auto;position:absolute;top:-4px;left:-21px}.brand-word{letter-spacing:-1px;color:#2554de;font-size:25px;font-weight:850}.brand-word span{color:#008b64;font-weight:850}.topbar nav{gap:6px}.topbar nav a{color:#52627d;border:0;border-radius:12px;height:auto;padding:10px 15px;font-size:14px}.topbar nav a.active,.topbar nav a[aria-current=page]{color:#1758ce;background:#eaf2ff}.user-menu{gap:10px}.user-menu button{color:#475877;border-radius:10px;padding:8px}.avatar{color:#4d38a2;background:linear-gradient(140deg,#e8dfff,#c5f5ee);border-radius:50%;place-items:center;width:36px;height:36px;font-weight:800;display:grid}.user-name{text-overflow:ellipsis;white-space:nowrap;max-width:120px;overflow:hidden}.main{max-width:1240px;padding:36px 24px 80px}.main:focus{outline:none}.mobile-nav{display:none}.skip-link{z-index:100;color:var(--blue);border:2px solid var(--blue);background:#fff;padding:12px;position:fixed;top:8px;left:8px;transform:translateY(-150%)}.skip-link:focus{transform:translateY(0)}.hero h1,.page-head h1,.narrow h1{letter-spacing:-1.5px;color:var(--text);line-height:1.15}.eyebrow{color:#566982;font-size:11px}.primary{color:#fff;background:linear-gradient(110deg,#6240ef,#0879ee);border-radius:12px;gap:12px;min-height:44px;box-shadow:0 5px 14px #326ce51c}.primary:hover{filter:brightness(1.08)}.secondary{color:#2853ad;background:#ffffffd9;border-color:#d4e2f3;border-radius:12px;min-height:44px}.secondary:hover{background:#eef5ff}.danger-btn{background:#ad4d22;border-radius:12px}.primary,.secondary,.danger-btn{transition:filter .15s,background .15s}.hero p,.page-head p,.subject-card p,.test-card p{color:var(--muted)}.learning-hero{isolation:isolate;background:linear-gradient(120deg,#f2f5ff,#ebfaff 70%,#e7fff6);border:1px solid #e1ebfc;border-radius:28px;grid-template-columns:1fr 1fr;align-items:center;padding:38px;display:grid;position:relative;overflow:hidden;box-shadow:0 8px 28px #6688c90c}.learning-hero:after{content:"";z-index:-1;border:2px solid #ffffffb0;border-radius:50%;width:900px;height:170px;position:absolute;bottom:-110px;right:-180px;transform:rotate(-12deg)}.learning-hero h1{letter-spacing:-2px;margin:10px 0 16px;font-size:clamp(32px,4vw,50px)}.learning-hero h1>span{color:#315ee3;-webkit-text-fill-color:transparent;background:linear-gradient(90deg,#7640df,#1478e7,#008a77);-webkit-background-clip:text;background-clip:text}.greeting{font-size:14px;margin-top:12px!important}.hero-actions{flex-wrap:wrap;margin-top:24px}.journey-ribbon{grid-template-columns:repeat(3,1fr);gap:12px;padding:20px 0;display:grid;position:relative}.ribbon-track{opacity:.45;z-index:-1;border-top:12px solid #6ad9dc;border-bottom:8px solid #c7b1fb;border-radius:50%;height:58px;position:absolute;top:58px;left:12%;right:12%;transform:rotate(-9deg)}.ribbon-step{text-align:center;border-radius:18px;flex-direction:column;align-items:center;gap:6px;padding:10px 4px;display:flex}.ribbon-icon{color:#7442d8;background:linear-gradient(140deg,#fff,#efe7ff);border:2px solid #c5a9fc;border-radius:50%;place-items:center;width:78px;height:78px;font-size:34px;display:grid;box-shadow:0 6px 14px #8263d115}.ribbon-step:nth-last-child(2) .ribbon-icon{color:#1672d9;background:linear-gradient(140deg,#fff,#e4f5ff);border-color:#9cd6ff}.ribbon-step:last-child .ribbon-icon{color:#00855e;background:linear-gradient(140deg,#fff,#dffff1);border-color:#9deace}.ribbon-step strong{font-size:16px}.ribbon-step small{max-width:120px;color:var(--muted);font-size:12px}.section-head{align-items:center;margin:32px 0 18px}.grade-control{align-items:center;gap:10px;font-size:13px;font-weight:700;display:flex}.subject-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.subject-card{background:linear-gradient(135deg,#edf5ff,#e4f2ff);border:1px solid #ddeafa;flex-direction:column;align-items:stretch;gap:14px;min-width:0;padding:20px;display:flex;box-shadow:0 4px 14px #5782bb08}.subject-card-heading{align-items:center;gap:10px;display:flex}.subject-card h3{overflow-wrap:anywhere;font-size:17px}.subject-card p{flex:1;margin:0;line-height:1.6}.subject-icon{color:#fff;background:linear-gradient(135deg,#238fff,#2558e7);flex-shrink:0;width:42px;height:42px;font-size:22px}.subject-green{background:linear-gradient(135deg,#ebfff8,#def8f1)}.subject-green .subject-icon{background:linear-gradient(135deg,#0bbf9b,#008b69)}.subject-purple{background:linear-gradient(135deg,#f5eeff,#ece6ff)}.subject-purple .subject-icon{background:linear-gradient(135deg,#a448f1,#7442df);font-size:19px}.subject-amber{background:linear-gradient(135deg,#fffaed,#fff3d5)}.subject-amber .subject-icon{background:linear-gradient(135deg,#edb71c,#c98200)}.subject-card-link{color:#3c5380;background:#ffffffa8;border-radius:10px;justify-content:space-between;align-items:center;padding:9px 10px;font-size:12px;font-weight:650;display:flex}.subject-card:hover{border-color:#a4bdec;transform:translateY(-3px);box-shadow:0 8px 18px #648dc91a}.subject-skeleton{background:linear-gradient(110deg,#eaf0fa,#f9fcff,#eaf0fa) 0 0/200% 100%;border-radius:18px;min-height:180px;animation:1.8s infinite shimmer}@keyframes shimmer{to{background-position:-200% 0}}.panel,.empty-panel,.instruction,.test-card,.learning-panel,.question-card,.palette,.result-score,.result-learning-panel,.result-next-panel,.stat-card,.curriculum-topic{border-color:var(--border);border-radius:20px;box-shadow:0 4px 16px #7993be08}.dashboard-bottom{grid-template-columns:1fr 1.15fr;gap:20px;margin-top:24px;display:grid}.dashboard-bottom .learning-panel{background:linear-gradient(150deg,#f1eaff55,#e4fff577),#fff;flex-direction:column;justify-content:space-between;align-items:flex-start;margin:0;display:flex}.learning-panel h2{font-size:23px}.dashboard-progress{padding:24px}.dashboard-progress .panel-head{flex-wrap:wrap;align-items:flex-start;gap:12px}.dashboard-progress h2{font-size:23px}.text-link{color:#285bd6;font-size:12px;font-weight:700}.stats{gap:10px}.dashboard-progress .stats{grid-template-columns:repeat(2,1fr);margin:18px 0}.stats>div{border-color:var(--border);background:#f7faff;border-radius:14px;padding:16px}.stats b{color:#4b47c6;font-size:27px}.stats span,.metric-row span,.topic-meta{color:var(--muted)}.panel-head a{color:#285bd6}.pill,.badge{color:#5262a6;background:#edf1ff}.topic-bar span,.progress span{background:linear-gradient(90deg,#9653ec,#167ee8,#0aba9a)}.progress{height:6px}.loop-step span,.journey-flow-step span{background:linear-gradient(135deg,#9450eb,#1684e9)}.loop-target,.journey-recommendation{background:#f0f7ff}.progress-badge.completed{color:#007456;background:#e5fbf2}.error{color:#99431f;background:#fff0e9}.timer.danger{color:#b34d18}.quality-blocked{border-left-color:#bb632c}.quality-ready{border-left-color:#008b66}.quality-panel:not(.quality-ready):not(.quality-blocked){border-left-color:#7b50e2}.question-layout{grid-template-columns:220px minmax(0,1fr)}.question-card h1{font-size:clamp(20px,2vw,26px)}.options button{border-color:var(--border);align-items:center;min-height:58px}.options button>span{color:#315dcc;background:#edf2ff;border-radius:50%;flex-shrink:0;place-items:center;width:32px;height:32px;display:grid}.options button.selected{background:#eafff5;border-color:#199c85;box-shadow:0 0 0 1px #199c85}.palette button.current{background:#266cec;border-color:#266cec}.palette button{min-height:38px}.test-actions{flex-wrap:wrap}.test-card,.content-card{min-width:0}.auth-page{background:radial-gradient(at 15% 20%,#e8dbff,#0000 55%),radial-gradient(at 90% 80%,#d4fcee,#0000 55%),#f6faff}.auth-card{border-color:var(--border);border-radius:24px;box-shadow:0 16px 50px #526caf12}.auth-card input:focus{border-color:#7752df}.auth-footer a{color:#315dcc}.filters,.subject-head-actions,.performance-head-actions{flex-wrap:wrap}.table-wrap{max-width:100%}.result-actions{flex-wrap:wrap}@media (width>=761px) and (width<=1050px){.topbar{gap:15px;padding:0 20px}.topbar nav a{padding:10px}.user-name{display:none}.subject-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.learning-hero{gap:15px;padding:26px}.ribbon-icon{width:64px;height:64px}.dashboard-bottom{grid-template-columns:1fr}}@media (width<=760px){.topbar{gap:10px;height:70px;padding:0 16px}.topbar nav{display:none}.brand-word{font-size:22px}.brand-mark{width:50px}.user-name{display:none}.user-menu{gap:3px}.user-menu button{font-size:12px}.avatar{width:30px;height:30px}.main{padding:22px 16px calc(100px + env(safe-area-inset-bottom))}.learning-hero{border-radius:22px;grid-template-columns:1fr;padding:25px 20px}.learning-hero h1{letter-spacing:-1.4px;font-size:36px}.hero-actions{gap:8px}.hero-actions .primary,.hero-actions .secondary{margin-top:0}.journey-ribbon{margin-top:20px;padding:0}.ribbon-icon{width:60px;height:60px;font-size:26px}.ribbon-track{height:35px;top:38px}.ribbon-step small{font-size:11px}.section-head{align-items:center;gap:12px;display:flex}.section-head h2{font-size:23px}.grade-control{gap:6px}.grade-control select{max-width:125px}.subject-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.subject-card{gap:10px;padding:15px}.subject-card-heading{flex-direction:column;align-items:flex-start;gap:8px}.subject-card h3{font-size:16px}.subject-card p{font-size:12px}.subject-card-link{gap:4px;padding:8px;font-size:11px}.dashboard-bottom{grid-template-columns:1fr;gap:16px}.dashboard-bottom .learning-panel{padding:22px;display:flex}.dashboard-progress{padding:22px}.dashboard-progress .stats{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-nav{padding:8px 8px calc(8px + env(safe-area-inset-bottom));border-top:1px solid var(--border);z-index:20;background:#fffffffa;grid-template-columns:repeat(5,1fr);display:grid;position:fixed;bottom:0;left:0;right:0;box-shadow:0 -4px 18px #567eb00b}.mobile-nav a{color:#576788;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-height:48px;font-size:10px;display:flex}.mobile-nav a>span{font-size:22px;line-height:1.1}.mobile-nav a.active{color:#1559cf;background:#eaf2ff;font-weight:800}.question-layout{grid-template-columns:1fr}.test-player{padding:0}.test-header{gap:14px}.timer{white-space:nowrap;font-size:18px}.question-card{padding:20px}.question-top{gap:10px}.palette{order:2}.test-actions>button{flex:1}.content-card{align-items:flex-start}.result-verification-panel .result-learning-metrics{gap:10px}.panel-head{flex-wrap:wrap;gap:10px}}@media (width<=360px){.brand-word{font-size:19px}.brand-mark{width:44px}.avatar{display:none}.subject-grid{grid-template-columns:1fr}.learning-hero h1{font-size:31px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}.mobile-admin{display:none}@media (width<=760px){.mobile-admin{color:#2853ad;align-items:center;min-height:44px;padding:5px;font-size:12px;display:inline-flex}}.brand-lockup{white-space:nowrap;align-items:center;line-height:0;display:inline-flex}.brand-logo{object-fit:contain;width:190px;max-width:100%;height:auto;display:block}.topbar .brand-logo{width:190px}.auth-card .brand-logo{width:200px}@media (width<=760px){.topbar .brand-logo{width:160px}.auth-card .brand-logo{width:180px}}@media (width<=360px){.topbar .brand-logo{width:145px}.auth-card .brand-logo{width:165px}}
