/* THEME TOKENS (multi-tenant, 7 Jul 2026): per-site accent palette. Defaults = Devprayag gold.
   The widget's _applySiteConfig() overrides these on #eden-voice-host from dashboard-published
   site-config.theme, so one shared stylesheet serves every brand (no more per-site CSS forks). */
:host, #eden-voice-host {
  --ev-accent: #cba24f;
  --ev-accent-soft: #f0dca0;
  --ev-accent-hi: #f6e6b8;
  --ev-accent-mid: #e9d29a;
  --ev-accent-rgb: 203,162,79;
  --ev-accent-soft-rgb: 236,214,160;
}
/* Eden Voice widget — v2 "Liquid Glass" (ultra-clear, lively water-droplet).
   Frosted base works everywhere; the docked panel now uses an AUTHENTIC Apple Liquid Glass
   edge (directional white specular rim + faint chromatic-aberration "lensing" fringe, per
   WWDC25 reference) instead of the old loud conic-iridescent rim. Droplet orb is pure CSS.
   v1 (plum/gold) parked at /voice/_v1-plumgold/. */

#eden-voice {
  --ev-ink: #0e1830;
  --ev-irid1: rgba(255,120,180,.55); --ev-irid2: rgba(120,200,255,.6);
  --ev-irid3: rgba(160,255,210,.55); --ev-irid4: rgba(255,225,150,.55);
  font-family: "Play", "Segoe UI", system-ui, sans-serif;
}
#eden-voice * { box-sizing: border-box; }
#eden-voice [hidden] { display: none !important; }

/* ---- Launcher: vertical stack (orb on top, glass pill below), page-adaptive tint ---- */
#eden-voice-btn {
  position: fixed; right: 22px; bottom: max(20px, env(safe-area-inset-bottom, 0px));
  z-index: 2147482000;
  display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
  background: none; border: none; padding: 0; cursor: pointer; font-family: inherit;
  --ev-pill-tint: rgba(18,30,52,.55);
  --ev-pill-tint-2: rgba(14,24,44,.42);
  --ev-pill-ink: #fff;
  --ev-pill-edge: rgba(255,255,255,.30);
  -webkit-tap-highlight-color: transparent;
}
.ev-launch {
  position: relative; width: 120px; height: 120px;
  display: grid; place-items: center;
  animation: evDrop 1.2s cubic-bezier(.5,.05,.3,1) both;
}
/* soft ambient gold halo that gently breathes behind the orb — premium "alive" glow.
   base opacity MUST match the animation's 0% frame (.48): without it the halo runs at full
   brightness during the 1.2s drop (reads as a WHITE flash) then visibly dims when evHalo kicks in. */
.ev-launch::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 168%; height: 168%;
  transform: translate(-50%, -50%); border-radius: 50%; z-index: 0; pointer-events: none; opacity: .48;
  background: radial-gradient(circle, rgba(240,220,160,.5) 0%, rgba(var(--ev-accent-rgb),.24) 36%, transparent 66%);
  filter: blur(7px); animation: evHalo 5.5s ease-in-out 1.25s infinite;
}
.ev-launch-canvas { width: 100%; height: 100%; display: block; position: relative; z-index: 1;
  animation: evOrbFloat 5.5s ease-in-out 1.25s infinite; }
/* the orb breathes — a slow, gentle float + barely-there pulse, so it never feels static */
@keyframes evOrbFloat { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-4px) scale(1.03); } }
@keyframes evHalo { 0%, 100% { opacity: .48; transform: translate(-50%, -50%) scale(1); } 50% { opacity: .92; transform: translate(-50%, -50%) scale(1.12); } }
/* hover lifts the glow — a quiet invitation */
#eden-voice-btn:hover .ev-launch::after { opacity: 1; transform: translate(-50%, -50%) scale(1.2); transition: transform .4s ease, opacity .4s ease; }
@media (prefers-reduced-motion: reduce) { .ev-launch-canvas, .ev-launch::after { animation: none !important; } }
.ev-launch.ev-nogl .ev-launch-canvas { display: none; }
.ev-launch.ev-nogl::before { content: ""; position: absolute; inset: 8px; border-radius: 50%;
  background: radial-gradient(circle at 38% 30%, #f3e6c0, var(--ev-accent) 58%, #4a3a1e);
  box-shadow: inset 0 1px 2px rgba(255,255,255,.5), 0 6px 18px rgba(0,0,0,.45); }
.ev-label {
  position: relative; min-height: 30px; display: inline-flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; letter-spacing: .2px; white-space: nowrap;
  padding: 8px 16px; border-radius: 999px; max-width: min(74vw, 220px);
  color: var(--ev-pill-ink);
  background:
    linear-gradient(135deg, rgba(255,255,255,.22), rgba(255,255,255,.05)),
    linear-gradient(135deg, var(--ev-pill-tint), var(--ev-pill-tint-2));
  -webkit-backdrop-filter: blur(14px) saturate(135%); backdrop-filter: blur(14px) saturate(135%);
  border: 1px solid var(--ev-pill-edge);
  box-shadow: 0 6px 18px rgba(10,20,40,.28), inset 1px 1px 1px rgba(255,255,255,.45);
  text-shadow: 0 1px 3px rgba(0,0,0,.32);
  animation: evLabelIn .5s ease 1.05s both;
  transition: background .6s ease, color .35s ease, border-color .6s ease;
  overflow: hidden;
}
.ev-label::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(var(--ev-accent-rgb),.22);
}
#eden-voice-btn.ev-on-light .ev-label { text-shadow: 0 1px 2px rgba(255,255,255,.4); }
/* on LIGHT slides the pale-gold orb + gold halo lose figure/ground (orb vanished on sky slides) —
   swap the halo to a deep-plum cushion so the orb always sits on contrast. The .ev-on-light class
   is already toggled by _startTint's live luminance sampling; these rules finally consume it. */
#eden-voice-btn.ev-on-light .ev-launch::after {
  background: radial-gradient(circle, rgba(35,20,38,.5) 0%, rgba(35,20,38,.28) 42%, transparent 68%);
}
#eden-voice-btn.ev-on-light .ev-launch-canvas { filter: drop-shadow(0 2px 10px rgba(35,20,38,.55)); }
/* tiny "speaking" bars in the pill — the launcher finally says VOICE */
.ev-mic { display: inline-flex; align-items: center; gap: 2px; height: 12px; margin-right: 7px; flex: 0 0 auto; }
.ev-mic i { display: block; width: 2.5px; border-radius: 2px; background: currentColor; opacity: .92; height: 7px; animation: evMicBar 1.2s ease-in-out infinite; }
.ev-mic i:nth-child(2) { height: 12px; animation-delay: .15s; }
.ev-mic i:nth-child(3) { height: 9px; animation-delay: .3s; }
@keyframes evMicBar { 0%, 100% { transform: scaleY(.55); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .ev-mic i { animation: none !important; } }
.ev-label-txt { display: inline-block; will-change: opacity, transform; }
.ev-label.ev-swap .ev-label-txt { animation: evNudgeSwap .45s ease both; }
@keyframes evNudgeSwap {
  0%   { opacity: 1; transform: translateY(0); }
  45%  { opacity: 0; transform: translateY(-6px); }
  55%  { opacity: 0; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}
#eden-voice-btn.on .ev-label {
  color: #2a2010;
  background: linear-gradient(135deg, var(--ev-accent-soft), var(--ev-accent));
  border-color: rgba(var(--ev-accent-soft-rgb),.7); text-shadow: none;
  box-shadow: 0 4px 14px rgba(var(--ev-accent-rgb),.4), inset 0 1px 0 rgba(255,255,255,.5);
}
@keyframes evLabelIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes evDrop {
  0%   { transform: translateY(-105vh) scaleX(.78) scaleY(1.3); opacity: 0; }
  9%   { opacity: 1; }
  60%  { transform: translateY(0) scaleX(.9) scaleY(1.12); }
  72%  { transform: translateY(-9px) scaleX(1.16) scaleY(.84); }
  84%  { transform: translateY(0) scaleX(.96) scaleY(1.05); }
  100% { transform: translateY(0) scale(1); }
}

/* ---- Docked panel — authentic Apple "Liquid Glass" ----
   Clear translucent body that lets the page read through, a directional WHITE specular rim
   (bright top-left, soft shade bottom-right) that defines the silhouette like real glass,
   a faint chromatic-aberration edge fringe (the "lensing" signature — cool cyan on the light
   edge, warm magenta on the shaded edge), and a soft floating drop-shadow. Apple words:
   "refract the content behind them, while reflecting content… specular highlights." */
#eden-voice-panel.ev-overlay {
  position: fixed; right: 22px; bottom: 88px; z-index: 2147483000;
  width: min(372px, calc(100vw - 28px)); max-height: min(74vh, 588px);
  display: flex; flex-direction: column; overflow: hidden; border-radius: 28px;
  background:
    linear-gradient(165deg, rgba(64,42,72,.60), rgba(40,24,52,.72)),
    radial-gradient(125% 88% at 50% 0%, rgba(233,210,154,.20), transparent 58%),
    radial-gradient(120% 80% at 100% 100%, rgba(140,80,170,.14), transparent 60%);
  -webkit-backdrop-filter: blur(30px) saturate(160%); backdrop-filter: blur(30px) saturate(160%);
  border: 1px solid rgba(var(--ev-accent-rgb),.42);
  box-shadow:
    0 30px 70px -18px rgba(0,0,0,.62), 0 8px 22px -10px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(255,255,255,.07), inset 0 0 24px rgba(var(--ev-accent-rgb),.05);
  animation: evPop .26s cubic-bezier(.2,.9,.3,1);
}
/* (SVG feDisplacementMap refraction removed — it re-samples the whole backdrop every repaint
   and froze the renderer during scroll/gallery load. The directional rim + faint chromatic
   fringe below fake the lensing look at a fraction of the cost.) */
#eden-voice-panel.ev-overlay { contain: layout paint; }
@keyframes evPop { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
/* specular sheen drifting across the glass (light reacting to movement) */
#eden-voice-panel.ev-overlay::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: linear-gradient(118deg, transparent 34%, rgba(255,255,255,.06) 48%, rgba(255,255,255,.02) 55%, transparent 70%); background-size: 250% 250%; animation: evSheen 11s ease-in-out infinite; }
@keyframes evSheen { 0% { background-position: 0% 0%; } 100% { background-position: 100% 100%; } }

/* the lensing edge: bright specular corners + a faint chromatic-aberration fringe */
#eden-voice-panel.ev-overlay::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.3px; pointer-events: none;
  background: linear-gradient(150deg,
    rgba(var(--ev-accent-soft-rgb),.85) 0%, rgba(var(--ev-accent-rgb),.30) 24%,
    rgba(255,255,255,.05) 52%, rgba(var(--ev-accent-rgb),.18) 80%, rgba(var(--ev-accent-soft-rgb),.7) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); mask-composite: exclude;
}

.ev-stage { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; padding: 22px 20px 20px; overflow-y: auto;
  scrollbar-width: thin; scrollbar-color: rgba(var(--ev-accent-rgb),.55) transparent; }
/* slim gold scrollbar that matches the panel (Chromium); Firefox uses scrollbar-color above */
.ev-stage::-webkit-scrollbar { width: 8px; }
.ev-stage::-webkit-scrollbar-track { background: transparent; margin: 10px 0; }
.ev-stage::-webkit-scrollbar-thumb { background: rgba(var(--ev-accent-rgb),.45); border-radius: 999px; border: 2px solid transparent; background-clip: padding-box; }
.ev-stage::-webkit-scrollbar-thumb:hover { background: rgba(var(--ev-accent-soft-rgb),.7); background-clip: padding-box; }
.ev-close { position: absolute; top: 12px; right: 14px; background: rgba(var(--ev-accent-rgb),.12); border: 1px solid rgba(var(--ev-accent-rgb),.4); color: var(--ev-accent-mid); cursor: pointer; width: 30px; height: 30px; border-radius: 50%; font-size: 18px; line-height: 1; transition: background .15s; }
.ev-close:hover { background: rgba(var(--ev-accent-rgb),.28); }

.ev-brand { display: flex; align-items: center; gap: 12px; margin: 2px 0 16px; align-self: flex-start; }
.ev-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 17px; color: #2a2010;
  background: radial-gradient(circle at 34% 30%, var(--ev-accent-hi), var(--ev-accent) 72%);
  box-shadow: inset 0 1px 2px rgba(255,255,255,.6), 0 2px 8px rgba(0,0,0,.35); border: 1px solid rgba(var(--ev-accent-soft-rgb),.6); }
.ev-titles { display: flex; flex-direction: column; line-height: 1.25; text-align: left; }
.ev-title { font-size: 16px; font-weight: 700; letter-spacing: .3px; color: #f3ebd9; }
.ev-sub { font-size: 11px; letter-spacing: .04em; color: rgba(var(--ev-accent-soft-rgb),.8); }

/* ---- Gate (a touch more frosted so the form stays readable) ---- */
.ev-gate { width: 100%; display: flex; flex-direction: column; gap: 11px; padding: 16px 16px; border-radius: 14px;
  background: rgba(255,255,255,.035); border: 1px solid rgba(var(--ev-accent-rgb),.22); text-align: left; }
.ev-gate-lead { margin: 0 0 4px; font-size: 13.5px; line-height: 1.55; color: #ece4d2; }
/* example-question chips: show the visitor what asking Divya looks like, before the ask */
.ev-gate-eg { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px; }
.ev-gate-eg span { font-size: 11.5px; line-height: 1.3; color: rgba(242,210,124,.92); padding: 5px 10px;
  border: 1px solid rgba(var(--ev-accent-rgb),.35); border-radius: 999px; background: rgba(var(--ev-accent-rgb),.10); }
/* consent details: the full legal text, one tap away instead of looming over the CTA */
.ev-tc-details { font-size: 11px; line-height: 1.5; color: rgba(236,228,210,.55); margin: 2px 0 4px; padding: 8px 10px;
  border-left: 2px solid rgba(var(--ev-accent-rgb),.4); background: rgba(255,255,255,.04); border-radius: 0 8px 8px 0; }
.ev-tc a { color: #f2d27c; text-decoration: underline; }
.ev-start:disabled { opacity: .65; cursor: default; transform: none; filter: none; }
/* the gate avatar is the ORB again — the asset that earned the tap stays present during the ask */
.ev-avatar-orb { position: relative; overflow: visible; background: radial-gradient(circle at 36% 30%, #f6ecd0, #e3c887 34%, var(--ev-accent) 62%, #6e5526 88%, #3c2e14); box-shadow: inset 0 1px 2px rgba(255,255,255,.6), 0 3px 10px rgba(0,0,0,.4); }
.ev-avatar-orb i { position: absolute; inset: -6px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(240,220,160,.45) 0%, rgba(var(--ev-accent-rgb),.18) 45%, transparent 70%);
  filter: blur(3px); animation: evHalo 5.5s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { .ev-avatar-orb i { animation: none !important; } }
.ev-field { display: flex; flex-direction: column; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: rgba(var(--ev-accent-soft-rgb),.85); }
.ev-field input { font: inherit; font-weight: 500; text-transform: none; letter-spacing: 0; padding: 11px 13px; border-radius: 10px; border: 1px solid rgba(var(--ev-accent-rgb),.3);
  background: rgba(255,255,255,.96); color: #16202e; outline: none; transition: box-shadow .15s, border-color .15s; }
.ev-field input::placeholder { color: #93a0ad; }
.ev-field input:focus { border-color: var(--ev-accent); box-shadow: 0 0 0 3px rgba(var(--ev-accent-rgb),.28); }
.ev-err { min-height: 16px; font-size: 12px; font-weight: 600; color: #ffcf8e; }
.ev-start { border: none; cursor: pointer; padding: 13px; border-radius: 11px; font-family: inherit; font-size: 15px; font-weight: 700; color: #2a2010; letter-spacing: .3px;
  background: linear-gradient(135deg, var(--ev-accent-soft), var(--ev-accent)); box-shadow: 0 4px 14px rgba(var(--ev-accent-rgb),.35), inset 0 1px 0 rgba(255,255,255,.5); transition: transform .1s, filter .15s; }
.ev-start:hover { filter: brightness(1.06); transform: translateY(-1px); }
.ev-consent { margin: 2px 0 0; font-size: 10.5px; color: rgba(236,228,210,.55); text-align: center; line-height: 1.4; }
/* explicit "I accept the terms" opt-in (required before Start) */
.ev-tc { display: flex; align-items: flex-start; gap: 10px; margin: 2px 0 4px; font-size: 12px; line-height: 1.45; color: rgba(236,228,210,.7); cursor: pointer; text-align: left; }
.ev-tc input { margin: 1px 0 0; width: 22px; height: 22px; flex: 0 0 auto; accent-color: var(--ev-accent); cursor: pointer; }
.ev-tc span { flex: 1; }

/* ---- Voice mode ---- */
.ev-chat { display: flex; flex-direction: column; align-items: center; }
.ev-live { display: none; align-items: center; gap: 6px; margin-bottom: 14px; font-size: 11px; font-weight: 800; letter-spacing: .14em; color: #ffb4ac; text-transform: uppercase; }
.ev-live i { width: 8px; height: 8px; border-radius: 50%; background: #ff5b4d; box-shadow: 0 0 8px #ff5b4d; animation: evBlink 1.2s infinite; }
@keyframes evBlink { 0% { box-shadow: 0 0 0 0 rgba(255,91,77,.6); } 70% { box-shadow: 0 0 0 9px rgba(255,91,77,0); } 100% { box-shadow: 0 0 0 0 rgba(255,91,77,0); } }
#eden-voice-chat[data-state="listening"] .ev-live, #eden-voice-chat[data-state="speaking"] .ev-live, #eden-voice-chat[data-state="working"] .ev-live { display: none; }

/* ============================================================================
   APPLE-INTELLIGENCE / SIRI ORB  —  rendered in WebGL (real glass refraction +
   chromatic dispersion + flowing spectrum + bloom). Shader + render loop live in
   eden-voice-widget.js (_initOrb / _orbStart). Markup: <div class="ev-orb"><canvas/></div>.
   This CSS only sizes the stage + a graceful fallback when WebGL is unavailable. */
.ev-orb { position: relative; width: 210px; height: 210px; margin: 0 0 6px; display: grid; place-items: center;
  animation: evFloat 6.5s ease-in-out infinite; transition: width .35s ease, height .35s ease, margin .35s ease; }
@keyframes evFloat { 0%,100% { transform: translateY(-3px); } 50% { transform: translateY(3px); } }
/* when Divya shows a card/list/map, shrink the orb so the content gets the room */
#eden-voice-chat.ev-has-media .ev-orb { width: 116px; height: 116px; margin: 0 0 2px; }
@keyframes evSpin  { to { transform: rotate(360deg);  } }
@keyframes evSpinR { to { transform: rotate(-360deg); } }
.ev-orb-canvas { width: 100%; height: 100%; display: block; }
/* the orb doubles as a control: tap = mute/unmute Divya (pause/resume listening) */
.ev-orb { cursor: pointer; }
/* no blue text-selection box / tap flash on any control (orb, ×, End, chevron, chips) */
.ev-orb, #eden-voice button, .ev-close, .ev-end, .ev-card-toggle, .ev-chip, .ev-tour {
  -webkit-tap-highlight-color: transparent; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
/* rotating "Try: …" example-ask hint shown in the caption during quiet gaps */
.ev-caption.ev-hint { color: rgba(var(--ev-accent-soft-rgb),.62); font-style: italic; }
.ev-orb:focus-visible { outline: 2px solid rgba(var(--ev-accent-soft-rgb),.85); outline-offset: 3px; border-radius: 50%; }
.ev-orb-mute { display: none; }
.ev-orb.ev-muted .ev-orb-canvas { opacity: .4; filter: saturate(.4); transition: opacity .2s ease, filter .2s ease; }
.ev-orb.ev-muted .ev-orb-mute { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; color: rgba(244,238,222,.95); filter: drop-shadow(0 1px 4px rgba(0,0,0,.55)); }
/* fallback when WebGL is unavailable (JS adds .ev-nogl): a calm dark glass sphere */
.ev-orb.ev-nogl .ev-orb-canvas { display: none; }
.ev-orb.ev-nogl::before { content: ""; width: 96px; height: 96px; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 28%, rgba(255,236,205,.55), transparent 42%),
    radial-gradient(circle at 50% 62%, rgba(130,100,210,.4), rgba(18,22,38,.92) 60%, #05060a 100%);
  box-shadow: inset 0 2px 6px rgba(200,225,255,.5), inset 0 -8px 16px rgba(2,4,8,.85), 0 0 28px rgba(150,180,255,.5); }
@media (prefers-reduced-motion: reduce) { .ev-orb { animation: none !important; } }

.ev-state-label { font-size: 10.5px; font-weight: 700; letter-spacing: .26em; text-transform: uppercase; color: rgba(var(--ev-accent-soft-rgb),.8); margin-bottom: 10px; }
#eden-voice-chat[data-state="listening"] .ev-state-label { color: #9bd9b4; }
#eden-voice-chat[data-state="error"] .ev-state-label { color: #ffb38c; }

/* auto-tour countdown — a thin gold progress line at the top edge of the panel that fills over the
   ~10s before the tour advances (resets on interaction), so the visitor knows the next stop is coming */
.ev-tour { position: relative; width: 100%; box-sizing: border-box; margin: 0 0 14px; z-index: 5; padding: 9px 12px 11px; border-radius: 14px; background: linear-gradient(180deg, rgba(28,22,12,.92), rgba(20,16,10,.92)); border: 1px solid rgba(var(--ev-accent-rgb),.32); box-shadow: 0 6px 18px rgba(0,0,0,.4); pointer-events: none; }
/* hide the floating launcher button while the conversation panel is open (it's redundant) */
#eden-voice.ev-open #eden-voice-btn { display: none; }
.ev-tour-head { display: flex; align-items: center; gap: 8px; }
.ev-tour-eyebrow { font-size: 9.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: rgba(var(--ev-accent-soft-rgb),.75); margin-right: auto; }
.ev-tour-count { font-size: 11px; font-weight: 800; letter-spacing: .06em; color: var(--ev-accent-soft); font-variant-numeric: tabular-nums; }
/* manual "End showcase" pill — the HUD itself is pointer-events:none (so it never blocks the orb),
   so the button must re-enable pointer events on itself. On-brand plum-glass + gold, tappable on
   desktop and mobile (min 28px hit; ::before pads it to a comfortable touch target on phones). */
.ev-tour-stop {
  pointer-events: auto; position: relative; flex: 0 0 auto; cursor: pointer; font: inherit;
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1;
  color: var(--ev-accent-soft); padding: 6px 10px; border-radius: 999px;
  border: 1px solid rgba(var(--ev-accent-rgb),.5); background: rgba(var(--ev-accent-rgb),.12);
  transition: background .15s, color .15s, border-color .15s;
}
.ev-tour-stop::before { content: ""; position: absolute; inset: -8px; }   /* enlarge the tap target */
.ev-tour-stop:hover { background: rgba(var(--ev-accent-rgb),.26); color: #fff; border-color: rgba(var(--ev-accent-soft-rgb),.7); }
.ev-tour-stop:active { transform: scale(.96); }
.ev-tour-stop:focus-visible { outline: 2px solid rgba(var(--ev-accent-soft-rgb),.85); outline-offset: 2px; }
.ev-tour-name { margin: 3px 0 8px; font-size: 14px; font-weight: 600; line-height: 1.3; color: #f4eede; }
.ev-tour-track { position: relative; height: 4px; border-radius: 99px; background: rgba(var(--ev-accent-rgb),.18); overflow: hidden; }
.ev-tour-fill { position: absolute; top: 0; left: 0; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--ev-accent), var(--ev-accent-soft)); box-shadow: 0 0 8px rgba(240,220,160,.6); }
@media (prefers-reduced-motion: reduce) { .ev-tour-fill { transition: none !important; } }

.ev-userline { min-height: 16px; font-size: 12.5px; font-style: italic; color: rgba(236,228,210,.6); margin-bottom: 6px; }
.ev-caption { min-height: 44px; max-width: 300px; font-size: 15.5px; line-height: 1.55; font-weight: 400; color: #f4eede; }

/* ---- "▶ Take the project showcase" discovery chip — on-brand plum-glass + gold pill that surfaces
   once the session is live and idle, so visitors don't miss the guided showcase. Tappable; vanishes
   the moment the conversation moves on. Desktop: sits under the caption, centered. Mobile: tucks into
   the caption area of the collapsed bar (see the ≤640px rule below). */
.ev-discover {
  display: inline-flex; align-items: center; gap: 7px; margin: 2px 0 6px; cursor: pointer;
  font: inherit; font-size: 12.5px; font-weight: 700; letter-spacing: .2px; line-height: 1;
  color: #2a2010; padding: 9px 15px; border-radius: 999px;
  background: linear-gradient(135deg, var(--ev-accent-hi), var(--ev-accent));
  border: 1px solid rgba(var(--ev-accent-soft-rgb),.6);
  box-shadow: 0 4px 14px -4px rgba(var(--ev-accent-rgb),.55), inset 0 1px 0 rgba(255,255,255,.5);
  transition: filter .15s, transform .1s, box-shadow .15s;
  animation: evDiscoverIn .42s cubic-bezier(.2,.9,.3,1) both, evDiscoverPulse 2.6s ease-in-out 1s infinite;
}
.ev-discover:hover { filter: brightness(1.06); transform: translateY(-1px); }
.ev-discover:active { transform: translateY(0) scale(.97); }
.ev-discover:focus-visible { outline: 2px solid rgba(var(--ev-accent-soft-rgb),.9); outline-offset: 2px; }
.ev-discover-ic { font-size: 10px; line-height: 1; transform: translateY(.5px); }
@keyframes evDiscoverIn { from { opacity: 0; transform: translateY(8px) scale(.96); } to { opacity: 1; transform: none; } }
/* a gentle gold "tap me" pulse so the idle visitor notices it */
@keyframes evDiscoverPulse { 0%, 100% { box-shadow: 0 4px 14px -4px rgba(var(--ev-accent-rgb),.55), inset 0 1px 0 rgba(255,255,255,.5), 0 0 0 0 rgba(240,220,160,.0); } 50% { box-shadow: 0 4px 14px -4px rgba(var(--ev-accent-rgb),.55), inset 0 1px 0 rgba(255,255,255,.5), 0 0 0 6px rgba(240,220,160,.16); } }
@media (prefers-reduced-motion: reduce) { .ev-discover { animation: none !important; } }

/* "Book a site visit" CTA pill — reuses the discover-chip FLOATING pattern (verified desktop + mobile);
   shown once the visitor is engaged so they can book in one tap instead of talking past the verbal offer. */
.ev-book {
  display: inline-flex; align-items: center; gap: 7px; cursor: pointer;
  font: 700 12.5px/1 system-ui, sans-serif; letter-spacing: .2px; color: #2a2010;
  padding: 10px 16px; border-radius: 999px;
  background: linear-gradient(135deg, var(--ev-accent-hi), var(--ev-accent));
  border: 1px solid rgba(var(--ev-accent-soft-rgb),.6);
  box-shadow: 0 6px 18px -4px rgba(var(--ev-accent-rgb),.6), inset 0 1px 0 rgba(255,255,255,.5);
  transition: filter .15s, transform .1s; animation: evDiscoverIn .42s cubic-bezier(.2,.9,.3,1) both;
}
.ev-book:hover { filter: brightness(1.05); transform: translateY(-1px); }
.ev-book:active { transform: translateY(0) scale(.97); }
.ev-book:focus-visible { outline: 2px solid rgba(var(--ev-accent-soft-rgb),.9); outline-offset: 2px; }
.ev-book-ic { font-size: 13px; line-height: 1; }

/* SHOWCASE INDICATOR + "Take the project showcase" CHIP — lifted to #eden-voice level (out of the
   panel, whose backdrop-filter/contain:paint/overflow:hidden trapped & clipped fixed children) so
   they FLOAT at the VIEWPORT TOP, above the panel, never inside it. Applies on desktop + mobile. */
#eden-voice .ev-tour {
  position: fixed; top: auto; bottom: calc(var(--ev-bottom-inset, 0px) + 92px + env(safe-area-inset-bottom, 0px));
  left: 12px; right: 12px;
  width: min(440px, calc(100vw - 24px)); max-width: calc(100vw - 24px);
  margin: 0 auto; z-index: 2147483600; pointer-events: auto;
  background: linear-gradient(165deg, rgba(66,42,74,.97), rgba(34,20,40,.98));
  border: 1px solid rgba(var(--ev-accent-rgb),.55); box-shadow: 0 14px 34px -10px rgba(0,0,0,.72);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
#eden-voice .ev-tour-stop { pointer-events: auto; }
#eden-voice .ev-tour-eyebrow::before { content: "\25CF\00A0"; color: var(--ev-accent-soft); animation: evTourPulse 1.6s ease-in-out infinite; }
@keyframes evTourPulse { 0%, 100% { opacity: .45; } 50% { opacity: 1; } }
#eden-voice #ev-discover, #eden-voice #ev-book {
  position: fixed; top: auto; bottom: calc(var(--ev-bottom-inset, 0px) + 92px + env(safe-area-inset-bottom, 0px));
  left: 12px; right: 12px;
  width: max-content; margin: 0 auto; z-index: 2147483600; max-width: calc(100vw - 24px); white-space: nowrap;
}
/* DESKTOP (>=641px): the panel is docked bottom-RIGHT (right:22px, ~372px), so the showcase HUD +
   discover chip must ALIGN TO THE PANEL, not float centered in the viewport (which left them stranded
   in the middle of the screen). Vertical position is still set by _positionFloaters() (just above the
   panel's top edge); here we fix the horizontal alignment to the panel's right edge. */
@media (min-width: 641px) {
  #eden-voice .ev-tour {
    left: auto; right: 22px; margin: 0;
    width: min(372px, calc(100vw - 44px)); max-width: min(372px, calc(100vw - 44px));
  }
  #eden-voice #ev-discover, #eden-voice #ev-book {
    left: auto; right: 22px; margin: 0;
    width: max-content; max-width: min(372px, calc(100vw - 44px));
  }
}

/* media cards — premium dark+gold restyle (#ev-media) */
.ev-media {
  width: 100%; max-width: 320px; margin: 14px auto 4px;
  display: flex; flex-direction: column; gap: 10px;
  animation: evMediaRise .4s cubic-bezier(.2,.9,.3,1) both;
}
@keyframes evMediaRise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.ev-list, .ev-card {
  width: 100%; max-width: 320px;
  border: 1px solid rgba(var(--ev-accent-rgb),.32); border-radius: 16px; overflow: hidden;
  background: linear-gradient(180deg, rgba(var(--ev-accent-rgb),.05), rgba(255,255,255,.02));
  box-shadow: 0 8px 24px -12px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.ev-card-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 13px 16px;
  background: linear-gradient(135deg, rgba(var(--ev-accent-rgb),.22), rgba(var(--ev-accent-rgb),.07));
  border-bottom: 1px solid rgba(var(--ev-accent-rgb),.28);
}
.ev-card-head span { font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ev-accent-mid); text-align: left; }
.ev-card-head b { font-size: 20px; font-weight: 700; letter-spacing: .2px; color: #fff; white-space: nowrap; text-shadow: 0 1px 4px rgba(0,0,0,.35); }
.ev-card-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 11px 16px; font-size: 13px; border-bottom: 1px solid rgba(var(--ev-accent-rgb),.14);
}
.ev-card-row:last-child { border-bottom: none; }
.ev-card-row span:first-child { color: rgba(var(--ev-accent-soft-rgb),.72); text-align: left; }
.ev-card-row span:last-child { color: #f4eede; font-weight: 600; text-align: right; white-space: nowrap; }
.ev-card-note {
  padding: 9px 16px; font-size: 10.5px; line-height: 1.5; color: rgba(var(--ev-accent-soft-rgb),.55);
  border-top: 1px solid rgba(var(--ev-accent-rgb),.2); background: rgba(0,0,0,.18); text-align: left;
}
.ev-list-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 15px; border-bottom: 1px solid rgba(var(--ev-accent-rgb),.14);
}
.ev-list-row:last-child { border-bottom: none; }
.ev-list-name { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 13.5px; font-weight: 600; color: #f4eede; text-align: left; }
.ev-list-name small { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(var(--ev-accent-soft-rgb),.6); }
.ev-list-name small:empty { display: none; }
.ev-list-right { font-size: 13px; font-weight: 700; color: var(--ev-accent-mid); white-space: nowrap; }
.ev-linkrow { display: flex; flex-wrap: wrap; gap: 9px; }
.ev-media-meta { font-size: 13.5px; font-weight: 600; line-height: 1.5; color: #f4eede; text-align: left; }
.ev-action {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .2px; text-decoration: none;
  padding: 9px 16px; border-radius: 999px; transition: filter .15s, transform .1s, background .15s;
  color: #2a2010; background: linear-gradient(135deg, var(--ev-accent-hi), var(--ev-accent));
  border: 1px solid rgba(var(--ev-accent-soft-rgb),.6);
  box-shadow: 0 4px 12px -4px rgba(var(--ev-accent-rgb),.5), inset 0 1px 0 rgba(255,255,255,.45);
}
.ev-action:hover { filter: brightness(1.06); transform: translateY(-1px); }
.ev-action.ev-action--call { color: #f4eede; background: rgba(var(--ev-accent-rgb),.1); border: 1px solid rgba(var(--ev-accent-rgb),.45); box-shadow: none; }
.ev-action.ev-action--call:hover { background: rgba(var(--ev-accent-rgb),.2); }
.ev-action--wa   span::before { content: "\1F4AC  "; }
.ev-action--call span::before { content: "\1F4DE  "; }
.ev-mapwrap { position: relative; width: 100%; border-radius: 16px; overflow: hidden; border: 1px solid rgba(var(--ev-accent-rgb),.3); box-shadow: 0 8px 24px -12px rgba(0,0,0,.6); }
.ev-map { display: block; width: 100%; height: 152px; border: 0; background: #0b1422; }
.ev-media > .ev-map { border: 1px solid rgba(var(--ev-accent-rgb),.3); border-radius: 16px; box-shadow: 0 8px 24px -12px rgba(0,0,0,.6); }
.ev-mapfoot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.ev-media-link { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; letter-spacing: .2px; text-decoration: none; color: var(--ev-accent-mid); transition: color .15s; }
.ev-media-link::before { content: "\2197  "; }
.ev-media-link:hover { color: var(--ev-accent-hi); text-decoration: underline; }

/* compact quick-action footer — scroll rail + slim End */
/* TALK-FIRST: type-instead input, in-flow number capture, persistent consent line.
   Hidden by default so ordinary GATE sessions look exactly as before; revealed only when the
   chat carries .ev-tf (set by _startTalkFirst). The phone field shows via its `hidden` attr. */
.ev-textin { display: none; }
.ev-consent { display: none; }
/* Composer = ONE rounded pill: a flex-filling transparent input with the gold send button tucked
   inside on the right (no separate floating button / dead space). Full-width, focus-ring on the pill. */
#eden-voice-chat.ev-tf .ev-textin {
  display: flex; align-items: center; gap: 4px;
  width: 100%; max-width: 340px; margin: 14px auto 0;
  padding: 4px 4px 4px 4px; border-radius: 999px;
  border: 1px solid rgba(var(--ev-accent-rgb),.34); background: rgba(24,12,30,.62);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: border-color .18s ease, box-shadow .18s ease;
}
#eden-voice-chat.ev-tf .ev-textin:focus-within { border-color: rgba(216,180,110,.85); box-shadow: 0 0 0 3px rgba(var(--ev-accent-rgb),.18); }
.ev-textin-i {
  flex: 1 1 0%; min-width: 0; font: inherit; font-size: 15px; line-height: 1.2;
  padding: 9px 6px 9px 13px; border: 0; background: transparent; color: #f4ecdd;
}
.ev-textin-i::placeholder { color: rgba(236,228,210,.44); }
.ev-textin-i:focus { outline: none; box-shadow: none; }
.ev-textin-send {
  flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  border: 0; cursor: pointer; color: #241206; background: linear-gradient(135deg,var(--ev-accent-hi),var(--ev-accent));
  box-shadow: 0 2px 9px -3px rgba(var(--ev-accent-rgb),.7); transition: transform .12s ease;
}
/* voice-mute toggle inside the composer: ghost speaker button; slashed + dimmed when muted */
.ev-voicemute {
  flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid rgba(var(--ev-accent-rgb),.35); background: transparent; cursor: pointer;
  color: rgba(var(--ev-accent-soft-rgb),.85); transition: color .15s ease, border-color .15s ease;
}
.ev-voicemute:hover { border-color: rgba(216,180,110,.75); }
.ev-voicemute.ev-vm-off { color: rgba(236,228,210,.4); border-color: rgba(var(--ev-accent-rgb),.2); }
/* keyboard toggle: desktop never needs it (composer always visible); mobile shows it in the voice bar */
.ev-kb { display: none; }
.ev-textin-send:hover { filter: brightness(1.04); }
.ev-textin-send:active { transform: scale(.92); }
.ev-phone-inline { width: 100%; max-width: 340px; margin: 14px auto 0; display: flex; flex-direction: column; gap: 9px;
  padding: 13px 13px 14px; border-radius: 16px; border: 1px solid rgba(var(--ev-accent-rgb),.42);
  background: linear-gradient(165deg, rgba(46,26,54,.82), rgba(30,16,38,.9)); }
.ev-phone-save { font: inherit; font-weight: 700; font-size: 15px; cursor: pointer; border: 0; padding: 12px 14px; border-radius: 12px;
  color: #241206; background: linear-gradient(135deg,var(--ev-accent-hi),var(--ev-accent)); box-shadow: 0 3px 12px -4px rgba(var(--ev-accent-rgb),.6); }
.ev-phone-save:active { transform: translateY(1px); }
#eden-voice-chat.ev-tf .ev-consent {
  display: block; width: 100%; max-width: 340px; margin: 9px auto 0;
  font-size: 10.5px; line-height: 1.45; text-align: center; color: rgba(236,228,210,.5);
}
.ev-consent a { color: rgba(var(--ev-accent-soft-rgb),.82); }
.ev-foot { width: 100%; max-width: 320px; margin-top: 12px; display: flex; align-items: center; gap: 8px; }
.ev-chips-wrap {
  position: relative; flex: 1 1 auto; min-width: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
}
.ev-chips {
  display: flex; flex-wrap: nowrap; gap: 7px;
  overflow-x: auto; overflow-y: hidden; scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch; scroll-snap-type: x proximity; overscroll-behavior-x: contain;
  padding: 2px 12px; scrollbar-width: none; -ms-overflow-style: none;
}
.ev-chips::-webkit-scrollbar { width: 0; height: 0; display: none; }
.ev-chip {
  flex: 0 0 auto; scroll-snap-align: start; font: inherit; font-size: 12px; font-weight: 600; line-height: 1;
  cursor: pointer; white-space: nowrap; color: #ecdcb0; padding: 7px 13px; border-radius: 999px;
  border: 1px solid rgba(var(--ev-accent-rgb),.4); background: rgba(var(--ev-accent-rgb),.08);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); background-clip: padding-box;
  position: relative; transition: background .15s, transform .1s, border-color .15s; animation: evRise .4s ease both;
}
.ev-chip::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 44px; transform: translateY(-50%); }
.ev-chip:hover { background: rgba(var(--ev-accent-rgb),.2); border-color: rgba(var(--ev-accent-soft-rgb),.7); transform: translateY(-1px); }
.ev-chip:focus-visible { outline: 2px solid rgba(var(--ev-accent-soft-rgb),.8); outline-offset: 2px; }
.ev-chip:active { transform: translateY(0) scale(.97); }
.ev-chip:nth-child(2){animation-delay:.05s} .ev-chip:nth-child(3){animation-delay:.1s} .ev-chip:nth-child(4){animation-delay:.15s} .ev-chip:nth-child(5){animation-delay:.2s} .ev-chip:nth-child(6){animation-delay:.25s}
.ev-end {
  flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  min-height: 40px; padding: 6px 12px; border: 1px solid rgba(var(--ev-accent-rgb),.32); border-radius: 999px; cursor: pointer;
  font: inherit; font-size: 12px; font-weight: 600; letter-spacing: .2px; color: rgba(236,228,210,.78);
  background: rgba(255,255,255,.03); transition: background .15s, color .15s, border-color .15s;
}
.ev-end svg { flex: 0 0 auto; }
.ev-end:hover { background: rgba(var(--ev-accent-rgb),.16); color: #f4eede; border-color: rgba(var(--ev-accent-soft-rgb),.55); }
.ev-end:focus-visible { outline: 2px solid rgba(var(--ev-accent-soft-rgb),.8); outline-offset: 2px; }
.ev-end:active { transform: scale(.97); }
@media (max-width: 360px) { .ev-end-txt { display: none; } .ev-end { padding: 0; width: 40px; } }
/* desktop floating panel: WRAP the quick-actions so every option is visible (the horizontal
   scroll rail is mobile-only — on the narrow desktop panel it just hid chips behind End). */
@media (min-width: 821px) {
  #eden-voice-chat .ev-foot { flex-wrap: wrap; justify-content: center; max-width: 340px; gap: 7px; }
  #eden-voice-chat .ev-chips-wrap { flex: 1 1 100%; -webkit-mask-image: none; mask-image: none; }
  #eden-voice-chat .ev-chips { flex-wrap: wrap; justify-content: center; overflow: visible; padding: 0; row-gap: 7px; }
  #eden-voice-chat .ev-end { flex: 0 0 auto; margin: 1px auto 0; }
}
@keyframes evRise { from { opacity: 0; } to { opacity: 1; } }
/* collapse/expand control for the mobile card sheet — hidden on desktop (the card shows inline there) */
.ev-card-toggle { display: none; }

/* toast + flash (light DOM) */
#eden-booking-toast { position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); background: rgba(20,32,56,.7); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  color: #fff; padding: 12px 18px; border-radius: 14px; font-weight: 600; border: 1px solid rgba(255,255,255,.3); box-shadow: 0 10px 28px rgba(0,0,0,.34); z-index: 2147483600; display: none; font-family: "Play", system-ui, sans-serif; }
.eden-flash { animation: edenFlash 1.5s ease; }
@keyframes edenFlash { 0% { box-shadow: inset 0 0 0 3px rgba(190,225,255,.8); } 100% { box-shadow: inset 0 0 0 0 transparent; } }
.hidden { display: none !important; }

/* respect reduced-transparency / reduced-motion */
@media (prefers-reduced-transparency: reduce) {
  #eden-voice-panel.ev-overlay { background: #14161f; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .ev-chip, .ev-gate, .ev-label { -webkit-backdrop-filter: none; backdrop-filter: none; }
  .ev-list, .ev-card { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(28,30,40,.92); }
}
@media (prefers-reduced-motion: reduce) {
  .ev-orb, .ev-orb::before, .ev-orb::after,
  #eden-voice-panel.ev-overlay, #eden-voice-panel.ev-overlay::after, #eden-voice-panel.ev-overlay::before,
  .ev-chip, .ev-media, #eden-voice-btn,
  .ev-launch, .ev-label, .ev-label-txt { animation: none !important; }
}
/* base: stage is the single scroll container */
.ev-stage { -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }

/* PHONE (<=640px): a COMPACT HORIZONTAL BAR docked to the bottom edge.
   Collapsed = one slim line (orb · live caption · End). It grows into a card sheet
   ONLY when Divya has something to show (#eden-voice-chat.ev-has-media). The gate
   (name/phone form) keeps its normal stacked layout — only the live chat is a bar. */
/* Phones AND tablets/foldables/narrow windows (≤820px, matching the canvas touch breakpoint)
   get the clean full-width bottom sheet. Only real laptops/desktops (≥821px) keep the
   floating bottom-right concierge panel — below that it left an awkward gap on the right. */
@media (max-width: 820px) {
  #eden-voice-panel.ev-overlay {
    /* a CONTAINED card with side margins — full-bleed (left/right:0) chopped the rounded corners off
       at the screen edges. Floats above the page's own bottom menu (.floating_menu), which stays. */
    right: 12px; left: 12px; bottom: var(--ev-bottom-inset, 0px); top: auto;
    width: auto; max-width: none;
    /* ~65vh cap (was 86svh, which let the connectivity card swallow the screen). Inner #ev-media
       scrolls so the card never grows past this. [PANEL-HEIGHT-FIX] */
    max-height: 66vh; max-height: calc(66svh - var(--ev-bottom-inset, 0px)); height: auto;
    border-radius: 22px; border-width: 1px;
    transition: bottom .22s ease;
    box-shadow:
      0 -18px 50px -12px rgba(0,0,0,.62), 0 -6px 18px -10px rgba(0,0,0,.5),
      inset 0 1px 0 rgba(255,255,255,.07), inset 0 0 24px rgba(var(--ev-accent-rgb),.05);
    animation: evSheetUp .32s cubic-bezier(.2,.9,.3,1);
  }
  #eden-voice-panel.ev-overlay::after { border-radius: 22px; }
  @keyframes evSheetUp { from { opacity: 0; transform: translateY(100%); } to { opacity: 1; transform: translateY(0); } }

  .ev-stage { overflow-y: auto; padding: 11px 14px calc(11px + env(safe-area-inset-bottom, 0px)); max-width: 100vw; }
  .ev-close { top: 12px; right: 12px; width: 32px; height: 32px; font-size: 19px; }

  /* Launcher: jitter-free (orb pinned right). Orb sized + centered to MATCH the conversation
     bar orb so it reads as the same bead settling in, not a new orb. Fade is opacity-only
     (no downward slide) so it doesn't move away while the sheet's orb arrives. */
  #eden-voice-btn { flex-direction: column; gap: 6px; right: 14px; bottom: calc(var(--ev-bottom-inset, 0px) + 14px + env(safe-area-inset-bottom, 0px)); align-items: flex-end; }
  .ev-launch { width: 104px; height: 104px; }   /* was 84px — user wants a more present orb on phones (85% of traffic) */
  .ev-label { font-size: 12px; padding: 6px 12px; max-width: 52vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  #eden-voice.ev-sheet-open #eden-voice-btn { opacity: 0; transform: none; pointer-events: none; transition: opacity .22s ease; }

  /* ---- GATE = a short form: drop the brand header (the greeting already names Divya) ---- */
  .ev-brand { display: none; }
  .ev-gate { padding: 14px 14px; gap: 10px; }
  .ev-gate-lead { font-size: 13px; margin: 0 0 2px; }
  .ev-field { gap: 5px; }
  .ev-field input { font-size: 16px; padding: 12px 14px; border-radius: 11px; width: 100%; }
  .ev-start { padding: 14px; font-size: 16px; }
  .ev-consent { font-size: 10px; }

  /* ---- CHAT = a mobile-first conversation bar (NOT the desktop layout) ----
     The orb stays pinned bottom-right (a continuation of the launcher); the live caption
     flows to its LEFT so it still feels like a live conversation. When Divya has something
     to show, a card expands ABOVE the bar (so the orb never jumps), with a grab-handle at the
     top to fold it straight back down. Driven by grid-template-areas swapped per state. */
  /* hide the close × during chat. :has() is progressive enhancement; .ev-chat-open (set by JS)
     is the load-bearing backstop for in-app / older WebViews without :has() support. */
  #eden-voice-panel.ev-overlay.ev-chat-open .ev-close,
  #eden-voice-panel.ev-overlay:has(#eden-voice-chat:not([hidden])) .ev-close { display: none; }

  #eden-voice-chat:not([hidden]) {
    width: 100%; text-align: left;
    display: grid; align-items: center;
    column-gap: 12px; row-gap: 10px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "end cap orb";
    min-height: 64px;   /* keep a clean one-row bar even with the 56px orb */
  }
  /* TALK-FIRST extras must stack as FULL-WIDTH rows BELOW the "end cap orb" bar — not auto-place into
     its 3 grid cells (which squished the consent line into a one-word-per-line column). */
  #eden-voice-chat.ev-tf .ev-textin,
  #eden-voice-chat.ev-tf .ev-consent,
  #eden-voice-chat .ev-phone-inline:not([hidden]) { grid-column: 1 / -1; width: 100%; max-width: 100%; margin-left: 0; margin-right: 0; }
  #eden-voice-chat.ev-tf .ev-textin { margin-top: 12px; }
  #eden-voice-chat.ev-tf .ev-textin-i { font-size: 16px; }   /* ≥16px stops iOS zoom-on-focus */
  #eden-voice-chat.ev-tf .ev-consent { margin-top: 6px; text-align: center; }
  #eden-voice-chat.ev-tf .ev-phone-inline:not([hidden]) { margin-top: 12px; }
  /* ONE-LINE VOICE BAR (owner, 7 Jul): on mobile the composer + consent stay hidden during voice —
     the bar is just [end][caption][orb] + a small keyboard button. Tapping it (or a denied mic)
     opens text mode (.ev-text-open) with the full composer. */
  #eden-voice-chat.ev-tf .ev-textin,
  #eden-voice-chat.ev-tf .ev-consent { display: none; }
  #eden-voice-chat.ev-tf.ev-text-open .ev-textin { display: flex; grid-column: 1 / -1; }
  #eden-voice-chat.ev-tf.ev-text-open .ev-consent { display: block; grid-column: 1 / -1; }
  #eden-voice-chat.ev-tf .ev-kb {
    display: grid; place-items: center; position: absolute; right: 76px; bottom: 22px;
    width: 34px; height: 34px; border-radius: 50%; z-index: 6; cursor: pointer;
    border: 1px solid rgba(var(--ev-accent-rgb),.4); background: rgba(24,12,30,.62);
    color: var(--ev-accent-soft);
  }
  /* text mode open: composer + consent rows appear below, so the floating toggle moves UP beside
     the orb — at bottom:22px it sat ON the consent line and stole taps from the “Details” link */
  #eden-voice-chat.ev-tf.ev-text-open .ev-kb { border-color: rgba(216,180,110,.8); color: var(--ev-accent-hi); bottom: auto; top: 20px; }
  /* minimal info: no LIVE pill, no userline echo. The status word + tour float ABOVE the bar.
     Constrain to the viewport, give the status line a readable plum-glass chip, and let long
     messages (e.g. "Connection dropped — tap to talk again.") wrap to max 2 lines then ellipsis —
     never overflow the screen. */
  #eden-voice-chat .ev-live,
  #eden-voice-chat .ev-state-label {
    position: fixed; left: 10px; right: 10px; bottom: calc(102px + env(safe-area-inset-bottom, 0px));
    width: auto; max-width: calc(100vw - 20px); margin: 0; z-index: 41; padding: 8px 11px 10px;
  }
  /* never echo the visitor's raw transcribed speech on the small screen (privacy + clutter); the
     agent caption #ev-caption is unaffected — it lives in its own grid cell below. */
  #eden-voice-chat .ev-userline { display: none !important; }
  /* the live status word, when it carries a real message (connecting / dropped / error), reads as a
     centered glass chip that wraps cleanly instead of a bare overflowing line */
  #eden-voice-chat .ev-state-label {
    left: 50%; right: auto; transform: translateX(-50%);
    max-width: calc(100vw - 24px); width: max-content; box-sizing: border-box;
    text-align: center; white-space: normal; overflow: hidden; text-overflow: ellipsis;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-clamp: 2;
    padding: 8px 14px; border-radius: 12px; font-size: 11px; line-height: 1.35;
    color: #f4eede; letter-spacing: .12em;
    background: linear-gradient(165deg, rgba(64,42,72,.92), rgba(40,24,52,.95));
    border: 1px solid rgba(var(--ev-accent-rgb),.42);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 8px 22px -10px rgba(0,0,0,.6);
  }
  /* during active turns the status word is empty/redundant — hide the chip so it can't sit blank */
  #eden-voice-chat[data-state="listening"] .ev-state-label,
  #eden-voice-chat[data-state="speaking"] .ev-state-label,
  #eden-voice-chat[data-state="working"] .ev-state-label,
  #eden-voice-chat[data-state="connected"] .ev-state-label { display: none; }
  #eden-voice-chat .ev-tour-name { font-size: 13px; }
  /* SHOWCASE INDICATOR — STICKY header pinned to the TOP of the scrolling panel, so it sits ABOVE
     the content list and never floats over the rows. The old position:fixed bottom:+92px was tuned
     for the collapsed bar; once the card expands to a tall sheet, +92px landed in the MIDDLE of the
     list and overlapped the rows. Sticky self-adjusts to any banner height and to collapsed-vs-
     expanded, reserves its own box in flow (never overlaps rows), and stays visible while scrolling.
     [BANNER-STICKY-FIX] */
  #eden-voice-chat .ev-tour {
    position: sticky; top: 0; bottom: auto; left: auto; right: auto;
    width: 100%; max-width: 100%; box-sizing: border-box;
    margin: 0 0 12px; z-index: 60; pointer-events: auto;
    background: linear-gradient(165deg, rgba(66,42,74,.97), rgba(34,20,40,.98));
    border: 1px solid rgba(var(--ev-accent-rgb),.52); box-shadow: 0 12px 30px -8px rgba(0,0,0,.7);
    -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  }
  #eden-voice-chat .ev-tour-stop { pointer-events: auto; }
  #eden-voice-chat .ev-tour-eyebrow::before { content: "\25CF\00A0"; color: var(--ev-accent-soft); animation: evTourPulse 1.6s ease-in-out infinite; }
  @keyframes evTourPulse { 0%,100% { opacity: .45; } 50% { opacity: 1; } }
  /* launcher button hides on mobile too once the panel/bar is up */
  #eden-voice.ev-open #eden-voice-btn { display: none; }
  /* expose the footer's children (chip rail + End) as direct grid items */
  #eden-voice-chat .ev-foot { display: contents; }

  #eden-voice-chat .ev-orb { grid-area: orb; justify-self: end; width: 56px; height: 56px; margin: 0; animation: none; }
  /* override the desktop has-media shrink (#eden-voice-chat.ev-has-media .ev-orb{116px}) — on
     mobile the orb must STAY 56px in every state; the card expands above it, the orb never grows */
  #eden-voice-chat.ev-has-media .ev-orb { width: 56px; height: 56px; margin: 0; }
  #eden-voice-chat .ev-caption {
    grid-area: cap; margin: 0; min-height: 0; min-width: 0; max-width: 100%;
    font-size: 13.5px; line-height: 1.4; color: #f4eede;
    /* was 1-line nowrap+ellipsis — it chopped Divya's greeting ("…Eden Devpr…"). Allow up to 2 lines
       so the opening line reads in full while the caption stays bounded during live speech. */
    white-space: normal; overflow: hidden;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-clamp: 2;
  }
  /* discovery chip on the collapsed bar: tuck it into the caption cell (the bar is idle/empty when it
     shows), sized to fit one line; hide the empty caption text behind it so they don't stack. */
  #eden-voice-chat #ev-discover {
    grid-area: cap; justify-self: start; margin: 0; max-width: 100%;
    font-size: 12px; padding: 8px 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  /* (caption-hide coupling removed — the discover chip now floats at the viewport top, not in the
     caption cell, so the caption can show normally while the chip is up) */
  #eden-voice-chat #ev-end {
    grid-area: end; justify-self: start; margin: 0; position: relative;
    width: 36px; height: 36px; min-height: 0; padding: 0; border-radius: 50%;
  }
  #eden-voice-chat #ev-end::before { content: ""; position: absolute; inset: -6px; }  /* ~48px touch target */
  #eden-voice-chat #ev-end .ev-end-txt { display: none; }   /* mobile: × only, save space */
  #eden-voice-chat #ev-media      { grid-area: media; width: 100%; margin: 0; }
  /* Showcase lists scroll INSIDE the card (key info pinned at top) so the card never grows to swallow
     the sheet. ~150px budget reserves the grab-handle, chips row, and bottom orb bar — those sit
     OUTSIDE this scroll region and are never clipped. [PANEL-HEIGHT-FIX] */
  #eden-voice-chat.ev-has-media:not(.ev-card-collapsed) #ev-media {
    max-height: calc(66svh - 205px); overflow-y: auto; -webkit-overflow-scrolling: touch; margin-bottom: 10px;
  }
  #eden-voice-chat .ev-chips-wrap { grid-area: chips; width: 100%; margin: 0; }
  #eden-voice-chat .ev-card-toggle { grid-area: tog; }
  #eden-voice-chat .ev-media, #eden-voice-chat .ev-list, #eden-voice-chat .ev-card { max-width: 100%; }
  .ev-map { height: 168px; }
  .ev-card-head b { font-size: 17px; }
  .ev-chips { padding: 2px 2px; }

  /* EXPANDED (card present): grab-handle on top, then card + chips, with the bar at the bottom
     so the orb never moves. */
  #eden-voice-chat.ev-has-media:not(.ev-card-collapsed) {
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "handle handle handle"
      "media  media  media"
      "chips  chips  chips"
      "end    cap    orb";
  }
  /* COLLAPSED WITH CARD: fold back to the bar; a clear chevron-up control re-opens it */
  #eden-voice-chat.ev-has-media.ev-card-collapsed {
    grid-template-columns: auto 1fr auto auto;
    grid-template-areas: "end cap tog orb";
  }
  #eden-voice-chat.ev-has-media.ev-card-collapsed #ev-media,
  #eden-voice-chat.ev-has-media.ev-card-collapsed .ev-chips-wrap { display: none; }

  /* EXPANDED collapse control = a full-width grab-handle at the top of the sheet (standard
     "pull down to dismiss" affordance — discoverable + a large tap target) */
  #eden-voice-chat.ev-has-media:not(.ev-card-collapsed) .ev-card-toggle {
    grid-area: handle; position: relative;
    display: flex; align-items: flex-end; justify-content: center;
    width: 100%; height: 30px; margin: 0; padding: 0 0 3px; cursor: pointer;
    border: none; background: none; border-radius: 0; color: rgba(var(--ev-accent-soft-rgb),.85);
  }
  #eden-voice-chat.ev-has-media:not(.ev-card-collapsed) .ev-card-toggle::before {
    content: ""; position: absolute; top: 3px; left: 50%; transform: translateX(-50%);
    width: 40px; height: 4px; border-radius: 999px; background: rgba(var(--ev-accent-soft-rgb),.5);
  }
  /* COLLAPSED-with-card re-open control = a clear gold chevron-up disc next to the orb */
  #eden-voice-chat.ev-has-media.ev-card-collapsed .ev-card-toggle {
    justify-self: center; position: relative;
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; margin: 0; padding: 0; border-radius: 50%; cursor: pointer;
    color: var(--ev-accent-mid); background: rgba(var(--ev-accent-rgb),.18); border: 1px solid rgba(var(--ev-accent-rgb),.45);
    transition: background .15s;
  }
  #eden-voice-chat .ev-card-toggle:active { transform: scale(.94); }
  #eden-voice-chat .ev-card-toggle:focus-visible { outline: 2px solid rgba(var(--ev-accent-soft-rgb),.85); outline-offset: 2px; }
  #eden-voice-chat .ev-card-toggle svg { transition: transform .25s ease; }
  #eden-voice-chat.ev-has-media.ev-card-collapsed .ev-card-toggle svg { transform: rotate(180deg); }

  /* COLLAPSED (no card): pure one-line bar — hide the chip rail entirely */
  #eden-voice-chat:not(.ev-has-media) .ev-chips-wrap { display: none; }

  /* Feedback pill: on the collapsed one-row bar there's no header for it to live in, so it
     would float over the orb/controls — hide it there. Show it only when the sheet is expanded
     (media present, not collapsed), parked top-left clear of the centered grab-handle. */
  #eden-voice-panel.ev-overlay.ev-chat-open .ev-fb-btn,
  #eden-voice-panel.ev-overlay:has(#eden-voice-chat:not([hidden])) .ev-fb-btn { display: none; }
  #eden-voice-panel.ev-overlay.ev-chat-open:has(#eden-voice-chat.ev-has-media:not(.ev-card-collapsed)) .ev-fb-btn,
  #eden-voice-panel.ev-overlay:has(#eden-voice-chat.ev-has-media:not(.ev-card-collapsed)) .ev-fb-btn {
    display: inline-block; top: 8px; right: auto; left: 12px; z-index: 7;
  }
}

/* short / landscape phones — bar already collapses small, so only cap the expanded sheet */
@media (max-width: 820px) and (max-height: 560px) {
  #eden-voice-panel.ev-overlay { max-height: 92svh; max-height: 92vh; }
}
/* (the old 641–820px "tablet/mid" corner-panel rule is gone — tablets now use the sheet above) */

/* ---- tester feedback ---- */
.ev-fb-btn { position: absolute; top: 10px; right: 52px; z-index: 6; font: 600 12px/1 system-ui, sans-serif; color: var(--ev-accent-soft); background: rgba(var(--ev-accent-rgb),.16); border: 1px solid rgba(var(--ev-accent-rgb),.45); border-radius: 99px; padding: 7px 11px; cursor: pointer; }
.ev-fb-btn:hover { background: rgba(var(--ev-accent-rgb),.28); }
.ev-fb { position: absolute; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; padding: 18px; background: rgba(20,12,28,.55); backdrop-filter: blur(4px); }
.ev-fb[hidden] { display: none; }
.ev-fb-card { position: relative; width: 100%; max-width: 340px; background: linear-gradient(165deg, rgba(64,42,72,.97), rgba(40,24,52,.99)); border: 1px solid rgba(var(--ev-accent-rgb),.4); border-radius: 18px; padding: 20px 18px 18px; color: #efe7da; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.ev-fb-x { position: absolute; top: 8px; right: 10px; background: none; border: 0; color: #c9bfae; font-size: 24px; line-height: 1; cursor: pointer; }
.ev-fb-h { margin: 0 0 4px; font-size: 18px; color: #f3e7cf; }
.ev-fb-sub { margin: 0 0 14px; font-size: 12.5px; color: #cdbfa0; line-height: 1.4; }
.ev-fb-rate { display: flex; gap: 10px; margin-bottom: 12px; }
.ev-fb-rb { flex: 1; font-size: 24px; padding: 10px 0; border-radius: 12px; border: 1px solid rgba(var(--ev-accent-rgb),.3); background: rgba(255,255,255,.04); cursor: pointer; }
.ev-fb-rb.on { border-color: var(--ev-accent-soft); background: rgba(var(--ev-accent-rgb),.22); }
.ev-fb-text { width: 100%; box-sizing: border-box; background: rgba(0,0,0,.25); border: 1px solid rgba(var(--ev-accent-rgb),.3); border-radius: 12px; color: #efe7da; font: 14px/1.4 system-ui, sans-serif; padding: 10px; resize: none; margin-bottom: 12px; }
.ev-fb-text::placeholder { color: #9b8c6e; }
.ev-fb-send { width: 100%; font: 700 14px/1 system-ui, sans-serif; color: #1a1320; background: linear-gradient(115deg, var(--ev-accent-soft), var(--ev-accent)); border: 0; border-radius: 12px; padding: 12px; cursor: pointer; }
.ev-fb-send:disabled { opacity: .5; }
.ev-fb-done { text-align: center; color: #9be29b; font-size: 13px; margin-top: 10px; }

/* ---- Divya Canvas (the large content stage she expands) ---- */
.ev-canvas { width: 100%; margin: 10px 0 4px; border-radius: 16px; border: 1px solid rgba(var(--ev-accent-rgb),.32); background: linear-gradient(180deg, rgba(64,42,72,.55), rgba(40,24,52,.66)); box-shadow: 0 10px 30px -14px rgba(0,0,0,.7), inset 0 1px 0 rgba(255,255,255,.07); overflow: hidden; display: flex; flex-direction: column; }
.ev-canvas-head { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid rgba(var(--ev-accent-rgb),.2); background: linear-gradient(135deg, rgba(var(--ev-accent-rgb),.2), rgba(var(--ev-accent-rgb),.05)); }
.ev-canvas-badge { font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ev-accent-soft); white-space: nowrap; }
.ev-canvas-title { font-size: 12px; font-weight: 600; color: #f4eede; flex: 1; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-canvas-x { background: none; border: 0; color: #cdbfa0; font-size: 20px; line-height: 1; cursor: pointer; padding: 0 2px; }
.ev-canvas-body { padding: 14px; max-height: min(56vh, 440px); overflow-y: auto; }
.ev-canvas-map, .ev-canvas-frame { display: block; width: 100%; height: 300px; border: 1px solid rgba(var(--ev-accent-rgb),.3); border-radius: 14px; background: #0b1422; }
.ev-cv-hero { margin-bottom: 14px; }
.ev-cv-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ev-accent-mid); }
.ev-cv-title { margin: 4px 0 6px; font-size: 19px; font-weight: 600; line-height: 1.25; color: #f4eede; }
.ev-cv-sub { margin: 0; font-size: 13px; line-height: 1.5; color: rgba(var(--ev-accent-soft-rgb),.82); }
.ev-cv-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 12px 0; }
.ev-cv-stat { background: rgba(var(--ev-accent-rgb),.08); border: 1px solid rgba(var(--ev-accent-rgb),.2); border-radius: 12px; padding: 10px 12px; }
.ev-cv-stat b { display: block; font-size: 18px; color: var(--ev-accent-soft); }
.ev-cv-stat span { font-size: 11px; color: rgba(var(--ev-accent-soft-rgb),.72); }
.ev-cv-sechead { margin: 14px 0 6px; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ev-accent-mid); }
.ev-cv-rows { display: flex; flex-direction: column; }
.ev-cv-row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid rgba(var(--ev-accent-rgb),.12); font-size: 13.5px; }
.ev-cv-row span:first-child { color: rgba(244,238,222,.86); }
.ev-cv-row span:last-child { color: var(--ev-accent-soft); font-weight: 600; white-space: nowrap; }
.ev-cv-list { margin: 6px 0 0; padding: 0; list-style: none; }
.ev-cv-list li { position: relative; padding: 6px 0 6px 18px; font-size: 13.5px; line-height: 1.45; color: rgba(244,238,222,.9); border-bottom: 1px solid rgba(var(--ev-accent-rgb),.1); }
.ev-cv-list li::before { content: '\2726'; position: absolute; left: 0; top: 6px; color: var(--ev-accent); font-size: 11px; }
.ev-cv-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 8px 0; }
.ev-cv-tile { background: rgba(var(--ev-accent-rgb),.07); border: 1px solid rgba(var(--ev-accent-rgb),.2); border-radius: 10px; padding: 10px; font-size: 12.5px; color: rgba(244,238,222,.9); text-align: center; }
.ev-cv-quote { margin: 12px 0; font-style: italic; font-size: 14px; color: #f4eede; padding-left: 12px; border-left: 2px solid var(--ev-accent); }

/* ---- Brochure content INSIDE the Divya Canvas slab (#rc-body) — premium, editorial, generous.
   These scoped overrides only apply when the .ev-cv-* brochure renders in the large canvas
   surface; the legacy inline #ev-canvas card keeps the compact baseline above. Single column,
   serif-ish headline, comfortable body, gold strictly as jewelry (never behind body text). */
#rc-body .ev-cv-hero { margin: 2px 0 24px; padding-bottom: 20px; border-bottom: 1px solid rgba(var(--ev-accent-rgb),.16); }
#rc-body .ev-cv-eyebrow { display: block; font-size: 11px; letter-spacing: .18em; margin-bottom: 10px; }
#rc-body .ev-cv-title { margin: 0 0 12px; font-family: "Cormorant Garamond", "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 34px; font-weight: 600; line-height: 1.12; letter-spacing: .005em; color: #fff; text-wrap: balance; }
#rc-body .ev-cv-sub { font-size: 15px; line-height: 1.65; color: rgba(244,238,222,.86); max-width: 62ch; }
#rc-body .ev-cv-stats { grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 22px 0; }
#rc-body .ev-cv-stat { border-radius: 16px; padding: 18px 16px; text-align: center; box-shadow: inset 0 1px 0 rgba(255,255,255,.05); }
#rc-body .ev-cv-stat b { font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif; font-size: 30px; font-weight: 600; line-height: 1.05; color: var(--ev-accent-soft); }
#rc-body .ev-cv-stat span { margin-top: 7px; font-size: 11.5px; letter-spacing: .04em; }
#rc-body .ev-cv-sechead { margin: 30px 0 14px; font-size: 12px; letter-spacing: .14em; }
#rc-body .ev-cv-sechead:first-child { margin-top: 4px; }
#rc-body .ev-cv-row { gap: 18px; padding: 14px 0; font-size: 14.5px; line-height: 1.45; }
#rc-body .ev-cv-list { margin: 18px 0; }
#rc-body .ev-cv-list li { padding: 13px 0 13px 26px; font-size: 15px; line-height: 1.55; }
#rc-body .ev-cv-list li:last-child { border-bottom: 0; }
#rc-body .ev-cv-list li::before { top: 15px; font-size: 13px; }
#rc-body .ev-cv-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 22px 0; }
#rc-body .ev-cv-tile { border-radius: 14px; padding: 16px; font-size: 14px; line-height: 1.45; text-align: left; }
#rc-body .ev-cv-quote { margin: 24px 0; padding: 16px 22px; font-size: 17px; line-height: 1.6; border-left-width: 3px; background: rgba(var(--ev-accent-rgb),.06); border-radius: 0 14px 14px 0; }
/* narrow sheet: one column so brochure tiles/stats never cram */
@media (max-width: 480px) {
  #rc-body .ev-cv-stats, #rc-body .ev-cv-grid { grid-template-columns: 1fr; }
}
/* mobile: a fixed sheet above the bottom bar (decoupled from the bar grid) */
@media (max-width: 640px) {
  #eden-voice-host #ev-canvas:not([hidden]) { position: fixed; left: 10px; right: 10px; bottom: calc(96px + env(safe-area-inset-bottom, 0px)); z-index: 40; margin: 0; max-height: 64vh; backdrop-filter: blur(18px); animation: evMediaRise .35s cubic-bezier(.2,.9,.3,1) both; }
  #eden-voice-host #ev-canvas .ev-canvas-body { max-height: calc(64vh - 42px); }
  .ev-canvas-map, .ev-canvas-frame { height: 44vh; }
}
