:root{--ink:#173f43;--green:#19564b;--muted:#617474;--line:#d9e1d9}*{box-sizing:border-box}body{margin:0;background:#f6f7f1;color:var(--ink);font:15px/1.6 Arial,sans-serif}header{display:flex;align-items:center;gap:16px;padding:22px 6%;background:#fff;border-bottom:1px solid var(--line)}header img{width:41px;height:55px;object-fit:contain}header small{display:block;font-size:12px;color:var(--muted)}#session-label{margin-left:auto;font-size:12px}main{max-width:1050px;margin:auto;padding:36px 24px}h1,h2{font-family:Georgia,serif;font-weight:400;line-height:1.2}h1{font-size:38px}h2{font-size:29px}.panel{padding:28px;background:white;border:1px solid var(--line);border-radius:9px;margin:20px 0}.grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.row{display:flex;justify-content:space-between;gap:15px;align-items:center;flex-wrap:wrap}.actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}label{display:block;font-size:13px;margin:12px 0}input,select,textarea{font:inherit;width:100%;padding:12px;background:white;color:var(--ink);border:1px solid #b8c6bf;border-radius:5px;margin-top:6px}textarea{min-height:160px;line-height:1.7}button{font:inherit;padding:11px 18px;border-radius:5px;border:1px solid var(--green);background:var(--green);color:white;cursor:pointer}.secondary{background:#fff;color:var(--green)}.danger{color:#a13226;background:white;border-color:#a13226}button:disabled{opacity:.5;cursor:default}.muted,small{color:var(--muted)}.note{background:#edf2e4;padding:16px;border-radius:6px;margin:15px 0;font-size:13px}.timer{font-size:26px;font-variant-numeric:tabular-nums}.option{padding:12px 16px;display:flex;gap:10px;border:1px solid var(--line);border-radius:5px;align-items:center}.option input{width:auto;margin:0}.passage{background:#f2f5ee;padding:20px;border-left:3px solid #9cba7a}.badge{background:#e7eddf;padding:4px 10px;border-radius:20px;font-size:11px}svg{display:block;max-width:100%;margin:20px auto;background:#f5f7f1;border-radius:6px}table{width:100%;border-collapse:collapse}td,th{text-align:left;border-bottom:1px solid var(--line);padding:10px;font-size:12px}#notice{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#173f43;color:white;max-width:90%;padding:12px 20px;border-radius:5px;display:none}.certificate{text-align:center;aspect-ratio:297/210;display:flex;flex-direction:column;justify-content:space-between;align-items:center;background:#fff;border:6px double #b29b62;padding:28px;color:#173f43}.certificate img.logo{height:65px}.certificate h1{font-size:42px;margin:10px}.certificate .name{font:italic 36px Georgia;border-bottom:1px solid #b29b62;padding:10px 40px}.signoff{display:flex;justify-content:center;align-items:center;gap:70px;margin:15px}.signoff .seal{width:95px;height:95px}.signature{width:175px;height:60px;object-fit:contain}.signer b,.signer small{display:block}.signer b{border-top:1px solid #b29b62;padding-top:5px}.speech-phase{padding:30px;text-align:center;background:#f0f5e8;font-size:22px}.status-error{color:#a13226}.inline{display:flex;align-items:center;gap:10px}.inline input{width:auto}.saved{font-size:12px;color:var(--green)}@media(max-width:650px){.grid{grid-template-columns:1fr}main{padding:20px 15px}.panel{padding:20px}.certificate{aspect-ratio:auto;min-height:650px;padding:20px}.certificate h1{font-size:30px}.signoff{gap:25px}.signature{width:140px}header{padding:16px}header b{font-size:12px}}@page certificate{size:A4 landscape;margin:10mm}@media print{header,.no-print,#notice{display:none!important}main{padding:0;max-width:none}body{background:#fff}.certificate{page:certificate;width:277mm;height:190mm;aspect-ratio:auto;print-color-adjust:exact}.panel{break-inside:avoid}}

.speech-phase{min-height:220px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;border:1px solid #d4dfcb;border-radius:12px;margin:24px 0}.speech-stage-label{font-size:16px;font-weight:600}.speech-stage-number{display:grid;place-items:center;min-width:118px;height:118px;border-radius:50%;border:5px solid #b7ca9b;font-size:48px;line-height:1;font-variant-numeric:tabular-nums;animation:speech-pop .3s ease-out}.speech-phase[data-phase=listen] .speech-stage-number,.speech-phase[data-phase=saving] .speech-stage-number,.speech-phase[data-phase=saved] .speech-stage-number{font-size:22px}.speech-phase[data-phase=record]{background:#eef6ed}.speech-phase[data-phase=record] .speech-stage-number{border-color:#417c51;color:#19564b}.speech-phase[data-phase=countdown]{background:#f4f1e7}.speech-phase[data-phase=countdown] .speech-stage-number{border-color:#b29b62}@keyframes speech-pop{from{transform:scale(.88);opacity:.6}to{transform:scale(1);opacity:1}}@media(prefers-reduced-motion:reduce){.speech-stage-number{animation:none}}

.voice-monitor,.voice-review{padding:20px;border:1px solid #d5e1ce;background:#f8faf4;border-radius:10px;margin:20px 0}.voice-monitor canvas{display:block;width:100%;height:100px}.voice-meter{height:8px;background:#dce6d5;border-radius:10px;overflow:hidden;margin-top:10px}.voice-meter span{display:block;width:0;height:100%;background:#247451;transition:width .08s linear}.voice-review audio{width:100%}.voice-monitor small{color:#617474;font-size:11px}

.word-comparison{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:24px 0}.word-box{border:1px solid #cfded9;border-radius:16px;padding:20px;background:#fafcfb}.word-box h3{display:flex;justify-content:space-between;gap:12px;margin-top:0}.word-box h3 span{font-size:14px;color:#526a63}.word-tokens{display:flex;flex-wrap:wrap;gap:9px;align-items:start}.word-chip{display:inline-flex;flex-direction:column;padding:8px 12px;border-radius:9px;border:1px solid #d4dfdc;font-size:18px}.word-chip sup{font-size:11px;opacity:.75}.word-chip small{font-size:10px;margin-top:3px}.word-hit{background:#e0f2e8;color:#175a3c;border-color:#85bd9e}.word-miss{background:#fff0e8;color:#864221;border-color:#dcb59e}.word-neutral{background:white}.match-result{border-left:4px solid #19564b;border-radius:10px;background:#eff6f3;padding:18px 22px;margin-bottom:20px}.match-result h3{margin-top:0}.match-result>strong{font-size:36px;color:#19564b}@media(max-width:700px){.word-comparison{grid-template-columns:1fr}.word-box{padding:14px}}
