.assistant-dialog{width:480px;max-width:calc(100vw - 28px);max-height:calc(100svh - 36px);padding:0;border:1px solid #d5ddd8;border-radius:16px;color:#193a35;background:#f8faf7;box-shadow:0 25px 100px #0006;font-family:'DM Sans',Arial,sans-serif}
.assistant-dialog::backdrop{background:#0009}
.assistant-header{display:flex;justify-content:space-between;align-items:center;padding:22px 24px 16px;border-bottom:1px solid #dce4dc;background:#163e33;color:#fff}
.assistant-kicker{font-size:9px;letter-spacing:2px;color:#bcd9bf}
.assistant-header h2{font:600 26px/1.2 'DM Sans',Arial,sans-serif;margin:4px 0 0;letter-spacing:-.4px}
.assistant-close{width:44px;height:44px;border:1px solid #ffffff50;border-radius:50%;background:none;color:white;font-size:26px;cursor:pointer}
.assistant-intro{font-size:13px;line-height:1.6;margin:16px 24px;color:#607163}
.assistant-messages{display:flex;flex-direction:column;gap:12px;max-height:320px;min-height:120px;overflow-y:auto;overscroll-behavior:contain;padding:8px 22px 18px}
.assistant-message{padding:12px 15px;background:#e9efe5;border-radius:12px 12px 12px 2px;max-width:94%;font-size:13px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere;align-self:flex-start}
.assistant-message.from-user{background:#163e33;color:white;align-self:flex-end;border-radius:12px 12px 2px 12px}
.assistant-source-links{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px;white-space:normal}
.assistant-source-links a{display:block;font-size:11px;color:#1c5b42;border:1px solid #b4c9ad;border-radius:4px;padding:7px;text-decoration:underline;min-height:34px}
.assistant-suggestions{display:flex;gap:8px;flex-wrap:wrap;padding:0 22px 14px}
.assistant-suggestions button{font-size:11px;min-height:36px;background:white;color:#355a42;border:1px solid #c8d7be;border-radius:20px;padding:6px 12px;cursor:pointer}
.assistant-form{display:flex;gap:8px;padding:14px 22px 8px;border-top:1px solid #dde5d9}
.assistant-form input{min-width:0;flex:1;height:48px;font-size:14px;background:white;border:1px solid #bdcdb5;border-radius:6px}
.assistant-form button{width:48px;height:48px;flex:none;border:0;border-radius:6px;background:#163e33;color:white;font-size:23px;cursor:pointer}
.assistant-form button:disabled{opacity:.5;cursor:wait}
.assistant-note{font-size:10px;line-height:1.6;color:#75866f;margin:7px 22px 20px}
.assistant-dialog .visually-hidden{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
@media(max-width:640px){.assistant-dialog{max-height:calc(100svh - 22px)}.assistant-messages{max-height:38svh}.assistant-form input{font-size:16px}.assistant-header{padding:18px 20px 14px}}
.assistant-dialog{color:#f4f4f0;background:#1b1b1b;border-color:#424242}
.assistant-header{background:#111;border-color:#424242}
.assistant-kicker{color:#6ee2c3}
.assistant-intro,.assistant-note{color:#bbb}
.assistant-message{background:#2b2b2b;color:#f4f4f0}
.assistant-message.from-user{background:#164b40}
.assistant-message p{margin:8px 0 0;font-size:inherit;line-height:inherit;color:inherit}
.assistant-source-links a{color:#81eacb;border-color:#4b7567}
.assistant-suggestions{max-height:220px;overflow-y:auto;overscroll-behavior:contain;border-top:1px solid #424242;padding-top:14px}
.assistant-suggestions button{background:#222;color:#e8fff6;border-color:#52786b;font-size:12px;min-height:44px}
.assistant-suggestions button:hover{background:#164b40}
.assistant-suggestions button:focus-visible,.assistant-source-links a:focus-visible{outline:2px solid #81eacb;outline-offset:2px}
@media(max-height:700px){.assistant-messages{min-height:60px;max-height:25svh}.assistant-suggestions{max-height:24svh}}
