/* The website's chat widget (cards 07·3, 07·4). The brand green of the site's buttons (se-brand.json), dark text for contrast. */
.se-chat { position: fixed; right: 16px; bottom: 16px; z-index: 2147483000; font: 15px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.se-chat-open { background: #81C149; color: #111118; border: 0; border-radius: 24px; padding: 12px 20px; font: inherit; font-weight: 600; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.se-chat-open:focus-visible, .se-chat-send:focus-visible, .se-chat-link:focus-visible, .se-chat-switch:focus-visible { outline: 3px solid #1c2630; outline-offset: 2px; }
.se-chat-panel { width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 32px)); background: #fff; color: #1d2733; border-radius: 12px; box-shadow: 0 8px 30px rgba(0,0,0,.25); display: flex; flex-direction: column; overflow: hidden; }
.se-chat-panel[hidden] { display: none; }
.se-chat-head { background: #1c2630; color: #fff; padding: 12px 14px; display: flex; justify-content: space-between; align-items: center; font-weight: 600; }
.se-chat-close { background: none; border: 0; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.se-chat-log { flex: 1; overflow-y: auto; padding: 12px; display: flex; flex-direction: column; gap: 10px; background: #f5f7fa; }
.se-chat-msg { max-width: 88%; padding: 9px 12px; border-radius: 10px; white-space: pre-wrap; overflow-wrap: anywhere; }
.se-chat-agent { background: #fff; border: 1px solid #dde3ea; align-self: flex-start; }
.se-chat-me { background: #1c2630; color: #fff; align-self: flex-end; }
.se-chat-wait { color: #6b7785; }
.se-chat-link, .se-chat-switch { display: inline-block; margin: 8px 6px 0 0; padding: 7px 12px; border-radius: 16px; background: #81C149; color: #111118 !important; text-decoration: none; font-weight: 600; font-size: 14px; border: 0; cursor: pointer; font-family: inherit; }
.se-chat-switch { background: #1c2630; color: #fff !important; }
.se-chat-link:hover, .se-chat-open:hover, .se-chat-send:hover { background: #57AC0C; }
.se-chat-form { display: flex; gap: 8px; padding: 10px; border-top: 1px solid #dde3ea; background: #fff; }
.se-chat-input { flex: 1; min-width: 0; padding: 9px 10px; border: 1px solid #c4ccd6; border-radius: 8px; font: inherit; }
.se-chat-send { background: #81C149; color: #111118; border: 0; border-radius: 8px; padding: 0 14px; font: inherit; font-weight: 600; cursor: pointer; }
.se-chat-send:disabled, .se-chat-input:disabled { opacity: .5; cursor: default; }
