.customer-chat { --chat-teal: #063c3e; --chat-line: #dce4d9; --chat-muted: #647566; position: fixed; right: 24px; bottom: 24px; z-index: 90; color: var(--chat-teal); font-family: var(--font-sans, "Inter", sans-serif); text-align: left; }
.customer-chat *, .customer-chat *::before, .customer-chat *::after { box-sizing: border-box; }
.customer-chat [hidden] { display: none !important; }
.customer-chat button, .customer-chat input, .customer-chat textarea { font: inherit; }
.customer-chat p { margin: 0; }
.customer-chat button { cursor: pointer; }
.customer-chat svg { display: block; flex-shrink: 0; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.customer-chat .customer-chat__launcher { display: flex; align-items: center; gap: 11px; min-height: 48px; margin-left: auto; padding: 13px 19px; border: 1px solid #25615b; border-radius: 8px; background: var(--chat-teal); color: #fff; font-size: 12px; font-weight: 550; box-shadow: 0 5px 20px #063c3e18; }
.customer-chat .customer-chat__launcher svg { width: 19px; height: 19px; color: #20d7e5; }
.customer-chat .customer-chat__launcher:hover { background: #145752; }
.customer-chat .customer-chat__panel { position: absolute; right: 0; bottom: 62px; display: flex; flex-direction: column; width: 385px; max-width: calc(100vw - 32px); max-height: min(680px, calc(100dvh - 110px)); border: 1px solid #c9d7c6; border-radius: 12px; background: #f6f7f0; overflow: hidden; box-shadow: 0 14px 50px #063c3e26; }
.customer-chat .customer-chat__header { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding: 25px; background: var(--chat-teal); color: #fff; }
.customer-chat .customer-chat__header p { margin-bottom: 9px; color: #a7c7b8; font-size: 8px; font-weight: 550; letter-spacing: .13em; }
.customer-chat .customer-chat__header h2 { margin: 0 0 8px; color: #f5f7ea; font-size: 29px; font-weight: 450; letter-spacing: -.06em; line-height: 1.1; }
.customer-chat .customer-chat__header span { display: block; color: #b6cfc1; font-size: 10px; line-height: 1.6; }
.customer-chat .customer-chat__close { display: grid; place-items: center; width: 32px; height: 32px; padding: 6px; border: 1px solid #3b6b61; border-radius: 5px; background: transparent; color: #d8e8dd; }
.customer-chat .customer-chat__close svg { width: 17px; height: 17px; }
.customer-chat .customer-chat__close:hover { background: #1d5650; }
.customer-chat .customer-chat__body { min-height: 0; padding: 22px 24px; overflow-y: auto; }
.customer-chat .customer-chat__intro { margin-bottom: 19px; color: var(--chat-muted); font-size: 11px; line-height: 1.85; }
.customer-chat .customer-chat__messages { display: flex; flex-direction: column; gap: 14px; max-height: 240px; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.customer-chat .customer-chat__messages:empty { display: none; }
.customer-chat .customer-chat__message { width: 93%; padding: 13px 15px; border: 1px solid #dfe6d9; border-radius: 8px 8px 8px 0; background: #fff; }
.customer-chat .customer-chat__message--visitor { align-self: flex-end; border-color: #d8e2cf; border-radius: 8px 8px 0 8px; background: #e9efdf; }
.customer-chat .customer-chat__message-label { color: #6a7f5e; font-size: 9px; font-weight: 600; }
.customer-chat .customer-chat__message-text { margin: 6px 0 8px; color: #244c3e; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; line-height: 1.7; }
.customer-chat .customer-chat__message time { display: block; color: #7b8971; font-size: 8px; }
.customer-chat .customer-chat__status { margin: 14px 0 16px; color: #60775a; font-size: 10px; line-height: 1.7; }
.customer-chat .customer-chat__status--error { color: #9d443b; }
.customer-chat .customer-chat__identity { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; margin-bottom: 16px; }
.customer-chat .customer-chat__form fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.customer-chat .customer-chat__form label { display: block; margin-bottom: 6px; color: #466541; font-size: 10px; font-weight: 550; }
.customer-chat .customer-chat__form label span { font-size: 9px; font-weight: 400; color: #7e8b74; }
.customer-chat .customer-chat__form input, .customer-chat .customer-chat__form textarea { display: block; width: 100%; min-width: 0; padding: 10px; border: 1px solid #cedac6; border-radius: 5px; background: #fff; color: var(--chat-teal); font-size: 12px; line-height: 1.5; }
.customer-chat .customer-chat__form textarea { min-height: 83px; max-height: 180px; resize: vertical; }
.customer-chat .customer-chat__form textarea::placeholder { color: #8a987e; font-size: 11px; }
.customer-chat .customer-chat__form fieldset:disabled { opacity: .6; }
.customer-chat .customer-chat__send { display: flex; align-items: center; justify-content: space-between; gap: 15px; width: 100%; min-height: 42px; margin-top: 12px; padding: 12px 14px; border: 0; border-radius: 5px; background: var(--chat-teal); color: #fff; font-size: 11px; font-weight: 550; }
.customer-chat .customer-chat__send svg { width: 16px; height: 16px; color: #20d7e5; }
.customer-chat .customer-chat__send:hover { background: #15564f; }
.customer-chat .customer-chat__privacy { margin-top: 15px; color: #819073; font-size: 9px; line-height: 1.8; }
.customer-chat .customer-chat__privacy a { color: #526f46; text-decoration: underline; text-underline-offset: 2px; }
.customer-chat .customer-chat__sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.customer-chat :focus-visible { outline: 2px solid #4e8164; outline-offset: 3px; }
.customer-chat .customer-chat__header :focus-visible { outline-color: #20d7e5; }
@media (max-width: 480px) {
  .customer-chat { right: 16px; bottom: 16px; }
  .customer-chat .customer-chat__launcher { min-height: 44px; padding: 11px 14px; font-size: 11px; }
  .customer-chat .customer-chat__panel { bottom: 57px; max-height: calc(100dvh - 92px); }
  .customer-chat .customer-chat__body { padding: 18px; }
  .customer-chat .customer-chat__header { padding: 21px; }
  .customer-chat .customer-chat__messages { max-height: 220px; }
  .customer-chat .customer-chat__form input, .customer-chat .customer-chat__form textarea { font-size: 16px; }
}
