.coach-panel { --coach-accent: var(--accent-color, #5a7d00); box-sizing: border-box; border: 1px solid var(--border, #cbd5e1); border-radius: 10px; background: var(--surface, white); color: var(--text-primary, #1e293b); font: 15px/1.5 'Inter', system-ui, sans-serif; display: flex; flex-direction: column; height: min(780px, 90dvh); min-height: 0; text-align: left; }
.coach-panel[hidden], .coach-panel [hidden], #coach-app-host[hidden] { display: none !important; }
.coach-panel button, .coach-toggle, .coach-field-shortcut { font: 600 13px/1.4 system-ui, sans-serif; color: inherit; border: 1px solid var(--border, #94a3b8); border-radius: 6px; background: var(--secondary, #edf1f5); cursor: pointer; min-height: 40px; padding: .5rem .7rem; }
.coach-panel button:hover, .coach-toggle:hover { border-color: var(--coach-accent, #5a7d00); }
.coach-panel button:disabled { opacity: .5; cursor: default; }
.coach-panel :focus-visible, .coach-toggle:focus-visible, .coach-field-shortcut:focus-visible { outline: 2px solid var(--accent-color, #487000); outline-offset: 3px; }
.coach-header { flex: none; padding: 14px 16px 8px; }
.coach-heading { display: flex; align-items: center; gap: 8px; }
.coach-panel h2 { font-size: 18px; margin: 0; }
.coach-ai-label { font-size: 10px; border: 1px solid var(--border, #94a3b8); padding: 1px 4px; border-radius: 4px; color: var(--text-secondary, #475569); }
.coach-header-actions { display: flex; margin-left: auto; gap: 4px; }
.coach-header-actions button { border-color: transparent; background: transparent; font-size: 12px; padding: .35rem .45rem; }
.coach-page-context { margin: 5px 0 10px; font-size: 12px; color: var(--text-secondary, #475569); }
.coach-modes { display: flex; padding: 4px; gap: 4px; background: var(--background, #f1f5f9); border-radius: 8px; }
.coach-modes button { flex: 1; border-color: transparent; background: transparent; }
.coach-modes button[aria-pressed="true"] { border-color: var(--coach-accent); background: color-mix(in srgb, var(--coach-accent) 12%, var(--surface, white)); }
.coach-context { flex: none; padding: 4px 16px 10px; border-bottom: 1px solid var(--border, #cbd5e1); max-height: 25dvh; overflow-y: auto; }
.coach-context label { display: block; font-size: 12px; }
.coach-panel select, .coach-panel textarea { display: block; width: 100%; box-sizing: border-box; padding: 10px; border: 1px solid var(--border, #94a3b8); border-radius: 6px; background: var(--background, white); color: inherit; font: inherit; }
.coach-panel select { margin-top: 5px; font-size: 13px; }
.coach-context-line, .coach-context details { color: var(--text-secondary, #475569); font-size: 11px; margin: 5px 0 0; }
.coach-context summary { cursor: pointer; }
.coach-context details p { font-size: 12px; line-height: 1.5; }
.coach-preview-badge { border-left: 3px solid var(--coach-accent); padding-left: 8px; }
.coach-status { margin: 0; padding: 8px 16px; font-size: 12px; color: var(--text-secondary, #475569); flex: none; }
.coach-status:empty { display: none; }
.coach-status.coach-working { display: flex; align-items: center; gap: 8px; }
.coach-status.coach-working::before { content: ''; flex: 0 0 auto; width: 18px; height: 18px; background: var(--coach-accent); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-6.219-8.56'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12a9 9 0 1 1-6.219-8.56'/%3E%3C/svg%3E") center / contain no-repeat; animation: coach-loader-spin .8s linear infinite; }
@keyframes coach-loader-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .coach-status.coach-working::before { animation: none; } }
.coach-output { flex: 1; min-height: 0; overflow-y: auto; overflow-wrap: anywhere; padding: 16px; overscroll-behavior: contain; overflow-anchor: none; scroll-behavior: auto; }
.coach-turn-reserve { min-height: 0; pointer-events: none; }
.coach-output p { margin: 0 0 10px; white-space: pre-wrap; }
.coach-output ul { padding-left: 20px; margin: 8px 0 12px; }
.coach-output li { margin-bottom: 5px; }
.coach-message { margin-bottom: 22px; }
.coach-message-user { margin-left: 26px; padding: 10px 12px; border-radius: 10px 10px 2px 10px; background: var(--secondary, #edf1f5); }
.coach-output .coach-message-author { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-secondary, #475569); font-weight: 600; margin-bottom: 6px; }
.coach-starters { display: flex; gap: 6px; flex-wrap: wrap; }
.coach-starters button { text-align: left; font-size: 12px; }
.coach-context-boundary { font-size: 11px; padding: 10px 0; border-top: 1px solid var(--border, #94a3b8); color: var(--text-secondary, #475569); }
.coach-proposal { border: 1px solid var(--border, #94a3b8); border-radius: 8px; padding: 12px; margin: 12px 0; }
.coach-proposal h3 { margin: 0 0 10px; font-size: 14px; }
.coach-proposal label { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.coach-proposal input { width: 18px; height: 18px; }
.coach-output .coach-compare-label { font-size: 10px; text-transform: uppercase; font-weight: 600; color: var(--text-secondary, #475569); margin: 12px 0 5px; }
.coach-current-value, .coach-proposal-reason { font-size: 13px; color: var(--text-secondary, #475569); }
.coach-proposed-value { padding: 10px; background: color-mix(in srgb, var(--coach-accent) 9%, var(--surface, white)); border-left: 2px solid var(--coach-accent); font-size: 14px; }
.coach-proposal-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.coach-proposal-state { padding: 10px; background: var(--secondary, #edf1f5); border: 1px solid var(--border, #94a3b8); border-radius: 6px; font-size: 12px; }
.coach-primary { border-color: var(--coach-accent) !important; background: var(--coach-accent) !important; color: var(--accent-foreground, #fff) !important; }
.coach-composer { padding: 12px 16px; flex: none; border-top: 1px solid var(--border, #cbd5e1); }
.coach-question-label { display: block; font-size: 12px; }
.coach-panel textarea { resize: vertical; min-height: 58px; max-height: 120px; margin-top: 5px; font-size: 14px; }
.coach-compose-actions, .coach-footer { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; }
.coach-shortcut, .coach-footer { color: var(--text-secondary, #475569); font-size: 10px; }
.coach-footer { flex-wrap: wrap; }
.coach-footer button { font-size: 11px; border-color: transparent; background: transparent; }
.coach-footer-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.coach-footer-actions .coach-primary { padding-left: .65rem; padding-right: .65rem; }
.coach-new-confirm { font-size: 12px; padding-top: 8px; }
.coach-new-confirm button { margin-right: 5px; }
.coach-new-answer { margin: 4px 16px; align-self: center; flex: none; }
.coach-toggle { color: var(--text-primary, #1e293b); white-space: nowrap; }
.coach-conversation-slot { display: flex; align-items: center; gap: 8px; padding: 12px 0 6px; }
.coach-thread-heading { flex: 1; min-width: 0; display: grid; gap: 2px; }
.coach-thread-heading strong { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coach-save-state { font-size: 10px; color: var(--text-secondary, #475569); }
.coach-thread-tools { display: flex; gap: 5px; padding: 4px 12px; align-items: center; border-bottom: 1px solid var(--border, #cbd5e1); flex: none; }
.coach-thread-tools button { font-size: 11px; border-color: transparent; background: transparent; padding: 4px; min-height: 32px; }
.coach-thread-tools > span { margin-left: auto; font-size: 10px; white-space: nowrap; color: var(--text-secondary, #475569); }
.coach-thread-manager { flex: 1; overflow: auto; min-height: 0; padding: 18px; font-size: 13px; overflow-wrap: anywhere; }
.coach-thread-manager h3 { margin: 16px 0 10px; font-size: 17px; }
.coach-thread-manager > button { margin: 4px 8px 6px 0; }
.coach-thread-manager label { display: block; margin: 14px 0; }
.coach-thread-manager input { width: 100%; box-sizing: border-box; font: inherit; padding: 10px; margin-top: 5px; border: 1px solid var(--border, #94a3b8); border-radius: 6px; color: inherit; background: var(--background, white); }
.coach-thread-manager > div > button { display: block; width: 100%; text-align: left; margin: 8px 0; }
.coach-library-row { display: flex; gap: 4px; margin: 10px 0; }
.coach-library-row > button:first-child { flex: 1; text-align: left; min-width: 0; }
.coach-library-row strong { display: block; font-size: 13px; overflow-wrap: anywhere; }
.coach-library-row span { display: block; font-size: 11px; font-weight: 400; color: var(--text-secondary, #475569); margin-top: 4px; }
.coach-danger { color: var(--danger-color, #b42318) !important; }
.coach-arrival { outline: 2px solid var(--coach-accent); outline-offset: 5px; }
#coach-app-host.coach-focus .coach-panel { width: 100vw; }
#coach-app-host.coach-focus .coach-output > *, #coach-app-host.coach-focus .coach-thread-manager > *, #coach-app-host.coach-focus .coach-composer > * { max-width: 760px; margin-left: auto; margin-right: auto; }
#coach-app-host.coach-focus .coach-message-user { width: min(700px, calc(100% - 26px)); }
#coach-app-host.coach-focus .coach-header, #coach-app-host.coach-focus .coach-context, #coach-app-host.coach-focus .coach-thread-tools { width: min(100%, 850px); align-self: center; box-sizing: border-box; }
#coach-app-host.coach-focus .coach-status { align-self: center; }
body.coach-open.coach-focus { padding-right: 0; }
body.coach-open.coach-focus > #app-shell-root { width: 100%; }
.coach-field-context { position: relative; }
.coach-field-context > .coach-context-label { padding-right: 82px; min-height: 40px; display: flex; align-items: center; flex-wrap: wrap; gap: 4px; }
.coach-field-shortcut { position: absolute; top: 0; right: 0; visibility: hidden; pointer-events: none; background: transparent; color: var(--text-primary); border-radius: 4px; min-height: 36px; }
.coach-field-active > .coach-field-shortcut { visibility: visible; pointer-events: auto; }
.coach-toggle[hidden] { display: none !important; }
#coach-app-host > .coach-toggle { position: fixed; right: max(24px, env(safe-area-inset-right)); bottom: max(24px, env(safe-area-inset-bottom)); z-index: 90; display: inline-flex; align-items: center; gap: 9px; min-height: 54px; padding: 13px 19px; border: 2px solid var(--accent-color, #5a7d00); border-radius: 16px; background: var(--surface, #fff); background: color-mix(in srgb, var(--accent-color, #5a7d00) 12%, var(--surface, #fff)); box-shadow: var(--shadow-lg, 0 12px 28px #0004); font-size: 14px; }
#coach-app-host > .coach-toggle:hover { background: color-mix(in srgb, var(--accent-color, #5a7d00) 20%, var(--surface, #fff)); }
.coach-toggle svg { flex: 0 0 auto; color: var(--accent-color, #5a7d00); }
.coach-launcher-intro { position: fixed; right: max(24px, env(safe-area-inset-right)); bottom: calc(max(24px, env(safe-area-inset-bottom)) + 66px); z-index: 91; display: flex; align-items: flex-start; gap: 10px; width: min(276px, calc(100vw - 48px)); box-sizing: border-box; padding: 12px 12px 12px 14px; border: 1px solid var(--accent-color, #5a7d00); border-radius: 12px; background: var(--surface, #fff); color: var(--text-primary, #1e293b); box-shadow: var(--shadow-lg, 0 12px 28px #0004); font: 600 13px/1.45 system-ui, sans-serif; }
.coach-launcher-intro[hidden] { display: none !important; }
.coach-launcher-intro-copy { flex: 1; }
.coach-launcher-intro-dismiss { flex: 0 0 auto; width: 32px; height: 32px; min-height: 32px; margin: -7px -7px 0 0; padding: 0; border: 0; border-radius: 6px; background: transparent; color: inherit; font: 400 22px/1 system-ui, sans-serif; cursor: pointer; }
.coach-launcher-intro-dismiss:hover { background: color-mix(in srgb, var(--text-primary, #1e293b) 10%, transparent); }
.coach-launcher-intro-dismiss:focus-visible { outline: 2px solid var(--accent-color, #487000); outline-offset: 2px; }
.coach-toggle-attention, .coach-launcher-intro { animation: coach-launcher-arrive 360ms ease-out both; }
@keyframes coach-launcher-arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
body:has(#coach-app-host) { padding-bottom: 88px; }
@media (pointer: coarse) { .coach-field-shortcut { min-height: 44px; } .coach-field-context > .coach-context-label { min-height: 48px; } }
#coach-app-host { --coach-width: 420px; display: flex; align-items: center; }
#coach-app-host.coach-wide { --coach-width: 520px; }
#coach-app-host .coach-panel { position: fixed; right: 0; top: var(--coach-shell-height, 64px); width: var(--coach-width); height: calc(100dvh - var(--coach-shell-height, 64px)); max-width: 100vw; border-radius: 0; border-right: 0; z-index: 100; box-shadow: var(--shadow-lg); }
@media (min-width: 1280px) {
    body.coach-open { padding-right: 420px; }
    body.coach-open.coach-wide { padding-right: 520px; }
    body.coach-open > #app-shell-root { width: calc(100% + 420px); }
    body.coach-open.coach-wide > #app-shell-root { width: calc(100% + 520px); }
}
@media (max-width: 1279px) {
    #coach-app-host .coach-panel { top: 0; height: 100dvh; width: min(440px, 100vw); z-index: 1000; box-shadow: -20px 0 60px #0006; }
    #coach-app-host .coach-width { display: none; }
}
@media (max-width: 680px) {
    #coach-app-host .coach-panel { width: 100vw; }
    .coach-shortcut { display: none; }
    .coach-compose-actions { justify-content: flex-end; }
    .coach-panel button { min-height: 44px; }
    .coach-header, .coach-composer { padding-left: 12px; padding-right: 12px; }
    #coach-app-host > .coach-toggle { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); min-height: 54px; padding: 12px 16px; font-size: 13px; }
    .coach-launcher-intro { right: max(16px, env(safe-area-inset-right)); bottom: calc(max(16px, env(safe-area-inset-bottom)) + 66px); width: min(276px, calc(100vw - 32px)); }
}
@media (prefers-reduced-motion: reduce) {
    .coach-toggle-attention, .coach-launcher-intro { animation: none; }
}
@media (max-width: 620px) {
    .vc-shell-header:has(#coach-app-host) { flex-wrap: wrap; gap: 4px; }
    .vc-shell-header:has(#coach-app-host) .vc-shell-actions { flex: 1 1 100%; width: 100%; gap: 6px; }
    .vc-shell-header:has(#coach-app-host) .vc-shell-account-chip { flex: 1 1 100px; min-width: 0; max-width: 156px; }
}

/* Keep context controls one disclosure away so the dialogue owns the space. */
.coach-context-settings { flex: none; margin: 0 16px; font-size: 12px; max-height: 32dvh; overflow-y: auto; }
.coach-context-settings > summary { cursor: pointer; padding: 8px 0; color: var(--text-secondary, #475569); }
.coach-context-settings .coach-page-context { display: none; }
.coach-context-settings .coach-context { padding: 8px 0; border: 0; max-height: none; overflow: visible; }
.coach-threaded .coach-header { padding-top: 8px; padding-bottom: 2px; }
.coach-threaded .coach-conversation-slot { padding-top: 4px; padding-bottom: 4px; }
.coach-threaded .coach-composer { padding-top: 8px; padding-bottom: 8px; }
#coach-app-host.coach-focus .coach-context-settings { width: min(calc(100% - 32px), 818px); align-self: center; }

/* Suggestions belong to the dialogue; completed work becomes one disclosure row. */
.coach-suggestion { margin: 10px 0; border-left: 2px solid var(--coach-accent); padding-left: 10px; }
.coach-proposal-review > summary { cursor: pointer; font-size: 12px; font-weight: 600; padding: 6px 0; }
.coach-proposal-review .coach-proposal { border: 0; padding: 0; margin: 6px 0; }
.coach-proposal-review .coach-proposed-value { padding: 0; border: 0; background: transparent; white-space: pre-wrap; overflow-wrap: anywhere; }
.coach-proposal-info > summary { cursor: pointer; font-size: 11px; color: var(--text-secondary, #475569); }
.coach-proposal-review .coach-proposal-actions { margin-top: 8px; }
.coach-output .coach-proposal-hint { font-size: 11px; color: var(--text-secondary, #475569); margin: 6px 0; }
.coach-suggestion > button { font-size: 11px; margin-top: 4px; }
.coach-proposal-review .coach-current-value { white-space: pre-wrap; overflow-wrap: anywhere; }

.coach-action-recovery { padding: 10px 16px; border-top: 1px solid var(--border, #94a3b8); font-size: 12px; }
.coach-action-recovery button { font-size: 11px; margin: 4px 6px 0 0; }

/* Explicit search is a per-message choice, not another permanent panel. */
.coach-search-choice { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; margin: 4px 0; }
.coach-search-choice input[type="checkbox"] { width: 16px; height: 16px; margin: 0; padding: 0; }
.coach-sources { font-size: 12px; margin: 8px 0; }
.coach-sources > summary { cursor: pointer; }
.coach-sources a, .coach-sources a:visited { color: inherit; overflow-wrap: anywhere; text-decoration: underline; }
.coach-prompt-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 8px; }
.coach-prompt-controls[hidden] { display: none; }
.coach-prompt-controls button[aria-pressed="true"] { background: #b6ff00; color: #111827; border-color: #b6ff00; }
.coach-prompt-hint { flex-basis: 100%; font-size: 11px; line-height: 1.35; opacity: .8; }

/* Coach visual refresh: presentation only; existing controls retain their handlers. */
.coach-panel { --coach-control-border: var(--text-secondary, #64748b); position: relative; font: 16px/1.55 'Inter', system-ui, sans-serif; }
.coach-panel button { font-family: inherit; border-radius: 4px; }
.coach-header { position: relative; padding: 12px 16px 16px; border-bottom: 1px solid var(--border, #cbd5e1); }
.coach-threaded .coach-header { padding: 12px 16px 16px; }
.coach-panel h2 { font-size: 20px; }
.coach-ai-label { font-size: 12px; line-height: 20px; padding: 0 5px; }
.coach-heading { margin-bottom: 12px; }
.coach-header-actions button { width: 40px; height: 40px; padding: 8px; font-size: 0; }
.coach-header-actions button::before { content: ''; display: block; width: 20px; height: 20px; background: currentColor; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath d='m6 6 12 12M6 18 18 6'/%3E%3C/svg%3E") center / contain no-repeat; }
.coach-header-actions .coach-width::before { mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5'%3E%3Cpath d='M8 3H3v5m13-5h5v5M3 16v5h5m13-5v5h-5M3 3l6 6m12-6-6 6M3 21l6-6m12 6-6-6'/%3E%3C/svg%3E"); }
.coach-threaded .coach-conversation-slot { padding: 0; margin-bottom: 12px; gap: 8px; }
.coach-thread-heading { flex: 1; min-width: 0; }
.coach-thread-heading strong { font-size: 16px; line-height: 24px; }
.coach-save-state { font-size: 13px; line-height: 20px; }
.coach-conversation-slot > button { background: transparent; border-color: transparent; min-width: 40px; }
.coach-chat-actions { display: flex; gap: 8px; }
.coach-chat-actions button { flex: 1; padding: 8px; min-width: 0; border-color: var(--coach-control-border); background: transparent; }
.coach-chat-actions button:hover { background: var(--secondary, #edf1f5); }
.coach-options-popover { position: absolute; right: 16px; top: 100%; width: min(320px, calc(100% - 32px)); max-height: 55dvh; overflow-y: auto; z-index: 8; border: 1px solid var(--coach-control-border); background: var(--surface, white); border-radius: 4px; padding: 12px; box-shadow: var(--shadow-lg, 0 8px 24px #0003); }
.coach-options-popover > button, .coach-options-popover .coach-thread-tools button { width: 100%; text-align: left; background: transparent; border-color: transparent; }
.coach-options-popover .coach-thread-tools { display: flex; flex-direction: column; padding: 0; border: 0; gap: 4px; }
.coach-thread-tools > span { display: none; }
.coach-options-popover .coach-context-settings { margin: 8px 0; max-height: none; font-size: 14px; }
.coach-experiments > summary { min-height: 40px; padding: 8px 0; font-size: 14px; cursor: pointer; }
.coach-status-quiet { position: absolute !important; width: 1px; height: 1px; padding: 0 !important; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.coach-output { padding: 24px 16px; }
.coach-message-user { padding: 16px; border-radius: 12px; margin-left: 24px; }
.coach-output .coach-message-author { font-size: 13px; text-transform: none; letter-spacing: 0; }
.coach-output p { line-height: 1.55; }
.coach-composer, .coach-threaded .coach-composer { padding: 16px; }
.coach-composer-caption { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.coach-input-shell { border: 1px solid var(--coach-control-border); border-radius: 4px; padding: 12px; background: var(--background, #fff); }
.coach-input-shell:focus-within { outline: 2px solid var(--coach-accent); outline-offset: 2px; }
.coach-input-shell .coach-question-label { margin: 0; }
.coach-input-shell textarea { border: 0; padding: 0; min-height: 68px; resize: vertical; font-size: 16px; background: transparent; }
.coach-input-shell textarea:focus-visible { outline: none; }
.coach-input-shell .coach-compose-actions { margin: 8px 0 0; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.coach-input-shell .coach-search-choice { margin: 0 auto 0 0; min-height: 40px; padding: 8px; border: 1px solid var(--coach-control-border); border-radius: 4px; cursor: pointer; font-size: 13px; }
.coach-search-choice:has(input:checked) { border-color: var(--coach-accent); background: var(--secondary, #edf1f5); }
.coach-shortcut { display: block; margin-top: 8px; font-size: 12px; }
.coach-threaded .coach-footer > span { display: none; }
.coach-footer:has(> button[hidden]):has(.coach-footer-actions:empty) { margin: 0; padding: 0; }
.coach-decision.coach-thread-manager { position: absolute; inset: 0; z-index: 10; padding: 16px; display: flex; align-items: safe center; justify-content: center; overflow-y: auto; background: #030712c7; max-height: none; }
.coach-decision-card { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 1px solid var(--coach-control-border); border-radius: 12px; background: var(--surface, white); box-shadow: var(--shadow-lg, 0 16px 48px #0006); }
.coach-decision-card h3 { margin: 0; font-size: 24px; line-height: 1.3; letter-spacing: -.025em; }
.coach-decision-card p { margin: 0 0 8px; font-size: 14px; line-height: 1.55; }
.coach-decision-card label { display: block; margin: 0 0 12px; font-size: 14px; font-weight: 600; }
.coach-decision-card input { width: 100%; box-sizing: border-box; margin-top: 8px; height: 44px; font: inherit; font-size: 16px; color: inherit; background: var(--background, white); border: 1px solid var(--coach-control-border); border-radius: 4px; padding: 8px 12px; }
.coach-decision-card > button { width: 100%; min-height: 44px; margin: 0; }
.coach-decision-card .coach-danger { background: var(--destructive, #7f1d1d); color: var(--destructive-foreground, #fff) !important; border-color: var(--destructive, #7f1d1d); }
.coach-decision-card > button:last-of-type { background: transparent; border-color: transparent; }
.coach-decision-card .coach-decision-note { order: 90; font-size: 13px; color: var(--text-secondary, #64748b); margin: 12px 0 0; text-align: center; }
.coach-decision-card .coach-status { order: 100; padding: 0; }
@media (max-width: 680px) { .coach-header-actions button { width: 44px; height: 44px; } .coach-chat-actions button { min-height: 44px; padding: 8px 6px; } .coach-decision-card { padding: 20px; } }

.coach-thread-manager.coach-decision .coach-decision-card > button { text-align: center; margin: 0; }

/* Guided Coach exposes context as information, not a mode/field configuration. */
.coach-panel .coach-information { width: 40px; min-height: 40px; padding: 8px; border: 0; background: transparent; font-size: 16px; }
.coach-information-panel { padding: 12px; margin: 8px 0 12px; border: 1px solid var(--coach-control-border); border-radius: 4px; font-size: 13px; max-height: 30dvh; overflow: auto; }
.coach-information-panel p { margin: 0; }
.coach-conversation-tools { padding: 8px 16px; display: flex; gap: 8px; flex: none; }
.coach-conversation-tools button { background: transparent; border-color: transparent; }
#coach-app-host:has(.coach-information:not([hidden])) .coach-width { display: inline-block; }
@media (max-width: 680px) { .coach-panel .coach-information { width: 44px; min-height: 44px; } }
