/* The page never moves (the owner, 2026-11-19: "when i scroll up or down on the mac desktop the whole window moves.
   we need to 100% lock the screen down"). The document is the screen: no scroll, no elastic bounce, no two-finger
   swipe back. Only a pane's body, the menu's body and a list inside them scroll, each held to itself (contain). */
html:has(.atlas-experience), html:has(.atlas-experience) body { height: 100%; margin: 0; overflow: hidden; overscroll-behavior: none; }
html:has(.atlas-experience) body { position: fixed; inset: 0; }
/* mari-atlas: the parts the server-rendered windows add to the shared window look (weather.css's
   .surface, .floating-panel, .panel-bar, .window-dock). Colours are token names only; a page gives
   their values. */
.atlas-window { position: absolute; width: min(400px, calc(100% - 32px)); }
.atlas-window[data-front] { z-index: 24; }
.atlas-window.atlas-arriving { animation: atlas-arrive 520ms cubic-bezier(.34, 1.36, .64, 1); }
@keyframes atlas-arrive { from { opacity: 0; transform: translateY(24px) scale(.96); } to { opacity: 1; transform: none; } }
[data-dimmed] { transition: filter 360ms ease; filter: brightness(.55); }
.atlas-menu-end { margin-left: auto; }
.toolbar-link { color: var(--color-accent); }
.toolbar-quiet { color: color-mix(in srgb, var(--color-base-content) 64%, transparent); }
.atlas-layers { list-style: none; margin: 0; padding: 0; }
.atlas-layer { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; border-top: 1px solid var(--color-base-300); }
.atlas-layer small { color: color-mix(in srgb, var(--color-base-content) 64%, transparent); }
.atlas-switch { display: inline-flex; align-items: center; gap: 12px; }
/* The seal: a store-badge shape; the page gives its ground and ink. On a phone it sits above the
   bottom sheets and the dock, clear of their controls. */
.atlas-seal { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; flex-direction: column; align-items: flex-start; justify-content: center; min-width: 136px; min-height: 44px; padding: 6px 14px; border-radius: 9px; text-decoration: none; line-height: 1.05; }
.atlas-seal small { font-size: .62em; }
.atlas-seal span { font-size: 1.2em; font-weight: 600; }
body:has(.window-dock-bar) .atlas-seal { bottom: 64px; }
/* The dock's lift: what a corner widget outside the atlas adds to its bottom while minimised windows sit in the
 * dock (the radio player reads it). Broadcast hides the dock with the rest of the chrome. */
body:has(.window-dock-bar) { --atlas-dock-lift: 44px; }
body.broadcast .window-dock-bar { display: none !important; }
@media (max-width: 767px) { .atlas-seal { bottom: calc(16px + env(safe-area-inset-bottom)); } body:has(.atlas-window:not([hidden])) .atlas-seal { bottom: auto; top: 76px; } }
/* ExpandCard: the card sits in the corner beside the seal and opens in place, growing from the corner.
   Disclosure: its body unfolds in place below the toggle. Slideshow: each slide arrives on a short
   slide-in. Reduced motion: cross-fades only. */
.atlas-expand { position: fixed; right: 168px; bottom: 16px; z-index: 39; }
.atlas-expand-card { min-height: 44px; padding: 8px 16px; cursor: pointer; }
.atlas-expand[data-state=open] .atlas-expand-card { visibility: hidden; }
.atlas-expand-panel { position: absolute; right: 0; bottom: 0; width: min(420px, calc(100vw - 32px)); padding: 16px; transform-origin: bottom right; animation: atlas-expand-grow 420ms cubic-bezier(.34, 1.3, .64, 1); }
.atlas-expand-panel[data-fold], .atlas-disclosure-body[data-fold] { display: none; }
@keyframes atlas-expand-grow { from { opacity: 0; transform: scale(.35); } to { opacity: 1; transform: none; } }
.atlas-disclosure-body { overflow: hidden; animation: atlas-unfold 240ms ease-out; }
@keyframes atlas-unfold { from { opacity: 0; max-height: 0; } to { opacity: 1; max-height: 40em; } }
.atlas-slides { list-style: none; margin: 0; padding: 0; min-height: 168px; }
.atlas-slide[data-current] { animation: atlas-slide-in 280ms ease-out; }
@keyframes atlas-slide-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
.atlas-slideshow-controls { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 16px; }
.atlas-legal { width: min(640px, calc(100% - 32px)); }
.atlas-legal .panel-body { max-height: min(70vh, 720px); overflow: auto; }
@media (max-width: 767px) { .atlas-expand { right: 16px; bottom: calc(72px + env(safe-area-inset-bottom)); } body:has(.atlas-window:not([hidden])) .atlas-expand { bottom: auto; top: 132px; } }
@media (prefers-reduced-motion: reduce) { .atlas-expand-panel, .atlas-disclosure-body, .atlas-slide[data-current] { animation: atlas-fade 200ms ease-out; } }
@keyframes atlas-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .atlas-window.atlas-arriving { animation: none; } [data-dimmed] { transition: none; } }
/* The desktop: the globe fixed behind every window for the whole visit; the poster until the first
   frame. Windows, the seal, the card and the footer float over it; nothing opaque covers it. */
.atlas-desktop { position: relative; min-height: 100svh; }
.atlas-stage { position: fixed; inset: 0; z-index: 0; }
.atlas-stage > img, .atlas-stage > canvas { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.atlas-stage > canvas { opacity: 0; touch-action: none; }
.atlas-stage[data-live="drawn"] > canvas { opacity: 1; }
.atlas-stage[data-live="drawn"] > img { visibility: hidden; }
.atlas-footer { position: fixed; left: 16px; bottom: 16px; z-index: 30; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.atlas-footer nav { display: flex; flex-wrap: wrap; gap: 12px; }
.atlas-credit { position: fixed; left: 16px; bottom: 44px; z-index: 10; margin: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Reusable market rendering surfaces and saved-view editor. */
.market-candle-canvas{height:360px;min-height:240px;width:100%}
.market-scene{position:relative;height:400px;overflow:hidden;border-radius:12px;margin-top:12px;background:#000}
.market-scene canvas{display:block;width:100%;height:100%;touch-action:none}
.market-node{position:absolute;transform:translate(-50%,10px);color:#c8e5ff;background:transparent;border:0;font:400 11px/14px system-ui;padding:4px;text-shadow:0 1px 3px #000}
.market-node:hover,.market-node:focus-visible{color:#fff;background:#1d1d1f;border-radius:4px;z-index:2}
.view-library label{display:flex;flex-direction:column;gap:4px}
.view-library h3{margin:16px 0 8px;font:600 13px/16px system-ui}
.view-library-row{display:flex;align-items:center;gap:8px;border-bottom:1px solid var(--color-base-300)}
.view-library-row>.text-button{margin-right:auto}
.view-library form{display:flex;align-items:end;gap:8px;margin-top:16px}
.view-library form label{flex:1}
.market-node{width:24px;height:24px;transform:translate(-50%,-50%);padding:0}
.market-node span{position:absolute;left:50%;top:20px;transform:translateX(-50%);padding:4px;border-radius:4px;background:#1d1d1f;visibility:hidden;white-space:nowrap}
.market-node:hover span,.market-node:focus-visible span,.market-node[aria-pressed=true] span{visibility:visible}
/* Article and BlogIndex: a post reads in one wide window of clear glass over the globe, its text held to a
   reading measure; the index lists the posts as ruled rows. Titles and reading in New York, dates and other
   data in a small monospace, the same voice as the tour's card (the owner, 2026-11-20: "a beautifully
   stylized blog page"). Every tint is of the window's own text colour, so it reads on the window it is on. */
.atlas-reading { width: min(820px, calc(100% - 32px)); }
.atlas-reading.surface { background: color-mix(in srgb, var(--color-base-100) 70%, transparent); -webkit-backdrop-filter: blur(24px) saturate(1.3); backdrop-filter: blur(24px) saturate(1.3); }
.atlas-reading .panel-body { max-height: min(78vh, 900px); overflow: auto; padding: 8px 32px 32px; }
.atlas-article-body, .atlas-blog { max-width: 66ch; }
[data-part] .floating-panel.atlas-reading .atlas-title { margin: 12px 0 8px; font: 400 34px/40px 'New York', ui-serif, Georgia, serif; letter-spacing: -.01em; }
[data-part] .floating-panel.atlas-reading .atlas-lede { margin: 0 0 24px; font: 400 17px/26px 'New York', ui-serif, Georgia, serif; color: color-mix(in srgb, currentColor 72%, transparent); }
.atlas-article-meta { display: flex; flex-wrap: wrap; gap: 12px; margin: 4px 0 0; font: 400 11px/16px -apple-system, system-ui, sans-serif; font-variant-numeric: tabular-nums; letter-spacing: .06em; text-transform: uppercase; color: color-mix(in srgb, currentColor 58%, transparent); }
.atlas-article-head { margin-bottom: 24px; }
[data-part] .floating-panel.atlas-reading .atlas-article-body, [data-part] .floating-panel.atlas-reading .atlas-article-body :is(p, li) { font: 400 17px/28px 'New York', ui-serif, Georgia, serif; }
[data-part] .floating-panel.atlas-reading .atlas-article-body p { margin: 0 0 1em; }
[data-part] .floating-panel.atlas-reading .atlas-article-body h2 { margin-top: 1.6em; font: 400 24px/30px 'New York', ui-serif, Georgia, serif; }
.atlas-article-body h3 { margin-top: 1.2em; }
.atlas-article-body ul { padding-left: 1.2em; }
/* A sent link's note over the post (mari-account-server src/site/share-links.ts writes it, every word escaped). */
.atlas-sent-note { max-width: 66ch; margin: 0 0 20px; padding: 12px 16px; border-radius: 12px; background: color-mix(in srgb, currentColor 8%, transparent); }
.atlas-sent-from { margin: 0; font-weight: 600; }
.atlas-sent-note blockquote { margin: 4px 0 0; }
.atlas-sent-note blockquote p { margin: 0; white-space: pre-line; }
.atlas-article-body li + li { margin-top: .5em; }
.atlas-article-foot { margin-top: 2em; padding-top: 12px; border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
.atlas-posts { list-style: none; margin: 0; padding: 0; }
.atlas-posts > li { padding: 20px 0; border-top: 1px solid color-mix(in srgb, currentColor 14%, transparent); }
[data-part] .floating-panel.atlas-reading .atlas-posts h2 { margin: 0; font: 400 22px/28px 'New York', ui-serif, Georgia, serif; }
[data-part] .floating-panel.atlas-reading .atlas-post-entry > p:not(.atlas-article-meta) { margin: 8px 0 0; font-size: 15px; line-height: 22px; color: color-mix(in srgb, currentColor 78%, transparent); }
.atlas-posts h2 a { color: inherit; text-decoration: none; }
.atlas-posts h2 a:hover, .atlas-posts h2 a:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
/* Walkthrough: a page told in two-column steps, in a wide window that stands for its own address. The
   words take one column and the visual the other, alternating sides; on a phone they stack, words
   first. A step falls into place as it scrolls into view on the settle spring (--atlas-arrive, 0 to 1,
   from core/motion.ts); it is held up only once its script is watching, so with no script, or under
   reduced motion, every step is drawn in place. */
.atlas-walkthrough-window { width: min(1080px, calc(100% - 32px)); }
.atlas-walkthrough-window .panel-body { max-height: min(78vh, 900px); overflow: auto; overscroll-behavior: contain; }
.atlas-walkthrough { display: grid; gap: 56px; padding: 8px 8px 24px; }
.atlas-walk-head { max-width: 46em; }
.atlas-walk-lede { margin: 8px 0 0; color: color-mix(in srgb, var(--color-base-content) 72%, transparent); }
.atlas-walk-step { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 32px; align-items: center; }
.atlas-walk-step:nth-of-type(even) .atlas-walk-copy { order: 2; }
.atlas-walk-step[data-walk-armed] { opacity: clamp(0, var(--atlas-arrive, 1), 1); transform: translateY(calc((1 - var(--atlas-arrive, 1)) * 48px)); }
.atlas-walk-headline { margin: 4px 0 8px; }
.atlas-walk-benefit { margin: 0 0 12px; }
.atlas-walk-points { margin: 0; padding-left: 1.1em; display: grid; gap: 8px; }
.atlas-walk-visual { min-width: 0; }
.atlas-walk-visual figure { margin: 0; }
.atlas-walk-close { border-top: 1px solid var(--color-base-300); padding-top: 24px; max-width: 46em; }
.atlas-stack figcaption, .atlas-pipeline figcaption, .atlas-globe-figure figcaption { margin-bottom: 8px; font-weight: 600; }
.atlas-globe-figure figcaption { margin: 8px 0 0; font-weight: 400; color: color-mix(in srgb, var(--color-base-content) 64%, transparent); }
.atlas-globe-figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 12px; }
.atlas-stack-layers, .atlas-pipeline-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.atlas-stack-layer, .atlas-pipeline-step { display: grid; gap: 2px; padding: 10px 14px; border: 1px solid var(--color-base-300); border-radius: 10px; background: color-mix(in srgb, var(--color-base-100) 70%, transparent); }
.atlas-stack-layer:first-child { border-color: var(--color-primary); }
.atlas-stack-layer small, .atlas-pipeline-step span { color: color-mix(in srgb, var(--color-base-content) 64%, transparent); }
.atlas-pipeline-steps { counter-reset: atlas-step; }
.atlas-pipeline-step { counter-increment: atlas-step; position: relative; padding-left: 44px; }
.atlas-pipeline-step::before { content: counter(atlas-step); position: absolute; left: 14px; top: 10px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-content: center; font-size: .8em; background: var(--color-primary); color: var(--color-primary-content, var(--color-base-100)); }
@media (max-width: 767px) {
  .atlas-walk-step { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .atlas-walk-step:nth-of-type(even) .atlas-walk-copy { order: 0; }
  .atlas-walkthrough { gap: 40px; padding: 4px 0 16px; }
}

/* One viewport row: copyright, live window bars, camera controls, recent views. */
.workspace-bottom-bar{position:fixed;z-index:35;left:12px;right:12px;bottom:max(8px,env(safe-area-inset-bottom));display:flex;align-items:center;gap:8px;min-height:44px;padding:4px 10px;border-radius:16px;flex-wrap:nowrap;font:400 12px/16px system-ui}
.workspace-bottom-bar .bar-copyright{flex:none;background:transparent;border:0;color:inherit;opacity:.55;font:inherit;cursor:pointer;padding:8px 4px}.workspace-bottom-bar .bar-copyright:hover,.workspace-bottom-bar .bar-copyright:focus-visible{opacity:1}.bar-copyright-short{display:none}
.bar-dock-slot{flex:1;min-width:0;overflow:hidden}.workspace-bottom-bar .window-dock{position:static!important;inset:auto!important;display:flex;flex-wrap:nowrap;overflow-x:auto;width:100%;padding:0;gap:6px}.workspace-bottom-bar .window-dock-bar{max-width:220px}.workspace-bottom-bar .dock-restore{min-width:0}.bar-zoom-slot{flex:none}
/* Background activity (LoadingMeter.tsx): a mark at the bar's left end, there only while something loads or failed,
   and the Activity window it opens (a Window, docked like every other). */
.bar-status-slot{display:contents}
.activity-mark{flex:none;display:inline-flex;align-items:center;gap:4px;min-width:32px;min-height:32px;justify-content:center;padding:0 6px;border:0;border-radius:999px;background:transparent;color:var(--color-base-content);font:600 11px/1 system-ui;cursor:pointer}
.activity-mark:hover,.activity-mark[data-focus-visible]{background:color-mix(in srgb,var(--color-base-content) 10%,transparent)}
.activity-mark small{font:inherit;font-variant-numeric:tabular-nums}
.activity-glyph{display:block;fill:none;stroke-width:2.5;stroke-linecap:round}
.activity-glyph-track{stroke:color-mix(in srgb,var(--color-base-content) 22%,transparent)}
.activity-glyph-arc{stroke:var(--color-accent);transform-origin:10px 10px;animation:atlas-activity-turn 1.1s cubic-bezier(.45,.05,.55,.95) infinite}
.activity-mark.is-failed .activity-glyph-track,.activity-mark.is-failed .activity-glyph-stop{stroke:var(--color-error)}.activity-glyph-dot{fill:var(--color-error)}
@keyframes atlas-activity-turn{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.activity-glyph-arc{animation:none}}
.activity-list{list-style:none;margin:0;padding:0}
.activity-row{display:grid;gap:4px;padding:8px 0;border-bottom:1px solid var(--color-base-300)}.activity-row:last-child{border-bottom:0}
.activity-row strong{font:600 13px/16px system-ui}.activity-row span{font:400 11px/14px system-ui;color:var(--color-secondary);overflow-wrap:anywhere}
.activity-row[data-state="error"] span{color:var(--color-error)}
.activity-row progress{display:block;width:100%;height:3px;accent-color:var(--color-accent);border:0;margin:0}
.activity-row .text-button{justify-self:start}
.activity-none{margin:0;font:400 12px/16px system-ui;color:var(--color-secondary)}
.workspace-bottom-bar .globe-zoom{position:static;transform:none;padding:0;border:0;box-shadow:none;background:transparent;backdrop-filter:none;gap:4px}.workspace-bottom-bar .globe-zoom input{width:88px}.workspace-bottom-bar .globe-zoom output{min-width:64px}
.recent-views-popover{max-height:min(400px,65dvh);overflow:auto;max-width:min(320px,calc(100vw - 24px));padding:12px}.recent-views-popover .menu-action{text-align:left;white-space:normal}
@media(max-width:1100px){.bar-copyright-full{display:none}.bar-copyright-short{display:inline}}
@media(max-width:600px){.workspace-bottom-bar{left:4px;right:4px;gap:2px;padding:4px}.workspace-bottom-bar .globe-zoom input{width:48px}.workspace-bottom-bar .globe-zoom output{min-width:48px;font-size:10px}.workspace-bottom-bar .window-dock-bar{max-width:140px}.workspace-bottom-bar .bar-copyright{font-size:10px}.workspace-bottom-bar .icon-button{min-width:32px;width:32px}}
/* Copyright is quiet at every viewport size; the full notice lives in its pane. */
.workspace-bottom-bar .bar-copyright{font:400 9px/12px system-ui;opacity:.45;padding:8px 4px}
/* The left of the bar as one piece: the page's icon (16 px, as the bar's other icons) and the copyright, one tone. */
.workspace-bottom-bar .bar-copyright{display:inline-flex;align-items:center;gap:6px}.workspace-bottom-bar .bar-copyright svg{flex:none}
/* What the copyright opens: Support, Privacy, Terms, then Copyright and republishing (WorkspaceBar.tsx). */
.bar-legal-popover{min-width:200px;max-width:min(320px,calc(100vw - 24px));padding:4px 12px}.bar-legal-popover .menu-action{text-decoration:none;white-space:normal}.bar-legal-popover a.menu-action:hover,.bar-legal-popover a.menu-action:focus-visible{text-decoration:underline}
/* The place, over the globe at the bottom right (PlaceCorner): its whole name, wrapped when long, never cut short; on
   the radio's glass, so the two read as one stack. */
.bar-place{display:flex;align-items:flex-start;gap:6px;box-sizing:border-box;min-width:0;max-width:min(340px,calc(100vw - 48px));padding:6px 10px;border-radius:14px;border:1px solid color-mix(in srgb,var(--color-base-300) 72%,transparent);background:color-mix(in srgb,var(--color-base-100) 20%,transparent);-webkit-backdrop-filter:blur(24px) saturate(1.5);backdrop-filter:blur(24px) saturate(1.5);color:var(--color-base-content);font:500 12px/16px system-ui;text-align:start}
.bar-place svg{flex-shrink:0;margin-top:2px}.bar-place span{white-space:normal;overflow-wrap:anywhere}

.bar-social{display:flex;align-items:center;gap:0;flex:none}.bar-social .icon-button{color:var(--color-secondary);width:28px;height:28px;min-width:28px;padding:6px}.bar-social .icon-button:hover,.bar-social .icon-button[data-focused]{color:var(--color-accent)}

@media(max-width:600px){.workspace-bottom-bar{overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}.workspace-bottom-bar .bar-dock-slot{flex:1 0 40px;min-width:40px}.workspace-bottom-bar .bar-social .icon-button{min-width:28px;width:28px}}

/* First visit: a single compact agreement row above the shared dock. */
.atlas-consent-notice{position:fixed;z-index:36;left:50%;translate:-50% 0;bottom:calc(72px + env(safe-area-inset-bottom));display:flex;align-items:center;gap:16px;width:max-content;max-width:calc(100vw - 32px);box-sizing:border-box;padding:12px 16px;border-radius:12px;font:400 13px/16px system-ui}
.atlas-consent-notice .notice-line{margin:4px 0 0;max-width:46ch}.atlas-consent-notice .notice-heading>.notice-title{display:block}
.atlas-consent-notice .notice-title{color:var(--color-base-content);font-weight:600;text-decoration:none}.notice-agreement{display:flex;align-items:center;gap:8px;cursor:pointer;white-space:nowrap}.notice-agreement input{width:16px;height:16px;margin:0;accent-color:var(--color-accent);cursor:pointer}.notice-agreement a{color:var(--color-accent);text-decoration:underline;text-underline-offset:3px}.atlas-consent-notice a:hover{color:var(--color-accent)}.atlas-consent-notice :focus-visible{outline:2px solid var(--color-accent);outline-offset:4px}

/* On a phone a pane is a sheet over the bottom of the screen, where the Terms notice sits: while a pane is open the
   notice waits, and comes back when it closes (pane-rule.mjs clear; the owner, 2026-11-19: "never overlap windows"). */
@media (max-width:767px){body:has(:is(section.atlas-win,section.floating-panel):not([hidden])) .atlas-consent-notice{display:none}}

/* Tab strips (the owner, 2026-11-19: "thats a lot of useless vertical space and I want ratchets to stop this";
   pane-rule.mjs `space`): in every pane, one row that never wraps, 36 high at most under a mouse (44 under a
   finger), its tabs as tight as their words, and the content right under it. A strip wider than its pane scrolls
   sideways rather than adding a row. */
:is(.atlas-win,.floating-panel) [role=tablist]{display:flex;flex-wrap:nowrap!important;align-items:stretch;gap:16px;row-gap:0;overflow-x:auto;scrollbar-width:none;padding:0!important;margin:0 0 8px!important;border-bottom:1px solid var(--color-base-300)}
:is(.atlas-win,.floating-panel) [role=tablist]::-webkit-scrollbar{display:none}
:is(.atlas-win,.floating-panel) [role=tab]{display:flex;align-items:center;gap:6px;white-space:nowrap;min-height:32px!important;padding:0!important}
:is(.atlas-win,.floating-panel) [role=tabpanel]{padding-top:0!important}
@media (pointer:coarse){:is(.atlas-win,.floating-panel) [role=tab]{min-height:40px!important}}
/* Tabs are icons, their names hover labels (IconTabs.tsx HintTab; the owner, 2026-11-19: "remove names on everything.
   have hover labels"): a strip of fixed squares, left to right; the Layers strip (IconTabs) shares its width out. */
:is(.atlas-win,.floating-panel) [role=tablist]:not(.atlas-icon-tablist){gap:4px}
:is(.atlas-win,.floating-panel) [role=tablist]:not(.atlas-icon-tablist) .atlas-icon-tab{flex:none;width:40px;height:32px;position:relative}
.atlas-icon-tab .feeds-count{position:absolute;top:2px;right:2px;min-width:14px;height:14px;padding:0 3px;border-radius:7px;font:600 10px/14px system-ui;text-align:center;background:var(--color-error);color:#fff}
@media (pointer:coarse){:is(.atlas-win,.floating-panel) [role=tablist]:not(.atlas-icon-tablist) .atlas-icon-tab{width:44px;height:40px}}
/* Nothing between a rail and its tabs, a strip and its content (pane-rule.mjs space). */
.floating-panel .panel-body>:first-child,.atlas-win-body>:first-child{margin-top:0!important;padding-top:0!important}
:is(.atlas-win,.floating-panel) [role=tablist]{margin-bottom:4px!important}
/* A thin rail on every FloatingPanel, as on Window (the owner, 2026-11-19: "real thin window treatment"). This sheet
   loads before weather.css, so each rule names the section too, to outrank that sheet's older ones. */
.floating-panel{padding-top:4px!important}
section.floating-panel .panel-bar{min-height:28px;padding-bottom:2px;margin-bottom:4px}
section.floating-panel .panel-bar .icon-button{width:24px;height:24px;min-height:24px}
@media (pointer:coarse){section.floating-panel .panel-bar .icon-button{width:36px;height:36px;min-height:36px}}
/* While the first-run notice stands on the bottom bar, a legacy panel stops above it (scripts/pane-rule.mjs `clear`):
   it opens at 104 px, and the notice's top is about 114 px over the bottom bar's 80. A Window measures it instead
   (Window.tsx measureBars, data-desk="bottom"). */
body:has(.atlas-consent-notice) .floating-panel:not(.expanded){max-height:calc(100% - 104px - 126px)}

/* The one pressed look (ToggleButton, the owner, 2026-11-21: "the globe map toggles ... shows an indent state? right now
   the blue is inconsistent"): every toggle that is on is pressed in, an inset shadow and a darker fill mixed from the
   colour tokens, so it reads without colour and keeps its contrast in the dark (base-content is light there). No
   control draws its own pressed colour. */
.atlas-toggle-button[aria-pressed=true]{color:var(--color-base-content);background:color-mix(in srgb,var(--color-base-content) 14%,var(--color-base-100));
 box-shadow:inset 0 1px 3px color-mix(in srgb,var(--color-base-content) 40%,transparent),inset 0 0 0 1px color-mix(in srgb,var(--color-base-content) 24%,transparent)}
/* On a phone a notice waits while any pane is open, a Window or a FloatingPanel (Alerts, Place, Settings): it would sit
   under the pane's top (pane-rule cover; Alerts is a FloatingPanel, which the Window-only selector missed). */
@media(max-width:767px){body:has(section[data-window]:not([hidden])) .global-toasts,body:has(section.floating-panel:not([hidden])) .global-toasts,body:has(.atlas-rail-search) .global-toasts{visibility:hidden}}
