.voice-visualizer{width:var(--visualizer-size);height:var(--visualizer-size);flex:none;place-items:center;display:grid}.voice-visualizer .lk-audio-bar-visualizer{--lk-fg:var(--accent-active);--lk-va-bg:#b8dff1;justify-content:center;align-items:center;gap:8px;width:100%;height:50%;display:flex}.voice-visualizer .lk-audio-bar{background:var(--lk-va-bg);border-radius:999px;flex:0 0 12px;height:8%;min-height:4px;transition:height 80ms linear,background-color .14s;display:block}.voice-visualizer .lk-audio-bar[data-lk-highlighted=true]{background:var(--lk-fg)}.voice-visualizer[data-state=idle] .lk-audio-bar{background:var(--accent-active)}.voice-visualizer[data-state=error] .lk-audio-bar{background:var(--fg-muted)}.voice-visualizer[data-bars="7"] .lk-audio-bar{flex-basis:8px}.voice-visualizer[data-bars="15"] .lk-audio-bar-visualizer{gap:4px}.voice-visualizer[data-bars="15"] .lk-audio-bar{flex-basis:4px}.voice-visualizer[data-reduced-motion=true] .lk-audio-bar{background:var(--accent-active);height:16%;transition:none}[data-theme=dark] .voice-visualizer .lk-audio-bar-visualizer{--lk-va-bg:#234d62}.voice-stage.voice-surface{border-left:1px solid var(--border-subtle,#dde3e0);flex-direction:column;justify-content:center;align-self:stretch;align-items:center;gap:12px;min-width:0;padding:24px 0 32px 20px;display:flex;overflow:visible}.voice-stage.voice-surface>.voice-visualizer-frame{width:var(--voice-frame);height:var(--voice-frame);flex:none;grid-area:visualizer;place-items:center;max-width:none;margin:0;display:grid;overflow:visible}.voice-stage.voice-surface>.voice-details{flex-direction:column;grid-area:details;justify-content:center;align-items:center;gap:16px;width:100%;min-width:0;display:flex}.voice-stage .voice-stage__state-line{flex-direction:column;align-items:center;gap:5px;width:100%;min-width:0;display:flex}.voice-stage.voice-surface .voice-status{text-align:center;overflow-wrap:anywhere;flex-direction:column;justify-content:center;align-items:center;gap:4px;min-height:0;display:flex}.voice-stage.voice-surface .voice-status>strong{color:var(--fg-primary,#202824);letter-spacing:0;font-size:15px;font-weight:600;line-height:1.35}.voice-stage.voice-surface .voice-status>span{max-width:240px;color:var(--fg-muted,#66756d);font-size:12px;line-height:1.4}.voice-stage .voice-stage__timer{color:var(--fg-muted,#66756d);font-size:11px;line-height:1.4}.voice-stage.voice-surface .voice-controls{flex-wrap:wrap;justify-content:center;align-items:center;gap:8px;padding:0;display:flex}.voice-stage.voice-surface .voice-controls>button{letter-spacing:0;white-space:nowrap;border-radius:8px;justify-content:center;align-items:center;gap:8px;height:44px;min-height:44px;padding:0 16px;font-size:13px;font-weight:600;line-height:1;transition:background .14s,border-color .14s;display:inline-flex}.voice-stage.voice-surface .voice-controls>.voice-stage__start{background:var(--accent);color:var(--fg-on-accent);border:1px solid var(--accent)}.voice-stage.voice-surface .voice-controls>.voice-stage__start:hover:not(:disabled){background:var(--accent-hover)}.voice-stage.voice-surface .voice-controls>.voice-stage__end{color:#a33b33;background:#fae9e4;border:1px solid #edc3b8}.voice-stage.voice-surface .voice-controls>.voice-stage__end:hover:not(:disabled){background:#f6d8ce}.voice-stage.voice-surface .voice-controls>.voice-stage__mute{width:44px;color:var(--fg-primary,#202824);background:var(--bg-elevated,#fff);border:1px solid var(--border-strong,#c7d1cb);padding:0;position:relative}.voice-stage__microphone-signal{inset-inline:8px;justify-content:center;align-items:center;gap:2px;height:8px;display:flex;position:absolute;bottom:3px}.voice-stage__microphone-signal .lk-audio-bar{background:var(--accent-active);border-radius:2px;flex:0 0 2px;min-height:1px;transition:height 80ms linear}.voice-stage.voice-surface .voice-controls>.voice-stage__mute[aria-pressed=true]{background:var(--bg-subtle,#edf0ef)}.voice-stage.voice-surface .voice-controls>button:disabled{cursor:not-allowed;opacity:.5}.voice-stage.voice-surface .voice-stage__audio{min-height:44px;color:var(--accent-fg,#23715a);text-underline-offset:3px;border-radius:6px;justify-content:center;align-items:center;margin:-8px 0 0;padding:8px 12px;font-size:12px;line-height:1.3;text-decoration:underline;display:inline-flex}.voice-stage.voice-surface .voice-stage__audio[hidden],.voice-stage.voice-surface .voice-stage__audio:empty{display:none}.voice-stage .voice-stage__spinner{animation:1.2s linear infinite voice-stage-spin}@keyframes voice-stage-spin{to{transform:rotate(360deg)}}@media (width<=720px){.voice-stage.voice-surface{grid-template-columns:var(--voice-frame) minmax(0, 1fr);border-left:0;border-bottom:1px solid var(--border-subtle,#dde3e0);flex:none;order:1;grid-template-rows:auto;grid-template-areas:"visualizer details";justify-content:normal;align-items:center;gap:12px;margin:0 0 12px;padding:6px 0 12px;display:grid}.voice-stage.voice-surface>.voice-details{align-items:flex-start;gap:10px}.voice-stage .voice-stage__state-line{flex-direction:row;justify-content:space-between;align-items:center;gap:6px}.voice-stage.voice-surface .voice-status{text-align:left;align-items:flex-start}.voice-stage.voice-surface .voice-status>strong{font-size:13px}.voice-stage.voice-surface .voice-status>span{font-size:11px}.voice-stage.voice-surface .voice-controls{justify-content:flex-start;gap:6px}.voice-stage.voice-surface .voice-controls>button{gap:6px;padding-inline:12px;font-size:12px}.voice-stage.voice-surface .voice-controls>.voice-stage__mute{padding:0}.voice-stage.voice-surface .voice-stage__audio{margin:-6px 0 0;padding:4px 0}.voice-stage .voice-stage__timer{font-size:10px}.voice-visualizer .lk-audio-bar-visualizer{gap:5px}.voice-visualizer .lk-audio-bar{flex-basis:8px}.voice-visualizer[data-bars="7"] .lk-audio-bar{flex-basis:5px}.voice-visualizer[data-bars="15"] .lk-audio-bar-visualizer{gap:2px}.voice-visualizer[data-bars="15"] .lk-audio-bar{flex-basis:2px}.voice-stage.voice-surface[data-compact=true]{margin-bottom:6px;padding-block:2px 8px}.voice-stage.voice-surface[data-compact=true]>.voice-details{gap:6px}}@media (prefers-reduced-motion:reduce){.voice-stage__microphone-signal{display:none}.voice-stage .voice-stage__spinner{animation:none}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg-base:#fff;--bg-subtle:#f2f3f4;--bg-elevated:#fff;--bg-elevated-2:#fafafa;--bg-overlay:#fff;--bg-inset:#f3f4f4;--bg-component:#fff;--bg-component-hover:#f0f2f2;--bg-component-active:#eaf5fc;--border-hairline:#eeeeef;--border-subtle:#dfe2e3;--border-strong:#c8cdcf;--highlight-top:#fffc;--scrollbar-thumb:#c5ccd2;--scrollbar-thumb-hover:#9caab5;--fg-primary:#222528;--fg-secondary:#4b5258;--fg-muted:#687077;--fg-faint:#777f85;--fg-on-accent:#071f30;--accent:#2ba9e2;--accent-hover:#52b9e8;--accent-active:#2297ce;--accent-fg:#086791;--accent-soft:#2ba9e214;--accent-soft-strong:#2ba9e224;--accent-border:#2ba9e259;--accent-glow:transparent;--success:#23715a;--success-fg:#23715a;--success-bg:#e7f3ed;--coral-fg:#687077;--coral-soft:#f2f3f4;--warning:#a4781a;--warning-fg:#855f12;--warning-bg:#fbf2db;--danger:#b13f4c;--danger-hover:#963140;--danger-fg:#a53342;--danger-bg:#fbecef;--font-sans:"Outfit", "Helvetica Neue", sans-serif;--font-mono:"JetBrains Mono", ui-monospace, monospace;--fw-regular:400;--fw-medium:500;--fw-semibold:600;--fw-bold:700;--text-display:30px;--text-h1:22px;--text-h2:18px;--text-h3:16px;--text-body:14px;--text-sm:13px;--text-label:12px;--text-caption:11px;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-8:32px;--space-10:40px;--space-12:48px;--radius-sm:6px;--radius-md:8px;--radius-lg:8px;--radius-xl:8px;--radius-full:9999px;--shadow-sm:0 1px 3px #14281e14;--shadow-md:0 8px 20px #14281e14;--shadow-lg:0 12px 40px #14281e1f;--shadow-overlay:0 16px 64px #14281e29;--ring-focus:0 0 0 2px var(--bg-base), 0 0 0 4px var(--accent);--dur-instant:80ms;--dur-fast:.14s;--dur-base:.22s;--dur-slow:.34s;--ease-out:cubic-bezier(.16, 1, .3, 1);--ease-out-quart:cubic-bezier(.25, 1, .5, 1);--ease-in-out:cubic-bezier(.65, 0, .35, 1);--ease-spring:cubic-bezier(.34, 1.56, .64, 1);--ease-in:cubic-bezier(.4, 0, 1, 1)}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg-base:#18191b;--bg-subtle:#232528;--bg-elevated:#1e2022;--bg-elevated-2:#1b1d1f;--bg-overlay:#1e2022;--bg-inset:#191b1d;--bg-component:#232528;--bg-component-hover:#2c3033;--bg-component-active:#233b49;--border-hairline:#2b2e30;--border-subtle:#3b4043;--border-strong:#535b60;--fg-primary:#f0f1f2;--fg-secondary:#c3c7ca;--fg-muted:#a0a7ac;--fg-faint:#919a9f;--accent:#2ba9e2;--accent-hover:#52b9e8;--accent-active:#2297ce;--accent-fg:#6fc9f0;--fg-on-accent:#071f30;--accent-soft:#2ba9e21a;--accent-soft-strong:#2ba9e22e;--accent-border:#2ba9e266;--success-fg:#8ad2b5;--success-bg:#243b31;--coral-fg:#a0a7ac;--coral-soft:#232528;--warning-fg:#e6c978;--warning-bg:#352e1c;--danger-fg:#f29ba8;--danger-bg:#3a2329;--scrollbar-thumb:#4d565e;--scrollbar-thumb-hover:#73828e}*,:before,:after{box-sizing:border-box}html,body,#root{height:100%}body{min-width:320px;font-family:var(--font-sans);font-size:var(--text-body);font-weight:var(--fw-regular);color:var(--fg-primary);background:var(--bg-base);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizelegibility;font-synthesis:none;letter-spacing:0;font-feature-settings:"cv05", "ss01";margin:0;line-height:1.55}h1,h2,h3,h4,p{margin:0}h1{font-size:var(--text-h1);font-weight:var(--fw-semibold);letter-spacing:0;line-height:1.2}h2{font-size:var(--text-h2);font-weight:var(--fw-semibold);letter-spacing:0;line-height:1.3}h3{font-size:var(--text-h3);font-weight:var(--fw-semibold);letter-spacing:0;line-height:1.4}a{color:var(--accent-fg);text-decoration:none}button,input,select,textarea{font:inherit;color:inherit}button{cursor:pointer;background:0 0;border:0;margin:0}code,kbd{font-family:var(--font-mono)}::selection{background:var(--accent-soft-strong);color:var(--fg-primary)}::view-transition-old(root){animation-duration:.52s;animation-timing-function:var(--ease-out-quart);mix-blend-mode:normal}::view-transition-new(root){animation-duration:.52s;animation-timing-function:var(--ease-out-quart);mix-blend-mode:normal}::view-transition-old(root){animation:none}:root.theme-transitioning::view-transition-new(root){animation-name:theme-reveal}@keyframes theme-reveal{0%{clip-path:circle(0 at var(--theme-transition-x) var(--theme-transition-y))}to{clip-path:circle(var(--theme-transition-radius) at var(--theme-transition-x) var(--theme-transition-y))}}.tnum,time,.metric,.mono{font-variant-numeric:tabular-nums}.mono{font-family:var(--font-mono)}.eyebrow{font-size:var(--text-caption);font-weight:var(--fw-semibold);letter-spacing:0;text-transform:uppercase;color:var(--fg-muted)}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}:focus{outline:none}:focus-visible{box-shadow:var(--ring-focus);border-radius:var(--radius-sm);outline:none}*{scrollbar-width:thin;scrollbar-color:var(--scrollbar-thumb) transparent}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-track{background:0 0}::-webkit-scrollbar-thumb{border-radius:var(--radius-full);background:var(--scrollbar-thumb);background-clip:padding-box;border:3px solid #0000}::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-thumb-hover);background-clip:padding-box}.no-scrollbar{scrollbar-width:none}.no-scrollbar::-webkit-scrollbar{display:none}@keyframes pop-in{0%{opacity:0;transform:translateY(6px)scale(.98)}to{opacity:1;transform:none}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes dialog-in{0%{opacity:0;transform:translateY(10px)scale(.97)}to{opacity:1;transform:none}}@keyframes toast-in{0%{opacity:0;transform:translateY(14px)scale(.97)}to{opacity:1;transform:none}}@keyframes rise-in{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}@keyframes pulse-soft{0%,to{opacity:1}50%{opacity:.45}}@keyframes spin{to{transform:rotate(360deg)}}.rise{animation:rise-in var(--dur-base) var(--ease-out) both}@media (prefers-reduced-motion:reduce){::view-transition-old(root){animation:none!important}::view-transition-new(root){animation:none!important}*,:before,:after{scroll-behavior:auto!important;transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important}}.btn{justify-content:center;align-items:center;gap:var(--space-2);height:38px;padding:0 var(--space-4);border-radius:var(--radius-md);font-size:var(--text-body);font-weight:var(--fw-medium);white-space:nowrap;color:var(--fg-primary);transition:background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-instant) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);border:1px solid #0000;line-height:1;display:inline-flex}.btn:active:not(:disabled){transform:translateY(.5px)scale(.99)}.btn:disabled{opacity:.42;cursor:not-allowed}.btn--sm{height:32px;padding:0 var(--space-3);font-size:var(--text-sm)}.btn--lg{height:46px;padding:0 var(--space-6);font-size:var(--text-h3)}.btn--block{width:100%}.btn--primary{color:var(--fg-on-accent);background:var(--accent);font-weight:var(--fw-semibold);box-shadow:inset 0 1px #ffffff38}.btn--primary:hover:not(:disabled){background:var(--accent-hover)}.btn--secondary{color:var(--fg-primary);background:var(--bg-component);border-color:var(--border-subtle)}.btn--secondary:hover:not(:disabled){background:var(--bg-component-hover);border-color:var(--border-strong)}.btn--ghost{color:var(--fg-secondary);background:0 0}.btn--ghost:hover:not(:disabled){color:var(--fg-primary);background:var(--bg-component-hover)}.btn--danger{color:#fff;background:var(--danger);font-weight:var(--fw-semibold);box-shadow:inset 0 1px #ffffff2e}.btn--danger:hover:not(:disabled){background:var(--danger-hover)}.btn--cta{color:var(--fg-on-accent);background:var(--accent);box-shadow:inset 0 1px 0 #ffffff40, 0 0 0 0 var(--accent-glow);font-weight:var(--fw-semibold)}.btn--cta:hover:not(:disabled){background:var(--accent-hover);box-shadow:inset 0 1px 0 #ffffff40, 0 6px 26px -6px var(--accent-glow)}.iconbtn{border-radius:var(--radius-md);width:38px;height:38px;color:var(--fg-secondary);transition:background var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), transform var(--dur-instant) var(--ease-out);background:0 0;border:1px solid #0000;justify-content:center;align-items:center;display:inline-flex}.iconbtn:hover:not(:disabled){color:var(--fg-primary);background:var(--bg-component-hover)}.iconbtn:active:not(:disabled){transform:scale(.94)}.iconbtn--bordered{border-color:var(--border-subtle);background:var(--bg-component)}.iconbtn--bordered:hover:not(:disabled){border-color:var(--border-strong)}.iconbtn:disabled{opacity:.42;cursor:not-allowed}.iconbtn--active{color:var(--accent-fg);background:var(--accent-soft)}.field{gap:var(--space-2);display:grid}.field__label{font-size:var(--text-label);font-weight:var(--fw-medium);color:var(--fg-secondary)}.field__hint{font-size:var(--text-caption);color:var(--fg-muted)}.input,.textarea,.select{width:100%;padding:0 var(--space-3);height:38px;color:var(--fg-primary);background:var(--bg-inset);border:1px solid var(--border-subtle);border-radius:var(--radius-md);font-size:var(--text-sm);transition:border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out)}.textarea{height:auto;padding:var(--space-3);resize:vertical;line-height:1.6}.input::placeholder,.textarea::placeholder{color:var(--fg-muted)}.input:hover,.textarea:hover,.select:hover{border-color:var(--border-strong)}.input:focus,.textarea:focus,.select:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.input--error,.textarea--error{border-color:var(--danger);box-shadow:0 0 0 3px var(--danger-bg)}.select{appearance:none;cursor:pointer;padding-right:var(--space-8);background-image:linear-gradient(45deg, transparent 50%, var(--fg-muted) 50%), linear-gradient(135deg, var(--fg-muted) 50%, transparent 50%);background-position:calc(100% - 16px) 51%,calc(100% - 11px) 51%;background-repeat:no-repeat;background-size:5px 5px,5px 5px}.input:disabled,.textarea:disabled,.select:disabled{opacity:.5;cursor:not-allowed}.pill{align-items:center;gap:var(--space-2);height:26px;padding:0 var(--space-3);border:1px solid var(--border-subtle);border-radius:var(--radius-full);font-size:var(--text-caption);font-weight:var(--fw-semibold);white-space:nowrap;color:var(--fg-secondary);background:var(--bg-component);display:inline-flex}.pill--ok{color:var(--success-fg);border-color:var(--success-bg);background:var(--success-bg)}.pill--accent{color:var(--accent-fg);border-color:var(--accent-border);background:var(--accent-soft)}.pill--warn{color:var(--warning-fg);border-color:var(--warning-bg);background:var(--warning-bg)}.pill--error{color:var(--danger-fg);border-color:var(--danger-bg);background:var(--danger-bg)}.pill--idle{color:var(--fg-muted)}.dot{border-radius:var(--radius-full);background:var(--fg-faint);flex:none;width:7px;height:7px}.dot--ok{background:var(--success-fg);box-shadow:0 0 0 3px var(--success-bg)}.dot--accent{background:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}.dot--warn{background:var(--warning);box-shadow:0 0 0 3px var(--warning-bg)}.dot--error{background:var(--danger);box-shadow:0 0 0 3px var(--danger-bg)}.dot--pulse{animation:pulse-soft 1.6s var(--ease-in-out) infinite}.switch{border-radius:var(--radius-full);background:var(--bg-component-active);border:1px solid var(--border-subtle);width:40px;height:23px;transition:background var(--dur-base) var(--ease-out);flex:none;position:relative}.switch:after{content:"";border-radius:var(--radius-full);width:17px;height:17px;box-shadow:var(--shadow-sm);transition:transform var(--dur-base) var(--ease-spring);background:#fff;position:absolute;top:2px;left:2px}.switch[aria-checked=true]{background:var(--accent);border-color:var(--accent)}.switch[aria-checked=true]:after{transform:translate(17px)}.switch:disabled{opacity:.45;cursor:not-allowed}.tabs{align-items:center;gap:var(--space-5);border-bottom:1px solid var(--border-hairline);display:flex}.tab{height:42px;padding:0 var(--space-1);color:var(--fg-muted);font-size:var(--text-sm);font-weight:var(--fw-medium);white-space:nowrap;transition:color var(--dur-fast) var(--ease-out);position:relative}.tab:hover{color:var(--fg-secondary)}.tab[aria-selected=true]{color:var(--fg-primary)}.tab[aria-selected=true]:after{content:"";border-radius:var(--radius-full);background:var(--accent);height:2px;box-shadow:0 0 12px var(--accent-glow);animation:fade-in var(--dur-fast) var(--ease-out);position:absolute;inset:auto 0 -1px}.segmented{border:1px solid var(--border-hairline);border-radius:var(--radius-md);background:var(--bg-inset);gap:2px;padding:3px;display:inline-flex}.segmented__item{padding:6px var(--space-4);color:var(--fg-muted);font-size:var(--text-sm);font-weight:var(--fw-medium);transition:color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out);border-radius:6px}.segmented__item:hover{color:var(--fg-secondary)}.segmented__item[data-active=true]{color:var(--fg-primary);background:var(--bg-component-active);box-shadow:var(--shadow-sm), inset 0 1px 0 var(--highlight-top)}.card{border:1px solid var(--border-hairline);border-radius:var(--radius-lg);background:var(--bg-elevated);box-shadow:var(--shadow-sm), inset 0 1px 0 var(--highlight-top)}.kbd{border:1px solid var(--border-hairline);background:var(--bg-component);height:19px;color:var(--fg-muted);font-size:var(--text-caption);border-radius:5px;align-items:center;padding:0 6px;display:inline-flex}.spinner{border:2px solid var(--border-strong);border-top-color:var(--accent);border-radius:var(--radius-full);width:15px;height:15px;animation:.7s linear infinite spin}.tooltip{z-index:80;padding:5px var(--space-2);border:1px solid var(--border-subtle);border-radius:var(--radius-sm);background:var(--bg-overlay);color:var(--fg-primary);font-size:var(--text-caption);font-weight:var(--fw-medium);white-space:nowrap;pointer-events:none;box-shadow:var(--shadow-md);animation:pop-in var(--dur-fast) var(--ease-out);position:absolute}.dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);animation:fade-in var(--dur-base) var(--ease-out);background:#0305089e}.dialog{width:calc(100% - 32px);color:var(--fg-primary);border:1px solid var(--border-subtle);border-radius:var(--radius-xl);background:var(--bg-overlay);max-width:520px;max-height:calc(100dvh - 48px);box-shadow:var(--shadow-overlay), inset 0 1px 0 var(--highlight-top);animation:dialog-in var(--dur-slow) var(--ease-out);margin:auto;padding:0;overflow:hidden}.dialog--wide{max-width:760px}.dialog[open]{flex-direction:column;display:flex}.dialog__head{justify-content:space-between;align-items:flex-start;gap:var(--space-4);padding:var(--space-5) var(--space-6);border-bottom:1px solid var(--border-hairline);flex:none;display:flex}.dialog__title{gap:var(--space-1);display:grid}.dialog__title p{font-size:var(--text-sm);color:var(--fg-muted)}.dialog__body{overscroll-behavior:contain;min-height:0;padding:var(--space-6);gap:var(--space-4);display:grid;overflow-y:auto}.dialog__foot{justify-content:flex-end;gap:var(--space-2);padding:var(--space-4) var(--space-6);border-top:1px solid var(--border-hairline);flex:none;display:flex}.toast-viewport{z-index:120;right:var(--space-5);bottom:var(--space-5);gap:var(--space-2);width:min(380px,100vw - 32px);display:grid;position:fixed}.toast{gap:var(--space-3);padding:var(--space-3) var(--space-4);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);background:var(--bg-overlay);box-shadow:var(--shadow-lg), inset 0 1px 0 var(--highlight-top);animation:toast-in var(--dur-base) var(--ease-out);grid-template-columns:18px 1fr auto;align-items:start;display:grid}.toast[data-leaving=true]{animation:fade-in var(--dur-fast) var(--ease-in) reverse}.toast__icon{color:var(--fg-muted);margin-top:1px}.toast--ok .toast__icon{color:var(--success-fg)}.toast--error .toast__icon{color:var(--danger-fg)}.toast--warn .toast__icon{color:var(--warning-fg)}.toast__body{gap:2px;min-width:0;display:grid}.toast__title{font-size:var(--text-sm);font-weight:var(--fw-semibold);color:var(--fg-primary)}.toast__msg{font-size:var(--text-label);color:var(--fg-secondary);overflow-wrap:anywhere}.toast__close{border-radius:var(--radius-sm);width:22px;height:22px;color:var(--fg-muted);justify-content:center;align-items:center;display:inline-flex}.toast__close:hover{color:var(--fg-primary);background:var(--bg-component-hover)}.app{height:var(--app-height,100dvh);flex-direction:column;display:flex;overflow:hidden}.skip-link{z-index:100;background:var(--bg-elevated);padding:10px;position:absolute;top:-60px;left:12px}.skip-link:focus{top:12px}.topbar{border-bottom:1px solid var(--border-subtle);background:var(--bg-elevated);flex:0 0 60px;justify-content:space-between;align-items:center;gap:12px;padding:0 24px;display:flex}.brand{align-items:center;gap:16px;display:flex}.brand-logo{object-fit:contain;width:117px;height:28px;display:block}.empty-brand span{color:var(--accent-fg)}:root[data-theme=dark] .brand-logo{background:#fff;border-radius:4px;width:127px;height:34px;padding:3px 5px}.brand>span{color:var(--fg-muted);border-left:1px solid var(--border-subtle);padding-left:16px;font-size:13px}.topbar__right{align-items:center;gap:6px;min-width:0;display:flex}.connection-status{align-items:center;gap:8px;min-width:0;padding:0 12px 0 0;font-size:12px;display:flex}.connection-status>span:last-child{text-overflow:ellipsis;white-space:nowrap;max-width:230px;overflow:hidden}.connection-status[data-tone=ok]{color:var(--success-fg)}.setup-strip{border-bottom:1px solid var(--border-subtle);background:var(--bg-elevated-2);flex:none;grid-template-columns:auto minmax(150px,220px) minmax(180px,250px) minmax(200px,310px) auto;justify-content:start;align-items:end;gap:18px;padding:12px 24px 14px;display:grid}.setup-control{flex-direction:column;align-items:stretch;gap:5px;min-width:0;display:flex}.setup-label{color:var(--fg-secondary);flex:none;font-size:11px;font-weight:600;line-height:16px}.setup-control .segmented{height:36px}.setup-control .segmented__item{padding:0 14px}.setup-control .segmented__item[data-active=true]{color:var(--accent-fg);background:var(--accent-soft-strong);box-shadow:none}.setup-provider select{background:var(--bg-elevated);border-radius:6px;min-width:0;height:36px;padding-block:4px;font-size:13px}.setup-actions{align-self:end;align-items:center;gap:4px;display:flex}.setup-actions .iconbtn{width:36px;height:36px}.setup-prompt .btn,.setup-actions .btn{white-space:nowrap;height:36px;min-height:36px}.contract-notice{background:var(--warning-bg);color:var(--warning-fg);overflow-wrap:anywhere;flex:none;padding:8px 24px;font-size:12px}.workspace{flex:1;min-height:0;padding:0 24px}.playground{grid-template-columns:minmax(0,1fr) 320px;width:100%;height:100%;display:grid}.call-area{border:0;min-width:0;min-height:0;margin:0;padding:0;display:grid}.conversation{flex-direction:column;min-width:0;min-height:0;padding-right:24px;display:flex;position:relative}.conversation-heading{border-bottom:1px solid var(--border-hairline);flex:none;justify-content:space-between;align-items:center;gap:12px;padding:18px 0 14px;display:flex}.conversation-heading>div:first-child{min-width:0}.conversation-heading h1{overflow-wrap:anywhere;font-size:16px;line-height:1.4}.conversation-heading>div>span{color:var(--fg-muted);font-size:11px}.conversation-actions{flex:none;gap:4px;display:flex}.conversation-scroll{overscroll-behavior:contain;scrollbar-gutter:stable;flex:1;min-height:0;overflow:hidden auto}.conversation-turns{padding:20px 12px 12px 0}.conversation-turns:empty{display:none}.message{margin-bottom:24px}.message--caller{background:var(--bg-subtle);border-radius:8px;max-width:min(88%,780px);margin-left:auto;padding:12px 16px}.message--agent{max-width:920px;padding:4px 0}.message--agent .message-meta strong{color:var(--accent-fg)}.message--caller .message-meta strong{color:var(--coral-fg)}.message-meta{align-items:center;gap:10px;margin-bottom:7px;font-size:12px;display:flex}.message-meta strong{font-weight:600}.message-meta time{color:var(--fg-muted);font-size:11px}.message-meta>span{color:var(--accent-fg);font-size:11px}.message p{white-space:pre-wrap;overflow-wrap:anywhere;font-size:14px;line-height:1.65}.message--streaming p{color:var(--fg-secondary)}.response-pending,.saving-status{color:var(--fg-muted);align-items:center;gap:8px;padding:8px 0;font-size:12px;display:flex}.thread-empty{height:100%;min-height:0;color:var(--fg-muted);flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:16px;display:flex}.thread-empty h2{font-size:15px;font-weight:500}.empty-brand{color:var(--fg-primary);font-size:36px;font-weight:600;line-height:1}.composer-area{flex:none;padding-top:12px}.composer{background:var(--bg-elevated);border:1px solid var(--border-strong);border-radius:8px;align-items:flex-end;gap:12px;padding:12px;display:flex}.composer:focus-within{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent-soft)}.composer textarea{resize:vertical;min-width:0;height:54px;max-height:min(120px,20dvh);box-shadow:none;background:0 0;border:0;outline:0;flex:1;padding:4px;line-height:1.6}.composer textarea::placeholder{color:var(--fg-muted)}.composer textarea:disabled{opacity:.6}.composer .composer-send{background:var(--fg-primary);height:36px;color:var(--bg-elevated);border-radius:6px;flex:0 0 36px}.composer .composer-send:hover:not(:disabled){background:var(--accent);color:var(--fg-on-accent)}.composer-status{color:var(--fg-muted);justify-content:space-between;min-height:30px;padding:6px 2px;font-size:11px;display:flex}.latest-message{z-index:1;flex:none;align-self:center;height:0;position:relative}.latest-message>button{background:var(--bg-elevated);border:1px solid var(--border-subtle);box-shadow:var(--shadow-sm);border-radius:6px;align-items:center;gap:5px;padding:6px 12px;font-size:12px;display:flex;transform:translateY(-100%)}.inline-error{color:var(--danger-fg);background:var(--danger-bg);border-radius:6px;align-items:center;gap:8px;margin-bottom:8px;padding:8px 12px;font-size:12px;display:flex}.inline-error>svg{flex:none}.inline-error>span{overflow-wrap:anywhere;flex:1}.inline-error .iconbtn{flex:none}.statusbar{min-height:30px;color:var(--fg-muted);border-top:1px solid var(--border-hairline);flex:none;align-items:center;gap:20px;padding:0 24px;font-size:11px;display:flex}.statusbar>span:last-child{margin-left:auto}.tools-status[data-enabled=true]{color:var(--success-fg)}.settings-section{border-bottom:1px solid var(--border-subtle);gap:14px;padding:0 0 16px;display:grid}.settings-section:last-child{border-bottom:0;padding-bottom:0}.settings-section h3{font-size:14px}.settings-heading{justify-content:space-between;align-items:center;gap:16px;display:flex}.settings-heading h3{margin:0}.tool-choice{cursor:pointer;align-items:flex-start;gap:10px;padding:8px 0;display:flex}.tool-choice input{accent-color:var(--accent);flex:none;width:16px;height:16px;margin-top:4px}.tool-choice strong{text-transform:capitalize;font-size:12px;font-weight:500}.tool-choice small{color:var(--fg-muted);font-size:11px;line-height:1.5;display:block}.inline-field{gap:8px;min-width:0;display:flex}.tenant-value{justify-content:space-between;align-items:center;gap:12px;display:flex}.tenant-value code{overflow-wrap:anywhere;min-width:0;font-size:12px}.profile-details{margin:0;font-size:12px}.profile-details>div{grid-template-columns:130px minmax(0,1fr);gap:12px;padding:5px 0;display:grid}.profile-details dt{color:var(--fg-muted)}.profile-details dd{overflow-wrap:anywhere;margin:0}.prompt-library{border:0;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0;margin:0 0 16px;padding:0;display:grid}.prompt-choice{border:1px solid var(--border-subtle);cursor:pointer;border-radius:6px;align-items:center;gap:10px;min-height:52px;padding:10px 12px;display:flex}.prompt-choice--custom{grid-column:1/-1}.prompt-choice[data-selected=true]{border-color:var(--accent-border);background:var(--accent-soft)}.prompt-choice:has(input:disabled){opacity:.5;cursor:not-allowed}.prompt-choice>span{flex-direction:column;gap:2px;display:flex}.prompt-choice strong{font-size:13px;font-weight:600}.prompt-choice small{color:var(--fg-secondary);font-size:12px}.prompt-choice input,.prompt-routing input{width:16px;height:16px;accent-color:var(--accent-fg);flex-shrink:0}.prompt-routing{padding:0 0 18px}.prompt-routing__choice{align-items:center;gap:10px;min-height:32px;font-size:13px;display:flex}.prompt-routing__summary{color:var(--fg-secondary);flex-wrap:wrap;gap:6px 20px;padding:8px 0 0 26px;font-size:12px;display:flex}.prompt-routing__summary span{gap:8px;display:flex}.prompt-routing__summary strong{color:var(--fg-primary);font-weight:500}.editor{border:1px solid var(--border-subtle);border-radius:8px;overflow:hidden}.editor__head{background:var(--bg-subtle);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 12px;padding:8px 12px;font-size:12px;display:flex}.editor__actions{gap:4px;display:flex}.editor__actions .btn{min-height:32px;padding:6px 8px;font-size:12px}.editor__area{resize:vertical;background:var(--bg-elevated);border:0;border-radius:0;width:100%;height:min(52dvh,500px);min-height:180px;padding:16px;font-size:12px;line-height:1.7;display:block}.editor__area:focus{box-shadow:inset 0 0 0 2px var(--accent-border)}.editor__foot{color:var(--fg-muted);border-top:1px solid var(--border-subtle);overflow-wrap:anywhere;flex-wrap:wrap;justify-content:space-between;gap:10px;padding:10px 12px;font-size:11px;display:flex}.editor__foot .is-bad{color:var(--danger-fg)}.conn-status{align-items:center;gap:10px;padding:12px 0;font-size:13px;display:flex}.inspector{border-left:1px solid var(--border-hairline);background:var(--bg-subtle);flex-direction:column;min-height:0;display:flex}.inspector__head{justify-content:space-between;align-items:center;gap:var(--space-3);padding:0 var(--space-3) 0 var(--space-4);border-bottom:1px solid var(--border-hairline);display:flex}.inspector__head .tabs{border-bottom:0;flex:1}.inspector__actions .iconbtn{width:34px;height:34px}.inspector__body{min-height:0;padding:var(--space-4);flex:1;overflow:auto}.transcript{gap:var(--space-4);align-content:start;display:grid}.turn{gap:var(--space-1);display:grid}.turn__meta{align-items:baseline;gap:var(--space-3);font-size:var(--text-label);color:var(--fg-muted);grid-template-columns:minmax(0,1fr) 86px;display:grid}.turn__who{font-weight:var(--fw-semibold);color:var(--fg-secondary);text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.turn--agent .turn__who{color:var(--success-fg)}.turn--caller .turn__who{color:var(--accent-fg)}.turn__who em{margin-left:var(--space-2);letter-spacing:0;text-transform:uppercase;color:var(--accent-fg);font-size:9px;font-style:normal}.turn time{color:var(--fg-faint);font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.turn p{font-size:var(--text-sm);color:var(--fg-primary);overflow-wrap:anywhere;line-height:1.55}.turn.is-interim{opacity:.68}.empty{min-height:130px;padding:var(--space-6);border:1px dashed var(--border-subtle);border-radius:var(--radius-lg);background:var(--bg-inset);color:var(--fg-muted);font-size:var(--text-sm);text-align:center;place-items:center;display:grid}.empty--compact{min-height:56px;padding:var(--space-4)}.tool-timeline{margin:0;padding:0;list-style:none;display:grid}.tool-event{gap:var(--space-3);padding:var(--space-3) 0;border-bottom:1px solid var(--border-hairline);grid-template-columns:14px minmax(0,1fr) auto;align-items:start;display:grid}.tool-event__dot{border-radius:var(--radius-full);background:var(--success-fg);width:9px;height:9px;box-shadow:0 0 0 4px var(--success-bg);margin-top:5px}.tool-event--running .tool-event__dot{background:var(--accent);box-shadow:0 0 0 4px var(--accent-soft);animation:pulse-soft 1.2s var(--ease-in-out) infinite}.tool-event--failed .tool-event__dot{background:var(--danger);box-shadow:0 0 0 4px var(--danger-bg)}.tool-event__body code{font-size:var(--text-label);font-weight:var(--fw-semibold);color:var(--fg-primary);overflow-wrap:anywhere}.tool-event__status{margin-left:var(--space-2);font-size:var(--text-caption);text-transform:capitalize;color:var(--success-fg)}.tool-event--failed .tool-event__status{color:var(--danger-fg)}.tool-event--running .tool-event__status{color:var(--accent-fg)}.tool-event__body p{margin-top:var(--space-1);font-size:var(--text-label);color:var(--fg-muted);overflow-wrap:anywhere}.tool-event time{font-size:var(--text-caption);color:var(--fg-faint);white-space:nowrap}.diagnostics{gap:var(--space-4);align-content:start;display:grid}.metric-grid{gap:var(--space-2);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.metric-card{gap:var(--space-1);padding:var(--space-3);border:1px solid var(--border-hairline);border-radius:var(--radius-md);background:var(--bg-inset);display:grid}.metric-card span{font-size:var(--text-caption);color:var(--fg-muted)}.metric-card strong{font-size:var(--text-h3);font-weight:var(--fw-semibold)}.metric-card small{color:var(--fg-faint);font-size:10px}.runtime{margin:0;display:grid}.runtime div{gap:var(--space-3);padding:var(--space-2) 0;border-bottom:1px solid var(--border-hairline);grid-template-columns:96px minmax(0,1fr);display:grid}.runtime dt{font-size:var(--text-label);color:var(--fg-muted)}.runtime dd{font-size:var(--text-label);color:var(--fg-primary);overflow-wrap:anywhere;margin:0}.eventlog{gap:var(--space-3);display:grid}.eventlog article{gap:var(--space-2);padding-bottom:var(--space-3);border-bottom:1px solid var(--border-hairline);grid-template-columns:60px 64px minmax(0,1fr);align-items:start;display:grid}.eventlog time{font-size:var(--text-caption);color:var(--fg-faint)}.evt{font-size:var(--text-caption);font-weight:var(--fw-semibold);text-transform:capitalize;color:var(--accent-fg)}.evt--error{color:var(--danger-fg)}.evt--latency{color:var(--success-fg)}.evt--media{color:var(--fg-secondary)}.eventlog strong{font-size:var(--text-label);font-weight:var(--fw-medium);color:var(--fg-primary)}.eventlog p{font-size:var(--text-caption);color:var(--fg-muted);overflow-wrap:anywhere;grid-column:3}.inspector{height:min(64dvh,640px);min-height:0}.inspector__head{padding-right:12px}.inspector__body{min-height:0}.metric-card{border-radius:6px}.runtime dd,.event__detail{overflow-wrap:anywhere}.segmented__item:disabled{cursor:not-allowed;opacity:.5}@media (width<=1120px){.setup-strip{grid-template-columns:auto minmax(130px,1fr) minmax(150px,1fr) minmax(160px,1.2fr) auto;gap:12px}.setup-control .segmented__item{padding-inline:10px}}@media (width<=720px){.topbar{flex-wrap:wrap;flex-basis:auto;gap:6px 12px;min-height:52px;padding:8px 16px}.brand{gap:10px}.brand-logo{width:100px;height:24px}.brand>span{padding-left:10px;font-size:12px}.topbar__right{gap:6px;margin-left:auto}.topbar__right .btn{min-height:36px;padding:6px 8px;font-size:12px}.topbar__right .iconbtn{width:32px;height:34px}.connection-status{gap:6px;padding:0 6px;font-size:11px}.connection-status>span:last-child{max-width:100px}.setup-strip{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px 12px;padding:8px 16px}.setup-control:first-child{flex-direction:row;grid-area:1/1;align-items:center;gap:10px;padding-right:0}.setup-actions{grid-area:1/2;justify-self:end}.setup-prompt .btn{gap:6px;font-size:12px}.setup-prompt.setup-control:first-child{flex-direction:column;align-items:stretch}.setup-actions .btn{padding-inline:8px;font-size:12px}.setup-control .segmented__item{padding:0 10px;font-size:12px}.setup-provider--llm{grid-area:3/1/auto/-1}.setup-provider--tts{grid-area:2/2}.setup-provider--stt{grid-area:2/1}.setup-provider{gap:3px}.setup-provider select{height:32px;padding-inline:8px;font-size:12px}.workspace{padding:0 16px}.playground{flex-direction:column;gap:0;display:flex}.conversation{flex:1;order:2;min-height:0;padding-right:0}.call-area{flex:none;order:1}.conversation-heading{padding:10px 0 8px}.conversation-heading h1{font-size:15px}.conversation-actions .iconbtn{width:32px;height:32px}.conversation-heading>div>span{display:none}.conversation-turns{padding:12px 4px 4px 0}.message{margin-bottom:18px}.message--caller{max-width:94%}.message p{font-size:14px;line-height:1.65}.composer textarea{height:48px;font-size:16px}.composer{padding:8px}.composer-status{min-height:25px}.statusbar{padding:0 16px env(safe-area-inset-bottom);gap:12px;min-height:26px}.statusbar>span:last-child{font-size:10px}.dialog{width:calc(100% - 24px);max-height:calc(100dvh - 24px)}.dialog__head,.dialog__body,.dialog__foot{padding:16px}.dialog .segmented__item{padding:7px 10px}.app[data-short-viewport=true] .topbar{min-height:44px}.app[data-short-viewport=true] .setup-strip{gap:5px 8px;padding-block:6px}.app[data-short-viewport=true] .setup-provider--llm{flex-direction:row;align-items:center;gap:10px}.app[data-short-viewport=true] .setup-provider--llm select{flex:1}.app[data-short-viewport=true] .conversation-heading{padding-top:6px;padding-bottom:4px}.app[data-short-viewport=true] .composer-area{padding-top:6px}.app[data-short-viewport=true] .composer textarea{height:36px}.app[data-keyboard-viewport=true] .setup-strip,.app[data-keyboard-viewport=true] .statusbar{display:none}}@media (width<=380px){.brand>span{display:none}.setup-strip{padding-inline:12px}.setup-control .segmented__item{padding-inline:8px}.workspace,.topbar{padding-inline:12px}.connection-status>span:last-child{max-width:90px}.statusbar{gap:8px;padding-inline:12px}}
