@font-face{font-family:Andika;src:url('/fonts/Andika-Regular.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
:root{font-family:Andika,Arial,sans-serif;color:#173257;background:#eef4fd;font-synthesis:none;--blue:#265bda;--muted:#526681}
*{box-sizing:border-box}body{margin:0;min-width:300px}button,input,a{-webkit-tap-highlight-color:transparent}button{font:inherit;cursor:pointer;touch-action:manipulation}button:disabled{cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #dd8a00;outline-offset:5px}main{max-width:1100px;margin:auto;padding:30px 38px 24px}header{display:flex;align-items:center;justify-content:space-between;margin-bottom:35px}.brand{display:flex;align-items:center;gap:13px;text-decoration:none;color:inherit;font-size:25px;line-height:1.35}.brand-mark{display:grid;place-items:center;width:52px;height:56px;background:var(--blue);color:white;border-radius:16px 16px 16px 5px;font-size:42px;padding-bottom:8px}.brand-sub{display:block;color:var(--muted);font-family:Arial,sans-serif;font-size:11px;letter-spacing:1.6px;margin-top:6px;font-weight:700}.grade{font-size:15px;color:var(--muted)}fieldset{padding:0;border:0;margin:0 0 24px}legend{font-size:16px;margin-bottom:12px;padding:0;color:var(--muted)}.modes{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.modes label{position:relative;cursor:pointer}.modes input{position:absolute;opacity:0;width:1px;height:1px}.modes label>span{display:flex;gap:13px;align-items:center;justify-content:center;border:2px solid transparent;padding:13px 10px;background:#dfe9f9;border-radius:13px;color:#314c73;font-size:16px;min-height:67px;transition:background .15s,border-color .15s}.modes b{font-size:26px;font-weight:400;line-height:1}.modes input:checked+span{background:var(--blue);color:white;border-color:var(--blue);box-shadow:0 4px 0 #1743ac}.modes input:focus-visible+span{outline:3px solid #dd8a00;outline-offset:4px}.modes label:hover>span{border-color:var(--blue)}.practice{overflow:hidden;background:#fff;border:1px solid #d8e3f2;border-radius:23px;box-shadow:0 7px 0 #dee7f4}.card-meta{display:flex;justify-content:space-between;align-items:center;padding:23px 29px 0;color:var(--muted);font-family:Arial,sans-serif;font-size:13px;letter-spacing:1.6px;font-weight:700}#counter{letter-spacing:1px;background:#eef4fd;padding:7px 12px;border-radius:20px;font-size:14px}.practice-card{display:block;width:100%;padding:0 13px 20px;border:0;background:transparent;color:inherit;border-radius:16px}.practice-card:focus-visible{outline-offset:-6px}.practice-card:hover .tap-hint{color:var(--blue)}svg{display:block;width:100%;height:auto;max-height:430px;overflow:visible}#guides line{stroke:#98aec6;stroke-width:1.8}.dotted{stroke-dasharray:7 9}#guides .baseline{stroke:#607d9e;stroke-width:2.1}.margin-line{stroke:#f2bdc6;stroke-width:1.7}#practice-text{font-family:Andika,Arial,sans-serif;fill:#172e50}.tap-hint{display:block;text-align:center;color:var(--muted);font-size:15px}.tap-hint span{padding-left:9px}.progress{height:5px;background:#edf2fa}.progress span{display:block;height:100%;background:#f3b940;transition:width .2s ease}.actions{display:flex;justify-content:space-between;align-items:center;margin:24px 0 20px;gap:16px}.previous{border:0;color:var(--muted);background:transparent;padding:13px 4px;font-size:16px}.previous span{margin-right:8px}.previous:disabled{opacity:.35}.next{border:0;color:#fff;background:var(--blue);padding:15px 28px;border-radius:14px;min-height:58px;box-shadow:0 4px 0 #1743ac;font-size:19px}.next span{margin-left:28px}.next:hover{background:#1f4fc5}.next:active{transform:translateY(2px);box-shadow:0 2px 0 #1743ac}footer{display:flex;justify-content:space-between;gap:15px;color:var(--muted);font-size:14px}kbd{display:inline-block;font:inherit;font-size:13px;border:1px solid #c5d2e6;border-bottom-width:3px;border-radius:5px;padding:1px 7px;background:white}.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}
@media(min-height:850px) and (min-width:700px){main{padding-top:48px}header{margin-bottom:45px}.modes{margin-bottom:32px}.practice-card{padding-top:18px;padding-bottom:28px}}
@media(max-width:620px){main{padding:22px 16px}header{margin-bottom:26px}.brand{font-size:22px}.brand-mark{width:43px;height:48px;font-size:36px}.brand-sub{font-size:9px;letter-spacing:1.2px}.grade{font-size:13px}.modes{gap:7px;grid-template-columns:repeat(2,1fr);margin-bottom:22px}.modes label>span{min-height:57px;padding:10px 8px;font-size:15px}.modes b{font-size:23px}legend{font-size:14px}.card-meta{padding:18px 19px 5px;font-size:11px;letter-spacing:1px}.practice{border-radius:18px}.practice-card{padding:8px 3px 20px}svg{min-height:210px}.tap-hint{font-size:13px}.actions{margin-top:23px}.next{font-size:17px;padding:14px 21px}.next span{margin-left:15px}footer{flex-direction:column;gap:10px;font-size:13px}}
@media(max-height:520px) and (orientation:landscape){main{max-width:850px;padding-top:12px}header{margin-bottom:12px}.brand-mark{height:38px;width:38px;font-size:30px}.brand-sub{display:none}.modes{margin-bottom:14px}.modes label>span{min-height:44px;padding:6px}.modes b{font-size:21px}legend{margin-bottom:5px}.card-meta{padding-top:10px}svg{height:160px}.practice-card{padding-bottom:10px}.tap-hint{font-size:12px}.actions{margin:13px 0}.next{min-height:44px;padding:9px 20px}footer{display:none}}
.voice-controls{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:23px}.listen{display:flex;align-items:center;gap:9px;border:2px solid #bdd0ef;border-radius:12px;padding:10px 17px;min-height:48px;background:#fff;color:#234fba;font-size:16px}.listen svg{width:22px;height:22px;min-height:0;flex:none}.listen:hover:not(:disabled){background:#e3edff}.listen:disabled{opacity:.5}.auto-voice{display:flex;align-items:center;gap:9px;font-size:15px;cursor:pointer;min-height:44px}.auto-voice input{accent-color:var(--blue);width:20px;height:20px;cursor:pointer}.auto-voice input:focus-visible{outline:3px solid #dd8a00;outline-offset:3px}.voice-status{font-size:13px;color:var(--muted)}
@media(max-width:620px){.voice-controls{gap:8px 16px}.voice-status{flex-basis:100%}.voice-status:empty{display:none}.auto-voice{font-size:14px}}
@media(max-height:520px) and (orientation:landscape){.voice-controls{margin-top:12px}.listen{min-height:40px;padding:6px 14px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}
