:root{color:#1c2723;background:#f7f7f2;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input{font:inherit}.app-shell{width:min(680px,100%);margin:0 auto;padding:28px 16px 42px}h1,h2,p{margin-top:0}h1{margin-bottom:24px;color:#17241f;font-size:clamp(2.4rem,11vw,4.2rem);line-height:1.05;letter-spacing:0}h2{margin-bottom:14px;font-size:clamp(1.45rem,5vw,2rem);letter-spacing:0}button{min-height:76px;border:0;border-radius:8px;padding:18px 20px;font-size:clamp(1.35rem,5.5vw,2rem);font-weight:900;cursor:pointer}button:disabled{cursor:wait;opacity:.72}input{width:100%;min-height:62px;border:1px solid #c8d4cf;border-radius:8px;padding:12px 14px;color:#1c2723;background:#fff;font-size:1.2rem}.primary{color:#fff;background:#1f6f61}.danger{color:#fff;background:#b72f2f}.secondary{color:#153f37;background:#dce9e4}.main-actions{display:grid;gap:14px}.main-button{width:100%;min-height:94px}.simple-panel,.result-panel,.history-stage{border:1px solid #dce5df;border-radius:8px;padding:18px;background:#fff}.simple-panel{display:grid;gap:14px}.simple-panel p{margin-bottom:0;color:#4f625c;font-size:1.1rem;line-height:1.6}.error-box{margin-bottom:16px;border:1px solid #e6aaa0;border-radius:8px;padding:14px 16px;color:#762217;background:#fff0ed;font-size:1.15rem;font-weight:800;line-height:1.45}.large-status{margin:18px 0 0;color:#1d4f45;font-size:clamp(1.45rem,6vw,2.2rem);font-weight:900;line-height:1.3}.result-panel{display:grid;gap:18px;margin-top:18px}.spoken-text{border-left:6px solid #1f6f61;padding-left:14px;color:#17241f;font-size:clamp(1.55rem,6.5vw,2.35rem);font-weight:850;line-height:1.35}.measurement-list,.history-list,.confirm-actions,.history-actions{display:grid;gap:12px}.measurement-card,.history-card{display:grid;gap:6px;border:1px solid #dce5df;border-radius:8px;padding:14px;background:#fbfcfb}.measurement-card strong,.history-card strong{color:#1d4f45;font-size:clamp(1.2rem,4.8vw,1.75rem);font-weight:700}.measurement-card span,.history-card span,.result-line{color:#17241f;font-size:clamp(1.45rem,6vw,2.15rem);font-weight:900;line-height:1.25}.measurement-card small,.history-card small{color:#51655f;font-size:clamp(1.2rem,4.8vw,1.75rem);line-height:1.45}.average-line{margin:0;border-top:1px solid #dce5df;padding-top:16px;color:#17241f;font-size:clamp(1.5rem,6vw,2.25rem);font-weight:900;line-height:1.3}.confirm-actions{margin-top:4px}.done{border-color:#b7d7cd;background:#f7fbf9}.delete-btn{align-self:start;min-height:52px;padding:10px 18px;color:#762217;background:#fff0ed;border:1px solid #e6aaa0;font-size:clamp(1.1rem,4vw,1.45rem);font-weight:700}.delete-confirm{display:grid;gap:10px;padding-top:6px;border-top:1px solid #dce5df}.delete-confirm-label{color:#762217;font-size:clamp(1.1rem,4vw,1.45rem);font-weight:700}.delete-confirm-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.delete-confirm-actions button{min-height:58px;font-size:clamp(1.1rem,4vw,1.45rem)}.history-stage{display:grid;gap:16px}.history-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.history-actions button{min-height:62px;font-size:1.25rem}@media(max-width:520px){.app-shell{padding:22px 12px 32px}.simple-panel,.result-panel,.history-stage{padding:16px}.history-actions{grid-template-columns:1fr}}
