.voice-dock-inline{position:relative;z-index:20;padding:calc(8 * var(--cu, 1px)) calc(20 * var(--cu, 1px));background:#151d27;border-bottom:1px solid var(--edge)}.voice-dock{--u: var(--cu, 1px);font-size:calc(10 * var(--u));container:voice-dock / inline-size;position:relative;display:flex;align-items:center;gap:calc(10 * var(--u));width:100%;min-width:0;height:calc(52 * var(--u));color:var(--ink);font-family:var(--font-body)}.voice-dock:not(.is-live){justify-content:flex-end}.voice-dock svg{width:calc(18 * var(--u));height:calc(18 * var(--u));flex-shrink:0}.voice-toggle{display:inline-flex;gap:calc(9 * var(--u));align-items:center;justify-content:center;min-height:calc(44 * var(--u));border:1px solid #2c3b4b;border-radius:calc(8 * var(--u));color:var(--ink);background:#1b2632;font:600 calc(13 * var(--u)) var(--font-body);cursor:pointer;flex-shrink:0}.voice-start{padding:0 calc(16 * var(--u));order:3}.voice-more{width:calc(44 * var(--u));padding:0}.voice-toggle:hover,.voice-toggle[aria-expanded=true]{border-color:var(--blue)}.voice-dock button:focus-visible,.voice-panel button:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.voice-note,.voice-dock:not(.is-live) .voice-caption{order:1;margin:0;min-width:0;flex:0 1 auto;color:var(--ink-dim);font-size:calc(12.5 * var(--u));line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.voice-note{display:flex;gap:calc(6 * var(--u));align-items:center}.voice-note.phase-error{color:var(--incorrect)}.voice-dock:not(.is-live) .voice-note+.voice-caption{display:none}.voice-orb{display:grid;place-items:center;width:calc(44 * var(--u));height:calc(44 * var(--u));flex-shrink:0;padding:0;border-radius:50%;border:calc(2 * var(--u)) solid var(--blue);background:#4098f924;color:var(--ink);cursor:pointer}.voice-orb svg{width:calc(20 * var(--u));height:calc(20 * var(--u))}.voice-orb[aria-pressed=true],.voice-orb:disabled{border-color:#2c3b4b;border-style:dashed;background:#1b2632;color:var(--ink-dim)}.voice-orb:disabled{cursor:default}.voice-status{flex:1 1 0;min-width:calc(120 * var(--u));display:flex;flex-direction:column;justify-content:center}.voice-status strong{display:flex;align-items:center;gap:calc(6 * var(--u));min-width:0;font:600 calc(11.5 * var(--u)) / calc(16 * var(--u)) var(--font-body);color:#7ec3f7;white-space:nowrap}.voice-status.is-muted strong,.voice-status.phase-off strong{color:var(--ink-dim)}.voice-status.phase-error strong{color:var(--incorrect)}.voice-dock .voice-glyph{width:calc(14 * var(--u));height:calc(14 * var(--u))}.voice-glyph-spin{transform-origin:12px 12px;animation:voice-spin 1s linear infinite}@keyframes voice-spin{to{transform:rotate(360deg)}}.voice-caption,.voice-hint{margin:0;min-width:0;font-size:calc(13.5 * var(--u));line-height:calc(18 * var(--u));display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.voice-caption{color:var(--ink)}.voice-hint{color:var(--ink-dim)}.voice-replay-help{margin-left:calc(8 * var(--u));overflow:hidden;text-overflow:ellipsis;font-weight:400;color:var(--ink-dim)}.voice-replay-help.is-quiet,.voice-dock .vt-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.voice-controls{display:flex;align-items:center;gap:calc(6 * var(--u));flex-shrink:0}.voice-dock .voice-controls .btn{display:inline-flex;align-items:center;gap:calc(7 * var(--u));min-height:calc(44 * var(--u));padding:0 calc(12 * var(--u));border-radius:calc(8 * var(--u));font-size:calc(13 * var(--u));font-weight:600;white-space:nowrap}.voice-dock .voice-controls .btn.ghost{border-color:#2c3b4b;color:var(--ink);background:#1b2632}.voice-dock .voice-controls .btn:disabled{opacity:.42;cursor:default}.voice-controls .voice-stop{background:transparent;border:1px solid rgba(91,191,186,.55);color:#a7ddd7}.voice-controls .voice-stop:hover{background:#5bbfba1f}.vt-key{text-transform:none}@media (min-width: 1001px){.tutor-slot .vt-view{display:none}}@container voice-dock (max-width: 100em){.voice-controls .vt-extra{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.voice-controls .vt-extra+.vt-key{text-transform:capitalize}.voice-controls .btn.vt-tidy .vt-key{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.voice-dock .voice-controls .btn.vt-tidy{width:calc(44 * var(--u));padding:0;justify-content:center}}@container voice-dock (max-width: 70em){.voice-controls .vt-done-extra,.voice-controls .btn.ghost .vt-key{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.voice-dock .voice-controls .btn.ghost{width:calc(44 * var(--u));padding:0;justify-content:center}}.voice-panel{--u: 1px;position:absolute;z-index:60;top:calc(100% + 10px);right:0;width:min(440px,calc(100vw - 24px));max-height:min(72vh,620px);overflow-y:auto;padding:18px 20px 16px;background:#151d27;border:1px solid #2c3b4b;border-radius:14px;box-shadow:0 24px 60px #0000008c;color:var(--ink)}.voice-panel-heading{display:flex;justify-content:space-between;gap:16px}.voice-panel-heading strong{font-size:17px;font-weight:600}.voice-panel p{margin:5px 0 0;color:var(--ink-dim);font-size:13px;line-height:1.5}.voice-close{align-self:flex-start;width:40px;height:40px;margin:-8px -8px 0 0;border:0;border-radius:8px;background:none;color:var(--ink-dim);font-size:25px;cursor:pointer}.voice-panel .voice-status{margin:14px 0 10px}.voice-panel .voice-status strong{font-size:13px;line-height:18px}.voice-panel .voice-hint{display:block;font-size:13px;line-height:1.5}.voice-panel .voice-controls,.voice-sheet-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.voice-panel .voice-controls .btn,.voice-sheet-actions .btn{display:inline-flex;align-items:center;gap:8px;min-height:44px}.voice-said{margin-top:14px;padding:2px 0 2px 12px;border-left:2px solid var(--blue)}.voice-said h3{margin:0;font:600 12px var(--font-body);color:var(--ink-dim)}.voice-panel .voice-said p{margin-top:4px;color:var(--ink);font-size:15px;max-height:30vh;overflow-y:auto}.voice-panel .voice-replay-why{margin-top:10px}.voice-tone-picker{border:0;padding:0;margin:16px 0 0;min-width:0}.voice-tone-picker legend{padding:0;margin-bottom:8px;font-size:13px;font-weight:600}.voice-tone-options{display:flex;flex-wrap:wrap;gap:8px}.voice-tone-option{position:relative;display:flex;cursor:pointer;flex:1 1 110px}.voice-tone-option input{position:absolute;opacity:0;width:1px;height:1px}.voice-tone-option>span{display:flex;flex-direction:column;gap:3px;width:100%;min-height:44px;padding:9px 11px;box-sizing:border-box;border:1px solid #2c3b4b;border-radius:8px;background:#1b2632}.voice-tone-option strong{color:var(--ink);font-size:13px;font-weight:600}.voice-tone-option small{color:var(--ink-dim);font-size:11px;line-height:1.35}.voice-tone-option input:checked+span{border-color:var(--blue);background:#4098f91a;box-shadow:inset 0 0 0 1px var(--blue)}.voice-tone-option input:focus-visible+span{outline:2px solid var(--blue);outline-offset:3px}.voice-tone-option:hover>span{border-color:var(--blue)}.voice-panel .voice-tone-picker p{font-size:11.5px;margin-top:8px}.voice-panel .voice-disclosure{font-size:11px;margin-top:14px;padding-top:12px;border-top:1px solid #2c3b4b}.voice-panel .voice-blocked{color:var(--pending)}@media (prefers-reduced-motion: reduce){.voice-glyph-spin{animation:none}}@media (max-width: 760px){.voice-dock{flex-wrap:wrap;height:auto;min-height:calc(52 * var(--u));row-gap:calc(6 * var(--u))}.voice-dock.has-header-help{min-height:calc(102 * var(--u))}.voice-dock.is-live .voice-status{flex-basis:calc(100% - 60 * var(--u));height:calc(52 * var(--u))}.voice-dock .voice-controls{flex-wrap:wrap;width:100%}.voice-panel{position:fixed;top:auto;right:12px;left:12px;bottom:calc(12px + env(safe-area-inset-bottom,0px));width:auto;max-height:70vh}}.voice-annotations{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:4;overflow:hidden}.voice-annotation-shape{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;fill:none;stroke:#1474c8;stroke-width:2.7;stroke-linecap:round;stroke-linejoin:round}.voice-annotation-text{position:absolute;color:#1464a8;font:25px var(--font-hand);background:#f6f1e7f0;border-radius:4px;padding:3px 7px;overflow-wrap:anywhere}.voice-annotation-text mjx-container{margin:0!important}.voice-visual-frame{position:absolute}.voice-bar-model{display:block;width:100%;height:100%;color:#214c69;fill:currentColor;font-family:var(--font-body, sans-serif)}.voice-bar-eyebrow{font-size:12px;font-weight:700;letter-spacing:2px;fill:#467492}.voice-bar-title{font-size:23px;font-weight:600}.voice-bar-legend{font-size:16px}.voice-bar-group{font-size:14px}.voice-bar-row{animation:voice-bar-appear .675s ease-out both;transform-origin:110px center}@keyframes voice-bar-appear{0%{opacity:0;clip-path:inset(0 100% 0 0)}to{opacity:1;clip-path:inset(0)}}@media (prefers-reduced-motion: reduce){.voice-bar-row{animation:none}}.voice-tool-diagram [data-speech-ranges] .katex-html [style*="color: rgb(136, 104, 0)"],.voice-tool-diagram [data-speech-ranges] .katex-html [style*="color:#886800"],.voice-tool-diagram [data-speech-ranges] .katex-html [style*="color: #886800"]{background:#ffe078;border-radius:3px;box-shadow:0 0 0 2px #ffe078}.board-help-slot{display:inline-flex}.board-help-slot[hidden]{display:none}.board-help{--u: var(--cu, 1px);width:calc(132 * var(--u));height:calc(34 * var(--u));min-height:0;padding:0 calc(12 * var(--u));gap:calc(7 * var(--u));border-radius:999px;border-color:#4098f973;background:#4098f91f}.board-help svg{width:calc(18 * var(--u));height:calc(18 * var(--u));flex:none}.board-help:hover:not(:disabled){border-color:var(--blue);background:#4098f933}.board-help:disabled{opacity:.5;cursor:default}.board-help:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.voice-dock.has-header-help:not(.is-live):not(.has-reference){display:none}.tutor-slot:has(.voice-dock.has-header-help:not(.is-live):not(.has-reference)){display:none}.voice-activity{display:inline-flex;align-items:center;justify-content:center;gap:3px;width:25px;height:22px;flex:0 0 25px;color:currentColor}.voice-activity i{display:block;background:currentColor;border-radius:3px}.voice-activity.is-thinking i{width:4px;height:4px;animation:tutor-thinking 1.35s ease-in-out infinite}.voice-activity.is-thinking i:nth-child(2){animation-delay:.18s}.voice-activity.is-thinking i:nth-child(3){animation-delay:.36s}.voice-activity.is-speaking i{width:3px;height:16px;animation:tutor-speaking .72s ease-in-out infinite alternate;transform-origin:center}.voice-activity.is-speaking i:nth-child(1),.voice-activity.is-speaking i:nth-child(5){height:8px;animation-delay:-.3s}.voice-activity.is-speaking i:nth-child(2){height:12px;animation-delay:-.55s}.voice-activity.is-speaking i:nth-child(4){height:12px;animation-delay:-.15s}@keyframes tutor-thinking{0%,65%,to{transform:translateY(0);opacity:.4}30%{transform:translateY(-4px);opacity:1}}@keyframes tutor-speaking{0%{transform:scaleY(.35)}to{transform:scaleY(1)}}@media (prefers-reduced-motion: reduce){.voice-activity i,.voice-glyph-spin{animation:none!important;transform:none;opacity:1}}@media (max-width: 1000px){.voice-dock.has-header-help:not(.is-live):not(.has-reference){display:flex}.tutor-slot:has(.voice-dock.has-header-help:not(.is-live):not(.has-reference)){display:flex}}.voice-dock.has-reference{display:flex}.voice-dock.has-reference .voice-controls{order:3}.voice-dock.has-reference .voice-note{flex:1 1 0}.tutor-slot:has(.voice-dock.has-reference){display:flex}.voice-dismiss{width:calc(44 * var(--u));min-height:calc(44 * var(--u));font-size:calc(24 * var(--u));background:transparent;color:var(--ink-dim)}
