body:is([data-section=documents],[data-section=speech]) .workspace{height:100%;padding:22px 4.2% 18px;display:flex;flex-direction:column;min-height:0;color:var(--text)}
.workspace-heading{flex-shrink:0;margin-bottom:22px}.workspace-heading>p{font-size:13px;line-height:1.6;color:var(--muted);margin:0}
.workspace-columns{display:grid;grid-template-columns:minmax(210px,.9fr) minmax(260px,1.2fr) minmax(230px,1fr);gap:26px;min-height:0;flex:1}.workspace-columns>section{min-width:0;padding:0;display:flex;flex-direction:column;gap:12px}.workspace-columns>section+section{border-left:1px solid var(--edge);padding-left:26px}.workspace h2{font-size:16px;font-weight:500;line-height:1.4;margin:0 0 4px;color:var(--text)}
.workspace-label,.workspace-analysis-settings label,.workspace-results form>label{font-size:12px;color:var(--muted)}.workspace :is(input,select,textarea,button){font-family:inherit}.workspace select,.workspace input:not([type=file]){width:100%;height:40px;border:1px solid var(--edge);border-radius:8px;background:var(--panel);color:var(--text);padding:8px 10px;font-size:12px;min-width:0}.workspace select option{background:var(--bg);color:var(--text)}
.upload-zone{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:128px;gap:9px;padding:16px;border:1px dashed var(--edge);border-radius:10px;background:var(--halo);text-align:center;cursor:pointer}.upload-zone:focus-within{outline:2px solid var(--accent);outline-offset:3px}.upload-zone svg{width:30px;height:38px;color:var(--accent)}.upload-zone strong{font-size:13px;max-width:100%;overflow-wrap:anywhere;font-weight:500}.upload-zone span{font-size:10px;color:var(--muted)}.upload-zone input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.workspace .workspace-meta{font-size:11px;color:var(--muted);line-height:1.55;margin:0}.workspace-privacy{font-size:10px;line-height:1.6;color:var(--muted);margin:0}.workspace-button{width:100%;min-height:40px;display:flex;align-items:center;justify-content:center;gap:10px;padding:10px 13px;border:1px solid var(--edge);border-radius:8px;background:transparent;color:var(--light);font-size:12px;cursor:pointer}.workspace-button svg{width:18px;height:20px;flex-shrink:0}.workspace-button:hover:not(:disabled){background:var(--halo);border-color:var(--accent)}.workspace-primary{justify-content:space-between;border-color:color-mix(in srgb,var(--accent) 70%,transparent);background:var(--halo)}.workspace button:disabled{opacity:.45;cursor:not-allowed}.workspace :is(button,input,select,textarea):focus-visible{outline:2px solid var(--accent);outline-offset:3px}.workspace [hidden]{display:none!important}
.workspace-panel-heading{display:flex;justify-content:space-between;gap:10px;align-items:center}.workspace-panel-heading>span{font-size:10px;color:var(--muted)}#workspace-text{resize:vertical;width:100%;flex:1;min-height:130px;padding:16px;border:1px solid var(--edge);border-radius:9px;background:var(--panel);color:var(--text);font-size:14px;line-height:1.75;caret-color:var(--accent)}#workspace-text::placeholder{color:var(--muted);opacity:.8}.workspace-text-tools{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted)}.workspace-text-tools button{border:0;background:transparent;color:var(--light);font-size:11px;cursor:pointer;min-height:24px}.workspace-analysis-settings{display:grid;grid-template-columns:1fr 1.2fr;gap:10px;align-items:center}#analysis-scope:empty{display:none}
#audio-player{width:100%;height:36px;min-height:36px;flex-shrink:0;filter:none}#record-audio.is-recording{border-color:#ef8478;color:#ffb5ad;background:#a62e201a}#record-status:empty{display:none}.workspace-empty{display:flex;flex-direction:column;align-items:center;text-align:center;padding:30px 8px;color:var(--muted)}.workspace-empty svg{height:42px;width:42px;color:var(--accent);margin-bottom:14px}.workspace-empty p{font-size:12px;line-height:1.7;margin:0}.workspace-result-row{padding:12px 0;border-bottom:1px solid var(--edge)}.workspace-result-row>span{display:block;font-size:11px;color:var(--muted);margin-bottom:5px}.workspace-result-row>strong{font-size:13px;color:var(--light);font-weight:500;overflow-wrap:anywhere}.workspace-entities{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}.workspace-entity{border-radius:5px;background:var(--halo);padding:5px 7px;font-size:11px;color:var(--light)}.workspace-results form{display:flex;flex-direction:column;gap:10px;margin-top:18px}.workspace-results blockquote{border:0;background:var(--halo);padding:12px;margin:0;font-size:12px;line-height:1.6;overflow-wrap:anywhere}.workspace-results cite{display:block;margin-top:7px;font-size:10px;color:var(--muted);font-style:normal}#workspace-status{flex-shrink:0;min-height:18px;margin:12px 0 0;font-size:12px;color:var(--light);line-height:1.5}#workspace-status[data-state=error]{color:#ffb5ad}#workspace-status:empty{margin:0;min-height:0}
.workspace-source>*{flex-shrink:0}.workspace-inline-field{display:grid;grid-template-columns:1fr 1.3fr;align-items:center;gap:10px}
[data-workspace=speech] .workspace-source{gap:9px}
[data-workspace=speech] .upload-zone{min-height:74px;padding:10px;gap:6px}
[data-workspace=speech] .upload-zone svg{display:none}
@media(min-width:768px){body:is([data-section=documents],[data-section=speech]) #main{overflow-y:auto}.workspace-columns>section{overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}.workspace-heading{margin-bottom:20px}}
@media(max-width:1050px){.workspace-columns{grid-template-columns:minmax(180px,.8fr) minmax(220px,1fr);gap:20px}.workspace-columns>section+section{padding-left:20px}.workspace-columns>.workspace-results{grid-column:1/-1;border-left:0;border-top:1px solid var(--edge);padding:20px 0 0;overflow:visible}.workspace-columns{flex:none}.workspace-editor{min-height:350px}body:is([data-section=documents],[data-section=speech]) .workspace{height:auto;min-height:100%}}
@media(max-width:767px){.workspace-columns{grid-template-columns:1fr;gap:26px}.workspace-columns>section+section{border-left:0;border-top:1px solid var(--edge);padding:22px 0 0}.workspace-columns>.workspace-results{grid-column:auto}.workspace-editor{min-height:430px}body:is([data-section=documents],[data-section=speech]) .workspace{padding:22px 20px 32px}.workspace :is(input,textarea,select){font-size:16px}.workspace-button{min-height:44px}.workspace-privacy{font-size:11px}.workspace-text-tools button{min-height:40px}.workspace-columns>section{overflow:visible}#workspace-text{min-height:210px}.workspace-source .upload-zone{min-height:150px}}

@media(max-width:650px){body:is([data-section=documents],[data-section=speech]) .workspace{padding-inline:18px}}

.speech-player{width:100%;padding:3px 0 4px;flex-shrink:0}
.speech-player-row{display:flex;align-items:center;gap:10px;min-width:0}
.speech-play{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border:1px solid var(--edge);border-radius:50%;background:var(--halo);color:var(--accent);padding:8px;cursor:pointer}
.speech-play svg{width:18px;height:18px;fill:currentColor}
.speech-play .pause-symbol,.speech-play.is-playing .play-symbol{display:none}
.speech-play.is-playing .pause-symbol{display:block}
.speech-wave{flex:1;min-width:32px;height:30px;color:var(--accent)}
.speech-wave rect{fill:currentColor;opacity:.55}.speech-wave rect.is-played{opacity:1}
.speech-time{flex-shrink:0;color:var(--text);font-size:10px;font-variant-numeric:tabular-nums;white-space:nowrap}
.speech-time #audio-elapsed{color:var(--light)}
.workspace #audio-seek{appearance:none;-webkit-appearance:none;display:block;width:100%;height:18px;min-height:18px;margin:3px 0 0;padding:0;border:0;border-radius:6px;background:transparent;cursor:pointer;accent-color:var(--accent)}
#audio-seek::-webkit-slider-runnable-track{height:3px;background:var(--edge);border-radius:3px}
#audio-seek::-moz-range-track{height:3px;background:var(--edge);border-radius:3px}
#audio-seek::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:9px;height:9px;margin-top:-3px;border:0;border-radius:50%;background:var(--accent)}
#audio-seek::-moz-range-thumb{width:9px;height:9px;border:0;border-radius:50%;background:var(--accent)}

/* Microphone scene follows the site's HUMAN / AI palette. */
.voice-recorder{display:flex;flex-direction:column;align-items:center;gap:9px;padding:0 0 13px;margin-bottom:3px;border-bottom:1px solid var(--edge)}
.voice-recorder-description{align-self:stretch;font-size:11px;line-height:1.65;color:var(--muted);margin:0}
.voice-recorder-visual{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:98px;padding:6px 0}
.voice-wave{width:calc((100% - 104px)/2);height:36px;overflow:visible;color:var(--accent)}
.voice-wave rect{fill:currentColor;transform-box:fill-box;transform-origin:center;opacity:.8}
.voice-wave-right{transform:scaleX(-1)}
.voice-microphone{display:grid;place-items:center;flex:0 0 78px;width:78px;height:78px;border:1px solid var(--accent);border-radius:50%;padding:19px;background:radial-gradient(circle at 42% 32%,color-mix(in srgb,var(--accent) 48%,transparent),var(--halo) 65%,transparent);color:var(--light);box-shadow:inset 0 0 20px var(--halo),0 6px 22px var(--halo);cursor:pointer}
.voice-microphone svg{width:30px;height:36px}
.voice-microphone:hover:not(:disabled){background:radial-gradient(circle at 42% 32%,color-mix(in srgb,var(--accent) 44%,transparent),var(--halo));border-color:var(--light)}
.workspace .voice-record-action{width:auto;min-width:138px;min-height:31px;padding:6px 14px;border-color:var(--accent);font-size:11px;gap:7px;background:transparent;border-radius:7px}
.voice-record-action i{display:block;width:5px;height:5px;background:var(--accent);border-radius:50%}
.voice-recorder #record-status{text-align:center}
.voice-recorder[data-recording=true] .voice-microphone{border-color:var(--light);box-shadow:inset 0 0 24px var(--halo),0 6px 28px var(--halo)}
@media(prefers-reduced-motion:no-preference){
 .voice-recorder[data-recording=true] .voice-wave rect{animation:voice-wave-recording .65s ease-in-out infinite alternate;animation-delay:var(--wave-delay)}
}
@keyframes voice-wave-recording{from{transform:scaleY(.5);opacity:.5}to{transform:scaleY(1.2);opacity:1}}
