:root{font-family:"Avenir Next",Avenir,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#243c33;background:#f6f5f0;font-synthesis:none;--ink:#243c33;--muted:#788078;--line:#e6e8e1;--accent:#b6533b;--green:#3e7158;--paper:#fff;--serif:"Iowan Old Style","Palatino Linotype",Palatino,Georgia,serif}
*{box-sizing:border-box}body{margin:0;min-width:320px}button,input,select,textarea{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,a:focus-visible,select:focus-visible,summary:focus-visible,textarea:focus-visible{outline:3px solid #c87551;outline-offset:4px}a{color:inherit}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}.icon{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.shell{max-width:1264px;margin:0 auto;padding:0 48px}.site-header{height:100px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #dddfd6}.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:650;font-size:18px;letter-spacing:-.5px}.brand-mark{background:#b6533b;width:35px;height:35px;border-radius:10px;display:grid;place-items:center;color:#fff;font-family:serif;font-size:25px;font-weight:400}.brand-divider{padding:0 14px;color:#c1c7bb;font-weight:400}.brand-sub{font-size:16px;font-weight:400;color:#687367}.local-badge{font-size:10px;letter-spacing:1.2px;font-weight:700;display:flex;align-items:center;gap:7px;background:#eaeee5;border:1px solid #dce3d4;border-radius:20px;padding:7px 10px}.local-badge>span,.dot{display:inline-block;width:6px;height:6px;background:#658668;border-radius:50%}.intro{display:flex;align-items:center;justify-content:space-between;margin:51px 0 37px;gap:24px}.eyebrow{font-size:10px;font-weight:750;letter-spacing:1.7px;color:#84745f;margin:0 0 12px}h1{font-family:var(--serif);font-size:clamp(36px,4vw,51px);font-weight:400;letter-spacing:-2px;line-height:1.1;margin:0 0 16px}h1 em{font-weight:400;color:var(--accent)}.intro-copy{font-size:14px;color:#758073;margin:0}.intro-note{display:flex;align-items:center;gap:14px;font-size:11px;line-height:1.8;color:#82877e;flex-shrink:0;padding:0 4px}.intro-note strong{font-weight:550;color:#626e62}.small-wave{height:38px;display:flex;gap:3px;align-items:center}.small-wave i{width:3px;background:#a9b7a1;border-radius:3px;height:10px}.small-wave i:nth-child(2),.small-wave i:nth-child(6){height:19px}.small-wave i:nth-child(3),.small-wave i:nth-child(5){height:30px}.small-wave i:nth-child(4){height:38px}.workspace{display:grid;grid-template-columns:1.04fr 1fr;gap:24px;align-items:start}.card{border:1px solid var(--line);border-radius:18px;background:#fff;box-shadow:0 3px 5px #263e3010;overflow:hidden}.practice{padding:25px 28px 16px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:27px}.section-heading h2{font-size:15px;font-weight:650;margin:0;display:flex;align-items:center;gap:9px;letter-spacing:-.3px}.step{font-size:10px;font-weight:500;border:1px solid #e0e4db;border-radius:50%;display:grid;place-items:center;width:24px;height:24px;color:#86907e}.subtle{font-size:10px;color:#91988c}.language-field{padding:0;margin:0 0 24px;border:0}legend,.phrase-heading label{font-size:11px;font-weight:600;color:#687163;padding:0;margin-bottom:10px}.language-options{display:grid;grid-template-columns:1fr 1fr;gap:10px}.language{border:1px solid var(--line);border-radius:9px;background:#fff;color:#52604f;display:flex;align-items:center;gap:8px;padding:12px;font-size:12px;font-weight:650;white-space:nowrap}.language>span{display:grid;place-items:center;width:24px;height:24px;border:1px solid #e6e8df;background:#f7f8f4;border-radius:6px;color:#8a9583;font-size:12px;font-weight:500}.language small{font-size:9px;color:#8c9585;font-weight:450;margin-left:auto}.language.active{border-color:#8aa080;background:#f2f5ee;color:#3d5638}.language.active>span{background:#e4ebdc;border-color:#e4ebdc;color:#4e6748}.phrase-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px;gap:12px}.phrase-heading label{margin:0}.phrase-heading select{font-size:10px;border:0;background:transparent;color:#7d8479;max-width:190px;cursor:pointer}.phrase-box{border:1px solid #e5e7df;border-radius:11px;padding:20px 20px 13px;background:#fbfcf8}textarea{resize:vertical;min-height:92px;max-height:200px;display:block;width:100%;border:0;outline-offset:2px;background:transparent;color:#354b36;font-size:23px;line-height:1.7;font-weight:500;font-family:"Hiragino Sans","Yu Gothic",sans-serif;padding:0}textarea[lang=en]{font-family:var(--serif);font-size:26px;line-height:1.35}.translation{font-size:11px;line-height:1.7;color:#8c927f;margin:7px 0 15px;min-height:19px}.phrase-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding-top:12px;border-top:1px solid #e8ebe1}.phrase-foot>span{font-size:9px;color:#9b9f91}.text-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;background:transparent;border:0;color:var(--accent);padding:3px 0;font-size:11px;font-weight:600}.text-button .icon{width:15px;height:15px}.recording-area{margin-top:22px;background:#f8f8f5;border:1px solid #edeee6;border-radius:11px;padding:15px 20px 13px;text-align:center}.recording-top{display:flex;justify-content:space-between;align-items:center;font-size:8px;letter-spacing:1.1px;color:#8c9586;font-weight:650}.recording-top #timer{font-size:10px;letter-spacing:0;font-variant-numeric:tabular-nums;color:#66715e}.recording-top #timer span{color:#b0b7a7}.waveform{height:49px;display:flex;gap:4px;align-items:center;justify-content:center;overflow:hidden;margin:7px 0 5px}.waveform i{width:3px;height:5px;background:#cbd4c4;border-radius:3px;transition:height .08s}.recording .waveform i{background:var(--accent)}.recording #recording-label{color:var(--accent)}.primary-button{display:flex;align-items:center;justify-content:center;gap:9px;margin:0 auto;border:0;color:#fff;background:#b6533b;border-radius:8px;min-width:182px;padding:13px 21px;font-size:12px;font-weight:650;box-shadow:0 2px 3px #9d402818;transition:background .2s}.primary-button:hover:enabled{background:#99442f}.recording .primary-button{background:#344f3c}.recording .primary-button .icon{fill:currentColor;stroke:0;width:13px;height:13px}.recording-area>p{font-size:10px;color:#959b8d;margin:12px 0}.upload-row{font-size:9px;color:#939b8c}.upload-row .text-button{font-size:9px;margin-left:3px;color:#617157}.playback-area{margin-top:17px;padding-top:12px;border-top:1px solid var(--line)}.playback-area>span{display:block;font-size:10px;color:var(--muted);margin-bottom:8px}.playback-area audio{width:100%;height:32px}.status{font-size:10px;color:#7e8a73;line-height:1.7;margin:12px 0 0;min-height:17px}.status.error{color:#af442e;background:#fff4ed;padding:10px;border-radius:6px}.feedback{min-height:632px;display:flex;flex-direction:column;padding:25px 28px 0;align-self:stretch}.feedback .section-heading{margin-bottom:0}.result-badge{font-size:8px;letter-spacing:.8px;padding:5px 7px;color:#9b9f95;border-radius:4px;background:#f4f5f0;white-space:nowrap}.result-badge.ready{color:#557341;background:#edf2e7}.empty-state{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:18px 0 28px}.empty-art{width:194px;height:170px;position:relative;display:grid;place-items:center;margin-bottom:5px}.orbit{position:absolute;width:139px;height:139px;border:1px solid #e9ebdf;border-radius:50%}.orbit-two{width:181px;height:181px;border-style:dashed;opacity:.65}.sound-symbol{height:92px;width:92px;background:#f1f3e8;border:1px solid #e6e9da;border-radius:50%;display:flex;align-items:center;justify-content:center;gap:6px}.sound-symbol i{width:5px;height:17px;border-radius:4px;background:#9cac84}.sound-symbol i:nth-child(2),.sound-symbol i:nth-child(4){height:30px}.sound-symbol i:nth-child(3){height:46px}.spark{position:absolute;color:#c7aa7a;font-size:23px;background:white}.spark-one{left:21px;top:21px}.spark-two{bottom:28px;right:14px;font-size:17px}.empty-state h3{font-family:var(--serif);font-size:27px;line-height:1.3;font-weight:400;letter-spacing:-.4px;margin:16px 0 12px}.empty-state>p{font-size:11px;color:#8b9383;line-height:1.9;margin:0 0 22px}.sample-button{display:flex;align-items:center;gap:9px;font-size:11px;font-weight:600;border:1px solid #dce1d2;border-radius:7px;padding:11px 14px;background:#fff;color:#667950}.sample-button:hover:enabled{background:#f4f7ee}.sample-button .icon{width:15px;height:15px}.sample-note{font-size:8px;color:#a1a796;margin-top:10px}.feedback-footer{border-top:1px solid var(--line);font-size:9px;color:#929b87;display:flex;align-items:center;justify-content:center;gap:7px;padding:17px 0;margin-top:auto}.feedback-footer .dot{width:4px;height:4px;background:#a7b393}.under-workspace{display:flex;justify-content:space-between;gap:15px;font-size:9px;color:#959c8b;margin:17px 0 0}.under-workspace p{display:flex;align-items:center;gap:6px;margin:0;line-height:1.8}.under-workspace .icon{width:12px;height:12px}.site-footer{display:flex;justify-content:space-between;gap:20px;font-size:10px;color:#929987;margin:38px 0 25px;padding-top:20px;border-top:1px solid #e1e4d8}.site-footer a{text-decoration:none;font-size:9px}.site-footer a:hover{text-decoration:underline}.score-overview{display:flex;align-items:center;gap:23px;margin:30px 0 24px}.score-ring{--score:0;width:116px;height:116px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;background:conic-gradient(#789662 calc(var(--score)*1%),#ecf0e5 0);transform:rotate(-0deg)}.score-ring>div{border:5px solid white;display:flex;flex-direction:column;align-items:center;justify-content:center;width:102px;height:102px;border-radius:50%;background:#f9faf5}.score-ring strong{font-size:37px;line-height:1.2;font-weight:500;letter-spacing:-2px}.score-ring span{font-size:7px;letter-spacing:.8px;color:#8d967e}.score-overview .eyebrow{font-size:8px;margin:0 0 8px;letter-spacing:1.2px}.score-overview h3{font-size:25px;line-height:1.15;font-family:var(--serif);font-weight:400;margin:0 0 8px}.score-overview p:last-child{font-size:10px;color:#929b86;line-height:1.7;margin:0;max-width:210px}.metrics{display:grid;grid-template-columns:1fr 1fr;gap:17px 20px;padding:18px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:22px}.metric-heading{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#818d76;align-items:center}.metric-heading strong{font-size:15px;color:#52664a;font-weight:550}.metric-track{height:4px;border-radius:2px;background:#eef1e8;margin-top:8px;overflow:hidden}.metric-track>div{height:100%;background:#94a782;border-radius:2px}.metric p{font-size:8px;color:#a1a894;line-height:1.4;margin:6px 0 0}.word-heading{display:flex;justify-content:space-between;gap:10px;align-items:center}.word-heading h3{font-size:12px;font-weight:600;margin:0}.word-heading span{font-size:9px;color:#9ba28f}.word-legend{display:flex;gap:13px;flex-wrap:wrap;margin:11px 0 15px;font-size:8px;color:#96a08a}.word-legend>span{display:flex;align-items:center;gap:4px}.word-legend i{width:5px;height:5px;border-radius:50%}.good{--tone:#4e7443;--wash:#edf3e7;background:#7f9b67}.fair{--tone:#997123;--wash:#faf1dc;background:#d5b96c}.low{--tone:#b25b49;--wash:#fbedE8;background:#c78775}.words{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:18px}.word-chip{border:1px solid transparent;background:var(--wash,#f3f4ef);color:var(--tone,#8e9684);border-radius:6px;padding:8px 9px;display:flex;align-items:center;gap:9px;font-size:13px}.word-chip span{font-size:9px;opacity:.8}.word-chip[aria-pressed=true]{border-color:currentColor;box-shadow:0 0 0 2px white,0 0 0 3px currentColor}.word-detail{padding:13px;background:#f9faf5;border:1px solid #e7eadf;border-radius:8px;margin:5px 0 18px}.word-detail h4{font-size:12px;margin:0 0 8px;font-weight:600}.word-detail p{font-size:10px;line-height:1.6;color:#8b9680;margin:7px 0}.phonemes{display:flex;flex-wrap:wrap;gap:6px}.phoneme{font-size:12px;border:1px solid #e1e5d8;border-radius:5px;padding:6px 8px;display:flex;align-items:center;gap:7px;background:white}.phoneme small{font-size:9px;color:#8c977f}.transcript,.raw-result{border-top:1px solid var(--line);padding:12px 0;font-size:10px;color:#7e8b71}.transcript summary,.raw-result summary{cursor:pointer}.transcript p{line-height:1.8;color:#435d3b;font-size:12px}.raw-result summary span{float:right;font-size:8px;color:#a1a993}.raw-result pre{background:#f7f8f3;overflow:auto;max-height:240px;padding:12px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:9px;line-height:1.6}.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}[hidden]{display:none!important}
@media(min-width:1500px){.shell{padding-top:15px}.intro{margin-top:66px;margin-bottom:45px}}
@media(max-width:1050px){.shell{padding:0 30px}.practice,.feedback{padding-left:20px;padding-right:20px}.workspace{gap:18px}.language small{display:none}.intro-note{font-size:10px}.subtle{font-size:9px}.score-overview{gap:16px}.score-ring{width:98px;height:98px}.score-ring>div{width:85px;height:85px}.score-overview h3{font-size:22px}.score-ring strong{font-size:32px}}
@media(max-width:760px){.shell{max-width:580px;padding:0 22px}.site-header{height:80px}.brand{font-size:16px}.brand-sub{font-size:13px}.brand-divider{padding:0 8px}.local-badge{font-size:8px;padding:6px 8px}.intro{margin:36px 0 28px}.intro-note{display:none}h1{font-size:41px;letter-spacing:-1.5px}.intro-copy{font-size:12px;max-width:280px;line-height:1.7}.workspace{grid-template-columns:1fr;gap:20px}.practice,.feedback{padding:23px 22px 16px}.feedback{min-height:520px;padding-bottom:0}.language small{display:block}.empty-state{padding:20px 0 32px}.under-workspace{display:block;margin-top:20px}.under-workspace p{margin-bottom:6px;font-size:8px}.site-footer{margin-top:28px;font-size:9px;align-items:start}.site-footer>a{max-width:142px;text-align:right;line-height:1.6}.eyebrow{font-size:9px}.score-overview{gap:25px}.score-ring{width:116px;height:116px}.score-ring>div{width:102px;height:102px}.score-ring strong{font-size:37px}.score-overview h3{font-size:27px}.score-overview p:last-child{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Live reading: text matching is distinct from the assessment score colors. */
.reference-reader{min-height:117px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:23px;line-height:1.9;color:#7b8574;font-weight:500;font-family:"Hiragino Sans","Yu Gothic",sans-serif;padding:0 2px}
.reference-reader[lang=en]{font-family:var(--serif);font-size:26px;line-height:1.6}
.read-word{border-radius:4px;padding:2px 1px;box-decoration-break:clone;-webkit-box-decoration-break:clone;transition:background .14s,color .14s}
.read-word.spoken{color:#365a32;background:#dfecd7;box-shadow:inset 0 -2px 0 #8eac79}
.read-word.next,.read-word.partial{color:#8e5136;background:#fbeddc;box-shadow:inset 0 -2px 0 #be8961}
.read-word.partial{background:#efeed9}
#edit-phrase{font-size:9px;margin-right:auto;color:#718362}
#phrase-hint.reading-hint{font-size:9px;color:#667e51}
.live-panel{padding:30px 0 26px;flex:1}
.live-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:25px}
.live-heading h3{font-family:var(--serif);font-weight:400;font-size:25px;letter-spacing:-.5px;margin:0}
.live-state{font-size:9px;color:#67804f;display:flex;align-items:center;gap:6px;white-space:nowrap}
.live-state:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.live-state.unavailable{color:#a36f49}
.live-transcript{font-family:var(--serif);font-size:29px;line-height:1.55;letter-spacing:-.5px;min-height:155px;margin:0 0 30px;color:#3b5133;overflow-wrap:anywhere}
.live-transcript[lang=ja]{font-family:"Hiragino Sans","Yu Gothic",sans-serif;font-size:24px;line-height:1.9;letter-spacing:0}
.live-transcript.is-empty{font-family:inherit;font-size:16px;letter-spacing:0;color:#abb29e;line-height:1.8;padding-top:12px}
.live-transcript.provisional{color:#6e7f5e}
.reading-progress{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px;font-size:10px;color:#8a957d;padding-top:22px;border-top:1px solid var(--line)}
.reading-progress label{color:#657954;font-weight:600}
.reading-progress progress{width:100%;appearance:none;border:none;height:6px;border-radius:4px;overflow:hidden;background:#edf1e6}
.reading-progress progress::-webkit-progress-bar{background:#edf1e6;border-radius:4px}
.reading-progress progress::-webkit-progress-value{background:#8ea675;border-radius:4px;transition:width .15s}
.reading-progress progress::-moz-progress-bar{background:#8ea675;border-radius:4px}
.reading-legend{display:flex;align-items:center;flex-wrap:wrap;gap:15px;font-size:9px;color:#9ca58f;margin:14px 0 24px}
.reading-legend>span{display:flex;align-items:center;gap:5px}
.reading-legend i{display:inline-block;width:8px;height:8px;border-radius:2px}
.heard-dot{background:#9fb68a}.next-dot{background:#d4ad7c}
.live-note{font-size:11px;color:#8b987e;line-height:1.9;margin:0;padding:14px;border:1px solid #e9ecdf;background:#f9faf5;border-radius:8px}
#live-panel.is-finished .live-transcript{min-height:90px}
@media(max-width:760px){.live-panel{padding-top:25px}.live-heading h3{font-size:23px}.live-transcript{min-height:110px}.reading-legend{gap:10px}.reference-reader{font-size:22px}.live-note{font-size:10px}}
/* Phones: the practice and feedback cards run edge to edge, past the shell's 22px padding. */
@media(max-width:40rem){.workspace>.card{margin-inline:-22px;border-inline:0;border-radius:0}}
