/* Only the instruction scrolls; actions stay in the visible composer. */
.workspace-page .composer-wrap{flex:0 0 auto;max-height:none;overflow:visible;min-height:0}
.workspace-page #chat-form{display:flex;flex-direction:column;min-height:0;overflow:hidden}
.workspace-page #chat-form #question{flex:0 0 auto;min-height:38px;max-height:var(--question-max,155px);overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin}
.workspace-page .composer-actions,.workspace-page .composer-preferences{flex-shrink:0}
.workspace-page .composer-actions{gap:8px}
.workspace-page .composer-actions .keyboard-hint{margin-left:auto}
.voice-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:44px;min-width:44px;padding:8px;border:1px solid #dce4d7;border-radius:9px;background:#f7f9f4;color:#274e38;font:inherit;font-size:13px;cursor:pointer;flex-shrink:0}
.voice-button svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8}
.voice-button[aria-pressed=true]{background:#fff0ef;color:#9c2626;border-color:#d5a7a1}
.voice-button:disabled{opacity:.5;cursor:default}
.voice-status{font-size:12px;line-height:1.45;color:#52684d;margin:5px 4px 0;max-height:36px;overflow:auto}
.voice-status:empty{display:none}
.workspace-page .tight-viewport .workspace-top{min-height:44px;padding-block:3px}
.workspace-page .tight-viewport #active-tool-description,.workspace-page .tight-viewport .composer-disclaimer,.workspace-page .tight-viewport .workspace-plan-badge{display:none}
.workspace-page .tight-viewport .workspace-tools-bar{padding-block:3px}
.workspace-page .tight-viewport .composer-wrap{padding-block:4px}
.workspace-page .tight-viewport #chat-scroll{min-height:28px}
.workspace-page .tight-viewport .composer-preferences{padding-block:0;font-size:12px}
.workspace-page .tight-viewport .generation-status{padding-block:4px;margin-bottom:3px}
.workspace-page .tight-viewport .generation-status small{display:none}
@media(max-width:760px){.workspace-page .composer-actions .send-button{margin-left:auto}.voice-button span{display:none}.workspace-page .composer-actions .attach-button{gap:4px}.workspace-page #chat-form #question{padding-top:10px}}

@media(max-width:380px){.workspace-page .tight-viewport .workspace-top{flex-wrap:nowrap;gap:4px}.workspace-page .tight-viewport .workspace-top h1{font-size:15px}.workspace-page .tight-viewport .workspace-top #history-open{width:28px;height:36px;flex:0 0 28px}.workspace-page .tight-viewport #reading-mode{padding:6px 9px;font-size:13px;min-height:36px}.workspace-page .tight-viewport #sources-open{width:38px;height:36px;padding:4px;gap:2px;flex:0 0 38px}}
