/* Astro Engine · Observatory, landing shell (ASTRO_OBSERVATORY_UI=site). Loaded by api/observatory_ui.py only on
   pages of this shell, after observatory.css (shared tokens, type, focus, reduced motion). Every selector is
   scoped to body.obs and :where(.obs-landing), in both themes: the daylight values come from the tokens in observatory.css and the [data-theme="light"] rules
   at the end of this file. */
/* ---------- shell tokens: legacy names these pages use that the shared remap above does not cover ---------- */
/* Zodiac and planet glyphs print as text (the shared glyph stack puts a symbol face before the system's colour
   emoji); moon-phase and other pictographs keep their emoji, so no font-variant-emoji here (Firefox draws boxes). */
:where(:root) body.obs:where(.obs-landing) { font-family: var(--o-sans-glyph, var(--o-sans)); }
:where(:root) body.obs:where(.obs-landing) { --o-chrome: var(--o-sans-header);
  --o-wordmark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26' fill='none' stroke='%23c0dfff' stroke-width='1'%3E%3Ccircle cx='13' cy='13' r='8'/%3E%3Cellipse cx='13' cy='13' rx='12.2' ry='4.4' transform='rotate(-36 13 13)'/%3E%3C/svg%3E");
  --o-theme-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d4ebff' stroke-width='1.3' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4.2'/%3E%3Cpath d='M12 2.5v2.6M12 18.9v2.6M2.5 12h2.6M18.9 12h2.6M5.3 5.3l1.8 1.8M16.9 16.9l1.8 1.8M5.3 18.7l1.8-1.8M16.9 7.1l1.8-1.8'/%3E%3C/svg%3E");
  --o-paper-surface: radial-gradient(120% 70% at 0% 0%, rgba(255, 236, 205, .55), rgba(255, 236, 205, 0) 60%), linear-gradient(180deg, #f7f2e9, #f2ebdf);
  --glass: rgba(10, 16, 27, .78); --glass-vivid: rgba(10, 16, 27, .97); --glass-border: var(--o-line); --glass-border-hover: rgba(174, 217, 255, .45);
  --card-bg: var(--o-night-2); --deep-space: var(--o-night-2);
  --surface-hover: rgba(174, 217, 255, .06); --border-active: rgba(174, 217, 255, .55);
  --gold-light: var(--o-ice-2); --gold-text: var(--o-ice); --purple-bright: var(--o-ice-2); --cyan-dim: var(--gold-dim);
  --gradient-primary: linear-gradient(var(--o-ice), var(--o-ice)); --gradient-gold: linear-gradient(var(--o-ice), var(--o-ice));
  --gradient-accent: linear-gradient(var(--o-ice), var(--o-ice)); --shadow-glow: none;
  --transition: 160ms cubic-bezier(.2, .7, .2, 1);
  /* Shell inks and surfaces without a shared token (night values here; daylight values at the end of the file). */
  --s-ink-2: var(--o-ink-2, #d3dbe8); --s-text-2: var(--o-ink-3, #c4ccd9); --s-link: #c6cfdc; --s-field: #070c16; --s-scheme: dark;
  --s-bar: rgba(6, 10, 18, .92); --s-banner: rgba(10, 16, 27, .97); --s-veil: rgba(6, 10, 18, .6);
  --s-tint: rgba(174, 217, 255, .06); --s-glow: rgba(174, 217, 255, .18); --s-spin: rgba(174, 217, 255, .25);
  --s-lift: 0 10px 30px -12px rgba(174, 217, 255, .55); --s-lift-sm: 0 10px 30px -14px rgba(174, 217, 255, .55);
  --s-paper-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7), 0 0 0 1px rgba(0, 0, 0, .2);
  --s-on-lamp: #1a1408; --s-scrim: rgba(3, 6, 12, .62);
  --s-lamp-tint: rgba(243, 200, 139, .07); --s-lamp-line: rgba(243, 200, 139, .35);
  --s-error-tint: rgba(255, 120, 100, .08); --s-error-line: rgba(255, 150, 130, .35); }
:where(:root) body.obs:where(.obs-landing) { --teal: var(--o-ice-2); --rose: var(--o-error); --rose-bright: var(--o-error); }
/* The pages' scripts show and hide states with the hidden attribute; no layer display rule may reveal one. */
:where(:root) body.obs:where(.obs-landing) [hidden] { display: none !important; }
:where(:root) body.obs:where(.obs-landing) .skip-link { background: var(--o-ice); color: var(--o-on-ice); }
:where(:root) body.obs:where(.obs-landing) ::placeholder { color: var(--o-faint); opacity: 1; }
/* Theme toggle: a hairline sign of what the button offers, as today's emoji did: the sun by night, the deep-ice moon by
   day (--o-theme-glyph, the same token as the topnav and auth shells). The emoji is decorative (the button is named by
   its aria-label), so the same sign is drawn as a hairline glyph. */
:where(:root) body.obs:where(.obs-landing) .theme-toggle { width: 44px; height: 44px; min-width: 44px; min-height: 44px; padding: 0; border-radius: 6px;
  background: var(--o-theme-glyph) center / 20px no-repeat, var(--s-bar); border: 1px solid var(--o-control);
  box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; transition: border-color 160ms var(--o-ease); }
:where(:root) body.obs:where(.obs-landing) .theme-toggle:hover { transform: none; border-color: var(--o-ice); }
:where(:root) body.obs:where(.obs-landing) .theme-toggle .theme-icon { opacity: 0; }
:where(:root) body.obs:where(.obs-landing) .theme-toggle:focus-visible { outline: 2px solid var(--o-ice); outline-offset: 3px; }
/* ==========================================================================================================
   landing: homepage and advisor (index.css): the Observatory's light, type and controls on today's layout. The
   homepage hero takes the approved arrival composition and its sunrise ("The arrival", end of this file).
   ========================================================================================================== */
/* calmer field: no glow, no twinkling stars, no glowing Pegasus; the hero photograph and its scrim stay */
:where(:root) body.obs:where(.obs-landing) :is(.glow-orb, .hero-stars, .pegasus-glow-layer, .floating-zodiac) { display: none !important; }
/* index.css already uses !important here */
:where(:root) body.obs:where(.obs-landing) #star-canvas { opacity: .5; }
:where(:root) body.obs:where(.obs-landing) :is(.landing-hero h1, .advisor-header h1, .welcome-state h2) { color: var(--o-ivory) !important; background: none !important; -webkit-text-fill-color: currentColor !important; text-shadow: none !important; font-weight: 400; }
/* index.css !important */
:where(:root) body.obs:where(.obs-landing) .landing-hero .hero-subtitle { color: var(--s-text-2) !important; text-shadow: none !important; }
/* inline style */
:where(:root) body.obs:where(.obs-landing) .hero-wordmark { display: inline-flex; align-items: center; gap: 12px; color: var(--o-ink); font: 600 .8rem/1 var(--o-chrome); letter-spacing: .16em; text-transform: uppercase; }
:where(:root) body.obs:where(.obs-landing) .hero-wordmark::before { content: ""; width: 26px; height: 26px; background: var(--o-wordmark) center / contain no-repeat; }
:where(:root) body.obs:where(.obs-landing) .landing-hero .hero-badge { background: transparent; border: 0; color: var(--o-muted); box-shadow: none; text-shadow: none; }
:where(:root) body.obs:where(.obs-landing) .landing-hero .hero-badge .dot { background: var(--o-lamp); box-shadow: none; }
/* index.css colours these under #hero (ID weight) with literal gold and grey: the same roles from the tokens, both themes */
:where(:root) body.obs:where(.obs-landing) #hero .hero-wordmark { color: var(--o-lamp); }
:where(:root) body.obs:where(.obs-landing) #hero .hero-badge { color: var(--o-muted); }
:where(:root) body.obs:where(.obs-landing) #hero .hero-badge .dot { background: var(--o-lamp); }
:where(:root) body.obs:where(.obs-landing) #hero-advisor-option { color: var(--o-ink); }
:where(:root) body.obs:where(.obs-landing) .hero-stats-strip, :where(:root) body.obs:where(.obs-landing) .hero-stats-strip * { color: var(--o-muted) !important; text-shadow: none !important; }
/* index.css !important */
:where(:root) body.obs:where(.obs-landing) .hero-stat-label { text-transform: none; letter-spacing: 0; font-size: .875rem; }
:where(:root) body.obs:where(.obs-landing) .scroll-indicator { color: var(--o-faint); }
:where(:root) body.obs:where(.obs-landing) .scroll-indicator span { text-transform: none; letter-spacing: 0; }
/* the four ways in: one ice primary, three outline */
:where(:root) body.obs:where(.obs-landing) .journey-entry a { display: flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; border-radius: 999px;
  background: var(--s-veil); border: 1px solid var(--o-control); color: var(--o-ink); font: 500 1rem/1.3 var(--o-sans); }
:where(:root) body.obs:where(.obs-landing) .journey-entry a:hover { border-color: var(--o-ice); background: var(--s-veil); }
:where(:root) body.obs:where(.obs-landing) #hero .journey-entry a:not(.journey-entry-primary) { border-color: var(--o-control); }
/* index.css sets it under #hero */
:where(:root) body.obs:where(.obs-landing) .journey-entry a.journey-entry-primary { background: var(--o-ice); border-color: var(--o-ice); color: var(--o-on-ice); font-weight: 600; box-shadow: var(--s-lift); }
:where(:root) body.obs:where(.obs-landing) .journey-entry a.journey-entry-primary:hover { background: var(--o-ice-2); }
:where(:root) body.obs:where(.obs-landing) .journey-entry a:focus-visible { outline: 2px solid var(--o-ice); outline-offset: 3px; }
:where(:root) body.obs:where(.obs-landing) #hero-advisor-option summary { background: transparent; border: 1px solid var(--o-line-2); border-radius: 999px; color: var(--s-ink-2); font-weight: 500; }
:where(:root) body.obs:where(.obs-landing) #hero-advisor-option summary:focus-visible { outline: 2px solid var(--o-ice); outline-offset: 3px; }
:where(:root) body.obs:where(.obs-landing) #hero-q-input { background: var(--s-field) !important; border: 1px solid var(--o-control) !important; border-radius: 10px !important; box-shadow: none !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
/* inline style */
:where(:root) body.obs:where(.obs-landing) #hero-question-block button { background: var(--o-ice) !important; color: var(--o-on-ice) !important; border-radius: 999px !important; box-shadow: none !important; }
/* inline style */
:where(:root) body.obs:where(.obs-landing) #hero-question-block a { color: var(--s-ink-2) !important; border-bottom-color: var(--o-control) !important; text-shadow: none !important; }
/* inline style */
:where(:root) body.obs:where(.obs-landing) #hero-question-block > div[style*="margin-top"] { color: var(--o-muted) !important; text-shadow: none !important; }
/* the example questions are tap targets, not prose links: 44 px tall */
:where(:root) body.obs:where(.obs-landing) #hero-question-block > div[style*="margin-top"] a { display: inline-flex; align-items: center; min-height: 44px; }
/* inline style */
:where(:root) body.obs:where(.obs-landing) .hqs-row input { background: var(--s-field); border: 1px solid var(--o-control); color: var(--o-ink); color-scheme: var(--s-scheme); }
:where(:root) body.obs:where(.obs-landing) .hqs-row button { background: var(--o-ice); color: var(--o-on-ice); border-radius: 999px; }
:where(:root) body.obs:where(.obs-landing) #hero-q-echo { color: var(--o-lamp) !important; }
/* inline style */
/* The account capsule at the top right (Login, theme, language), which carries its own gold tokens. */
:where(:root) body.obs:where(.obs-landing) .lang-switcher { --text: var(--o-ink); --text-dim: var(--s-ink-2); --purple: var(--o-ice); --gold: var(--o-ice); --glass: var(--s-bar); --card-bg: var(--o-night-3); --glass-border: var(--o-control);
  background: var(--s-bar); border: 1px solid var(--o-line-2); border-radius: 12px; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  gap: 6px; padding: 6px; }
:where(:root) body.obs:where(.obs-landing) .lang-switcher a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 10px; color: var(--s-ink-2) !important; font-family: var(--o-chrome); }
/* inline style */
:where(:root) body.obs:where(.obs-landing) .lang-switcher .theme-toggle { border-color: transparent; }
:where(:root) body.obs:where(.obs-landing) :is(.lang-switcher, .nav-right) .lang-sw-btn { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0 12px !important; background: transparent !important;
  border: 1px solid var(--o-control) !important; border-radius: 6px !important; color: var(--o-ink) !important; font: 600 .875rem/1 var(--o-chrome) !important;
  letter-spacing: 0 !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
/* inline style */
:where(:root) body.obs:where(.obs-landing) :is(.lang-switcher, .nav-right) .lang-dd { background: var(--o-night-3) !important; border: 1px solid var(--o-line-2) !important; border-radius: 12px !important; padding: 6px !important; }
/* inline style */
:where(:root) body.obs:where(.obs-landing) :is(.lang-switcher, .nav-right) .lang-dd a { min-height: 44px; display: flex !important; align-items: center; padding: 0 12px !important; color: var(--s-ink-2) !important; font-size: .9375rem !important; white-space: nowrap; }
/* inline style */
/* the bar that slides in on scroll (homepage) and stays on the advisor */
:where(:root) body.obs:where(.obs-landing) .landing-nav { background: var(--s-bar); border-bottom: 1px solid var(--o-line); box-shadow: none;
  -webkit-backdrop-filter: none; backdrop-filter: none; min-height: 72px; padding: 10px clamp(20px, 4.4vw, 64px); }
:where(:root) body.obs:where(.obs-landing) .landing-nav .nav-logo { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--o-ink);
  font: 600 .8rem/1 var(--o-chrome); letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
:where(:root) body.obs:where(.obs-landing) .landing-nav .nav-logo::before { content: ""; flex: none; width: 26px; height: 26px; background: var(--o-wordmark) center / contain no-repeat; }
:where(:root) body.obs:where(.obs-landing) .landing-nav .nav-center { gap: clamp(12px, 1.4vw, 22px); }
:where(:root) body.obs:where(.obs-landing) .landing-nav .nav-center a { font: 400 .9375rem/24px var(--o-chrome); padding-block: 10px; color: var(--s-ink-2) !important; font-weight: 400 !important; }
/* inline gold emphasis */
:where(:root) body.obs:where(.obs-landing) .landing-nav .nav-center a:hover { color: var(--o-ink) !important; text-decoration: underline; }
:where(:root) body.obs:where(.obs-landing) .landing-nav .nav-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: 6px; font: 500 .9375rem/1.2 var(--o-chrome); transform: none; }
:where(:root) body.obs:where(.obs-landing) .landing-nav .nav-btn-login { background: transparent; border: 1px solid var(--o-control); color: var(--o-ink); }
:where(:root) body.obs:where(.obs-landing) .landing-nav .nav-btn-login:hover { border-color: var(--o-ice); color: var(--o-ink); }
:where(:root) body.obs:where(.obs-landing) .landing-nav .nav-btn-register { background: var(--o-ice); color: var(--o-on-ice); box-shadow: none; border: 1px solid var(--o-ice); }
:where(:root) body.obs:where(.obs-landing) .landing-nav .nav-btn-register:hover { background: var(--o-ice-2); opacity: 1; transform: none; }
:where(:root) body.obs:where(.obs-landing) .nav-user-avatar { background: transparent; border: 1px solid var(--o-control); color: var(--o-ice); box-shadow: none; }
:where(:root) body.obs:where(.obs-landing) .landing-nav .hamburger { min-width: 44px; min-height: 44px; border: 1px solid var(--o-control); border-radius: 6px; color: var(--o-ink); padding: 0; }
/* sections */
:where(:root) body.obs:where(.obs-landing) .section-label { color: var(--o-muted); background: none; -webkit-text-fill-color: currentColor; text-transform: none; letter-spacing: 0; font: 500 .9375rem var(--o-sans); }
:where(:root) body.obs:where(.obs-landing) .section-heading { color: var(--o-ivory); background: none; -webkit-text-fill-color: currentColor; font-weight: 400; text-transform: none; letter-spacing: -.005em; }
:where(:root) body.obs:where(.obs-landing) .feature-card { background: var(--o-night-2); border: 1px solid var(--o-line); border-radius: 14px; box-shadow: none; }
:where(:root) body.obs:where(.obs-landing) .feature-card::before, :where(:root) body.obs:where(.obs-landing) .feature-card::after { display: none; }
:where(:root) body.obs:where(.obs-landing) .feature-card:hover { transform: none; border-color: var(--o-line-2); box-shadow: none; }
:where(:root) body.obs:where(.obs-landing) .feature-card .feature-icon { color: var(--o-ice-2); filter: none; text-shadow: none; }
:where(:root) body.obs:where(.obs-landing) .feature-card h3 { color: var(--o-ivory); font-weight: 400; }
:where(:root) body.obs:where(.obs-landing) .feature-card p { color: var(--s-text-2); }
:where(:root) body.obs:where(.obs-landing) .site-footer, :where(:root) body.obs:where(.obs-landing) footer { background: transparent; border-top: 1px solid var(--o-line); color: var(--o-muted); }
:where(:root) body.obs:where(.obs-landing) :is(.site-footer, footer) a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 4px; color: var(--s-link); }
:where(:root) body.obs:where(.obs-landing) :is(.site-footer, footer) a:hover { color: var(--o-ink); }
:where(:root) body.obs:where(.obs-landing) .feedback-btn { background: var(--o-night-3); border: 1px solid var(--o-control); color: var(--o-ice); box-shadow: none; }
:where(:root) body.obs:where(.obs-landing) .feedback-btn:hover { transform: none; box-shadow: none; border-color: var(--o-ice); }
:where(:root) body.obs:where(.obs-landing) #cookie-consent { background: var(--s-banner) !important; border-top: 1px solid var(--o-line-2) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
:where(:root) body.obs:where(.obs-landing) #cookie-consent p { color: var(--o-ink) !important; }
:where(:root) body.obs:where(.obs-landing) #cookie-consent a { color: var(--o-ice) !important; }
:where(:root) body.obs:where(.obs-landing) #cookie-consent button { min-height: 44px; padding: 0 20px !important; border-radius: 999px !important; font-size: .9375rem !important; }
:where(:root) body.obs:where(.obs-landing) #cookie-consent button:first-child { background: transparent !important; color: var(--o-ink) !important; border: 1px solid var(--o-control) !important; }
:where(:root) body.obs:where(.obs-landing) #cookie-consent button:last-child { background: var(--o-ice) !important; color: var(--o-on-ice) !important; border: 0 !important; }
/* Buttons drawn with the gradient tokens (now ice) set white text: give them the on-ice ink. */
:where(:root) body.obs:where(.obs-landing) :is(.btn:not(.btn-outline), .birth-form-submit, .chat-send, .best-value-badge, .lang-btn.active) { color: var(--o-on-ice); }
:where(:root) body.obs:where(.obs-landing) .btn:not(.btn-outline) { border-radius: 999px; box-shadow: var(--s-lift-sm); letter-spacing: 0; min-height: 44px; }
:where(:root) body.obs:where(.obs-landing) .btn:not(.btn-outline):hover { color: var(--o-on-ice); background: var(--o-ice-2); transform: none; }
/* theme.js's upgrade dialog (the advisor, on a 403 "upgrade required" answer; theme.css, which would style it, is linked
   by no page): an Observatory dialog */
:where(:root) body.obs:where(.obs-landing) .upgrade-modal-overlay { position: fixed; inset: 0; z-index: 10001; display: grid; place-items: center; padding: 24px;
  background: color-mix(in srgb, var(--o-night) 72%, transparent); }
:where(:root) body.obs:where(.obs-landing) .upgrade-modal { box-sizing: border-box; width: min(100%, 420px); padding: 28px 24px; border-radius: 16px;
  background: var(--o-night-2); border: 1px solid var(--o-line-2); color: var(--o-ink); box-shadow: var(--s-lift-sm); }
:where(:root) body.obs:where(.obs-landing) .upgrade-modal h3 { margin: 0 0 10px; font: 400 1.5rem/1.2 var(--o-serif); color: var(--o-ivory); }
:where(:root) body.obs:where(.obs-landing) .upgrade-modal p { margin: 0 0 20px; color: var(--o-muted); line-height: 1.6; }
:where(:root) body.obs:where(.obs-landing) .upgrade-modal :is(.btn-primary, .btn-secondary) { display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 0 20px; border-radius: 999px; font: 600 .9375rem var(--o-sans); text-decoration: none; cursor: pointer; }
:where(:root) body.obs:where(.obs-landing) .upgrade-modal .btn-primary { background: var(--o-ice); color: var(--o-on-ice); border: 0; }
:where(:root) body.obs:where(.obs-landing) .upgrade-modal .btn-secondary { background: transparent; color: var(--o-ink); border: 1px solid var(--o-control); }
/* index.css gives the in-page dashboard's buttons a warm ink through #dashboard (ID specificity): the on-ice ink */
:where(:root) body.obs:where(.obs-landing) #dashboard .btn:not(.btn-outline) { color: var(--o-on-ice) !important; }
:where(:root) body.obs:where(.obs-landing) :is(.btn, .hero-cta)::before { display: none; }
:where(:root) body.obs:where(.obs-landing) .btn-outline { border: 1px solid var(--o-control); color: var(--o-ink); border-radius: 999px; min-height: 44px; }
:where(:root) body.obs:where(.obs-landing) :is(.btn-outline:hover, .btn-outline.active) { border-color: var(--o-ice); color: var(--o-ink); background: var(--s-tint); box-shadow: none; transform: none; }
:where(:root) body.obs:where(.obs-landing) .hero-cta { background: var(--o-ice); color: var(--o-on-ice); border-radius: 999px; box-shadow: var(--s-lift); font-weight: 600; min-height: 48px; letter-spacing: 0; }
:where(:root) body.obs:where(.obs-landing) .hero-cta:hover { background: var(--o-ice-2); color: var(--o-on-ice); transform: none; box-shadow: var(--s-lift); }
/* index.css sets these with !important */
:where(:root) body.obs:where(.obs-landing) .hero-cta-secondary { background: transparent !important; border: 1px solid var(--o-control) !important; color: var(--o-ink) !important; border-radius: 999px !important; box-shadow: none !important; padding: 0 22px !important; min-height: 44px; }
:where(:root) body.obs:where(.obs-landing) .hero-cta-secondary:hover { border-color: var(--o-ice) !important; background: transparent !important; }
:where(:root) body.obs:where(.obs-landing) .hero-cta-primary { background: var(--o-ice) !important; color: var(--o-on-ice) !important; border-radius: 999px !important; }
:where(:root) body.obs:where(.obs-landing) .section-divider, :where(:root) body.obs:where(.obs-landing) .app-header::after { background: var(--o-line-2); box-shadow: none; }
/* the homepage's tool area: tabs and forms */
:where(:root) body.obs:where(.obs-landing) .nav-tabs { background: var(--s-bar); border: 1px solid var(--o-line-2); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; border-radius: 999px; }
/* the tool tabs stick under the bar that slides in on scroll (index.css sticks them at 8 px, under the bar) */
:where(:root) body.obs:where(.obs-landing) #landingNav.visible ~ #app #dashboard .nav-tabs { top: 84px; }
:where(:root) body.obs:where(.obs-landing) .nav-tab { min-height: 44px; color: var(--s-link); text-transform: none; letter-spacing: 0; font: 500 .9375rem var(--o-sans); border-radius: 999px; }
:where(:root) body.obs:where(.obs-landing) .nav-tab:hover { color: var(--o-ink); background: var(--s-tint); }
:where(:root) body.obs:where(.obs-landing) .nav-tab.active { background: var(--o-ice); color: var(--o-on-ice); border-color: var(--o-ice); box-shadow: none; }
:where(:root) body.obs:where(.obs-landing) .form-group label { color: var(--s-ink-2); text-transform: none; letter-spacing: 0; font: 500 .9375rem var(--o-sans); }
:where(:root) body.obs:where(.obs-landing) :is(.form-group input, .form-group select, .cold-field input, .hqs-row input) { background: var(--s-field); border: 1px solid var(--o-control); border-radius: 10px; color: var(--o-ink); min-height: 48px; color-scheme: var(--s-scheme); }
:where(:root) body.obs:where(.obs-landing) :is(.form-group input, .form-group select, .cold-field input):focus { border-color: var(--o-ice); box-shadow: 0 0 0 3px var(--s-glow); }
:where(:root) body.obs:where(.obs-landing) :is(.glass-card, .card, .tool-card, .result-card) { background: var(--o-night-2); border: 1px solid var(--o-line); border-radius: 14px; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
/* homepage FAQ: the seo shell's hairline list */
:where(:root) body.obs:where(.obs-landing) .faq-item { background: transparent; border: 0; border-bottom: 1px solid var(--o-line); border-radius: 0; box-shadow: none; margin: 0; }
:where(:root) body.obs:where(.obs-landing) .faq-item.open { box-shadow: none; border-color: var(--o-line); }
:where(:root) body.obs:where(.obs-landing) .faq-question { min-height: 56px; padding-inline: 0; color: var(--o-ivory); font-weight: 400; font-size: 1.3rem; }
:where(:root) body.obs:where(.obs-landing) .faq-question:hover { color: var(--o-ink); }
:where(:root) body.obs:where(.obs-landing) .faq-chevron { color: var(--o-faint); }
:where(:root) body.obs:where(.obs-landing) .faq-item.open .faq-chevron { color: var(--o-ice); }
:where(:root) body.obs:where(.obs-landing) .faq-answer, :where(:root) body.obs:where(.obs-landing) .faq-item.open .faq-answer { padding-inline: 0; }
:where(:root) body.obs:where(.obs-landing) .faq-answer p { color: var(--s-text-2); font-size: .9375rem; }
/* newsletter and the closing invitation (inline-styled) */
:where(:root) body.obs:where(.obs-landing) .newsletter-section { border-top-color: var(--o-line) !important; }
:where(:root) body.obs:where(.obs-landing) .newsletter-section h2 { color: var(--o-ivory) !important; font-weight: 400; }
:where(:root) body.obs:where(.obs-landing) .newsletter-section :is(input, select) { background: var(--s-field) !important; border: 1px solid var(--o-control) !important; color: var(--o-ink) !important; min-height: 48px; color-scheme: var(--s-scheme); }
:where(:root) body.obs:where(.obs-landing) .newsletter-section button { background: var(--o-ice) !important; color: var(--o-on-ice) !important; border-radius: 999px !important; min-height: 48px; }
:where(:root) body.obs:where(.obs-landing) #cosmic-advisor h2 { color: var(--o-ivory) !important; font-weight: 400 !important; }
/* ---------- small chrome found in the state captures ---------- */
/* the question field writes white text inline (invisible on a daylight field) */
:where(:root) body.obs:where(.obs-landing) #hero-q-input { color: var(--o-ink) !important; }
/* At <= 768 px index.css recolours the inline-emphasised first menu link with the accent (#landingNav, !important):
   no link should look like the current page. */
:where(:root) body.obs:where(.obs-landing) #landingNav .nav-center a[style] { color: var(--s-ink-2) !important; }
:where(:root) body.obs:where(.obs-landing) #landingNav .nav-center.open { border-bottom: 1px solid var(--o-line); }
:where(:root) body.obs:where(.obs-landing) .nav-user-avatar { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; border-radius: 6px; }
:where(:root) body.obs:where(.obs-landing) .skip-link { min-height: 44px; display: inline-flex; align-items: center; }
:where(:root) body.obs:where(.obs-landing) :is(.lang-switcher, .nav-right) .lang-sw-btn { text-transform: none; }
:where(:root) body.obs:where(.obs-landing) .profile-badge { background: transparent; border: 1px solid var(--o-line-2); color: var(--s-ink-2); -webkit-backdrop-filter: none; backdrop-filter: none; }
:where(:root) body.obs:where(.obs-landing) .faq-chevron { font-family: var(--o-sans); }
/* ---------- feedback: the floating button's panel ---------- */
:where(:root) body.obs:where(.obs-landing) .feedback-overlay { background: var(--s-scrim); -webkit-backdrop-filter: none; backdrop-filter: none; }
:where(:root) body.obs:where(.obs-landing) .feedback-panel { background: var(--o-night-3); border: 1px solid var(--o-line-2); border-radius: 14px; box-shadow: var(--shadow); -webkit-backdrop-filter: none; backdrop-filter: none; }
:where(:root) body.obs:where(.obs-landing) .feedback-panel .fb-title { color: var(--o-ivory); font-weight: 400; }
:where(:root) body.obs:where(.obs-landing) .feedback-panel .fb-close { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--o-muted); border-radius: 6px; }
:where(:root) body.obs:where(.obs-landing) .feedback-panel .fb-close:hover { color: var(--o-ink); }
:where(:root) body.obs:where(.obs-landing) .feedback-panel label { color: var(--s-ink-2); font: 500 .9375rem var(--o-sans); }
:where(:root) body.obs:where(.obs-landing) .feedback-panel :is(select, textarea, input[type="email"]) { background: var(--s-field); border: 1px solid var(--o-control); border-radius: 10px; color: var(--o-ink); min-height: 48px; color-scheme: var(--s-scheme); }
:where(:root) body.obs:where(.obs-landing) .feedback-panel :is(select, textarea, input):focus { border-color: var(--o-ice); box-shadow: 0 0 0 3px var(--s-glow); }
:where(:root) body.obs:where(.obs-landing) .feedback-panel .fb-stars button { min-width: 44px; min-height: 44px; color: var(--o-muted); border-radius: 6px; }
:where(:root) body.obs:where(.obs-landing) .feedback-panel .fb-stars button:hover { color: var(--o-ice); }
/* a chosen star is lamp-coloured and underlined (not colour alone) */
:where(:root) body.obs:where(.obs-landing) .feedback-panel .fb-stars button.active { color: var(--o-lamp); box-shadow: inset 0 -2px 0 var(--o-lamp); }
:where(:root) body.obs:where(.obs-landing) .feedback-panel .fb-submit { min-height: 48px; border-radius: 999px; background: var(--o-ice); color: var(--o-on-ice); font: 600 1rem var(--o-sans); box-shadow: none; transform: none; }
:where(:root) body.obs:where(.obs-landing) .feedback-panel .fb-submit:hover { background: var(--o-ice-2); opacity: 1; transform: none; }
:where(:root) body.obs:where(.obs-landing) .fb-success .checkmark { color: var(--o-ice); }
:where(:root) body.obs:where(.obs-landing) .fb-success p { color: var(--s-text-2); }
:where(:root) body.obs:where(.obs-landing) .fb-success .fb-done { min-height: 44px; border-radius: 999px; border: 1px solid var(--o-control); color: var(--o-ink); }
/* ---------- toasts (toast.js injects its own coloured styles at run time) ---------- */
:where(:root) body.obs:where(.obs-landing) #toast-container .toast { background: var(--o-night-3); color: var(--o-ink); border: 1px solid var(--o-line-2); border-left: 3px solid var(--o-ice); border-radius: 10px;
  box-shadow: var(--shadow); -webkit-backdrop-filter: none; backdrop-filter: none; font-family: var(--o-sans); font-size: .9375rem; }
:where(:root) body.obs:where(.obs-landing) #toast-container .toast-error { border-left-color: var(--o-error); }
:where(:root) body.obs:where(.obs-landing) #toast-container .toast-error .toast-icon { color: var(--o-error); }
:where(:root) body.obs:where(.obs-landing) #toast-container .toast-warning { border-left-color: var(--o-lamp); }
:where(:root) body.obs:where(.obs-landing) #toast-container .toast-warning .toast-icon { color: var(--o-lamp); }
:where(:root) body.obs:where(.obs-landing) #toast-container :is(.toast-success, .toast-info) .toast-icon { color: var(--o-ice); }
:where(:root) body.obs:where(.obs-landing) #toast-container .toast-close { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; margin: -12px -12px -12px auto; color: var(--o-muted); opacity: 1; }
/* index.js's own toast (the one the homepage uses): one inline-styled box whose background names its kind; the words
   carry the message, the left rule repeats the kind */
:where(:root) body.obs:where(.obs-landing) #astro-toast { background: var(--o-night-3) !important; color: var(--o-ink) !important; border: 1px solid var(--o-line-2) !important; border-left: 3px solid var(--o-ice) !important;
  border-radius: 10px !important; box-shadow: var(--shadow) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; font: 400 .9375rem/1.5 var(--o-sans) !important; }
:where(:root) body.obs:where(.obs-landing) #astro-toast:is([style*="#ef4444"], [style*="rgb(239, 68, 68)"]) { border-left-color: var(--o-error) !important; }
:where(:root) body.obs:where(.obs-landing) #astro-toast:is([style*="#f59e0b"], [style*="rgb(245, 158, 11)"]) { border-left-color: var(--o-lamp) !important; }
/* ---------- reading surfaces on this shell: paper, the same in both themes ----------
   Inside paper the shell's tokens resolve to paper inks, so every token-coloured rule (chips, outline buttons, focus
   rings) reads on paper without a second rule. */
/* both themes */
:where(:root) body.obs:where(.obs-landing) :is(.msg-ai:not(.soft-error-box), .hero-teaser, #report-cta-box, #upgrade-cta-section) {
  --o-ink: var(--o-paper-ink); --o-ivory: var(--o-paper-ink); --o-muted: var(--o-paper-muted); --o-faint: var(--o-paper-faint);
  --o-line: var(--o-paper-rule); --o-line-2: var(--o-paper-rule); --o-control: var(--o-paper-faint);
  --o-ice: var(--o-paper-accent); --o-ice-2: #163d69; --o-on-ice: var(--o-paper); --o-lamp: #735d2e;
  --s-ink-2: var(--o-paper-ink); --s-text-2: #1f2533; --s-link: var(--o-paper-accent); --s-tint: rgba(22, 27, 39, .05); --s-glow: rgba(29, 75, 128, .2);
  --gold: #1d4b80; --gold-bright: #163d69; --gold-dim: #161b27; --cyan: #1d4b80; --purple: #1d4b80; --teal: #1d4b80;
  --text: #1f2533; --text-dim: #4b5467; --muted: #4b5467; --text-muted: #4b5467; --border: #d8cebb; --ae-focus: #1d4b80; }
/* ---------- the chart teaser (a reading: paper) ---------- */
:where(:root) body.obs:where(.obs-landing) .hero-teaser { background: var(--o-paper-surface); color: var(--o-paper-ink); border: 0; border-radius: 3px; box-shadow: var(--s-paper-shadow); text-align: left; }
:where(:root) body.obs:where(.obs-landing) .story-section-label { color: var(--o-paper-muted); text-transform: none; letter-spacing: 0; font: 500 .9375rem var(--o-sans); }
:where(:root) body.obs:where(.obs-landing) .story-section-label::before { background: var(--o-paper-rule); opacity: 1; }
:where(:root) body.obs:where(.obs-landing) .story-badge { background: transparent; border: 1px solid var(--o-paper-rule); border-radius: 6px; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
:where(:root) body.obs:where(.obs-landing) .story-badge-glyph { color: var(--o-paper-accent); font-family: var(--o-sans-glyph, var(--o-sans)); font-variant-emoji: text; }
:where(:root) body.obs:where(.obs-landing) .story-badge-label { color: var(--o-paper-muted); text-transform: none; letter-spacing: 0; font-size: .875rem; }
:where(:root) body.obs:where(.obs-landing) .story-badge-sign { color: var(--o-paper-ink); font-size: 1.35rem; font-weight: 400; }
:where(:root) body.obs:where(.obs-landing) .story-emotional-insight { background: transparent; color: var(--o-paper-ink); border-left: 2px solid var(--o-paper-accent); border-radius: 0; font-size: 1.45rem; padding: 6px 0 6px 22px; }
:where(:root) body.obs:where(.obs-landing) :is(.story-rising-narrative, .story-synthesis, .story-strength-text) { background: transparent; color: #1f2533; font: 400 1.0625rem/1.68 var(--o-sans); border: 0; border-radius: 0; padding: 0 0 0 24px; }
:where(:root) body.obs:where(.obs-landing) .story-core-question { background: transparent; color: var(--o-paper-ink); font: 400 1.35rem/1.45 var(--o-serif); font-style: normal; border-left: 2px solid var(--o-paper-rule); border-radius: 0; padding: 4px 0 4px 22px; }
:where(:root) body.obs:where(.obs-landing) .story-locked-card { border: 1px solid var(--o-paper-rule); border-radius: 6px; transform: none; }
:where(:root) body.obs:where(.obs-landing) .story-locked-card-blur { display: none; }
:where(:root) body.obs:where(.obs-landing) .story-locked-card-overlay { background: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
:where(:root) body.obs:where(.obs-landing) :is(.story-locked-icon, .story-locked-lock) { color: var(--o-paper-muted); opacity: 1; }
:where(:root) body.obs:where(.obs-landing) .story-locked-title { color: var(--o-paper-ink); font-size: .9375rem; }
:where(:root) body.obs:where(.obs-landing) .story-locked-desc { color: var(--o-paper-muted); font-size: .875rem; }
:where(:root) body.obs:where(.obs-landing) .story-cta-btn { min-height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 999px; letter-spacing: 0; transform: none; }
:where(:root) body.obs:where(.obs-landing) .story-cta-gold { background: var(--o-paper-ink); color: var(--o-paper); box-shadow: none; }
/* index.css !important */
:where(:root) body.obs:where(.obs-landing) :is(.story-cta-purple, .story-cta-outline) { background: transparent !important; border: 1px solid var(--o-paper-muted) !important; color: var(--o-paper-ink) !important; }
/* question chips under the teaser (inline-styled, with inline hover handlers) */
:where(:root) body.obs:where(.obs-landing) #story-question-chips a { min-height: 44px; display: inline-flex; align-items: center; background: transparent !important; border: 1px solid var(--o-paper-muted) !important; color: var(--o-paper-ink) !important; white-space: normal !important; }
:where(:root) body.obs:where(.obs-landing) .hero-teaser .teaser-share { color: var(--o-paper-accent); text-decoration: underline; display: inline-flex; align-items: center; min-height: 44px; }
/* ---------- the email invitations after a free chart (anonymous visitors): a night panel, one ice action ---------- */
:where(:root) body.obs:where(.obs-landing) :is(.email-invite-card, .chart-gate-card) { background: var(--o-night-2); border: 1px solid var(--o-line-2); border-radius: 14px; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
:where(:root) body.obs:where(.obs-landing) .chart-gate-card::before { display: none; }
:where(:root) body.obs:where(.obs-landing) :is(.email-invite-card, .chart-gate-card) h3 { color: var(--o-ivory); font-size: 1.5rem; font-weight: 400; }
:where(:root) body.obs:where(.obs-landing) :is(.email-invite-card, .chart-gate-card) :is(.gate-sub, .gate-bullets li) { color: var(--s-text-2); font-size: .9375rem; }
:where(:root) body.obs:where(.obs-landing) :is(.email-invite-card, .chart-gate-card) .gate-bullets li::before { color: var(--o-ice); }
:where(:root) body.obs:where(.obs-landing) :is(.email-invite-card, .chart-gate-card) .gate-email-input { min-height: 48px; background: var(--s-field); border: 1px solid var(--o-control); border-radius: 10px; color: var(--o-ink); color-scheme: var(--s-scheme); }
:where(:root) body.obs:where(.obs-landing) :is(.email-invite-card, .chart-gate-card) .gate-email-input:focus { border-color: var(--o-ice); box-shadow: 0 0 0 3px var(--s-glow); }
:where(:root) body.obs:where(.obs-landing) :is(.email-invite-card, .chart-gate-card) .gate-unlock-btn { min-height: 48px; border-radius: 999px; background: var(--o-ice); color: var(--o-on-ice); box-shadow: none; transform: none; }
:where(:root) body.obs:where(.obs-landing) :is(.email-invite-card, .chart-gate-card) .gate-unlock-btn:hover { background: var(--o-ice-2); box-shadow: none; transform: none; }
:where(:root) body.obs:where(.obs-landing) :is(.email-invite-card, .chart-gate-card) .gate-disclaimer { color: var(--o-muted); font-size: .8125rem; }
:where(:root) body.obs:where(.obs-landing) :is(.email-invite-card, .chart-gate-card) .gate-error-msg { color: var(--o-error); }
:where(:root) body.obs:where(.obs-landing) .email-invite-card .email-invite-advisor { display: inline-flex; align-items: center; min-height: 44px; color: var(--o-ice); border-bottom: 0; text-decoration: underline; text-underline-offset: .22em; }
:where(:root) body.obs:where(.obs-landing) .email-invite-dismiss { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; top: 4px; right: 4px; color: var(--o-muted); }
:where(:root) body.obs:where(.obs-landing) .email-invite-dismiss:hover { color: var(--o-ink); }
:where(:root) body.obs:where(.obs-landing) .gate-toast { background: var(--o-night-3); color: var(--o-ink); border: 1px solid var(--o-line-2); border-left: 3px solid var(--o-ice); box-shadow: var(--shadow); -webkit-backdrop-filter: none; backdrop-filter: none; }
/* the email step before the full reading (index.js writes it inline): a dialog on a scrim */
:where(:root) body.obs:where(.obs-landing) #email-gate-modal-overlay { background: var(--s-scrim) !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; } /* inline */
:where(:root) body.obs:where(.obs-landing) #email-gate-modal-card { background: var(--o-night-3) !important; border: 1px solid var(--o-line-2) !important; border-radius: 14px !important; box-shadow: var(--shadow) !important; }
:where(:root) body.obs:where(.obs-landing) #email-gate-modal-card h2 { color: var(--o-ivory) !important; font-weight: 400; }
:where(:root) body.obs:where(.obs-landing) #email-gate-modal-card p { color: var(--s-text-2) !important; opacity: 1 !important; }
:where(:root) body.obs:where(.obs-landing) #email-gate-modal-card label span { color: var(--s-ink-2) !important; font-size: .875rem !important; }
:where(:root) body.obs:where(.obs-landing) #email-gate-modal-card #email-gate-modal-error { color: var(--o-error) !important; }
:where(:root) body.obs:where(.obs-landing) #email-gate-modal-input { min-height: 48px; background: var(--s-field) !important; border: 1px solid var(--o-control) !important; border-radius: 10px !important; color: var(--o-ink) !important; color-scheme: var(--s-scheme); }
:where(:root) body.obs:where(.obs-landing) #email-gate-modal-input:focus { border-color: var(--o-ice) !important; }
:where(:root) body.obs:where(.obs-landing) #email-gate-modal-btn { min-height: 48px; background: var(--o-ice) !important; color: var(--o-on-ice) !important; border-radius: 999px !important; opacity: 1 !important; transform: none !important; }
:where(:root) body.obs:where(.obs-landing) #email-gate-modal-card > div:has(> #email-gate-modal-input) { flex-wrap: wrap; } /* the field and its button overflowed a phone-width card */
:where(:root) body.obs:where(.obs-landing) #email-gate-modal-input { flex: 1 1 200px !important; min-width: 0; }
:where(:root) body.obs:where(.obs-landing) #email-gate-modal-btn { flex: 1 1 auto; white-space: normal !important; }
:where(:root) body.obs:where(.obs-landing) #email-gate-weekly-optin { accent-color: var(--o-ice) !important; width: 20px !important; height: 20px !important; }
/* Fields that set outline: none inline keep a visible focus ring (the shared ring cannot beat an inline style). */
:where(:root) body.obs:where(.obs-landing) :is(#hero-q-input, #nlEmail, #email-gate-modal-input, #report-email):focus-visible { outline: 2px solid var(--o-ice) !important; outline-offset: 2px !important; }
/* the free-summary email step inside the report offer (paper): a paper field */
:where(:root) body.obs:where(.obs-landing) #report-cta-box #report-email { min-height: 48px; background: var(--o-paper) !important; border: 1px solid var(--o-paper-muted) !important; color: var(--o-paper-ink) !important; border-radius: 10px !important; }
:where(:root) body.obs:where(.obs-landing) #report-cta-box p:is([style*="#22c55e"], [style*="rgb(34, 197, 94)"]) { color: var(--o-paper-accent) !important; }
:where(:root) body.obs:where(.obs-landing) #report-cta-box > div:has(> #report-email) { flex-wrap: wrap; } /* the field and its button overflowed at phone widths */
:where(:root) body.obs:where(.obs-landing) #report-cta-box #report-email { flex: 1 1 200px !important; min-width: 0; }
:where(:root) body.obs:where(.obs-landing) #report-cta-box #report-email + button { flex: 1 1 auto; white-space: normal !important; }
/* the sign-in invitation under the report offer (inline violet tint): a night panel, its link in ice */
:where(:root) body.obs:where(.obs-landing) #onetap-signin-prompt { background: var(--o-night-2) !important; border: 1px solid var(--o-line-2) !important; border-radius: 14px !important; }
:where(:root) body.obs:where(.obs-landing) #onetap-signin-prompt p { color: var(--s-text-2) !important; }
:where(:root) body.obs:where(.obs-landing) #onetap-signin-prompt a { display: inline-flex; align-items: center; min-height: 44px; color: var(--o-ice) !important; }
/* ---------- the saved-chart and saved-synastry views and the save step (they replace or precede the dashboard) ---------- */
:where(:root) body.obs:where(.obs-landing) :is(#saved-chart-view, #saved-synastry-view, #natal-save-panel) > h2 { color: var(--o-ivory); font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); margin-bottom: 8px; }
:where(:root) body.obs:where(.obs-landing) :is(#saved-chart-view, #saved-synastry-view, #natal-save-panel) h3 { color: var(--o-ivory); font-size: 1.35rem; margin-top: 16px; }
:where(:root) body.obs:where(.obs-landing) :is(#saved-chart-view, #saved-synastry-view, #natal-save-panel) > p { color: var(--s-text-2); max-width: 45em; }
:where(:root) body.obs:where(.obs-landing) :is(#saved-chart-view, #saved-synastry-view, #natal-save-panel) > p[role="status"] { color: var(--o-ink); }
:where(:root) body.obs:where(.obs-landing) :is(#saved-chart-view > p, #saved-synastry-view > p, #natal-save-auth, #saved-today) a, :where(:root) body.obs:where(.obs-landing) :is(#natal-save-dashboard, #saved-synastry-access) { display: inline-flex; align-items: center; min-height: 44px; color: var(--o-ice); }
/* the save step is a short form: a panel; Cancel is the quiet action */
:where(:root) body.obs:where(.obs-landing) #natal-save-panel { background: var(--o-night-2); border: 1px solid var(--o-line-2); border-radius: 14px; padding: clamp(18px, 3vw, 32px) !important; } /* inline padding */
:where(:root) body.obs:where(.obs-landing) #natal-save-details { color: var(--s-ink-2); font-variant-numeric: tabular-nums; }
:where(:root) body.obs:where(.obs-landing) #natal-save-title-label { display: block; margin: 12px 0 6px; color: var(--s-ink-2); font: 500 .9375rem var(--o-sans); }
:where(:root) body.obs:where(.obs-landing) #natal-save-title { min-height: 48px; padding: 0 14px; background: var(--s-field); border: 1px solid var(--o-control); border-radius: 10px; color: var(--o-ink); font: 400 1rem var(--o-sans); color-scheme: var(--s-scheme); }
:where(:root) body.obs:where(.obs-landing) #natal-save-title:focus { border-color: var(--o-ice); box-shadow: 0 0 0 3px var(--s-glow); }
:where(:root) body.obs:where(.obs-landing) :is(#natal-save-cancel, #saved-synastry-recalculate) { background: transparent; border: 1px solid var(--o-control); color: var(--o-ink); box-shadow: none; }
:where(:root) body.obs:where(.obs-landing) :is(#natal-save-cancel, #saved-synastry-recalculate):hover { background: var(--s-tint); border-color: var(--o-ice); color: var(--o-ink); }
/* ---------- the dashboard (#app): calculation panels on night, offers on paper ---------- */
:where(:root) body.obs:where(.obs-landing) .app-header p { color: var(--o-muted); text-transform: none; letter-spacing: 0; font-size: .9375rem; }
:where(:root) body.obs:where(.obs-landing) #app .card::before { display: none; }
:where(:root) body.obs:where(.obs-landing) #app .card h3 { font-size: 1.35rem; }
/* index.css sizes every svg in a card to the card's width, so a button's 18 px share icon grew to fill the button */
:where(:root) body.obs:where(.obs-landing) #app .card :is(.btn, button) svg { width: 18px; height: 18px; flex: none; }
/* the four trust badges above the dashboard (inline-styled pills) */
:where(:root) body.obs:where(.obs-landing) #dashboard span[data-i18n^="badge_"] { background: transparent !important; border: 1px solid var(--o-line-2) !important; color: var(--o-muted) !important; font-size: .8125rem !important; -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
:where(:root) body.obs:where(.obs-landing) :is(.btn-link, .profile-using a) { color: var(--o-ice); }
:where(:root) body.obs:where(.obs-landing) .profile-using { color: var(--o-muted); }
:where(:root) body.obs:where(.obs-landing) .profile-saved-msg { color: var(--o-ice); }
/* "I don't know my birth time": a row, not a centred column */
:where(:root) body.obs:where(.obs-landing) label.form-group.birth-time-unknown { flex-direction: row; justify-content: flex-start; min-height: 44px; color: var(--s-ink-2); font: 500 .9375rem var(--o-sans); }
:where(:root) body.obs:where(.obs-landing) :is(#app, #coldCard, .birth-form-card) input[type="checkbox"] { accent-color: var(--o-ice); width: 20px !important; height: 20px; min-height: 0; }
/* sub-tabs: hairline pills; the selected one gets ink text and a doubled stroke (not colour alone) */
:where(:root) body.obs:where(.obs-landing) .sub-tabs { gap: 8px; }
:where(:root) body.obs:where(.obs-landing) .sub-tab { min-height: 44px; padding: 0 16px; background: transparent; border: 1px solid var(--o-control); border-radius: 999px; color: var(--s-ink-2);
  font: 500 .875rem var(--o-sans); letter-spacing: 0; text-transform: none; box-shadow: none; }
:where(:root) body.obs:where(.obs-landing) .sub-tab:hover { border-color: var(--o-ice); color: var(--o-ink); background: var(--s-tint); }
:where(:root) body.obs:where(.obs-landing) .sub-tab.active { border-color: var(--o-ice); box-shadow: inset 0 0 0 1px var(--o-ice); background: var(--s-tint); color: var(--o-ink); font-weight: 600; }
:where(:root) body.obs:where(.obs-landing) .period-selector { background: transparent; border: 1px solid var(--o-line-2); -webkit-backdrop-filter: none; backdrop-filter: none; }
:where(:root) body.obs:where(.obs-landing) .btn-outline.active { box-shadow: inset 0 0 0 1px var(--o-ice); }
/* collapsible sections: the heading is the control */
:where(:root) body.obs:where(.obs-landing) .section-toggle { min-height: 44px; color: var(--o-ivory); font-family: var(--o-serif); font-size: 1.35rem !important; font-weight: 400; }
:where(:root) body.obs:where(.obs-landing) .section-toggle:hover { color: var(--o-ink); }
:where(:root) body.obs:where(.obs-landing) .section-toggle::before { color: var(--o-ice); font-family: var(--o-sans); }
/* tables */
:where(:root) body.obs:where(.obs-landing) #app .data-table th { background: transparent; color: var(--o-faint); text-transform: none; letter-spacing: 0; font: 500 .8125rem var(--o-sans); border-bottom: 1px solid var(--o-line-2); border-radius: 0; }
:where(:root) body.obs:where(.obs-landing) #app .data-table td { border-bottom: 1px solid var(--o-line); font-variant-numeric: tabular-nums; }
:where(:root) body.obs:where(.obs-landing) #app .data-table tbody tr:nth-child(even) td { background: transparent; }
:where(:root) body.obs:where(.obs-landing) #app .data-table tr:hover td { background: var(--s-tint); }
/* fixed-star names and other bright inline yellows */
:where(:root) body.obs:where(.obs-landing) #app td:is([style*="#FFD060"], [style*="rgb(255, 208, 96)"]) { color: var(--o-lamp) !important; }
/* dignity and aspect badges: the word carries the meaning; a hairline chip carries no colour of its own */
:where(:root) body.obs:where(.obs-landing) .badge { background: transparent; border: 1px solid var(--o-line-2); color: var(--s-ink-2); -webkit-backdrop-filter: none; backdrop-filter: none; letter-spacing: 0; font-size: .8125rem; }
:where(:root) body.obs:where(.obs-landing) :is(.badge-domicile, .badge-exaltation, .badge-harmonious) { color: var(--o-ice); }
:where(:root) body.obs:where(.obs-landing) :is(.badge-detriment, .badge-fall, .badge-challenging) { color: var(--o-error); }
:where(:root) body.obs:where(.obs-landing) .retro { text-shadow: none; }
/* small labels written as headings (the horoscope's Do / Don't): the sans, not Cormorant below 20 px */
:where(:root) body.obs:where(.obs-landing) .list-columns h3[style*="font-size:0.88rem"] { font-family: var(--o-sans); font-weight: 600; font-size: .9375rem !important; } /* inline size */
:where(:root) body.obs:where(.obs-landing) .list-columns h3[style*="var(--teal)"] { color: var(--o-ice) !important; }
:where(:root) body.obs:where(.obs-landing) .list-columns h3[style*="var(--rose)"] { color: var(--o-error) !important; }
:where(:root) body.obs:where(.obs-landing) :is(.list-do, .list-dont) li { color: var(--s-text-2); }
:where(:root) body.obs:where(.obs-landing) .list-do li::before { color: var(--o-ice); }
:where(:root) body.obs:where(.obs-landing) .list-dont li::before { color: var(--o-error); }
/* the saved chart's optional symbolism disclosure: a 44 px row */
:where(:root) body.obs:where(.obs-landing) #saved-orientation summary { padding-block: 10px; cursor: pointer; }
/* balance bars, ratings, moods and key dates */
:where(:root) body.obs:where(.obs-landing) .progress-bar { background: var(--o-line); }
:where(:root) body.obs:where(.obs-landing) .progress-fill { box-shadow: none; }
:where(:root) body.obs:where(.obs-landing) .progress-fill::after { display: none; }
:where(:root) body.obs:where(.obs-landing) :is(.progress-label, .progress-value) { color: var(--o-muted); font-size: .875rem; }
:where(:root) body.obs:where(.obs-landing) :is(.rating-item, .mood-item, .key-date-card, .lunar-detail-card) { background: var(--o-night-2); border: 1px solid var(--o-line); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
:where(:root) body.obs:where(.obs-landing) .rating-label { color: var(--o-muted); text-transform: none; letter-spacing: 0; font-size: .875rem; }
:where(:root) body.obs:where(.obs-landing) :is(.stars, .lunar-rating-stars) { color: var(--o-lamp); text-shadow: none; }
:where(:root) body.obs:where(.obs-landing) .stars-dim { color: var(--o-faint); } /* the empty stars (☆) differ by shape; they still need 3:1 */
:where(:root) body.obs:where(.obs-landing) .key-date-card { border-left: 3px solid var(--o-ice); }
:where(:root) body.obs:where(.obs-landing) .key-date-day { color: var(--o-ice); }
:where(:root) body.obs:where(.obs-landing) .horoscope-sign-badge { background: transparent; border: 1px solid var(--o-line-2); box-shadow: none; color: var(--o-ice-2); font-family: var(--o-sans-glyph, var(--o-sans)); font-variant-emoji: text; }
:where(:root) body.obs:where(.obs-landing) .horoscope-sign-badge .symbol { background: none; -webkit-text-fill-color: currentColor; color: var(--o-ice-2); } /* gradient-clipped text */
:where(:root) body.obs:where(.obs-landing) .horoscope-summary { background: transparent; border: 0; border-left: 2px solid var(--o-lamp); border-image: none; border-radius: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
/* the sign picker (horoscope tab) */
:where(:root) body.obs:where(.obs-landing) .zodiac-btn { min-height: 44px; background: var(--o-night-2); border: 1px solid var(--o-line); box-shadow: none; transform: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
:where(:root) body.obs:where(.obs-landing) .zodiac-btn::before { display: none; }
:where(:root) body.obs:where(.obs-landing) .zodiac-btn:hover { border-color: var(--o-control); box-shadow: none; transform: none; }
:where(:root) body.obs:where(.obs-landing) .zodiac-btn.active { border-color: var(--o-ice); box-shadow: inset 0 0 0 1px var(--o-ice); background: var(--s-tint); transform: none; }
:where(:root) body.obs:where(.obs-landing) .zodiac-btn .symbol { color: var(--o-ice-2); filter: none; font-family: var(--o-sans-glyph, var(--o-sans)); font-variant-emoji: text; }
:where(:root) body.obs:where(.obs-landing) .zodiac-btn .name { color: var(--o-muted); font-size: .875rem; letter-spacing: 0; }
:where(:root) body.obs:where(.obs-landing) .zodiac-btn.active .name { color: var(--o-ink); }
:where(:root) body.obs:where(.obs-landing) .zodiac-btn .element-dot { box-shadow: none; }
/* the Big Three cards above a chart */
:where(:root) body.obs:where(.obs-landing) .gate-big-three-card { background: var(--o-night-2); border: 1px solid var(--o-line); box-shadow: none; transform: none; }
:where(:root) body.obs:where(.obs-landing) .gate-big-three-card::before { display: none; }
:where(:root) body.obs:where(.obs-landing) .gate-big-three-card .gate-glyph { filter: none; color: var(--o-ice-2); font-family: var(--o-sans-glyph, var(--o-sans)); font-variant-emoji: text; }
:where(:root) body.obs:where(.obs-landing) .gate-big-three-card .gate-label { color: var(--o-muted); text-transform: none; letter-spacing: 0; font-size: .875rem; opacity: 1; }
:where(:root) body.obs:where(.obs-landing) .gate-big-three-card .gate-sign-name { font-weight: 400; font-size: 1.35rem; }
:where(:root) body.obs:where(.obs-landing) .gate-big-three-card .gate-sign-glyph { color: var(--o-ice-2); font-family: var(--o-sans-glyph, var(--o-sans)); font-variant-emoji: text; }
:where(:root) body.obs:where(.obs-landing) .gate-big-three-summary { color: var(--o-muted); }
/* the compatibility score ring (its conic fill uses the remapped --purple) */
:where(:root) body.obs:where(.obs-landing) .compat-gauge { box-shadow: none; }
:where(:root) body.obs:where(.obs-landing) .compat-gauge .score { background: none; -webkit-text-fill-color: currentColor; color: var(--o-ivory); font-weight: 400; }
/* the dashboard's lunar calendar */
:where(:root) body.obs:where(.obs-landing) #lunar-phase-name { color: var(--o-ivory) !important; font-size: 1.5rem !important; }
:where(:root) body.obs:where(.obs-landing) #lunar-illum-bar { background: var(--o-ice) !important; }
:where(:root) body.obs:where(.obs-landing) #lunar-illum-bar:only-child { box-shadow: 0 0 0 1px var(--o-line); }
:where(:root) body.obs:where(.obs-landing) .lunar-grid .day-header { color: var(--o-muted); text-transform: none; letter-spacing: 0; font-size: .8125rem; }
:where(:root) body.obs:where(.obs-landing) .lunar-grid .day-cell { background: var(--o-night-2); border: 1px solid var(--o-line); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
:where(:root) body.obs:where(.obs-landing) .lunar-grid .day-cell:hover { border-color: var(--o-control); box-shadow: none; }
:where(:root) body.obs:where(.obs-landing) .lunar-grid .day-cell.today { border-color: var(--o-lamp); background: var(--s-lamp-tint); box-shadow: inset 0 0 0 1px var(--o-lamp); }
:where(:root) body.obs:where(.obs-landing) .lunar-grid .day-cell.exact-phase { border-color: var(--o-line-2); box-shadow: none; }
:where(:root) body.obs:where(.obs-landing) .lunar-grid .day-cell.selected { border-color: var(--o-ice); background: var(--s-tint); box-shadow: inset 0 0 0 1px var(--o-ice); }
:where(:root) body.obs:where(.obs-landing) .lunar-grid .day-cell .day-sign { color: var(--o-ice-2); background: transparent; border-color: var(--o-line-2); font-family: var(--o-sans-glyph, var(--o-sans)); font-variant-emoji: text; }
:where(:root) body.obs:where(.obs-landing) .lunar-detail-panel { background: var(--o-night-3); border: 1px solid var(--o-line-2); box-shadow: none; }
:where(:root) body.obs:where(.obs-landing) .lunar-detail-close { min-width: 44px; min-height: 44px; color: var(--o-muted); }
:where(:root) body.obs:where(.obs-landing) .lunar-detail-header .detail-phase { color: var(--o-ivory); font-size: 1.35rem; }
:where(:root) body.obs:where(.obs-landing) :is(.lunar-detail-card .ld-label, .lunar-detail-section .ld-title) { text-transform: none; letter-spacing: 0; font-size: .8125rem; }
:where(:root) body.obs:where(.obs-landing) .lunar-detail-section .ld-title { color: var(--o-ice); }
:where(:root) body.obs:where(.obs-landing) .lunar-tag { background: transparent; border: 1px solid var(--o-line-2); color: var(--s-ink-2); }
:where(:root) body.obs:where(.obs-landing) .lunar-tag.avoid { border-color: var(--s-error-line); color: var(--o-error); }
:where(:root) body.obs:where(.obs-landing) .lunar-rating-item { border-bottom-color: var(--o-line); }
:where(:root) body.obs:where(.obs-landing) .exact-phase-item { border-bottom-color: var(--o-line); }
:where(:root) body.obs:where(.obs-landing) .exact-phase-item:hover { background: var(--s-tint); }
/* errors and loading */
:where(:root) body.obs:where(.obs-landing) .error-box { background: var(--s-error-tint); border: 1px solid var(--s-error-line); color: var(--o-error); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; font-size: .9375rem; }
:where(:root) body.obs:where(.obs-landing) .spinner { border-color: var(--s-spin); border-top-color: var(--o-ice); }
:where(:root) body.obs:where(.obs-landing) .spinner::after { border-top-color: var(--o-ice-2); }
:where(:root) body.obs:where(.obs-landing) .spinner-text { color: var(--o-muted); font-style: normal; letter-spacing: 0; }
/* The chart's question card (index.js writes it inline): a night panel, hairline chips, one ice action. */
:where(:root) body.obs:where(.obs-landing) #app div:is([style*="background:rgba(212,168,67,0.06)"], [style*="background: rgba(212, 168, 67, 0.06)"]) { background: var(--o-night-2) !important; border: 1px solid var(--o-line-2) !important; }
:where(:root) body.obs:where(.obs-landing) #app div:is([style*="background:rgba(212,168,67,0.06)"], [style*="background: rgba(212, 168, 67, 0.06)"]) p[style*="Cormorant"] { color: var(--o-ivory) !important; font-weight: 400 !important; }
:where(:root) body.obs:where(.obs-landing) #app a:is([style*="border-radius:20px"], [style*="border-radius: 20px"]) { min-height: 44px; display: inline-flex !important; align-items: center; background: transparent !important; border: 1px solid var(--o-control) !important; border-radius: 999px !important; color: var(--s-ink-2) !important; }
:where(:root) body.obs:where(.obs-landing) #app a:is([style*="border-radius:20px"], [style*="border-radius: 20px"]):hover { border-color: var(--o-ice) !important; color: var(--o-ink) !important; }
/* gold actions written inline (advisor, share, export): the ice pill */
:where(:root) body.obs:where(.obs-landing) #app :is(a, button):is([style*="#d4a843,#b8912e"], [style*="rgb(212, 168, 67), rgb(184, 145, 46)"], [style*="#d4a843,#f59e0b"], [style*="rgb(212, 168, 67), rgb(245, 158, 11)"]), :where(:root) body.obs:where(.obs-landing) #share-big-three-btn {
  background: var(--o-ice) !important; color: var(--o-on-ice) !important; border: 0 !important; border-radius: 999px !important; box-shadow: none !important; transform: none !important; }
:where(:root) body.obs:where(.obs-landing) #app :is(a, button):is([style*="#d4a843,#b8912e"], [style*="rgb(212, 168, 67), rgb(184, 145, 46)"], [style*="#d4a843,#f59e0b"], [style*="rgb(212, 168, 67), rgb(245, 158, 11)"]):hover, :where(:root) body.obs:where(.obs-landing) #share-big-three-btn:hover { background: var(--o-ice-2) !important; }
:where(:root) body.obs:where(.obs-landing) #app :is(a, button):is([style*="#d4a843,#b8912e"], [style*="rgb(212, 168, 67), rgb(184, 145, 46)"], [style*="#d4a843,#f59e0b"], [style*="rgb(212, 168, 67), rgb(245, 158, 11)"]) *, :where(:root) body.obs:where(.obs-landing) #share-big-three-btn * { color: inherit !important; }
/* the secondary inline actions (trial, reports): hairline outline pills */
:where(:root) body.obs:where(.obs-landing) #app a:is([style*="rgba(94,234,212,0.08)"], [style*="rgba(94, 234, 212, 0.08)"], [style*="background:rgba(255,255,255,0.04)"], [style*="background: rgba(255, 255, 255, 0.04)"]):not([style*="border-radius:20px"]):not([style*="border-radius: 20px"]) {
  min-height: 44px; display: flex !important; align-items: center; justify-content: center; background: transparent !important; border: 1px solid var(--o-control) !important; border-radius: 999px !important; color: var(--o-ink) !important; }
:where(:root) body.obs:where(.obs-landing) #app button.btn:is([style*="rgba(212,168,67,0.5)"], [style*="rgba(212, 168, 67, 0.5)"]) { background: transparent !important; border: 1px solid var(--o-control) !important; color: var(--o-ink) !important; box-shadow: none !important; }
:where(:root) body.obs:where(.obs-landing) #app button.btn:is([style*="rgba(255,255,255,0.18)"], [style*="rgba(255, 255, 255, 0.18)"]) { background: transparent !important; border: 1px solid var(--o-control) !important; color: var(--o-ink) !important; box-shadow: none !important; }
/* The two report offers under a chart are reading surfaces: paper, ink pills, paper links (as the calculator's offers). */
:where(:root) body.obs:where(.obs-landing) :is(#report-cta-box, #upgrade-cta-section) { background: var(--o-paper-surface) !important; color: var(--o-paper-ink); border: 0 !important; border-radius: 3px !important; box-shadow: var(--s-paper-shadow); }
:where(:root) body.obs:where(.obs-landing) #upgrade-cta-section > div[style*="height:3px"] { display: none; }
:where(:root) body.obs:where(.obs-landing) :is(#report-cta-box, #upgrade-cta-section) :is(h3, div[data-home-report-copy="title"]) { color: var(--o-paper-ink) !important; font-weight: 400 !important; }
:where(:root) body.obs:where(.obs-landing) :is(#report-cta-box, #upgrade-cta-section) h3 { font-size: max(1.35rem, 20px) !important; } /* inline 1.3rem (19.5 px): Cormorant stays at 20 px or more */
/* links left at text height in the chart's footer lines: 44 px targets */
:where(:root) body.obs:where(.obs-landing) :is(#natal-today, #saved-today) > a, :where(:root) body.obs:where(.obs-landing) #natal-result > div[style*="line-height:1.6"] > a { display: inline-flex; align-items: center; min-height: 44px; }
:where(:root) body.obs:where(.obs-landing) #upgrade-cta-section div[data-home-report-copy="title"] { font-family: var(--o-sans) !important; font-size: .9375rem !important; font-weight: 500 !important; letter-spacing: 0 !important; text-transform: none !important; color: var(--o-paper-muted) !important; }
:where(:root) body.obs:where(.obs-landing) :is(#report-cta-box, #upgrade-cta-section) p { color: var(--o-paper-muted) !important; letter-spacing: 0 !important; text-transform: none !important; }
:where(:root) body.obs:where(.obs-landing) :is(#report-cta-box, #upgrade-cta-section) button { min-height: 48px; border-radius: 999px !important; background: transparent !important; border: 1px solid var(--o-paper-muted) !important; color: var(--o-paper-ink) !important; box-shadow: none !important; transform: none !important; opacity: 1 !important; }
:where(:root) body.obs:where(.obs-landing) :is(#report-cta-box button[data-home-report="birth-chart"], #chart-result-buy-cta) { background: var(--o-paper-ink) !important; border-color: var(--o-paper-ink) !important; color: var(--o-paper) !important; }
:where(:root) body.obs:where(.obs-landing) :is(#report-cta-box, #upgrade-cta-section) a { display: inline-flex; align-items: center; min-height: 44px; color: var(--o-paper-accent) !important; border-bottom: 0 !important; text-decoration: underline; text-underline-offset: .22em; }
:where(:root) body.obs:where(.obs-landing) #upgrade-cta-section div[style*="border-top"] { border-top-color: var(--o-paper-rule) !important; }
/* ---------- advisor: chat chrome (layout unchanged) ---------- */
:where(:root) body.obs:where(.obs-landing) .advisor-header .back-link { color: var(--s-link); min-height: 44px; display: inline-flex; align-items: center; gap: 6px; }
:where(:root) body.obs:where(.obs-landing) .advisor-subtitle { color: var(--s-text-2); }
:where(:root) body.obs:where(.obs-landing) .advisor-credits { background: transparent; border: 1px solid var(--o-line-2); color: var(--s-ink-2); }
:where(:root) body.obs:where(.obs-landing) .advisor-access-panel { background: var(--o-night-2); border: 1px solid var(--o-line-2); border-radius: 14px; box-shadow: none; }
:where(:root) body.obs:where(.obs-landing) .advisor-access-panel p { color: var(--o-ink); }
:where(:root) body.obs:where(.obs-landing) .advisor-access-action { min-height: 44px; border-radius: 999px; background: transparent; border: 1px solid var(--o-control); color: var(--o-ink); }
:where(:root) body.obs:where(.obs-landing) :is(#advisorAccessSignIn, #advisorAccessRetry), :where(:root) body.obs:where(.obs-landing) #advisorAccessSignIn[hidden] + #advisorAccessPlans { background: var(--o-ice); border-color: var(--o-ice); color: var(--o-on-ice); }
:where(:root) body.obs:where(.obs-landing) #advisorHistory { border-color: var(--o-line-2) !important; }
/* inline style */
:where(:root) body.obs:where(.obs-landing) .advisor-chart-card { background: var(--o-night-2); border: 1px solid var(--o-line); border-radius: 14px; box-shadow: none; }
:where(:root) body.obs:where(.obs-landing) :is(.acc-title, .acc-label) { color: var(--o-muted); text-transform: none; letter-spacing: 0; }
:where(:root) body.obs:where(.obs-landing) .welcome-icon svg { opacity: .9; }
:where(:root) body.obs:where(.obs-landing) .welcome-state p { color: var(--s-text-2); }
:where(:root) body.obs:where(.obs-landing) .suggestion-chip { min-height: 44px; background: transparent; border: 1px solid var(--o-control); border-radius: 999px; color: var(--s-ink-2); box-shadow: none; }
:where(:root) body.obs:where(.obs-landing) .follow-up-chip { min-height: 44px; background: transparent; border: 1px solid var(--o-control); border-radius: 999px; color: var(--s-ink-2); }
:where(:root) body.obs:where(.obs-landing) .follow-up-chip:hover { border-color: var(--o-ice); color: var(--o-ink); background: transparent; }
/* The question bar */
:where(:root) body.obs:where(.obs-landing) .chat-input-bar { background: var(--s-bar); border-top: 1px solid var(--o-line); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
:where(:root) body.obs:where(.obs-landing) .chat-input { background: var(--s-field); border: 1px solid var(--o-control); border-radius: 14px; color: var(--o-ink); box-shadow: none; }
:where(:root) body.obs:where(.obs-landing) .chat-input:focus { border-color: var(--o-ice); box-shadow: 0 0 0 3px var(--s-glow); }
:where(:root) body.obs:where(.obs-landing) .chat-send { background: var(--o-ice); box-shadow: none; min-width: 46px; }
:where(:root) body.obs:where(.obs-landing) .chat-send:hover { background: var(--o-ice-2); transform: none; }
/* Messages: the visitor's question is a night bubble; the Advisor's answer is a reading surface (paper). */
:where(:root) body.obs:where(.obs-landing) .msg-user { background: var(--o-night-3); border: 1px solid var(--o-line-2); color: var(--o-ink); }
:where(:root) body.obs:where(.obs-landing) .msg-ai { background: var(--o-paper-surface); color: #1f2533; border: 0; border-radius: 3px; -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: var(--s-paper-shadow); }
:where(:root) body.obs:where(.obs-landing) .msg-ai :is(strong, b, h2, h3, h4) { color: var(--o-paper-ink); }
:where(:root) body.obs:where(.obs-landing) .msg-ai a { color: var(--o-paper-accent); }
:where(:root) body.obs:where(.obs-landing) .msg-ai .transit-tag { background: transparent; border: 1px solid var(--o-paper-rule); color: var(--o-paper-muted); font-size: .8125rem; }
:where(:root) body.obs:where(.obs-landing) .msg-ai .msg-disclaimer { color: var(--o-paper-muted); }
:where(:root) body.obs:where(.obs-landing) .msg-ai.soft-error-box { background: var(--s-error-tint); border: 1px solid var(--s-error-line); color: var(--o-error); box-shadow: none; }
:where(:root) body.obs:where(.obs-landing) .msg-ai.soft-error-box p { color: var(--o-ink); }
:where(:root) body.obs:where(.obs-landing) .soft-error-retry, :where(:root) body.obs:where(.obs-landing) .msg-regen-btn { min-height: 44px; border-radius: 999px; background: transparent; border: 1px solid var(--o-control); color: var(--o-ink); }
:where(:root) body.obs:where(.obs-landing) .typing-indicator { background: var(--o-night-2); border-color: var(--o-line); }
:where(:root) body.obs:where(.obs-landing) .typing-dot { background: var(--o-ice); }
/* first-visit birth card, sign-up and paywall cards */
:where(:root) body.obs:where(.obs-landing) :is(.cold-card, .cold-signup-card, .upgrade-cta, .birth-form-card) { background: var(--o-night-2); border: 1px solid var(--o-line-2); border-radius: 14px; box-shadow: none; }
:where(:root) body.obs:where(.obs-landing) :is(.cold-card-title, .csc-title, .birth-form-card h2) { color: var(--o-ivory); font-weight: 400; font-size: 1.35rem; }
:where(:root) body.obs:where(.obs-landing) .cold-field label { color: var(--s-ink-2); text-transform: none; letter-spacing: 0; }
:where(:root) body.obs:where(.obs-landing) .cold-signup-card .csc-btn { min-height: 44px; border-radius: 999px; }
:where(:root) body.obs:where(.obs-landing) .cold-signup-card .csc-btn.primary, :where(:root) body.obs:where(.obs-landing) .cta-pack-btn.primary { background: var(--o-ice); color: var(--o-on-ice); border: 0; box-shadow: none; }
:where(:root) body.obs:where(.obs-landing) .cold-signup-card .csc-btn.ghost, :where(:root) body.obs:where(.obs-landing) .cta-pack-btn.secondary { background: transparent; border: 1px solid var(--o-control); color: var(--o-ink); }
:where(:root) body.obs:where(.obs-landing) .cta-pack-btn { min-height: 44px; border-radius: 999px; }
:where(:root) body.obs:where(.obs-landing) .best-value-badge { background: var(--o-lamp); color: var(--s-on-lamp); }
:where(:root) body.obs:where(.obs-landing) .suggestion-chip:hover { border-color: var(--o-ice); color: var(--o-ink); background: transparent; transform: none; }
/* ---------- advisor: the states found in the state captures ---------- */
:where(:root) body.obs:where(.obs-landing) .advisor-credits { min-height: 32px; display: inline-flex; align-items: center; font-size: .875rem; }
:where(:root) body.obs:where(.obs-landing) .advisor-credits.exhausted { border-color: var(--s-error-line); color: var(--o-error); }
:where(:root) body.obs:where(.obs-landing) .advisor-access-action:hover { border-color: var(--o-ice); }
/* the calculation basis and saved-chart lines under the chat (inline gold) */
:where(:root) body.obs:where(.obs-landing) :is(#calculationBasis, #prefillIndicator) { color: var(--o-muted) !important; opacity: 1 !important; font-size: .875rem !important; }
:where(:root) body.obs:where(.obs-landing) #advisorSessionNotice { color: var(--o-ink); border-left: 3px solid var(--o-lamp); padding: 10px 14px; background: var(--s-lamp-tint); border-radius: 0 8px 8px 0; }
/* conversation history (signed in): a hairline disclosure; the rows are written inline with a gold rule */
:where(:root) body.obs:where(.obs-landing) #advisorHistory { background: var(--o-night-2); border-radius: 14px !important; }
:where(:root) body.obs:where(.obs-landing) #advisorHistory summary { min-height: 44px; display: flex; align-items: center; color: var(--o-ink); font-weight: 500; }
:where(:root) body.obs:where(.obs-landing) #advisorHistoryContent article { border-color: var(--o-line) !important; background: var(--o-night); }
:where(:root) body.obs:where(.obs-landing) #advisorHistoryContent :is(time, p) { color: var(--s-text-2); }
:where(:root) body.obs:where(.obs-landing) #advisorHistoryRetry { min-height: 44px; padding: 0 18px; border-radius: 999px; background: transparent; border: 1px solid var(--o-control); color: var(--o-ink); }
/* the memory note (signed-in Pro; written inline with a gold tint) */
:where(:root) body.obs:where(.obs-landing) .advisor-wrap > div:is([style*="rgba(212,168,67,0.08)"], [style*="rgba(212, 168, 67, 0.08)"]) { background: var(--o-night-2) !important; border: 1px solid var(--o-line-2) !important; color: var(--s-text-2) !important; }
:where(:root) body.obs:where(.obs-landing) .advisor-wrap > div:is([style*="rgba(212,168,67,0.08)"], [style*="rgba(212, 168, 67, 0.08)"]) a { display: inline-flex; align-items: center; min-height: 44px; color: var(--o-ice) !important; opacity: 1 !important; }
/* your chart (above the chat) */
:where(:root) body.obs:where(.obs-landing) .acc-glyph { background: transparent; border: 1px solid var(--o-line-2); color: var(--o-ice-2); font-family: var(--o-sans-glyph, var(--o-sans)); font-variant-emoji: text; }
:where(:root) body.obs:where(.obs-landing) .acc-sign { color: var(--o-ivory); font-size: 1.35rem; font-weight: 400; }
:where(:root) body.obs:where(.obs-landing) :is(.acc-title, .acc-label) { opacity: 1; font-size: .875rem; }
:where(:root) body.obs:where(.obs-landing) .acc-synthesis { color: var(--s-text-2); opacity: 1; font: 400 .9375rem/1.6 var(--o-sans); }
/* the first-visit birth card and its city list */
:where(:root) body.obs:where(.obs-landing) .cold-card-title .moon { color: var(--o-ice-2); font-family: var(--o-sans-glyph, var(--o-sans)); }
:where(:root) body.obs:where(.obs-landing) .cold-card-sub { color: var(--s-text-2); font-size: .9375rem; }
:where(:root) body.obs:where(.obs-landing) .cold-field label { opacity: 1; font: 500 .875rem var(--o-sans); }
:where(:root) body.obs:where(.obs-landing) .cold-time-hint { color: var(--o-muted); opacity: 1; }
:where(:root) body.obs:where(.obs-landing) .cold-time-hint .dontknow { color: var(--o-ice); }
:where(:root) body.obs:where(.obs-landing) .cold-suggest { background: var(--o-night-3); border: 1px solid var(--o-line-2); box-shadow: var(--shadow); }
:where(:root) body.obs:where(.obs-landing) .cold-suggest-item { min-height: 44px; display: flex; align-items: center; color: var(--s-ink-2); border-bottom-color: var(--o-line); }
:where(:root) body.obs:where(.obs-landing) .cold-suggest-item:is(:hover, .active) { background: var(--s-tint); color: var(--o-ink); }
:where(:root) body.obs:where(.obs-landing) .cold-status.searching { opacity: 1; color: var(--o-muted); }
:where(:root) body.obs:where(.obs-landing) .cold-card-footer { color: var(--o-muted); opacity: 1; font-size: .875rem; }
:where(:root) body.obs:where(.obs-landing) .cold-signup-card .csc-body { color: var(--s-text-2); }
/* the birth details dialog */
:where(:root) body.obs:where(.obs-landing) .birth-form-overlay { background: var(--s-scrim); -webkit-backdrop-filter: none; backdrop-filter: none; }
:where(:root) body.obs:where(.obs-landing) .birth-form-card { background: var(--o-night-2); box-shadow: var(--shadow); }
:where(:root) body.obs:where(.obs-landing) .birth-form-card .subtitle { color: var(--s-text-2); font-size: .9375rem; }
:where(:root) body.obs:where(.obs-landing) .birth-form-submit { min-height: 48px; border-radius: 999px; background: var(--o-ice); font: 600 1rem var(--o-sans); box-shadow: none; transform: none; }
:where(:root) body.obs:where(.obs-landing) .birth-form-submit:hover { background: var(--o-ice-2); box-shadow: none; transform: none; }
/* the access options card (paywall) */
:where(:root) body.obs:where(.obs-landing) .upgrade-cta p { color: var(--s-text-2); opacity: 1 !important; }
:where(:root) body.obs:where(.obs-landing) .upgrade-cta p:first-child { color: var(--o-ink); }
:where(:root) body.obs:where(.obs-landing) .upgrade-cta div[style*="border-top"] { border-top-color: var(--o-line) !important; opacity: 1 !important; }
:where(:root) body.obs:where(.obs-landing) .upgrade-cta a { color: var(--o-ice) !important; }
:where(:root) body.obs:where(.obs-landing) .cta-pack-btn { padding-inline: 22px; font: 600 .9375rem var(--o-sans); transform: none; }
:where(:root) body.obs:where(.obs-landing) .cta-pack-btn.primary:hover { background: var(--o-ice-2); box-shadow: none; transform: none; }
:where(:root) body.obs:where(.obs-landing) .cta-pack-btn.secondary:hover { border-color: var(--o-ice); box-shadow: none; transform: none; }
:where(:root) body.obs:where(.obs-landing) .best-value-badge { text-transform: none; letter-spacing: 0; font-size: .75rem; }
:where(:root) body.obs:where(.obs-landing) :is(.cta-sub-hint, .cta-login-hint) { color: var(--s-text-2); }
:where(:root) body.obs:where(.obs-landing) :is(.cta-sub-hint, .cta-login-hint) a { color: var(--o-ice); display: inline-flex; align-items: center; min-height: 44px; }
/* inside an answer (paper) */
:where(:root) body.obs:where(.obs-landing) .msg-ai .transit-tags { border-top-color: var(--o-paper-rule); }
:where(:root) body.obs:where(.obs-landing) .msg-ai .follow-up-chips { border-top-color: var(--o-paper-rule); }
:where(:root) body.obs:where(.obs-landing) .msg-ai .msg-meta-bar { color: var(--o-paper-muted); opacity: 1; }
:where(:root) body.obs:where(.obs-landing) .msg-ai .advisor-chart-facts { border-color: var(--o-paper-rule) !important; }
:where(:root) body.obs:where(.obs-landing) .msg-ai .advisor-chart-facts summary { min-height: 44px; display: flex; align-items: center; color: var(--o-paper-ink); font-weight: 500; }
:where(:root) body.obs:where(.obs-landing) .reconnect-pill { background: transparent; border: 1px solid var(--o-line-2); color: var(--o-muted); }
:where(:root) body.obs:where(.obs-landing) .soft-error-retry:hover, :where(:root) body.obs:where(.obs-landing) .msg-regen-btn:hover { border-color: var(--o-ice); color: var(--o-ink); transform: none; filter: none; }
/* ---------- daylight ---------- */
:where(:root[data-theme="light"]) body.obs:where(.obs-landing) {
  --o-theme-glyph: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d4b80' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19.6 14.6A8 8 0 0 1 9.4 4.4a8 8 0 1 0 10.2 10.2z'/%3E%3C/svg%3E");
  --o-wordmark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 26' fill='none' stroke='%231d4b80' stroke-width='1'%3E%3Ccircle cx='13' cy='13' r='8'/%3E%3Cellipse cx='13' cy='13' rx='12.2' ry='4.4' transform='rotate(-36 13 13)'/%3E%3C/svg%3E");
  --glass: rgba(247, 249, 252, .92); --glass-vivid: rgba(255, 255, 255, .98); --glass-border-hover: rgba(29, 75, 128, .45);
  --surface-hover: rgba(29, 75, 128, .06); --border-active: rgba(29, 75, 128, .55);
  --s-ink-2: var(--o-ink-2, #263042); --s-text-2: var(--o-ink-3, #3a4559); --s-link: #33405a; --s-field: #ffffff; --s-scheme: light;
  --s-bar: rgba(247, 249, 252, .94); --s-banner: rgba(255, 255, 255, .98); --s-veil: rgba(255, 255, 255, .72);
  --s-tint: rgba(29, 75, 128, .07); --s-glow: rgba(29, 75, 128, .2); --s-spin: rgba(29, 75, 128, .2);
  --s-lift: 0 10px 24px -14px rgba(29, 75, 128, .55); --s-lift-sm: 0 10px 24px -16px rgba(29, 75, 128, .55);
  --s-paper-shadow: 0 0 0 1px var(--o-paper-rule), 0 18px 40px -24px rgba(18, 24, 38, .28);
  --s-on-lamp: #fffaf0; --s-scrim: rgba(18, 24, 38, .32);
  --s-lamp-tint: rgba(138, 90, 16, .06); --s-lamp-line: rgba(138, 90, 16, .35);
  --s-error-tint: rgba(179, 38, 30, .07); --s-error-line: var(--o-error); }
/* No starfield in daylight (design system, Daylight). */
:where(:root[data-theme="light"]) body.obs:where(.obs-landing) #star-canvas { display: none; }
/* The hero is a field like the rest of the page: index.css keeps it a dark surface in both page themes (#hero). */
:where(:root[data-theme="light"]) body.obs:where(.obs-landing) #hero.landing-hero { background: radial-gradient(1100px 620px at 82% -12%, rgba(29, 75, 128, .07), transparent 62%), var(--o-night); border-bottom-color: var(--o-line); }
/* index.css: a white placeholder with !important over the photograph */
:where(:root[data-theme="light"]) body.obs:where(.obs-landing) #hero-q-input::placeholder { color: var(--o-faint) !important; }
:where(:root[data-theme="light"]) body.obs:where(.obs-landing) #app :is(.glass-card, .card, .tool-card, .result-card) { background: var(--o-night-2); border-color: var(--o-line); }
:where(:root[data-theme="light"]) body.obs:where(.obs-landing) #dashboard .nav-tabs { background: var(--s-bar); border-color: var(--o-line-2); box-shadow: none; }
/* index.css paints the dashboard's trust badges for a light page from an ID-weight !important rule */
:where(:root[data-theme="light"]) body.obs:where(.obs-landing) #app #dashboard span[data-i18n^="badge_"] { background: transparent !important; border-color: var(--o-line-2) !important; color: var(--o-muted) !important; }

/* ==========================================================================================================
   The arrival: the approved Gate 2 sunrise on the homepage hero (design system section 4: "arrival sunrise").
   Only where the middleware placed the sky (body[data-obs-arrival]): the prototype's hero wheels, unchanged
   (api/observatory_arrival.html, built from gate2/index.html by slice/tools/build_arrival_fragment.py), decorative
   and hidden from assistive technology. Desktop: the full wheel rests on the horizon at the right; the headline sits
   above the line, the actions below it. Below 981 px: the upper half of the compact wheel as a dome above the
   headline. Motion, once per page load: the sky turns 17 degrees into place in 3.4 s while its glyphs stay upright;
   the Sun's lamp light and the dawn along the horizon rise; then the composition rests. Transform and opacity only.
   Reduced motion: the final composition at once (the shared reduced-motion rule in observatory.css finishes every
   animation). The page's words, order and controls are unchanged.
   ========================================================================================================== */
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] #hero.landing-hero {
  /* the wheel's radius follows the viewport height, capped by its width so the words always keep a column of at least 340 px
     beside the wheel (tall viewports 981-1200 px wide: delta review A2). Viewport units only: the value is also used inside
     the wheel's own box, where a percentage would mean something else */
  --oa-edge-vw: max(var(--oa-gutter), calc((100vw - var(--oa-shell)) / 2));
  --oa-R: max(200px, min(clamp(250px, 37.5vh, 420px), calc((100vw - 2 * var(--oa-edge-vw) - 48px - 340px) / 2)));
  --oa-shell: 1360px;
  --oa-gutter: clamp(20px, 4.6vw, 64px);
  --oa-ease-out: cubic-bezier(.16, .84, .24, 1);
  --oa-edge: max(var(--oa-gutter), calc((100% - var(--oa-shell)) / 2));
  display: grid; align-content: stretch; align-items: start; justify-items: start; text-align: left;
  grid-template-columns: [full-start] var(--oa-edge) [copy-start] minmax(0, min(600px, calc(100% - 2 * var(--oa-R) - 48px - 2 * var(--oa-edge)))) [copy-end] minmax(0, 1fr) [full-end];
  /* as in the prototype, only the headline sits above the horizon; the words and actions below it. The space above is
     fixed, so a change of height below the line (a font arriving, an opened question) never moves the headline or the sky */
  grid-template-rows: [top] clamp(40px, 15svh, 150px) auto auto [horizon] auto auto auto auto auto minmax(40px, 1fr) [bottom];
  min-height: clamp(640px, calc(100svh - 72px), 940px); padding: 0; background: var(--o-night);
}
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] #hero.landing-hero > :not(.oa-arrival) { position: relative; z-index: 1; grid-column: copy; }
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] #hero > .hero-wordmark { grid-row: 2; margin: 0 0 20px; }
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] #hero > h1 {
  grid-row: 3; margin: 0 0 26px !important; max-width: none !important; text-align: left;
  font-size: clamp(2.7rem, 1.3rem + 3.9vw, 5rem) !important; line-height: .98 !important; letter-spacing: -.012em !important;
  text-wrap: balance;
}
/* Devanagari needs taller lines than the prototype's Latin .98 (marks below a line met the next: delta review A3) */
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] #hero > h1:lang(hi) { line-height: 1.22 !important; }
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] #hero > .hero-subtitle { grid-row: 4; margin: 30px 0 18px !important; max-width: 500px !important; text-align: left; }
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] #hero > .journey-entry { grid-row: 5; margin: 0 0 8px; justify-content: flex-start; }
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] #hero > .hero-badge { grid-row: 6; margin: 8px 0 0; padding-left: 0; padding-right: 0; justify-content: flex-start; text-align: left; }
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] #hero > #hero-advisor-option { grid-row: 7; margin: 16px 0 0 !important; }
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] #hero > .hero-stats-strip { grid-row: 8; margin: 24px 0 0; justify-content: flex-start; }

/* the sky: the area above the horizon is its box, so the wheel's centre sits on the line between the headline and
   the actions whatever their length in each language */
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] #hero > .oa-arrival {
  position: absolute; grid-column: full-start / full-end; grid-row: top / horizon; inset: 0; z-index: 0; pointer-events: none;
}
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; bottom: -60%; pointer-events: none;
  background: radial-gradient(48% 62% at 74% 62.5%, rgba(90, 150, 220, .09), transparent 70%),
              radial-gradient(36% 22% at 30% 62.5%, rgba(243, 200, 139, .05), transparent 70%);
}
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival .oa-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival .oa-wheel {
  position: absolute; bottom: calc(-1 * var(--oa-R)); height: calc(2 * var(--oa-R)); width: auto; max-width: none; aspect-ratio: 3.8;
  right: calc(var(--oa-edge) - 2.8 * var(--oa-R)); overflow: visible; user-select: none; -webkit-user-select: none;
}
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival .oa-wheel--compact { display: none; }

/* the instrument's lines and glyphs (the prototype's values, night) */
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival {
  --oa-ring: rgba(174, 217, 255, .34); --oa-ring-faint: rgba(174, 217, 255, .16);
  --oa-tick: rgba(174, 217, 255, .42); --oa-tick-1: rgba(174, 217, 255, .22); --oa-tick-10: rgba(174, 217, 255, .6);
  --oa-sign: rgba(220, 235, 252, .94); --oa-cusp: rgba(174, 217, 255, .2); --oa-cusp-angle: rgba(174, 217, 255, .42);
  --oa-horizon: rgba(214, 235, 255, .62); --oa-horizon-ext: rgba(214, 235, 255, .42); --oa-mark: rgba(214, 235, 255, .6);
  --oa-soft: #9fd0ff; --oa-hard: #f3c88b; --oa-lead: rgba(174, 217, 255, .42); --oa-glyph: #f2f8ff; --oa-sun: #ffdcaa;
}
/* the wheels' own lines only: the symbol sheet must keep scaling with each glyph, as in the prototype (delta review A1) */
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival .oa-wheel :is(line, circle, path) { vector-effect: non-scaling-stroke; }
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival use { fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; }
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival .oa-g-fill { fill: currentColor; stroke: none; }
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival .oa-rim { fill: none; stroke-width: 1.2; }
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival .oa-ring { fill: none; stroke: var(--oa-ring); stroke-width: 1; }
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival .oa-ring--faint { stroke: var(--oa-ring-faint); }
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival .oa-tick { stroke: var(--oa-tick); stroke-width: 1; }
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival .oa-tick--1 { stroke: var(--oa-tick-1); }
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival .oa-tick--10 { stroke: var(--oa-tick-10); }
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival .oa-tick--sign { stroke: var(--oa-tick); }
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival .oa-sign use { color: var(--oa-sign); stroke-width: 1.4; }
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival .oa-cusp { stroke: var(--oa-cusp); stroke-width: 1; }
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival .oa-cusp--angle { stroke: var(--oa-cusp-angle); }
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival .oa-horizon { stroke: var(--oa-horizon); stroke-width: 1.1; }
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival .oa-horizon-ext { stroke: var(--oa-horizon-ext); stroke-width: 1; }
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival .oa-mc-mark { stroke: var(--oa-mark); stroke-width: 1.2; }
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival .oa-asp { stroke-width: 1; stroke-opacity: .2; }
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival .oa-asp--soft { stroke: var(--oa-soft); }
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival .oa-asp--hard { stroke: var(--oa-hard); stroke-dasharray: 5 4; }
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival .oa-lead { stroke: var(--oa-lead); stroke-width: 1; }
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival .oa-glyph { color: var(--oa-glyph); stroke-width: 1.8; }
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival .oa-pl[data-p="sun"] .oa-glyph { color: var(--oa-sun); }
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival .oa-wheel--compact .oa-glyph { stroke-width: 1.95; }
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival .oa-wheel--compact .oa-sign use { stroke-width: 1.5; }

/* the sunrise (prototype timings): the sky turns into place; houses, horizon and frame stay fixed */
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival .oa-sky { transform-box: view-box; transform-origin: 500px 500px; animation: oa-sky-rise 3.4s var(--oa-ease-out) .25s both; }
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival .oa-up { transform-box: fill-box; transform-origin: center; animation: oa-sky-counter 3.4s var(--oa-ease-out) .25s both; }
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival .oa-sun-bloom { animation: oa-bloom 3.6s ease-out .25s both; }
:where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival .oa-dawn { animation: oa-dawn 3.8s ease-out .25s both; }
@keyframes oa-sky-rise { from { transform: rotate(-17deg); } to { transform: rotate(0); } }
@keyframes oa-sky-counter { from { transform: rotate(17deg); } to { transform: rotate(0); } }
@keyframes oa-bloom { 0%, 38% { opacity: 0; } 100% { opacity: 1; } }
@keyframes oa-dawn { 0%, 30% { opacity: 0; } 100% { opacity: 1; } }

/* phones and tablets: the upper half of the compact wheel as a dome, cut just below the horizon, above the headline */
@media (max-width: 980px) {
  :where(:root) body.obs:where(.obs-landing)[data-obs-arrival] #hero.landing-hero {
    /* normal block flow again: the desktop grid's start alignment would shrink the dome (it holds only positioned
       layers) to no width at all in engines that align blocks (Chromium) */
    display: block; justify-items: normal; align-items: normal; min-height: 0; padding: 0 var(--oa-gutter) 32px;
    --oa-D: min(100vw - 12px, 560px);
  }
  :where(:root) body.obs:where(.obs-landing)[data-obs-arrival] #hero.landing-hero > :not(.oa-arrival) { margin-left: 0 !important; margin-right: 0 !important; text-align: left; }
  :where(:root) body.obs:where(.obs-landing)[data-obs-arrival] #hero > .oa-arrival {
    position: relative; inset: auto; display: block; justify-self: stretch; width: auto; height: calc(var(--oa-D) * .53); margin: 0 calc(-1 * var(--oa-gutter)) 6px; overflow: hidden;
    -webkit-mask-image: linear-gradient(#000 94.6%, transparent 99%); mask-image: linear-gradient(#000 94.6%, transparent 99%);
  }
  :where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival::after { bottom: 0; background: radial-gradient(60% 50% at 50% 100%, rgba(90, 150, 220, .09), transparent 70%); }
  :where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival .oa-wheel--full { display: none; }
  :where(:root) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival .oa-wheel--compact { display: block; top: 0; bottom: auto; left: 50%; right: auto; height: var(--oa-D); transform: translateX(-50%); }
  :where(:root) body.obs:where(.obs-landing)[data-obs-arrival] #hero > h1 { font-size: clamp(2.45rem, 1.6rem + 3.6vw, 3.6rem) !important; margin-top: 0 !important; }
  :where(:root) body.obs:where(.obs-landing)[data-obs-arrival] #hero > .journey-entry { margin-top: 18px; }
}

/* a saved light theme (design system section 8): the instrument in deep ice and ink, no ice glow on the light field;
   the sunrise keeps its lamp light, in the deeper daylight amber */
:where(:root[data-theme="light"]) body.obs:where(.obs-landing)[data-obs-arrival] #hero.landing-hero { background: var(--o-night); }
:where(:root[data-theme="light"]) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival {
  --oa-ring: rgba(29, 75, 128, .32); --oa-ring-faint: rgba(29, 75, 128, .14);
  --oa-tick: rgba(29, 75, 128, .4); --oa-tick-1: rgba(29, 75, 128, .2); --oa-tick-10: rgba(29, 75, 128, .56);
  --oa-sign: rgba(18, 24, 38, .84); --oa-cusp: rgba(29, 75, 128, .18); --oa-cusp-angle: rgba(29, 75, 128, .4);
  --oa-horizon: rgba(22, 61, 105, .62); --oa-horizon-ext: rgba(22, 61, 105, .4); --oa-mark: rgba(22, 61, 105, .6);
  --oa-soft: #1d4b80; --oa-hard: #8a5a10; --oa-lead: rgba(29, 75, 128, .4); --oa-glyph: #121826; --oa-sun: #8a5a10;
}
:where(:root[data-theme="light"]) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival::after { background: radial-gradient(36% 22% at 30% 62.5%, rgba(138, 90, 16, .06), transparent 70%); }
:where(:root[data-theme="light"]) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival [id$="-glow"] stop { stop-opacity: 0; }
:where(:root[data-theme="light"]) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival [id$="-rim"] stop { stop-color: #1d4b80; }
:where(:root[data-theme="light"]) body.obs:where(.obs-landing)[data-obs-arrival] .oa-arrival :is([id$="-sun"], [id$="-dawn"]) stop { stop-color: #b7791f; }
