:root{--bg:#f6f5ef;--paper:#fffef9;--ink:#17323b;--muted:#6b7678;--line:#dce0d6;--teal:#165b58;--teal-soft:#eaf1e9;--gold:#b3914c;--red:#a64c3e;--red-soft:#fff0e8;--radius:19px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI","Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.44}a{color:var(--teal)}:focus-visible{outline:3px solid #d09a3d;outline-offset:4px}[hidden]{display:none!important}.site-wrap{max-width:1232px;padding:0 48px;margin:auto}.site-header{display:flex;justify-content:space-between;align-items:center;padding:34px 0 29px}.brand{display:flex;gap:12px;align-items:center;color:var(--ink);text-decoration:none;font-size:18px;font-weight:500;letter-spacing:-.6px}.brand b{font-weight:650}.brand small{display:block;font-size:10px;font-weight:500;letter-spacing:2px;margin-top:5px;color:var(--muted)}.brand-symbol{width:46px;height:46px;display:flex;align-items:center;justify-content:center;background:var(--ink);border-radius:13px;color:var(--paper);font:italic 30px Georgia,serif;letter-spacing:-3px;padding-right:4px}.brand-symbol span{color:#c3c9a5;font-size:31px;margin:0 4px}.header-note{font-size:11px;letter-spacing:1px;color:var(--muted);display:flex;align-items:center;gap:8px}.header-note i,.tiny-dot{width:6px;height:6px;display:inline-block;border-radius:50%;background:#789278}.tabs{border-top:1px solid var(--line);border-bottom:1px solid var(--line);display:flex;gap:34px}.tab{position:relative;border:0;background:none;color:var(--muted);font-size:13px;font-weight:650;padding:20px 2px}.tab span{font-size:9px;margin-right:8px;opacity:.6;letter-spacing:1px}.tab.active{color:var(--ink)}.tab.active:after{position:absolute;content:"";bottom:-1px;left:0;right:0;background:var(--teal);height:3px}.screen{padding-top:46px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px;gap:22px}.eyebrow{font-size:9px;letter-spacing:2px;color:var(--teal);font-weight:750;margin:0 0 12px}.section-heading h1{font-size:31px;letter-spacing:-1px;line-height:1.4;margin:0 0 10px;font-weight:700}.section-description{font-size:12px;line-height:1.9;color:var(--muted);margin:0}.session-chip{font-size:11px;border:1px solid var(--line);padding:10px 15px;border-radius:30px;white-space:nowrap;background:rgba(255,255,255,.4)}.practice-grid{display:grid;grid-template-columns:272px minmax(0,1fr);gap:24px}.card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius)}.settings{padding:25px 23px;align-self:start}.settings h2{font-size:13px;margin:0 0 21px;display:flex;align-items:center;gap:9px}.field{display:flex;flex-direction:column;gap:7px;font-size:11px;font-weight:600;margin:0 0 17px;color:#43585c}.field select,.field input:not([type=file]){width:100%;min-height:40px;border:1px solid var(--line);background:#fffefb;border-radius:8px;padding:10px;color:var(--ink);font-size:12px;font-weight:400}.field input[type=file]{width:100%;font-size:11px;font-weight:400}.field input[type=file]::file-selector-button{border:1px solid var(--line);background:var(--teal-soft);color:var(--teal);border-radius:6px;padding:9px;font:inherit;margin-right:5px}.mode-options{padding:0;margin:0 0 20px;border:0}.mode-options legend{font-size:11px;font-weight:600;margin:0 0 8px;color:#43585c}.mode-options label{display:flex;align-items:center;gap:9px;border:1px solid var(--line);padding:9px 11px;margin-bottom:7px;border-radius:8px;cursor:pointer}.mode-options label:has(input:checked){border-color:#5d8780;background:#f1f5ef}.mode-options input{accent-color:var(--teal);margin:0}.mode-options b{font-size:12px}.mode-options small{font-size:9px;color:var(--muted);display:block;margin-top:2px}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;border-radius:9px;padding:12px 17px;font-size:12px;font-weight:650;line-height:1.4;border:1px solid transparent;min-height:42px;text-decoration:none}.button.primary{background:var(--teal);color:white;border-color:var(--teal)}.button.primary:hover:enabled{background:#104b48}.button.secondary{background:var(--paper);border-color:#cdd8cb;color:var(--teal)}.button.secondary:hover:enabled{background:#edf2e9}.button.quiet{background:transparent;color:var(--muted);font-size:11px}.button.quiet:hover:enabled{color:var(--teal)}.button.full{width:100%}.source-help{font-size:10px;color:var(--muted);line-height:1.8;margin:0 0 19px}.source-help.warning{color:#8d6242}.check-field{display:flex;gap:8px;font-size:11px;color:var(--muted);line-height:1.7;margin:8px 0 15px}.check-field input{margin:3px 0 0;accent-color:var(--teal);flex-shrink:0}.exercise{padding:26px 32px 18px;min-height:534px;display:flex;flex-direction:column}.exercise-top{display:flex;align-items:center;justify-content:space-between;gap:15px}.pill{display:inline-block;font-size:8px;letter-spacing:1.6px;line-height:1.5;background:var(--teal-soft);color:var(--teal);padding:7px 9px;border-radius:5px;font-weight:750}.exercise-top>span:last-child{font-size:9px;color:var(--muted);letter-spacing:1.3px}.progress-track{height:3px;background:#edf0e7;border-radius:10px;margin-top:16px;overflow:hidden}.progress-track span{height:100%;width:0;display:block;background:#74928b;transition:width .2s}.welcome{text-align:center;padding:37px 0 28px;flex:1}.sound-illustration{display:flex;align-items:center;justify-content:center;gap:7px;height:75px;margin-bottom:24px}.sound-illustration i{display:block;width:6px;height:20px;background:#bac9b8;border-radius:8px}.sound-illustration i:nth-child(2),.sound-illustration i:nth-child(8){height:30px}.sound-illustration i:nth-child(3),.sound-illustration i:nth-child(7){height:47px;background:#8eaaa0}.sound-illustration i:nth-child(4),.sound-illustration i:nth-child(6){height:34px;background:#49847a}.sound-illustration i:nth-child(5){height:68px;background:var(--teal)}.welcome h2{font-size:20px;margin:0 0 16px;letter-spacing:-.4px}.welcome p{font-size:11px;line-height:2;color:var(--muted)}.welcome-pair{display:flex;align-items:center;justify-content:center;gap:27px;font-size:36px;font-weight:550;letter-spacing:-1px;margin:24px 0}.welcome-pair .vs{font-size:20px;font-weight:350;color:#a9b5a7}.small{font-size:11px;line-height:1.8}.subtle{color:var(--muted)}.exercise-footer{display:flex;justify-content:space-between;border-top:1px solid #e8ebe2;padding-top:16px;margin-top:auto;font-size:9px;color:#82908a;gap:10px}.learning-note{display:flex;gap:15px;padding:25px 10px 0}.note-symbol{width:29px;height:29px;flex-shrink:0;border:1px solid #cdd8c5;display:flex;align-items:center;justify-content:center;border-radius:50%;color:var(--teal);font-size:18px;margin-top:2px}.learning-note h3{font-size:12px;margin:0 0 7px;font-weight:600}.learning-note p{font-size:11px;color:var(--muted);line-height:1.9;margin:0;max-width:580px}.trial-instruction{text-align:center;color:var(--muted);font-size:12px;margin:30px 0 18px}.play-button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;margin:auto;width:152px;height:152px;border:1px solid #d5e1d0;border-radius:50%;background:#edf3e8;color:var(--teal);font-size:14px;font-weight:650;box-shadow:0 0 0 8px #f7f8f2}.play-button:hover:enabled{background:#e1ecdb}.play-button .play-icon{font-size:24px;line-height:1;margin-bottom:3px}.play-button small{font-size:9px;color:#688175;font-weight:400}.listening-status{height:auto;min-height:18px;text-align:center;font-size:10px;color:var(--muted);margin:19px 0 21px;line-height:1.8}.answer-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:24px}.answer{padding:17px 16px;background:white;border:1px solid #cfd9cb;border-radius:11px;display:flex;align-items:center;gap:13px;color:var(--ink);font-size:29px;font-weight:600;letter-spacing:-.7px;text-align:left;min-height:85px}.answer-letter{font-size:10px;letter-spacing:0;color:#829481;background:#edf1e9;border-radius:6px;padding:9px 10px}.answer kbd{font-size:8px;font-weight:400;color:#8d978e;margin-left:auto;border:1px solid #e6e9e0;padding:4px;border-radius:4px;letter-spacing:0;white-space:nowrap}.answer:hover:enabled{border-color:var(--teal);background:#f3f7ee}.answer.correct{border-color:#438578;background:#eaf3e6;opacity:1}.answer.chosen-wrong{border-color:#c18e7c;background:var(--red-soft);opacity:1}.feedback{padding:15px 17px;border-radius:8px;background:var(--teal-soft);font-size:12px;line-height:1.8;margin-bottom:14px}.feedback.wrong{background:var(--red-soft)}.feedback p{margin:3px 0 0;color:var(--muted);font-size:10px}.feedback-controls{display:flex;gap:8px;margin-bottom:25px;flex-wrap:wrap}.feedback-controls #next{margin-left:auto}.result-panel{text-align:center;padding:38px 0 27px}.result-panel h2{font-size:20px;margin:0 0 15px}.result-number{font-size:65px;font-weight:550;letter-spacing:-4px;color:var(--teal);line-height:1.2}.result-number small{font-size:21px;letter-spacing:0}.result-panel .result-note{max-width:430px;margin:15px auto 22px;text-align:left;font-size:11px;color:var(--muted);line-height:1.9}.result-panel .result-actions{display:flex;justify-content:center;gap:10px}.result-panel details{text-align:left;margin-top:24px;border-top:1px solid var(--line);padding-top:15px;font-size:11px}.result-panel summary{cursor:pointer;color:var(--teal)}.review-list{margin:12px 0 0;padding:0;list-style:none;max-height:300px;overflow:auto}.review-list li{display:flex;align-items:center;gap:10px;border-bottom:1px solid var(--line);padding:8px 0;font-size:11px}.review-list li .button{font-size:10px;padding:5px 8px;min-height:30px;margin-left:auto}.compare-layout{display:grid;grid-template-columns:1fr 280px;gap:24px}.compare-card{padding:30px}.inline-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px}.compare-words{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:27px 0}.compare-word{min-height:220px;display:flex;flex-direction:column;gap:20px;align-items:center;justify-content:center;background:#f3f6ec;color:var(--teal);border:1px solid #d3dfcd;border-radius:15px}.compare-word small{font-size:11px;letter-spacing:3px}.compare-word strong{font-size:42px;letter-spacing:-1px;font-weight:550}.compare-word span{font-size:11px}.tip-card{border-radius:var(--radius);padding:30px;background:#e9eddf}.tip-card h2{font-size:22px;line-height:1.65;letter-spacing:-.7px;font-weight:650;margin:25px 0}.tip-card p:not(.eyebrow){font-size:11px;line-height:2;color:#5e7067}.tip-lines{display:flex;flex-direction:column;gap:12px;margin-top:37px;color:#849779;letter-spacing:5px}.notice{background:#fff5e4;border:1px solid #ead8b5;border-radius:10px;margin-top:20px;padding:14px 18px;font-size:12px;line-height:1.8}.stats-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:26px}.stat-card{padding:24px}.stat-card p{font-size:11px;color:var(--muted);margin:0 0 15px}.stat-card strong{font-size:34px;font-weight:600;letter-spacing:-1px}.stat-card small{font-size:12px;color:var(--muted);margin-left:6px}.table-card{padding:24px;margin-bottom:22px;overflow:auto}.table-card h2{font-size:15px;margin:0 0 6px}.table-card>p{font-size:11px;line-height:1.8;color:var(--muted);margin:5px 0 20px}table{border-collapse:collapse;width:100%;text-align:left;font-size:11px;white-space:nowrap}th{font-size:10px;font-weight:600;color:var(--muted);padding:12px;border-bottom:1px solid var(--line)}td{padding:13px 12px;border-bottom:1px solid #edf0e8}tr:last-child td{border-bottom:0}td strong{font-size:12px;font-weight:600}.empty-state{padding:50px 25px;text-align:center;color:var(--muted);border:1px dashed #cbd5c3;border-radius:var(--radius);font-size:12px;line-height:2}.record-footnote{padding:10px 3px;max-width:720px}.record-footnote p{font-size:11px;line-height:1.9;color:var(--muted)}.record-footnote .button{padding-left:0}.audio-intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-bottom:25px}.audio-intro{padding:27px}.audio-intro h2{font-size:17px;margin:17px 0 11px}.audio-intro>p:not(.small){font-size:12px;line-height:1.9;color:var(--muted)}.import-card{padding:28px;margin-bottom:30px}.import-card h2{font-size:16px;margin:0 0 5px}.import-card>div>p{color:var(--muted);margin:8px 0 25px}.upload-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 17px}.upload-grid .field:first-child{grid-column:span 2}.upload-grid .field:nth-last-child(1){grid-column:span 2}.import-actions{display:flex;align-items:center;justify-content:space-between;gap:30px}.import-actions p{max-width:680px}.import-actions .button{white-space:nowrap;flex-shrink:0}.library-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 3px 15px}.library-heading h2{font-size:16px}.audio-row{display:grid;grid-template-columns:1.2fr 1.4fr 1.4fr auto;gap:20px;align-items:center;padding:17px 20px;border:1px solid var(--line);background:var(--paper);border-radius:10px;margin-bottom:9px}.audio-row .audio-word{font-size:18px;font-weight:600}.audio-row p{font-size:10px;line-height:1.8;color:var(--muted);margin:3px 0}.audio-row .button{font-size:10px;min-height:32px;padding:7px 9px}.audio-row .audio-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.status-badge{display:inline-block;color:var(--teal);background:var(--teal-soft);font-size:8px;border-radius:4px;padding:3px 6px;line-height:1.6}.status-badge.pending{color:#92612d;background:#f7efd9}.audio-meta{min-width:0;overflow-wrap:anywhere}.audio-meta a{font-size:10px}.site-footer{display:flex;gap:20px;align-items:center;justify-content:space-between;border-top:1px solid var(--line);margin-top:59px;padding:25px 0 32px;color:var(--muted);font-size:10px}.site-footer>span:first-child{font-size:12px;font-weight:650;color:#4e6865}.site-footer p{margin:0}.footer-meta{font-size:8px;letter-spacing:1px}.skip{position:absolute;top:-100px;background:var(--teal);padding:12px;color:white;z-index:20}.skip:focus{top:8px}.loading-line{color:var(--muted);font-size:12px}.result-tag{font-size:9px;color:var(--muted);letter-spacing:1px;margin-top:15px}@media(max-width:1000px){.site-wrap{padding:0 28px}.practice-grid{grid-template-columns:250px minmax(0,1fr);gap:18px}.exercise{padding:23px}.answer{font-size:25px;padding:16px 11px;gap:9px}.answer kbd{display:none}.upload-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.compare-layout{grid-template-columns:1fr 235px}.audio-row{grid-template-columns:1fr 1fr;gap:10px}.audio-row .audio-actions{align-self:end}}@media(max-width:720px){.site-wrap{padding:0 20px}.site-header{padding:25px 0}.header-note{display:none}.brand{font-size:17px}.brand-symbol{width:42px;height:42px}.tabs{gap:0;justify-content:space-between}.tab{padding:18px 6px;font-size:12px}.tab span{display:none}.screen{padding-top:30px}.section-heading{align-items:flex-start;margin-bottom:24px}.section-heading h1{font-size:25px;letter-spacing:-.8px}.eyebrow{font-size:8px;letter-spacing:1.4px}.section-description{font-size:11px;max-width:380px}.session-chip{font-size:9px;padding:8px 9px;align-self:center;display:none}.practice-grid{display:flex;flex-direction:column}.settings{width:100%;padding:19px;display:grid;grid-template-columns:1fr 1fr;gap:0 14px}.settings h2{grid-column:1/-1;margin-bottom:17px}.mode-options{grid-column:1/-1;display:flex;gap:8px;margin-bottom:15px}.mode-options legend{float:left;display:none}.mode-options label{flex:1;margin:0}.settings .source-help,.settings .check-field,.settings #start,.settings #stop{grid-column:1/-1}.settings .source-help{margin:0 0 13px}.settings .field{margin-bottom:13px}.settings .field select{font-size:11px}.exercise{min-height:500px;padding:22px 19px 18px}.welcome{padding:28px 0 20px}.welcome h2{font-size:19px}.welcome p{font-size:10px}.welcome-pair{font-size:34px}.exercise-top>span:last-child{font-size:8px;letter-spacing:.7px}.learning-note{padding:20px 1px 0}.learning-note p{font-size:10px}.trial-instruction{font-size:11px;margin-top:25px}.play-button{height:140px;width:140px}.answer{font-size:27px;min-height:78px;padding:14px 11px;gap:10px}.answer-letter{padding:7px 8px;font-size:9px}.feedback-controls .button{font-size:11px;padding:10px 11px}.compare-layout{grid-template-columns:1fr}.compare-card{padding:22px}.compare-words{gap:13px}.compare-word{min-height:180px}.compare-word strong{font-size:36px}.tip-card{padding:25px}.tip-card h2{font-size:20px;margin:13px 0}.tip-card h2 br{display:none}.tip-lines{display:none}.stats-cards{gap:10px}.stat-card{padding:18px 12px}.stat-card strong{font-size:25px}.stat-card p{font-size:9px}.stat-card small{font-size:10px}.table-card{padding:20px 12px}.section-heading:has(#export){flex-direction:column}.audio-intro-grid{grid-template-columns:1fr;gap:14px}.audio-intro{padding:23px}.import-card{padding:22px}.upload-grid{gap:0 12px}.import-actions{flex-direction:column;gap:4px;align-items:stretch}.import-actions .button{align-self:flex-start}.audio-row{padding:16px;grid-template-columns:1fr 1fr}.audio-meta{grid-column:1/-1}.audio-row .audio-actions{grid-column:1/-1;justify-content:flex-start}.site-footer{margin-top:38px;padding:23px 0;gap:13px;flex-wrap:wrap;font-size:9px}.site-footer p{margin-left:auto}.footer-meta{display:none}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
