.atlas-page {
  color-scheme:light;
  --ax-bg:#ffffff; --ax-panel:#f0f0f0; --ax-line:#c8c8c8;
  --ax-muted:#505050; --ax-text:#111111; --ax-surface:#e8e8e8;
  --ax-blue:#0078d7; --ax-focus:#0078d7; --ax-notice:#b50d1a;
  --ax-grid:#a0a0a022; --ax-sea:#f0f0f0; --ax-land:#a0a0a0;
  --ax-border:#707070; --ax-route:#0078d7; --ax-marker:#e81123; --ax-selection:#80bbea;
}
[data-atlas-theme="dark"] .atlas-page {
  color-scheme:dark;
  --ax-bg:#0b151e; --ax-panel:#12212c; --ax-line:#2e414e;
  --ax-muted:#a2b4c2; --ax-text:#e5edf2; --ax-surface:#162733;
  --ax-blue:#9ac8ff; --ax-focus:#badbff; --ax-notice:#f0d8a5;
  --ax-grid:#779bb117; --ax-sea:#112a3a; --ax-land:#37566b;
  --ax-border:#7493a7; --ax-route:#83bcf3; --ax-marker:#c6e5ff; --ax-selection:#6199c0;
}
/* Atlas defaults to light; only an explicit saved choice enables dark. */
/* Story-led workspace. Shared primitives are opt-in via foundation.css. */
.atlas-page { background:var(--ax-bg); color:var(--ax-text); min-height:100vh; }
.atlas-page :is(a,button,input,select):focus-visible { outline:2px solid var(--ax-focus); outline-offset:4px; }
.ax-sr,.ax-loading-accessible { position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.ax-header { min-height:80px; padding:18px 32px; display:flex; align-items:center; justify-content:space-between; gap:24px; border-bottom:1px solid var(--ax-line); }
.ax-header .gr-brand { font-size:20px; }
.ax-header .gr-brand svg { width:32px; height:32px; stroke:currentColor; stroke-width:1; }
.ax-header .gr-brand small { color:var(--ax-muted); }
.ax-header__edition { font-size:11px; text-transform:uppercase; letter-spacing:.06em; }
.ax-header__edition i,.ax-footer i { display:inline-block; width:5px; height:5px; border-radius:50%; background:var(--ax-blue); margin-right:8px; }
.ax-header nav { display:flex; align-items:center; gap:20px; font-size:12px; }
.ax-theme-toggle,.ax-story-actions button { border:1px solid var(--ax-line); border-radius:3px; background:var(--ax-panel); padding:9px 11px; font:inherit; cursor:pointer; }
.ax-workspace { display:grid; grid-template-columns:225px minmax(0,1fr) 340px; grid-template-rows:auto minmax(510px,70vh) auto; gap:22px; padding:28px 32px 20px; max-width:1900px; margin-inline:auto; }
.ax-heading { grid-column:1/-1; display:flex; justify-content:space-between; gap:20px; align-items:center; }
.ax-heading h1 { font-size:28px; margin-top:10px; letter-spacing:-.035em; }
.ax-panel-toggle { cursor:pointer; font-size:12px; padding:9px 12px; border:1px solid var(--ax-line); background:var(--ax-panel); border-radius:3px; }
.ax-panel { background:var(--ax-panel); border:1px solid var(--ax-line); border-radius:3px; padding:18px; min-width:0; }
.ax-panel__bar { display:flex; justify-content:space-between; gap:12px; padding-bottom:16px; border-bottom:1px solid var(--ax-line); margin-bottom:16px; }
.atlas-page .ax-panel__bar h2 { font-size:11px; letter-spacing:.06em; line-height:1.6; }
.ax-country { display:flex; flex-direction:column; overflow:hidden; }
.ax-country__form label { display:block; font-size:11px; margin:10px 0 6px; }
.ax-search { display:flex; align-items:center; gap:5px; border:1px solid var(--ax-line); background:var(--ax-bg); border-radius:3px; padding:6px 8px; }
.ax-search input { width:100%; min-width:0; background:transparent; border:0; color:inherit; font:13px var(--gr-font); line-height:1.8; }
.ax-search kbd { font:10px var(--gr-mono); color:var(--ax-muted); }
.ax-country select { width:100%; min-width:0; padding:8px; color:inherit; background:var(--ax-bg); border:1px solid var(--ax-line); border-radius:3px; font:12px var(--gr-font); }
.ax-search-status { font-size:10px; color:var(--ax-muted); min-height:18px; margin-top:8px!important; }
.ax-country-list { overflow:auto; margin:12px -6px 0; flex:1; min-height:100px; scrollbar-width:thin; }
.ax-country-option { display:flex; align-items:center; gap:9px; width:100%; background:transparent; border:0; border-bottom:1px solid var(--ax-line); padding:10px 6px; cursor:pointer; text-align:left; font-size:12px; }
.ax-country-option small { margin-left:auto; color:var(--ax-muted); font-size:9px; }
.ax-country-option[aria-pressed="true"] { color:var(--ax-blue); background:var(--ax-surface); box-shadow:inset 2px 0 var(--ax-blue); }
.ax-country-option:hover,.ax-theme-toggle:hover { background:var(--ax-surface); }
.ax-flag { width:24px; height:16px; object-fit:cover; border:1px solid var(--ax-line); flex-shrink:0; }
.ax-country__link { display:block; font-size:12px; color:var(--ax-blue)!important; padding-top:16px; }
.ax-stage { min-width:0; position:relative; isolation:isolate; overflow:hidden; background-image:radial-gradient(var(--ax-grid) .7px,transparent .7px); background-size:23px 23px; }
.ax-earth-shell { position:absolute; left:50%; top:50%; transform:translate(-50%,-50%); width:min(100%,max(510px,65vh)); max-width:800px; aspect-ratio:1; }
.ax-earth { position:absolute; inset:0; opacity:0; transition:opacity .5s; touch-action:pan-y; }
.is-ready .ax-earth { opacity:1; }
.ax-fallback { position:absolute; inset:0; width:100%; height:100%; }
.ax-fallback > circle { fill:var(--ax-sea); }
.ax-fallback > g { stroke:var(--ax-border); }
.is-ready .ax-fallback { visibility:hidden; }
.ax-stage__rings { position:absolute; inset:8%; border:1px dashed var(--ax-line); border-radius:50%; pointer-events:none; opacity:.5; }
.ax-graticule { position:absolute; inset:18px auto 18px 8px; display:flex; flex-direction:column; justify-content:space-between; font-size:9px; color:var(--ax-muted); pointer-events:none; }
.ax-crosshair { position:absolute; font-size:18px; color:var(--ax-muted); pointer-events:none; }
.ax-crosshair--tl { top:8px; left:8px; }.ax-crosshair--br { right:8px; bottom:58px; }
.ax-stage__hint { position:absolute; bottom:28px; left:0; right:0; text-align:center; font-size:10px; color:var(--ax-muted); padding:0 15px; }
.ax-coordinates { position:absolute; bottom:5px; left:12px; right:12px; display:flex; justify-content:space-between; gap:10px; font-size:9px; color:var(--ax-muted); pointer-events:none; }
.ax-coordinates span:last-child { max-width:200px; text-align:right; }
.ax-map-legend { position:absolute; top:8px; left:28px; right:15px; text-align:center; font-size:9px; color:var(--ax-muted); pointer-events:none; }
.ax-country-tag { display:flex; align-items:center; gap:7px; padding:7px 10px; margin:0 0 0 12px; border:1px solid var(--ax-blue); border-radius:3px; background:var(--ax-panel); color:var(--ax-text); font:12px var(--gr-font); white-space:nowrap; box-shadow:0 4px 18px #0002; pointer-events:none; }
.ax-country-tag small { font-size:9px; color:var(--ax-muted); }
.ax-route-note { position:absolute; bottom:48px; left:15px; right:15px; text-align:center; font-size:9px; color:var(--ax-muted); pointer-events:none; }
.ax-inspector { overflow:auto; scrollbar-width:thin; }
.ax-context-title { font-size:20px; line-height:1.3!important; letter-spacing:-.02em!important; }
.ax-context-empty { font-size:13px; color:var(--ax-muted); }
.ax-context-label,.ax-context-group h3 { font-size:10px; letter-spacing:.07em!important; text-transform:uppercase; line-height:1.6!important; margin:16px 0 7px!important; color:var(--ax-muted); }
.ax-tags { display:flex; flex-wrap:wrap; gap:6px; }
.ax-tag { display:inline-flex; align-items:center; gap:6px; max-width:100%; overflow-wrap:anywhere; padding:5px 7px; border:1px solid var(--ax-line); background:var(--ax-bg); border-radius:2px; font-size:11px; line-height:1.4; }
button.ax-tag { cursor:pointer; }.ax-tag:is(a,button):hover { border-color:var(--ax-blue); color:var(--ax-blue); }
.ax-tag .ax-flag { width:18px; height:12px; }
.ax-reporting { grid-column:3; grid-row:2; min-width:0; overflow:auto; scrollbar-width:thin; }
.ax-reporting__heading { display:flex; justify-content:space-between; align-items:center; gap:15px; }
.ax-reporting__heading h2 { font-size:25px; margin-top:8px; letter-spacing:-.025em; }
.ax-reporting__heading > a { font-size:12px; color:var(--ax-blue); }
.ax-reporting__status { min-height:35px; padding:10px 0; color:var(--ax-muted); font-size:12px; }
.ax-feed-status { font-size:12px; }
.ax-stories { display:flex; flex-direction:column; margin-bottom:16px; }
.ax-story { min-width:0; border-bottom:1px solid var(--ax-line); background:var(--ax-panel); }
.ax-story.is-active { box-shadow:inset 3px 0 var(--ax-blue); background:var(--ax-surface); }
.ax-story-image { display:block; width:100%; aspect-ratio:16/9; overflow:hidden; margin-bottom:16px; background:var(--ax-surface); }
.ax-story-image img { width:100%; height:100%; object-fit:cover; }
.ax-story-meta { margin:10px 0!important; font-size:11px; color:var(--ax-muted); }
.ax-story > h3 { font-size:22px; line-height:1.28!important; letter-spacing:-.025em!important; margin:4px 0 12px!important; }
.ax-story > h3 a:hover { color:var(--ax-blue); }
.ax-story-summary { font-size:13px; line-height:1.65; color:var(--ax-muted); }
.ax-story-actions { width:100%; display:flex; justify-content:space-between; align-items:center; gap:10px; margin-top:auto; padding-top:22px; font-size:12px; }
.ax-story-actions button[aria-pressed="true"] { color:var(--ax-blue); border-color:var(--ax-blue); }
.ax-country__note { font-size:11px; color:var(--ax-muted); margin-top:15px!important; }
.ax-retry,.ax-button { cursor:pointer; padding:10px 14px; border:1px solid var(--ax-line); background:var(--ax-surface); font:12px var(--gr-font); margin-bottom:12px; }
.ax-notice { font-size:12px; color:var(--ax-notice); }
.ax-dock { grid-column:1/-1; grid-row:3; display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:6px; border-top:1px solid var(--ax-line); padding:14px; }
.ax-dock button { font:12px var(--gr-font); border:0; border-radius:3px; background:transparent; padding:10px; cursor:pointer; min-height:40px; }
.ax-dock button:hover { background:var(--ax-surface); }.ax-dock button:disabled { opacity:.4; cursor:default; }
.ax-dock__divider { height:16px; width:1px; background:var(--ax-line); margin-inline:4px; }
.ax-footer { display:flex; justify-content:space-between; gap:15px; flex-wrap:wrap; padding:18px 32px; border-top:1px solid var(--ax-line); font-size:10px; color:var(--ax-muted); }
.is-clean .ax-country,.is-clean .ax-reporting { display:none; }.is-clean .ax-stage { grid-column:1/-1; }
.typed-cursor { color:var(--ax-blue); }
.ax-noscript { grid-column:1/-1; font-size:12px; }
.ax-story-link { display:flex; align-items:flex-start; gap:12px; padding:16px 8px; color:inherit; }
.ax-story-link:hover { background:var(--ax-surface); }
.ax-story-link .ax-story-image { flex:0 0 76px; width:76px; height:64px; aspect-ratio:auto; margin:0; border-radius:2px; }
.ax-story-text { min-width:0; }
.atlas-page .ax-story-text h3 { font-size:15px; line-height:1.4; margin:0 0 8px; letter-spacing:-.015em; }
.ax-story-text .ax-story-meta { display:block; font-size:10px; margin:0!important; }
.ax-reporting__heading h3 { font-size:18px; margin:0; }
.ax-reporting__heading > a { font-size:10px; white-space:nowrap; }
@media (max-width:1150px) { .ax-workspace { grid-template-columns:190px minmax(0,1fr) 300px; padding-inline:20px; gap:16px; }.ax-header__edition { display:none; }.ax-panel { padding:14px; }.ax-coordinates { font-size:8px; }.ax-coordinates span:last-child { max-width:110px; } }
@media (max-width:1050px) {
  .ax-header { padding:16px 20px; }.ax-header .gr-brand { font-size:16px; }.ax-header nav { gap:10px; font-size:11px; }.ax-theme-toggle { font-size:10px; padding:8px; }
  .ax-workspace { grid-template-columns:minmax(0,1fr); grid-template-rows:none; padding:22px 20px; gap:20px; }
  .ax-heading { grid-column:1; }.ax-heading h1 { font-size:24px; }.ax-heading .gr-kicker { font-size:9px; }.ax-panel-toggle { font-size:10px; }
  .ax-country { grid-row:2; }.ax-country-list { max-height:180px; }.ax-country__form { display:grid; grid-template-columns:1fr 1fr; gap:6px 12px; }.ax-country__form label:first-child,.ax-search,.ax-search-status { grid-column:1/-1; }.ax-country__form label { grid-column:1; }.ax-country__form select { grid-column:2; }
  .ax-stage { grid-row:3; height:clamp(350px,85vw,620px); }.ax-earth-shell { width:100%; max-width:620px; }.ax-dock { grid-row:4; padding:0; border:0; }.ax-reporting { grid-column:1; grid-row:5; max-height:none; }
  .ax-stories { grid-template-columns:1fr; }.ax-story-image { max-height:300px; }.ax-story > h3 { font-size:25px; }.ax-reporting__heading h2 { font-size:23px; }.ax-reporting__heading > a { max-width:90px; text-align:right; }
  .ax-footer { padding-inline:20px; }.ax-footer > span:nth-child(2) { order:3; width:100%; }.ax-stage__hint { font-size:9px; }
  .is-clean .ax-stage { grid-column:1; }
}
@media (max-width:390px) { .ax-header nav > a:first-child { display:none; }.ax-header .gr-brand { font-size:15px; }.ax-heading h1 { font-size:21px; }.ax-heading { align-items:flex-start; }.ax-dock { gap:0; }.ax-dock button { font-size:10px; padding:8px; } }
@media (prefers-reduced-motion:reduce) { .ax-earth { transition:none; }.typed-cursor { animation:none!important; } }

/* Atlas-native reader. Shared actions use data hooks, never legacy layout classes. */
.ax-surfaces { display:none; }
.ax-reader { position:absolute; inset:0; z-index:5; display:flex; flex-direction:column; background:var(--ax-panel); border:1px solid var(--ax-line); border-radius:3px; }
.ax-reader__bar { flex-shrink:0; display:flex; align-items:center; justify-content:space-between; min-height:54px; padding:8px 18px; border-bottom:1px solid var(--ax-line); }
.ax-reader__bar,.ax-reader__bar button,.ax-dispatch h2 { scroll-margin-top:64px; }
.ax-reader__bar > div { display:flex; align-items:center; gap:8px; }
.ax-reader button,.ax-reader summary { font:12px var(--gr-font); cursor:pointer; }
.ax-reader__bar button,.ax-reader__footer button,.ax-text-button { border:0; background:transparent; padding:8px; color:var(--ax-muted); }
.ax-reader button:hover,.ax-reader summary:hover { color:var(--ax-blue); }
.ax-reader button:disabled { opacity:.35; cursor:default; }
.ax-reader__bar svg { display:block; width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.3; }
.ax-reader__scroll { flex:1; min-height:0; overflow:auto; overscroll-behavior:contain; scrollbar-width:thin; padding:24px 28px; }
.ax-reader__footer { display:flex; justify-content:space-between; flex-shrink:0; padding:6px 12px; border-top:1px solid var(--ax-line); }
.ax-reader-loading h2 { font-size:24px; line-height:1.3; margin-bottom:16px; }
.ax-reader-loading p,.ax-reader-loading a { font-size:12px; color:var(--ax-muted); }
.ax-reader-loading .ax-button { margin-top:12px; }
.ax-dispatch__place { font-size:10px; letter-spacing:.06em; text-transform:uppercase; color:var(--ax-blue); margin-bottom:12px!important; }
.ax-dispatch h2 { font-size:clamp(24px,2vw,32px); line-height:1.22; letter-spacing:-.025em; margin:0 0 14px; text-wrap:pretty; }
.ax-dispatch__meta { display:flex; flex-wrap:wrap; gap:4px 14px; color:var(--ax-muted); font-size:10px; line-height:1.7; }
.ax-dispatch__actions { display:flex; align-items:center; gap:22px; padding:14px 0 8px; }
.ax-dispatch__actions > button,.ax-menu summary,.ax-facts > button { border:0; background:transparent; padding:6px 0; color:var(--ax-text); font:12px var(--gr-font); }
.ax-save-action { display:inline-flex; align-items:center; gap:4px; position:relative; font-size:12px; }
.ax-save-action .interest-toggle::after { content:""; position:absolute; inset:0; }
.ax-menu { position:relative; }
.ax-menu summary { list-style:none; cursor:pointer; }
.ax-menu summary::-webkit-details-marker { display:none; }
.ax-menu__content { position:absolute; top:calc(100% + 6px); left:0; z-index:12; display:grid; gap:2px; min-width:190px; max-width:min(260px,70vw); padding:8px; border:1px solid var(--ax-line); background:var(--ax-bg); box-shadow:0 8px 20px #0001; }
.ax-menu__content :is(a,button) { display:block; padding:9px; text-align:left; background:transparent; border:0; font-size:12px; }
.ax-menu__content :is(a,button):hover { background:var(--ax-panel); }
.ax-menu__content label { display:grid; gap:6px; padding:6px; font-size:11px; }
.ax-menu__content select { width:100%; min-width:0; color:inherit; background:var(--ax-bg); border:1px solid var(--ax-line); padding:7px; font:12px var(--gr-font); }
.ax-audio { display:flex; flex-wrap:wrap; align-items:center; gap:8px; border-top:1px solid var(--ax-line); padding:12px 0; }
.ax-audio > button { border:0; background:var(--ax-surface); color:inherit; border-radius:2px; min-width:32px; min-height:32px; padding:5px; }
.ax-audio svg { display:block; width:16px; height:16px; margin:auto; fill:currentColor; }
.ax-audio .ax-pause { display:none; fill:none; stroke:currentColor; stroke-width:2; }
.ax-audio [aria-pressed="true"] .ax-play { display:none; }.ax-audio [aria-pressed="true"] .ax-pause { display:block; }
.ax-audio__progress { flex:1 1 100px; display:grid; font-size:9px; color:var(--ax-muted); }
.ax-audio__progress input { width:100%; accent-color:var(--ax-blue); }
.ax-audio > .ax-menu .ax-menu__content { left:auto; right:0; }
.ax-audio__status { flex-basis:100%; font-size:10px; color:var(--ax-muted); }
.ax-reader-tabs { display:flex; gap:24px; border-bottom:1px solid var(--ax-line); margin:4px 0 22px; }
.ax-reader-tabs button { padding:10px 0; border:0; border-bottom:2px solid transparent; margin-bottom:-1px; background:transparent; color:var(--ax-muted); }
.ax-reader-tabs [aria-selected="true"] { color:var(--ax-text); border-bottom-color:var(--ax-blue); }
.ax-reader-tabs span { margin-left:4px; color:var(--ax-muted); font-size:10px; }
.ax-prose { max-width:66ch; font-size:15px; line-height:1.8; overflow-wrap:anywhere; }
.ax-prose p { margin:0 0 20px; }
.ax-prose :is(ul,ol) { padding-left:22px; margin:0 0 20px; }
.ax-prose :is(h2,h3,h4) { font-size:19px; line-height:1.4; margin:24px 0 12px; }
.ax-prose blockquote { border-left:2px solid var(--ax-line); padding-left:16px; margin:20px 0; color:var(--ax-muted); }
.ax-prose a,.ax-facts a,.ax-related > a,.ax-developer-links a { color:var(--ax-blue); }
.ax-dispatch__notice { font-size:11px; line-height:1.7; color:var(--ax-muted); margin-bottom:18px!important; }
.ax-sources { display:flex; flex-wrap:wrap; gap:8px; }
.ax-source { display:inline-flex; align-items:center; justify-content:space-between; gap:24px; padding:12px; border:1px solid var(--ax-line); background:var(--ax-bg); border-radius:2px; font-size:12px; }
a.ax-source:hover { border-color:var(--ax-blue); color:var(--ax-blue); }
.ax-media { border-block:1px solid var(--ax-line); margin:24px 0; }
.ax-media > summary { display:flex; justify-content:space-between; padding:14px 0; font-size:12px; }
.ax-media > summary span { color:var(--ax-muted); font-size:10px; }
.ax-gallery { padding-bottom:16px; }
.ax-gallery__controls { display:flex; gap:14px; align-items:center; justify-content:flex-end; margin-bottom:10px; font-size:10px; }
.ax-gallery__controls button { border:0; background:transparent; color:inherit; padding:8px; }
.ax-gallery__track { display:flex; overflow-x:auto; scroll-snap-type:x mandatory; }
.ax-gallery figure { flex:0 0 100%; min-width:0; margin:0; scroll-snap-align:start; }
.ax-gallery img { display:block; width:100%; max-height:240px; object-fit:contain; background:var(--ax-surface); }
.ax-gallery figcaption { padding-top:8px; font-size:10px; color:var(--ax-muted); }
.ax-gallery__expand { display:block; width:100%; border:0; padding:0; background:transparent; cursor:zoom-in!important; }
.atlas-page .ax-image-viewer { width:min(1100px,94vw); padding:16px; }
.ax-image-viewer figure { margin:16px 0 0; }.ax-image-viewer img { display:block; width:100%; max-height:72dvh; object-fit:contain; }.ax-image-viewer figcaption { padding-top:12px; font-size:12px; color:var(--ax-muted); }
.ax-related h3,.ax-facts h3,.ax-local-context h3 { margin:0 0 12px; }
.ax-related-row { display:flex; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid var(--ax-line); font-size:13px; line-height:1.5; }
.ax-related-row > span { flex:1; }.ax-related-row time { display:block; font-size:10px; color:var(--ax-muted); margin-bottom:5px; }
.ax-related-row img { width:48px; height:42px; object-fit:cover; }
.ax-related > a:last-child { display:block; margin-top:12px; font-size:11px; }
.ax-facts,.ax-local-context { padding-bottom:20px; margin-bottom:20px; border-bottom:1px solid var(--ax-line); font-size:12px; }
.ax-facts dl { margin:0; }.ax-facts dl > div { display:grid; grid-template-columns:100px 1fr; gap:12px; padding:5px 0; }
.ax-facts dt { color:var(--ax-muted); }.ax-facts dd { margin:0; }
.ax-fact-row { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:7px 0; }
.ax-fact-row small { display:block; font-size:10px; color:var(--ax-muted); }
.ax-topic-list { display:flex; flex-wrap:wrap; gap:8px; }.ax-topic { display:inline-flex; align-items:center; gap:6px; padding:3px 6px; border:1px solid var(--ax-line); }
.ax-local-context > p { margin-bottom:14px; }.ax-local-context [data-sidebar-local-conditions] { display:grid; gap:12px; font-size:11px; }
.ax-developer-links { padding-top:16px; font-size:10px; }
.atlas-page .interest-toggle { display:inline-flex; padding:4px; color:var(--ax-muted); }
.atlas-page .interest-icon { fill:none; stroke:currentColor; stroke-width:1.5; width:17px; height:17px; }
.atlas-page .interest-filled { display:none; }.atlas-page [data-saved="true"] .interest-filled { display:block; fill:var(--ax-blue); }.atlas-page [data-saved="true"] .interest-outline { display:none; }
.ax-save-action:has([data-saved="true"]) > span { font-size:0; }.ax-save-action:has([data-saved="true"]) > span::after { content:"Saved"; font-size:12px; color:var(--ax-blue); }
.atlas-page .interest-feedback { position:fixed; bottom:18px; left:18px; right:18px; z-index:200; display:flex; flex-wrap:wrap; gap:12px; align-items:center; padding:14px; border:1px solid var(--ax-line); background:var(--ax-panel); font-size:12px; }
.atlas-page :is(.interest-feedback,dialog) button { border:1px solid var(--ax-line); border-radius:2px; padding:8px 10px; font:12px var(--gr-font); color:inherit; background:var(--ax-bg); cursor:pointer; }
.atlas-page .interest-feedback .btn-close::after { content:"×"; }.atlas-page dialog { width:min(560px,90vw); max-height:85dvh; overflow:auto; padding:24px; color:var(--ax-text); background:var(--ax-panel); border:1px solid var(--ax-line); font-size:13px; }
.atlas-page dialog::backdrop { background:#0005; }.atlas-page dialog h2 { font-size:22px; margin-bottom:14px; }.atlas-page dialog :is(input,select,textarea) { max-width:100%; accent-color:var(--ax-blue); }.atlas-page dialog :is(p,fieldset) { margin-bottom:14px; }.atlas-page dialog legend { font-size:12px; }.atlas-page dialog fieldset { border:1px solid var(--ax-line); }
.has-reader .ax-dock > :not([data-reader-resume]) { display:none; }
@media(max-width:1050px) {
  .ax-workspace { display:flex; flex-direction:column; gap:18px; }
  .ax-heading { order:0; }.ax-surfaces { order:1; display:flex; position:sticky; top:0; z-index:20; gap:0; background:var(--ax-bg); border-bottom:1px solid var(--ax-line); }
  .ax-surfaces button { flex:1; border:0; border-bottom:2px solid transparent; background:transparent; padding:12px; font:12px var(--gr-font); cursor:pointer; color:var(--ax-muted); }
  .ax-surfaces [aria-pressed="true"] { border-bottom-color:var(--ax-blue); color:var(--ax-text); }.ax-surfaces button:disabled { opacity:.35; }
  .ax-country { order:2; }.ax-reporting { order:3; }.ax-stage { order:2; flex:none; height:clamp(350px,75vw,620px); }.ax-dock { order:4; }.ax-noscript { order:5; }
  [data-surface="browse"] :is(.ax-stage,.ax-dock),[data-surface="globe"] :is(.ax-country,.ax-reporting),[data-surface="story"] :is(.ax-country,.ax-reporting,.ax-dock) { display:none; }
  [data-surface="story"] .ax-stage { height:auto; overflow:visible; background:none; }
  [data-surface="story"] .ax-stage > :not(.ax-reader) { display:none; }
  .ax-reader { position:relative; inset:auto; height:auto; overflow:visible; }
  .ax-reader__scroll { overflow:visible; padding:20px; }
  .ax-reader__bar { position:sticky; top:45px; z-index:15; background:var(--ax-panel); padding-inline:14px; }.ax-reader__bar > div { gap:6px; }
  .ax-dispatch h2 { font-size:26px; }.ax-prose { font-size:15px; }
  .ax-audio { gap:6px; }.ax-audio > .ax-menu { margin-left:auto; }
  .ax-menu__content { left:auto; right:0; }
  .ax-panel-toggle { display:none; }
}
