/* ========================================================================
   web.css, emirates.com on LAPTOP with floating chat widget
   ======================================================================== */

.web-stage {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  padding: 80px 60px 60px;
}

/* Laptop frame */
.laptop {
  width: 1480px;
  position: relative;
  flex-shrink: 0;
}
.laptop-screen {
  width: 100%;
  height: 860px;
  background: #1a1a1c;
  border-radius: 14px 14px 4px 4px;
  padding: 16px 16px 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5), inset 0 0 0 2px #2a2a2e;
  position: relative;
}
.laptop-screen::before {
  content: "";
  position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 4px;
  background: #0a0a0c;
  border-radius: 0 0 4px 4px;
}
.laptop-base {
  width: 102%; height: 14px;
  margin-left: -1%;
  background: linear-gradient(180deg, #2a2a2e 0%, #1a1a1c 100%);
  border-radius: 0 0 14px 14px;
  position: relative;
}
.laptop-base::after {
  content: "";
  position: absolute;
  top: 0; left: 50%; transform: translateX(-50%);
  width: 120px; height: 4px;
  background: #0a0a0c;
  border-radius: 0 0 6px 6px;
}

.laptop-window {
  width: 100%; height: 100%;
  background: white;
  border-radius: 6px;
  overflow: hidden;
  display: flex; flex-direction: column;
}

/* Browser chrome */
.browser-chrome {
  height: 38px;
  background: #f4f4f6;
  border-bottom: 1px solid #d6d6da;
  display: flex; align-items: center;
  padding: 0 14px;
  gap: 10px;
  flex-shrink: 0;
}
.browser-chrome .lights { display: flex; gap: 6px; }
.browser-chrome .lights span { width: 11px; height: 11px; border-radius: 999px; display: block; }
.browser-chrome .lights span:nth-child(1) { background: #FE5F57; }
.browser-chrome .lights span:nth-child(2) { background: #FEBC2E; }
.browser-chrome .lights span:nth-child(3) { background: #28C840; }
.browser-chrome .navs { display: flex; gap: 4px; color: #8a8a90; font-size: 16px; padding: 0 6px; }
.browser-chrome .url {
  flex: 1; max-width: 460px;
  height: 26px; background: white; border: 1px solid #d6d6da;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-size: 11.5px; color: #444;
  padding: 0 10px;
}
.browser-chrome .tabs {
  margin-left: 12px;
  display: flex; gap: 0;
  flex: 1;
}
.browser-chrome .tab {
  background: white; border: 1px solid #d6d6da; border-bottom: 0;
  padding: 5px 14px;
  font-size: 11px; color: #444;
  border-radius: 6px 6px 0 0;
  display: flex; align-items: center; gap: 6px;
}
.browser-chrome .tab img { height: 11px; }

/* Site viewport */
.site-viewport {
  flex: 1;
  background: white;
  position: relative;
  overflow: hidden;
}

/* ============================================================
   Emirates HOMEPAGE mock
   ============================================================ */
.ek-home, .ek-manage {
  position: absolute; inset: 0;
  background: white;
  overflow: auto;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

.ek-strip {
  background: #FCEBC0;
  font-size: 11px; color: #6b5a1a;
  padding: 6px 24px;
  display: flex; align-items: center;
}
.ek-nav {
  background: #1a1a1c;
  padding: 0 28px;
  height: 50px;
  display: flex; align-items: center; gap: 28px;
  color: white;
}
.ek-logo {
  height: 26px; width: auto;
  filter: brightness(0) invert(1) saturate(2);
}
.ek-nav-items {
  display: flex; gap: 22px;
  font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em;
}
.ek-nav-right {
  margin-left: auto;
  display: flex; gap: 16px;
  font-size: 11px;
}

/* Hero */
.ek-hero {
  height: 360px;
  background: linear-gradient(180deg, rgba(0,0,0,0.28) 0%, rgba(0,0,0,0.12) 50%, rgba(0,0,0,0.05) 100%),
              url("../assets/ek-cabin-hero.png");
  background-size: cover; background-position: center 35%;
  position: relative;
  display: flex; align-items: center; justify-content: center;
}
.ek-hero-overlay {
  text-align: center;
  color: white;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.ek-hero-eyebrow {
  font-style: italic; font-size: 18px; opacity: 0.95;
}
.ek-hero-title {
  font-size: 56px; font-weight: 800; letter-spacing: 0.02em;
  margin-top: 4px;
  font-family: Georgia, serif;
}
.ek-hero-sub {
  font-style: italic; font-size: 17px; margin-top: 4px;
}
.ek-hero-cta {
  margin-top: 18px;
  background: #D71921; color: white;
  border: none;
  padding: 10px 36px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  border-radius: 2px;
  cursor: pointer;
}
.ek-hero-flybetter {
  position: absolute;
  right: 60px; top: 24px;
  color: white; opacity: 0.9;
  font-size: 26px; font-weight: 700;
  font-family: Georgia, serif;
  letter-spacing: 0.06em;
}

/* Search card overlapping hero */
.ek-search-card {
  width: 86%;
  max-width: 1000px;
  margin: -56px auto 0;
  background: white;
  border-radius: 4px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.18);
  overflow: hidden;
  position: relative;
  z-index: 2;
}
.ek-search-tabs {
  display: flex;
  border-bottom: 1px solid #ebebee;
}
.ek-stab {
  flex: 1;
  padding: 14px 12px;
  text-align: center;
  font-size: 12.5px; color: #6b6e75;
  font-weight: 500;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  border-right: 1px solid #ebebee;
}
.ek-stab:last-child { border-right: 0; }
.ek-stab.is-active {
  color: #1a1a1c; font-weight: 700;
  border-bottom: 2px solid #1a1a1c;
  background: white;
}
.ek-search-body {
  padding: 18px 22px 22px;
}
.ek-help-line {
  font-size: 11px; color: #c4302b; margin-bottom: 10px;
}
.ek-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr 0.9fr 0.9fr;
  gap: 12px;
}
.ek-input {
  position: relative;
  background: white;
  border: 1px solid #c8c8cc;
  border-radius: 2px;
  padding: 10px 12px 10px 12px;
  height: 50px;
  display: flex; flex-direction: column; justify-content: center;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.ek-input.is-focused {
  border-color: #D71921;
  box-shadow: 0 0 0 3px rgba(215,25,33,0.12);
}
.ek-input-label {
  font-size: 10.5px; color: #6b6e75; font-weight: 500;
}
.ek-input-value {
  font-size: 14px; color: #1a1a1c;
  margin-top: 2px;
  display: flex; align-items: center; min-height: 16px;
}
.ek-caret {
  display: inline-block;
  width: 1.5px; height: 14px;
  background: #1a1a1c;
  margin-left: 1px;
  animation: ek-caret-blink 1s steps(2) infinite;
}
@keyframes ek-caret-blink { 50% { opacity: 0; } }
.ek-submit {
  background: #D71921; color: white;
  border: none;
  border-radius: 2px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  cursor: pointer;
  height: 50px;
  transition: transform 80ms ease, background 120ms ease;
}
.ek-submit.is-pressed {
  background: #A8111A;
  transform: scale(0.97);
}
.ek-submit--ghost {
  background: white; color: #D71921;
  border: 1px solid #D71921;
}

/* Quick row */
.ek-quick-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0;
  width: 86%; max-width: 1000px;
  margin: 28px auto 0;
  border: 1px solid #ebebee;
  background: white;
}
.ek-quick {
  padding: 18px 10px;
  text-align: center;
  font-size: 11px; color: #4a4d54;
  border-right: 1px solid #ebebee;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.ek-quick:last-child { border-right: 0; }
.ek-quick-ico {
  width: 22px; height: 22px;
  background: #ebebee;
  border-radius: 4px;
}

/* Featured */
.ek-featured {
  width: 86%; max-width: 1000px;
  margin: 36px auto 40px;
}
.ek-featured-h {
  font-size: 14px; color: #4a4d54;
  text-align: center;
  margin-bottom: 16px;
}
.ek-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.ek-dest {
  background: white;
  border: 1px solid #ebebee;
  border-radius: 4px;
  overflow: hidden;
}
.ek-dest-img {
  height: 120px;
  background-size: cover;
  background-position: center;
}
.ek-dest-img[data-city="Singapore"] { background: linear-gradient(135deg, #c87850 0%, #6a4030 100%); }
.ek-dest-img[data-city="Munich"]    { background: linear-gradient(135deg, #b88858 0%, #5a3818 100%); }
.ek-dest-img[data-city="Osaka"]     { background: linear-gradient(135deg, #f0b8c0 0%, #c870a0 100%); }
.ek-dest-meta { padding: 12px 14px; }
.ek-dest-city {
  font-family: Georgia, serif;
  font-size: 18px; color: #1a1a1c; font-weight: 600;
}
.ek-dest-price {
  font-size: 11.5px; color: #6b6e75; margin-top: 2px;
}

/* Loading veil */
.ek-loading {
  position: absolute; inset: 0;
  background: rgba(255,255,255,0.96);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px;
  z-index: 5;
  animation: bubbleIn 200ms ease both;
}
.ek-spinner {
  width: 40px; height: 40px;
  border: 3px solid #ebebee;
  border-top-color: #D71921;
  border-radius: 999px;
  animation: ek-spin 0.9s linear infinite;
}
@keyframes ek-spin { to { transform: rotate(360deg); } }
.ek-loading-t {
  font-size: 13px; color: #4a4d54; font-weight: 500;
}

/* ============================================================
   Manage Booking page
   ============================================================ */
.ek-mb-hero {
  background: linear-gradient(180deg, #1a1a1c 0%, #2a2a2e 100%);
  color: white;
  padding: 32px 60px 26px;
}
.ek-mb-eyebrow {
  font-size: 11px; opacity: 0.7; letter-spacing: 0.08em; text-transform: uppercase;
}
.ek-mb-title {
  font-family: Georgia, serif;
  font-size: 32px; font-weight: 600;
  margin-top: 4px;
}
.ek-mb-sub {
  font-size: 12.5px; opacity: 0.85; margin-top: 4px;
}

.ek-mb-card {
  width: 88%;
  max-width: 1100px;
  margin: -16px auto 40px;
  background: white;
  border-radius: 6px;
  box-shadow: 0 14px 40px rgba(0,0,0,0.10);
  overflow: hidden;
}

.ek-mb-cancel-banner {
  background: #FFF4E5;
  border-bottom: 1px solid #F5C97B;
  padding: 14px 22px;
  display: flex; align-items: flex-start; gap: 14px;
}
.ek-mb-cancel-ico {
  width: 28px; height: 28px;
  border-radius: 999px;
  background: #D97706;
  color: white;
  font-weight: 800; font-size: 16px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.ek-mb-cancel-t {
  font-size: 14px; font-weight: 700; color: #5a3a0e;
}
.ek-mb-cancel-s {
  font-size: 12px; color: #6b4a1a; margin-top: 4px; line-height: 1.5;
}

.ek-mb-flight {
  padding: 22px 26px 22px;
}
.ek-mb-flight-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.ek-mb-flight-rt {
  font-size: 16px; font-weight: 700; color: #1a1a1c;
}
.ek-mb-flight-status {
  background: rgba(215,25,33,0.10);
  color: #A8111A;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em;
}

.ek-mb-flight-times {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  margin-top: 6px;
  padding: 14px 0;
  border-top: 1px dashed #ebebee;
  border-bottom: 1px dashed #ebebee;
}
.ek-mb-time {
  font-family: Georgia, serif;
  font-size: 28px; font-weight: 600;
}
.ek-mb-code {
  font-size: 12px; color: #6b6e75; margin-top: 2px; font-weight: 600; letter-spacing: 0.06em;
}
.ek-mb-place {
  font-size: 11px; color: #6b6e75; margin-top: 4px;
}
.ek-mb-arrow {
  display: flex; align-items: center; gap: 6px; padding: 0 14px;
}
.ek-mb-arrow-line {
  flex: 1; height: 1px;
  background: linear-gradient(90deg, #c8c8cc, #c8c8cc 4px, transparent 4px, transparent 8px);
  background-size: 8px 1px;
}

.ek-mb-actions {
  display: flex; gap: 10px;
  margin-top: 16px;
}
.ek-mb-action {
  background: white;
  border: 1px solid #c8c8cc;
  border-radius: 2px;
  padding: 10px 18px;
  font-size: 12.5px; font-weight: 600; color: #1a1a1c;
  cursor: pointer;
}
.ek-mb-action--primary {
  background: #D71921; color: white; border-color: #D71921;
}

.ek-mb-passenger {
  border-top: 1px solid #ebebee;
  padding: 18px 26px 22px;
  background: #FAFAF8;
}
.ek-mb-passenger-h {
  font-size: 11px; color: #6b6e75; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.ek-mb-passenger-row {
  display: flex; align-items: center; gap: 14px;
  margin-top: 8px;
}
.ek-mb-pa-av {
  width: 36px; height: 36px;
  border-radius: 999px;
  background: #1a1a1c;
  color: white;
  font-size: 12px; font-weight: 700;
  display: grid; place-items: center;
}
.ek-mb-pa-name {
  font-size: 14px; font-weight: 600; color: #1a1a1c;
}
.ek-mb-pa-meta {
  font-size: 11.5px; color: #6b6e75; margin-top: 2px;
}

/* ============================================================
   Animated cursor
   ============================================================ */
.ek-cursor {
  position: absolute;
  pointer-events: none;
  z-index: 20;
  transform: translate(-4px, -4px);
  transition: left 700ms cubic-bezier(.45,.05,.25,1), top 700ms cubic-bezier(.45,.05,.25,1);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}
.ek-cursor.phase-submit {
  animation: cursor-press 360ms ease both;
}
@keyframes cursor-press {
  0%   { transform: translate(-4px, -4px) scale(1); }
  35%  { transform: translate(-4px, -4px) scale(0.78); }
  100% { transform: translate(-4px, -4px) scale(1); }
}
.ek-cursor.phase-opening { opacity: 0.4; }
.ek-cursor.phase-open    { opacity: 0; }

/* FAB peek bubble (replaces tip) */
.chat-fab .fab-peek {
  position: absolute;
  right: calc(100% + 14px);
  bottom: 0;
  width: 240px;
  background: white;
  color: #1a1a1c;
  font-size: 11.5px;
  padding: 10px 12px;
  border-radius: 12px;
  border-bottom-right-radius: 4px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.18), 0 0 0 1px rgba(0,0,0,0.04);
  text-align: left;
  pointer-events: none;
  opacity: 0;
  animation: peek-in 480ms 280ms cubic-bezier(.2,.9,.3,1.2) forwards;
}
.fab-peek-name {
  display: block;
  font-size: 10.5px; font-weight: 700; color: #D71921;
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}
.fab-peek-text {
  display: block;
  line-height: 1.4;
  color: #1a1a1c;
}
@keyframes peek-in {
  from { opacity: 0; transform: translateY(6px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Floating chat widget, bottom right */
.chat-widget {
  position: absolute;
  right: 24px; bottom: 24px;
  width: 380px;
  height: 600px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 12px 50px rgba(0,0,0,0.25), 0 0 0 1px rgba(0,0,0,0.04);
  display: flex; flex-direction: column;
  overflow: hidden;
  z-index: 10;
}

.cw-header {
  background: linear-gradient(135deg, #D71921 0%, #A8111A 100%);
  color: white;
  padding: 14px 16px;
  display: flex; align-items: center; gap: 12px;
}
.cw-header .av {
  width: 38px; height: 38px; border-radius: 999px;
  background: white; overflow: hidden;
  border: 2px solid rgba(255,255,255,0.3);
}
.cw-header .av img { width: 100%; height: 100%; object-fit: cover; }
.cw-header .who .name { font-size: 14px; font-weight: 600; }
.cw-header .who .status {
  font-size: 11px; opacity: 0.9; margin-top: 2px;
  display: flex; align-items: center; gap: 6px;
}
.cw-header .who .status .dot {
  width: 6px; height: 6px; border-radius: 999px; background: #6EE2A8;
}
.cw-header .ai-badge {
  margin-left: auto;
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.06em;
  background: rgba(255,255,255,0.18);
  padding: 4px 8px; border-radius: 999px;
  display: flex; align-items: center; gap: 5px;
}
.cw-header .x { color: rgba(255,255,255,0.7); font-size: 18px; cursor: pointer; }

.cw-feed {
  flex: 1;
  overflow-y: auto;
  background: #F5F5F0;
  padding: 14px 14px;
  display: flex; flex-direction: column; gap: 8px;
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(0,0,0,0.18) transparent;
}
.cw-feed::-webkit-scrollbar { width: 6px; }
.cw-feed::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.18); border-radius: 3px; }
.cw-feed::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.30); }
.cw-feed::-webkit-scrollbar-track { background: transparent; }

.bubble-row {
  display: flex; gap: 8px; align-items: flex-end;
  animation: bubbleIn 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
@keyframes bubbleIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.bubble-row.from-user { justify-content: flex-end; }
.bubble-row .av {
  width: 24px; height: 24px; border-radius: 999px;
  flex-shrink: 0; overflow: hidden;
  align-self: flex-end;
}
.bubble-row .av img { width: 100%; height: 100%; object-fit: cover; }

.bubble {
  max-width: 280px;
  padding: 9px 13px;
  border-radius: 16px;
  font-size: 14px; line-height: 1.5;
  white-space: pre-wrap; word-wrap: break-word;
}
.bubble.from-hala {
  background: white; color: var(--ink);
  border-bottom-left-radius: 4px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.04);
}
.bubble.from-user {
  background: var(--ek-red); color: white;
  border-bottom-right-radius: 4px;
}
.bubble.from-user.tone-stressed {
  background: #B8141C;
  box-shadow: 0 2px 10px rgba(184,20,28,0.18);
  letter-spacing: 0.005em;
}
.bubble.from-user.tone-personal {
  background: var(--user-bubble, #4A6FE3);
  font-style: normal;
  letter-spacing: 0.005em;
}
.bubble.is-typing { padding: 11px 14px; color: var(--ink-3); }

/* Inline highlight inside Hala bubbles */
.chat-hl {
  background: linear-gradient(180deg, transparent 55%, #FFE9A8 55%);
  color: inherit; padding: 0 2px;
  font-weight: 600;
}

.chat-system {
  align-self: center;
  font-size: 10.5px; color: var(--ink-3);
  padding: 4px 10px;
  background: rgba(255,255,255,0.7);
  border-radius: 999px;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  animation: bubbleIn 0.3s ease both;
}

.chat-time {
  font-size: 9.5px; color: var(--ink-4);
  margin-top: 2px;
  padding: 0 8px;
}
.bubble-row.from-user .chat-time { text-align: right; }

.chat-options-card {
  align-self: flex-start;
  background: white; border: 1px solid var(--line);
  border-radius: 12px;
  width: 260px;
  margin-top: 4px;
  overflow: hidden;
  animation: bubbleIn 0.4s ease both;
}
.chat-options-card .opt {
  padding: 11px 13px;
  border-bottom: 1px solid var(--line-soft);
  position: relative;
}
.chat-options-card .opt:last-child { border-bottom: 0; }
.chat-options-card .opt .opt-tag {
  font-size: 9px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--ek-red); text-transform: uppercase;
}
.chat-options-card .opt .opt-rt {
  font-size: 12.5px; font-weight: 600; color: var(--ink); margin-top: 3px;
}
.chat-options-card .opt .opt-times {
  font-size: 10.5px; color: var(--ink-2); margin-top: 3px;
}
.chat-options-card .opt .opt-meta {
  font-size: 10px; color: var(--ink-3); margin-top: 5px;
  display: flex; gap: 8px;
}
.chat-options-card .opt .opt-meta .warn { color: var(--warn); font-weight: 600; }
.chat-options-card .opt.starred::before {
  content: "★"; position: absolute; top: 10px; right: 10px;
  color: var(--ek-gold); font-size: 13px;
}
.chat-options-card .opt .opt-tag .opt-rec {
  background: var(--ek-gold);
  color: #3A2912;
  font-size: 8.5px;
  padding: 2px 6px;
  border-radius: 3px;
  margin-right: 6px;
  letter-spacing: 0.08em;
}
.chat-options-card .opt.warn-opt { background: #FDF6F6; }
.chat-options-card .opt .opt-reason {
  margin-top: 7px;
  font-size: 11px;
  line-height: 1.4;
  color: var(--ink-2);
  display: flex; gap: 6px; align-items: flex-start;
  padding: 6px 8px;
  border-radius: 6px;
  background: #FBF8F0;
}
.chat-options-card .opt .opt-reason.is-rec {
  background: #FFF6D9;
  color: #6E4B0E;
}
.chat-options-card .opt .opt-reason.is-warn {
  background: #FDECEC;
  color: #8A2828;
}
.chat-options-card .opt .opt-reason svg { flex-shrink: 0; margin-top: 1px; }
.opts-foot {
  padding: 8px 13px;
  font-size: 10.5px;
  color: var(--ink-3);
  background: #FBFAF6;
  border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 6px;
}

/* Seat-hold pill card */
.chat-seat-hold {
  align-self: flex-start;
  background: white; border: 1px solid var(--line);
  border-left: 3px solid #C99318;
  border-radius: 10px;
  padding: 10px 12px;
  display: flex; align-items: center; gap: 10px;
  width: 260px;
  animation: bubbleIn 0.4s ease both;
}
.chat-seat-hold .seat-hold-ico {
  width: 38px; height: 38px; border-radius: 6px;
  background: #FFF6D9;
  color: #6E4B0E;
  font-weight: 700; font-size: 12px;
  display: grid; place-items: center;
  border: 1px solid #E8D595;
}
.chat-seat-hold .seat-hold-body { flex: 1; }
.chat-seat-hold .seat-hold-t { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.chat-seat-hold .seat-hold-s { font-size: 10.5px; color: #8A6912; margin-top: 2px; }

/* Channel-choice card (call vs voice-here) */
.chat-channel-choice {
  align-self: flex-start;
  display: flex; flex-direction: column; gap: 6px;
  width: 260px;
  animation: bubbleIn 0.4s ease both;
}
.cc-opt {
  background: white; border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex; align-items: center; gap: 10px;
}
.cc-opt-ico {
  width: 30px; height: 30px; border-radius: 999px;
  background: #F5F5F0;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.cc-opt-t { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.cc-opt-s { font-size: 10.5px; color: var(--ink-3); margin-top: 1px; }
.cc-opt.cc-opt--active {
  border: 1.5px solid var(--ek-red);
  box-shadow: 0 2px 10px rgba(215,25,33,0.12);
}
.cc-opt.cc-opt--active .cc-opt-ico { background: #FDECEE; }

/* Tap-call placeholder gains a ringing dot */
.chat-tap-call .ring-dot {
  width: 10px; height: 10px; border-radius: 999px;
  background: var(--ek-red);
  animation: ringPulse 0.9s infinite ease-in-out;
}
@keyframes ringPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.7); }
}

.chat-tap-call {
  background: white;
  border: 1.5px solid var(--ek-red);
  border-radius: 12px;
  padding: 12px;
  display: flex; align-items: center; gap: 10px;
  animation: bubbleIn 0.4s ease both, callPulse 2s infinite ease-in-out;
  margin-top: 4px;
}
@keyframes callPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(215,25,33,0.3); }
  50% { box-shadow: 0 0 0 8px rgba(215,25,33,0); }
}
.chat-tap-call .ico {
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--ek-red); color: white;
  display: grid; place-items: center; font-size: 15px; flex-shrink: 0;
}
.chat-tap-call .body { flex: 1; }
.chat-tap-call .body .ttl { font-size: 12px; font-weight: 600; color: var(--ink); }
.chat-tap-call .body .sub { font-size: 10.5px; color: var(--ink-3); margin-top: 1px; }

.cw-composer {
  background: white;
  border-top: 1px solid var(--line);
  padding: 8px 10px 10px;
  display: flex; align-items: center; gap: 8px;
}
.cw-composer .input {
  flex: 1; height: 32px;
  background: #ECECF0; border-radius: 16px;
  padding: 0 12px;
  display: flex; align-items: center;
  font-size: 12px; color: var(--ink-3);
}
.cw-composer .send {
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--ek-red); color: white;
  display: grid; place-items: center; font-size: 14px;
}

.cw-foot {
  text-align: center;
  padding: 6px;
  background: white;
  border-top: 1px solid var(--line-soft);
  font-size: 9.5px; color: var(--ink-4);
  display: flex; align-items: center; justify-content: center; gap: 6px;
}

/* ============================================================
   Floating chat FAB + expand-into-widget choreography
   ============================================================ */

.chat-fab {
  position: absolute;
  right: 24px; bottom: 24px;
  width: 60px; height: 60px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #D71921 0%, #A8111A 100%);
  box-shadow: 0 10px 28px rgba(168,17,26,0.42), 0 2px 6px rgba(0,0,0,0.18);
  cursor: pointer;
  display: grid; place-items: center;
  z-index: 11;
  padding: 0;
  /* opacity/transform set inline by React based on phase; no transition (host iframe pauses transitions). */
}
.chat-fab.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
@keyframes fab-pop {
  0%   { opacity: 0; transform: translateY(14px) scale(0.6); }
  60%  { opacity: 1; transform: translateY(-3px) scale(1.06); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes fab-enter {
  0%   { opacity: 0; transform: translateY(20px) scale(0.6); }
  60%  { opacity: 1; transform: translateY(-4px) scale(1.06); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.chat-fab img {
  width: 40px; height: 40px;
  border-radius: 999px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.85);
  position: relative; z-index: 2;
}
.chat-fab .fab-ring {
  position: absolute; inset: -6px;
  border-radius: 999px;
  border: 2px solid rgba(215,25,33,0.55);
  opacity: 0;
}
.chat-fab.is-pulsing .fab-ring {
  animation: fab-pulse 2s ease-out infinite;
}
@keyframes fab-pulse {
  0%   { opacity: 0.7; transform: scale(0.85); }
  80%  { opacity: 0;   transform: scale(1.45); }
  100% { opacity: 0;   transform: scale(1.45); }
}
.chat-fab .fab-badge {
  position: absolute;
  top: 2px; right: 2px;
  min-width: 18px; height: 18px;
  border-radius: 999px;
  background: #1B6E3A;
  color: white;
  font-size: 10px; font-weight: 700;
  display: grid; place-items: center;
  border: 2px solid white;
  z-index: 3;
}
.chat-fab .fab-tip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%; transform: translateY(-50%);
  background: #1A1F26;
  color: white;
  font-size: 11px; font-weight: 500;
  padding: 7px 11px;
  border-radius: 8px;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  opacity: 0;
  animation: tip-in 600ms 900ms cubic-bezier(.2,.9,.3,1.2) forwards;
  pointer-events: none;
}
.chat-fab .fab-tip::after {
  content: "";
  position: absolute;
  right: -5px; top: 50%; transform: translateY(-50%) rotate(45deg);
  width: 8px; height: 8px;
  background: #1A1F26;
}
@keyframes tip-in {
  from { opacity: 0; transform: translateY(-50%) translateX(6px); }
  to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}

/* Widget phases, controlled by .cw-page / .cw-opening / .cw-open on .chat-widget */
.chat-widget.cw-page {
  /* hidden until FAB is tapped */
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px) scale(0.4);
  transform-origin: 100% 100%;
}
.chat-widget.cw-opening {
  opacity: 1;
  pointer-events: none;
  animation: widget-expand 700ms cubic-bezier(.2,.85,.3,1.05) forwards;
  transform-origin: 100% 100%;
}
.chat-widget.cw-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transform-origin: 100% 100%;
}
@keyframes widget-expand {
  0%   { opacity: 0; transform: translateY(20px) scale(0.18); border-radius: 999px; }
  35%  { opacity: 1; transform: translateY(8px)  scale(0.55); border-radius: 60px; }
  100% { opacity: 1; transform: translateY(0)    scale(1);    border-radius: 16px; }
}
/* (FAB hidden state is the base .chat-fab rule; no override needed) */
