/* Atlas S5: one visual contract for public research and the paid PDF journey. */
html[data-atlas-experience="s5"] {
  --ax-bg: #091422; --ax-surface: #101f30; --ax-raised: #172b40;
  --ax-ink: #f1f6fb; --ax-muted: #acbfd2; --ax-line: #2b425b;
  --ax-accent: #70d5e2; --ax-accent-bg: #153a4a; --ax-accent-ink: #08232c;
  --ax-positive: #8ad0ac; --ax-negative: #f3a59d; --ax-radius: 12px;
  --ax-font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ax-page-width: 1320px;
  color-scheme: dark;
  background: var(--ax-bg);
  scroll-padding-top: 96px;
}
html[data-atlas-experience="s5"][data-theme="light"] {
  --ax-bg: #f4f7fb; --ax-surface: #ffffff; --ax-raised: #eaf1f8;
  --ax-ink: #12283e; --ax-muted: #50657a; --ax-line: #d5e0eb;
  --ax-accent: #066f85; --ax-accent-bg: #e1f1f5; --ax-accent-ink: #ffffff;
  --ax-positive: #17714c; --ax-negative: #a74339;
  color-scheme: light;
}
html[data-atlas-experience="s5"] body[data-site="atlas"] {
  --bg: var(--ax-bg); --bg-main: var(--ax-bg); --bg-card: var(--ax-surface);
  --bg-elevated: var(--ax-raised); --panel: var(--ax-surface); --panel2: var(--ax-raised);
  --surface: var(--ax-surface); --card-bg: var(--ax-surface); --text: var(--ax-ink);
  --text-main: var(--ax-ink); --text-primary: var(--ax-ink); --text-dim: var(--ax-muted);
  --text-muted: var(--ax-muted); --muted: var(--ax-muted); --accent: var(--ax-accent);
  --border: var(--ax-line); --border-color: var(--ax-line); --line: var(--ax-line);
  --atlas-shell-navy: var(--ax-bg); --atlas-shell-panel: var(--ax-surface);
  --atlas-shell-panel-strong: var(--ax-raised); --atlas-shell-text: var(--ax-ink);
  --atlas-shell-muted: var(--ax-muted); --atlas-shell-line: var(--ax-line);
  --atlas-shell-cyan: var(--ax-accent); --atlas-shell-accent-text: var(--ax-accent);
  --atlas-shell-cyan-soft: var(--ax-accent-bg); --accent-text: var(--ax-accent);
  margin: 0 !important; padding-top: 0 !important;
  background: var(--ax-bg) !important; color: var(--ax-ink) !important;
  font: 400 16px/1.6 var(--ax-font) !important;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
html[data-atlas-experience="s5"] body[data-site="atlas"] *,
html[data-atlas-experience="s5"] body[data-site="atlas"] *::before,
html[data-atlas-experience="s5"] body[data-site="atlas"] *::after { box-sizing: border-box; }
html[data-atlas-experience="s5"] body[data-site="atlas"]::before,
html[data-atlas-experience="s5"] body[data-site="atlas"]::after { display: none !important; }
html[data-atlas-experience="s5"] body[data-site="atlas"] :is(.radar-bg,.atlas-ask-fab) { display: none !important; }
html[data-atlas-experience="s5"] body[data-site="atlas"] [hidden] { display: none !important; }
html[data-atlas-experience="s5"] body[data-site="atlas"] :focus-visible {
  outline: 3px solid var(--ax-accent) !important; outline-offset: 4px;
}
html[data-atlas-experience="s5"] body[data-site="atlas"] :is(button,input,select,textarea) { font-family: var(--ax-font); }
html[data-atlas-experience="s5"] body[data-site="atlas"] :is(h1,h2,h3,h4) {
  color: var(--ax-ink); font-family: var(--ax-font) !important;
  letter-spacing: -.025em !important; text-transform: none; text-shadow: none !important;
  overflow-wrap: break-word; text-wrap: balance;
}
html[data-atlas-experience="s5"] body[data-site="atlas"] h1 {
  font-size: clamp(2rem,3.25vw,3.4rem) !important; line-height: 1.12 !important;
  font-weight: 650 !important; margin-block: 12px 20px;
}
html[data-atlas-experience="s5"] body[data-site="atlas"] h2 {
  font-size: clamp(1.35rem,2vw,2rem) !important; line-height: 1.22 !important; font-weight: 630;
}
html[data-atlas-experience="s5"] body[data-site="atlas"] h3 { font-size: 1.1rem; line-height: 1.4; font-weight: 620; }
html[data-atlas-experience="s5"] body[data-site="atlas"] :is(table,.ticker-price,.tier-price,.pro-v4-price) { font-variant-numeric: tabular-nums; }
html[data-atlas-experience="s5"] body[data-site="atlas"] > main {
  width: min(calc(100% - 64px),var(--ax-page-width)) !important; max-width: var(--ax-page-width) !important;
  margin: 0 auto !important; padding: 40px 0 72px !important; min-width: 0;
}
html[data-atlas-experience="s5"] body[data-site="atlas"] main :is(.atlas-workstation-page,.atlas-files-page,.docs-shell,.pro-v4-inner,.public-discovery-shell,.atlas-trust-world) {
  max-width: 100% !important; width: 100% !important; margin-inline: auto !important;
}
html[data-atlas-experience="s5"] body[data-site="atlas"] :is(.tt-grid-bg,.atlas-living-field,.atlas-fx3d,.atlas-heartbeat,.atlas-terminal-command-bar,.fc-quick-market-chips:empty) { display: none !important; }
html[data-atlas-experience="s5"] body[data-site="atlas"] > :is(.nav,.mobile-dropdown) { display: none !important; }
html[data-atlas-experience="s5"] body[data-site="atlas"] .fc-mobile-overflow-menu { display: none !important; }

/* Header stays in document flow. The same account and menu controls own every viewport. */
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-header {
  position: sticky !important; inset: 0 0 auto !important; z-index: 1000 !important;
  display: flex !important; align-items: center !important; gap: 28px !important;
  width: 100% !important; height: 80px !important; min-height: 80px !important;
  padding: 0 max(32px,calc((100vw - 1440px)/2)) !important; margin: 0 !important;
  background: var(--ax-bg) !important; border: 0 !important; border-bottom: 1px solid var(--ax-line) !important;
  border-radius: 0 !important; box-shadow: none !important; transform: none !important;
  backdrop-filter: none !important; overflow: visible !important;
}
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-brand {
  display: flex !important; align-items: center; gap: 10px; flex: 0 0 auto;
  padding: 0 !important; margin: 0 !important; border: 0 !important; background: none !important;
  color: var(--ax-ink) !important; -webkit-text-fill-color: var(--ax-ink) !important;
  text-decoration: none; font-size: 19px !important; font-weight: 750 !important;
  letter-spacing: .08em !important; line-height: 1.05 !important;
}
.ax-brand > svg { width: 34px; height: 34px; color: var(--ax-accent); stroke: currentColor; stroke-width: 1.3; }
.ax-brand small { display: block; padding-top: 7px; font-size: 12px; font-weight: 500; color: var(--ax-muted); letter-spacing: .01em; }
.ax-primary-nav { display: flex; gap: 24px; align-items: stretch; align-self: stretch; margin-left: auto; }
.ax-primary-nav a { display: inline-flex; align-items: center; border-bottom: 2px solid transparent; color: var(--ax-muted); font-size: 14px; font-weight: 550; text-decoration: none; white-space: nowrap; }
.ax-primary-nav a:hover,.ax-primary-nav a[aria-current="page"] { color: var(--ax-ink); border-bottom-color: var(--ax-accent); }
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-primary-nav :is(button,.ax-tools-trigger) {
  align-self: center !important;
  height: 40px !important;
  min-height: 40px !important;
  padding: 0 10px !important;
  font-size: 14px !important;
  font-weight: 550 !important;
  color: var(--ax-muted) !important;
  -webkit-text-fill-color: var(--ax-muted) !important;
}
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-primary-nav :is(button,.ax-tools-trigger):hover {
  color: var(--ax-ink) !important;
  -webkit-text-fill-color: var(--ax-ink) !important;
}
.ax-header-actions { display: flex; gap: 8px; align-items: center; flex: 0 0 auto; }
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-header :is(button,.fc-mobile-account-button) {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  position: static !important; min-width: 40px !important; min-height: 40px !important;
  width: auto !important; height: 40px !important; padding: 8px 10px !important; margin: 0 !important;
  border: 1px solid transparent !important; border-radius: 7px !important;
  background: transparent !important; color: var(--ax-ink) !important; -webkit-text-fill-color: var(--ax-ink) !important;
  box-shadow: none !important; text-decoration: none !important; font: 550 12px/1 var(--ax-font) !important;
  text-transform: none !important; letter-spacing: 0 !important; cursor: pointer;
  visibility: visible !important; opacity: 1 !important;
}
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-header :is(button,.fc-mobile-account-button):hover { background: var(--ax-raised) !important; }
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-header .fc-mobile-account-button { border-color: var(--ax-line) !important; }
.ax-header svg { flex: 0 0 auto; }
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-header svg { display: block !important; stroke: currentColor; visibility: visible !important; opacity: 1 !important; }
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-brand > svg { width: 34px !important; height: 34px !important; }
.ax-header button svg { width: 19px; height: 19px; stroke-width: 1.6; }
.ax-header-search { gap: 8px; }
.ax-header-search kbd { color: var(--ax-muted); border: 1px solid var(--ax-line); border-radius: 4px; padding: 4px; font-size: 10px; }
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-header .atlas-command-trigger { min-width: 40px !important; min-height: 40px !important; }
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-header #atlas-signin-pill { display: none !important; }

/* S56: one accessible market strip. The feed contains dated daily bars. */
html[data-atlas-experience="s5"] body[data-site="atlas"] > #site-ticker {
  position: relative !important; inset: auto !important; display: flex !important;
  align-items: stretch; width: 100%; max-width: 100%;
  height: 48px !important; min-height: 48px !important; margin: 0 !important; padding: 0 !important;
  background: var(--ax-surface) !important; border: 0 !important; border-bottom: 1px solid var(--ax-line) !important;
  color: var(--ax-muted) !important; overflow: hidden !important; z-index: 2 !important;
  pointer-events: auto !important; font-family: var(--ax-font);
  --atlas-tape-symbol: var(--ax-ink); --atlas-tape-price: var(--ax-ink);
}
#site-ticker .ax-tape__label {
  display: flex; flex: 0 0 120px; flex-direction: column; justify-content: center; gap: 4px;
  padding: 0 20px; border-right: 1px solid var(--ax-line); text-decoration: none;
  background: var(--ax-surface); color: var(--ax-ink); z-index: 1;
}
#site-ticker .ax-tape__label strong { font-size: 12px; font-weight: 650; line-height: 1; }
#site-ticker .ax-tape__status { color: var(--ax-muted); font-size: 10px; line-height: 1; white-space: nowrap; }
#site-ticker[data-atlas-tape-state="cached"] .ax-tape__status { color: var(--ax-accent); }
#site-ticker .ax-tape__viewport { flex: 1 1 auto; min-width: 0; overflow: hidden; }
html[data-atlas-experience="s5"] body[data-site="atlas"] #site-ticker .ticker-track {
  display: flex !important; flex-wrap: nowrap; align-items: stretch; width: max-content;
  height: 100% !important; padding: 0; gap: 0; white-space: nowrap;
  animation: axTapeScroll var(--ax-tape-duration,80s) linear infinite !important;
  will-change: transform;
}
#site-ticker .ax-tape__group {
  display: flex; align-items: stretch; flex: 0 0 auto; justify-content: flex-start;
  min-width: 0;
}
#site-ticker .ax-tape__quote {
  display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; padding: 0 12px;
  min-height: 44px; border-right: 1px solid var(--ax-line); text-decoration: none;
  color: var(--ax-ink); font: 500 13px/1.2 var(--ax-font); letter-spacing: 0;
  font-variant-numeric: tabular-nums; scroll-margin: 8px;
}
#site-ticker .ax-tape__quote:hover { background: var(--ax-raised); }
#site-ticker .ax-tape__symbol { color: var(--ax-ink); font-size: 12px; font-weight: 750; letter-spacing: .025em; }
#site-ticker .ax-tape__price { color: var(--ax-ink); }
#site-ticker .ax-tape__change { color: var(--ax-muted); font-size: 12px; font-weight: 600; }
#site-ticker [data-direction="up"] .ax-tape__change { color: var(--ax-positive); }
#site-ticker [data-direction="down"] .ax-tape__change { color: var(--ax-negative); }
#site-ticker .ax-tape__date { color: var(--ax-muted); font-size: 10px; padding-left: 2px; }
#site-ticker .ax-tape__toggle {
  display: flex; flex: 0 0 48px; width: 48px; align-items: center; justify-content: center;
  margin: 0; padding: 0; border: 0; border-left: 1px solid var(--ax-line); border-radius: 0;
  background: var(--ax-surface); color: var(--ax-muted); box-shadow: none; cursor: pointer;
}
#site-ticker .ax-tape__toggle:hover { background: var(--ax-raised); color: var(--ax-ink); }
#site-ticker .ax-tape__toggle:disabled { opacity: .4; cursor: default; }
#site-ticker .ax-tape__toggle svg { display: block; width: 15px; height: 15px; fill: currentColor; }
#site-ticker .ax-tape__message { display: flex; align-items: center; padding: 0 16px; color: var(--ax-muted); font-size: 12px; }
html[data-atlas-experience="s5"] body[data-site="atlas"] #site-ticker :focus-visible { outline-offset: -4px; }
html[data-atlas-experience="s5"] body[data-site="atlas"] #site-ticker:focus-within .ticker-track,
html[data-atlas-experience="s5"] body[data-site="atlas"] #site-ticker[data-atlas-tape-pointer="true"] .ticker-track,
html[data-atlas-experience="s5"] body[data-site="atlas"] #site-ticker[data-atlas-tape-hidden="true"] .ticker-track { animation-play-state: paused !important; }
@media (hover:hover) {
  html[data-atlas-experience="s5"] body[data-site="atlas"] #site-ticker:hover .ticker-track { animation-play-state: paused !important; }
}
html[data-atlas-experience="s5"] body[data-site="atlas"] #site-ticker[data-atlas-tape-motion="manual"] .ticker-track,
html[data-atlas-experience="s5"] body[data-site="atlas"] #site-ticker:is([data-atlas-tape-state="pending"],[data-atlas-tape-state="unavailable"]) .ticker-track {
  animation: none !important; transform: none !important; will-change: auto;
}
#site-ticker[data-atlas-tape-motion="manual"] .ax-tape__viewport { overflow-x: auto; scrollbar-width: none; }
#site-ticker[data-atlas-tape-motion="manual"] .ax-tape__viewport::-webkit-scrollbar { display: none; }
#site-ticker[data-atlas-tape-motion="manual"] .ax-tape__clone { display: none; }
@keyframes axTapeScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (max-width:820px) {
  html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-header :is(button,.fc-mobile-account-button,.ax-theme-studio-btn) {
    min-height: 44px !important;
    height: 44px !important;
  }
  html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-header .atlas-command-trigger {
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    flex: 0 0 44px !important;
  }
  #site-ticker .ax-tape__label { flex: 0 0 auto; padding: 0 10px; }
  #site-ticker .ax-tape__status { display: none; }
  #site-ticker .ax-tape__quote { padding: 0 10px; gap: 6px; min-height: 44px; }
  #site-ticker .ax-tape__toggle { flex: 0 0 44px; width: 44px; min-width: 44px; min-height: 44px; }
}

/* Menu: readable groups, a finite sheet, keyboard/focus behaviour owned by shell JS. */
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-menu .atlas-command-map__sheet {
  inset: 16px 16px 16px auto !important; width: min(720px,calc(100% - 32px)) !important;
  max-width: 720px !important; border-radius: 14px !important; border: 1px solid var(--ax-line) !important;
  background: var(--ax-surface) !important; background-image: none !important;
  color: var(--ax-ink) !important; box-shadow: 0 24px 72px #0004 !important;
  font-family: var(--ax-font) !important;
}
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-menu :is(.atlas-command-map__head,.atlas-command-search,.atlas-command-map__scroll) { background: transparent !important; color: var(--ax-ink) !important; }
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-menu .atlas-command-map__head { padding: 24px !important; border-bottom-color: var(--ax-line) !important; }
.ax-menu .atlas-command-map__identity { display: block; }
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-menu .atlas-command-map__identity :is(strong,small,span) { color: var(--ax-ink) !important; white-space: normal; }
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-menu .atlas-command-map__identity strong { font-size: 22px !important; font-weight: 600 !important; margin: 6px 0; }
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-menu .atlas-command-map__identity small { color: var(--ax-muted) !important; font-size: 13px !important; }
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-menu .atlas-command-map__identity span { color: var(--ax-accent) !important; font-size: 10px !important; letter-spacing: .1em; }
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-menu .atlas-command-search { margin: 20px 24px 0 !important; border: 1px solid var(--ax-line) !important; border-radius: 8px !important; padding: 8px 12px !important; }
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-menu .atlas-command-search input { background: transparent !important; color: var(--ax-ink) !important; font-size: 15px !important; min-height: 32px; }
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-menu .atlas-command-map__scroll { padding: 20px 24px 24px !important; overscroll-behavior: contain; }
.ax-menu .atlas-command-block { margin: 0 0 22px; }
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-menu .atlas-command-block > header { border: 0 !important; margin: 0 0 10px; padding: 0 !important; min-height: 0; }
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-menu .atlas-command-block > header span { font-size: 12px !important; font-weight: 650; letter-spacing: .01em !important; text-transform: none !important; color: var(--ax-muted) !important; }
.ax-menu .atlas-command-block > header small { display: none; }
.ax-menu .atlas-command-links { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.ax-menu .atlas-command-launches { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-menu :is(.atlas-command-link,.atlas-command-launch) {
  padding: 14px !important; border: 1px solid var(--ax-line) !important; border-radius: 9px !important;
  background: var(--ax-bg) !important; color: var(--ax-ink) !important; box-shadow: none !important;
  min-height: 80px !important; transition: background .12s ease;
}
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-menu :is(.atlas-command-link,.atlas-command-launch):hover { background: var(--ax-raised) !important; transform: none !important; border-color: var(--ax-accent) !important; }
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-menu :is(.atlas-command-link,.atlas-command-launch) strong { color: var(--ax-ink) !important; font-size: 14px !important; font-weight: 620 !important; }
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-menu :is(.atlas-command-link,.atlas-command-launch) small { color: var(--ax-muted) !important; font-size: 12px !important; line-height: 1.4 !important; white-space: normal !important; }
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-menu :is(.atlas-command-map__close,.atlas-command-link__icon,.atlas-command-launch__icon) { background: transparent !important; color: var(--ax-accent) !important; border-color: var(--ax-line) !important; }

/* Shared content primitives for the rebuilt entry and documentation journeys. */
.skip-link,.atlas-skip-link { position: fixed; left: 16px; top: -100px; z-index: 2000; padding: 12px 18px; background: var(--ax-accent); color: var(--ax-accent-ink); border-radius: 8px; }
.skip-link:focus,.atlas-skip-link:focus { top: 12px; }
html[data-atlas-experience="s5"] body[data-site="atlas"] a { text-underline-offset: 4px; }
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-header .fc-mobile-account-button { white-space: nowrap !important; min-width: 72px !important; }
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-header { gap: 24px !important; }
.ax-primary-nav { margin-left: auto; gap: 22px; }
.ax-header-search kbd { display: none; }
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-header button { min-width: 44px !important; min-height: 44px !important; }
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-home-search-row { display: flex; align-items: center; flex-wrap: nowrap; min-height: 64px; gap: 8px; }
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-home-search-row input { display: block; flex: 1 1 200px; width: 100%; min-width: 0; min-height: 48px; font-size: 16px; }
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-home-search-row button { flex: 0 0 auto; min-height: 48px; white-space: nowrap; }
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-search-help { font-size: 14px; line-height: 1.6; }
.ax-eyebrow { font: 650 11px/1.4 var(--ax-font); letter-spacing: .1em; text-transform: uppercase; color: var(--ax-accent); margin: 0 0 14px; }
.ax-lede { font-size: 18px; line-height: 1.65; color: var(--ax-muted); max-width: 660px; }
.ax-section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 0 0 24px; }
.ax-section-head h2 { margin: 0; }
.ax-section-head p { color: var(--ax-muted); font-size: 14px; margin: 8px 0 0; max-width: 560px; }
.ax-text-link { color: var(--ax-accent); font-size: 13px; font-weight: 650; text-decoration: none; white-space: nowrap; }
.ax-text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.ax-card { border: 1px solid var(--ax-line); border-radius: var(--ax-radius); background: var(--ax-surface); padding: 28px; min-width: 0; }
.ax-card p { color: var(--ax-muted); font-size: 14px; margin: 12px 0 20px; }
.ax-card h3 { margin: 0; }
.ax-grid-3 { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.ax-grid-2 { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.ax-action { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 12px 18px; border: 1px solid var(--ax-line); border-radius: 7px; color: var(--ax-ink); background: var(--ax-surface); font: 600 14px/1.2 var(--ax-font); text-decoration: none; cursor: pointer; }
.ax-action-primary { background: var(--ax-accent); border-color: var(--ax-accent); color: var(--ax-accent-ink); }
.ax-action:hover { filter: brightness(.96); }
.ax-tag { display: inline-flex; padding: 5px 8px; border: 1px solid var(--ax-line); border-radius: 5px; color: var(--ax-muted); font-size: 10px; line-height: 1.2; font-weight: 600; letter-spacing: .035em; text-transform: uppercase; }
.ax-home-hero { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); align-items: center; gap: clamp(32px,6vw,88px); padding: 32px 0 64px; }
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-home-hero h1 { font-size: clamp(2.5rem,4vw,3.65rem) !important; line-height: 1.08 !important; letter-spacing: -.04em !important; max-width: 760px; margin: 18px 0 24px; }
.ax-home-hero h1 span { color: var(--ax-accent); }
.ax-report-preview { display: block; position: relative; height: 360px; overflow: hidden; background: var(--ax-bg); border-block: 1px solid var(--ax-line); }
.ax-report-preview img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.ax-report-preview .ax-report-day { display: none; }
html[data-theme="light"] .ax-report-preview .ax-report-night { display: none; }
html[data-theme="light"] .ax-report-preview .ax-report-day { display: block; }
.ax-report-caption { padding: 16px 24px; margin: 0; color: var(--ax-muted); font-size: 13px; }
.ax-report-caption strong { color: var(--ax-ink); display: block; font-size: 16px; margin-bottom: 4px; }
.ax-identity-hub .ax-home-search { max-width: 660px; margin-block: 32px; }
.ax-table-scroll { width: 100%; overflow-x: auto; border: 1px solid var(--ax-line); border-radius: 10px; }
.ax-identity-hub table { width: 100%; border-collapse: collapse; background: var(--ax-surface); color: var(--ax-ink); }
.ax-identity-hub :is(th,td) { padding: 18px 20px; text-align: left; border-bottom: 1px solid var(--ax-line); font-size: 14px; white-space: nowrap; }
.ax-identity-hub th { background: var(--ax-raised); color: var(--ax-muted); font-size: 12px; font-weight: 600; }
.ax-identity-hub td:first-child { font-weight: 600; }
.ax-identity-hub td a { display: inline-block; padding: 10px 14px; min-height: 44px; border: 1px solid var(--ax-line); border-radius: 6px; color: var(--ax-accent); text-decoration: none; }
.ax-identity-hub footer { margin-top: 24px; font-size: 13px; color: var(--ax-muted); }
.ax-run-page .ax-run-card { max-width: 980px; margin: 32px 0; padding: 28px; background: var(--ax-surface); border: 1px solid var(--ax-line); border-radius: 12px; }
.ax-run-status { color: var(--ax-accent); font-size: 13px; margin-bottom: 18px; }
.ax-run-page #atlas-scout-loader { background: transparent; padding: 0; border: 0; }
body[data-atlas-run-state="error"] .ax-run-page #atlas-scout-loader,
body[data-atlas-run-state="ready"] .ax-run-page #atlas-scout-loader,
body[data-atlas-run-state="loading"] .ax-run-page #tt-result { display: none !important; }
.ax-run-page :is(.atlas-report,.atlas-report__header,.atlas-report-section) { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; margin: 0 0 20px !important; }
.ax-run-page .atlas-report__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ax-run-page .atlas-report-action { display: inline-flex; align-items: center; padding: 12px 18px; min-height: 46px; border: 1px solid var(--ax-line); border-radius: 7px; color: var(--ax-accent); text-decoration: none; font: 600 14px/1.5 var(--ax-font); }
.ax-run-page .atlas-report-action--primary { color: var(--ax-accent-ink); background: var(--ax-accent); border-color: var(--ax-accent); }
html[data-atlas-experience="s5"] body[data-site="atlas"] > header.app-header { display: none !important; }
.ax-home-hero .ax-lede { margin: 0 0 28px; }
.ax-home-search { position: relative; margin: 0; }
.ax-search-results { position: absolute; top: 82px; left: 0; right: 0; z-index: 30; padding: 6px; max-height: 360px; overflow-y: auto; border: 1px solid var(--ax-line); border-radius: 9px; background: var(--ax-surface); box-shadow: 0 16px 40px #0003; }
.ax-search-result { display: grid; gap: 4px; padding: 12px; border-radius: 5px; color: var(--ax-ink); text-decoration: none; }
.ax-search-result:hover,.ax-search-result:focus { background: var(--ax-raised); }
.ax-search-result strong { font-size: 13px; font-weight: 650; }
.ax-search-result span { color: var(--ax-muted); font-size: 12px; line-height: 1.45; }
.ax-home-search label { display: block; font-size: 12px; font-weight: 650; margin-bottom: 9px; }
.ax-home-search-row { display: flex; gap: 8px; padding: 7px; border: 1px solid var(--ax-line); border-radius: 10px; background: var(--ax-surface); }
.ax-home-search-row input { min-width: 0; flex: 1; background: transparent; border: 0; color: var(--ax-ink); padding: 10px 12px; font: 400 15px/1.3 var(--ax-font); }
.ax-home-search-row input:focus { outline: 0; }
.ax-home-search-row:focus-within { outline: 2px solid var(--ax-accent); outline-offset: 3px; }
.ax-search-help { margin: 12px 0 0; color: var(--ax-muted); font-size: 12px; }
.ax-search-help a { color: var(--ax-accent); text-decoration: none; padding: 3px 6px; }
.ax-home-evidence { position: relative; border: 1px solid var(--ax-line); border-radius: 14px; overflow: hidden; background: var(--ax-surface); box-shadow: 0 16px 36px #0000000b; }
.ax-evidence-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--ax-line); }
.ax-evidence-top span { color: var(--ax-muted); font-size: 11px; }
.ax-evidence-body { padding: 30px; }
.ax-evidence-body h2 { margin: 18px 0 14px; }
.ax-evidence-body p { color: var(--ax-muted); font-size: 14px; }
.ax-evidence-list { display: grid; gap: 0; margin: 28px 0 20px; }
.ax-evidence-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--ax-line); padding: 13px 0; font-size: 13px; }
.ax-evidence-row span { color: var(--ax-muted); font-size: 12px; }
.ax-evidence-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: var(--ax-raised); }
.ax-evidence-foot p { margin: 0; color: var(--ax-muted); font-size: 12px; }
.ax-evidence-foot strong { color: var(--ax-ink); font-size: 18px; }
.ax-home-section { padding: 48px 0; border-top: 1px solid var(--ax-line); }
.ax-journey-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 248px; }
.ax-journey-card .ax-step { display: block; font-size: 12px; color: var(--ax-accent); margin: 0 0 28px; }
.ax-journey-card .ax-text-link { margin-top: auto; }
.ax-market-links { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border: 1px solid var(--ax-line); border-radius: 12px; overflow: hidden; }
.ax-market-links a { padding: 24px; border-right: 1px solid var(--ax-line); text-decoration: none; background: var(--ax-surface); color: var(--ax-ink); }
.ax-market-links a:last-child { border-right: 0; }
.ax-market-links a:hover { background: var(--ax-raised); }
.ax-market-links strong { display: block; font-size: 16px; font-weight: 620; margin-bottom: 6px; }
.ax-market-links span { display: block; font-size: 12px; color: var(--ax-muted); }
.ax-product-grid .ax-card { display: flex; flex-direction: column; min-height: 240px; }
.ax-product-grid .ax-tag { align-self: flex-start; margin-bottom: 10px; }
.ax-product-grid .ax-text-link { margin-top: auto; }
.ax-home-pulse .atlas-market-pulse__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.ax-home-pulse :is(.atlas-market-pulse__item,.atlas-market-pulse__empty) { padding: 24px; border: 1px solid var(--ax-line); border-radius: 10px; background: var(--ax-surface); text-decoration: none; color: var(--ax-ink); min-height: 160px; }
.ax-home-pulse .atlas-market-pulse__empty { grid-column: 1 / -1; min-height: 100px; }
.ax-home-pulse .atlas-market-pulse__item :is(span,small) { display: block; margin: 8px 0; color: var(--ax-muted); font-size: 12px; }
.ax-home-pulse .atlas-market-pulse__item strong { font-size: 16px; }
.ax-pdf-banner { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 32px; align-items: center; padding: 36px; border: 1px solid var(--ax-line); border-radius: 12px; background: var(--ax-accent-bg); }
.ax-pdf-banner h2 { margin: 0 0 12px; }
.ax-pdf-banner p { margin: 0; color: var(--ax-muted); font-size: 14px; max-width: 740px; }
.ax-footer { display: flex; gap: 32px; justify-content: space-between; width: min(calc(100% - 64px),1440px); margin: 0 auto; padding: 28px 0 36px; border-top: 1px solid var(--ax-line); font-size: 12px; color: var(--ax-muted); }
.ax-footer p { margin: 0; max-width: 620px; }
.ax-footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.ax-footer a { color: var(--ax-muted); text-decoration: none; }
.ax-footer a:hover { color: var(--ax-accent); }

/* Mobile has one compact header and the existing five meaningful destinations. */
@media (min-width: 821px) {
  html[data-atlas-experience="s5"] body[data-site="atlas"] .fc-mobile-bottom-nav { display: none !important; }
  html[data-atlas-experience="s5"] body[data-site="atlas"] { padding-bottom: 0 !important; }
}
@media (max-width: 1280px) {
  .ax-header-search span,.ax-header-search kbd { display: none; }
  .ax-primary-nav { gap: 18px; }
  html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-header { gap: 20px !important; }
}
@media (max-width: 1040px) {
  .ax-primary-nav { display: none; }
  .ax-header-actions { margin-left: auto; }
  .ax-grid-3 { gap: 14px; }
  .ax-home-hero { gap: 32px; }
  .ax-market-links { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .ax-market-links a:nth-child(2) { border-right: 0; }
  .ax-market-links a:nth-child(-n+2) { border-bottom: 1px solid var(--ax-line); }
}
@media (max-width: 820px) {
  .ax-identity-hub .ax-table-scroll { border: 0; overflow: visible; }
  .ax-identity-hub table,.ax-identity-hub tbody { display: block; background: transparent; }
  .ax-identity-hub thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ax-identity-hub tr { display: block; margin-bottom: 16px; padding: 18px; border: 1px solid var(--ax-line); border-radius: 10px; background: var(--ax-surface); }
  .ax-identity-hub td { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; border: 0; white-space: normal; overflow-wrap: anywhere; }
  .ax-identity-hub td::before { content: attr(data-label); color: var(--ax-muted); font-size: 12px; flex: 0 0 64px; }
  .ax-identity-hub td:first-child { font-size: 17px; padding-bottom: 16px; }
  .ax-identity-hub td:first-child::before,.ax-identity-hub td:last-child::before { display: none; }
  .ax-identity-hub td a { width: 100%; text-align: center; margin-top: 8px; }
  html[data-atlas-experience="s5"] body[data-site="atlas"] { padding-bottom: calc(70px + env(safe-area-inset-bottom)) !important; }
  html[data-atlas-experience="s5"] body[data-site="atlas"] > main { width: calc(100% - 32px) !important; padding: 24px 0 36px !important; }
  html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-header { height: 64px !important; min-height: 64px !important; padding: 0 16px !important; gap: 12px !important; }
  .ax-brand small { display: none; }
  .ax-brand > svg { width: 28px; height: 28px; }
  .ax-header-actions { gap: 2px; }
  html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-header .ax-header-search { display: none !important; }
  .ax-home-hero { grid-template-columns: 1fr; padding: 20px 0 36px; }
  .ax-home-evidence { max-width: 620px; width: 100%; }
  .ax-home-hero .ax-lede { font-size: 16px; }
  .ax-grid-3,.ax-grid-2 { grid-template-columns: 1fr; }
  .ax-journey-card,.ax-product-grid .ax-card { min-height: 0; }
  .ax-journey-card .ax-step { margin-bottom: 18px; }
  .ax-journey-card .ax-text-link { margin-top: 4px; }
  .ax-home-section { padding: 32px 0; }
  .ax-section-head { align-items: flex-start; flex-direction: column; gap: 14px; }
  .ax-pdf-banner { grid-template-columns: 1fr; padding: 24px; gap: 24px; }
  .ax-pdf-banner .ax-action { justify-self: start; }
  .ax-footer { width: calc(100% - 32px); flex-direction: column; gap: 20px; }
  .ax-home-pulse .atlas-market-pulse__grid { grid-template-columns: 1fr; }
  html[data-atlas-experience="s5"] body[data-site="atlas"] .atlas-os-dock {
    position: fixed !important; inset: auto 0 0 !important; width: 100% !important;
    height: calc(64px + env(safe-area-inset-bottom)) !important; min-height: 64px !important;
    padding: 4px 8px calc(4px + env(safe-area-inset-bottom)) !important; margin: 0 !important;
    border: 0 !important; border-top: 1px solid var(--ax-line) !important; border-radius: 0 !important;
    background: var(--ax-surface) !important; box-shadow: none !important; transform: none !important;
    display: grid !important; grid-template-columns: repeat(5,minmax(0,1fr)) !important; gap: 0 !important; z-index: 1001 !important;
  }
  html[data-atlas-experience="s5"] body[data-site="atlas"] .atlas-os-dock__plate { display: none !important; }
  html[data-atlas-experience="s5"] body[data-site="atlas"] .atlas-os-dock__link { min-width: 0 !important; min-height: 52px !important; color: var(--ax-muted) !important; background: transparent !important; border: 0 !important; border-radius: 7px !important; padding: 4px !important; font: 500 10px/1.2 var(--ax-font) !important; }
  html[data-atlas-experience="s5"] body[data-site="atlas"] .atlas-os-dock__link svg { width: 20px !important; height: 20px !important; margin-bottom: 3px; }
  html[data-atlas-experience="s5"] body[data-site="atlas"] .atlas-os-dock__link[aria-current="page"] { color: var(--ax-accent) !important; background: var(--ax-accent-bg) !important; }
  /* Home owns the five-column layout, including pages with legacy link CSS. */
  html[data-atlas-experience="s5"] body[data-site="atlas"] nav.atlas-os-dock.fc-mobile-bottom-nav > .atlas-os-dock__link {
    display: grid !important; grid-template-columns: minmax(0,1fr) !important;
    grid-template-rows: 24px 12px !important; align-content: center !important;
    place-items: center !important; gap: 3px !important; width: 100% !important;
    height: 55px !important; margin: 0 !important; box-sizing: border-box !important;
    text-align: center !important; text-decoration: none !important;
    letter-spacing: normal !important; text-transform: none !important;
  }
  html[data-atlas-experience="s5"] body[data-site="atlas"] nav.atlas-os-dock.fc-mobile-bottom-nav > .atlas-os-dock__link > svg { grid-row: 1; margin: 0 !important; }
  html[data-atlas-experience="s5"] body[data-site="atlas"] nav.atlas-os-dock.fc-mobile-bottom-nav > .atlas-os-dock__link > span { grid-row: 2; white-space: nowrap; }
  html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-menu .atlas-command-map__sheet { inset: 8px !important; width: calc(100% - 16px) !important; }
  html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-menu .atlas-command-map__head { padding: 18px !important; }
  html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-menu .atlas-command-search { margin: 16px 18px 0 !important; }
  html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-menu .atlas-command-map__scroll { padding: 18px !important; }
  .ax-menu .atlas-command-launches { grid-template-columns: 1fr; }
  .ax-menu .atlas-command-links { grid-template-columns: 1fr; }
  html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-menu :is(.atlas-command-link,.atlas-command-launch) { min-height: 64px !important; }
}
@media (max-width: 420px) {
  html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-brand { font-size: 16px !important; gap: 7px; }
  .ax-home-search-row { flex-wrap: wrap; }
  .ax-home-search-row input { flex-basis: calc(100% - 100px); }
  .ax-home-search-row .ax-action { padding-inline: 12px; }
  .ax-evidence-body { padding: 24px; }
  .ax-market-links a { padding: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-atlas-experience="s5"] { scroll-behavior: auto !important; }
  html[data-atlas-experience="s5"] *,html[data-atlas-experience="s5"] *::before,html[data-atlas-experience="s5"] *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Atlas Pro mark, at native high pixel density with a crisp text wordmark. */
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-brand__logo {
  display: block !important; width: 54px !important; height: 54px !important;
  flex: 0 0 54px; object-fit: contain; border: 0 !important; border-radius: 6px;
  filter: none !important; opacity: 1 !important; transform: none !important;
}
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-brand__wordmark {
  display: block; color: var(--ax-ink) !important; font-size: 20px;
  font-weight: 750; letter-spacing: .055em; line-height: 1.05;
  text-shadow: none !important; filter: none !important;
}
html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-brand small {
  display: block; padding-top: 6px; color: var(--ax-ink) !important;
  -webkit-text-fill-color: var(--ax-ink) !important; font-size: 10.5px;
  font-weight: 600; line-height: 1.2; letter-spacing: .035em;
  text-shadow: none !important; text-transform: none;
}
@media(max-width:820px) {
  html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-brand__logo {
    width: 42px !important; height: 42px !important; flex-basis: 42px;
  }
  html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-brand__wordmark { font-size: 17px; }
  html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-brand small { font-size: 9px; padding-top: 5px; }
}
@media(max-width:360px) {
  html[data-atlas-experience="s5"] body[data-site="atlas"] .ax-brand small { display: none; }
}

/* A usable, labelled question field after listing selection. */
html[data-atlas-experience="s5"] .atlas-first-file__question:not([hidden]) { display:grid;gap:10px;margin:24px 0 20px;font-size:14px;font-weight:600; }
html[data-atlas-experience="s5"] .atlas-first-file__question input { display:block;width:100%;min-height:48px;box-sizing:border-box;padding:12px 14px;border:1px solid var(--ax-line);border-radius:6px;background:var(--ax-bg);color:var(--ax-ink);font:inherit;font-weight:400; }
html[data-atlas-experience="s5"] .atlas-first-file__question input:focus-visible { outline:2px solid var(--ax-accent);outline-offset:3px; }
html[data-atlas-experience="s5"] .atlas-os-dock__symbol { display:none !important; }

/* Search arrivals share Home's palette, spacing and clear next action. */
html[data-atlas-experience="s5"] body[data-site="atlas"] article.atlas-market-profile > header.atlas-market-cover {
  padding: 32px !important; border: 1px solid var(--ax-line) !important;
  border-top: 3px solid var(--ax-accent) !important; border-radius: 12px !important;
  background: var(--ax-surface) !important; box-shadow: none !important;
}
html[data-atlas-experience="s5"] body[data-site="atlas"] .atlas-market-profile .atlas-market-cover__lede { color: var(--ax-muted) !important; }
html[data-atlas-experience="s5"] body[data-site="atlas"] main.reporting-detail { background: transparent !important; border: 0 !important; box-shadow: none !important; }
html[data-atlas-experience="s5"] body[data-site="atlas"] main.reporting-detail .ind-crumb { background: transparent !important; color: var(--ax-muted) !important; margin: 0 0 24px; }
html[data-atlas-experience="s5"] body[data-site="atlas"] main.reporting-detail .rep-lede { max-width: 820px; color: var(--ax-muted); font: 400 17px/1.7 var(--ax-font); }
html[data-atlas-experience="s5"] body[data-site="atlas"] main.reporting-detail .rep-stats { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1px; background: var(--ax-line); border: 1px solid var(--ax-line); border-radius: 12px; overflow: hidden; margin: 28px 0; }
html[data-atlas-experience="s5"] body[data-site="atlas"] main.reporting-detail .rep-stat { padding: 22px; background: var(--ax-surface); border: 0; border-radius: 0; }
html[data-atlas-experience="s5"] body[data-site="atlas"] main.reporting-detail .rep-stat dt { color: var(--ax-muted); font: 400 12px/1.5 var(--ax-font); }
html[data-atlas-experience="s5"] body[data-site="atlas"] main.reporting-detail .rep-stat dd { margin: 9px 0 0; color: var(--ax-ink); font: 600 21px/1.4 var(--ax-font); }
html[data-atlas-experience="s5"] body[data-site="atlas"] main.reporting-detail .rep-basis { padding: 16px 20px; border-left: 3px solid var(--ax-accent); background: var(--ax-accent-bg); color: var(--ax-ink); }
html[data-atlas-experience="s5"] body[data-site="atlas"] main.reporting-detail .ind-links { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 36px; }
html[data-atlas-experience="s5"] body[data-site="atlas"] main.reporting-detail .ind-links a { padding: 12px 16px; border: 1px solid var(--ax-line); border-radius: 8px; font: 500 14px/1.5 var(--ax-font); text-decoration: none; color: var(--ax-ink) !important; background: var(--ax-surface) !important; box-shadow: none !important; }
html[data-atlas-experience="s5"] body[data-site="atlas"] main.reporting-detail .ind-links a:first-child { background: var(--ax-accent) !important; color: var(--ax-accent-ink) !important; border-color: var(--ax-accent); }
html[data-atlas-experience="s5"] body[data-site="atlas"] main.reporting-detail .rep-table { display: table; width: 100%; overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--ax-line); border-radius: 10px; background: var(--ax-surface); }
html[data-atlas-experience="s5"] body[data-site="atlas"] main.reporting-detail .rep-table :is(th,td) { padding: 16px; border-bottom: 1px solid var(--ax-line); color: var(--ax-ink); }
@media(max-width:820px) {
  html[data-atlas-experience="s5"] body[data-site="atlas"] article.atlas-market-profile > header.atlas-market-cover { padding: 20px !important; }
  html[data-atlas-experience="s5"] body[data-site="atlas"] main.reporting-detail .rep-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
  html[data-atlas-experience="s5"] body[data-site="atlas"] main.reporting-detail .rep-stat { padding: 18px; }
  html[data-atlas-experience="s5"] body[data-site="atlas"] main.reporting-detail .rep-table { display: block; }
  html[data-atlas-experience="s5"] body[data-site="atlas"] main.reporting-detail .ind-links a { width: 100%; text-align: center; }
}

/* === ATLAS REALM UNIFORM ORBITAL HERO & RESPONSIVE CARD PROPORTIONS (2026-10-15) === */
.ax-markets .ax-market-hero {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: clamp(24px, 4vw, 40px) !important;
  margin: 0 0 32px !important;
  border: 1px solid rgba(103, 232, 249, 0.24) !important;
  background:
    linear-gradient(135deg, rgba(6, 15, 28, 0.90), rgba(10, 24, 42, 0.84)),
    url('/img/atlas-visual/orbital-horizon-20260926.webp') center 28% / cover no-repeat !important;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.34);
  align-items: center !important;
}
html[data-theme="light"] .ax-markets .ax-market-hero {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(238, 246, 255, 0.88)),
    url('/img/atlas-visual/orbital-daylight-20260927.webp') center 28% / cover no-repeat !important;
  border-color: rgba(3, 105, 161, 0.22) !important;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.08);
}

/* Eliminate narrow 3-column vertical oblongs on 980px mobile-desktop and tablet viewports */
.ax-market-paths {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)) !important;
  gap: 18px !important;
}
.ax-markets .ax-market-path {
  min-height: 0 !important;
  padding: 24px 26px !important;
  border-radius: 14px !important;
}
.ax-markets .atlas-world-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)) !important;
  gap: 18px !important;
}
.ax-markets .atlas-world-card,
.ax-markets .atlas-world-symbol {
  min-height: 0 !important;
  border-radius: 14px !important;
}
.ax-markets .sym-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)) !important;
  gap: 8px 16px !important;
}
.ax-market-popular .hub-bar,
.ax-market-categories .hub-bar {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)) !important;
  gap: 12px !important;
  border: 0 !important;
}
.ax-market-popular .hub-chip,
.ax-market-categories .hub-chip {
  min-height: 64px !important;
  border: 1px solid var(--market-line) !important;
  border-radius: 12px !important;
}
.ax-market-assets .hub-bar {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) !important;
  gap: 10px !important;
}
.ax-market-assets .hub-chip {
  border-radius: 12px !important;
}
@media (max-width: 1080px) {
  .ax-markets .ax-market-hero {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }
  .ax-market-paths,
  .ax-market-guide-grid {
    grid-template-columns: 1fr !important;
  }
  .ax-markets .atlas-world-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)) !important;
  }
}

/* Listing-record profile tables (/stocks/<slug>/) — bordered cards & strict left alignment */
.ax-listing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.ax-listing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin: 0 0 32px;
}
.ax-listing-card {
  max-width: 100%;
  overflow-x: hidden;
  padding: clamp(20px, 3vw, 28px);
  border-radius: 16px;
  border: 1px solid var(--market-line, rgba(148, 163, 184, 0.22));
  background: var(--market-surface, rgba(15, 23, 42, 0.78));
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.22);
}
html[data-theme="light"] .ax-listing-card {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.14);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}
.ax-listing-card h2 {
  margin: 0 0 14px;
  font-size: 20px;
  text-align: left !important;
}
.ax-listing-card table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  text-align: left !important;
}
.ax-listing-card caption {
  text-align: left !important;
  caption-side: top;
  margin-bottom: 12px;
  color: var(--market-muted, #94a3b8);
  font-size: 13px;
  line-height: 1.5;
}
.ax-listing-card tr {
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}
.ax-listing-card tr:last-child {
  border-bottom: 0;
}
.ax-listing-card th,
.ax-listing-card td {
  text-align: left !important;
  vertical-align: top;
  padding: 11px 12px 11px 0;
  word-break: break-word;
  overflow-wrap: anywhere;
  line-height: 1.55;
}
.ax-listing-card th {
  width: 32%;
  color: var(--market-muted, #94a3b8);
  font-weight: 600;
  font-size: 13.5px;
}
.ax-listing-card td {
  width: 68%;
  color: var(--market-ink, #f1f5f9);
  font-size: 14.5px;
}

/* ATLAS-V09-COHERENCE-AND-PALETTES-20261015 */
/* 5-Palette Theme Studio Tokens (Obsidian, Daylight, Emerald, Cobalt, Ivory) */
html[data-atlas-experience="s5"][data-atlas-palette="daylight"],
html[data-atlas-experience="s5"][data-theme="light"] {
  --ax-bg: #f4f7fb; --ax-surface: #ffffff; --ax-raised: #eaf1f8;
  --ax-ink: #0f172a; --ax-muted: #334155; --ax-line: #cbd5e1;
  --ax-accent: #0369a1; --ax-accent-bg: #e0f2fe; --ax-accent-ink: #ffffff;
  --ax-positive: #047857; --ax-negative: #be123c;
  color-scheme: light;
}
html[data-atlas-experience="s5"][data-atlas-palette="emerald"] {
  --ax-bg: #051614; --ax-surface: #0b2420; --ax-raised: #11342e;
  --ax-ink: #ecfdf5; --ax-muted: #a7f3d0; --ax-line: #1d4d44;
  --ax-accent: #34d399; --ax-accent-bg: #064e3b; --ax-accent-ink: #022c22;
  --ax-positive: #6ee7b7; --ax-negative: #fda4af;
  color-scheme: dark;
}
html[data-atlas-experience="s5"][data-atlas-palette="cobalt"] {
  --ax-bg: #0e0a05; --ax-surface: #181108; --ax-raised: #24190b;
  --ax-ink: #fef3c7; --ax-muted: #d6b88a; --ax-line: rgba(245, 158, 11, 0.22);
  --ax-accent: #f59e0b; --ax-accent-bg: #451a03; --ax-accent-ink: #120b02;
  --ax-positive: #6ee7b7; --ax-negative: #fda4af;
  color-scheme: dark;
}
html[data-atlas-experience="s5"][data-atlas-palette="ivory"] {
  --ax-bg: #f7f4ed; --ax-surface: #fffdf9; --ax-raised: #efeae0;
  --ax-ink: #18181b; --ax-muted: #3f3f46; --ax-line: #d6cfc2;
  --ax-accent: #0f5c4c; --ax-accent-bg: #e3efe9; --ax-accent-ink: #ffffff;
  --ax-positive: #065f46; --ax-negative: #9f1239;
  color-scheme: light;
}

/* Unify Multi-Window Market Breadth Summary (.aw-market-width) with S5 visual language */
body[data-site="atlas"] .aw-market-width {
  margin: 24px 0 32px !important;
  padding: clamp(20px, 3vw, 28px) !important;
  border-radius: 12px !important;
  background: var(--ax-surface, #101f30) !important;
  border: 1px solid var(--ax-line, #2b425b) !important;
  box-shadow: none !important;
  color: var(--ax-ink, #f1f6fb) !important;
  font-family: var(--ax-font, Inter, sans-serif) !important;
}
body[data-site="atlas"] .aw-mw-eyebrow {
  color: var(--ax-accent, #70d5e2) !important;
  font: 600 12px/1.4 var(--ax-font, Inter, sans-serif) !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}
body[data-site="atlas"] .aw-mw-title {
  color: var(--ax-ink, #f1f6fb) !important;
  font: 650 clamp(20px, 2.3vw, 26px)/1.25 var(--ax-font, Inter, sans-serif) !important;
  letter-spacing: -0.02em !important;
}
body[data-site="atlas"] .aw-mw-sub {
  color: var(--ax-muted, #acbfd2) !important;
  font: 400 14px/1.65 var(--ax-font, Inter, sans-serif) !important;
  opacity: 1 !important;
}
body[data-site="atlas"] .aw-mw-sub strong,
body[data-site="atlas"] .aw-mw-sub code {
  color: var(--ax-ink, #f1f6fb) !important;
}
body[data-site="atlas"] .aw-mw-pill {
  border-radius: 6px !important;
  padding: 10px 14px !important;
  font: 600 13px/1.35 var(--ax-font, Inter, sans-serif) !important;
  background: var(--ax-raised, #172b40) !important;
  color: var(--ax-accent, #70d5e2) !important;
  border: 1px solid var(--ax-line, #2b425b) !important;
}
body[data-site="atlas"] .aw-mw-card,
body[data-site="atlas"] .aw-mw-region-card {
  background: var(--ax-raised, #172b40) !important;
  border: 1px solid var(--ax-line, #2b425b) !important;
  border-radius: 8px !important;
  color: var(--ax-ink, #f1f6fb) !important;
}
body[data-site="atlas"] .aw-mw-card h3,
body[data-site="atlas"] .aw-mw-reg-head strong,
body[data-site="atlas"] .aw-mw-meta strong {
  color: var(--ax-ink, #f1f6fb) !important;
}
body[data-site="atlas"] .aw-mw-meta,
body[data-site="atlas"] .aw-mw-reg-head span {
  color: var(--ax-muted, #acbfd2) !important;
}

/* V09: Workstation Hero Day-Mode Contrast Synchronization */
html[data-theme="light"] body[data-site="atlas"] .aw-hero-stage {
  background: linear-gradient(145deg, var(--ax-surface, #ffffff) 0%, var(--ax-raised, #eaf1f8) 55%, var(--ax-bg, #f4f7fb) 100%) !important;
  border-color: var(--ax-line, #cbd5e1) !important;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.07) !important;
  color: var(--ax-ink, #0f172a) !important;
}
html[data-theme="light"] body[data-site="atlas"] .aw-hero-title {
  background: none !important;
  -webkit-text-fill-color: var(--ax-ink, #0f172a) !important;
  color: var(--ax-ink, #0f172a) !important;
}
html[data-theme="light"] body[data-site="atlas"] .aw-hero-sub {
  color: var(--ax-muted, #334155) !important;
}
html[data-theme="light"] body[data-site="atlas"] .aw-hero-eyebrow {
  background: var(--ax-accent-bg, #e0f2fe) !important;
  border-color: var(--ax-line, #cbd5e1) !important;
  color: var(--ax-accent, #0369a1) !important;
}
html[data-theme="light"] body[data-site="atlas"] .aw-hero-input-shell {
  background: #ffffff !important;
  border-color: var(--ax-line, #cbd5e1) !important;
}
html[data-theme="light"] body[data-site="atlas"] .aw-hero-input {
  color: var(--ax-ink, #0f172a) !important;
}
html[data-theme="light"] body[data-site="atlas"] .aw-hero-chip {
  background: var(--ax-raised, #eaf1f8) !important;
  border-color: var(--ax-line, #cbd5e1) !important;
  color: var(--ax-ink, #0f172a) !important;
}
html[data-theme="light"] body[data-site="atlas"] .aw-hero-chip b {
  color: var(--ax-accent, #0369a1) !important;
}
html[data-theme="light"] body[data-site="atlas"] .aw-hero-Telemetry {
  background: #ffffff !important;
  border-color: var(--ax-line, #cbd5e1) !important;
}
html[data-theme="light"] body[data-site="atlas"] .aw-telemetry-row {
  background: var(--ax-raised, #eaf1f8) !important;
  border-color: var(--ax-line, #cbd5e1) !important;
}
html[data-theme="light"] body[data-site="atlas"] .aw-telemetry-row strong {
  color: var(--ax-ink, #0f172a) !important;
}
html[data-theme="light"] body[data-site="atlas"] .aw-telemetry-row span {
  color: var(--ax-muted, #334155) !important;
}

/* V09: Strict 320px Mobile Viewport Overflow Guard on /stocks/ and Directory Grids */
@media (max-width: 640px) {
  .ax-markets,
  .ax-markets > *,
  .ax-markets section,
  .ax-markets .hub-panel,
  .ax-markets .sym-section,
  .aw-market-width {
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .ax-market-paths,
  .ax-markets .atlas-world-grid,
  .ax-markets .sym-grid,
  .ax-market-popular .hub-bar,
  .ax-market-categories .hub-bar,
  .ax-market-assets .hub-bar,
  .aw-mw-grid,
  .aw-mw-regions,
  .aw-mw-meta {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .ax-markets .sym-card,
  .ax-markets .hub-chip,
  .ax-markets .ax-market-path,
  .ax-markets .atlas-world-card,
  .ax-markets .atlas-world-symbol,
  .aw-mw-card,
  .aw-mw-region-card,
  .aw-mw-pill {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow-wrap: anywhere !important;
  }
}

/* === ATLAS-MASTER-UNIFIED-5-PALETTE-SYSTEM-20261015V5 === */
html[data-atlas-palette="obsidian"],
html[data-atlas-palette="obsidian"] body,
html[data-atlas-palette="obsidian"] body[data-site="atlas"],
html[data-atlas-palette="obsidian"] body.ax-motion-home,
html[data-atlas-palette="obsidian"] body[data-atlas-visual-system] {
  --ax-bg: #07101e !important;
  --ax-surface: #0d1b2e !important;
  --ax-raised: #132742 !important;
  --ax-ink: #f1f5f9 !important;
  --ax-muted: #94a3b8 !important;
  --ax-line: #1e3a5f !important;
  --ax-accent: #38bdf8 !important;
  --ax-accent-bg: rgba(56, 189, 248, 0.14) !important;
  --ax-accent-ink: #04101c !important;
  --ax-positive: #34d399 !important;
  --ax-negative: #fb7185 !important;
  --av-bg: #07101e !important;
  --av-bg-deep: #040a14 !important;
  --av-panel: #0d1b2e !important;
  --av-panel-2: #132742 !important;
  --av-panel-soft: rgba(19, 39, 66, 0.78) !important;
  --av-text: #f1f5f9 !important;
  --av-muted: #94a3b8 !important;
  --av-border: #1e3a5f !important;
  --av-border-strong: rgba(56, 189, 248, 0.38) !important;
  --av-accent: #38bdf8 !important;
  --av-accent-2: #7dd3fc !important;
  --au-bg: #07101e !important;
  --au-paper: #0d1b2e !important;
  --au-paper-2: #132742 !important;
  --au-ink: #f1f5f9 !important;
  --au-muted: #94a3b8 !important;
  --au-line: #1e3a5f !important;
  --au-accent: #38bdf8 !important;
  --au-accent-ink: #04101c !important;
  --coh-bg: #07101e !important;
  --coh-surface: #0d1b2e !important;
  --coh-raised: #132742 !important;
  --coh-ink: #f1f5f9 !important;
  --coh-muted: #94a3b8 !important;
  --coh-line: #1e3a5f !important;
  --coh-accent: #38bdf8 !important;
  --coh-accent-ink: #04101c !important;
  --hf-bg: #07101e !important;
  --hf-surface: #0d1b2e !important;
  --hf-surface-2: #132742 !important;
  --hf-ink: #f1f5f9 !important;
  --hf-muted: #94a3b8 !important;
  --hf-line: #1e3a5f !important;
  --hf-accent: #38bdf8 !important;
  --hf-accent-ink: #04101c !important;
  --private-bg: #07101e !important;
  --private-surface: #0d1b2e !important;
  --private-surface-2: #132742 !important;
  --private-ink: #f1f5f9 !important;
  --private-muted: #94a3b8 !important;
  --private-line: #1e3a5f !important;
  --private-accent: #38bdf8 !important;
  --journey-bg: #07101e !important;
  --journey-surface: #0d1b2e !important;
  --journey-ink: #f1f5f9 !important;
  --journey-muted: #94a3b8 !important;
  --journey-line: #1e3a5f !important;
  --journey-accent: #38bdf8 !important;
  --atlas-shell-bg: #07101e !important;
  --atlas-shell-surface: #0d1b2e !important;
  --atlas-shell-ink: #f1f5f9 !important;
  --atlas-shell-muted: #94a3b8 !important;
  --atlas-shell-border: #1e3a5f !important;
  --atlas-shell-accent: #38bdf8 !important;
  --canvas: #07101e !important;
  --surface: #0d1b2e !important;
  --surface-raised: #132742 !important;
  --text-primary: #f1f5f9 !important;
  --text-secondary: #94a3b8 !important;
  --border-subtle: #1e3a5f !important;
  --accent: #38bdf8 !important;
  color-scheme: dark;
}

html[data-atlas-palette="daylight"],
html[data-atlas-palette="daylight"] body,
html[data-atlas-palette="daylight"] body[data-site="atlas"],
html[data-atlas-palette="daylight"] body.ax-motion-home,
html[data-atlas-palette="daylight"] body[data-atlas-visual-system] {
  --ax-bg: #f4f7fb !important;
  --ax-surface: #ffffff !important;
  --ax-raised: #eaf1f8 !important;
  --ax-ink: #0f172a !important;
  --ax-muted: #334155 !important;
  --ax-line: #cbd5e1 !important;
  --ax-accent: #0369a1 !important;
  --ax-accent-bg: #e0f2fe !important;
  --ax-accent-ink: #ffffff !important;
  --ax-positive: #047857 !important;
  --ax-negative: #be123c !important;
  --av-bg: #f4f7fb !important;
  --av-bg-deep: #e2e8f0 !important;
  --av-panel: #ffffff !important;
  --av-panel-2: #eaf1f8 !important;
  --av-panel-soft: rgba(234, 241, 248, 0.9) !important;
  --av-text: #0f172a !important;
  --av-muted: #334155 !important;
  --av-border: #cbd5e1 !important;
  --av-border-strong: rgba(3, 105, 161, 0.35) !important;
  --av-accent: #0369a1 !important;
  --av-accent-2: #0284c7 !important;
  --au-bg: #f4f7fb !important;
  --au-paper: #ffffff !important;
  --au-paper-2: #eaf1f8 !important;
  --au-ink: #0f172a !important;
  --au-muted: #334155 !important;
  --au-line: #cbd5e1 !important;
  --au-accent: #0369a1 !important;
  --au-accent-ink: #ffffff !important;
  --coh-bg: #f4f7fb !important;
  --coh-surface: #ffffff !important;
  --coh-raised: #eaf1f8 !important;
  --coh-ink: #0f172a !important;
  --coh-muted: #334155 !important;
  --coh-line: #cbd5e1 !important;
  --coh-accent: #0369a1 !important;
  --coh-accent-ink: #ffffff !important;
  --hf-bg: #f4f7fb !important;
  --hf-surface: #ffffff !important;
  --hf-surface-2: #eaf1f8 !important;
  --hf-ink: #0f172a !important;
  --hf-muted: #334155 !important;
  --hf-line: #cbd5e1 !important;
  --hf-accent: #0369a1 !important;
  --hf-accent-ink: #ffffff !important;
  --private-bg: #f4f7fb !important;
  --private-surface: #ffffff !important;
  --private-surface-2: #eaf1f8 !important;
  --private-ink: #0f172a !important;
  --private-muted: #334155 !important;
  --private-line: #cbd5e1 !important;
  --private-accent: #0369a1 !important;
  --journey-bg: #f4f7fb !important;
  --journey-surface: #ffffff !important;
  --journey-ink: #0f172a !important;
  --journey-muted: #334155 !important;
  --journey-line: #cbd5e1 !important;
  --journey-accent: #0369a1 !important;
  --atlas-shell-bg: #f4f7fb !important;
  --atlas-shell-surface: #ffffff !important;
  --atlas-shell-ink: #0f172a !important;
  --atlas-shell-muted: #334155 !important;
  --atlas-shell-border: #cbd5e1 !important;
  --atlas-shell-accent: #0369a1 !important;
  --canvas: #f4f7fb !important;
  --surface: #ffffff !important;
  --surface-raised: #eaf1f8 !important;
  --text-primary: #0f172a !important;
  --text-secondary: #334155 !important;
  --border-subtle: #cbd5e1 !important;
  --accent: #0369a1 !important;
  color-scheme: light;
}

html[data-atlas-palette="emerald"],
html[data-atlas-palette="emerald"] body,
html[data-atlas-palette="emerald"] body[data-site="atlas"],
html[data-atlas-palette="emerald"] body.ax-motion-home,
html[data-atlas-palette="emerald"] body[data-atlas-visual-system] {
  --ax-bg: #041311 !important;
  --ax-surface: #09221e !important;
  --ax-raised: #10332d !important;
  --ax-ink: #ecfdf5 !important;
  --ax-muted: #a7f3d0 !important;
  --ax-line: #1d4d44 !important;
  --ax-accent: #34d399 !important;
  --ax-accent-bg: rgba(52, 211, 153, 0.15) !important;
  --ax-accent-ink: #022c22 !important;
  --ax-positive: #6ee7b7 !important;
  --ax-negative: #fda4af !important;
  --av-bg: #041311 !important;
  --av-bg-deep: #020b0a !important;
  --av-panel: #09221e !important;
  --av-panel-2: #10332d !important;
  --av-panel-soft: rgba(16, 51, 45, 0.8) !important;
  --av-text: #ecfdf5 !important;
  --av-muted: #a7f3d0 !important;
  --av-border: #1d4d44 !important;
  --av-border-strong: rgba(52, 211, 153, 0.4) !important;
  --av-accent: #34d399 !important;
  --av-accent-2: #6ee7b7 !important;
  --au-bg: #041311 !important;
  --au-paper: #09221e !important;
  --au-paper-2: #10332d !important;
  --au-ink: #ecfdf5 !important;
  --au-muted: #a7f3d0 !important;
  --au-line: #1d4d44 !important;
  --au-accent: #34d399 !important;
  --au-accent-ink: #022c22 !important;
  --coh-bg: #041311 !important;
  --coh-surface: #09221e !important;
  --coh-raised: #10332d !important;
  --coh-ink: #ecfdf5 !important;
  --coh-muted: #a7f3d0 !important;
  --coh-line: #1d4d44 !important;
  --coh-accent: #34d399 !important;
  --coh-accent-ink: #022c22 !important;
  --hf-bg: #041311 !important;
  --hf-surface: #09221e !important;
  --hf-surface-2: #10332d !important;
  --hf-ink: #ecfdf5 !important;
  --hf-muted: #a7f3d0 !important;
  --hf-line: #1d4d44 !important;
  --hf-accent: #34d399 !important;
  --hf-accent-ink: #022c22 !important;
  --private-bg: #041311 !important;
  --private-surface: #09221e !important;
  --private-surface-2: #10332d !important;
  --private-ink: #ecfdf5 !important;
  --private-muted: #a7f3d0 !important;
  --private-line: #1d4d44 !important;
  --private-accent: #34d399 !important;
  --journey-bg: #041311 !important;
  --journey-surface: #09221e !important;
  --journey-ink: #ecfdf5 !important;
  --journey-muted: #a7f3d0 !important;
  --journey-line: #1d4d44 !important;
  --journey-accent: #34d399 !important;
  --atlas-shell-bg: #041311 !important;
  --atlas-shell-surface: #09221e !important;
  --atlas-shell-ink: #ecfdf5 !important;
  --atlas-shell-muted: #a7f3d0 !important;
  --atlas-shell-border: #1d4d44 !important;
  --atlas-shell-accent: #34d399 !important;
  --canvas: #041311 !important;
  --surface: #09221e !important;
  --surface-raised: #10332d !important;
  --text-primary: #ecfdf5 !important;
  --text-secondary: #a7f3d0 !important;
  --border-subtle: #1d4d44 !important;
  --accent: #34d399 !important;
  color-scheme: dark;
}

html[data-atlas-palette="cobalt"],
html[data-atlas-palette="cobalt"] body,
html[data-atlas-palette="cobalt"] body[data-site="atlas"],
html[data-atlas-palette="cobalt"] body.ax-motion-home,
html[data-atlas-palette="cobalt"] body[data-atlas-visual-system] {
  --ax-bg: #0e0a05 !important;
  --ax-surface: #181108 !important;
  --ax-raised: #24190b !important;
  --ax-ink: #fef3c7 !important;
  --ax-muted: #d6b88a !important;
  --ax-line: rgba(245, 158, 11, 0.34) !important;
  --ax-accent: #f59e0b !important;
  --ax-accent-bg: rgba(245, 158, 11, 0.16) !important;
  --ax-accent-ink: #120b02 !important;
  --ax-positive: #6ee7b7 !important;
  --ax-negative: #fda4af !important;
  --av-bg: #0e0a05 !important;
  --av-bg-deep: #070502 !important;
  --av-panel: #181108 !important;
  --av-panel-2: #24190b !important;
  --av-panel-soft: rgba(36, 25, 11, 0.85) !important;
  --av-text: #fef3c7 !important;
  --av-muted: #d6b88a !important;
  --av-border: rgba(245, 158, 11, 0.34) !important;
  --av-border-strong: rgba(245, 158, 11, 0.5) !important;
  --av-accent: #f59e0b !important;
  --av-accent-2: #fbbf24 !important;
  --au-bg: #0e0a05 !important;
  --au-paper: #181108 !important;
  --au-paper-2: #24190b !important;
  --au-ink: #fef3c7 !important;
  --au-muted: #d6b88a !important;
  --au-line: rgba(245, 158, 11, 0.34) !important;
  --au-accent: #f59e0b !important;
  --au-accent-ink: #120b02 !important;
  --coh-bg: #0e0a05 !important;
  --coh-surface: #181108 !important;
  --coh-raised: #24190b !important;
  --coh-ink: #fef3c7 !important;
  --coh-muted: #d6b88a !important;
  --coh-line: rgba(245, 158, 11, 0.34) !important;
  --coh-accent: #f59e0b !important;
  --coh-accent-ink: #120b02 !important;
  --hf-bg: #0e0a05 !important;
  --hf-surface: #181108 !important;
  --hf-surface-2: #24190b !important;
  --hf-ink: #fef3c7 !important;
  --hf-muted: #d6b88a !important;
  --hf-line: rgba(245, 158, 11, 0.34) !important;
  --hf-accent: #f59e0b !important;
  --hf-accent-ink: #120b02 !important;
  --private-bg: #0e0a05 !important;
  --private-surface: #181108 !important;
  --private-surface-2: #24190b !important;
  --private-ink: #fef3c7 !important;
  --private-muted: #d6b88a !important;
  --private-line: rgba(245, 158, 11, 0.34) !important;
  --private-accent: #f59e0b !important;
  --journey-bg: #0e0a05 !important;
  --journey-surface: #181108 !important;
  --journey-ink: #fef3c7 !important;
  --journey-muted: #d6b88a !important;
  --journey-line: rgba(245, 158, 11, 0.34) !important;
  --journey-accent: #f59e0b !important;
  --atlas-shell-bg: #0e0a05 !important;
  --atlas-shell-surface: #181108 !important;
  --atlas-shell-ink: #fef3c7 !important;
  --atlas-shell-muted: #d6b88a !important;
  --atlas-shell-border: rgba(245, 158, 11, 0.34) !important;
  --atlas-shell-accent: #f59e0b !important;
  --canvas: #0e0a05 !important;
  --surface: #181108 !important;
  --surface-raised: #24190b !important;
  --text-primary: #fef3c7 !important;
  --text-secondary: #d6b88a !important;
  --border-subtle: rgba(245, 158, 11, 0.34) !important;
  --accent: #f59e0b !important;
  color-scheme: dark;
}

html[data-atlas-palette="ivory"],
html[data-atlas-palette="ivory"] body,
html[data-atlas-palette="ivory"] body[data-site="atlas"],
html[data-atlas-palette="ivory"] body.ax-motion-home,
html[data-atlas-palette="ivory"] body[data-atlas-visual-system] {
  --ax-bg: #f6f2e9 !important;
  --ax-surface: #fffdf8 !important;
  --ax-raised: #ece6d8 !important;
  --ax-ink: #1c1917 !important;
  --ax-muted: #44403c !important;
  --ax-line: #d6cfc0 !important;
  --ax-accent: #0f5c4c !important;
  --ax-accent-bg: #e2efe9 !important;
  --ax-accent-ink: #ffffff !important;
  --ax-positive: #065f46 !important;
  --ax-negative: #9f1239 !important;
  --av-bg: #f6f2e9 !important;
  --av-bg-deep: #e8e1d1 !important;
  --av-panel: #fffdf8 !important;
  --av-panel-2: #ece6d8 !important;
  --av-panel-soft: rgba(236, 230, 216, 0.9) !important;
  --av-text: #1c1917 !important;
  --av-muted: #44403c !important;
  --av-border: #d6cfc0 !important;
  --av-border-strong: rgba(15, 92, 76, 0.35) !important;
  --av-accent: #0f5c4c !important;
  --av-accent-2: #117a65 !important;
  --au-bg: #f6f2e9 !important;
  --au-paper: #fffdf8 !important;
  --au-paper-2: #ece6d8 !important;
  --au-ink: #1c1917 !important;
  --au-muted: #44403c !important;
  --au-line: #d6cfc0 !important;
  --au-accent: #0f5c4c !important;
  --au-accent-ink: #ffffff !important;
  --coh-bg: #f6f2e9 !important;
  --coh-surface: #fffdf8 !important;
  --coh-raised: #ece6d8 !important;
  --coh-ink: #1c1917 !important;
  --coh-muted: #44403c !important;
  --coh-line: #d6cfc0 !important;
  --coh-accent: #0f5c4c !important;
  --coh-accent-ink: #ffffff !important;
  --hf-bg: #f6f2e9 !important;
  --hf-surface: #fffdf8 !important;
  --hf-surface-2: #ece6d8 !important;
  --hf-ink: #1c1917 !important;
  --hf-muted: #44403c !important;
  --hf-line: #d6cfc0 !important;
  --hf-accent: #0f5c4c !important;
  --hf-accent-ink: #ffffff !important;
  --private-bg: #f6f2e9 !important;
  --private-surface: #fffdf8 !important;
  --private-surface-2: #ece6d8 !important;
  --private-ink: #1c1917 !important;
  --private-muted: #44403c !important;
  --private-line: #d6cfc0 !important;
  --private-accent: #0f5c4c !important;
  --journey-bg: #f6f2e9 !important;
  --journey-surface: #fffdf8 !important;
  --journey-ink: #1c1917 !important;
  --journey-muted: #44403c !important;
  --journey-line: #d6cfc0 !important;
  --journey-accent: #0f5c4c !important;
  --atlas-shell-bg: #f6f2e9 !important;
  --atlas-shell-surface: #fffdf8 !important;
  --atlas-shell-ink: #1c1917 !important;
  --atlas-shell-muted: #44403c !important;
  --atlas-shell-border: #d6cfc0 !important;
  --atlas-shell-accent: #0f5c4c !important;
  --canvas: #f6f2e9 !important;
  --surface: #fffdf8 !important;
  --surface-raised: #ece6d8 !important;
  --text-primary: #1c1917 !important;
  --text-secondary: #44403c !important;
  --border-subtle: #d6cfc0 !important;
  --accent: #0f5c4c !important;
  color-scheme: light;
}

/* Force all page shells, heroes, and cards to obey the active palette */
html[data-atlas-palette] body,
html[data-atlas-palette] body[data-site="atlas"],
html[data-atlas-palette] body.ax-motion-home,
html[data-atlas-palette] body[data-atlas-visual-system] {
  background: var(--ax-bg) !important;
  color: var(--ax-ink) !important;
}
html[data-atlas-palette] .ax-header,
html[data-atlas-palette] .atlas-shell-header {
  background: color-mix(in srgb, var(--ax-surface) 94%, transparent) !important;
  border-bottom: 1px solid var(--ax-line) !important;
}
html[data-atlas-palette] .aw-hero-stage,
html[data-atlas-palette] .ask-atlas-hero,
html[data-atlas-palette] .constellation-hero,
html[data-atlas-palette] .ax-home-hero,
html[data-atlas-palette] .au-hero,
html[data-atlas-palette] .av-hero,
html[data-atlas-palette] .private-hero {
  background: linear-gradient(145deg, var(--ax-surface) 0%, var(--ax-raised) 65%, var(--ax-bg) 100%) !important;
  border: 1px solid var(--ax-line) !important;
  color: var(--ax-ink) !important;
}
html[data-atlas-palette] .aw-hero-title {
  background: none !important;
  -webkit-text-fill-color: var(--ax-ink) !important;
  color: var(--ax-ink) !important;
}
html[data-atlas-palette] .aw-hero-sub {
  color: var(--ax-muted) !important;
}
html[data-atlas-palette] .aw-hero-eyebrow {
  background: var(--ax-accent-bg) !important;
  border-color: var(--ax-line) !important;
  color: var(--ax-accent) !important;
}
html[data-atlas-palette] .aw-hero-input-shell,
html[data-atlas-palette] .aw-hero-Telemetry {
  background: var(--ax-surface) !important;
  border-color: var(--ax-line) !important;
  color: var(--ax-ink) !important;
}
html[data-atlas-palette] .aw-hero-input {
  color: var(--ax-ink) !important;
}
html[data-atlas-palette] .aw-hero-chip,
html[data-atlas-palette] .aw-telemetry-row {
  background: var(--ax-raised) !important;
  border-color: var(--ax-line) !important;
  color: var(--ax-ink) !important;
}
html[data-atlas-palette] .aw-hero-chip b {
  color: var(--ax-accent) !important;
}
html[data-atlas-palette] .aw-hero-btn {
  background: var(--ax-accent) !important;
  color: var(--ax-accent-ink) !important;
}

/* Header Theme Studio Button — Always keep label visible on mobile & desktop */
.ax-theme-studio-btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  height: 36px !important;
  padding: 0 11px !important;
  border-radius: 999px !important;
  border: 1px solid var(--ax-line, #1e3a5f) !important;
  background: var(--ax-raised, #132742) !important;
  color: var(--ax-ink, #f1f5f9) !important;
  font: 600 12px/1 var(--ax-font, Inter, sans-serif) !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}
.ax-theme-studio-btn span:not(.ax-theme-studio-swatch) {
  display: inline !important;
}
@media (max-width: 640px) {
  .ax-theme-studio-btn {
    height: 44px !important;
    min-height: 44px !important;
    padding: 0 9px !important;
    font-size: 11.5px !important;
  }
  .ax-theme-studio-btn span:not(.ax-theme-studio-swatch) {
    display: inline !important;
  }
}

/* Fix Hamburger Menu (#atlas-command-map) sticky overlap & style embedded 5-Palette Theme Studio */
.atlas-command-map__sheet {
  background: var(--ax-surface, #0d1b2e) !important;
  color: var(--ax-ink, #f1f5f9) !important;
  border-left: 1px solid var(--ax-line, #1e3a5f) !important;
  display: grid !important;
  grid-template-rows: auto auto minmax(0, 1fr) !important;
  overflow: hidden !important;
}
.atlas-command-map__head {
  position: relative !important;
  top: auto !important;
  z-index: 3 !important;
  background: var(--ax-surface, #0d1b2e) !important;
  border-bottom: 1px solid var(--ax-line, #1e3a5f) !important;
  padding: 16px 18px 12px !important;
}
.atlas-command-search {
  position: relative !important;
  top: auto !important;
  z-index: 3 !important;
  margin: 10px 16px 8px !important;
  background: var(--ax-raised, #132742) !important;
  border: 1px solid var(--ax-line, #1e3a5f) !important;
  border-radius: 10px !important;
}
.atlas-command-map__scroll {
  overflow-y: auto !important;
  padding: 8px 16px 96px !important;
  background: var(--ax-bg, #07101e) !important;
}
.atlas-command-theme-studio {
  background: var(--ax-surface, #0d1b2e) !important;
  border: 1px solid var(--ax-line, #1e3a5f) !important;
  border-radius: 12px !important;
  padding: 12px !important;
  margin-bottom: 14px !important;
}
.atlas-command-theme-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)) !important;
  gap: 8px !important;
  margin-top: 8px !important;
}
.atlas-command-theme-pill {
  display: flex !important;
  align-items: center !important;
  gap: 9px !important;
  width: 100% !important;
  padding: 8px 10px !important;
  border-radius: 9px !important;
  border: 1px solid var(--ax-line, #1e3a5f) !important;
  background: var(--ax-raised, #132742) !important;
  color: var(--ax-ink, #f1f5f9) !important;
  text-align: left !important;
  cursor: pointer !important;
  transition: border-color 0.15s ease, transform 0.12s ease !important;
}
.atlas-command-theme-pill[aria-checked="true"] {
  border-color: var(--ax-accent, #38bdf8) !important;
  box-shadow: 0 0 0 1px var(--ax-accent, #38bdf8) inset !important;
}
.atlas-command-theme-pill__dots {
  display: inline-flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}
.atlas-command-theme-pill__dots i {
  width: 12px !important;
  height: 12px !important;
  border-radius: 999px !important;
  display: inline-block !important;
  border: 1px solid rgba(255,255,255,0.28) !important;
}
.atlas-command-theme-pill__dots i + i {
  margin-left: -4px !important;
}
.atlas-command-theme-pill span strong {
  display: block !important;
  font: 600 12px/1.25 var(--ax-font, Inter, sans-serif) !important;
  color: var(--ax-ink, #f1f5f9) !important;
}
.atlas-command-theme-pill span small {
  display: block !important;
  font: 500 10.5px/1.2 var(--ax-font, Inter, sans-serif) !important;
  color: var(--ax-muted, #94a3b8) !important;
}

/* === ATLAS REALM 4K INSIDE PROFILE & REASONING ARCHITECTURE (2026-10-25RV2) === */
html[data-atlas-palette="obsidian"] {
  --ax-profile-4k-bg: radial-gradient(130% 120% at 12% 0%, rgba(56, 189, 248, 0.12) 0%, rgba(13, 27, 46, 0.66) 52%, rgba(7, 16, 30, 0.74) 100%);
  --ax-profile-4k-card: linear-gradient(165deg, rgba(19, 38, 64, 0.62) 0%, rgba(11, 23, 41, 0.70) 100%);
  --ax-profile-4k-border: rgba(56, 189, 248, 0.16);
  --ax-profile-4k-border-strong: rgba(56, 189, 248, 0.26);
  --ax-profile-4k-shadow: 0 18px 42px -16px rgba(2, 6, 23, 0.56), 0 1px 0 0 rgba(255, 255, 255, 0.08) inset;
  --ax-profile-4k-subsurface: rgba(7, 15, 28, 0.56);
}
html[data-atlas-palette="emerald"] {
  --ax-profile-4k-bg: radial-gradient(130% 120% at 12% 0%, rgba(16, 185, 129, 0.12) 0%, rgba(8, 32, 29, 0.66) 52%, rgba(4, 19, 17, 0.74) 100%);
  --ax-profile-4k-card: linear-gradient(165deg, rgba(13, 47, 42, 0.62) 0%, rgba(7, 27, 24, 0.70) 100%);
  --ax-profile-4k-border: rgba(52, 211, 153, 0.16);
  --ax-profile-4k-border-strong: rgba(52, 211, 153, 0.26);
  --ax-profile-4k-shadow: 0 18px 42px -16px rgba(2, 12, 10, 0.56), 0 1px 0 0 rgba(255, 255, 255, 0.08) inset;
  --ax-profile-4k-subsurface: rgba(4, 18, 15, 0.56);
}
html[data-atlas-palette="cobalt"] {
  --ax-profile-4k-bg: radial-gradient(130% 120% at 12% 0%, rgba(245, 158, 11, 0.14) 0%, rgba(24, 17, 8, 0.68) 52%, rgba(14, 10, 5, 0.76) 100%);
  --ax-profile-4k-card: linear-gradient(165deg, rgba(36, 25, 11, 0.64) 0%, rgba(22, 15, 7, 0.72) 100%);
  --ax-profile-4k-border: rgba(245, 158, 11, 0.18);
  --ax-profile-4k-border-strong: rgba(251, 191, 36, 0.28);
  --ax-profile-4k-shadow: 0 18px 42px -16px rgba(10, 6, 2, 0.60), 0 1px 0 0 rgba(254, 243, 199, 0.08) inset;
  --ax-profile-4k-subsurface: rgba(18, 12, 5, 0.58);
}
html[data-atlas-palette="daylight"] {
  --ax-profile-4k-bg: radial-gradient(130% 120% at 12% 0%, rgba(2, 132, 199, 0.08) 0%, rgba(255, 255, 255, 0.78) 58%, rgba(241, 245, 249, 0.84) 100%);
  --ax-profile-4k-card: linear-gradient(165deg, rgba(255, 255, 255, 0.78) 0%, rgba(248, 250, 252, 0.84) 100%);
  --ax-profile-4k-border: rgba(2, 132, 199, 0.15);
  --ax-profile-4k-border-strong: rgba(2, 132, 199, 0.26);
  --ax-profile-4k-shadow: 0 16px 36px -14px rgba(15, 23, 42, 0.10), 0 1px 0 0 rgba(255, 255, 255, 0.85) inset;
  --ax-profile-4k-subsurface: rgba(241, 245, 249, 0.76);
}
html[data-atlas-palette="ivory"] {
  --ax-profile-4k-bg: radial-gradient(130% 120% at 12% 0%, rgba(180, 83, 9, 0.08) 0%, rgba(255, 253, 248, 0.80) 58%, rgba(243, 237, 224, 0.86) 100%);
  --ax-profile-4k-card: linear-gradient(165deg, rgba(255, 253, 248, 0.80) 0%, rgba(247, 242, 231, 0.85) 100%);
  --ax-profile-4k-border: rgba(180, 83, 9, 0.16);
  --ax-profile-4k-border-strong: rgba(180, 83, 9, 0.26);
  --ax-profile-4k-shadow: 0 16px 36px -14px rgba(28, 25, 23, 0.10), 0 1px 0 0 rgba(255, 255, 255, 0.85) inset;
  --ax-profile-4k-subsurface: rgba(243, 237, 224, 0.76);
}

/* Container & Hero Surfaces inside /stocks/<slug>/ */
[data-atlas-public-profile-truth],
article.atlas-market-profile,
.atlas-listing-record,
article.wrap[data-atlas-tear-sheet],
main.reporting-detail {
  max-width: 1320px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

[data-atlas-public-profile-truth] .profile-identity {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  margin-bottom: 12px !important;
}

[data-atlas-public-profile-truth] .profile-identity span {
  display: inline-flex !important;
  align-items: center !important;
  padding: 5px 11px !important;
  border-radius: 999px !important;
  font: 600 11.5px/1.25 var(--ax-mono, "JetBrains Mono", monospace) !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  background: var(--ax-profile-4k-subsurface, rgba(7, 15, 28, 0.72)) !important;
  color: var(--ax-ink, #f8fafc) !important;
  border: 1px solid var(--ax-profile-4k-border, rgba(56, 189, 248, 0.26)) !important;
}

/* 4K Command & Emblem Strip at top of Inside Profile */
.atlas-profile-4k-command-bar {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  padding: 18px 22px !important;
  margin: 0 0 20px 0 !important;
  border-radius: 20px !important;
  background: var(--ax-profile-4k-bg, var(--ax-surface, #0c1729)) !important;
  border: 1px solid var(--ax-profile-4k-border, rgba(56, 189, 248, 0.26)) !important;
  box-shadow: var(--ax-profile-4k-shadow, 0 20px 46px -16px rgba(2, 6, 23, 0.72)) !important;
  box-sizing: border-box !important;
  position: relative !important;
  overflow: hidden !important;
}

.atlas-profile-4k-command-bar__left {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  min-width: 0 !important;
  flex: 1 1 300px !important;
}

.atlas-profile-4k-emblem {
  width: 60px !important;
  height: 60px !important;
  min-width: 60px !important;
  border-radius: 16px !important;
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  background: var(--ax-profile-4k-subsurface, rgba(7, 15, 28, 0.78)) !important;
  border: 1px solid var(--ax-profile-4k-border-strong, rgba(56, 189, 248, 0.45)) !important;
  box-shadow: 0 10px 24px -8px rgba(2, 6, 23, 0.55), 0 1px 0 0 rgba(255, 255, 255, 0.12) inset !important;
  overflow: hidden !important;
  position: relative !important;
  flex-shrink: 0 !important;
}

.atlas-profile-4k-emblem img.atlas-brand-svg {
  width: 38px !important;
  height: 38px !important;
  object-fit: contain !important;
  display: block !important;
}

.atlas-profile-4k-emblem__mono {
  font: 700 17px/1.05 var(--ax-display, "Space Grotesk", Inter, sans-serif) !important;
  letter-spacing: -0.02em !important;
  color: var(--ax-ink, #f8fafc) !important;
}

.atlas-profile-4k-emblem__venue {
  font: 600 9px/1.1 var(--ax-mono, "JetBrains Mono", monospace) !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--ax-accent, #38bdf8) !important;
  margin-top: 3px !important;
}

.atlas-profile-4k-meta {
  display: flex !important;
  flex-direction: column !important;
  gap: 5px !important;
  min-width: 0 !important;
}

.atlas-profile-4k-meta__eyebrow {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  font: 600 11px/1.2 var(--ax-mono, "JetBrains Mono", monospace) !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--ax-accent, #38bdf8) !important;
}

.atlas-profile-4k-meta__badge {
  display: inline-flex !important;
  align-items: center !important;
  padding: 3px 8px !important;
  border-radius: 6px !important;
  background: color-mix(in srgb, var(--ax-accent, #38bdf8) 14%, transparent) !important;
  border: 1px solid color-mix(in srgb, var(--ax-accent, #38bdf8) 32%, transparent) !important;
  color: var(--ax-ink, #f8fafc) !important;
  font: 600 10.5px/1.2 var(--ax-mono, "JetBrains Mono", monospace) !important;
}

.atlas-profile-4k-meta__title {
  font: 700 clamp(1.15rem, 2vw, 1.55rem)/1.2 var(--ax-display, "Space Grotesk", Inter, sans-serif) !important;
  color: var(--ax-ink, #f8fafc) !important;
  letter-spacing: -0.02em !important;
  margin: 0 !important;
  overflow-wrap: anywhere !important;
}

.atlas-profile-4k-meta__sub {
  font: 400 13px/1.45 var(--ax-font, Inter, sans-serif) !important;
  color: var(--ax-muted, #94a3b8) !important;
  margin: 0 !important;
}

.atlas-profile-4k-command-bar__actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
}

.atlas-profile-4k-btn,
button[data-atlas-realm-depth-toggle] {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 44px !important;
  padding: 0 15px !important;
  border-radius: 11px !important;
  font: 600 12.5px/1.2 var(--ax-font, Inter, sans-serif) !important;
  color: var(--ax-ink, #f8fafc) !important;
  background: var(--ax-profile-4k-subsurface, rgba(7, 15, 28, 0.78)) !important;
  border: 1px solid var(--ax-profile-4k-border, rgba(56, 189, 248, 0.28)) !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease !important;
  box-sizing: border-box !important;
}

.atlas-profile-4k-btn:hover,
button[data-atlas-realm-depth-toggle]:hover {
  border-color: var(--ax-profile-4k-border-strong, rgba(56, 189, 248, 0.55)) !important;
  transform: translateY(-1px) !important;
}

.atlas-profile-4k-btn--primary {
  background: color-mix(in srgb, var(--ax-accent, #38bdf8) 18%, var(--ax-surface, #0c1729)) !important;
  border-color: var(--ax-profile-4k-border-strong, rgba(56, 189, 248, 0.52)) !important;
}

/* 4K Instrument Reasoning & Evidence Architecture Deck */
.atlas-profile-reasoning-deck {
  margin: 22px 0 28px 0 !important;
  padding: 24px !important;
  border-radius: 22px !important;
  background: var(--ax-profile-4k-bg, var(--ax-surface, #0c1729)) !important;
  border: 1px solid var(--ax-profile-4k-border, rgba(56, 189, 248, 0.26)) !important;
  box-shadow: var(--ax-profile-4k-shadow, 0 20px 46px -16px rgba(2, 6, 23, 0.72)) !important;
  box-sizing: border-box !important;
  position: relative !important;
  overflow: hidden !important;
}

.atlas-profile-reasoning-header {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 14px !important;
  margin-bottom: 20px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid var(--ax-profile-4k-border, rgba(56, 189, 248, 0.2)) !important;
}

.atlas-profile-reasoning-header__eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  font: 600 11px/1.2 var(--ax-mono, "JetBrains Mono", monospace) !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  color: var(--ax-accent, #38bdf8) !important;
  margin-bottom: 6px !important;
}

.atlas-profile-reasoning-header__title {
  font: 700 clamp(1.2rem, 2.1vw, 1.6rem)/1.22 var(--ax-display, "Space Grotesk", Inter, sans-serif) !important;
  color: var(--ax-ink, #f8fafc) !important;
  letter-spacing: -0.02em !important;
  margin: 0 !important;
}

.atlas-profile-reasoning-header__lede {
  font: 400 13.5px/1.55 var(--ax-font, Inter, sans-serif) !important;
  color: var(--ax-muted, #94a3b8) !important;
  max-width: 68ch !important;
  margin: 6px 0 0 0 !important;
}

.atlas-profile-reasoning-header__stamp {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  font: 600 11px/1.2 var(--ax-mono, "JetBrains Mono", monospace) !important;
  color: var(--ax-ink, #f8fafc) !important;
  background: var(--ax-profile-4k-subsurface, rgba(7, 15, 28, 0.72)) !important;
  border: 1px solid var(--ax-profile-4k-border, rgba(56, 189, 248, 0.26)) !important;
}

.atlas-profile-reasoning-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)) !important;
  gap: 18px !important;
  box-sizing: border-box !important;
}

.atlas-profile-reasoning-card {
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 14px !important;
  padding: 20px !important;
  border-radius: 18px !important;
  background: var(--ax-profile-4k-card, var(--ax-surface-2, #112038)) !important;
  border: 1px solid var(--ax-profile-4k-border, rgba(56, 189, 248, 0.24)) !important;
  box-shadow: 0 14px 32px -14px rgba(2, 6, 23, 0.5), 0 1px 0 0 rgba(255, 255, 255, 0.07) inset !important;
  box-sizing: border-box !important;
  position: relative !important;
  overflow: hidden !important;
  transform-style: preserve-3d !important;
  transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, box-shadow 0.22s ease !important;
}

.atlas-profile-reasoning-card:hover {
  border-color: var(--ax-profile-4k-border-strong, rgba(56, 189, 248, 0.48)) !important;
}

.atlas-profile-reasoning-card__top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
}

.atlas-profile-reasoning-card__index {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  font: 700 11px/1.2 var(--ax-mono, "JetBrains Mono", monospace) !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--ax-accent, #38bdf8) !important;
}

.atlas-profile-reasoning-card__pill {
  display: inline-flex !important;
  align-items: center !important;
  padding: 4px 9px !important;
  border-radius: 999px !important;
  font: 600 10.5px/1.2 var(--ax-mono, "JetBrains Mono", monospace) !important;
  letter-spacing: 0.04em !important;
  color: var(--ax-ink, #f8fafc) !important;
  background: var(--ax-profile-4k-subsurface, rgba(7, 15, 28, 0.72)) !important;
  border: 1px solid var(--ax-profile-4k-border, rgba(56, 189, 248, 0.24)) !important;
}

.atlas-profile-reasoning-card__title {
  font: 700 16.5px/1.3 var(--ax-display, "Space Grotesk", Inter, sans-serif) !important;
  color: var(--ax-ink, #f8fafc) !important;
  letter-spacing: -0.015em !important;
  margin: 0 !important;
}

.atlas-profile-reasoning-card__body {
  font: 400 13.5px/1.62 var(--ax-font, Inter, sans-serif) !important;
  color: var(--ax-muted, #94a3b8) !important;
  margin: 0 !important;
}

.atlas-profile-reasoning-card__body strong {
  color: var(--ax-ink, #f8fafc) !important;
  font-weight: 600 !important;
}

.atlas-profile-reasoning-card__specs {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)) !important;
  gap: 8px !important;
  padding-top: 12px !important;
  border-top: 1px solid color-mix(in srgb, var(--ax-profile-4k-border, rgba(56, 189, 248, 0.24)) 70%, transparent) !important;
  margin-top: auto !important;
}

.atlas-profile-reasoning-spec {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
  padding: 8px 10px !important;
  border-radius: 10px !important;
  background: var(--ax-profile-4k-subsurface, rgba(7, 15, 28, 0.65)) !important;
  border: 1px solid color-mix(in srgb, var(--ax-profile-4k-border, rgba(56, 189, 248, 0.22)) 65%, transparent) !important;
  min-width: 0 !important;
}

.atlas-profile-reasoning-spec span {
  font: 600 9.5px/1.2 var(--ax-mono, "JetBrains Mono", monospace) !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  color: var(--ax-muted, #94a3b8) !important;
}

.atlas-profile-reasoning-spec strong {
  font: 600 11.5px/1.3 var(--ax-mono, "JetBrains Mono", monospace) !important;
  font-variant-numeric: tabular-nums !important;
  color: var(--ax-ink, #f8fafc) !important;
  overflow-wrap: anywhere !important;
}

.atlas-profile-reasoning-card__actions {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  padding-top: 12px !important;
  border-top: 1px solid color-mix(in srgb, var(--ax-profile-4k-border, rgba(56, 189, 248, 0.24)) 70%, transparent) !important;
  margin-top: auto !important;
}

.atlas-profile-reasoning-cta {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;
  min-height: 44px !important;
  padding: 0 14px !important;
  border-radius: 11px !important;
  font: 600 12px/1.2 var(--ax-font, Inter, sans-serif) !important;
  color: var(--ax-ink, #f8fafc) !important;
  background: var(--ax-profile-4k-subsurface, rgba(7, 15, 28, 0.78)) !important;
  border: 1px solid var(--ax-profile-4k-border, rgba(56, 189, 248, 0.28)) !important;
  text-decoration: none !important;
  transition: border-color 0.16s ease, transform 0.16s ease !important;
  box-sizing: border-box !important;
}

.atlas-profile-reasoning-cta--primary {
  background: color-mix(in srgb, var(--ax-accent, #38bdf8) 18%, var(--ax-surface, #0c1729)) !important;
  border-color: var(--ax-profile-4k-border-strong, rgba(56, 189, 248, 0.5)) !important;
}

.atlas-profile-reasoning-cta:hover {
  border-color: var(--ax-profile-4k-border-strong, rgba(56, 189, 248, 0.55)) !important;
  transform: translateY(-1px) !important;
}

/* Upgrade All Existing Inside Profile Cards (.profile-card, .ax-listing-card, .rep-stat, .atlas-market-stats, .atlas-market-chart) to 4K */
[data-atlas-public-profile-truth] .profile-card,
.atlas-listing-record .ax-listing-card,
article.atlas-market-profile > header.atlas-market-cover,
article.atlas-market-profile .atlas-static-chart,
article.atlas-market-profile .atlas-market-stats > div,
main.reporting-detail .rep-stat,
[data-atlas-public-profile-truth] .atlas-market-chart {
  background: var(--ax-profile-4k-card, var(--ax-surface, #0c1729)) !important;
  color: var(--ax-ink, #f8fafc) !important;
  border: 1px solid var(--ax-profile-4k-border, rgba(56, 189, 248, 0.26)) !important;
  border-radius: 18px !important;
  box-shadow: var(--ax-profile-4k-shadow, 0 18px 42px -16px rgba(2, 6, 23, 0.65)) !important;
  padding: 20px !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease, transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.22s ease !important;
}

[data-atlas-public-profile-truth] .profile-card + .profile-card {
  margin-top: 16px !important;
}

[data-atlas-public-profile-truth] .profile-card:hover,
.atlas-listing-record .ax-listing-card:hover {
  border-color: var(--ax-profile-4k-border-strong, rgba(56, 189, 248, 0.48)) !important;
}

[data-atlas-public-profile-truth] .profile-card h2,
[data-atlas-public-profile-truth] .profile-card h3,
.atlas-listing-record .ax-listing-card h2,
.atlas-listing-record .ax-listing-card h3 {
  font-family: var(--ax-display, "Space Grotesk", Inter, sans-serif) !important;
  color: var(--ax-ink, #f8fafc) !important;
  letter-spacing: -0.015em !important;
}

[data-atlas-public-profile-truth] .profile-state {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 6px 12px !important;
  border-radius: 999px !important;
  font: 600 11.5px/1.3 var(--ax-mono, "JetBrains Mono", monospace) !important;
  background: var(--ax-profile-4k-subsurface, rgba(7, 15, 28, 0.72)) !important;
  color: var(--ax-accent, #38bdf8) !important;
  border: 1px solid var(--ax-profile-4k-border, rgba(56, 189, 248, 0.26)) !important;
}

/* 3D Depth Colour Sequencing on Inside Profile Cards (Zero Awkward Tilt) */
html:not([data-atlas-realm-depth="flat"]) [data-depth-card="realm"][data-tilt-active="1"] {
  transform: none !important;
}

html[data-atlas-realm-depth="flat"] [data-depth-card="realm"],
html[data-atlas-motion="reduced"] [data-depth-card="realm"] {
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  [data-depth-card="realm"],
  .atlas-profile-reasoning-card,
  [data-atlas-public-profile-truth] .profile-card {
    transform: none !important;
    transition: none !important;
  }
}

/* Responsive Breakpoints (1024px, 768px, 390px, 320px) */
@media (max-width: 960px) {
  .atlas-profile-reasoning-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .atlas-profile-4k-command-bar {
    padding: 15px 16px !important;
    border-radius: 16px !important;
  }
  .atlas-profile-reasoning-deck {
    padding: 16px !important;
    border-radius: 18px !important;
    margin: 16px 0 22px 0 !important;
  }
  .atlas-profile-reasoning-card {
    padding: 16px !important;
    border-radius: 15px !important;
  }
  .atlas-profile-reasoning-card__specs {
    grid-template-columns: 1fr !important;
  }
  [data-atlas-public-profile-truth] .profile-card,
  .atlas-listing-record .ax-listing-card {
    padding: 22px 22px 26px !important;
    border-radius: 16px !important;
  }
}

@media (max-width: 420px) {
  .atlas-profile-4k-command-bar__left {
    flex-basis: 100% !important;
  }
  .atlas-profile-4k-command-bar__actions {
    width: 100% !important;
  }
  .atlas-profile-4k-command-bar__actions > * {
    flex: 1 1 auto !important;
  }
  .atlas-profile-reasoning-card__actions > .atlas-profile-reasoning-cta {
    width: 100% !important;
  }
}


/* ==========================================================================
   INSIDE PROFILE LAYOUT FIX, COINGECKO PILL FIX & ARGON 4 3D DEPTH (2026-10-27)
   ========================================================================== */
/* Fix 1: Hide redundant legacy .profile-nav when modern .fc-mobile-topbar shell is active */
body[data-atlas-public-profile-truth]:has(> .fc-mobile-topbar) > nav.profile-nav {
  display: none !important;
}

/* Fix 2: Ensure .profile-identity span never squishes 'CoinGecko ID' and '<strong>abey</strong>' into 'IDABEY' */
[data-atlas-public-profile-truth] .profile-identity span {
  gap: 6px !important;
}
[data-atlas-public-profile-truth] .profile-identity span strong {
  color: var(--ax-accent, #38bdf8) !important;
  font-weight: 700 !important;
}

/* Fix 3: Emblem venue label never truncates COINGECKO to COINGECK */
.atlas-profile-4k-emblem {
  width: 68px !important;
  height: 68px !important;
  min-width: 68px !important;
  padding: 4px !important;
}
.atlas-profile-4k-emblem__venue {
  font-size: 8px !important;
  letter-spacing: 0.05em !important;
  max-width: 62px !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}
.atlas-profile-4k-emblem img.atlas-brand-svg,
.atlas-profile-4k-emblem img.atlas-emblem-verified-logo {
  width: 44px !important;
  height: 44px !important;
  object-fit: contain !important;
  border-radius: 10px !important;
  display: block !important;
}

/* Fix 4: Cohesive .realm-cover (Hero + Quote Card) layout inside <main class="profile-main"> */
[data-atlas-public-profile-truth] .realm-cover {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) !important;
  gap: 20px !important;
  align-items: stretch !important;
  margin-bottom: 22px !important;
}
[data-atlas-public-profile-truth] .realm-cover > header.profile-hero {
  background: var(--ax-profile-4k-card, var(--ax-surface, #0c1729)) !important;
  border: 1px solid var(--ax-profile-4k-border, rgba(56, 189, 248, 0.26)) !important;
  border-radius: 18px !important;
  padding: 22px !important;
  margin: 0 !important;
  box-shadow: var(--ax-profile-4k-shadow) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}
[data-atlas-public-profile-truth] .realm-cover > .profile-card {
  margin: 0 !important;
}
@media (max-width: 860px) {
  [data-atlas-public-profile-truth] .realm-cover {
    grid-template-columns: 1fr !important;
  }
}

/* Fix 5: Clean Translucent Ambient Depth on Inside Profile Cards (Zero Bottom Lip Line) */
html:not([data-atlas-realm-depth="flat"]) [data-depth-card="realm"] {
  transform-style: flat !important;
  will-change: box-shadow, border-color !important;
  transform: none !important;
  border-color: var(--ax-profile-4k-border-strong, rgba(56, 189, 248, 0.26)) !important;
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.10) inset,
    0 18px 42px -14px rgba(2, 6, 23, 0.52),
    0 0 24px -8px color-mix(in srgb, var(--ax-accent, #38bdf8) 16%, transparent) !important;
}

html:not([data-atlas-realm-depth="flat"]) [data-depth-card="realm"]::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  border-radius: inherit !important;
  pointer-events: none !important;
  background: radial-gradient(360px circle at var(--glare-x, 24%) var(--glare-y, 18%), color-mix(in srgb, var(--ax-accent, #38bdf8) 18%, rgba(255,255,255,0.08)), transparent 62%) !important;
  z-index: 0 !important;
}

html[data-atlas-realm-depth="flat"] [data-depth-card="realm"] {
  transform: none !important;
  box-shadow: 0 4px 14px rgba(2, 6, 23, 0.25) !important;
  border-color: var(--ax-profile-4k-border, rgba(56, 189, 248, 0.22)) !important;
}
html[data-atlas-realm-depth="flat"] [data-depth-card="realm"]::after {
  display: none !important;
}

/* Argon 4 Mini 3D Orbital Canvas inside Command Bar & Directory Hero */
.atlas-argon-mini-globe {
  width: 64px !important;
  height: 64px !important;
  min-width: 64px !important;
  border-radius: 16px !important;
  border: 1px solid var(--ax-profile-4k-border-strong, rgba(56, 189, 248, 0.45)) !important;
  background: radial-gradient(circle at 35% 30%, rgba(56, 189, 248, 0.22), rgba(5, 12, 24, 0.92)) !important;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.16) !important;
  display: block !important;
  flex-shrink: 0 !important;
}
