/* A quiet, human support shortcut. Localized and available across the site. */
.meda-chat { position: fixed; z-index: 85; inset-inline-end: max(24px, env(safe-area-inset-right)); bottom: max(22px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; align-items: flex-end; gap: 12px; color: #102d3d; font-family: inherit; }
.meda-chat *, .meda-chat *::before, .meda-chat *::after { box-sizing: border-box; }
.meda-chat button, .meda-chat a { -webkit-tap-highlight-color: transparent; }
.meda-chat button { font: inherit; cursor: pointer; }
.meda-chat button:focus-visible, .meda-chat a:focus-visible { outline: 3px solid #079d8e; outline-offset: 4px; }
.meda-chat svg { width: 20px; height: 20px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.meda-chat-launcher { display: inline-flex; align-items: center; gap: 11px; min-height: 58px; padding: 8px 18px 8px 9px; border: 1px solid #254c57; border-radius: 40px; background: #102d3d; color: #fff; font-size: 13px !important; font-weight: 700 !important; line-height: 1.3; box-shadow: 0 7px 24px #0c2c3c25; transition: transform .18s, box-shadow .18s; }
.meda-chat-launcher:hover { transform: translateY(-2px); box-shadow: 0 10px 28px #0c2c3c35; }
.meda-chat-launcher-icon { display: grid; place-items: center; width: 39px; height: 39px; border-radius: 50%; background: #c7f0dc; color: #103b3d; }
.meda-chat-launcher-icon svg { width: 26px; height: 26px; }
.meda-chat-launcher-arrow { color: #ddef62; font-size: 20px; margin-inline-start: 7px; }
.meda-chat-panel { width: 352px; max-width: calc(100vw - 32px); max-height: calc(100dvh - 112px); display: flex; flex-direction: column; border: 1px solid #d3e1db; border-radius: 22px; background: #fffefb; box-shadow: 0 18px 60px #0b2b3c24, 0 2px 8px #0b2b3c0d; overflow: hidden; animation: meda-chat-in .18s ease-out; }
.meda-chat-panel[hidden] { display: none !important; }
.meda-chat-header { display: flex; align-items: center; gap: 12px; padding: 22px 20px; flex: 0 0 auto; background: #e8f3eb; border-bottom: 1px solid #d8e7de; }
.meda-chat-avatar { display: grid; place-items: center; width: 43px; height: 43px; flex-shrink: 0; border-radius: 15px; background: #ddeb70; transform: rotate(-6deg); }
.meda-chat-avatar svg { width: 25px; height: 25px; transform: rotate(6deg); }
.meda-chat-brand { display: block; font-size: 9px; letter-spacing: .1em; font-weight: 800; line-height: 1.4; color: #526d62; }
.meda-chat-header h2 { margin: 4px 0 0; padding: 0; font-family: inherit; font-size: 23px; font-weight: 800; line-height: 1.2; letter-spacing: -.045em; }
.meda-chat-close { display: grid; place-items: center; width: 32px; height: 32px; margin-inline-start: auto; padding: 6px; border: 0; border-radius: 50%; background: transparent; color: #456057; }
.meda-chat-close:hover { background: #d8e9df; }
.meda-chat-close svg { width: 18px; height: 18px; }
.meda-chat-body { padding: 20px; min-height: 0; overflow-y: auto; overscroll-behavior: contain; }
.meda-chat-bubble { position: relative; margin: 0 0 17px; padding: 15px 16px; background: #eff4ef; border-radius: 0 16px 16px 16px; text-align: start; }
.meda-chat-bubble p { margin: 0; color: #43605c; font-size: 13px; line-height: 1.8; }
.meda-chat-bubble > span { display: block; margin-top: 9px; font-size: 13px; font-weight: 800; }
.meda-chat-choices { display: grid; gap: 8px; }
.meda-chat-choices a { display: flex; align-items: center; gap: 11px; min-height: 44px; padding: 10px 13px; border: 1px solid #dce7df; border-radius: 11px; background: #fff; color: #173c42; text-decoration: none; font-size: 13px; font-weight: 700; line-height: 1.5; transition: background .15s, border-color .15s; }
.meda-chat-choices a:hover { background: #f0f7ef; border-color: #96c5ae; }
.meda-chat-choices a > svg:first-child { color: #198774; width: 18px; height: 18px; }
.meda-chat-choices a > svg:last-child { margin-inline-start: auto; width: 16px; height: 16px; color: #738f83; }
.meda-chat-contact-label { margin: 20px 0 10px; text-align: center; color: #73867c; font-size: 11px; line-height: 1.6; }
.meda-chat-email { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 43px; padding: 10px 15px; border-radius: 10px; background: #102d3d; color: #fff; text-decoration: none; font-size: 13px; font-weight: 700; line-height: 1.6; }
.meda-chat-email:hover { background: #1b4452; }
.meda-chat-email svg { width: 17px; height: 17px; }
.meda-chat-email > span:last-child { margin-inline-start: auto; color: #dcef67; }
.meda-chat-app { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 42px; margin-top: 6px; padding: 10px 5px; border: 0; background: transparent; color: #176c60; font-size: 13px !important; font-weight: 700 !important; }
.meda-chat-app:hover { text-decoration: underline; text-underline-offset: 3px; }
.meda-chat-note { max-width: 250px; margin: 3px auto 0; text-align: center; color: #7a8a80; font-size: 9px; line-height: 1.65; }
html[dir="rtl"] .meda-chat { inset-inline-end: max(24px, env(safe-area-inset-left)); }
html[dir="rtl"] .meda-chat-launcher { padding: 8px 9px 8px 18px; }
html[dir="rtl"] .meda-chat-brand { letter-spacing: 0; }
html[dir="rtl"] .meda-chat-header h2 { letter-spacing: -.025em; }
html[dir="rtl"] .meda-chat-bubble { border-radius: 16px 0 16px 16px; }
html[dir="rtl"] .meda-chat-choices a > svg:last-child { transform: rotate(180deg); }
@keyframes meda-chat-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) {
  .meda-chat, html[dir="rtl"] .meda-chat { inset-inline-end: 16px; bottom: max(14px, env(safe-area-inset-bottom)); gap: 10px; }
  .meda-chat-launcher { min-height: 52px; padding: 6px 15px 6px 7px; font-size: 12px !important; }
  html[dir="rtl"] .meda-chat-launcher { padding: 6px 7px 6px 15px; }
  .meda-chat-launcher-icon { width: 37px; height: 37px; }
  .meda-chat-panel { max-height: calc(100dvh - 96px); }
  .meda-chat-header { padding: 17px 18px; }
  .meda-chat-body { padding: 17px; }
}
@media (prefers-reduced-motion: reduce) { .meda-chat-panel { animation: none; } .meda-chat-launcher, .meda-chat-choices a { transition: none; } }
