:root{--sc-color: #2563eb;--sc-on-color: #ffffff;--sc-surface: #ffffff;--sc-surface-2: #f3f4f6;--sc-text: #111827;--sc-muted: #4b5563;--sc-border: #d1d5db;--sc-link: #1d4ed8;--sc-error: #b91c1c;--sc-error-bg: #fef2f2;color-scheme:light}:root[data-theme=dark]{--sc-surface: #111827;--sc-surface-2: #1f2937;--sc-text: #f9fafb;--sc-muted: #d1d5db;--sc-border: #4b5563;--sc-link: #93c5fd;--sc-error: #fecaca;--sc-error-bg: #450a0a;color-scheme:dark}@media (prefers-color-scheme: dark){:root[data-theme=auto]{--sc-surface: #111827;--sc-surface-2: #1f2937;--sc-text: #f9fafb;--sc-muted: #d1d5db;--sc-border: #4b5563;--sc-link: #93c5fd;--sc-error: #fecaca;--sc-error-bg: #450a0a;color-scheme:dark}}*{box-sizing:border-box}html,body{height:100%;margin:0}body{font:16px/1.5 system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--sc-text);background:var(--sc-surface)}#app{display:flex;flex-direction:column;height:100%;max-width:760px;margin:0 auto}.sc-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}:focus-visible{outline:3px solid var(--sc-link);outline-offset:2px}.sc-header :focus-visible{outline-color:var(--sc-on-color)}.sc-header{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px 10px 16px;background:var(--sc-color);color:var(--sc-on-color)}.sc-title{margin:0;font-size:1rem;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sc-icon-button{min-width:44px;min-height:44px;border:0;border-radius:8px;background:transparent;color:inherit;font-size:1.75rem;line-height:1;cursor:pointer}.sc-icon-button:hover{background:#7f7f7f40}.sc-log{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:10px}.sc-message{display:flex}.sc-visitor{justify-content:flex-end}.sc-bubble{max-width:88%;padding:10px 14px;border-radius:16px;white-space:pre-wrap;overflow-wrap:anywhere;background:var(--sc-surface-2)}.sc-visitor .sc-bubble{background:var(--sc-color);color:var(--sc-on-color);border-bottom-right-radius:4px}.sc-assistant .sc-bubble{border-bottom-left-radius:4px}.sc-bubble p{margin:0 0 8px}.sc-bubble p:last-child{margin-bottom:0}.sc-bubble ul{margin:0 0 8px;padding-left:20px}.sc-pending:after{content:"…"}.sc-sources{list-style:none;margin:10px 0 0!important;padding:8px 0 0!important;border-top:1px solid var(--sc-border);font-size:.875rem}.sc-sources li+li{margin-top:4px}a{color:var(--sc-link)}.sc-visitor a{color:inherit}.sc-suggestions{display:flex;flex-wrap:wrap;gap:8px}.sc-chip,.sc-restart{min-height:44px;padding:8px 14px;border-radius:22px;border:1px solid var(--sc-border);background:var(--sc-surface);color:var(--sc-text);font:inherit;font-size:.9375rem;text-align:left;cursor:pointer}.sc-chip:hover,.sc-restart:hover{background:var(--sc-surface-2)}.sc-restart{align-self:flex-start}.sc-info{margin:0;color:var(--sc-muted);font-size:.9375rem}.sc-alert{margin:0;padding:10px 14px;border-radius:12px;background:var(--sc-error-bg);color:var(--sc-error);font-size:.9375rem}.sc-contacts{margin:0;padding-left:20px}.sc-contacts a{display:inline-block;padding:6px 0}.sc-status{min-height:1.25rem;margin:0;padding:0 16px;color:var(--sc-muted);font-size:.8125rem}.sc-form{display:flex;align-items:flex-end;gap:8px;padding:8px 12px 4px;border-top:1px solid var(--sc-border)}.sc-form[hidden],.sc-count[hidden]{display:none}.sc-input{flex:1;min-height:44px;max-height:120px;padding:10px 12px;border-radius:12px;border:1px solid var(--sc-border);background:var(--sc-surface);color:var(--sc-text);font:inherit;resize:none}.sc-input[aria-invalid=true]{border-color:var(--sc-error)}.sc-send{min-height:44px;padding:0 16px;border:0;border-radius:12px;background:var(--sc-color);color:var(--sc-on-color);font:inherit;font-weight:600;cursor:pointer}.sc-send:disabled{opacity:.5;cursor:not-allowed}.sc-count{min-height:1.125rem;margin:0;padding:0 16px;font-size:.75rem;color:var(--sc-muted);text-align:right}.sc-count-error{color:var(--sc-error)}.sc-footer{padding:4px 16px 10px;font-size:.75rem;color:var(--sc-muted)}.sc-notice{margin:0 0 4px}.sc-brand{color:var(--sc-muted)}.sc-captcha:empty{display:none}.sc-captcha{padding:0 16px 8px}@media (prefers-reduced-motion: no-preference){.sc-log{scroll-behavior:smooth}}@media (forced-colors: active){.sc-bubble,.sc-chip,.sc-restart,.sc-send{border:1px solid CanvasText}}.sc-feedback{display:flex;gap:4px;margin-top:-4px}.sc-thumb{min-width:44px;min-height:44px;border:1px solid transparent;border-radius:22px;background:transparent;color:var(--sc-muted);font-size:1rem;cursor:pointer;filter:grayscale(1);opacity:.75}.sc-thumb:hover{background:var(--sc-surface-2)}.sc-thumb[aria-pressed=true]{border-color:var(--sc-border);background:var(--sc-surface-2);filter:none;opacity:1}.sc-lead{display:flex;flex-direction:column;gap:10px;padding:12px;border:1px solid var(--sc-border);border-radius:12px}.sc-field{display:flex;flex-direction:column;gap:4px}.sc-field label{font-size:.875rem;font-weight:600}.sc-field .sc-input{flex:none;width:100%}.sc-consent{display:flex;align-items:flex-start;gap:8px;font-size:.875rem}.sc-consent input{width:20px;height:20px;margin:2px 0 0;flex-shrink:0}.sc-lead-actions{display:flex;flex-wrap:wrap;gap:8px}.sc-alert[hidden]{display:none}
