:root{--ink:#243b44;--muted:#65777d;--paper:#fff;--bg:#f5f4ef;--line:#dfe5e4;--green:#246c57;--gold:#f2ca78;--coral:#e8a18c;--blue:#a9cddc;--radius:18px;font-family:"Yu Gothic",Meiryo,system-ui,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}body{margin:0;line-height:1.75;font-size:15px}a{color:inherit;text-decoration:none}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.6}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #c97442;outline-offset:4px}h1,h2,h3,h4,p{margin:0}h1,h2,h3,h4{line-height:1.5}button{color:inherit}img{max-width:100%;object-fit:contain}input,select{min-width:0}input{display:block;width:100%;border:1px solid #b9c9ce;border-radius:10px;padding:12px 14px;background:#fff;color:var(--ink)}label{display:block;font-size:13px;font-weight:700;margin:14px 0 8px}code{background:#edf2f2;border-radius:5px;padding:3px 6px;font-family:ui-monospace,monospace;overflow-wrap:anywhere}.small{font-size:12px;line-height:1.8}.muted{color:var(--muted)}.eyebrow{font-size:10px;letter-spacing:.14em;font-weight:800;color:var(--muted);line-height:1.7}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip{position:fixed;top:-60px;left:10px;background:white;padding:10px;z-index:100}.skip:focus{top:8px}
.layout{display:grid;grid-template-columns:238px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;background:var(--ink);color:#fff;padding:36px 24px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:800;line-height:1.5;white-space:nowrap}.brand-mark{width:38px;height:38px;border:1px solid #829292;border-radius:11px;display:grid;place-items:center;font-size:32px;line-height:1;color:var(--gold);flex-shrink:0}.brand small{display:block;font-size:11px;font-weight:400;letter-spacing:.08em;color:#c7d7d8;margin-top:2px}.sidebar-caption{font-size:10px;color:#adc1c4;margin-top:24px;margin-bottom:26px}.sidebar nav{display:flex;flex-direction:column;gap:9px}.sidebar nav a{padding:12px 10px;display:flex;align-items:center;gap:12px;border-radius:9px;font-size:12px;color:#d3dfe0;transition:background .18s}.sidebar nav a:hover{background:#354c55}.sidebar nav a.active{background:#f5f4ef;color:var(--ink);font-weight:700}.nav-icon{display:inline-grid;place-items:center;width:20px;font-size:18px}.sidebar-bottom{margin-top:auto;font-size:11px;padding-top:32px;color:#f5f1e8}.sidebar-bottom p{font-size:10px;line-height:1.9;color:#adc1c4;margin-top:12px}.live-dot{display:inline-block;width:6px;height:6px;background:#c5d9af;border-radius:50%;margin-right:8px}.edition{display:block;margin-top:25px;font-size:9px;letter-spacing:.16em;color:#91aaaf}.workspace{min-width:0}.topbar{height:74px;display:flex;align-items:center;justify-content:space-between;padding:0 48px;border-bottom:1px solid var(--line)}.topbar .eyebrow{letter-spacing:.05em;font-size:11px}.trial-label{border:1px solid #bec9c9;padding:3px 10px;border-radius:30px;font-size:10px;white-space:nowrap}.footer{font-size:10px;color:var(--muted);padding:22px 48px;border-top:1px solid var(--line);line-height:1.9}main{padding:46px 48px 56px;max-width:1450px;margin:auto;min-height:calc(100vh - 150px)}main:focus{outline:none}.loading{padding:50px}.page-heading{margin-bottom:28px}.page-heading .eyebrow{margin-bottom:9px}.page-heading h1{font-size:30px;letter-spacing:.01em}.lead{color:var(--muted);margin-top:12px;font-size:13px}.button{display:inline-flex;align-items:center;justify-content:center;gap:20px;border-radius:9px;padding:13px 20px;font-size:13px;font-weight:700;border:1px solid transparent;min-height:48px;line-height:1.5;transition:transform .15s,background .15s}.button:hover{transform:translateY(-1px)}.primary{background:var(--ink);color:white}.primary:hover{background:#35535d}.secondary{background:transparent;border-color:#bcc9c9;color:var(--ink)}.secondary:hover{background:#e9eeeb}.danger{background:#9f493c;color:white}.full{width:100%}.text-button{border:0;background:transparent;padding:8px 4px;color:var(--ink);font-size:12px;text-decoration:underline;text-underline-offset:4px}.text-link{font-size:12px;font-weight:700;text-decoration:underline;text-underline-offset:5px}.small-button{font-size:11px;padding:9px 13px;min-height:42px}.intro-actions{display:flex;flex-wrap:wrap;gap:12px;margin:26px 0 18px}
.intro-grid{display:grid;grid-template-columns:1.04fr 1fr;gap:24px;align-items:center;padding:12px 0 44px}.intro-copy .eyebrow{font-size:9px;margin-bottom:20px}.intro-copy h1{font-size:clamp(38px,4.2vw,66px);font-weight:800;letter-spacing:.01em;line-height:1.35}.intro-text{font-size:14px;line-height:2.1;color:#52686f;margin-top:22px}.number-scene{height:360px;position:relative;border-radius:30px;background-color:#e8ece6;background-image:radial-gradient(#b9c9c555 1px,transparent 1px);background-size:14px 14px;overflow:hidden;isolation:isolate}.scene-caption{position:absolute;top:25px;left:25px;font-size:11px;letter-spacing:.12em;color:#657973}.number-tile{position:absolute;width:32%;height:200px;display:flex;align-items:center;justify-content:center;flex-direction:column;box-shadow:0 13px 24px #263c4420;border:1px solid #ffffff88;border-radius:22px;top:77px}.number-tile span{font-size:105px;line-height:1.1;font-weight:800;letter-spacing:-.06em}.number-tile small{font-size:10px;letter-spacing:.1em;font-weight:700}.tile-one{left:9%;transform:rotate(-10deg);background:var(--gold);z-index:1}.tile-two{left:35%;transform:rotate(4deg);background:var(--blue);z-index:2;top:66px}.tile-three{left:60%;transform:rotate(13deg);background:var(--coral);z-index:3;top:95px}.scene-footnote{position:absolute;bottom:23px;left:24px;font-size:10px;letter-spacing:.07em}.section-head{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.section-head h2,.panel h2{font-size:17px}.section-head .eyebrow{margin-bottom:3px}.steps-section{padding:26px 0}.steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px}.steps article{padding:22px 0;border-top:1px solid #bbc7c9}.step-number{font-size:11px;color:#7e8b8e;letter-spacing:.14em}.steps h3{font-size:16px;margin:13px 0 9px}.steps p{font-size:12px;color:var(--muted);line-height:1.9}.info-note{display:flex;gap:14px;background:#eaf0eb;padding:20px 22px;border-radius:12px;font-size:12px;color:#526860}.info-note a{display:block;font-weight:700;text-decoration:underline;text-underline-offset:3px;margin-top:5px}.info-symbol{flex-shrink:0;border:1px solid #91aaa0;border-radius:50%;width:21px;height:21px;text-align:center;font-family:Georgia,serif;font-size:15px}
.identity-strip{display:flex;align-items:center;gap:11px;border-bottom:1px solid var(--line);padding-bottom:19px;margin-bottom:29px}.identity-strip strong{font-size:13px;display:block}.identity-strip small{font-size:10px;display:block;color:var(--muted)}.identity-strip .text-button{margin-left:auto}.avatar{width:38px;height:38px;border-radius:50%;display:inline-grid;place-items:center;background:#e7c878;font-size:15px;font-weight:700;flex-shrink:0}.avatar-2{background:#b8d6e1}.avatar-3{background:#ebbaaa}.avatar.large{width:66px;height:66px;font-size:25px}.teacher-avatar{background:var(--ink);color:white;font-size:13px}.local-badge{font-size:9px;color:#647d74;background:#e3ece5;border-radius:20px;padding:3px 8px;margin-left:8px}.practice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-bottom:30px}.practice-card{background:white;border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);padding:23px}.practice-top{display:flex;align-items:center;justify-content:space-between;gap:7px}.big-dan{display:flex;align-items:baseline;font-size:58px;line-height:1;font-weight:800;letter-spacing:-.05em}.big-dan small{font-size:14px;margin-left:7px;letter-spacing:0}.practice-graphic{letter-spacing:-.15em;font-size:13px;width:52px;height:52px;border-radius:50%;display:grid;place-items:center;white-space:nowrap}.dan-1 .practice-graphic{background:#f9edca;color:#b98921}.dan-2 .practice-graphic{background:#e1f0f5;color:#48798d}.dan-3 .practice-graphic{background:#f9e7de;color:#b76e52}.practice-card>p{font-size:11px;color:var(--muted);margin:18px 0}.mode-buttons{display:flex;flex-direction:column;gap:7px}.mode-buttons button{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;border:1px solid var(--line);background:white;border-radius:8px;font-size:12px;font-weight:700;min-height:43px}.mode-buttons button:hover{background:#f3f5f2;border-color:#9fafaf}.mode-buttons span{font-size:16px;font-weight:400}.dashboard-grid{display:grid;grid-template-columns:1.65fr 1fr;gap:22px}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:25px;margin-bottom:22px;min-width:0}.panel>.small{margin-top:17px}.count-tag{font-size:11px;font-weight:700;border:1px solid var(--line);border-radius:20px;padding:5px 10px;white-space:nowrap}.achievement-row{display:flex;gap:8px;align-items:center;padding:12px 0;border-top:1px solid var(--line)}.dan-label{font-size:11px;white-space:nowrap;min-width:55px}.dan-label span{font-size:26px;font-weight:800;margin-right:3px}.achievement-checks{display:flex;flex-wrap:wrap;gap:5px;align-items:center;flex:1}.check-pill{font-size:10px;padding:4px 7px;background:#f1f3f1;border:1px solid #e0e6e1;border-radius:6px;color:#8c9793;white-space:nowrap}.check-pill.passed{color:#2a6d54;background:#e3f0e4;border-color:#cce0cf}.medal-slot{width:60px;height:60px;display:grid;place-items:center;flex-shrink:0}.medal{display:block;width:100px;height:100px}.medal-slot .medal{width:60px;height:60px}.locked-medal{height:43px;width:43px;display:grid;place-items:center;border:2px dashed #d5ddda;border-radius:50%;color:#aeb9b3;font-size:18px}.activity-count{font-size:68px;line-height:1.3;font-weight:800;margin-top:25px}.activity-count small{font-size:14px;margin-left:10px}.activity-panel .text-link{display:inline-block;margin-top:22px}.teacher-callout{background:#f4f4ee;padding:16px;border-radius:10px;margin-top:26px;font-size:11px}.teacher-callout span{display:block;color:var(--muted)}.teacher-callout a{font-size:12px;font-weight:700;display:block;margin-top:8px}.complete-note{font-size:12px;background:#fff3cb;padding:14px 15px;margin-top:15px;border-radius:10px;color:#755516}.profile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.profile-card{border:1px solid var(--line);border-radius:18px;background:#fff;display:flex;align-items:center;flex-direction:column;padding:32px 20px;text-align:center}.profile-card:hover{border-color:#8ea4ab}.profile-card strong{font-size:18px;margin:20px 0 8px}.profile-card>span:not(.avatar):not(.button-like){font-size:11px;color:var(--muted)}.button-like{margin-top:24px;font-size:12px;font-weight:700}
.login-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:60px;align-items:center;padding:35px 0}.login-grid .page-heading h1{font-size:36px}.login-points{margin-top:35px}.login-points p{font-size:13px;margin:15px 0}.login-points span{display:inline-block;margin-right:10px;color:var(--green)}.login-panel{padding:30px}.login-panel h2{margin-top:18px;font-size:20px}.login-panel form{margin:26px 0}.password-field{display:flex;align-items:center;gap:12px}.password-field input{flex:1}.password-hint{font-size:12px;margin:13px 0;color:#596f76}.form-error{font-size:12px;color:#a34231;min-height:20px;margin-bottom:12px;overflow-wrap:anywhere}.teacher-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line);background:#e9eee9;border-radius:14px;padding:22px 0;margin-bottom:30px}.teacher-summary>div{padding:0 26px;border-right:1px solid #cfdbd5}.teacher-summary>div:last-child{border:0}.teacher-summary span{display:block;font-size:10px;color:var(--muted)}.teacher-summary strong{font-size:30px;line-height:1.6;font-weight:800}.teacher-summary small{font-size:12px;font-weight:400;margin-left:8px}.tabs{display:flex;gap:24px;border-bottom:1px solid #c5d1d0;margin-bottom:24px}.tabs button{background:transparent;border:0;border-bottom:3px solid transparent;padding:13px 0;font-size:13px;color:var(--muted);white-space:nowrap}.tabs button.active{color:var(--ink);border-color:var(--ink);font-weight:800}.teacher-legend{display:flex;align-items:center;gap:7px;font-size:10px;color:var(--muted);flex-wrap:wrap;margin:0 0 18px}.dot{height:7px;width:7px;display:inline-block;border-radius:50%}.passed-dot{background:#26775d}.pending-dot{background:#bcc9c4;margin-left:9px}.legend-spacer{margin-left:auto}.teacher-student{padding:22px 0;border-top:1px solid var(--line)}.teacher-student-heading{display:flex;align-items:center;gap:12px;margin-bottom:16px}.teacher-student-heading h3{font-size:14px}.teacher-student-heading small{font-size:10px;color:var(--muted)}.teacher-student-heading .text-button{margin-left:auto;font-size:10px}.teacher-stage-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.teacher-stage{background:#f6f7f3;border:1px solid #e4e9e3;border-radius:12px;padding:12px}.teacher-stage h4{font-size:13px;margin-bottom:12px}.oral-buttons{display:flex;flex-direction:column;gap:8px}.oral-button{padding:10px 7px;border-radius:8px;border:1px solid #cfdad2;background:white;text-align:left;min-height:69px;transition:background .15s}.oral-button span{display:block;font-size:10px}.oral-button strong{font-size:11px;color:#587168}.oral-button.is-passed{background:#dceee0;border-color:#99bba3}.oral-button.is-passed strong{color:#276645}.auto-result{font-size:10px;color:#8a9690;margin-top:11px}.success-text{color:#267551}.table-wrap{overflow-x:auto}table{border-collapse:collapse;width:100%;font-size:12px;text-align:left}th{font-size:10px;font-weight:700;color:var(--muted);background:#f6f7f3;white-space:nowrap;padding:12px 10px}td{border-bottom:1px solid var(--line);padding:15px 10px;white-space:nowrap}.source-tag{font-size:10px;background:#e4eee8;padding:3px 6px;border-radius:4px;white-space:nowrap}.source-tag.sample{background:#f4eddf;color:#846d42}.select-label{display:flex;align-items:center;gap:10px;font-size:10px;margin:0}.select-label select{padding:7px;border:1px solid #c6d2cf;background:white;border-radius:7px;font-size:12px}.records-bottom{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-top:20px}.empty-state{text-align:center;padding:40px 20px}.empty-state>span{font-size:40px;color:#c1cfca}.empty-state h3{font-size:16px;margin:12px 0}.empty-state p{font-size:12px;color:var(--muted)}.settings-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:20px}.settings-grid .panel>p{margin:18px 0;font-size:12px}.settings-grid form{margin-top:20px}.settings-grid form>.small{margin:12px 0}.reset-options{display:flex;flex-direction:column;gap:12px;margin:26px 0}.guide-panel{max-width:900px}.guide-panel h2{font-size:18px;margin:32px 0 12px}.guide-panel h2:first-child{margin-top:0}.guide-panel p{font-size:13px;margin:12px 0;color:#51666e;line-height:2}
.quiz-wrap{max-width:670px;margin:auto}.quiz-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;margin-bottom:20px;color:var(--muted)}.quiz-toolbar .text-button{font-size:10px}.quiz-time{font-variant-numeric:tabular-nums;min-width:35px}.quiz-panel{max-width:470px;margin:auto;background:white;border:1px solid var(--line);border-radius:24px;padding:28px 42px;text-align:center}.quiz-progress{display:flex;gap:6px;justify-content:center}.quiz-progress span{height:5px;flex:1;max-width:35px;background:#e9eeeb;border-radius:10px}.quiz-progress .done{background:#899e98}.quiz-progress .current{background:#d7aa57}.question-count{font-size:12px;margin-top:22px}.question-count span{color:#9ca9a8;font-size:10px}.question{font-size:55px;display:flex;justify-content:center;align-items:center;gap:15px;line-height:1.3;margin:20px 0 24px;white-space:nowrap}.question>span{font-size:27px;font-weight:400;color:#96a8aa}.question .question-mark{font-size:52px;color:#b08b49;font-weight:700}.quiz-panel #answer{font-size:30px;text-align:center;font-weight:700;border:2px solid #a9bdb6;background:#f7faf7;padding:7px;line-height:1.3;border-radius:12px;letter-spacing:.05em}.quiz-panel #answer::placeholder{font-size:17px;font-weight:400;letter-spacing:0;color:#9ca9a0}.answer-error{color:#a44435;min-height:23px;font-size:11px}.keypad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:5px 0 16px}.keypad button{font-size:24px;font-weight:600;border:1px solid #dce4df;background:#f5f6f1;border-radius:9px;min-height:53px;padding:6px;touch-action:manipulation}.keypad button:hover{background:#e7eeea}.keypad button:nth-last-child(3),.keypad button:last-child{font-size:14px;font-weight:400;background:#fff}.quiz-note{margin-top:17px;font-size:10px}.result-wrap{max-width:800px;margin:auto}.result-hero{text-align:center;padding:30px 20px 36px}.result-hero h1{font-size:26px;margin:12px 0}.result-score{font-size:94px;font-weight:800;line-height:1.4;letter-spacing:-.04em}.result-score span{font-size:18px;font-weight:400;letter-spacing:0;margin-left:10px}.result-hero>p:not(.eyebrow){font-size:13px}.result-separator{color:#bdcbc8;margin:0 16px}.result-badge{display:inline-block;background:#dceee2;color:#256849;font-size:12px;font-weight:700;border-radius:22px;padding:5px 13px;margin-top:16px}.perfect-result{background:radial-gradient(ellipse at center,#f8ecc7,transparent 70%)}.earned-result{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:14px}.earned-result p{font-size:13px;font-weight:700}.earned-result .medal{width:75px;height:75px}.answers-table{text-align:center;table-layout:fixed}.answers-table th{font-size:11px}.answers-table td{font-size:17px}.judgement{font-size:25px!important;font-weight:700}.correct{color:#2d7a60}.incorrect{color:#b05a42}.incorrect-row{background:#fff7f0}.result-actions{display:flex;gap:12px;align-items:center;justify-content:center;flex-wrap:wrap}.result-actions .text-link{padding:12px}.toast{position:fixed;bottom:24px;left:calc(50% + 119px);transform:translate(-50%,20px);background:var(--ink);color:#fff;font-size:12px;line-height:1.8;border-radius:12px;box-shadow:0 4px 20px #102e4430;padding:14px 20px;max-width:min(620px,80vw);width:max-content;opacity:0;pointer-events:none;transition:transform .18s,opacity .18s;z-index:50}.toast.visible{opacity:1;transform:translate(-50%,0)}dialog{border:1px solid var(--line);border-radius:18px;padding:28px;max-width:470px;width:calc(100% - 40px);color:var(--ink)}dialog::backdrop{background:#182e3d80}dialog h2{font-size:20px;margin-bottom:12px}dialog p{font-size:13px;color:var(--muted)}.dialog-actions{display:flex;justify-content:flex-end;gap:12px;margin-top:26px}
@media(min-width:1600px){main{padding-top:64px}.intro-grid{gap:70px}.number-scene{height:390px}.number-tile{height:220px}.number-tile span{font-size:120px}}
@media(max-width:1150px){.layout{grid-template-columns:205px minmax(0,1fr)}.sidebar{padding:30px 18px}.brand{font-size:13px}.sidebar nav a{font-size:11px;gap:9px}.topbar{padding:0 30px}main{padding:32px 30px 44px}.footer{padding:20px 30px}.intro-grid{gap:22px}.intro-copy h1{font-size:45px}.intro-text{font-size:12px}.number-scene{height:320px}.number-tile{height:175px;top:70px}.tile-two{top:62px}.tile-three{top:90px}.number-tile span{font-size:85px}.intro-actions{gap:8px}.intro-actions .button{font-size:12px;padding:12px 14px;gap:10px}.practice-card{padding:18px}.practice-graphic{width:40px;height:40px;font-size:10px}.big-dan{font-size:48px}.big-dan small{font-size:12px}.dashboard-grid{grid-template-columns:1.4fr 1fr;gap:16px}.panel{padding:22px}.achievement-row{gap:4px}.medal-slot{width:47px;height:52px}.medal-slot .medal{width:47px;height:47px}.dan-label{min-width:45px}.check-pill{font-size:9px;padding:3px 5px}.login-grid{gap:28px}.login-grid .page-heading h1{font-size:30px}.teacher-stage{padding:10px}.teacher-stage-grid{gap:9px}.toast{left:calc(50% + 102px)}}
@media(max-width:900px){.layout{grid-template-columns:1fr}.sidebar{position:relative;height:auto;padding:18px 24px 0;display:block}.brand{font-size:14px}.brand-mark{width:32px;height:32px;font-size:27px}.brand small{display:inline-block;margin-left:8px;font-size:10px}.sidebar-caption,.sidebar-bottom{display:none}.sidebar nav{flex-direction:row;gap:18px;margin-top:17px;overflow-x:auto}.sidebar nav a{font-size:11px;padding:10px 0 12px;gap:6px;white-space:nowrap;border-radius:0;border-bottom:3px solid transparent}.sidebar nav a:hover{background:transparent}.sidebar nav a.active{background:transparent;color:#f2cf8c;border-bottom-color:#f2cf8c}.nav-icon{font-size:15px;width:16px}.topbar{height:48px;padding:0 25px}.topbar .eyebrow{font-size:9px}main{padding:28px 25px 40px}.footer{padding:18px 25px}.intro-grid{gap:30px}.intro-copy h1{font-size:48px}.number-scene{height:320px}.intro-text{font-size:13px}.dashboard-grid{grid-template-columns:1.6fr 1fr}.practice-card{padding:20px}.toast{left:50%;max-width:90vw}.login-grid{max-width:800px;margin:auto;padding:15px 0}.teacher-stage-grid{gap:15px}.teacher-stage{padding:15px}.settings-grid{gap:18px}}
@media(max-width:650px){body{font-size:14px}.sidebar{padding:15px 18px 0}.brand{font-size:13px}.brand small{margin-left:5px;font-size:9px}.sidebar nav{gap:20px;margin-top:15px}.sidebar nav a{font-size:10px;gap:5px}.sidebar nav a:last-child{font-size:0;gap:0}.sidebar nav a:last-child .nav-icon{font-size:14px;width:23px;height:23px;border:1px solid #b4c8ca;border-radius:50%}.topbar{padding:0 19px}.trial-label{font-size:9px;padding:1px 8px}main{padding:26px 18px 38px}.page-heading{margin-bottom:23px}.page-heading h1{font-size:25px}.lead{font-size:12px;line-height:1.9}.intro-grid{display:flex;flex-direction:column;padding:0 0 10px;gap:25px;align-items:stretch}.intro-copy h1{font-size:44px}.intro-copy .eyebrow{font-size:8px;margin-bottom:17px}.intro-text{font-size:13px;margin-top:17px}.intro-actions{margin-top:23px}.intro-actions .button{padding:13px 15px;font-size:12px;gap:12px;flex:1}.intro-copy>.small{font-size:10px}.number-scene{height:245px;border-radius:22px}.number-tile{height:145px;top:50px;width:28%;border-radius:16px}.tile-one{left:13%}.tile-two{left:37%;top:40px}.tile-three{left:61%;top:58px}.number-tile span{font-size:75px}.number-tile small{font-size:9px}.scene-caption{top:14px;left:18px;font-size:9px}.scene-footnote{bottom:15px;left:18px;font-size:9px}.steps-section{padding:26px 0 12px}.section-head{margin-bottom:15px;gap:10px}.section-head h2,.panel h2{font-size:16px}.steps{display:flex;flex-direction:column;gap:0}.steps article{display:grid;grid-template-columns:30px 1fr;gap:2px 15px;padding:20px 0}.step-number{grid-row:span 2;padding-top:2px}.steps h3{font-size:15px;margin:0}.steps p{font-size:12px;grid-column:2;margin-top:6px}.info-note{padding:16px;font-size:11px;gap:10px}.info-symbol{width:18px;height:18px;font-size:12px;line-height:1.5}.footer{padding:18px;font-size:9px}.identity-strip{gap:9px;padding-bottom:15px;margin-bottom:24px;flex-wrap:wrap}.identity-strip strong{font-size:12px}.identity-strip small{font-size:9px}.local-badge{font-size:8px;margin-left:0;padding:3px 6px}.identity-strip .text-button{font-size:10px}.avatar{width:33px;height:33px;font-size:13px}.practice-grid{display:flex;flex-direction:column;gap:13px;margin-bottom:22px}.practice-card{padding:20px;position:relative}.practice-top{justify-content:flex-start;gap:15px}.big-dan{font-size:43px}.big-dan small{font-size:13px}.practice-graphic{height:36px;width:36px;font-size:10px}.practice-card>p{position:absolute;top:24px;right:18px;font-size:9px;max-width:113px;line-height:1.9;margin:0}.mode-buttons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:18px}.mode-buttons button{font-size:11px;padding:10px;min-height:43px;gap:4px}.mode-buttons span{font-size:13px}.dashboard-grid{display:flex;flex-direction:column;gap:0}.panel{padding:20px;margin-bottom:18px}.achievement-row{padding:10px 0;gap:7px}.dan-label{min-width:48px}.check-pill{font-size:10px;padding:3px 6px}.medal-slot{width:52px;height:52px}.medal-slot .medal{width:52px;height:52px}.achievement-checks{gap:4px}.count-tag{font-size:10px}.panel>.small{font-size:11px}.activity-panel .activity-count{margin-top:15px;font-size:56px}.activity-panel .text-link{margin-top:13px}.teacher-callout{margin-top:22px}.profile-grid{display:flex;flex-direction:column;gap:13px}.profile-card{padding:22px;display:grid;grid-template-columns:55px 1fr;text-align:left;gap:0 18px}.profile-card .avatar{grid-row:span 3;width:55px;height:55px;font-size:22px}.profile-card strong{font-size:17px;margin:0}.profile-card>span:not(.avatar):not(.button-like){font-size:10px}.profile-card .button-like{font-size:11px;margin-top:9px}.login-grid{display:flex;flex-direction:column;gap:15px;align-items:stretch;padding:0}.login-grid .page-heading h1{font-size:29px}.login-points{margin-top:20px}.login-points p{font-size:12px;margin:9px 0}.login-panel{padding:24px}.login-panel .avatar.large{width:50px;height:50px;font-size:20px}.login-panel h2{margin-top:13px}.teacher-summary{padding:16px 0;margin-bottom:22px}.teacher-summary>div{padding:0 13px}.teacher-summary span{font-size:8px}.teacher-summary strong{font-size:24px}.teacher-summary small{font-size:10px;margin-left:4px}.tabs{gap:23px;margin-bottom:18px}.tabs button{font-size:11px;padding:12px 0}.teacher-legend{font-size:9px}.legend-spacer{width:100%;margin:3px 0 0}.teacher-student{padding:20px 0}.teacher-student-heading{gap:10px;flex-wrap:wrap}.teacher-student-heading .text-button{font-size:9px}.teacher-stage-grid{grid-template-columns:1fr;gap:10px}.teacher-stage{padding:13px 14px;display:grid;grid-template-columns:50px 1fr;column-gap:10px;align-items:center}.teacher-stage h4{margin:0;font-size:12px}.oral-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.oral-button{padding:8px 9px;min-height:65px}.oral-button span{font-size:9px}.oral-button strong{font-size:11px}.auto-result{grid-column:2;margin-top:7px;font-size:9px}.settings-grid{display:flex;flex-direction:column;gap:0}.settings-grid h2{font-size:16px}.records-bottom{flex-direction:column;align-items:flex-start}.section-head:has(.select-label){flex-wrap:wrap}.select-label{font-size:10px}.table-wrap table{font-size:10px}th,td{padding:11px 7px}.table-wrap td .small{font-size:9px}.guide-panel p{font-size:12px}.guide-panel h2{font-size:16px;line-height:1.8;margin-top:28px}.guide-panel .intro-actions{flex-direction:column}.quiz-toolbar{font-size:10px;gap:6px;margin-bottom:16px}.quiz-toolbar .text-button{font-size:9px;padding-left:0}.quiz-panel{padding:22px 23px;border-radius:19px}.question{font-size:48px;gap:13px;margin:17px 0 20px}.question .question-mark{font-size:44px}.question>span{font-size:25px}.question-count{margin-top:18px}.quiz-panel #answer{font-size:29px}.keypad{gap:7px;margin-bottom:13px}.keypad button{min-height:49px;font-size:22px}.quiz-note{font-size:9px;margin-top:13px}.result-hero{padding:15px 0 29px}.result-hero h1{font-size:23px}.result-score{font-size:81px}.result-hero>p:not(.eyebrow){font-size:12px}.result-actions .button{flex:1;font-size:11px;gap:5px;padding:13px 12px}.result-actions .text-link{width:100%;text-align:center}.answer-panel{padding:17px}.answer-panel .section-head{align-items:flex-start;flex-direction:column;gap:4px}.answers-table td{font-size:15px}.answers-table th{font-size:10px}.earned-result p{font-size:11px}.toast{font-size:11px;padding:12px 16px;bottom:15px}.dialog-actions{gap:9px}.dialog-actions .button{font-size:12px;padding:11px 15px}dialog{padding:23px}dialog h2{font-size:18px}}
@media(max-width:360px){main{padding-left:14px;padding-right:14px}.sidebar{padding-left:14px;padding-right:14px}.sidebar nav{gap:13px}.brand small{font-size:8px}.local-badge{display:none}.practice-card>p{font-size:8px;max-width:99px}.check-pill{font-size:9px;padding:3px 5px}.achievement-checks{gap:3px}.dan-label{min-width:42px}.medal-slot{width:42px}.panel{padding:17px}.teacher-stage{padding:11px;grid-template-columns:43px 1fr;column-gap:7px}.oral-button{padding:8px 6px}.tabs{gap:20px}.question{font-size:41px;gap:11px}.quiz-panel{padding:21px}.teacher-summary>div{padding:0 11px}.teacher-summary span{font-size:7px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
.sidebar{min-width:0}@media(max-width:900px){.layout{grid-template-columns:minmax(0,1fr)}}
.keep-words{display:inline-block}
