.chat-launcher{position:fixed;right:22px;bottom:22px;z-index:24;box-shadow:0 5px 22px #203e3733}.chat-panel{width:min(460px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:20px}.chat-panel::backdrop{background:#15271e88}.chat-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.chat-heading h2{font:26px Georgia,serif;margin:0}.chat-heading p{margin:4px 0;font-size:13px}.chat-disclosure,.chat-consent{font-size:12px;line-height:1.55}.chat-consent{display:flex;align-items:flex-start;gap:9px;margin:14px 0;font-weight:400}.chat-consent input{width:20px;height:20px;min-height:20px;flex-shrink:0;margin:0}.chat-messages{max-height:30dvh;overflow-y:auto;overscroll-behavior:contain}.chat-message{white-space:pre-wrap;overflow-wrap:anywhere;padding:12px;border-radius:12px;background:var(--mint);font-size:14px}.chat-message.user{background:white;border:1px solid var(--line)}.chat-suggestions{display:flex;flex-wrap:wrap;gap:7px;margin:10px 0}.chat-suggestions button{background:white;border:1px solid var(--line);border-radius:14px;padding:9px;color:var(--green);font:inherit;font-size:12px;cursor:pointer}.chat-panel label[for]{font-size:13px;display:block;margin-bottom:5px}.chat-panel textarea{width:100%;font:inherit;padding:10px;border:1px solid #9ead9f;border-radius:12px;resize:vertical;max-height:140px;min-height:70px;background:white;color:var(--ink)}.chat-controls{display:flex;gap:10px;margin-top:10px}.chat-controls .button{width:auto}.chat-panel button:disabled{opacity:.5;cursor:not-allowed}.chat-status{font-size:12px;line-height:1.5;margin:12px 0;min-height:1.5em}.chat-links{display:flex;flex-wrap:wrap;gap:10px 20px;font-size:13px}@media (max-width: 760px), (max-width: 1050px) and (pointer: coarse){.chat-launcher{bottom:calc(84px + env(safe-area-inset-bottom));right:14px;font-size:13px;padding:11px 16px}.chat-panel{padding:16px}.chat-heading h2{font-size:23px}}

@media (max-width: 760px), (max-width: 1050px) and (pointer: coarse) {
 .chat-launcher { font-size: 20px; }
 .chat-panel[open] {
  display:flex;
  flex-direction:column;
  gap:10px;
  width:calc(100% - 16px);
  height:auto;
  max-height:calc(100dvh - 16px);
  padding:14px;
  overflow-y:auto;
  font-size: 22px;
 }
 .chat-heading h2 { font-size: 30px; }
 .chat-message { font-size: 22px; line-height:1.55; margin:0 0 10px; }
 .chat-heading p, .chat-disclosure, .chat-consent, .chat-links, .chat-status,
 .chat-panel label[for], .chat-suggestions button { font-size: 19px; }
 .chat-suggestions button { min-height:44px; }
 .chat-messages { flex:0 1 auto; min-height:0; max-height:38dvh; }
 .chat-messages:empty, .chat-status:empty { display:none; }
 .chat-panel textarea { font-size: 22px; min-height:60px; }
 .chat-controls { flex-wrap:wrap; margin-top:0; }
}


.chat-launcher, .chat-controls .button { font-size: 20px; }
.chat-message, .chat-panel textarea { font-size: 22px; }
.chat-heading p, .chat-disclosure, .chat-consent, .chat-links, .chat-status,
.chat-panel label[for], .chat-suggestions button { font-size: 19px; }

@media (max-width: 760px), (max-width: 1050px) and (pointer: coarse) {
 .chat-message, .chat-panel textarea { font-size:17px; line-height:1.35; }
 .chat-launcher, .chat-controls .button { font-size:14px; }
 .chat-heading h2 { font-size:19px; }
 .chat-heading p, .chat-disclosure, .chat-consent, .chat-links, .chat-status,
 .chat-panel label[for], .chat-suggestions button { font-size:13px; }
 .chat-panel textarea { min-height:96px; }
 .chat-controls .button { flex:1 1 100%; }
 .chat-launcher { bottom:calc(92px + env(safe-area-inset-bottom)); }
}
