.speech-entry{display:inline-flex;align-items:center;justify-content:center;gap:7px;white-space:nowrap}
.speech-dialog{box-sizing:border-box;width:min(960px,calc(100vw - 28px));max-width:none;max-height:calc(100dvh - 32px);padding:0;border:1px solid rgba(255,255,255,.95);border-radius:24px;background:#f2f8fb;color:#203f50;box-shadow:0 28px 100px #264e6633;overflow:auto}
.speech-dialog::backdrop{background:#25485d70;backdrop-filter:blur(8px)}
.speech-sheet{padding:28px 30px 22px;background:radial-gradient(ellipse at 100% 0,#d9eef988,transparent 55%)}
.speech-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}.speech-head h2{font-size:27px;font-weight:650;letter-spacing:-.04em;margin:4px 0 8px;line-height:1.3}.speech-head p{margin:0;color:#637f8e;font-size:13px;line-height:1.7}.speech-eyebrow{font-size:11px;color:#26869a;letter-spacing:.08em}.speech-close{width:36px;height:36px;flex-shrink:0;border:1px solid #c8dde8;background:#ffffff99;border-radius:50%;font-size:21px;cursor:pointer;color:#587685}
.speech-privacy{display:flex;align-items:center;gap:6px;font-size:11px;color:#728b98;margin:16px 0 18px}.speech-privacy svg{width:13px;height:13px}
.speech-stage{display:grid;grid-template-columns:170px minmax(0,1fr);gap:24px;padding:22px 0;border-block:1px solid #d6e5ed}
.speech-readout{display:flex;flex-direction:column;align-items:flex-start;justify-content:center}.speech-readout>span{font-size:11px;color:#698390}.speech-note{font-size:64px;font-weight:550;letter-spacing:-.07em;line-height:1.2;color:#168c9e;font-variant-numeric:tabular-nums;margin:7px 0}.speech-hz{font-size:20px;font-variant-numeric:tabular-nums;color:#355c6d}.speech-hz small{font-size:12px;margin-left:4px;color:#7c929d}.speech-signal{display:flex;gap:6px;align-items:center;color:#678390;font-size:11px;margin-top:16px;min-height:30px}.speech-signal i{height:6px;width:6px;border-radius:50%;background:#a7bec7;flex-shrink:0}.speech-dialog[data-state="listening"] .speech-signal i{background:#1b9ba8;box-shadow:0 0 0 4px #1b9ba81a}.speech-chart-wrap{min-width:0;position:relative}.speech-chart-head{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#597786;font-size:11px;margin-bottom:10px}.speech-chart-head span:last-child{font-size:10px;color:#899da8}.speech-chart{display:block;width:100%;height:260px;touch-action:pan-y}.speech-chart-empty{position:absolute;left:54px;right:10px;top:50%;transform:translateY(-50%);text-align:center;color:#7c95a2;font-size:12px;line-height:1.9;pointer-events:none}.speech-chart-empty[hidden]{display:none}
.speech-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 22px}.speech-action-buttons{display:flex;gap:10px}.speech-start{display:inline-flex;align-items:center;gap:9px;border:0;border-radius:12px;padding:12px 20px;background:#188c9e;color:#fff;font:600 13px inherit;cursor:pointer;min-height:44px;box-shadow:0 5px 14px #168c9e20}.speech-start svg{width:15px;height:15px}.speech-reset{border:0;background:none;color:#617f8e;font:inherit;font-size:12px;padding:10px;cursor:pointer}.speech-time{font:12px ui-monospace,monospace;color:#658391;white-space:nowrap}.speech-error{font-size:12px;color:#a35350;line-height:1.7;margin:-8px 0 16px}.speech-error:empty{display:none}
.speech-summary-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:0 0 12px}.speech-summary-head h3{font-size:14px;font-weight:650;margin:0}.speech-summary-head span{font-size:10px;color:#7d94a1}.speech-stats{display:grid;grid-template-columns:1fr 1.2fr 1fr;margin:0;padding:0}.speech-stats>div{padding:2px 18px;border-left:1px solid #d6e5ed;min-width:0}.speech-stats>div:first-child{padding-left:0;border-left:0}.speech-stats dt{font-size:11px;color:#698390;margin-bottom:7px}.speech-stats dd{font-size:21px;font-weight:550;letter-spacing:-.02em;color:#294c5d;white-space:nowrap;font-variant-numeric:tabular-nums;margin:0}.speech-stats dd small{font-size:11px;font-weight:400;letter-spacing:0;color:#728b98}.speech-stats p{font-size:10px;color:#8298a4;margin:5px 0 0}.speech-conclusion{font-size:12px;line-height:1.8;color:#5c7c8c;margin:17px 0 0;min-height:22px}.speech-reading{margin:18px 0 0;padding-top:14px;border-top:1px solid #d6e5ed;font-size:12px;color:#6a8593}.speech-reading summary{cursor:pointer;list-style-position:inside}.speech-reading p{font-size:13px;line-height:1.9;color:#4c6d7c;margin-bottom:0}.speech-foot{font-size:10px;color:#8ba0ab;line-height:1.8;margin:16px 0 0}.speech-foot a{color:inherit;text-underline-offset:3px}.speech-dialog button{transition:background .16s,transform .16s}.speech-dialog button:hover{filter:brightness(.96)}.speech-dialog button:active{transform:translateY(1px)}.speech-dialog button:focus-visible{outline:2px solid #198c9e;outline-offset:3px}.speech-dialog button:disabled{opacity:.5;cursor:wait}.speech-dialog[hidden]{display:none}
@media(max-width:780px){.header-actions>.speech-entry{grid-column:1/-1;min-height:34px!important;height:34px!important;background:#f8fdffb3!important;border-color:#cfe4ed!important}.speech-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:19px}.speech-sheet{padding:20px 18px}.speech-head h2{font-size:23px}.speech-stage{grid-template-columns:1fr;gap:14px;padding:16px 0}.speech-readout{display:grid;grid-template-columns:1fr auto;grid-template-rows:auto auto;align-items:baseline}.speech-readout>span{grid-column:1/-1}.speech-note{font-size:45px;grid-column:1;grid-row:2;margin:2px 0}.speech-hz{grid-column:2;grid-row:2;font-size:24px}.speech-signal{grid-column:1/-1;margin-top:0;min-height:20px}.speech-chart{height:230px}.speech-privacy{margin:12px 0}.speech-actions{margin:16px 0 20px}.speech-start{padding:11px 16px}.speech-stats{grid-template-columns:1fr 1.2fr 1fr}.speech-stats>div{padding:0 10px}.speech-stats dd{font-size:17px}.speech-stats p{font-size:9px;line-height:1.5}.speech-summary-head span{font-size:9px}.speech-chart-head{margin-bottom:4px}}
@media(prefers-reduced-motion:reduce){.speech-dialog button{transition:none}}
.speech-reading-panel{margin:0 0 16px;padding:14px 17px;background:#e5f2f780;border:1px solid #d4e5ed;border-radius:13px}.speech-reading-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;color:#547989;font-size:11px}.speech-reading-heading>div{display:flex;gap:12px;align-items:center}.speech-reading-heading small{font-size:10px;color:#7e9aa6}.speech-next-reading{flex-shrink:0;border:0;background:transparent;padding:5px 0 5px 8px;font:inherit;font-size:11px;color:#1a889b;cursor:pointer}.speech-next-reading span{font-size:16px;vertical-align:middle;margin-left:4px}.speech-reading-panel>p{font-size:17px;line-height:1.9;color:#294f61;margin:8px 0 0;letter-spacing:.03em;text-wrap:pretty}
.speech-feedback{margin-top:21px;padding-top:16px;border-top:1px solid #d6e5ed}.speech-feedback h4{font-size:13px;font-weight:600;color:#426878;margin:0 0 10px}.speech-zone-text{font-size:13px;color:#217c85;line-height:1.8;margin:0 0 4px}.speech-percentiles{font-size:11px;color:#758f9d;line-height:1.9;margin:0}.speech-percentiles:empty{display:none}.speech-color-scale{position:relative;margin:23px 3px 0;padding:13px 0 25px;min-height:16px}.speech-color-track{height:14px;position:relative}.speech-color-segment{position:absolute;top:0;height:14px;opacity:.42}.speech-color-segment:first-child{border-radius:4px 0 0 4px}.speech-color-segment:last-child{border-radius:0 4px 4px 0}.speech-color-segment.is-current{opacity:1;transform:scaleY(1.4);border-radius:4px;z-index:1;box-shadow:0 0 0 3px #f2f8fb,0 3px 8px #47687b20}.speech-color-marker{position:absolute;top:3px;height:27px;width:1px;background:#244a5d;z-index:2}.speech-color-marker[hidden]{display:none}.speech-color-marker b{position:absolute;bottom:100%;left:50%;transform:translateX(-50%);font:600 10px ui-monospace,monospace;color:#244a5d;white-space:nowrap;padding-bottom:2px}.speech-color-marker.is-edge-left b{left:0;transform:none}.speech-color-marker.is-edge-right b{left:auto;right:0;transform:none}.speech-scale-ticks{position:relative;font-size:9px;font-variant-numeric:tabular-nums;color:#829aa7;top:9px}.speech-scale-ticks span{position:absolute;transform:translateX(-50%)}.speech-reference-note{font-size:10px;color:#6e8998;line-height:1.9;margin:8px 0 0}.speech-reference-note span{color:#8a9faa}
@media(max-width:480px){.speech-reading-panel{padding:12px 13px;margin-bottom:12px}.speech-reading-panel>p{font-size:15px;line-height:1.85}.speech-reading-heading>div{gap:7px}.speech-reading-heading{font-size:10px}.speech-reading-heading small{font-size:9px}.speech-feedback{margin-top:16px}.speech-zone-text{font-size:12px}.speech-percentiles{font-size:10px}.speech-scale-ticks{font-size:8px}}
.speech-presets{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.speech-presets>span{font-size:11px;color:#698390;margin-right:4px}.speech-presets button{border:1px solid #d1e2eb;background:#ffffff88;color:#527381;border-radius:18px;min-height:36px;padding:6px 12px;font:inherit;font-size:12px;cursor:pointer}.speech-presets button[aria-pressed="true"]{background:#168c9e;border-color:#168c9e;color:white}.speech-processing>p{font-size:10px;color:#7893a0;margin:8px 0 14px}.speech-legend{display:flex;gap:14px;flex-wrap:wrap;font-size:10px;color:#627f8b;margin:6px 0}.speech-legend .removed{color:#c77d79}.speech-legend .ema{color:#168f9f}.speech-legend .ma{color:#668cd0}.speech-analysis{border-block:1px solid #d6e5ed;padding:12px 0;margin:0 0 22px;font-size:12px;color:#527381}.speech-analysis summary{cursor:pointer;min-height:26px}.speech-analysis summary small{float:right;font-size:10px;color:#8098a5}.speech-plot-toggles{display:flex;gap:18px;flex-wrap:wrap;margin:12px 0}.speech-plot-toggles label{display:flex;gap:5px;align-items:center}.speech-analysis input[type="checkbox"]{accent-color:#168c9e;width:17px;height:17px}.speech-setting{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin:18px 0 10px}.speech-setting select{max-width:100%;font:inherit;border:1px solid #cbdfe9;background:#f5fbfe;padding:7px;border-radius:8px;color:#355c6d}.speech-setting input[type="range"]{width:100%;accent-color:#168c9e;min-height:30px;margin:0;touch-action:pan-y}.speech-setting output{color:#168c9e;font-variant-numeric:tabular-nums}.speech-analysis p{font-size:10px;color:#8298a4;line-height:1.8}.speech-chart-empty{top:57%}@media(max-width:480px){.speech-presets{gap:5px}.speech-presets button{padding:6px 10px}.speech-presets>span{width:100%}}
.speech-replay{padding:13px 15px;margin:0 0 20px;border:1px solid #d1e3ec;border-radius:13px;background:#e8f4f880}.speech-replay[hidden]{display:none}.speech-replay-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;color:#416b7a}.speech-replay-heading span{font-size:10px;color:#8098a5}.speech-replay audio{display:block;width:100%;height:40px;margin-top:10px}.speech-replay p{font-size:10px;color:#7993a1;line-height:1.8;margin:7px 0 0}.speech-dialog[data-state="stopped"] .speech-chart{cursor:crosshair}
.speech-stats dd{font-size:17px;line-height:1.5;white-space:normal}.speech-stats dd small{font-size:11px;white-space:nowrap}.speech-result-note{color:#426d7e}.speech-range-notes{display:block;color:#426d7e!important}.speech-note{font-size:38px;letter-spacing:-.03em}.speech-hz{font-size:19px}@media(max-width:780px){.speech-note{font-size:30px}.speech-hz{font-size:19px}.speech-stats dd{font-size:15px}.speech-stats dd small{font-size:10px}.speech-stats>div{padding-inline:8px}.speech-stats>div:first-child{padding-left:0}}
