/* OGC v21 branded chat launcher: compact, fixed and mobile-safe. */
.ogc-support-chat { position: fixed; right: 22px; bottom: 22px; z-index: 10040; font-family: inherit; }
.ogc-support-chat-launcher {
  width: 64px; height: 64px; padding: 0; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: #20b99a; color: #fff;
  box-shadow: 0 12px 32px rgba(9, 63, 57, .25), 0 0 0 5px rgba(32,185,154,.12);
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease;
}
.ogc-support-chat-launcher:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(9,63,57,.32), 0 0 0 6px rgba(32,185,154,.16); }
.ogc-support-chat-launcher:focus-visible, .ogc-support-chat button:focus-visible, .ogc-support-chat a:focus-visible { outline: 3px solid #102b38; outline-offset: 3px; }
.ogc-support-chat-launcher svg { width: 34px; height: 34px; }
.ogc-support-chat-online { position: absolute; right: 3px; bottom: 3px; width: 12px; height: 12px; border: 2px solid #fff; border-radius: 50%; background: #8be3b6; pointer-events: none; }
.ogc-support-chat-panel {
  position: absolute; right: 0; bottom: 82px; width: min(356px, calc(100vw - 32px));
  overflow: hidden; border: 1px solid #dce9e4; border-radius: 17px; background: #fff;
  box-shadow: 0 22px 65px rgba(16,43,56,.22); color: #102b38;
  transform-origin: bottom right; animation: ogc-chat-in .18s ease-out;
}
.ogc-support-chat-panel[hidden] { display: none !important; }
.ogc-support-chat-head { display: flex; align-items: center; gap: 11px; padding: 17px 18px; background: #102f3b; color: #fff; border-bottom: 3px solid #3bbf93; }
.ogc-support-chat-mark { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 38px; border-radius: 11px; background: #3bbf93; color: #fff; font-size: 27px; line-height: 1; }
.ogc-support-chat-heading { display: grid; gap: 2px; flex: 1; min-width: 0; }
.ogc-support-chat-heading strong { font-size: 15px; font-weight: 800; }
.ogc-support-chat-heading small { color: #b7d2ca; font-size: 11px; }
.ogc-support-chat-close { width: 30px; height: 30px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: transparent; color: #fff; font-size: 21px; line-height: 1; cursor: pointer; }
.ogc-support-chat-body { padding: 18px; }
.ogc-support-chat-welcome { margin: 0; color: #102b38; font-size: 15px; font-weight: 800; }
.ogc-support-chat-note { margin: 7px 0 16px; color: #687e78; font-size: 13px; line-height: 1.55; }
.ogc-support-chat-action { display: flex; align-items: center; gap: 11px; padding: 12px 13px; border: 1px solid #cae7da; border-radius: 11px; background: #f0faf5; color: #087e61; text-decoration: none; }
.ogc-support-chat-action > i:first-child { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 10px; background: #d9f2e7; font-size: 19px; }
.ogc-support-chat-action span { display: grid; gap: 2px; flex: 1; min-width: 0; }
.ogc-support-chat-action strong { color: #0a765c; font-size: 13px; }
.ogc-support-chat-action small { color: #6d827b; font-size: 11px; }
.ogc-support-chat-action > i:last-child { font-size: 11px; }
.ogc-support-chat-email { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; color: #47665d; font-size: 12px; font-weight: 700; text-decoration: none; }
.ogc-support-chat-email:hover { color: #078468; }
/* The back-to-top control sits above chat so neither floating control overlaps. */
.back-to-top { bottom: 102px !important; z-index: 10020 !important; }
@keyframes ogc-chat-in { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (max-width: 640px) {
  .ogc-support-chat { right: 14px; bottom: 16px; }
  .ogc-support-chat-launcher { width: 58px; height: 58px; }
  .ogc-support-chat-launcher svg { width: 31px; height: 31px; }
  .ogc-support-chat-panel { bottom: 74px; width: min(350px, calc(100vw - 28px)); }
  .back-to-top { bottom: 88px !important; right: 16px !important; }
}
@media (prefers-reduced-motion: reduce) { .ogc-support-chat-launcher { transition: none; } .ogc-support-chat-panel { animation: none; } }
