/* The site assistant (assistant/templates/assistant/widget.html, static/atlas-chat.js): our own chat, no outside
   code. Reads like a conversation with Claude: the assistant's answers are plain, roomy text (no bubbles), the
   visitor's are soft bubbles, one large input. A window on desktop that can grow to a full conversation page, the
   whole screen on a phone. The accent follows the visitor's palette (static/atlas-palette.css). The mobile contact
   menu (assistant + WhatsApp + call) follows at the end. */
.atl-chat-root {
  --c-accent: rgb(var(--xp-c-a, 227, 6, 19));
  --c-on-accent: rgb(var(--xp-c-on-a, 255, 255, 255));
  --c-bg: #111214;
  --c-bg-2: #1a1b1f;
  --c-ink: #ececee;
  --c-ink-2: #c9cbd1;
  --c-mute: #8e919b;
  --c-line: rgba(255, 255, 255, .08);
  --c-user: #26272c;
  font-family: "Tajawal", "Cairo", system-ui, sans-serif;
}
.atl-chat-root[dir="ltr"] { font-family: "Inter", system-ui, sans-serif; }

/* the button that opens it */
#atlas-ai-label {
  position: fixed; z-index: 10001;               /* above the site's grain layer (.noise-layer, 9999), below the chat (10040) */
  right: calc(22px + env(safe-area-inset-right, 0px));
  bottom: calc(160px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 18px 8px 8px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .12);
  background: rgba(20, 21, 24, .94); color: #ececee;
  font: 700 14.5px/1.2 "Tajawal", "Cairo", system-ui, sans-serif;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .5);
  cursor: pointer; transition: transform .2s ease, opacity .2s ease, border-color .2s ease;
}
[dir="rtl"] #atlas-ai-label { padding: 8px 8px 8px 18px; }
#atlas-ai-label:hover { transform: translateY(-2px); border-color: rgba(255, 255, 255, .28); }
#atlas-ai-label .atl-spark { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: rgb(var(--xp-c-a, 227, 6, 19)); color: #fff; flex: 0 0 auto; }
#atlas-ai-label .atl-spark svg { width: 16px; height: 16px; }
html.atl-chat-open #atlas-ai-label { opacity: 0; pointer-events: none; transform: translateY(8px); }

/* the window */
.atl-chat {
  position: fixed; z-index: 10040;
  right: calc(22px + env(safe-area-inset-right, 0px));
  bottom: calc(22px + env(safe-area-inset-bottom, 0px));
  width: min(440px, calc(100vw - 32px));
  height: min(700px, calc(100dvh - 44px));
  display: flex; flex-direction: column; overflow: hidden;
  border-radius: 22px; border: 1px solid var(--c-line);
  background: var(--c-bg); color: var(--c-ink);
  box-shadow: 0 30px 90px rgba(0, 0, 0, .62);
  transform-origin: bottom right;
  animation: atl-chat-in .22s ease-out;
  transition: width .25s ease, height .25s ease, right .25s ease, bottom .25s ease, border-radius .25s ease;
}
.atl-chat[hidden], .atl-chat-scrim[hidden] { display: none; }
@keyframes atl-chat-in { from { opacity: 0; transform: translateY(12px) scale(.985); } }

/* «تكبير»: a full conversation page, like a chat app */
.atl-chat-scrim { position: fixed; inset: 0; z-index: 10039; background: rgba(0, 0, 0, .62); backdrop-filter: blur(3px); }
.atl-chat.is-wide { right: 50%; bottom: 50%; transform: translate(50%, 50%); width: min(920px, calc(100vw - 48px));
  height: calc(100dvh - 48px); animation: none; }
.atl-chat.is-wide .atl-chat-log { padding-inline: max(18px, calc((100% - 740px) / 2)); }
.atl-chat.is-wide .atl-chat-bottom { width: min(760px, 100%); margin-inline: auto; }
.atl-chat-tool .i-shrink, .atl-chat.is-wide .atl-chat-tool .i-grow { display: none; }
.atl-chat.is-wide .atl-chat-tool .i-shrink { display: block; }

.atl-chat-head { display: flex; align-items: center; gap: 11px; padding: 12px 12px 12px 16px; border-bottom: 1px solid var(--c-line); }
[dir="rtl"] .atl-chat-head { padding: 12px 16px 12px 12px; }
.atl-mark { width: 36px; height: 36px; border-radius: 11px; flex: 0 0 auto; display: grid; place-items: center;
  background: var(--c-accent); color: var(--c-on-accent); }
.atl-mark svg { width: 19px; height: 19px; }
.atl-chat-who { min-width: 0; flex: 1; display: grid; gap: 1px; }
.atl-chat-who strong { font-size: 15.5px; font-weight: 800; line-height: 1.35; }
.atl-chat-who small { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--c-mute); white-space: nowrap; overflow: hidden; }
.atl-chat-who small span:last-child { overflow: hidden; text-overflow: ellipsis; }
.atl-live { width: 7px; height: 7px; border-radius: 50%; background: #3ccf86; flex: 0 0 auto; }
.atl-chat-tool { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; flex: 0 0 auto;
  border: 0; background: transparent; color: var(--c-mute); cursor: pointer; transition: color .15s, background .15s; }
.atl-chat-tool:hover { color: var(--c-ink); background: rgba(255, 255, 255, .07); }
.atl-chat-tool svg { width: 18px; height: 18px; }

.atl-chat-log { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 22px 18px 10px;
  display: flex; flex-direction: column; gap: 18px; }
.atl-chat-log::-webkit-scrollbar { width: 6px; }
.atl-chat-log::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .12); border-radius: 6px; }

/* the welcome: a greeting and four starting points */
.atl-hello { display: grid; gap: 18px; padding: 10px 2px 4px; }
.atl-hello-mark { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--c-accent); color: var(--c-on-accent); }
.atl-hello-mark svg { width: 24px; height: 24px; }
.atl-hello h3 { margin: 0; font-size: 24px; line-height: 1.4; font-weight: 800; text-wrap: balance; color: var(--c-ink); }
.atl-hello p { margin: -8px 0 0; color: var(--c-mute); font-size: 14.5px; line-height: 1.8; }
.atl-starts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.atl-start { display: grid; gap: 3px; text-align: start; padding: 12px 13px; border-radius: 14px; border: 1px solid var(--c-line);
  background: var(--c-bg-2); color: var(--c-ink); font: inherit; cursor: pointer; transition: border-color .15s, background .15s; }
.atl-start:hover { border-color: rgba(255, 255, 255, .22); background: #202126; }
.atl-start b { font-size: 14px; font-weight: 800; }
.atl-start span { font-size: 12.5px; color: var(--c-mute); line-height: 1.5; }

/* the conversation */
.atl-turn-user { align-self: flex-end; max-width: 85%; padding: 10px 15px; border-radius: 18px; background: var(--c-user);
  color: var(--c-ink); font-size: 15px; line-height: 1.75; white-space: pre-wrap; overflow-wrap: anywhere; }
.atl-turn-bot { display: grid; grid-template-columns: 28px 1fr; gap: 11px; align-items: start; }
.atl-turn-bot .atl-av { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: var(--c-accent);
  color: var(--c-on-accent); margin-top: 2px; }
.atl-turn-bot .atl-av svg { width: 15px; height: 15px; }
.atl-answer { min-width: 0; font-size: 15.5px; line-height: 1.95; color: var(--c-ink-2); overflow-wrap: anywhere; }
.atl-answer p { margin: 0 0 10px; }
.atl-answer p:last-child { margin-bottom: 0; }
.atl-answer ul { margin: 4px 0 12px; padding-inline-start: 20px; display: grid; gap: 6px; list-style: disc outside; }
.atl-answer li { display: list-item; padding: 0; }
.atl-answer li::marker { color: var(--c-mute); }
.atl-answer strong { color: var(--c-ink); font-weight: 800; }
.atl-answer.is-error { color: #f3b0b0; }
.atl-answer.is-writing > :last-child::after { content: ""; display: inline-block; width: 8px; height: 1.1em; margin-inline-start: 3px;
  vertical-align: -3px; border-radius: 2px; background: var(--c-ink-2); animation: atl-caret .9s steps(2) infinite; }
@keyframes atl-caret { 50% { opacity: 0; } }
.atl-links { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.atl-link { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 10px; font-size: 13.5px; font-weight: 700;
  text-decoration: none !important; color: var(--c-ink) !important; background: var(--c-bg-2); border: 1px solid var(--c-line);
  transition: background .15s, border-color .15s; }
.atl-link:hover { background: #24252b; border-color: rgba(255, 255, 255, .22); }
.atl-link.is-main { background: var(--c-accent); border-color: transparent; color: var(--c-on-accent) !important; }
.atl-link.is-wa { border-color: rgba(37, 211, 102, .45); color: #7ee8aa !important; }
.atl-note { align-self: center; font-size: 13px; color: var(--c-mute); text-align: center; display: flex; flex-wrap: wrap; gap: 8px;
  align-items: center; justify-content: center; }
.atl-note button { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--c-line); background: var(--c-bg-2); color: var(--c-ink);
  font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.atl-thinking { display: inline-flex; align-items: center; gap: 5px; height: 30px; }
.atl-thinking i { width: 7px; height: 7px; border-radius: 50%; background: var(--c-mute); animation: atl-dot 1.1s infinite ease-in-out; }
.atl-thinking i:nth-child(2) { animation-delay: .15s; }
.atl-thinking i:nth-child(3) { animation-delay: .3s; }
@keyframes atl-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }

/* the input */
.atl-chat-bottom { padding: 6px 14px 10px; }
.atl-chat-form { display: flex; align-items: flex-end; gap: 8px; padding: 8px 8px 8px 14px; border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 20px; background: var(--c-bg-2); box-shadow: 0 6px 24px rgba(0, 0, 0, .25); transition: border-color .15s; }
[dir="rtl"] .atl-chat-form { padding: 8px 14px 8px 8px; }
.atl-chat-form:focus-within { border-color: rgba(255, 255, 255, .3); }
.atl-chat-form textarea { flex: 1; min-width: 0; resize: none; border: 0; outline: 0; background: transparent; color: var(--c-ink);
  font: inherit; font-size: 15.5px; line-height: 1.65; padding: 7px 0; max-height: 160px; }
.atl-chat-form textarea::placeholder { color: #7a7d87; }
.atl-chat-form textarea, .atl-chat-form textarea:focus, .atl-chat-form textarea:focus-visible { outline: none !important; box-shadow: none !important; border: 0 !important; background: transparent !important; }
.atl-send { width: 36px; height: 36px; border-radius: 11px; border: 0; flex: 0 0 auto; display: grid; place-items: center;
  background: var(--c-accent); color: var(--c-on-accent); cursor: pointer; transition: opacity .15s, transform .15s; }
.atl-send:hover:not(:disabled) { transform: translateY(-1px); }
.atl-send:disabled { opacity: .3; cursor: default; }
.atl-send svg { width: 18px; height: 18px; }
.atl-chat-foot { margin: 8px 6px 0; font-size: 11.5px; line-height: 1.6; color: #6f727c; text-align: center; }

.atl-chat :focus-visible { outline: 2px solid var(--c-accent); outline-offset: 2px; }

/* a phone: the whole screen, above the keyboard */
@media (max-width: 600px) {
  .atl-chat, .atl-chat.is-wide { inset: 0; transform: none; width: 100%; height: 100dvh; border-radius: 0; border: 0;
    padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); animation: atl-chat-up .24s ease-out; }
  .atl-only-wide { display: none !important; }
  .atl-chat-log { padding-inline: 16px; }
  .atl-hello h3 { font-size: 22px; }
  .atl-chat-form textarea { font-size: 16px; }              /* 16px: iOS doesn't zoom into the field */
  html.atl-chat-open, html.atl-chat-open body { overflow: hidden; }
}
@media (max-width: 360px) { .atl-starts { grid-template-columns: 1fr; } }
@keyframes atl-chat-up { from { opacity: 0; transform: translateY(24px); } }
@media (prefers-reduced-motion: reduce) {
  .atl-chat, .atl-thinking i, #atlas-ai-label, .atl-answer.is-writing > :last-child::after { animation: none !important; transition: none !important; }
}

/* the Atlas emblem in the button, the header, the welcome and beside each answer (no "AI" sparkle) */
#atlas-ai-label .atl-spark, .atl-mark, .atl-hello-mark, .atl-turn-bot .atl-av { background: none !important; overflow: hidden; }
#atlas-ai-label .atl-spark img, .atl-mark img, .atl-hello-mark img, .atl-turn-bot .atl-av img { width: 100%; height: 100%; display: block; object-fit: cover; }
.atl-turn-bot .atl-av { border-radius: 8px; }

/* answers the visitor can tap instead of typing (the assistant offers them when it asks a question) */
.atl-replies { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.atl-reply { padding: 9px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); background: transparent; color: var(--c-ink);
  font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background .15s, border-color .15s, color .15s; }
.atl-reply:hover { background: var(--c-accent); border-color: transparent; color: var(--c-on-accent); }

/* the Atlas robot: floating beside the button outside, saying hello now and then, waving on the welcome, in the phone's
   contact menu. Everything stops for visitors who ask for less motion. */
#atlas-ai-label { padding-inline-start: 80px !important; min-height: 46px; overflow: visible; }
#atlas-ai-label .atl-robot { position: absolute; inset-inline-start: 10px; bottom: 6px; width: 62px; height: 96px; pointer-events: none;
  transform-origin: 50% 85%; animation: atl-robot-float 3.4s ease-in-out infinite; }
#atlas-ai-label .atl-robot img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); }
#atlas-ai-label .atl-robot::after { content: ""; position: absolute; left: 50%; bottom: -10px; width: 44px; height: 8px; margin-left: -22px;
  border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .55), transparent); animation: atl-robot-shadow 3.4s ease-in-out infinite; }
#atlas-ai-label .atl-robot::before { content: ""; position: absolute; inset: 18% 8% 10%; border-radius: 50%; z-index: -1;
  background: radial-gradient(closest-side, rgba(var(--xp-c-a, 227, 6, 19), .55), transparent); opacity: 0; }
#atlas-ai-label.is-hello .atl-robot { animation: atl-robot-hello 1.4s ease-in-out; }
#atlas-ai-label.is-hello .atl-robot::before { animation: atl-robot-glow 1.4s ease-out; }
#atlas-ai-label:hover .atl-robot { animation-duration: 1.6s; }
@keyframes atl-robot-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-7px) rotate(-1.5deg); } }
@keyframes atl-robot-shadow { 0%, 100% { transform: scaleX(1); opacity: .9; } 50% { transform: scaleX(.72); opacity: .5; } }
@keyframes atl-robot-hello {
  0% { transform: translateY(0) rotate(0); } 15% { transform: translateY(-10px) rotate(-9deg); } 30% { transform: translateY(-10px) rotate(7deg); }
  45% { transform: translateY(-10px) rotate(-7deg); } 60% { transform: translateY(-8px) rotate(5deg); } 100% { transform: translateY(0) rotate(0); } }
@keyframes atl-robot-glow { 0% { opacity: 0; transform: scale(.6); } 35% { opacity: 1; } 100% { opacity: 0; transform: scale(1.5); } }

/* the layered robot: body, the arm turning at the elbow (28% 48% of the picture), eyelids over the two eyes */
.atl-robot, .atl-hello-robot, .atl-dock-peek { position: relative; }
.atl-robot img, .atl-hello-robot img, .atl-dock-peek img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.atl-r-arm { transform-origin: 28% 48%; animation: atl-arm-idle 4.5s ease-in-out infinite; }
.is-hello .atl-r-arm, .atl-hello-robot .atl-r-arm { animation: atl-arm-wave 1.4s ease-in-out 2; }
.atl-hello-robot .atl-r-arm { animation: atl-arm-wave 1.4s ease-in-out .2s 2, atl-arm-idle 4.5s ease-in-out 3s infinite; }
.atl-r-eye { position: absolute; top: 16.5%; height: 10%; border-radius: 45%; background: #07080a; opacity: 0; pointer-events: none;
  animation: atl-blink 4.8s infinite; }
.atl-r-eye.l { left: 34.5%; width: 18.5%; }
.atl-r-eye.r { left: 62.5%; width: 17.5%; }
@keyframes atl-arm-idle { 0%, 70%, 100% { transform: rotate(0); } 76% { transform: rotate(-14deg); } 82% { transform: rotate(9deg); }
  88% { transform: rotate(-10deg); } 94% { transform: rotate(4deg); } }
@keyframes atl-arm-wave { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-20deg); } 45% { transform: rotate(14deg); }
  70% { transform: rotate(-14deg); } 85% { transform: rotate(6deg); } }
@keyframes atl-blink { 0%, 90%, 96%, 100% { opacity: 0; } 92%, 94% { opacity: 1; } }

/* «حياك الله! …»: once a visit, a few seconds after arriving, until it's closed or the chat opens */
.atl-bubble { position: fixed; z-index: 10002; right: calc(22px + env(safe-area-inset-right, 0px)); bottom: calc(272px + env(safe-area-inset-bottom, 0px));
  width: min(250px, calc(100vw - 44px)); padding: 13px 34px 13px 15px; border-radius: 16px 16px 4px 16px; background: #fff; color: #15171c;
  font: 700 14px/1.6 "Tajawal", "Cairo", system-ui, sans-serif; box-shadow: 0 16px 40px rgba(0, 0, 0, .35); cursor: pointer;
  animation: atl-bubble-in .45s cubic-bezier(.2, .9, .3, 1.3); }
[dir="rtl"].atl-bubble { padding: 13px 15px 13px 34px; border-radius: 16px 16px 16px 4px; }
.atl-bubble[hidden] { display: none; }
.atl-bubble::after { content: ""; position: absolute; bottom: -7px; right: 26px; width: 14px; height: 14px; background: #fff; transform: rotate(45deg); }
.atl-bubble, .atl-bubble span { color: #15171c !important; -webkit-text-fill-color: #15171c !important; opacity: 1 !important; }
.atl-bubble small { display: block; margin-top: 3px; color: #6b7080 !important; -webkit-text-fill-color: #6b7080 !important; font-weight: 500; font-size: 12.5px; }
.atl-bubble-x { position: absolute; top: 6px; left: 6px; width: 24px; height: 24px; border: 0; border-radius: 50%; background: #f0f1f4;
  color: #6b7080 !important; -webkit-text-fill-color: #6b7080 !important; font-size: 15px; line-height: 24px; cursor: pointer; padding: 0; }
.atl-bubble[dir="ltr"] .atl-bubble-x { left: auto; right: 6px; }
html.atl-chat-open .atl-bubble { display: none; }
@keyframes atl-bubble-in { from { opacity: 0; transform: translateY(10px) scale(.9); } }

.atl-hello-robot { width: 70px; height: 108px; display: block; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .5));
  transform-origin: 50% 85%; animation: atl-robot-hello 1.4s ease-in-out .3s 1 both, atl-robot-float 3.4s ease-in-out 1.7s infinite; }
.atl-hello-robot img { width: 100%; height: 100%; object-fit: contain; display: block; }
.atlas-mobile-contact-action .atl-dock-robot { width: 22px; height: 34px; object-fit: contain; margin-block: -6px; }

/* phones: the contact button carries a small robot peeking over it, and the bubble sits above it */
.atl-dock-peek { position: absolute; width: 34px; height: 52px; top: -40px; left: 50%; margin-left: -17px; pointer-events: none;
  transform-origin: 50% 90%; animation: atl-robot-float 3.4s ease-in-out infinite; filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .45)); }
.atl-dock-peek img { width: 100%; height: 100%; object-fit: contain; display: block; }
.atlas-mobile-contact-toggle.is-hello .atl-dock-peek { animation: atl-robot-hello 1.4s ease-in-out; }
.atlas-mobile-contact-toggle[aria-expanded="true"] .atl-dock-peek { display: none; }
@media (max-width: 900px) {
  .atl-bubble { right: calc(14px + env(safe-area-inset-right, 0px)); bottom: calc(132px + env(safe-area-inset-bottom, 0px)); }
}
@media (prefers-reduced-motion: reduce) {
  #atlas-ai-label .atl-robot, #atlas-ai-label .atl-robot::after, #atlas-ai-label .atl-robot::before, .atl-hello-robot, .atl-dock-peek,
  .atl-bubble, .atl-r-arm, .atl-r-eye { animation: none !important; }
}

/* the privacy banner waits while the chat is open (it would sit on the input on a phone); it shows again after */
html.atl-chat-open #atlConsent { display: none !important; }

/* ---------------------------------------------------------------- the mobile contact menu */
.atlas-mobile-contact-dock {
  display: none;
}

@media (max-width: 900px) {
  html body.has-atlas-mobile-contact-dock {
    padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  }
  html body.has-atlas-mobile-contact-dock .floating-actions,
  html body.has-atlas-mobile-contact-dock #atlas-ai-label {
    display: none !important;
  }
  .atlas-mobile-contact-dock {
    position: fixed;
    z-index: 10020;
    right: calc(14px + env(safe-area-inset-right, 0px));
    bottom: calc(14px + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    direction: rtl;
  }
  .atlas-mobile-contact-dock[hidden],
  .atlas-mobile-contact-menu[hidden] {
    display: none !important;
  }
  .atlas-mobile-contact-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 184px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;
    background: rgba(15,17,22,.94);
    box-shadow: 0 16px 42px rgba(0,0,0,.4);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    animation: atlasContactMenuIn .18s ease-out;
  }
  .atlas-mobile-contact-action {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 11px;
    width: 100%;
    min-height: 48px;
    padding: 8px 12px;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 12px;
    background: rgba(255,255,255,.06);
    color: #fff !important;
    font: 800 14px/1.3 "Tajawal","Cairo",sans-serif;
    text-decoration: none !important;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .atlas-mobile-contact-action.is-whatsapp {
    border-color: rgba(37,211,102,.45);
    background: linear-gradient(135deg,#20bd60,#128c4a);
    box-shadow: 0 6px 16px rgba(37,211,102,.2);
  }
  .atlas-mobile-contact-action.is-call {
    border-color: rgba(255,53,65,.45);
    background: linear-gradient(135deg,#f21b28,#b80510);
    box-shadow: 0 6px 16px rgba(227,6,19,.2);
  }
  .atlas-mobile-contact-action.is-whatsapp:hover,
  .atlas-mobile-contact-action.is-call:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
  }
  .atlas-mobile-contact-action i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    flex: 0 0 24px;
    font-size: 19px;
  }
  .atlas-mobile-contact-action span {
    min-width: 0;
    flex: 1 1 auto;
  }
  .atlas-mobile-contact-action.is-assistant i { color: #ff3541; }
  .atlas-mobile-contact-action.is-whatsapp i,
  .atlas-mobile-contact-action.is-call i { color: #fff; }
  .atlas-mobile-contact-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    padding: 0;
    border: 2px solid rgba(255,255,255,.9);
    border-radius: 50%;
    background: linear-gradient(145deg,#f21b28,#b80510);
    color: #fff;
    box-shadow: 0 8px 24px rgba(227,6,19,.38),0 0 0 4px rgba(227,6,19,.13);
    font-size: 22px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  .atlas-mobile-contact-toggle:focus-visible,
  .atlas-mobile-contact-action:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
  }
  html.atl-chat-open .atlas-mobile-contact-dock {
    display: none !important;
  }
  body.region-soon .atlas-mobile-contact-dock {
    display: none !important;
  }
}
@keyframes atlasContactMenuIn {
  from { opacity: 0; transform: translateY(8px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

