.header-chat{background:none;border:1px solid var(--accent);color:var(--accent);font-size:10px;text-transform:uppercase;letter-spacing:.05em;min-height:38px;padding:0 12px;cursor:pointer}.customer-chat-panel{width:min(560px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;border:1px solid var(--line);background:var(--bg);color:var(--ink)}.customer-chat-shell{display:flex;flex-direction:column;padding:24px;max-height:calc(100dvh - 34px);min-height:320px}.customer-chat-top{display:flex;align-items:center;justify-content:space-between;gap:20px}.customer-chat-top h2{margin:0;font-size:clamp(22px,3vw,30px);font-weight:500;letter-spacing:-.04em}.customer-chat-top button{background:none;border:0;color:var(--accent);font-size:32px;min-width:44px;min-height:44px;cursor:pointer}.customer-chat-intro{color:var(--muted);margin:8px 0 22px;font-size:13px;line-height:1.5}.customer-chat-start{overflow-y:auto}.customer-chat-start p{font-size:13px;line-height:1.6;color:var(--muted)}.customer-chat-consent{display:flex;gap:12px;align-items:flex-start;margin:24px 0;font-size:12px;line-height:1.6}.customer-chat-consent input{flex:0 0 auto;margin-top:4px;accent-color:var(--accent)}.customer-chat-consent a{color:var(--accent)}.customer-chat-history{overflow-y:auto;flex:1;min-height:100px;max-height:40dvh;overscroll-behavior:contain;display:flex;flex-direction:column;gap:12px;padding:4px 4px 16px 0}.chat-message{max-width:92%;border:1px solid var(--line);padding:12px 14px;align-self:flex-start}.chat-message-visitor{align-self:flex-end;border-color:rgba(183,255,60,.4);background:rgba(183,255,60,.06)}.chat-message p{font-size:14px;line-height:1.5;margin:0 0 8px;white-space:pre-wrap;overflow-wrap:anywhere}.chat-message small{font-size:9px;color:var(--muted)}.customer-chat-compose{display:grid;gap:12px;margin-top:16px}.customer-chat-compose :is(input,textarea){background:var(--surface);border:1px solid var(--line);color:var(--ink);padding:12px;width:100%;font-size:14px}.customer-chat-compose textarea{resize:vertical;max-height:20dvh;min-height:70px}.customer-chat-compose .button{min-height:44px;cursor:pointer}.customer-chat-shell button:disabled{opacity:.45;cursor:not-allowed}.customer-chat-empty,.customer-chat-note{color:var(--muted);font-size:11px;line-height:1.5}.customer-chat-error{color:#ffb4a8;font-size:12px;line-height:1.5}@media(max-width:600px){.customer-chat-panel{width:100%;height:100dvh;max-height:none;border:0}.customer-chat-shell{height:100dvh;max-height:none;padding:16px 20px max(20px,env(safe-area-inset-bottom))}.customer-chat-history{max-height:none}.header-chat{padding:0 8px}}