
#scout-launch{position:fixed;z-index:45;right:18px;bottom:19px;display:flex;align-items:center;gap:9px;padding:9px 15px 9px 9px;background:#1d6259;color:#fff;border:1px solid #8ab9aa;border-radius:999px;box-shadow:0 10px 30px #19373b65;font:inherit;font-size:13px;font-weight:650;cursor:pointer;transition:transform .14s,background .14s}
#scout-launch:hover{background:#174f48;transform:translateY(-2px)}
.scout-chip-face,.scout-face{display:flex;align-items:center;justify-content:center;gap:6px;background:#b6e1d6;color:#123c3b;border-radius:50%;width:27px;height:27px;flex:none}
.scout-chip-face i,.scout-face i{background:#14403d;width:5px;height:6px;border-radius:50%}
#scout-dialog{border:1px solid #d0e2dc;border-radius:15px;background:white;color:#254651;box-shadow:0 26px 80px #16343c70;padding:0;width:min(490px,calc(100vw - 25px));max-height:calc(100dvh - 25px);position:fixed;inset:auto 15px 13px auto;overflow:hidden}
#scout-dialog::backdrop{background:#132e3855}
.scout-head{display:flex;align-items:center;gap:12px;padding:20px;background:linear-gradient(120deg,#173e48,#25695e);color:white}
.scout-head .scout-face{width:42px;height:42px;border-radius:12px;gap:9px}
.scout-head .scout-face i{width:6px;height:7px}
.scout-head>div{flex:1;min-width:0}
.scout-head small{font-size:10px;letter-spacing:.09em;color:#c0ded7;font-weight:700}
.scout-head h2{color:white;margin:3px 0;font-size:18px;font-weight:700;line-height:1.25}
.scout-head p{font-size:12px;margin:0;line-height:1.45;color:#dceee9}
.scout-head [data-scout-close]{align-self:flex-start;cursor:pointer;background:#ffffff24;color:white;border:0;border-radius:7px;width:30px;height:30px;font-size:23px}
.scout-main{padding:18px 20px;max-height:calc(100dvh - 185px);overflow-y:auto}
.scout-instruction{font-size:13px;line-height:1.6;color:#54717b;margin:0 0 15px}
.scout-prompts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:16px}
.scout-prompts button{border:1px solid #cdded9;border-radius:8px;background:#f3f8f6;color:#22554f;text-align:left;padding:12px 11px;font:inherit;font-size:12px;font-weight:600;line-height:1.45;cursor:pointer;min-height:60px}
.scout-prompts button:hover{background:#e9f4ed}
#scout-form label{display:block;font-size:12px;font-weight:700;margin:0 0 6px;color:#46636d}
#scout-form>div{display:flex;gap:6px;align-items:stretch}
#scout-form input{min-width:0;flex:1;padding:11px;border-radius:8px;border:1px solid #ccdcd9;color:#214b53;font:inherit;font-size:13px}
#scout-form button{border:0;border-radius:8px;background:#21665a;color:white;padding:0 13px;font:inherit;font-size:12px;font-weight:650;cursor:pointer}
#scout-results{margin-top:17px}
.scout-idle{border:1px dashed #d1dfdc;padding:15px;background:#f8faf9;color:#61777c;font-size:12px}
.scout-report{border:1px solid #d8e6e1;border-radius:10px;padding:17px;background:#fff}
.scout-report>small{color:#2b7b6c;letter-spacing:.08em;font-weight:750;font-size:10px}
.scout-report h3{font-size:18px;color:#254e51;margin:6px 0 8px;line-height:1.3}
.scout-lead{font-size:13px;font-weight:650;line-height:1.6;color:#30585d;margin:0}
.scout-report ol{padding-left:20px;margin:12px 0}
.scout-report li{font-size:12px;line-height:1.65;color:#50676f;margin-bottom:8px}
.scout-next-grid{display:grid;gap:7px}
.scout-next{cursor:pointer;background:#f0f7f4;border:1px solid #d1e5dc;border-radius:8px;padding:12px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;font:inherit}
.scout-next strong{color:#235e53;font-size:12px}
.scout-next span{color:#478176;font-size:10px;font-weight:700;white-space:nowrap}
.scout-fine{font-size:11px;color:#75858b;line-height:1.6;margin:14px 0 0}
.scout-footer{padding:12px 19px;font-size:10px;color:#60787a;background:#f4f8f6;border-top:1px solid #e0eae6}
#scout-launch:focus-visible,.scout-next:focus-visible,.scout-prompts button:focus-visible{outline:3px solid #eeb763;outline-offset:3px}
@media(max-width:600px){#scout-launch{right:12px;bottom:calc(86px + env(safe-area-inset-bottom));font-size:12px}#scout-dialog{width:100%;max-height:calc(100dvh - 7px);inset:auto 0 0;border-radius:16px 16px 0 0}.scout-main{padding:16px;max-height:calc(100dvh - 173px)}}
@media(prefers-reduced-motion:reduce){#scout-launch{transition:none}}

@media (min-width:601px) and (max-width:900px){#scout-launch{bottom:calc(86px + env(safe-area-inset-bottom))}}

/* 11/11: where the Scout button floats (tablet), keep it from covering the footer link. */
@media(min-width:601px) and (max-width:1100px){.app-footer{padding-right:190px}}
/* Follow-up chips stay visible after an answer, while the starter prompts hide. Layout only, the look stays with the panel styles. */
#scout-dialog[data-answered=true] .scout-prompts.scout-followups{display:grid!important}
/* Talk mode toggle: the chosen mode reads as selected. Minimal, for the visual-upgrade pass to restyle. */
#scout-dialog [data-scout-mode][aria-pressed=true]{background:var(--calm-forest);border-color:var(--calm-forest);color:var(--paper);font-weight:600}
