/* Ask Scott live chat (preview) */
.sc-chat { display: grid; gap: 0.6rem; }
.sc-ai-note { margin: 0; padding: 0.55rem 0.75rem; border-radius: 8px; background: #eef0f5; border-left: 3px solid var(--brand); font-size: 0.85rem; color: #2a3040; }
.sc-log { display: flex; flex-direction: column; gap: 0.5rem; height: min(46vh, 22rem); overflow-y: auto; padding: 0.75rem; border: 1px solid #d6d9e0; border-radius: 9px; background: #f8f9fb; }
.sc-msg { max-width: 85%; padding: 0.55rem 0.75rem; border-radius: 12px; font-size: 0.93rem; line-height: 1.4; white-space: pre-wrap; overflow-wrap: anywhere; }
.sc-msg a { color: #3d4f8a; text-decoration: underline; }
.sc-bot { align-self: flex-start; background: #fff; border: 1px solid #dfe2e8; color: #1d2230; border-bottom-left-radius: 4px; }
.sc-user { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.sc-sys { align-self: center; font-size: 0.8rem; color: #6b7282; background: none; padding: 0.2rem; }
.sc-typing { align-self: flex-start; font-size: 0.85rem; color: #6b7282; font-style: italic; }
.sc-form { display: flex; gap: 0.5rem; align-items: flex-end; }
.sc-form textarea { flex: 1; min-height: 2.6rem; max-height: 8rem; resize: vertical; box-sizing: border-box; padding: 0.55rem 0.7rem; border: 1px solid #c9cdd6; border-radius: 8px; font: inherit; font-size: 0.95rem; color: #1d2230; background: #fff; }
.sc-send { padding: 0.65rem 1rem; border: 0; border-radius: 9px; background: var(--brand); color: #fff; font: inherit; font-weight: 600; cursor: pointer; }
.sc-send[disabled] { opacity: 0.6; cursor: progress; }
.sc-tools { display: flex; flex-wrap: wrap; gap: 0.5rem 1rem; align-items: center; font-size: 0.85rem; }
.sc-tools button { padding: 0.35rem 0.7rem; border: 1px solid #8a93a8; border-radius: 8px; background: #fff; color: #2a3040; font: inherit; font-size: 0.85rem; cursor: pointer; }
.sc-tools button:hover { border-color: var(--brand); background: #f1f2f6; }
.sc-chat textarea:focus-visible, .sc-chat button:focus-visible, .sc-toggle:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.sc-toggle { margin: 0.25rem 0 0; font-size: 0.85rem; color: #4a5263; }
.sc-toggle button { border: 0; background: none; padding: 0; color: #3d4f8a; text-decoration: underline; font: inherit; cursor: pointer; }
.scout-dialog .scout-form[hidden], .sc-chat[hidden] { display: none !important; }
