/* Sondeobot 2 · The site's existing visual identity is retained. */
[hidden]{display:none!important}
.bot-dialog{width:min(490px,calc(100vw - 32px));height:min(810px,calc(100dvh - 32px));z-index:80}
.bot-dialog-inner{min-height:0}.bot-log{min-height:100px;overscroll-behavior:contain;scroll-behavior:auto}
.bot-dialog-header{padding:16px 18px}.bot-dialog-header p{font-size:11px}
.bot-ai-controls{padding:10px 16px;display:flex;align-items:center;gap:8px;flex-wrap:wrap;border-bottom:1px solid var(--line);background:#f5f6ee;flex-shrink:0}
.bot-ai-controls label{font-size:11px;font-weight:700}.bot-ai-controls select{min-height:36px;max-width:180px;font-size:11px;border:1px solid #b9c3ab;border-radius:6px;padding:4px 7px;background:white}
.bot-ai-controls .bot-reset{margin-left:auto;border:1px solid #bcc3b2;background:transparent;border-radius:6px;padding:7px 10px;font-size:11px;min-height:36px}
.bot-search-toggle{display:flex;align-items:center;gap:6px;padding:6px 16px;font-size:11px;background:#eef0e6;flex-shrink:0}
.bot-search-toggle input{width:16px;height:16px;accent-color:var(--ink)}.bot-search-toggle small{margin-left:auto;color:#5d6554;font-size:10px}
.bot-consent{margin:12px 16px 0;background:#fff8e4;border:1px solid #e0d3a8;padding:12px;border-radius:9px;flex-shrink:0;font-size:11px;line-height:1.55}
.bot-consent p{margin:0 0 8px}.bot-consent a,.bot-privacy-note a{text-decoration:underline;text-underline-offset:2px}
.bot-consent label{display:flex;align-items:flex-start;gap:8px;font-weight:700}.bot-consent input{margin:3px 0 0;flex:0 0 auto;width:16px;height:16px;accent-color:var(--ink)}
.bot-consent.accepted{background:#edf2e2;border-color:#c1cead}.bot-consent.accepted p{display:none}
.bot-message{font-size:13px;line-height:1.65}.bot-message .bot-reply-text{white-space:pre-wrap;overflow-wrap:anywhere}
.bot-message .bot-citation{display:inline!important;font-size:11px;margin:0 2px;padding:1px 3px;background:#e9efdc;color:#27331a;border-radius:3px;white-space:normal}
.bot-message.error{border-color:#dca598;background:#fff1ec}.bot-message.notice{background:#f1f3e8;border-style:dashed}
.bot-message .bot-source-list{border-top:1px solid #dde2d1;margin-top:10px;padding-top:8px}.bot-source-list a{font-size:11px;line-height:1.5;margin-top:5px}
.bot-quick{gap:6px;padding:8px 16px;max-height:95px;overflow:auto}.bot-quick button{padding:7px 9px;min-height:33px}
.bot-form{padding:10px 16px 8px}.bot-form input{font-size:16px}.bot-form button{min-width:44px;min-height:44px}.bot-privacy-note{font-size:10px;padding:0 16px 10px}
.bot-typing{font-size:11px;color:#59624d;padding:0 18px 7px;min-height:22px;flex-shrink:0}
.bot-launcher{z-index:55;min-height:46px}.bot-launcher.has-invitation{box-shadow:0 0 0 4px #d5e7a5,0 8px 24px #17201025}
.bot-nudge{position:fixed;right:24px;bottom:84px;width:min(330px,calc(100vw - 28px));z-index:56;border:1px solid #87966b;border-radius:16px 16px 3px 16px;padding:16px 18px;background:#f2f6e6;box-shadow:0 14px 42px #2028172b;animation:nudge-in .24s ease-out}
.bot-nudge-kicker{display:block;color:#586b37;letter-spacing:.8px;font-size:9px;font-weight:800;margin:0 27px 8px 0}
.bot-nudge p{font-size:15px;line-height:1.45;font-weight:700;letter-spacing:-.15px;margin:0 5px 14px 0}
.bot-nudge-close{position:absolute;top:8px;right:8px;background:transparent;border:0;border-radius:6px;width:36px;height:36px;font-size:24px;color:#4c5a3a}
.bot-nudge-actions{display:flex;align-items:center;gap:9px}.bot-nudge-open{background:var(--ink);color:white;border:0;border-radius:7px;padding:10px 14px;font-size:12px;font-weight:700;min-height:39px}
.bot-nudge-mute{background:transparent;color:#596647;border:0;text-decoration:underline;font-size:10px;padding:7px;min-height:35px}
@keyframes nudge-in{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:650px){.bot-dialog{inset:auto 6px 6px auto;width:calc(100vw - 12px);height:calc(100dvh - 12px)}.bot-dialog-header{padding:12px 14px}.bot-dialog-header h2{font-size:18px}.bot-consent{margin:9px 12px 0;padding:10px;font-size:10px}.bot-nudge{right:14px;bottom:76px;max-width:320px}.bot-ai-controls{padding:8px 12px;gap:6px}.bot-search-toggle{padding:5px 12px}.bot-chat-status{padding:8px 12px}.bot-log{padding:12px}.bot-quick{max-height:82px;padding:6px 12px}.bot-quick button{font-size:10px}.bot-form{padding:8px 12px}.bot-message{font-size:12px}.bot-privacy-note{font-size:9px;padding:0 12px 8px}}
@media(max-height:660px){.bot-consent{max-height:135px;overflow:auto}.bot-consent.accepted{padding:6px 10px}.bot-quick{max-height:43px}.bot-dialog-header{padding:8px 12px}.bot-ai-controls{padding:5px 12px}.bot-log{min-height:75px}.bot-chat-status{padding:5px 12px}}
@media(prefers-reduced-motion:reduce){.bot-nudge{animation:none!important}.bot-launcher{transition:none!important}}
@media print{.bot-nudge{display:none!important}}

/* Cloudflare connection refresh; scoped to the chat only. */
.bot-reconnect{align-self:flex-start;border:1px solid currentColor;border-radius:6px;background:transparent;color:inherit;font:inherit;font-size:11px;padding:5px 10px;cursor:pointer;margin:0 12px 8px;}
.bot-reconnect:hover{opacity:.75}.bot-reconnect:disabled{opacity:.4;cursor:wait}.bot-reconnect:focus-visible{outline:2px solid currentColor;outline-offset:3px}
