/* The Atlas: /atlas, /atlas/plates, /atlas/years (the owner's pick HI3, 17 Nov 2026). Loaded by those three pages only.
   Every class starts with at-. The map's own colours (sea, land, paper of the plates) are set below on .at-page, with
   their dark-look values under :root[data-theme="dark"] .at-page; everything else uses the site's colours. */

.at-page {
  --at-paper: #fbfaf6; --at-paper-edge: #e3ddcc; --at-rule: #b9b09a; --at-ink-rule: #2b3a55;
  --at-sea: #e3ebf3; --at-land: #f6f1e4; --at-coast: #6c7286; --at-grat: #cad6e4; --at-grat-eq: #aebdd1;
  --at-glow1: #b6c8dd; --at-glow2: #c9d7e7; --at-rim: #7c8297; --at-frame-fill: rgba(30,47,77,.035); --at-frame-line: #1e2f4d;
  --at-on: #1d4fd7; --at-off: #8a96ab; --at-post: #b3bccb; --at-sel: #c8962a; --at-sel-ink: #6d4f0d; --at-sel-bg: #fbf0d4;
  --at-sea-ink: #6f84a0; --at-faint: #6c788d; --at-ring: #ffffff; --at-lead: #4a5670; --at-photo: #ffffff;
  --at-mount1: #f6f2e8; --at-mount2: #efe9da; --at-mount-line: #e3dccb; --at-hover: #f1ede1; --at-sep: #e6e0d0;
  --at-bar: #2a78d6; --at-grid: #e1e0d9; --at-yline: #16223a; --at-hist: #d5deeb; --at-track: #9fb0cc; --at-mark-hl: #fbe7a8;
  --at-halo: #f8f6ef; --at-plate-ink: #1b2a44; --at-plate-muted: #5d6676; --at-pgrat: #97abc1; --at-pglow: #cddcea; --at-pland: #f3eedf;
  --at-tcbg: #f4f1e8; --at-tcline: #e4dfd1; --at-dotline: #c5bba2; --at-orn: #b9ae92; --at-gold: #c8962a;
  --at-serif: Georgia, "Iowan Old Style", "Palatino Linotype", "Times New Roman", serif;
  --at-ybh: 96px;
  overflow-x: clip;
}
:root[data-theme="dark"] .at-page {
  --at-paper: #172130; --at-paper-edge: #2c3a50; --at-rule: #46536a; --at-ink-rule: #a9b9d4;
  --at-sea: #132338; --at-land: #2a3446; --at-coast: #8a97b0; --at-grat: #21334a; --at-grat-eq: #34496a;
  --at-glow1: #1d3350; --at-glow2: #182c45; --at-rim: #5c6b85; --at-frame-fill: rgba(160,190,240,.06); --at-frame-line: #9fb0cc;
  --at-on: #6f9bff; --at-off: #8090a8; --at-post: #4f5c71; --at-sel: #e0b44c; --at-sel-ink: #f2d48a; --at-sel-bg: #3a3018;
  --at-sea-ink: #8aa0bf; --at-faint: #95a1b5; --at-ring: #172130; --at-lead: #9aa8c0; --at-photo: #d9dee8;
  --at-mount1: #222c3c; --at-mount2: #1d2635; --at-mount-line: #33415a; --at-hover: #243146; --at-sep: #2c3a50;
  --at-bar: #5a95e6; --at-grid: #26334a; --at-yline: #e3e9f3; --at-hist: #2c3d58; --at-track: #4a5d80; --at-mark-hl: #5a4a1a;
  --at-halo: #172130; --at-plate-ink: #dce6f6; --at-plate-muted: #a3afc2; --at-pgrat: #3a4f6c; --at-pglow: #1d3350; --at-pland: #2a3446;
  --at-tcbg: #1f2938; --at-tcline: #2f3c52; --at-dotline: #4a5870; --at-orn: #5e6a80; --at-gold: #e0b44c;
}
main.container:has(.at-page) { width: min(1260px, 100% - 2rem); }
.at-vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.at-empty { color: var(--muted); margin: 1rem 0 2rem; }
.at-dev { font-size: .72rem; font-weight: 700; color: var(--amber-ink); background: var(--amber-bg); border: 1px solid var(--amber-line); border-radius: 99px; padding: 0 .4rem; white-space: nowrap; }
.at-admin { margin: .2rem 0 1rem; padding: .7rem .9rem; border-radius: 10px; background: var(--amber-bg); border: 1px solid var(--amber-line); color: var(--ink); font-size: .9rem; }
.at-page :is(button, a, input, select):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.at-credit { text-align: center; font: italic .82rem/1.4 var(--at-serif); color: var(--muted); margin-top: .55rem; }
.at-kicker { font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-ink); }

/* the switch between the three pages */
.at-switch { display: inline-flex; flex-wrap: wrap; gap: 3px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 3px; box-shadow: var(--shadow); margin: 1.2rem 0 0; }
.at-switch a { display: inline-flex; align-items: center; min-height: 40px; padding: .35rem .95rem; border-radius: 9px; text-decoration: none; font-weight: 700; font-size: .92rem; color: var(--muted); }
.at-switch a:hover { background: var(--accent-soft); color: var(--accent-strong); }
.at-switch a[aria-current="page"] { background: var(--navy); color: var(--card); }

/* ===================================================================== /atlas */
.at-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; margin: 1.2rem 0 1rem; }
.at-head h1 { font: 400 clamp(2rem, 4.2vw, 2.8rem)/1.05 var(--at-serif); color: var(--navy); letter-spacing: .01em; margin-top: .25rem; }
.at-head p:not(.at-kicker) { color: var(--muted); max-width: 46rem; margin-top: .45rem; font-size: 1.02rem; }
.at-tot { display: flex; gap: 1.6rem; color: var(--muted); font-size: .9rem; }
.at-tot b { display: block; font: 600 1.55rem/1.1 var(--at-serif); color: var(--navy); font-variant-numeric: lining-nums tabular-nums; }

/* the year */
.at-yearbar { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 94%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 8px 0; margin: 0 0 .9rem; }
.at-yb { background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 8px 24px rgba(30,47,77,.08);
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "year slide step"; gap: .3rem 1.5rem; align-items: center; padding: .6rem 1.1rem .55rem; }
.at-yb-year { grid-area: year; display: flex; flex-direction: column; min-width: 8.6rem; }
.at-yb-year label { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-ink); }
.at-yb-year output { font: 600 2.7rem/1 var(--at-serif); color: var(--navy); font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.01em; }
.at-yb-count { font-size: .86rem; color: var(--muted); line-height: 1.3; margin-top: .2rem; white-space: nowrap; }
.at-yb-count b { color: var(--at-on); }
.at-yb-slide { grid-area: slide; position: relative; padding-top: 2px; min-width: 0; }
.at-yb-hist { display: block; width: calc(100% - 22px); height: 34px; margin: 0 11px; }
.at-yb-hist rect { fill: var(--at-hist); }
.at-yb-hist rect.at-cur { fill: var(--at-on); }
.at-yb-range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; margin: -3px 0 0; display: block; cursor: pointer; touch-action: pan-y; }
.at-yb-range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: var(--at-track); }
.at-yb-range::-moz-range-track { height: 4px; border-radius: 4px; background: var(--at-track); }
.at-yb-range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: var(--card); border: 3px solid var(--at-on); box-shadow: 0 2px 6px rgba(30,47,77,.3); }
.at-yb-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--card); border: 3px solid var(--at-on); }
.at-page .at-yb-range:focus-visible { outline: none; }
.at-yb-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(37,99,235,.35); }
.at-yb-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 5px rgba(37,99,235,.35); }
.at-yb-ticks { position: relative; height: 1.15rem; margin: 0 11px; font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.at-yb-ticks span { position: absolute; transform: translateX(-50%); top: 0; }
.at-yb-ticks span:first-child { transform: none; } .at-yb-ticks span:last-child { transform: translateX(-100%); }
.at-yb-step { grid-area: step; display: flex; gap: .4rem; }
.at-yb-step button { background: var(--card); color: var(--accent-strong); border: 1.5px solid var(--line); border-radius: 10px; padding: .45rem .75rem; font-weight: 700; font-size: .92rem; min-height: 44px; white-space: nowrap; font-variant-numeric: tabular-nums; cursor: pointer; }
.at-yb-step button:hover { background: var(--accent-soft); }
.at-yb-step button:disabled { color: var(--muted); cursor: default; background: var(--card); opacity: .6; }

/* finding and filtering */
.at-tools { display: flex; flex-wrap: wrap; gap: .7rem 1rem; align-items: center; margin: 0 0 1rem; }
.at-find { position: relative; flex: 0 1 300px; min-width: 220px; }
.at-find svg { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted); pointer-events: none; }
.at-find input { width: 100%; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font: inherit; font-size: 1rem; padding: .5rem .9rem .5rem 2.4rem; color: var(--ink); box-shadow: var(--shadow); }
.at-find input::placeholder { color: var(--muted); }
.at-find ul { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 6px); list-style: none; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 16px 36px rgba(30,47,77,.18); padding: .3rem; max-height: 340px; overflow-y: auto; }
.at-find li { display: flex; align-items: center; gap: .6rem; padding: .5rem .6rem; border-radius: 8px; cursor: pointer; min-height: 44px; }
.at-find li .at-dot { position: static; margin: 0; flex: none; width: 10px; height: 10px; }
.at-find li .at-nm { font-weight: 600; } .at-find li .at-rg { margin-left: auto; color: var(--muted); font-size: .82rem; text-align: right; line-height: 1.3; }
.at-find li[aria-selected="true"], .at-find li:hover { background: var(--accent-soft); }
.at-find li mark { background: var(--at-mark-hl); color: inherit; border-radius: 2px; }
.at-find .at-none { color: var(--muted); cursor: default; } .at-find .at-none:hover { background: none; }
.at-chips { display: flex; flex-wrap: wrap; gap: .3rem; flex: 1 1 100%; align-items: center; }
.at-chip { background: var(--card); border: 1px solid var(--line); border-radius: 99px; padding: .3rem .56rem; font-size: .8rem; font-weight: 600; color: var(--ink); min-height: 36px; cursor: pointer; }
.at-chip span { color: var(--muted); font-weight: 500; margin-left: .1rem; }
.at-chip:hover { border-color: var(--accent); }
.at-chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: var(--card); }
.at-chip[aria-pressed="true"] span { color: var(--card); opacity: .75; }
.at-view { display: inline-flex; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 3px; box-shadow: var(--shadow); margin-left: auto; }
.at-view button { border: 0; background: none; border-radius: 9px; padding: .45rem .95rem; min-height: 38px; font-weight: 700; font-size: .92rem; color: var(--muted); display: inline-flex; align-items: center; gap: .45rem; cursor: pointer; }
.at-view button svg { width: 18px; height: 18px; }
.at-ico-fill { fill: var(--card); }
.at-view button[aria-pressed="true"] { background: var(--accent-soft); color: var(--accent-strong); box-shadow: inset 0 0 0 1px var(--accent); }
.at-view-l { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-ink); margin: 0 .55rem 0 .35rem; align-self: center; }
.at-rsel { display: none; }
.at-rsel span { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-ink); }
.at-rsel select { flex: 1; min-width: 0; min-height: 44px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); font: inherit; font-size: 1rem; padding: .4rem .7rem; color: var(--ink); }

/* layout */
/* The side card is sticky for the whole height of this grid (a sticky grid item is held by the grid, not by its own area).
   So the list of all territories stands in the LEFT column like the plates above it, with the card beside it: as the grid's
   full-width last row ("list list") the card rode down over the list's right-hand column (22 Nov 2026). The card has to
   stay in view there: pressing a territory in the list shows its note in the card. */
.at-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; grid-template-areas: "world side" "enl side" "strip side" "list side"; gap: 1.3rem 1.5rem; align-items: start; margin-bottom: 1rem; }
.at-world { grid-area: world; } .at-side { grid-area: side; position: sticky; top: calc(var(--at-ybh) + 10px); }
.at-enls { grid-area: enl; } .at-strip { grid-area: strip; } .at-list { grid-area: list; }

/* the paper plates of the map page */
.at-page--map .at-plate { background: var(--at-paper); border: 1px solid var(--at-rule); border-radius: 3px; padding: 1.25rem 1.2rem 1rem;
  box-shadow: inset 0 0 0 5px var(--at-paper), inset 0 0 0 6px var(--at-rule), 0 10px 30px rgba(30,47,77,.07); min-width: 0; }
.at-plate-head { text-align: center; margin: .25rem 0 .9rem; }
.at-plate-head h2 { font: 400 1.5rem/1.15 var(--at-serif); letter-spacing: .16em; text-transform: uppercase; color: var(--navy); }
.at-plate-head p { font: italic 1.02rem/1.4 var(--at-serif); color: var(--muted); margin-top: .3rem; }
.at-plate-head p b { white-space: nowrap; font-style: normal; font-weight: 600; color: var(--navy); font-variant-numeric: lining-nums; }
.at-orn { display: block; width: 150px; height: 9px; margin: .5rem auto 0; color: var(--at-rule); }
.at-svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.at-svg .at-sea { fill: var(--at-sea); }
.at-svg .at-grat { fill: none; stroke: var(--at-grat); stroke-width: .55; }
.at-svg .at-grat-eq { stroke: var(--at-grat-eq); stroke-dasharray: 4 3; }
.at-svg .at-wl2 { fill: none; stroke: var(--at-glow2); stroke-width: 5; stroke-linejoin: round; opacity: .55; }
.at-svg .at-wl1 { fill: none; stroke: var(--at-glow1); stroke-width: 2.2; stroke-linejoin: round; opacity: .7; }
.at-svg .at-land { fill: var(--at-land); stroke: var(--at-coast); stroke-width: .6; stroke-linejoin: round; }
.at-svg .at-rim { fill: none; stroke: var(--at-rim); stroke-width: 1.1; }
.at-svg .at-frame { fill: var(--at-frame-fill); stroke: var(--at-frame-line); stroke-width: .9; stroke-dasharray: 3 2; transition: opacity .25s; }
.at-svg .at-nlead, .at-svg .at-clead { fill: none; stroke: var(--at-lead); stroke-width: .7; }
.at-svg .at-nlead { display: none; }
.at-ov { position: absolute; inset: 0; }

/* the world */
.at-wmap { position: relative; width: 100%; container-type: inline-size; }
.at-wmap .at-ov { font-size: 1.5cqw; }
.at-wsea { position: absolute; transform: translate(-50%, -50%); font: italic 1em/1.1 var(--at-serif); letter-spacing: .14em; color: var(--at-sea-ink); white-space: nowrap; pointer-events: none; text-align: center; }
.at-ftag { position: absolute; width: 1.75em; height: 1.75em; margin: -.875em 0 0 -.875em; display: grid; place-items: center; background: var(--navy); color: var(--card); border-radius: 3px; text-decoration: none; z-index: 3; font: 700 1em/1 var(--at-serif); box-shadow: 0 0 0 2px var(--at-paper); transition: opacity .25s, background-color .2s; }
.at-ftag:hover { background: var(--accent-strong); }
.at-pdot, .at-wnum { display: none; }
.at-wnote { position: absolute; width: 4.1em; margin: 0; padding: 0; border: 0; background: none; transform: translate(-50%, -50%); display: none; z-index: 2; cursor: pointer; }
.at-wnote img { display: block; width: 100%; height: auto; border: 2px solid var(--at-photo); box-shadow: 0 1px 2px rgba(20,30,50,.25), 0 4px 10px rgba(20,30,50,.18); transition: filter .25s, opacity .25s, transform .15s; }
.at-wnote:hover img { transform: scale(1.08); }

/* marks (world: sizes in em of the map lettering; enlargements: px) */
.at-mk { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; padding: 0; border: 0; background: none; border-radius: 50%; color: var(--navy); z-index: 2; -webkit-tap-highlight-color: transparent; transition: opacity .25s; cursor: pointer; }
.at-wmk { width: 2.2em; height: 2.2em; margin: -1.1em 0 0 -1.1em; }
.at-dot { position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--at-on); box-shadow: 0 0 0 2px var(--at-ring), 0 0 0 3px rgba(30,47,77,.25); transition: background-color .25s, box-shadow .25s, transform .15s; }
.at-wmk .at-dot { width: .8em; height: .8em; margin: -.4em 0 0 -.4em; }
.at-pre .at-dot, .at-dot.at-pre { background: var(--at-ring); box-shadow: inset 0 0 0 1.6px var(--at-off), 0 0 0 2px var(--at-ring); }
.at-post .at-dot, .at-dot.at-post { background: var(--at-post); box-shadow: 0 0 0 2px var(--at-ring); }
.at-lbl { position: absolute; font: 600 13.5px/1.18 var(--at-serif); color: var(--navy); white-space: nowrap; pointer-events: auto; transition: color .25s, opacity .25s;
  text-shadow: 0 0 2px var(--at-paper), 0 0 3px var(--at-paper), 0 0 5px var(--at-paper), 1px 1px 0 var(--at-paper), -1px -1px 0 var(--at-paper), 1px -1px 0 var(--at-paper), -1px 1px 0 var(--at-paper); }
.at-wmk .at-lbl { font-size: 1em; }
.at-s-r:is(.at-lbl, .at-enote) { left: calc(50% + 9px); top: 50%; transform: translate(var(--dx, 0px), calc(-50% + var(--dy, 0px))); text-align: left; }
.at-s-l:is(.at-lbl, .at-enote) { right: calc(50% + 9px); top: 50%; transform: translate(var(--dx, 0px), calc(-50% + var(--dy, 0px))); text-align: right; }
.at-s-t:is(.at-lbl, .at-enote) { left: 50%; bottom: calc(50% + 8px); transform: translate(calc(-50% + var(--dx, 0px)), var(--dy, 0px)); text-align: center; }
.at-s-b:is(.at-lbl, .at-enote) { left: 50%; top: calc(50% + 8px); transform: translate(calc(-50% + var(--dx, 0px)), var(--dy, 0px)); text-align: center; }
.at-s-tl:is(.at-lbl, .at-enote) { right: calc(50% + 2px); bottom: calc(50% + 7px); transform: translate(var(--dx, 0px), var(--dy, 0px)); text-align: right; }
.at-s-tr:is(.at-lbl, .at-enote) { left: calc(50% + 2px); bottom: calc(50% + 7px); transform: translate(var(--dx, 0px), var(--dy, 0px)); text-align: left; }
.at-s-bl:is(.at-lbl, .at-enote) { right: calc(50% + 2px); top: calc(50% + 7px); transform: translate(var(--dx, 0px), var(--dy, 0px)); text-align: right; }
.at-s-br:is(.at-lbl, .at-enote) { left: calc(50% + 2px); top: calc(50% + 7px); transform: translate(var(--dx, 0px), var(--dy, 0px)); text-align: left; }
.at-wmk .at-lbl.at-s-r { left: calc(50% + .65em); } .at-wmk .at-lbl.at-s-l { right: calc(50% + .65em); }
.at-wmk .at-lbl.at-s-t { bottom: calc(50% + .55em); } .at-wmk .at-lbl.at-s-b { top: calc(50% + .55em); } .at-wmk .at-lbl.at-s-tr { bottom: calc(50% + .45em); left: calc(50% + .1em); }
.at-pre .at-lbl, .at-post .at-lbl { color: var(--at-faint); font-weight: 400; }
.at-mk:hover .at-dot, .at-cmk:hover .at-dot { transform: scale(1.3); }
.at-mk:hover .at-lbl, .at-cmk:hover .at-lbl { color: var(--accent-strong); }
.at-page :is(.at-mk, .at-cmk, .at-wnote):focus-visible { outline: none; }
.at-mk:focus-visible .at-dot, .at-cmk:focus-visible .at-dot { box-shadow: 0 0 0 2px var(--at-ring), 0 0 0 5px var(--accent); }
.at-mk:focus-visible .at-lbl, .at-cmk:focus-visible .at-lbl { text-decoration: underline 2px var(--accent); text-underline-offset: 3px; }
.at-wnote:focus-visible img, .at-mk:focus-visible .at-enote img { outline: 3px solid var(--accent); outline-offset: 1px; }
.at-sel { z-index: 5 !important; }
.at-sel .at-dot { box-shadow: 0 0 0 2px var(--at-ring), 0 0 0 5px var(--at-sel); transform: scale(1.15); }
.at-sel .at-lbl { color: var(--at-sel-ink); font-weight: 700; text-decoration: underline 2px var(--at-sel); text-underline-offset: 3px; }
.at-wnote.at-sel img, .at-sel .at-enote img, .at-sel .at-cnote { outline: 3px solid var(--at-sel); outline-offset: 1px; filter: none; opacity: 1; }
.at-dim { opacity: .22; }
.at-frame.at-dim, .at-ftag.at-dim { opacity: .3; }

/* key under the world */
.at-page--map .at-legend { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; align-items: center; justify-content: center; margin: .85rem 0 .2rem; font-size: .86rem; color: var(--muted); }
.at-page--map .at-legend span { display: inline-flex; align-items: center; gap: .45rem; }
.at-page--map .at-legend .at-dot { position: static; margin: 0; display: inline-block; }
.at-lg-box { width: 22px; height: 14px; border: 1px dashed var(--at-frame-line); background: var(--at-frame-fill); display: inline-block; }
.at-lg-tp { display: inline-block; width: 24px; height: 9px; position: relative; vertical-align: middle; }
.at-lg-tp::before { content: ""; position: absolute; left: 0; top: 2px; width: 5px; height: 5px; border-radius: 50%; background: var(--at-lead); }
.at-lg-tp::after { content: ""; position: absolute; left: 4px; right: 0; top: 4px; height: 1px; background: var(--at-lead); }
.at-wkey { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem .5rem; margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--at-sep); }
.at-wk-b { display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; color: var(--navy); font: .92rem/1.2 var(--at-serif); padding: .3rem .55rem .3rem .3rem; border-radius: 8px; min-height: 36px; transition: opacity .25s; }
.at-wk-b:hover { background: var(--at-hover); }
.at-bcount { font: italic .82rem/1 var(--at-serif); color: var(--muted); white-space: nowrap; }
.at-wk-l { display: inline-grid; place-items: center; width: 24px; height: 24px; background: var(--navy); color: var(--card); border-radius: 3px; font: 700 .82rem/1 var(--at-serif); flex: none; }
.at-wk-n { display: inline-grid; place-items: center; width: 24px; height: 24px; background: var(--card); color: var(--navy); border: 1.5px solid var(--navy); border-radius: 50%; font-weight: 700; font-size: .82rem; line-height: 1; flex: none; }
.at-wk-g { display: none; }
.at-wk-m { display: flex; flex-wrap: wrap; gap: 0 .2rem; min-width: 0; }
.at-kb { display: inline-flex; align-items: center; gap: .45rem; background: none; border: 0; border-radius: 8px; padding: .3rem .5rem; min-height: 44px; font: .92rem/1.2 var(--at-serif); color: var(--navy); text-align: left; transition: opacity .25s; cursor: pointer; }
.at-kb .at-dot { position: static; margin: 0; flex: none; width: 10px; height: 10px; }
.at-kb:hover { background: var(--at-hover); }
.at-kb.at-pre, .at-kb.at-post { color: var(--at-faint); }
.at-kb.at-sel { background: var(--at-sel-bg); box-shadow: inset 0 0 0 1.5px var(--at-sel); }

@container (max-width: 620px) {
  .at-wmap .at-ov { font-size: 13px; }
  .at-wmk, .at-wnote, .at-wsea { display: none !important; }
  .at-pdot { display: block; position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--at-on); box-shadow: 0 0 0 1.5px var(--at-ring); transition: background-color .25s, opacity .25s; }
  .at-pdot.at-pre { background: var(--at-ring); box-shadow: inset 0 0 0 1.4px var(--at-off), 0 0 0 1px var(--at-ring); }
  .at-pdot.at-post { background: var(--at-post); }
  .at-wnum { display: grid; place-items: center; position: absolute; width: 20px; height: 20px; margin: -10px 0 0 -10px; transform: translate(var(--ox), var(--oy)); background: var(--card); color: var(--navy); border: 1.5px solid var(--navy); border-radius: 50%; font-weight: 700; font-size: 12px; line-height: 1; pointer-events: none; }
  .at-ftag { width: 20px; height: 20px; margin: -10px 0 0 -10px; font-size: 12px; pointer-events: none; }
}

/* the enlargements */
.at-enl-intro { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap; margin: .1rem 0 .9rem; }
.at-enl-intro h2 { font: 400 1.2rem/1.2 var(--at-serif); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); }
.at-enl-intro p { font: italic .98rem/1.4 var(--at-serif); color: var(--muted); }
.at-enl-row { display: grid; grid-template-columns: var(--cols); gap: 1.1rem; margin-top: 1.1rem; align-items: start; }
.at-enl-intro + .at-enl-row { margin-top: 0; }
.at-enl { margin: 0; container-type: inline-size; scroll-margin-top: calc(var(--at-ybh) + 12px); transition: opacity .25s; min-width: 0; }
.at-enl figcaption { display: flex; align-items: center; gap: .55rem; font: 1rem/1.2 var(--at-serif); color: var(--navy); margin-bottom: .45rem; letter-spacing: .02em; min-height: 26px; }
.at-enl figcaption .at-bcount { margin-left: auto; }
.at-emap { position: relative; width: 100%; border: 1px solid var(--at-rule); overflow: hidden; background: var(--at-sea); }
.at-enl:target .at-emap { outline: 3px solid var(--at-sel); outline-offset: 2px; }
.at-esea { position: absolute; transform: translate(-50%, -50%); font: italic max(12px, calc(var(--fs) * 100cqw / var(--bw)))/1.12 var(--at-serif); letter-spacing: .12em; color: var(--at-sea-ink); text-align: center; white-space: nowrap; pointer-events: none; }
.at-enote { position: absolute; display: none; width: 78px; pointer-events: auto; }
.at-enote img { display: block; width: 100%; height: auto; border: 2px solid var(--at-photo); box-shadow: 0 1px 2px rgba(20,30,50,.25), 0 4px 10px rgba(20,30,50,.2); transition: filter .25s, opacity .25s, transform .15s; }
.at-en-n { display: block; margin-top: 3px; font: 600 13px/1.15 var(--at-serif); color: var(--navy); white-space: normal; text-align: center; width: 120px; margin-left: -21px;
  text-shadow: 0 0 2px var(--at-paper), 0 0 3px var(--at-paper), 0 0 5px var(--at-paper), 1px 1px 0 var(--at-paper), -1px -1px 0 var(--at-paper); }
.at-pre .at-en-n, .at-post .at-en-n { color: var(--at-faint); font-weight: 400; }
.at-emk:hover .at-enote img { transform: translateY(-2px); }
.at-sel .at-en-n { color: var(--at-sel-ink); }
.at-tdot { position: absolute; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--at-on); box-shadow: 0 0 0 1.5px var(--at-ring); pointer-events: none; transition: background-color .25s; }
.at-tdot.at-pre { background: var(--at-ring); box-shadow: inset 0 0 0 1.4px var(--at-off), 0 0 0 1px var(--at-ring); }
.at-tdot.at-post { background: var(--at-post); }
.at-tdot.at-sel { box-shadow: 0 0 0 2px var(--at-ring), 0 0 0 4px var(--at-sel); }
.at-narrow-only, .at-gnum, .at-gkey { display: none; }
.at-cmk { position: absolute; display: flex; align-items: center; gap: 7px; transform: translate(-6px, -50%); background: none; border: 0; padding: 4px 6px 4px 0; z-index: 2; color: var(--navy); min-height: 30px; border-radius: 6px; transition: opacity .25s; cursor: pointer; }
.at-cmk .at-dot { position: relative; left: auto; top: auto; margin: 0; flex: none; width: 10px; height: 10px; }
.at-cmk .at-lbl { position: static; white-space: normal; max-width: 180px; text-align: left; line-height: 1.08; }
.at-cnote { display: none; width: 46px; height: auto; border: 1.5px solid var(--at-photo); box-shadow: 0 1px 2px rgba(20,30,50,.25), 0 3px 8px rgba(20,30,50,.18); transition: filter .25s, opacity .25s; }
.at-svg .at-clead.at-sel { stroke: var(--at-sel); stroke-width: 1.4; }
.at-gnum { place-items: center; position: absolute; width: 26px; height: 26px; margin: -13px 0 0 -13px; background: var(--card); color: var(--navy); border: 1.5px solid var(--navy); border-radius: 50%; font-weight: 700; font-size: 13px; line-height: 1; pointer-events: none; }
.at-enl-card { background: var(--at-mount1); border: 1px solid var(--at-mount-line); border-radius: 4px; padding: 1rem 1.1rem; font: .95rem/1.5 var(--at-serif); color: var(--muted); align-self: stretch; }
.at-enl-card h3 { font: 400 .95rem/1.2 var(--at-serif); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); margin-bottom: .55rem; }
.at-enl-card p + p { margin-top: .55rem; }
@container (max-width: 560px) {
  .at-cmk, .at-svg .at-clead, .at-wide-only { display: none !important; }
  .at-narrow-only { display: block; }
  .at-gnum { display: grid; }
  .at-gkey { display: block; margin-top: .35rem; }
  .at-gkey .at-wk-g { display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: start; padding: .3rem 0; border-top: 1px solid var(--at-sep); }
  .at-gkey .at-wk-n { margin-top: 10px; }
  .at-lbl[class*="at-ps-"] { left: auto; right: auto; top: auto; bottom: auto; }
  .at-ps-r.at-lbl { left: calc(50% + 9px); top: 50%; transform: translate(0, -50%); text-align: left; }
  .at-ps-l.at-lbl { right: calc(50% + 9px); top: 50%; transform: translate(0, -50%); text-align: right; }
  .at-ps-t.at-lbl { left: 50%; bottom: calc(50% + 8px); transform: translate(-50%, 0); text-align: center; }
  .at-enote[class*="at-ps-"] { left: auto; right: auto; top: auto; bottom: auto; }
  .at-ps-r.at-enote { left: calc(50% + 7px); top: 50%; transform: translate(0, -50%); }
  .at-ps-t.at-enote { left: 50%; bottom: calc(50% + 7px); transform: translate(-50%, 0); }
  .at-ps-b.at-enote { left: 50%; top: calc(50% + 7px); transform: translate(-50%, 0); }
  .at-enote { width: 54px; }
  .at-enote .at-en-n { display: none; }
}

/* the Notes view: each territory shown by one of its notes */
.at-v-notes .at-wnote { display: block; }
.at-v-notes .at-svg .at-nlead { display: inline; }
.at-v-notes .at-emk .at-lbl { display: none; }
.at-v-notes .at-esea { display: none; }
.at-v-notes .at-emk .at-enote { display: block; }
.at-v-notes .at-cnote { display: block; }
.at-v-notes .at-emk .at-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; }
.at-v-notes .at-enote.at-s-r { left: calc(50% + 7px); } .at-v-notes .at-enote.at-s-l { right: calc(50% + 7px); }
:is(.at-wnote, .at-emk, .at-cmk, .at-sn):is(.at-pre, .at-post) img { filter: grayscale(1) sepia(.15); opacity: .42; }
.at-pre.at-sel img, .at-post.at-sel img { opacity: .8; }

/* the territory panel */
.at-panel { background: var(--card); border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); padding: 1.2rem 1.25rem 1.25rem; max-height: calc(100vh - var(--at-ybh) - 24px); overflow-y: auto; scroll-margin-top: calc(var(--at-ybh) + 10px); }
.at-pn-k { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-ink); }
.at-pn-h { font: 400 1.75rem/1.12 var(--at-serif); color: var(--navy); margin: .25rem 0 .3rem; letter-spacing: 0; }
.at-pn-h:focus { outline: none; }
.at-pn-big { font: 400 2.3rem/1.05 var(--at-serif); color: var(--navy); margin: .3rem 0 .4rem; font-variant-numeric: lining-nums; }
.at-pn-y { color: var(--muted); font-size: .92rem; font-variant-numeric: tabular-nums; }
.at-pn-st { display: inline-flex; align-items: baseline; gap: .45rem; margin-top: .6rem; padding: .35rem .75rem .35rem .6rem; border-radius: 12px; font-size: .86rem; line-height: 1.35; font-weight: 700; background: var(--accent-soft); color: var(--accent-strong); }
.at-pn-st .at-dot { position: relative; left: auto; top: 1px; margin: 0; width: 10px; height: 10px; flex: none; }
.at-pn-st.at-pre, .at-pn-st.at-post { background: var(--row); color: var(--muted); }
.at-pn-st small { font-weight: 500; font-size: .86rem; }
.at-pn-nomap { color: var(--muted); font-size: .9rem; margin-top: .5rem; }
.at-pn-fig { margin: 1rem 0 .2rem; }
.at-pn-mount { display: block; background: linear-gradient(180deg, var(--at-mount1), var(--at-mount2)); border: 1px solid var(--at-mount-line); border-radius: 6px; padding: 14px; }
.at-pn-mount img { display: block; width: 100%; height: auto; box-shadow: 0 1px 2px rgba(20,30,50,.25), 0 8px 18px rgba(20,30,50,.2); }
.at-pn-fig figcaption { font: italic .98rem/1.35 var(--at-serif); color: var(--muted); margin-top: .55rem; text-align: center; }
.at-pn-c { margin: .85rem 0 1rem; font-size: .98rem; color: var(--ink); }
.at-pn-c b { font: 600 1.2rem/1 var(--at-serif); color: var(--navy); font-variant-numeric: lining-nums; }
.at-pn-go { display: flex; width: 100%; justify-content: center; align-items: center; min-height: 46px; font-size: 1rem; text-align: center; }
.at-pn-x { display: block; width: 100%; margin-top: .45rem; background: none; border: 0; color: var(--accent-strong); font-weight: 600; font-size: .92rem; min-height: 44px; border-radius: 10px; cursor: pointer; }
.at-pn-x:hover { background: var(--accent-soft); }
.at-pn-p { color: var(--ink); margin-top: .2rem; }
.at-pn-how { margin-top: .9rem; padding-top: .9rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; }
.at-pn-year { margin-top: .9rem; display: flex; align-items: baseline; gap: .55rem; }
.at-pn-year b { font: 600 1.6rem/1 var(--at-serif); color: var(--at-on); font-variant-numeric: lining-nums; }
.at-pn-year span { color: var(--muted); font-size: .93rem; line-height: 1.3; }
.at-pn-fan { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 1rem; }
.at-pn-fan button { padding: 0; border: 0; background: none; border-radius: 3px; cursor: pointer; min-height: 44px; }
.at-pn-fan img { display: block; width: 100%; height: auto; aspect-ratio: 9/5; object-fit: cover; transition: transform .15s; border: 1.5px solid var(--at-photo); box-shadow: 0 1px 2px rgba(20,30,50,.25), 0 3px 8px rgba(20,30,50,.15); }
.at-pn-fan button:hover img { transform: translateY(-2px); }
.at-pn-fan-l { font-size: .82rem; color: var(--muted); margin-top: .45rem; }

/* the strip of notes */
.at-strip { display: none; }
.at-v-notes .at-strip { display: block; }
.at-st-r { margin-top: 1rem; transition: opacity .25s; }
.at-st-r h3 { font: 400 .92rem/1.2 var(--at-serif); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); margin-bottom: .5rem; padding-bottom: .3rem; border-bottom: 1px solid var(--at-sep); }
.at-st-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: .9rem .8rem; }
.at-sn { background: none; border: 0; padding: 0; text-align: center; color: var(--navy); border-radius: 6px; transition: opacity .25s; cursor: pointer; }
.at-sn-f { display: grid; place-items: center; height: 74px; }
.at-sn img { max-height: 70px; width: auto; height: auto; max-width: 100%; border: 2px solid var(--at-photo); box-shadow: 0 1px 2px rgba(20,30,50,.25), 0 4px 10px rgba(20,30,50,.16); transition: filter .25s, opacity .25s, transform .15s; }
.at-sn:hover img { transform: translateY(-3px); }
.at-sn-n { display: block; font: 600 .85rem/1.2 var(--at-serif); margin-top: .4rem; }
.at-sn-y { display: block; font-size: .82rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.at-sn.at-pre .at-sn-n, .at-sn.at-post .at-sn-n { color: var(--at-faint); font-weight: 400; }
.at-sn.at-sel img { outline: 3px solid var(--at-sel); outline-offset: 1px; }

/* the list */
.at-list { background: var(--card); border-radius: 16px; box-shadow: var(--shadow); border: 1px solid var(--line); padding: 1.3rem 1.4rem 1.4rem; }
.at-list-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1.4rem; margin-bottom: 1rem; }
.at-list-head h2 { font: 400 1.45rem/1.15 var(--at-serif); color: var(--navy); }
.at-list-head p { color: var(--muted); font-size: .92rem; }
.at-page--map .at-list-head .at-legend { margin: 0 0 0 auto; justify-content: flex-end; }
.at-list-filter { display: none; margin: -.4rem 0 .9rem; font-size: .92rem; color: var(--muted); }
.at-list-filter.at-on { display: flex; gap: .7rem; align-items: center; flex-wrap: wrap; }
.at-list-filter button { background: none; border: 0; color: var(--accent-strong); font-weight: 700; min-height: 36px; padding: 0 .3rem; cursor: pointer; }
.at-lists { columns: 3 260px; column-gap: 2rem; }
.at-lg { break-inside: avoid; margin-bottom: 1.1rem; transition: opacity .25s; }
.at-lg h3 { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-ink); margin-bottom: .25rem; }
.at-lg h3 span { color: var(--muted); font-weight: 600; }
.at-lg ul { list-style: none; margin: 0; padding: 0; }
.at-li { display: flex; align-items: center; gap: .6rem; padding: .32rem .45rem; margin: 0 -.45rem; border-radius: 8px; text-decoration: none; color: var(--ink); min-height: 36px; transition: opacity .25s; }
.at-li .at-dot { position: static; margin: 0; flex: none; width: 10px; height: 10px; }
.at-li-n { font-weight: 600; }
.at-li-y { margin-left: auto; color: var(--muted); font-size: .86rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.at-li:hover { background: var(--accent-soft); color: var(--accent-strong); }
.at-li.at-pre .at-li-n, .at-li.at-post .at-li-n { color: var(--muted); font-weight: 500; }
.at-li.at-sel { background: var(--at-sel-bg); box-shadow: inset 0 0 0 1.5px var(--at-sel); }
.at-lg li[hidden] { display: none; }
.at-lg.at-empty-g { display: none; }

@media (max-width: 1099px) {
  .at-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "world" "side" "enl" "strip" "list"; }
  .at-side { position: static; }
  .at-panel { max-height: none; }
  .at-pn-sel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 1.4rem; align-items: start; }
}
@media (max-width: 760px) {
  .at-head { margin: 1rem 0 .7rem; }
  .at-tot { display: none; }
  .at-head p:not(.at-kicker) { font-size: .96rem; }
  .at-yb { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "year step" "slide slide"; padding: .5rem .75rem .4rem; gap: .1rem .6rem; }
  .at-yb-year { flex-direction: row; align-items: baseline; gap: .6rem; min-width: 0; flex-wrap: wrap; }
  .at-yb-year label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .at-yb-year output { font-size: 2.1rem; }
  .at-yb-count { font-size: .82rem; }
  .at-yb-step button { padding: .35rem .5rem; font-size: .86rem; }
  .at-yb-hist { height: 24px; }
  .at-yb-ticks span:nth-child(even) { display: none; }
  .at-tools { gap: .6rem; }
  .at-find { flex: 1 1 100%; }
  .at-view { margin-left: 0; width: 100%; }
  .at-view button { flex: 1; justify-content: center; min-height: 44px; }
  .at-page--map .at-plate { padding: .9rem .7rem .8rem; }
  .at-plate-head h2 { font-size: 1.12rem; letter-spacing: .1em; }
  .at-plate-head p { font-size: .95rem; }
  .at-enl-row { grid-template-columns: minmax(0, 1fr) !important; }
  .at-enl-card { display: none; }
  .at-pn-sel { display: block; }
  .at-list { padding: 1.1rem 1rem; }
  .at-page--map .at-list-head .at-legend { margin-left: 0; justify-content: flex-start; }
  .at-li { min-height: 44px; }
  .at-st-g { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
  .at-wkey { justify-content: flex-start; flex-direction: column; align-items: stretch; gap: 0; }
  .at-wk-b { min-height: 44px; }
  .at-wkey .at-wk-g { display: grid; grid-template-columns: 32px minmax(0, 1fr); align-items: start; padding: .3rem 0; border-top: 1px solid var(--at-sep); }
  .at-wkey .at-wk-n { margin-top: 10px; }
  .at-wclip { overflow: hidden; aspect-ratio: 700 / 373; border-radius: 2px; }
  .at-wclip .at-wmap { width: 128.57%; margin-left: -28.57%; margin-top: -4.29%; }
  .at-chips { display: none; }
  .at-rsel { display: flex; align-items: center; gap: .7rem; flex: 1 1 100%; }
  .at-wk-b + .at-wk-g { margin-top: .4rem; }
  .at-switch { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .at-switch a { justify-content: center; text-align: center; min-height: 44px; padding: .3rem .4rem; font-size: .88rem; line-height: 1.2; }
}
@media (pointer: coarse) {
  .at-emk { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
  .at-yb-range { height: 44px; margin: -11px 0 -8px; }
  .at-chip { min-height: 44px; }
}

/* ===================================================================== /atlas/plates */
.at-book { margin: 1.2rem 0 1rem; }
.at-leaf { background: var(--at-paper); border: 1px solid var(--at-paper-edge); border-radius: 6px; box-shadow: 0 14px 34px rgba(30,47,77,.08); padding: 3rem 2.6rem 2.6rem; margin-bottom: 1.8rem; }
.at-title-leaf { text-align: center; padding-top: 3rem; }
.at-tl-kicker { font: 700 .8rem/1 var(--at-serif); letter-spacing: .42em; text-transform: uppercase; color: var(--amber-ink); margin-bottom: 1rem; padding-left: .42em; }
.at-title-leaf h1 { font: 400 clamp(2.4rem, 6vw, 4rem)/1.04 var(--at-serif); color: var(--at-plate-ink); letter-spacing: -.01em; }
.at-tl-sub { font: italic 1.2rem/1.4 var(--at-serif); color: var(--at-plate-muted); margin-top: .7rem; }
.at-tl-orn { display: flex; align-items: center; justify-content: center; gap: .8rem; margin: 1.5rem auto 1.3rem; max-width: 340px; }
.at-tl-orn span { flex: 1; height: 0; border-top: 1px solid var(--at-orn); border-bottom: 1px solid var(--at-orn); padding-top: 2px; }
.at-tl-orn i { width: 9px; height: 9px; background: var(--at-gold); transform: rotate(45deg); }
.at-tl-stats { font: 1.12rem/1.5 var(--at-serif); color: var(--at-plate-ink); }
.at-tl-stats b { font-weight: 700; font-variant-numeric: lining-nums; }
.at-tl-stats i { color: var(--at-orn); font-style: normal; margin: 0 .3rem; }
.at-tl-how { max-width: 40rem; margin: .8rem auto 0; color: var(--at-plate-muted); font-size: .98rem; }
.at-key { margin: 2.2rem 0 0; }
.at-key-map { display: block; width: 100%; height: auto; border: 1px solid var(--at-paper-edge); border-radius: 4px; }
.at-key-map .at-kdot { fill: var(--at-on); stroke: var(--at-ring); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.at-kbox path { fill: var(--at-frame-fill); stroke: var(--at-on); stroke-width: 1.3px; vector-effect: non-scaling-stroke; stroke-linejoin: round; transition: fill .15s; }
.at-kbox text { font-family: var(--at-serif); font-weight: 700; fill: var(--at-plate-ink); paint-order: stroke; stroke: var(--at-halo); stroke-width: 4px; stroke-linejoin: round; }
.at-kbox:hover path, .at-kbox:focus-visible path { fill: rgba(29,79,215,.16); stroke-width: 2.2px; }
.at-kbox:hover text { fill: var(--at-on); text-decoration: underline; }
.at-page .at-kbox:focus-visible { outline: none; }
.at-kbox:focus-visible path { stroke: var(--at-sel); stroke-width: 3px; }
.at-book figcaption { display: flex; flex-wrap: wrap; gap: .2rem 1rem; justify-content: space-between; align-items: baseline; margin-top: .55rem; font-size: .88rem; color: var(--at-plate-muted); text-align: left; }
.at-cap-n { display: none; }
.at-book figcaption b { font: 700 .98rem/1.3 var(--at-serif); color: var(--at-plate-ink); }
.at-contents-leaf h2, .at-pl-head h2 { font: 400 2.2rem/1.1 var(--at-serif); color: var(--at-plate-ink); }
.at-contents-leaf h2 { text-align: center; margin-bottom: 1.4rem; }
.at-ct { list-style: none; max-width: 48rem; margin: 0 auto; padding: 0; border-top: 1px solid var(--at-paper-edge); }
.at-ct a { display: grid; grid-template-columns: 6.2rem minmax(0, 1fr) auto; gap: 0 .8rem; align-items: baseline; padding: .8rem .4rem; border-bottom: 1px solid var(--at-paper-edge); text-decoration: none; color: var(--at-plate-ink); }
.at-ct-no { font: 700 .78rem/1.4 var(--at-serif); letter-spacing: .16em; text-transform: uppercase; color: var(--amber-ink); }
.at-ct-t b { display: flex; align-items: baseline; gap: .6rem; font: 400 1.2rem/1.3 var(--at-serif); }
.at-ct-t b::after { content: ""; flex: 1; min-width: 1.5rem; border-bottom: 2px dotted var(--at-dotline); transform: translateY(-.25rem); }
.at-ct-t small { display: block; font-size: .86rem; color: var(--at-plate-muted); line-height: 1.45; margin-top: .15rem; }
.at-ct-n { font: 1.05rem var(--at-serif); color: var(--at-plate-muted); font-variant-numeric: lining-nums; }
.at-ct-n small { font-size: .86rem; }
.at-ct a:hover { background: var(--at-hover); }
.at-ct a:hover b { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.at-page--plates .at-legend { display: flex; flex-wrap: wrap; gap: .5rem 1.6rem; justify-content: center; max-width: 48rem; margin: 1.4rem auto 0; font-size: .88rem; color: var(--at-plate-muted); }
.at-page--plates .at-legend span { display: inline-flex; align-items: center; gap: .45rem; }
.at-page--plates .at-legend svg { width: 16px; height: 16px; flex: none; }
.at-lg-dot { fill: var(--at-on); stroke: var(--at-ring); stroke-width: 1.5; }
.at-lg-odot { fill: var(--at-ring); stroke: var(--at-off); stroke-width: 1.3; }
.at-pl-head { text-align: center; margin-bottom: 1.6rem; }
.at-pl-no { font: 700 .8rem/1 var(--at-serif); letter-spacing: .38em; text-transform: uppercase; color: var(--amber-ink); margin-bottom: .55rem; padding-left: .38em; }
.at-pl-head h2 { font-size: clamp(2rem, 4vw, 2.7rem); }
.at-pl-meta { margin-top: .5rem; color: var(--at-plate-muted); font: italic 1.02rem/1.5 var(--at-serif); }
.at-pl-extra { margin: .6rem auto 0; max-width: 40rem; font-size: .9rem; color: var(--at-plate-muted); }
.at-pm-row { margin-top: 1.2rem; }
.at-pm-row--two { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; align-items: start; }
.at-pm { margin: 0; min-width: 0; }
.at-pmap { display: block; width: 100%; height: auto; }
.at-psea { fill: var(--at-sea); }
.at-pland { fill: var(--at-pland); stroke: var(--at-coast); stroke-width: .7px; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.at-pglow { fill: none; stroke: var(--at-pglow); stroke-width: 6px; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.at-key-map .at-pglow { stroke-width: 4px; }
.at-pgrat { fill: none; stroke: var(--at-pgrat); stroke-width: .55px; opacity: .6; vector-effect: non-scaling-stroke; }
.at-pmap .at-keys { fill: var(--at-ink-rule); }
.at-pmap .at-rule-o { fill: none; stroke: var(--at-ink-rule); stroke-width: 1.4px; vector-effect: non-scaling-stroke; }
.at-pmap .at-rule-i { fill: none; stroke: var(--at-ink-rule); stroke-width: .8px; vector-effect: non-scaling-stroke; }
.at-pmap .at-inbox { fill: var(--at-frame-fill); stroke: var(--at-on); stroke-width: 1px; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }
.at-pmap text { font-family: var(--at-serif); paint-order: stroke; stroke: var(--at-halo); stroke-width: var(--hs); stroke-linejoin: round; }
.at-pmap .at-deg { fill: var(--at-plate-muted); font-variant-numeric: lining-nums; }
.at-pmap .at-sea-o { fill: var(--at-sea-ink); stroke: none; }
.at-pmap .at-sea-s { fill: var(--at-sea-ink); font-style: italic; stroke: none; }
.at-pmap .at-pnm { fill: var(--at-plate-ink); font-weight: 700; }
.at-pmap .at-pyr { fill: var(--at-plate-muted); font-style: italic; font-variant-numeric: lining-nums; }
.at-pmap .at-oname { fill: var(--at-faint); font-style: italic; }
.at-pmap .at-inlbl { fill: var(--at-on); font-weight: 700; }
.at-pmap .at-pdot-m { fill: var(--at-on); stroke: var(--at-ring); stroke-width: 1.6px; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; transition: transform .15s; }
.at-pmap .at-odot { fill: var(--at-ring); stroke: var(--at-off); stroke-width: 1.2px; vector-effect: non-scaling-stroke; }
.at-pmap .at-lead { fill: none; stroke: var(--at-lead); stroke-width: .9px; vector-effect: non-scaling-stroke; }
.at-pmap .at-badge { fill: var(--navy); stroke: var(--at-ring); stroke-width: 1.6px; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; transition: transform .15s; }
.at-pmap .at-badge.at-mil { fill: var(--amber-ink); }
.at-pmap .at-num { fill: var(--card); stroke: none; font-family: -apple-system, "Segoe UI", system-ui, Roboto, Arial, sans-serif; font-weight: 700; }
.at-pmap .at-scale-bg { fill: var(--at-paper); fill-opacity: .9; stroke: var(--at-paper-edge); stroke-width: .7px; vector-effect: non-scaling-stroke; }
.at-pmap .at-scale path { fill: none; stroke: var(--at-ink-rule); stroke-width: 1.3px; vector-effect: non-scaling-stroke; }
.at-pmap .at-scale text { fill: var(--at-plate-ink); stroke: none; font-variant-numeric: lining-nums; }
.at-pmap .at-scale .at-scale-t { font-style: italic; fill: var(--at-plate-muted); }
.at-pmk { cursor: pointer; }
.at-pmap .at-hit { fill: transparent; stroke: none; pointer-events: all; }
.at-pmk:hover .at-pdot-m, .at-pmk.at-hi .at-pdot-m { transform: scale(1.55); }
.at-pmk:hover .at-badge, .at-pmk.at-hi .at-badge { transform: scale(1.18); fill: var(--at-on); }
.at-pmk:hover .at-pnm, .at-pmk.at-hi .at-pnm { fill: var(--at-on); text-decoration: underline; }
.at-page .at-pmk:focus-visible { outline: none; }
.at-pmk:focus-visible .at-pdot-m, .at-pmk:focus-visible .at-badge { stroke: var(--at-sel); stroke-width: 3.5px; }
.at-pmk:focus-visible .at-pnm { fill: var(--at-on); text-decoration: underline; }
.at-lay-n { display: none; }
.at-gal-h { font: 700 .76rem/1 var(--at-serif); letter-spacing: .2em; text-transform: uppercase; color: var(--at-plate-muted); margin: 1.7rem 0 .8rem; display: flex; align-items: center; gap: .8rem; }
.at-gal-h::after { content: ""; flex: 1; border-top: 1px solid var(--at-paper-edge); }
.at-gal { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.at-tc { position: relative; display: flex; flex-direction: column; height: 100%; background: var(--card); border: 1px solid var(--at-tcline); border-radius: 10px; padding: .7rem .75rem .85rem; text-decoration: none; color: var(--ink); transition: box-shadow .15s, border-color .15s, transform .15s; scroll-margin-top: 1.5rem; }
.at-tc:hover, .at-tc.at-hi { border-color: var(--accent); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.at-tc:target { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(37,99,235,.18); }
.at-tc-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 10; background: var(--at-tcbg); border-radius: 6px; padding: .45rem; margin-bottom: .6rem; }
.at-tc-img img { max-height: 100%; width: auto; height: auto; max-width: 100%; object-fit: contain; box-shadow: 0 2px 6px rgba(30,47,77,.18); }
.at-tc-num { display: none; position: absolute; top: .45rem; left: .45rem; min-width: 1.6rem; height: 1.6rem; border-radius: 99px; background: var(--navy); color: var(--card); font-weight: 700; font-size: .82rem; align-items: center; justify-content: center; padding: 0 .3rem; }
.at-tc-name { font: 700 1.06rem/1.25 var(--at-serif); color: var(--at-plate-ink); }
.at-tc:hover .at-tc-name { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.at-tc-tag { align-self: flex-start; margin-top: .25rem; font-size: .8rem; font-weight: 700; color: var(--amber-ink); background: var(--amber-bg); border: 1px solid var(--amber-line); border-radius: 99px; padding: 0 .5rem; }
.at-tc-years { font: italic .98rem/1.35 var(--at-serif); color: var(--at-plate-ink); margin-top: .15rem; font-variant-numeric: lining-nums; }
.at-tc-counts { font-size: .84rem; color: var(--at-plate-muted); margin-top: .3rem; }
.at-tc-lead { font-size: .84rem; color: var(--at-plate-muted); margin-top: auto; padding-top: .45rem; border-top: 1px solid var(--at-tcline); }
.at-tc-counts + .at-tc-lead { margin-top: .5rem; }
.at-pl-nav { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--at-paper-edge); font: .98rem var(--at-serif); }
.at-pl-nav a { color: var(--accent); text-decoration: none; padding: .55rem .2rem; min-height: 44px; display: inline-flex; align-items: center; }
.at-pl-nav a:hover { text-decoration: underline; }
@media (max-width: 980px) { .at-gal { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .at-page--plates { overflow-x: visible; }
  .at-leaf { border-radius: 0; border-left: 0; border-right: 0; padding: 2rem 12px 1.6rem; margin: 0 -1rem .9rem; }
  .at-pm, .at-key { margin-left: -6px; margin-right: -6px; }
  .at-lay-w { display: none; } .at-lay-n { display: inline; }
  .at-pm-row--two { grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
  .at-gal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .at-tc { padding: .5rem .5rem .7rem; }
  .at-tc-num { display: inline-flex; }
  .at-tc-name { font-size: .98rem; }
  .at-ct a { grid-template-columns: minmax(0, 1fr) auto; min-height: 44px; }
  .at-ct-no { grid-column: 1 / -1; }
  .at-ct-t b::after { display: none; }
  .at-key-map .at-kbox text { display: none; }
  .at-cap-w { display: none; } .at-cap-n { display: inline; }
  .at-key-map .at-kdot { r: 6px; }
  .at-book figcaption { margin-left: 6px; margin-right: 6px; }
  .at-pl-nav { font-size: .92rem; }
}

/* ===================================================================== /atlas/years */
.at-page--years { --nw: 228px; --yw: 92px; --L: calc(var(--nw) + var(--yw)); --R: 16px; --thumb: 22px; }
.at-yh { padding: 1.2rem 0 1.2rem; max-width: 52rem; }
.at-yh h1 { font: 400 clamp(1.9rem, 4vw, 2.6rem)/1.1 var(--at-serif); color: var(--navy); margin: .35rem 0 .55rem; }
.at-yh p:not(.at-kicker) { color: var(--muted); font-size: 1rem; }
.at-yl { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 1.6rem; align-items: start; padding-bottom: 1rem; }
.at-chart { background: var(--card); border-radius: 16px; box-shadow: var(--shadow); position: relative; min-width: 0; }
.at-ch-head { position: sticky; top: 0; z-index: 5; background: var(--card); border-bottom: 1px solid var(--line); border-radius: 16px 16px 0 0;
  display: grid; grid-template-columns: var(--L) minmax(0, 1fr) var(--R); align-items: end; padding: .9rem 0 .2rem; }
.at-ch-year { padding: 0 1rem .55rem 1.1rem; }
.at-ch-year label { display: block; font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-ink); }
.at-ch-year output { display: block; font: 600 2.6rem/1 var(--at-serif); color: var(--navy); font-variant-numeric: lining-nums tabular-nums; }
.at-ch-count { font-size: .9rem; color: var(--muted); margin-top: .2rem; line-height: 1.3; }
.at-ch-count b { color: var(--ink); font-size: 1rem; }
.at-ctl { grid-column: 2; position: relative; }
.at-steps { display: none; }
#at-year { -webkit-appearance: none; appearance: none; display: block; width: calc(100% + var(--thumb)); margin: 0 0 0 calc(var(--thumb) / -2); height: 34px; background: transparent; cursor: pointer; }
#at-year::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: var(--at-track); }
#at-year::-moz-range-track { height: 4px; border-radius: 4px; background: var(--at-track); }
#at-year::-webkit-slider-thumb { -webkit-appearance: none; width: var(--thumb); height: var(--thumb); margin-top: calc((4px - var(--thumb)) / 2); border-radius: 50%; background: var(--card); border: 3px solid var(--at-yline); box-shadow: 0 2px 6px rgba(30,47,77,.3); }
#at-year::-moz-range-thumb { width: calc(var(--thumb) - 6px); height: calc(var(--thumb) - 6px); border-radius: 50%; background: var(--card); border: 3px solid var(--at-yline); }
.at-page #at-year:focus-visible { outline: none; }
#at-year:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(37,99,235,.45); }
#at-year:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 4px rgba(37,99,235,.45); }
.at-axis { position: relative; height: 34px; }
.at-dec { position: absolute; top: 0; transform: translateX(-50%); width: 28px; height: 32px; border: 0; background: none; padding: 0; color: var(--muted); border-radius: 6px; cursor: pointer; }
.at-dec::before { content: ""; position: absolute; left: 50%; top: 0; width: 1px; height: 7px; background: var(--at-off); }
.at-dec span { display: none; }
.at-dec--lbl { width: 48px; }
.at-dec--lbl span { display: block; font-size: .8rem; font-weight: 600; font-variant-numeric: tabular-nums; padding-top: 9px; }
.at-dec:hover { background: var(--accent-soft); color: var(--accent-strong); }
.at-dec.at-is-on span { color: var(--ink); }
.at-rows { position: relative; padding: .2rem 0 .9rem; }
.at-plot { position: absolute; top: 0; bottom: 0; left: var(--L); right: var(--R); pointer-events: none; z-index: 0; }
.at-gl { position: absolute; top: 0; bottom: 0; width: 0; border-left: 1px solid var(--at-grid); }
.at-yline { position: absolute; top: 0; bottom: 0; width: 0; border-left: 2px solid var(--at-yline); transform: translateX(-1px); transition: left .12s ease-out; }
.at-yline::before { content: ""; position: absolute; top: -1px; left: -6px; width: 10px; height: 10px; border-radius: 50%; background: var(--at-yline); }
.at-grp { position: relative; z-index: 1; display: flex; align-items: baseline; gap: .7rem; padding: 1rem 1.1rem .3rem; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--navy); margin: 0; }
.at-grp span { background: var(--card); padding-right: .3rem; }
.at-grp small { font-size: .82rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--muted); background: var(--card); padding: 0 .3rem; }
.at-grp small b { color: var(--ink); }
.at-rows-g { list-style: none; margin: 0; padding: 0; }
.at-row { position: relative; z-index: 1; display: grid; grid-template-columns: var(--nw) var(--yw) minmax(0, 1fr); align-items: center; width: 100%; min-height: 32px; padding: 0 var(--R) 0 0; border: 0; background: transparent; text-align: left; color: var(--muted); font: inherit; cursor: pointer; }
.at-page--years .at-row .at-nm { padding-left: 1.1rem; font-size: .93rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.at-page--years .at-row .at-yr { font-size: .84rem; font-variant-numeric: tabular-nums; text-align: right; padding-right: .9rem; }
.at-row .at-tr { position: relative; height: 32px; }
.at-bar { position: absolute; top: 50%; height: 14px; margin-top: -7px; background: var(--at-bar); border-radius: 7px; transform: translateX(-7px); padding-right: 14px; box-sizing: content-box; }
.at-row.at-is-on { color: var(--ink); }
.at-row.at-is-on .at-nm { font-weight: 700; }
.at-row:hover { background: rgba(37,99,235,.06); }
.at-row:hover .at-nm { text-decoration: underline; text-underline-offset: 3px; }
.at-row[aria-pressed="true"] { background: var(--accent-soft); box-shadow: inset 4px 0 0 var(--accent); }
.at-page .at-row:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; border-radius: 6px; }
.at-keys-hint { padding: 0 1.1rem 1rem; font-size: .86rem; color: var(--muted); position: relative; z-index: 1; }
.at-keys-hint kbd { font: 600 .78rem ui-monospace, Menlo, monospace; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 4px; padding: 0 .3rem; background: var(--row); color: var(--ink); }
.at-yside { position: sticky; top: 1rem; display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.at-mapcard { background: var(--card); border-radius: 16px; box-shadow: var(--shadow); padding: 1rem 1rem .8rem; }
.at-mapcard h2 { font: 400 1.15rem/1.3 var(--at-serif); color: var(--navy); }
.at-mapcard h2 b { font-weight: 700; }
.at-mini { display: block; width: 100%; height: auto; margin-top: .6rem; }
.at-m-sea { fill: var(--at-sea); }
.at-m-isea { fill: var(--at-sea); }
.at-m-land { fill: var(--at-pland); stroke: var(--at-coast); stroke-width: .6px; vector-effect: non-scaling-stroke; }
.at-m-cbox, .at-m-lead { fill: none; stroke: var(--at-off); stroke-width: 1px; stroke-dasharray: 3 2; vector-effect: non-scaling-stroke; }
.at-m-iframe { fill: none; stroke: var(--at-off); stroke-width: 1px; vector-effect: non-scaling-stroke; }
.at-ymk { fill: var(--at-ring); stroke: var(--at-off); stroke-width: 1.2px; vector-effect: non-scaling-stroke; }
.at-ymk.at-on { fill: var(--at-on); stroke: var(--at-ring); stroke-width: 1.4px; }
.at-m-ring { fill: none; stroke: var(--at-yline); stroke-width: 2px; vector-effect: non-scaling-stroke; }
.at-m-name { font: 700 21px var(--at-serif); fill: var(--ink); paint-order: stroke; stroke: var(--card); stroke-width: 5px; stroke-linejoin: round; }
.at-ylegend { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; margin-top: .55rem; font-size: .84rem; color: var(--muted); }
.at-ylegend span { display: inline-flex; align-items: center; gap: .4rem; }
.at-ylegend i { width: 10px; height: 10px; border-radius: 50%; background: var(--at-on); }
.at-ylegend .at-lg-in { font-style: italic; }
.at-ylegend i.at-off { background: var(--at-ring); border: 1.3px solid var(--at-off); }
.at-card { background: var(--card); border-radius: 16px; box-shadow: var(--shadow); padding: 1rem 1.1rem 1.1rem; position: relative; }
.at-card-empty { color: var(--muted); font-size: .92rem; display: flex; gap: .7rem; align-items: center; }
.at-card-empty svg { flex: none; }
.at-ico-bar { fill: var(--at-bar); }
.at-c-img { max-height: 180px; margin-right: 2.6rem; display: flex; align-items: center; justify-content: center; background: var(--at-tcbg); border-radius: 10px; padding: .6rem; aspect-ratio: 16 / 9; margin-bottom: .8rem; }
.at-c-img img { max-height: 100%; width: auto; height: auto; max-width: 100%; object-fit: contain; box-shadow: 0 2px 8px rgba(30,47,77,.2); }
.at-c-reg { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--amber-ink); }
.at-card h3 { font: 700 1.35rem/1.2 var(--at-serif); color: var(--navy); margin: .15rem 2.4rem .2rem 0; }
.at-c-yrs { font: italic 1.05rem var(--at-serif); color: var(--ink); font-variant-numeric: lining-nums; }
.at-c-cnt { font-size: .92rem; color: var(--muted); margin-top: .2rem; }
.at-c-now { margin-top: .6rem; font-size: .9rem; border-radius: 10px; padding: .45rem .7rem; background: var(--row); color: var(--ink); }
.at-c-now b { color: var(--accent-strong); }
.at-c-lead { margin-top: .5rem; font-size: .86rem; color: var(--muted); }
.at-c-btn { display: inline-flex; align-items: center; margin-top: .9rem; min-height: 44px; }
.at-c-close { position: absolute; top: .55rem; right: .55rem; width: 44px; height: 44px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-size: 1.5rem; line-height: 1; cursor: pointer; }
.at-c-close:hover { background: var(--row); color: var(--ink); }
.at-cardli { list-style: none; padding: .4rem .5rem .8rem; position: relative; z-index: 2; }
.at-cardli .at-card { box-shadow: 0 6px 22px rgba(30,47,77,.16); border: 1px solid var(--line); }
@media (max-width: 1100px) { .at-yl { grid-template-columns: minmax(0, 1fr) 320px; } .at-page--years { --nw: 170px; --yw: 86px; } }
@media (max-width: 860px) {
  .at-page--years { --L: 16px; --R: 16px; --thumb: 28px; }
  .at-yl { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
  .at-yside { position: static; order: -1; }
  .at-yside .at-card { display: none; }
  .at-ch-head { display: block; padding: .6rem 0 .1rem; }
  .at-ch-year { display: flex; align-items: center; gap: .6rem; padding: 0 var(--R) .2rem var(--L); }
  .at-ch-year label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .at-ch-year output { font-size: 2.1rem; min-width: 4.6rem; }
  .at-ch-count { margin: 0; flex: 1; }
  .at-steps { display: flex; gap: .3rem; }
  .at-steps button { width: 44px; height: 44px; border: 1px solid var(--line); background: var(--card); border-radius: 10px; font-weight: 700; color: var(--accent-strong); font-size: .86rem; cursor: pointer; }
  .at-ctl { margin: 0 var(--R) 0 var(--L); }
  .at-axis { height: 44px; }
  .at-dec { display: none; }
  .at-dec--ph { display: block; width: 52px; height: 44px; }
  .at-dec--ph span { display: block; font-size: .84rem; font-weight: 600; padding-top: 12px; }
  .at-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; padding: .45rem var(--R) .3rem var(--L); min-height: 54px; }
  .at-page--years .at-row .at-nm { padding-left: 0; font-size: .95rem; white-space: normal; }
  .at-page--years .at-row .at-yr { padding-right: 0; }
  .at-row .at-tr { grid-column: 1 / -1; height: 18px; margin-top: .2rem; }
  .at-grp { padding-left: var(--L); flex-wrap: wrap; }
  .at-keys-hint { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .at-page *, .at-page *::before, .at-page *::after { transition: none !important; }
  .at-tc:hover, .at-tc.at-hi { transform: none; }
}
@media print {
  .at-switch, .at-yearbar, .at-tools, .at-side, .at-yside .at-card, .at-pl-nav, .at-steps, .at-axis { display: none !important; }
  .at-grid, .at-yl { display: block; }
  .at-strip { display: none; }
}
