.heading-actions{display:flex;gap:7px}
.startup-switcher{margin:22px 0 8px;padding:12px;background:#f3f1ea;border:1px solid var(--line);border-radius:9px}
.startup-switcher label{display:block;font-size:9px;font-weight:800;letter-spacing:.1em;text-transform:uppercase;color:var(--muted);margin-bottom:6px}
.startup-switcher select{width:100%;padding:9px;border:1px solid #d1cdc1;border-radius:6px;background:white;font-size:12px}
.startup-switcher button{width:100%;margin-top:7px;padding:8px;border:1px solid var(--gold);border-radius:6px;background:white;color:#76581e;font-size:11px;font-weight:800;cursor:pointer}
.startup-switcher .delete-startup{border-color:#d8b5b2;color:#9f3d39;background:#fff8f7}
.startup-switcher .delete-startup:hover{border-color:#c96d67;background:#fff0ee}
.agent-heading .ghost.danger{border-color:#d8b5b2;color:#9f3d39;background:#fff8f7}
.agent-heading .ghost.danger:hover{border-color:#c96d67;background:#fff0ee}
.message.assistant .bubble{white-space:normal}
.bubble p{margin:0 0 10px}.bubble p:last-child{margin-bottom:0}
.bubble h3,.bubble h4{font-family:Georgia,serif;margin:18px 0 7px;color:var(--ink)}
.bubble h3:first-child,.bubble h4:first-child{margin-top:0}
.bubble ul,.bubble ol{margin:7px 0 12px;padding-left:21px}.bubble li{margin:4px 0}
.bubble a{color:#82601f;text-decoration-color:var(--gold2)}
.bubble code{background:#eeece5;padding:2px 4px;border-radius:3px;font-size:12px}
.progress{display:flex;align-items:center;gap:5px;color:var(--muted)}
.progress span{width:6px;height:6px;background:var(--gold);border-radius:50%;animation:pulse 1.2s infinite}
.progress span:nth-child(2){animation-delay:.15s}.progress span:nth-child(3){animation-delay:.3s}
.progress em{font-style:normal;margin-left:7px}
.source-list{margin-top:8px;border:1px solid var(--line);background:#fff;border-radius:9px;padding:10px}
.source-list>b{display:block;font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:0 0 6px}
.source-list a{display:flex;align-items:center;gap:9px;padding:7px;color:var(--ink);text-decoration:none;border-radius:6px}
.source-list a:hover{background:#f5f3ed}.source-list a>span{display:grid;place-items:center;min-width:22px;height:22px;border-radius:50%;background:var(--navy);color:white;font-size:10px}
.source-list strong,.source-list small{display:block}.source-list strong{font-size:11px}.source-list small{font-size:9px;color:var(--muted);max-width:540px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.evidence-used{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:8px;padding:9px 10px;background:#edf5f0;border:1px solid #cce1d5;border-radius:8px}
.evidence-used b{font-size:9px;letter-spacing:.1em;text-transform:uppercase;color:#39745b;margin-right:3px}.evidence-used span{font-size:9px;background:white;color:#315d49;padding:4px 7px;border-radius:12px}
.next-step,.continue-answer{margin-top:9px;border:0;border-radius:7px;background:var(--navy);color:white;padding:9px 13px;font-weight:800;font-size:11px;cursor:pointer}.continue-answer{background:#775a24}
.start-profile{margin-top:12px;border:0;border-radius:7px;background:var(--gold);color:white;padding:10px 14px;font-weight:800;cursor:pointer}
.composer-footer{padding-left:12px}.composer-tools,.send-group{display:flex;align-items:center;gap:11px}
.composer-footer .icon-button{background:transparent;color:var(--muted);padding:7px 4px}
.composer-footer .stop-button{background:#a13c35;color:white}
.response-limit{margin-top:8px;padding:9px 11px;border-left:3px solid var(--gold);background:#f2eee3;color:var(--muted);font-size:11px;line-height:1.45}
.long-message-note{margin-top:8px;color:#c9d2e8;font-size:10px;line-height:1.45}
.message{position:relative}.message-delete{position:absolute;right:5px;top:-3px;width:24px;height:24px;border:1px solid transparent;border-radius:50%;background:transparent;color:#9a9eaa;font-size:17px;line-height:19px;cursor:pointer;opacity:0;transition:.15s}.message:hover .message-delete,.message-delete:focus{opacity:1}.message-delete:hover{border-color:#d8b5b2;background:#fff4f3;color:var(--red)}.message.user .message-delete{right:auto;left:5px;color:#b9c1d2}.message.user .message-delete:hover{color:#fff;background:#9f3d39;border-color:#c96d67}
.walkthrough-guide{max-width:820px;margin:0 auto 10px;padding:13px 15px;border:1px solid #d8c58d;border-radius:10px;background:#fff9e8;box-shadow:0 5px 16px rgba(12,22,48,.05)}.walkthrough-guide>div:first-child{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.walkthrough-guide b{font-size:12px;color:#6d521d}.walkthrough-guide small{font-size:10px;color:var(--muted)}.walkthrough-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin:10px 0}.walkthrough-steps span{padding:6px;border-radius:6px;background:#ece9df;color:#787c88;font-size:9px;text-align:center}.walkthrough-steps span.current{background:var(--navy);color:white}.walkthrough-steps span.done{background:#dceee5;color:#2e7156}.walkthrough-action{display:flex;justify-content:flex-end;align-items:center;min-height:28px}.walkthrough-action strong{font-size:10px;color:#6d521d}.walkthrough-action button{border:0;border-radius:7px;background:var(--gold);color:white;padding:8px 11px;font-size:10px;font-weight:800;cursor:pointer}
.research-toggle{display:flex;align-items:center;gap:6px;cursor:pointer}.research-toggle input{accent-color:var(--gold)}
#doubleCheckControl[hidden]{display:none!important}
.profile-panel textarea{height:235px}
.field-label{display:block;font-size:10px;font-weight:800;margin:16px 0 6px;color:#5d6170}
.website-row{display:flex;gap:6px}.website-row input,.dialog-card input{min-width:0;width:100%;border:1px solid #d0ccbf;border-radius:7px;padding:10px;background:white}
.website-row button{border:0;border-radius:7px;background:var(--navy);color:white;padding:0 13px;font-weight:700;cursor:pointer}
.inline-status{min-height:16px;margin-top:5px;font-size:9px;line-height:1.4;color:var(--muted)}.inline-status.success{color:var(--green)}.inline-status.error-text{color:var(--red)}
.attachment-heading{display:flex;justify-content:space-between;margin:18px 0 8px;font-size:11px}.attachment-heading span{color:var(--muted)}
.attachment-list{display:grid;gap:6px;max-height:170px;overflow:auto;margin-bottom:8px}
.attachment{display:flex;align-items:center;gap:8px;padding:8px;background:#faf9f5;border:1px solid #d8d4c8;border-radius:7px}.attachment>span{color:var(--green)}.attachment>div{min-width:0;flex:1}
.attachment b,.attachment small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.attachment b{font-size:10px}.attachment small{font-size:9px;color:var(--muted);margin-top:2px}.attachment button{border:0;background:transparent;color:var(--muted);font-size:17px;cursor:pointer}
.no-evidence{font-size:10px;color:var(--muted);padding:10px;border:1px dashed #cbc5b6;border-radius:7px;line-height:1.45}
dialog{width:min(590px,calc(100vw - 30px));max-height:calc(100vh - 30px);overflow:auto}
.dialog-card>p,.settings-section>p{color:var(--muted);font-size:12px;line-height:1.55}.dialog-card label{margin-top:12px}
.settings-section{padding:18px 0;border-bottom:1px solid var(--line)}.settings-section h3{margin:0;font-family:Georgia,serif;font-weight:500}.settings-section>p{margin:6px 0 10px}
.settings-link{display:inline-block;margin-top:8px;color:#7a5b22;font-size:10px}
.onboarding-dialog{width:min(840px,calc(100vw - 28px));max-height:92vh}.onboarding-dialog .dialog-card>p{color:var(--muted);font-size:13px;line-height:1.6}
.onboarding-dialog textarea{width:100%;resize:vertical;border:1px solid #d0ccbf;border-radius:8px;padding:13px;line-height:1.55}
.guided-intake-fields{display:grid;gap:9px;margin:16px 0}.intake-section{border:1px solid #d9d5ca;border-radius:10px;background:#faf9f5;overflow:hidden;scroll-margin-top:18px}.intake-section>summary{display:flex;flex-direction:column;gap:3px;padding:13px 15px;cursor:pointer;list-style:none}.intake-section>summary::-webkit-details-marker{display:none}.intake-section>summary span{font-weight:700;font-size:13px}.intake-section>summary small{font-size:10px;color:var(--muted)}.intake-section[open]>summary{border-bottom:1px solid #e3dfd5}.intake-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;padding:15px}.intake-field{display:flex;flex-direction:column;gap:6px;font-size:11px;font-weight:650;min-width:0}.intake-field textarea{min-height:78px}.intake-field input,.intake-field textarea,.intake-field select{width:100%;font:inherit;font-weight:400;background:#fff;border:1px solid #d0ccbf;border-radius:7px;padding:10px;color:var(--ink)}.intake-field input:focus,.intake-field textarea:focus,.intake-field select:focus{outline:3px solid rgba(185,139,47,.18);border-color:var(--gold)}.intake-field input:invalid:not(:placeholder-shown){border-color:var(--red)}.intake-field:has(textarea){grid-column:1/-1}.intake-fieldset{border:0;margin:0;padding:0}.intake-fieldset legend{font-size:11px;font-weight:650;margin-bottom:7px}.required-mark{color:var(--red);font-weight:900}.intake-choice-group{display:flex;flex-wrap:wrap;gap:7px}.intake-choice-group label{display:flex;align-items:center;gap:6px;margin:0;padding:8px 10px;border:1px solid #d0ccbf;border-radius:7px;background:white;font-size:11px;font-weight:500;cursor:pointer}.intake-choice-group input{width:auto;margin:0;accent-color:var(--gold)}.intake-section-footer{display:flex;justify-content:flex-end;padding:0 15px 15px}.intake-section-done{border:0;border-radius:7px;background:var(--navy);color:white;padding:9px 13px;font-size:10px;font-weight:800;cursor:pointer}.intake-missing-summary{width:100%;border:1px solid #d9a7a3;border-radius:8px;background:#fff5f4;color:#9f3d39;padding:11px 13px;font-weight:800;font-size:11px;cursor:pointer}.intake-missing-summary.complete{border-color:#b9dccb;background:#edf7f1;color:#2f7557;cursor:default}.intake-missing-summary:disabled{opacity:1}@media(max-width:640px){.intake-grid{grid-template-columns:1fr}.intake-field:has(textarea){grid-column:auto}.intake-choice-group{display:grid;grid-template-columns:1fr}}
.onboarding-dialog .optional{font-weight:400;color:var(--muted)}.onboarding-evidence{display:flex;align-items:center;justify-content:space-between;gap:15px;margin:16px 0;padding:12px;background:#f4f2ec;border-radius:8px}
.onboarding-evidence b,.onboarding-evidence span{display:block}.onboarding-evidence b{font-size:11px}.onboarding-evidence span{font-size:10px;color:var(--muted);margin-top:3px}.onboarding-evidence .outline{width:auto;white-space:nowrap}
.dialog-note{text-align:center;font-size:10px!important}.bubble hr{border:0;border-top:1px solid var(--line);margin:15px 0}
.suggestions{flex-wrap:wrap;overflow:visible}.suggestions button{white-space:normal;line-height:1.25}
@media(max-width:720px){.heading-actions{flex-direction:column}.composer-footer{align-items:flex-end}.composer-tools{align-items:flex-start;flex-direction:column;gap:4px}.icon-button span{display:none}.walkthrough-guide>div:first-child{display:block}.walkthrough-guide small{display:block;margin-top:3px}.walkthrough-steps{grid-template-columns:1fr 1fr}.message-delete{opacity:1}}
