/*
Theme Name: Atlas
Description: Theme of the new Akciovnik. This file is a copy of design/final/style.css made by sync-design.ps1: change the design folder, not this copy. See README.md.
Version: 2.0.0
Requires PHP: 8.3
Author: Akciovnik
Text Domain: atlas
License: GPLv2 or later
*/
/* Akciovník. One file, cascade layers, no build step.
   Own classes: a-*. Plugin markup: atl-*.
   Two blocks are written by gen.py: TOKENS (colours, checked for contrast) and VIEWS (table column sets).
   Type: one scale, --t1 to --t7, nothing else sets a font size. Weights: 400 and 600, 700 for H1 and H2.
   One card: --r, one hairline, no shadow, no gradient. One radius for buttons and fields: --r-s.
   Sizes follow the root in rem, so a big monitor gets a bigger page. @media cannot use that rem (it reads the browser's own), so breaks are in px; @container can, so table and map thresholds are in rem. */
@layer reset, tokens, base, layout, comp, plugin, views, map, util, print;

@font-face {
  font-family: "Archivo";
  src: url(assets/fonts/archivo-latin-wght-normal.woff2) format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url(assets/fonts/archivo-latin-ext-wght-normal.woff2) format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Metric-adjusted fallback so that the swap does not move text. Measured in Edge on a Czech sentence: Archivo 400 is 97,9 % of Arial. */
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial");
  size-adjust: 97.9%; ascent-override: 89.7%; descent-override: 21.5%; line-gap-override: 0%;
}
@font-face {
  font-family: "Archivo Fallback";
  src: local("Arial Bold"), local("Arial-BoldMT");
  font-weight: 600 900;
  size-adjust: 98%; ascent-override: 89.7%; descent-override: 21.5%; line-gap-override: 0%;
}

/* TOKENS:START (written by gen.py, which also checks contrast) */
@layer tokens {
  :root {
    --page: #F3F5F8;
    --card: #FFFFFF;
    --card-2: #F4F6F9;
    --card-3: #E4E9F0;
    --hover: #EEF1F6;
    --ink: #10233C;
    --ink-2: #46586F;
    --line: #D3DAE3;
    --track: #D5DCE6;
    --post: #B9C4D2;
    --band: #10233C;
    --band-2: #1C3552;
    --band-ink: #FFFFFF;
    --band-ink-2: #BCC9D8;
    --strip: #0B1A2E;
    --field: #FFFFFF;
    --field-ink: #10233C;
    --field-ink-2: #4E6077;
    --link: #14509F;
    --up: #0A6A5F;
    --dn: #B4271F;
    --go: #008362;
    --go-h: #007756;
    --go-ink: #FFFFFF;
    --tip: #10233C;
    --tip-ink: #FFFFFF;
    --accent: #F13446;
    --focus: #BE1C2E;
    --arm-cur: #10233C;
    --shadow-2: 0 8px 30px rgb(16 35 60 / .22);
    --sea: #DCE3E8;
    --coast: #10233C;
    --tile-line: #FFFFFF;
    --region: #F7F8FA;
    --d4: #8C231C;
    --d3: #B93E31;
    --d2: #E58D78;
    --d1: #F8CFC2;
    --n0: #E6E8EB;
    --u1: #BDE6DA;
    --u2: #6FC2B2;
    --u3: #0F7A72;
    --u4: #0A5C56;
    --on-d4: #FFFFFF;
    --on-d3: #FFFFFF;
    --on-d2: #10233C;
    --on-d1: #10233C;
    --on-n0: #10233C;
    --on-u1: #10233C;
    --on-u2: #10233C;
    --on-u3: #FFFFFF;
    --on-u4: #FFFFFF;
    --s1: #E4EAF2;
    --s2: #BCCCDF;
    --s3: #8BA6C4;
    --s4: #44688F;
    --s5: #15304F;
    --on-s1: #10233C;
    --on-s2: #10233C;
    --on-s3: #10233C;
    --on-s4: #FFFFFF;
    --on-s5: #FFFFFF;
    --plate: var(--card-3);
    --plate-ink: var(--ink);
  }
  [data-sec="sektory"] { --plate: #D0F1FF; --plate-ink: #006091; }
  [data-sec="temata"] { --plate: #FCE8CA; --plate-ink: #895800; }
  [data-sec="suroviny"] { --plate: #FFE4D0; --plate-ink: #994A08; }
  [data-sec="zeme"] { --plate: #CAF4FC; --plate-ink: #00687D; }
  [data-sec="etf"] { --plate: #DBECFF; --plate-ink: #31559A; }
  [data-sec="dividendy"] { --plate: #F0EDCB; --plate-ink: #706500; }
  [data-sec="zebricky"] { --plate: #FFE6CC; --plate-ink: #925100; }
  [data-sec="burzy"] { --plate: #CCF3FF; --plate-ink: #006488; }
  [data-sec="kde-koupit"] { --plate: #F6EBCA; --plate-ink: #7E5F00; }
  [data-sec="magazin"] { --plate: #D5EEFF; --plate-ink: #0E5B97; }
  [data-sec="map"] { --plate: #10233C; --plate-ink: #FFFFFF; }
  @supports (color: light-dark(#000, #fff)) {
    :root {
      color-scheme: light dark;
      --page: light-dark(#F3F5F8, #0B1728);
      --card: light-dark(#FFFFFF, #12233A);
      --card-2: light-dark(#F4F6F9, #172B46);
      --card-3: light-dark(#E4E9F0, #1E3553);
      --hover: light-dark(#EEF1F6, #1A304D);
      --ink: light-dark(#10233C, #ECF1F7);
      --ink-2: light-dark(#46586F, #B4C2D3);
      --line: light-dark(#D3DAE3, #2E4566);
      --track: light-dark(#D5DCE6, #2E4566);
      --post: light-dark(#B9C4D2, #2E4566);
      --band: light-dark(#10233C, #12233A);
      --band-2: light-dark(#1C3552, #1E3553);
      --band-ink: #FFFFFF;
      --band-ink-2: #BCC9D8;
      --strip: light-dark(#0B1A2E, #0B1728);
      --field: light-dark(#FFFFFF, #1E3553);
      --field-ink: light-dark(#10233C, #F2F6FB);
      --field-ink-2: light-dark(#4E6077, #B4C2D3);
      --link: light-dark(#14509F, #9CC3F8);
      --up: light-dark(#0A6A5F, #62D6C0);
      --dn: light-dark(#B4271F, #FF9A8F);
      --go: light-dark(#008362, #3FB690);
      --go-h: light-dark(#007756, #4FC39C);
      --go-ink: light-dark(#FFFFFF, #06231B);
      --tip: light-dark(#10233C, #1E3553);
      --tip-ink: light-dark(#FFFFFF, #ECF1F7);
      --accent: #F13446;
      --focus: light-dark(#BE1C2E, #FF8E98);
      --arm-cur: light-dark(#10233C, #2A4A73);
      --shadow-2: light-dark(0 8px 30px rgb(16 35 60 / .22), 0 8px 30px rgb(0 0 0 / .55));
      --sea: light-dark(#DCE3E8, #07101E);
      --coast: light-dark(#10233C, #8FA3BA);
      --tile-line: light-dark(#FFFFFF, #0B1728);
      --region: light-dark(#F7F8FA, #12233A);
      --d4: light-dark(#8C231C, #C9483C);
      --d3: light-dark(#B93E31, #A83F35);
      --d2: light-dark(#E58D78, #853A39);
      --d1: light-dark(#F8CFC2, #4C2B3B);
      --n0: light-dark(#E6E8EB, #25344A);
      --u1: light-dark(#BDE6DA, #16454F);
      --u2: light-dark(#6FC2B2, #12575A);
      --u3: light-dark(#0F7A72, #0F6B67);
      --u4: light-dark(#0A5C56, #0F8278);
      --on-d4: #FFFFFF;
      --on-d3: #FFFFFF;
      --on-d2: light-dark(#10233C, #F4F7FB);
      --on-d1: light-dark(#10233C, #F4F7FB);
      --on-n0: light-dark(#10233C, #F4F7FB);
      --on-u1: light-dark(#10233C, #F4F7FB);
      --on-u2: light-dark(#10233C, #F4F7FB);
      --on-u3: #FFFFFF;
      --on-u4: #FFFFFF;
      --s1: light-dark(#E4EAF2, #1B2B42);
      --s2: light-dark(#BCCCDF, #27405F);
      --s3: light-dark(#8BA6C4, #335A83);
      --s4: light-dark(#44688F, #6395C3);
      --s5: light-dark(#15304F, #B2D2EE);
      --on-s1: light-dark(#10233C, #F4F7FB);
      --on-s2: light-dark(#10233C, #F4F7FB);
      --on-s3: light-dark(#10233C, #F4F7FB);
      --on-s4: light-dark(#FFFFFF, #0B1728);
      --on-s5: light-dark(#FFFFFF, #0B1728);
    }
    [data-sec="sektory"] { --plate: light-dark(#D0F1FF, #1E3553); --plate-ink: light-dark(#006091, #7BD6FF); }
    [data-sec="temata"] { --plate: light-dark(#FCE8CA, #1E3553); --plate-ink: light-dark(#895800, #F4C170); }
    [data-sec="suroviny"] { --plate: light-dark(#FFE4D0, #1E3553); --plate-ink: light-dark(#994A08, #FFB583); }
    [data-sec="zeme"] { --plate: light-dark(#CAF4FC, #1E3553); --plate-ink: light-dark(#00687D, #60DFF4); }
    [data-sec="etf"] { --plate: light-dark(#DBECFF, #1E3553); --plate-ink: light-dark(#31559A, #A1CBFF); }
    [data-sec="dividendy"] { --plate: light-dark(#F0EDCB, #1E3553); --plate-ink: light-dark(#706500, #D7CE72); }
    [data-sec="zebricky"] { --plate: light-dark(#FFE6CC, #1E3553); --plate-ink: light-dark(#925100, #FEBB77); }
    [data-sec="burzy"] { --plate: light-dark(#CCF3FF, #1E3553); --plate-ink: light-dark(#006488, #6BDBFF); }
    [data-sec="kde-koupit"] { --plate: light-dark(#F6EBCA, #1E3553); --plate-ink: light-dark(#7E5F00, #E6C86E); }
    [data-sec="magazin"] { --plate: light-dark(#D5EEFF, #1E3553); --plate-ink: light-dark(#0E5B97, #8ED1FF); }
    [data-sec="map"] { --plate: light-dark(#10233C, #1E3553); --plate-ink: light-dark(#FFFFFF, #ECF1F7); }
    :root[data-theme="light"] { color-scheme: light; }
    :root[data-theme="dark"] { color-scheme: dark; }
  }
}
/* TOKENS:END */

@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  body, h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
  ul[class], ol[class] { list-style: none; padding: 0; }
  img, svg { display: block; }
  img { max-width: 100%; height: auto; }
  button, input { font: inherit; color: inherit; }
  button { cursor: pointer; }
  fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
  input[type="search"]::-webkit-search-cancel-button { display: none; }
  [hidden] { display: none !important; }
}

@layer base {
  :root {
    /* the type scale, phone first. --t1 small text, --t2 table cells, rail rows, top bar, buttons, --t3 running text, a rail arm's name, --t4 H3, --t5 H2, --t6 key numbers, --t7 H1. --t-card: a hub card's title and number. */
    --t1: max(14px, .853rem);
    --t2: max(16.5px, .875rem);
    --t3: 1rem;
    --t4: 1.2rem;
    --t5: 1.4118rem;
    --t6: 1.7rem;
    --t7: clamp(1.7rem, 1rem + 2.1vw, 2.4rem);
    --t-card: max(18px, 1rem);
    /* layout */
    --gut: max(16px, env(safe-area-inset-left), env(safe-area-inset-right));
    --bar: 3.1rem; --tabs: 3.7647rem; --max: 92rem; --rail: 17.75rem;
    --zone: 2.5rem; --beat: .625rem;
    --r: .75rem; --r-s: .5rem;
    --shadow: none;
    --plate-z: clamp(40px, 2.35rem, 44px);
    --ctl: max(44px, 2.5rem);
    --btn-h: max(52px, 3.0589rem);
    --sans: "Archivo", "Archivo Fallback", Arial, sans-serif;
    /* the signpost arm: a pointed right end with softened shoulders and tip, sharp at any zoom because it is geometry, not a rotated box */
    --arm-clip: polygon(0 0, calc(100% - 20px) 0, calc(100% - 18.4px) .5px, calc(100% - 17.2px) 1.6px, calc(100% - 1.3px) calc(50% - 2.4px), calc(100% - .4px) calc(50% - 1.1px), 100% 50%, calc(100% - .4px) calc(50% + 1.1px), calc(100% - 1.3px) calc(50% + 2.4px), calc(100% - 17.2px) calc(100% - 1.6px), calc(100% - 18.4px) calc(100% - .5px), calc(100% - 20px) 100%, 0 100%);
    /* the eToro logo in the plugin's block, which has no img: same URL as on the site */
    --etoro: url(/wp-content/uploads/2025/06/etoro-logo-1-150x150.webp);
  }
  @media (min-width: 760px) {
    :root {
      --t1: max(14px, calc(.5rem + 6.5px));
      --t5: 1.58rem;
      --t-card: 1rem;
      --gut: max(1.5rem, env(safe-area-inset-left), env(safe-area-inset-right));
      --bar: 3.4rem; --zone: 3.5rem; --beat: 1rem;
      --btn-h: max(48px, 2.75rem);
    }
  }
  html {
    /* 17 px on a phone up to about 960 px, 18 at 1280, 20 at 1920, 21 from 2240; a browser's own font setting still counts */
    font-size: clamp(106.25%, calc(87.5% + .3125vw), 131.25%);
    font-family: var(--sans);
    font-variant-numeric: lining-nums tabular-nums;
    -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
    scroll-padding-top: calc(var(--bar) + .75rem);
    scroll-padding-bottom: calc(var(--tabs) + .75rem + env(safe-area-inset-bottom));
    scroll-behavior: smooth;
  }
  body {
    background: var(--page); color: var(--ink);
    font-size: var(--t3); line-height: 1.5;
    padding-bottom: calc(var(--tabs) + env(safe-area-inset-bottom));
    overflow-wrap: break-word;
  }
  @media screen and (max-width: 759px) { body:has(:popover-open) { overflow: hidden; } }
  @media (min-width: 760px) { html { scroll-padding-bottom: .75rem; } body { padding-bottom: 0; } }
  a { color: inherit; text-decoration: none; }
  h1 { font-size: var(--t7); line-height: 1.12; font-weight: 700; letter-spacing: -.014em; text-wrap: balance; }
  h2 { font-size: var(--t5); line-height: 1.2; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
  h3 { font-size: var(--t4); line-height: 1.25; font-weight: 600; }
  small { font-size: var(--t1); }
  strong, b { font-weight: 600; }
  :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 3px; }
  .a-strip :focus-visible, .a-top :focus-visible, .a-sticksearch :focus-visible, .a-doorchips :focus-visible, .a-foot :focus-visible, .a-panel-top :focus-visible { outline-color: #fff; }
  .up { color: var(--up); }
  .dn { color: var(--dn); }
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
  }
  /* sticky and fixed bars give the room back on short screens, a phone on its side for one */
  @media (max-height: 559px) {
    :root { --bar: 0px; --tabs: 0px; }
    html { scroll-padding: .75rem; }
  }
}
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .12s; }

/* ---------------------------------------------------------------- layout */
@layer layout {
  .a-shell { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--beat); max-width: var(--max); margin-inline: auto; padding: .25rem var(--gut) 0; }
  .a-p-home .a-shell { padding-top: var(--beat); }
  @media (min-width: 760px) { .a-shell { padding-top: var(--beat); } }
  .a-col { min-width: 0; }
  .a-col:focus { outline: 0; }
  .a-wide { max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
  .a-wide > section, .a-wide > .a-info, .a-sec-2, .a-sec-3 { margin-block: var(--zone); }
  /* the rail needs the main column to keep about 860 px, so it comes in here; the strip and the wide partner rule go with it */
  @media (min-width: 1240px) {
    .a-shell:not(.a-shell--read) { grid-template-columns: var(--rail) minmax(0, 1fr); gap: 1.5rem; align-items: start; }
    .a-shell { padding-top: 1.25rem; }
  }
  .a-sec-2, .a-sec-3 { display: grid; gap: var(--zone) 2.5rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
  @media (min-width: 1024px) { .a-sec-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .a-sec-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  /* phone: the ten sections stand directly under the table as one accordion signpost, the map and the text follow */
  @media screen and (max-width: 759px) {
    .a-wide { display: flex; flex-direction: column; gap: .375rem; margin-top: var(--zone); }
    .a-wide > section, .a-wide > .a-info, .a-sec-2, .a-sec-3 { margin-block: 0; }
    .a-sec-2, .a-sec-3 { display: contents; }
    .a-wide > .a-map { order: 1; margin-top: var(--zone); }
    .a-wide > .a-textsec { order: 2; margin-top: var(--zone); }
    .a-wide > .a-info { order: 3; margin-top: var(--zone); }
  }
}

/* ---------------------------------------------------------------- components */
@layer comp {
  .a-i { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
  .a-flag { width: 1.25rem; height: .9375rem; flex: none; border-radius: 2px; outline: 1px solid rgb(16 35 60 / .12); outline-offset: -1px; }
  .a-skip { position: fixed; left: .5rem; top: -5rem; z-index: 90; padding: .625rem .875rem; border-radius: var(--r-s); background: var(--card); color: var(--ink); font-weight: 600; box-shadow: var(--shadow-2); }
  .a-skip:focus { top: .5rem; }

  /* icon plates: the only place, with small accents, that carries a section's hue */
  .a-plate { display: inline-flex; align-items: center; justify-content: center; flex: none; width: var(--plate-z); height: var(--plate-z); border-radius: var(--r-s); background: var(--plate); color: var(--plate-ink); }
  .a-plate > .a-i { width: 1.25rem; height: 1.25rem; }
  .a-plate > .a-flag { width: 1.5rem; height: 1.125rem; }
  .a-plate--s { width: 2rem; height: 2rem; }

  /* the one button: two variants. Text left, icon right, a long label takes two lines. The grid also serves the plugin's markup, which has no wrapper and no svg. */
  .a-btn, .atl-cta-btn, .atl-btn { display: inline-grid; grid-template-columns: minmax(0, auto) auto; align-items: center; align-content: center; justify-content: center; gap: 0 .625rem; min-height: var(--btn-h); padding: .375rem 1rem; border: 1.5px solid transparent; border-radius: var(--r-s); font-size: var(--t2); font-weight: 600; line-height: 1.2; text-align: start; text-decoration: none; text-wrap: balance; transition: background-color .12s; }
  .a-btn > .a-i { grid-column: 2; grid-row: 1; width: 1.25rem; height: 1.25rem; }
  .a-btn:has(.atl-cta-sub) > .a-i { grid-row: 1 / span 2; }
  .atl-cta-main { display: block; }
  .atl-cta-sub { display: block; grid-column: 1; font-size: var(--t1); font-weight: 400; }
  /* partner: every link that goes to a broker through /go/. The plugin's link looks exactly the same; its icon comes from one file, because its markup has no svg. */
  .a-btn--partner, .atl-cta-btn, .atl-cta .atl-btn, .atl-btn[href*="/go/"] { background: var(--go); color: var(--go-ink); }
  .a-btn--partner:hover, .atl-cta-btn:hover, .atl-cta .atl-btn:hover, .atl-btn[href*="/go/"]:hover { background: var(--go-h); }
  .atl-cta-btn::after, .atl-cta .atl-btn::after, .atl-btn[href*="/go/"]::after { content: ""; grid-column: 2; grid-row: 1; width: 1.25rem; height: 1.25rem; background: currentColor; -webkit-mask: url(external-link.svg) center / contain no-repeat; mask: url(external-link.svg) center / contain no-repeat; }
  .atl-cta-btn:has(.atl-cta-sub)::after { grid-row: 1 / span 2; }
  /* ghost: internal links and actions that were buttons */
  .a-btn--ghost, .atl-btn { background: transparent; color: var(--ink); border-color: var(--ink); }
  .a-btn--ghost:hover, .atl-btn:hover { background: var(--hover); }
  .atl-cta .atl-btn, .atl-btn[href*="/go/"] { border-color: transparent; }

  /* the partner block: one quiet panel. Logo in a white plate, label and risk in the normal ink, button beside them; stacked on a phone. .atl-cta is the plugin's markup for the same thing. */
  .a-partner, .atl-cta { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .375rem .625rem; padding: .375rem .5rem .5rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); color: var(--ink); }
  .a-partner-logo, .atl-cta::before { width: var(--plate-z); height: var(--plate-z); border: 1px solid rgb(16 35 60 / .14); border-radius: var(--r-s); background-color: #fff; }
  .a-partner-logo { display: block; padding: .25rem; }
  .a-partner-logo img { width: 100%; height: 100%; object-fit: contain; }
  .a-partner-t, .atl-cta-note, .atl-cta-label { font-size: var(--t1); line-height: 1.3; text-wrap: pretty; }
  .a-partner-t strong { font-weight: 600; }
  .a-partner .a-btn { grid-column: 1 / -1; width: 100%; justify-content: space-between; }
  .atl-cta::before { content: ""; grid-column: 1; grid-row: 1 / span 2; background-image: var(--etoro); background-position: center; background-size: calc(100% - .5rem); background-repeat: no-repeat; }
  .atl-cta-note { grid-column: 2; grid-row: 1 / span 2; margin: 0 !important; }
  .atl-cta-label { grid-column: 2; grid-row: 1; margin: 0 !important; font-weight: 600; align-self: end; }
  .atl-cta:has(.atl-cta-label) .atl-cta-note { grid-row: 2; align-self: start; }
  .atl-cta-btn, .atl-cta .atl-btn { grid-column: 1 / -1; grid-row: 3; width: 100%; justify-content: space-between; }
  .a-prose .atl-cta { margin-block: 1.75em; }
  .a-prose .atl-cta-btn, .a-prose .atl-cta .atl-btn, .a-prose .atl-btn[href*="/go/"] { color: var(--go-ink); text-decoration: none; }
  .a-prose .atl-btn { color: var(--ink); text-decoration: none; }
  @media (min-width: 620px) {
    .a-partner { grid-template-columns: auto minmax(0, 1fr) auto; gap: .5rem 1rem; padding: .75rem 1rem; }
    .a-partner .a-btn { grid-column: auto; width: auto; }
    .a-partner--stack { grid-template-columns: auto minmax(0, 1fr); padding: .75rem; }
    .a-partner--stack .a-btn { grid-column: 1 / -1; width: 100%; }
    .atl-cta { grid-template-columns: auto minmax(0, 1fr) auto; gap: .5rem 1rem; padding: .75rem 1rem; }
    .atl-cta-btn, .atl-cta .atl-btn { grid-column: 3; grid-row: 1 / span 2; width: auto; }
  }
  .a-partner--menu { margin-top: 1rem; }
  .a-col > .a-partner { margin-top: var(--beat); }
  /* table and partner: under the table in the DOM, above it on a phone */
  .a-tstack { display: flex; flex-direction: column; margin-top: var(--beat); }
  .a-tstack > .a-tbox { margin-block: 0; }
  .a-tstack > .a-partner { order: -1; margin-block: 0 var(--beat); }
  .a-partner--dk { display: none; }
  @media (min-width: 1240px) {
    .a-tstack > .a-partner { order: 0; margin-block: var(--beat) 0; }
    .a-partner--ph, .a-partner--menu { display: none; }
    .a-partner--dk { display: grid; }
  }
  /* a tall window shows the strip and the first block together: those blocks step back */
  @media (min-width: 1240px) and (min-height: 1300px) { .a-partner--near { display: none; } }
  @media (min-width: 1240px) and (min-height: 1320px) { .a-hgs > .a-partner { display: none; } }

  /* the partner strip: desktop only, above the header, never sticky. Label and risk stay right next to the same green button. */
  .a-strip { display: none; background: var(--strip); color: var(--band-ink); font-size: var(--t1); line-height: 1.25; }
  .a-strip-in { display: grid; grid-template-columns: auto auto; grid-template-areas: "l b" "r b"; justify-content: start; align-items: center; gap: 0 1.5rem; max-width: var(--max); margin-inline: auto; padding: .25rem var(--gut); }
  .a-strip-l { grid-area: l; align-self: end; font-weight: 600; }
  .a-strip-r { grid-area: r; align-self: start; }
  .a-strip .a-btn { grid-area: b; padding-block: .2rem; }
  @media (min-width: 1240px) { .a-strip { display: block; } }
  @media (min-width: 1680px) { .a-strip-in { grid-template-columns: auto auto auto; grid-template-areas: "l r b"; } .a-strip-l, .a-strip-r { align-self: center; } }

  /* band */
  .a-top { background: var(--band); color: var(--band-ink); }
  .a-top--stick { position: sticky; top: 0; z-index: 40; view-transition-name: a-top; }
  .a-top-row { display: flex; align-items: center; gap: .75rem; max-width: var(--max); min-height: var(--bar); margin-inline: auto; padding-inline: var(--gut); }
  .a-logo { display: inline-flex; align-items: center; gap: .375rem; min-height: var(--ctl); flex: none; color: #fff; font-size: var(--t4); font-weight: 700; letter-spacing: -.015em; }
  .a-logo-m { width: 1.75rem; height: 1.75rem; fill: #58D8AD; }
  .a-toplinks { display: none; }
  .a-toplink { display: inline-flex; align-items: center; gap: .4rem; min-height: var(--ctl); padding: 0 .5rem; border: 0; border-radius: var(--r-s); background: transparent; color: var(--band-ink); font-size: var(--t2); font-weight: 400; white-space: nowrap; transition: background-color .12s; }
  .a-toplink:hover { background: var(--band-2); }
  .a-toplink-c { width: 1em; height: 1em; }
  .a-toplink-x { display: none; }
  .a-toplink-ic { padding: 0; width: var(--ctl); justify-content: center; }
  :root:not(.a-js) [data-theme-toggle] { display: none; }
  .a-th-l { display: none; }
  :root[data-theme="dark"] .a-th-d { display: none; }
  :root[data-theme="dark"] .a-th-l { display: block; }
  @media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .a-th-d { display: none; }
    :root:not([data-theme="light"]) .a-th-l { display: block; }
  }
  @media (min-width: 760px) {
    .a-toplinks { display: flex; align-items: center; gap: .125rem; margin-left: auto; flex: none; }
    .a-logo { gap: .5rem; }
  }
  @media (min-width: 900px) { .a-top--home .a-toplink-x { display: inline-flex; } }
  @media (min-width: 1240px) { .a-toplink-x { display: inline-flex; } }

  /* home door: sentence, search, at most six chips. On a phone the top bar is logo and search only. */
  .a-brand { max-width: var(--max); margin-inline: auto; padding: 0 var(--gut); }
  .a-brand-t { font-size: var(--t4); line-height: 1.25; font-weight: 600; letter-spacing: -.008em; text-wrap: balance; }
  .a-sticksearch { position: sticky; top: 0; z-index: 40; background: var(--band); view-transition-name: a-top; }
  .a-sticksearch-in { display: flex; align-items: center; gap: .625rem; max-width: var(--max); min-height: var(--bar); margin-inline: auto; padding: .2rem var(--gut); }
  /* phone: this copy is the logo. From a tablet up app.js sets a-stuck when the header has scrolled away. */
  .a-logo--stuck { display: inline-flex; }
  .a-search--big { flex: 1; min-width: 0; }
  @media screen and (max-width: 759px) { .a-top--home { display: none; } }
  .a-doorchips { display: none; background: var(--band); }
  .a-doorchips ul { list-style: none; display: flex; gap: .5rem; max-width: var(--max); margin-inline: auto; padding-inline: var(--gut); }
  .a-doorchips li { flex: none; }
  .a-doorchip { display: inline-flex; align-items: center; gap: .5rem; min-height: var(--ctl); padding-inline: .75rem; border-radius: var(--r-s); background: var(--band-2); color: var(--band-ink); font-size: var(--t1); white-space: nowrap; transition: background-color .12s; }
  .a-doorchip:hover { background: #2A4A73; }
  @media (min-width: 760px) {
    .a-logo--stuck { display: none; }
    .a-stuck .a-logo--stuck { display: inline-flex; }
    .a-sticksearch { top: -.75rem; }
    .a-sticksearch-in { min-height: 0; padding-block: .75rem .3rem; }
    .a-doorchips { display: block; padding-block: .25rem .75rem; }
    .a-doorchips li:nth-child(n+5) { display: none; }
  }
  @media (min-width: 820px) { .a-doorchips li:nth-child(5) { display: block; } }
  @media (min-width: 960px) { .a-doorchips li:nth-child(6) { display: block; } }

  /* search */
  .a-search { flex: 1; min-width: 0; position: relative; color: var(--field-ink); }
  .a-search-f { position: relative; display: flex; align-items: center; }
  .a-search-i { position: absolute; left: .625rem; width: 1.2rem; height: 1.2rem; color: var(--field-ink-2); pointer-events: none; }
  .a-search-in { width: 100%; height: 2.65rem; padding: 0 .5rem 0 2.25rem; border: 0; border-radius: var(--r-s); background: var(--field); color: var(--field-ink); font-size: max(16px, var(--t2)); text-overflow: ellipsis; appearance: none; }
  .a-search-in::placeholder { color: var(--field-ink-2); opacity: 1; text-overflow: ellipsis; }
  .a-search-in:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
  @media (min-width: 760px) {
    .a-search--big .a-search-in { height: 3.1rem; padding-left: 3rem; font-size: var(--t3); }
    .a-search--big .a-search-i { left: 1rem; width: 1.3rem; height: 1.3rem; }
  }
  .a-search-x { display: none; flex: none; min-height: var(--ctl); margin-left: .25rem; padding: 0 .5rem; border: 0; background: none; color: var(--band-ink); font-weight: 600; }
  .a-search-nojs { display: flex; align-items: center; gap: .625rem; height: 2.65rem; padding: 0 .875rem; border-radius: var(--r-s); background: var(--field); color: var(--field-ink); font-size: var(--t2); }
  .a-js .a-search-nojs { display: none; }
  :root:not(.a-js) .a-search-f, :root:not(.a-js) .a-search-pop { display: none; }
  .a-search-pop { position: absolute; top: calc(100% + .375rem); inset-inline: 0; z-index: 60; max-height: min(72dvh, 38rem); overflow: auto; overscroll-behavior: contain; padding: .375rem; border-radius: var(--r); background: var(--card); color: var(--ink); box-shadow: var(--shadow-2); }
  .a-search-opt a { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr) auto; align-items: center; gap: .625rem; min-height: var(--ctl); padding: .375rem .625rem; border-radius: var(--r-s); font-size: var(--t2); }
  .a-search-opt .a-i { width: 1.25rem; height: 1.25rem; color: var(--ink-2); }
  .a-search-opt.a-on a, .a-search-opt a:hover { background: var(--card-3); }
  .a-search-opt mark { background: none; color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
  .a-search-sec { color: var(--ink-2); font-size: var(--t1); }
  .a-search-none { padding: .625rem; color: var(--ink-2); font-size: var(--t2); }
  .a-search-sugg { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 12rem), 1fr)); gap: .125rem; }
  .a-search-sugg a { display: flex; align-items: center; gap: .625rem; min-height: var(--ctl); padding: .375rem .625rem; border-radius: var(--r-s); font-size: var(--t2); }
  .a-search-sugg a:hover { background: var(--card-3); }
  .a-search.a-sheet { position: fixed; inset: 0; z-index: 70; display: flex; flex-direction: column; padding: .5rem var(--gut) 0; background: var(--band); }
  .a-search.a-sheet .a-search-f { flex: none; }
  .a-search.a-sheet .a-search-x { display: block; }
  .a-search.a-sheet .a-search-pop { position: static; flex: 1; min-height: 0; max-height: none; margin: .5rem calc(var(--gut) * -1) 0; border-radius: var(--r) var(--r) 0 0; padding: .5rem; }

  /* panels. Without popover support app.js opens them by a class */
  .a-pop, .a-panel { margin: 0; border: 0; padding: .75rem; background: var(--card); color: var(--ink); box-shadow: var(--shadow-2); overflow: auto; overscroll-behavior: contain; }
  [popover]:not(:popover-open) { display: none; }
  @supports not selector(:popover-open) { [popover] { display: none; } [popover].a-open { display: block; } }
  .a-pop::backdrop, .a-panel::backdrop { background: rgb(7 16 30 / .5); }
  .a-pop { position: fixed; inset: calc(var(--bar) + .375rem) max(12px, env(safe-area-inset-right)) auto auto; width: min(26rem, calc(100vw - 24px)); max-height: calc(100dvh - var(--bar) - 1rem); border-radius: var(--r); z-index: 80; }
  .a-pop-h { font-weight: 600; font-size: var(--t3); padding: .25rem .5rem .5rem; }
  .a-pop-h a:hover { text-decoration: underline; }
  .a-pop .a-row { margin-inline: 0; padding-inline: .5rem; min-height: var(--ctl); }
  .a-panel { position: fixed; inset: 0; width: 100%; height: 100dvh; max-width: none; max-height: none; --pl: max(12px, env(safe-area-inset-left)); --pr: max(12px, env(safe-area-inset-right)); padding: 0 var(--pr) calc(1rem + env(safe-area-inset-bottom)) var(--pl); z-index: 80; }
  .a-panel-top { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: .25rem; min-height: var(--bar); margin-inline: calc(var(--pl) * -1) calc(var(--pr) * -1); padding-inline: calc(var(--pl) + 4px) calc(var(--pr) - 4px); background: var(--band); color: var(--band-ink); margin-bottom: .625rem; }
  .a-panel-t { font-size: var(--t4); font-weight: 600; margin-right: auto; }
  .a-panel-grid { display: grid; gap: .625rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
  .a-menu-s ul { list-style: none; padding: .125rem 0 0 .75rem; display: flex; flex-wrap: wrap; gap: 0 .875rem; }
  .a-menu-s li a { display: flex; align-items: center; min-height: var(--ctl); color: var(--ink-2); font-size: var(--t2); line-height: 1.25; }
  .a-menu-s li a:hover { color: var(--ink); text-decoration: underline; }
  .a-menu-def { padding: .375rem .75rem 0; font-size: var(--t2); line-height: 1.35; }
  @media (min-width: 760px) {
    .a-panel { inset: .5rem .5rem .5rem auto; width: min(62rem, calc(100vw - 1rem)); height: auto; border-radius: var(--r); padding-bottom: .75rem; }
    .a-panel-grid { display: block; columns: 3 17rem; column-gap: .75rem; }
    .a-menu-s { break-inside: avoid; margin-bottom: .75rem; }
    .a-menu-s ul { display: block; }
    .a-menu-s li a { min-height: 2rem; }
  }
  @media (prefers-reduced-motion: no-preference) {
    .a-panel, .a-pop { transition: translate .16s ease-out, opacity .12s, display .16s allow-discrete, overlay .16s allow-discrete; }
    .a-panel:popover-open, .a-pop:popover-open { opacity: 1; translate: 0 0; }
    @starting-style { .a-panel:popover-open { opacity: 0; translate: 0 12px; } .a-pop:popover-open { opacity: 0; translate: 0 -6px; } }
  }

  /* the arm: rail on desktop, the sections in the menu, the signpost on a phone home. One line of descriptor, so all arms are equally tall. */
  .a-arm, .a-sec-h { --arm-bg: var(--card); --arm-line: var(--line); }
  .a-arm { position: relative; isolation: isolate; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "p n" "p d"; column-gap: .625rem; align-items: center; height: 3.4rem; padding: 0 1.5rem 0 .5rem; border-radius: var(--r) 0 0 var(--r); background: var(--arm-line); color: var(--ink); clip-path: var(--arm-clip); transition: translate .14s ease-out; }
  .a-arm::before { content: ""; position: absolute; inset: 1px; z-index: -1; border-radius: calc(var(--r) - 1px) 0 0 calc(var(--r) - 1px); background: var(--arm-bg); clip-path: var(--arm-clip); }
  .a-arm > .a-plate { grid-area: p; }
  .a-arm-t { display: contents; }
  .a-arm-n { grid-area: n; align-self: end; font-size: var(--t3); font-weight: 600; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .a-arm-d { grid-area: d; align-self: start; color: var(--ink-2); font-size: var(--t1); line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .a-arm:hover { --arm-line: var(--ink-2); translate: 3px 0; }
  .a-arm:focus-visible { outline: 0; --arm-line: var(--focus); }
  .a-arm:focus-visible::before { inset: 2.5px; }
  .a-arm[aria-current] { --arm-bg: var(--arm-cur); --arm-line: var(--arm-cur); color: #fff; }
  .a-arm[aria-current] .a-arm-d { color: var(--band-ink-2); }
  /* the rail: only on home, hubs and categories, only where the main column keeps its width */
  .a-rail { display: none; min-width: 0; }
  .a-rail ul { list-style: none; padding: 0; }
  .a-rail-sub { margin: .375rem .75rem .75rem 3.25rem; }
  .a-rail-g { display: flex; align-items: center; min-height: 2.25rem; padding: .25rem .5rem; border-radius: var(--r-s); color: var(--ink-2); font-size: var(--t2); line-height: 1.2; }
  .a-rail-g:hover { color: var(--ink); background: var(--hover); }
  .a-rail-g.a-cur { color: var(--ink); font-weight: 600; }
  .a-rail-sub2 { margin: .125rem 0 .375rem; }
  .a-rail-sub2 a { display: block; padding: .375rem .5rem .375rem 1rem; border-radius: var(--r-s); font-size: var(--t2); line-height: 1.2; }
  .a-rail-sub2 a:hover { background: var(--hover); }
  .a-rail-sub2 a[aria-current] { background: var(--card-3); font-weight: 600; }
  .a-rail--compact .a-arm { height: clamp(48px, 2.85rem, 54px); grid-template-areas: "p n"; }
  .a-rail--compact .a-arm-n { align-self: center; }
  @media (min-width: 1240px) {
    /* the last arms can lie below the window: the fade says so; the padding lets the last arm scroll clear of it */
    .a-rail { display: block; position: sticky; top: calc(var(--bar) + .75rem); max-height: calc(100dvh - var(--bar) - 1.25rem); overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; view-transition-name: a-rail; -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 26px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 26px), transparent); }
    .a-rail .a-rail-l { position: relative; display: flex; flex-direction: column; gap: .3rem; padding-block: .25rem 1.75rem; }
    /* the post of the signpost, behind the arms */
    .a-rail .a-rail-l::before { content: ""; position: absolute; inset-block: 0; left: calc(.5rem + var(--plate-z) / 2 - 4px); width: 8px; border-radius: 4px 4px 0 0; background: var(--post); }
    .a-rail .a-rail-l > li { position: relative; }
    .a-rail .a-arm { margin-right: .5rem; transition: translate .14s ease-out, margin .14s ease-out; }
    .a-rail .a-arm[aria-current] { margin-right: 0; }
  }
  @media (min-width: 1240px) and (max-height: 559px) { .a-rail { position: static; max-height: none; } }

  /* bottom tabs on a phone. The page's own section lights up in its hue. 64 px tall, labels 13 px: the one size under 14. */
  .a-tabs { position: fixed; inset: auto 0 0; z-index: 30; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); padding-bottom: env(safe-area-inset-bottom); border-top: 1px solid var(--line); background: var(--card); view-transition-name: a-tabs; }
  .a-tab { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .125rem; min-width: 0; min-height: calc(var(--tabs) - 1px); border: 0; background: none; color: var(--ink-2); font-size: 13px; font-weight: 400; line-height: 1.15; white-space: nowrap; }
  .a-tab .a-i { width: 1.4rem; height: 1.4rem; box-sizing: content-box; padding: .125rem .75rem; border-radius: var(--r-s); transition: background-color .12s; }
  .a-tab[aria-current] { color: var(--ink); font-weight: 600; }
  .a-tab[aria-current] .a-i { background: var(--plate); color: var(--plate-ink); }
  @media (min-width: 760px) { .a-tabs { display: none; } }
  @media (max-height: 559px) {
    .a-tabs { position: static; }
    .a-tab { min-height: 3.1rem; }
    .a-top--stick, .a-sticksearch, .a-toc { position: static; }
    .a-top--stick .a-top-row { min-height: 3.1rem; }
    .a-stuck .a-logo--stuck { display: none; }
    .a-logo--stuck { display: inline-flex; }
    .a-top--home ~ .a-sticksearch .a-logo--stuck { display: inline-flex; }
  }
  @media (min-width: 760px) and (max-height: 559px) { .a-top--home ~ .a-sticksearch .a-logo--stuck { display: none; } }

  /* page head: one thing is clearly the biggest, the H1 */
  .a-here { min-height: 1.5rem; color: var(--ink-2); font-size: var(--t1); line-height: 1.5rem; }
  .a-here a { padding-block: .3rem; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 2px; }
  .a-here a:hover { text-decoration-color: currentColor; }
  .a-crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: nowrap; align-items: center; gap: .125rem; overflow-x: auto; scrollbar-width: none; white-space: nowrap; font-size: var(--t1); color: var(--ink-2); }
  .a-crumbs li { display: flex; align-items: center; gap: .125rem; }
  .a-crumbs li + li::before { content: "/"; padding-inline: .3rem; color: var(--ink-2); }
  .a-crumbs a { display: inline-flex; align-items: center; min-height: var(--ctl); }
  @media (min-width: 760px) { .a-crumbs a { min-height: 2rem; } }
  .a-crumbs a:hover { color: var(--ink); text-decoration: underline; }
  .a-crumbs li[aria-current] { color: var(--ink); font-weight: 600; }
  .a-title h1 { margin-top: .125rem; }
  .a-nb { white-space: nowrap; }
  @media (max-width: 379px) { .a-nb { white-space: normal; } }
  .a-flag--h1 { display: inline-block; width: 1.65rem; height: 1.2375rem; margin-right: .5rem; vertical-align: -.05em; }
  .a-answer { margin-top: .25rem; max-width: 50rem; font-size: var(--t3); line-height: 1.4; text-wrap: pretty; }
  @media (min-width: 760px) { .a-answer { margin-top: .5rem; line-height: 1.45; } }
  .a-date { color: var(--ink-2); white-space: nowrap; }

  /* key numbers: one quiet panel with dividers on a desktop, none on a phone: the sentence above says the same */
  .a-keys { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); margin-top: var(--beat); border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
  .a-key-c { display: flex; flex-direction: column; justify-content: space-between; gap: .125rem; min-width: 0; padding: .625rem 1rem; }
  .a-key-c + .a-key-c { border-left: 1px solid var(--line); }
  .a-key-c dt { color: var(--ink-2); font-size: var(--t1); line-height: 1.25; }
  .a-key-c dd { color: var(--ink); font-size: var(--t6); font-weight: 600; letter-spacing: -.012em; white-space: nowrap; line-height: 1.15; }
  .a-key-c small { margin-left: .375rem; color: var(--ink-2); font-weight: 400; letter-spacing: 0; }
  @media screen and (max-width: 759px) { .a-keys { display: none; } }

  /* section heads. On a phone with JS the head is an arm and a button, and the body opens under it. */
  .a-sec-h { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
  .a-sec-tt { flex: 1 1 0; min-width: 0; }
  .a-sec-tt p { color: var(--ink-2); font-size: var(--t2); line-height: 1.3; text-wrap: pretty; }
  .a-sec-def { margin-bottom: 1rem; max-width: 50rem; font-size: var(--t2); }
  .a-go { margin-top: .5rem; }
  @media screen and (max-width: 759px) {
    .a-sec-h { position: relative; isolation: isolate; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .75rem; height: 4rem; margin: 0; padding: 0 3.25rem 0 .5rem; border-radius: var(--r) 0 0 var(--r); background: var(--arm-line); clip-path: var(--arm-clip); }
    .a-sec-h::before { content: ""; position: absolute; inset: 1px; z-index: -1; border-radius: calc(var(--r) - 1px) 0 0 calc(var(--r) - 1px); background: var(--arm-bg); clip-path: var(--arm-clip); }
    .a-sec-tt h2 { font-size: var(--t3); font-weight: 600; letter-spacing: 0; line-height: 1.2; }
    .a-sec-tt p { font-size: var(--t1); line-height: 1.25; }
    .a-sec.a-open .a-sec-h { --arm-bg: var(--arm-cur); --arm-line: var(--arm-cur); color: #fff; }
    .a-sec.a-open .a-sec-tt p { color: var(--band-ink-2); }
    .a-sec-b { padding: 1rem .25rem 1.5rem; }
    .a-js .a-sec:not(.a-open) > .a-sec-b { display: none; }
    .a-acc .a-sec-h::after { content: ""; position: absolute; right: 2rem; top: 50%; width: .55rem; height: .55rem; margin-top: -.4rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; rotate: 45deg; transition: rotate .14s, margin-top .14s; }
    .a-sec.a-open .a-sec-h::after { rotate: 225deg; margin-top: -.15rem; }
    .a-go { width: 100%; justify-content: space-between; margin-top: .75rem; }
  }

  /* groups on the home signpost: a heading and its links. With JS on a phone app.js makes them an accordion too. */
  .a-idx { columns: 1; column-gap: 2.5rem; }
  .a-group { position: relative; break-inside: avoid; padding-bottom: 1.5rem; }
  .a-group-h { position: relative; padding-bottom: .375rem; border-bottom: 1px solid var(--line); margin-bottom: .25rem; }
  .a-group-h h3 { line-height: 1.25; }
  .a-group-btn { display: block; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: inherit; text-align: start; }
  .a-group-btn::after { content: ""; position: absolute; inset: 0; }
  .a-group-btn:focus-visible { outline: 0; }
  .a-group-btn:focus-visible::after { outline: 2px solid var(--focus); outline-offset: -2px; border-radius: var(--r-s); }
  .a-group.a-acc .a-group-h { display: flex; align-items: center; min-height: 3.25rem; margin: 0; padding: .25rem 2rem .25rem .25rem; }
  .a-group.a-acc { padding: 0; }
  .a-group.a-acc .a-group-h::after { content: ""; position: absolute; right: .75rem; top: 50%; width: .55rem; height: .55rem; margin-top: -.4rem; border-right: 2px solid var(--ink-2); border-bottom: 2px solid var(--ink-2); rotate: 45deg; transition: rotate .14s, margin-top .14s; }
  .a-group.a-open .a-group-h::after { rotate: 225deg; margin-top: -.15rem; }
  @media screen and (max-width: 759px) { .a-js .a-group:not(.a-open) > .a-rows { display: none; } }
  .a-rows li { min-width: 0; }
  .a-row { display: flex; align-items: center; justify-content: space-between; gap: .625rem; min-height: var(--ctl); margin-inline: -.25rem; padding: .25rem; border-radius: var(--r-s); font-size: var(--t2); line-height: 1.25; transition: background-color .1s; }
  .a-row:hover { background: var(--hover); }
  .a-row-n { min-width: 0; }
  .a-row--more { color: var(--ink-2); }
  .a-row--more:hover { color: var(--ink); }
  .a-row > .a-i { width: 1.2rem; height: 1.2rem; }
  @media (min-width: 760px) {
    .a-idx { columns: 2 13rem; }
    .a-idx--1 { columns: 1; }
    .a-idx--3 { columns: 3 17rem; }
    .a-idx--4 { columns: 4 14rem; }
    .a-row { min-height: 2rem; padding-block: .125rem; }
  }

  /* countries: a flag and a name */
  .a-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 .75rem; }
  .a-chip { display: flex; align-items: center; gap: .5rem; min-height: var(--ctl); margin-inline: -.25rem; padding: .25rem; border-radius: var(--r-s); transition: background-color .1s; }
  .a-chip:hover { background: var(--hover); }
  .a-chip-n { min-width: 0; font-size: var(--t2); line-height: 1.2; }
  .a-chip .a-i { width: 1.25rem; height: 1.25rem; color: var(--ink-2); }
  .a-chips li:nth-child(n+15) { display: none; }
  @media (min-width: 760px) {
    .a-chips { grid-template-columns: repeat(auto-fill, minmax(11rem, 1fr)); gap: 0 1.5rem; }
    .a-chips li:nth-child(n+15) { display: block; }
    .a-chip { min-height: 2rem; }
  }

  .a-buy { display: grid; gap: 1.5rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); align-items: start; }
  .a-buycard h3 { padding-bottom: .375rem; border-bottom: 1px solid var(--line); margin-bottom: .25rem; }
  .a-buy > .a-partner { grid-column: 1 / -1; }

  /* hub */
  .a-jump { margin-top: var(--beat); }
  .a-jump ul { display: flex; gap: .375rem; overflow-x: auto; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding: .125rem var(--gut); list-style: none; }
  .a-jump a { display: inline-flex; align-items: center; min-height: var(--ctl); padding: 0 .75rem; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--card); font-size: var(--t1); white-space: nowrap; }
  @media (min-width: 1240px) { .a-jump { display: none; } }
  .a-hgs { margin-top: var(--zone); }
  .a-hg { margin-block: 0 var(--zone); }
  .a-hg-h { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .75rem; margin-bottom: .75rem; }
  .a-hg-h h2 { flex: 1 1 auto; min-width: 0; }
  .a-hgs > .a-partner { margin-block: 0 var(--zone); }
  .a-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); gap: .625rem; }
  .a-cards li { min-width: 0; }
  .a-card { display: flex; flex-direction: column; gap: .75rem; height: 100%; padding: .875rem 1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); transition: border-color .12s; }
  .a-card:hover { border-color: var(--ink-2); }
  .a-card-t { display: flex; align-items: flex-start; gap: .75rem; }
  .a-card-n { font-size: var(--t-card); font-weight: 600; line-height: 1.25; text-wrap: pretty; }
  .a-card-d { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0 .75rem; margin-top: auto; }
  .a-card-v { font-size: var(--t-card); font-weight: 600; white-space: nowrap; }
  .a-card-c { color: var(--ink-2); font-size: var(--t1); white-space: nowrap; }
  .a-card-note, .a-card__note { color: var(--ink-2); font-size: var(--t1); line-height: 1.35; }
  @media (max-width: 619px) {
    .a-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: .25rem .75rem; padding: .625rem .75rem; }
    .a-card-t { align-items: center; }
    .a-card-d { flex-direction: column; align-items: flex-end; margin: 0; }
    .a-card-note, .a-card__note { grid-column: 1 / -1; }
  }
  .a-stamp { margin-block: var(--beat); color: var(--ink-2); font-size: var(--t1); }

  /* related: plain rows, the name and how many titles */
  .a-sec--flat { margin-block: var(--zone); }
  .a-sec--flat:focus, .a-textsec:focus { outline: 0; }
  .a-sec--flat h3 { margin-block: 1.5rem .5rem; }
  .a-rels { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); gap: 0 2rem; }
  .a-rels li { border-top: 1px solid var(--line); }
  .a-rel { display: flex; align-items: center; gap: .75rem; min-height: 3.5rem; padding-block: .375rem; transition: background-color .1s; }
  .a-rel:hover { background: var(--hover); }
  .a-rel-t { display: flex; flex-direction: column; min-width: 0; }
  .a-rel .a-card-n { font-size: var(--t2); }
  .a-rel .a-card-c { white-space: normal; }

  /* trust: dates, method, sources, risk. Plain text on the page. */
  .a-info { display: grid; gap: 2rem 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); margin-block: var(--zone) 0; padding-top: var(--zone); border-top: 1px solid var(--line); }
  .a-note { font-size: var(--t2); line-height: 1.5; }
  .a-note h2 { margin-bottom: .625rem; font-size: var(--t4); font-weight: 600; letter-spacing: 0; line-height: 1.25; }
  .a-note ul { padding-left: 1.1em; }
  .a-note li { margin-bottom: .375rem; }
  .a-note li::marker { color: var(--ink-2); }
  .a-note p + p, .a-note ul + p, .a-note dl + p { margin-top: .625rem; }
  .a-note a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
  .a-dates { display: grid; gap: .125rem; }
  .a-dates div { display: flex; justify-content: space-between; gap: .75rem; }
  .a-dates dt { color: var(--ink-2); }
  .a-dates dd { font-weight: 600; white-space: nowrap; }
  .a-postmeta { display: block; margin-block: .25rem var(--beat); color: var(--ink-2); font-size: var(--t1); }

  /* long text: one calm column, plain on the page */
  .a-textsec { container: atext / inline-size; margin-block: var(--zone); }
  .a-textsec > h2 { margin-bottom: 1rem; }
  .a-prose { font-size: var(--t3); line-height: 1.6; font-variant-numeric: lining-nums proportional-nums; }
  @media (min-width: 760px) { .a-prose { line-height: 1.65; } }
  .a-prose > * { max-width: 44rem; }
  .a-prose > :first-child { margin-top: 0; }
  .a-prose > :last-child { margin-bottom: 0; }
  .a-prose h2 { margin: 2.25rem 0 .625rem; line-height: 1.2; }
  .a-prose h3 { margin: 1.75rem 0 .375rem; line-height: 1.3; }
  .a-prose p { margin: 0 0 1em; text-wrap: pretty; }
  .a-prose ul, .a-prose ol { margin: 0 0 1.1em; padding-left: 1.35em; }
  .a-prose li { margin-block: .35em; padding-left: .15em; }
  .a-prose li::marker { color: var(--ink-2); font-weight: 600; }
  .a-prose strong { font-weight: 600; }
  .a-prose a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
  .a-prose--article h1 { margin-bottom: .6em; }
  .a-article { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); align-items: start; }
  .a-toc { display: none; }
  .a-toc p { color: var(--ink-2); font-size: var(--t1); font-weight: 600; margin-bottom: .375rem; }
  .a-toc ol { list-style: none; padding: 0; }
  .a-toc a { display: block; padding: .375rem 0; font-size: var(--t1); line-height: 1.3; color: var(--ink-2); }
  .a-toc a:hover { color: var(--ink); text-decoration: underline; }
  /* a text beside the rail: the list only when both fit */
  @container atext (min-width: 62rem) {
    .a-article:has(> .a-toc) { grid-template-columns: minmax(0, 44rem) minmax(0, 15rem); justify-content: space-between; gap: 3rem; }
    .a-toc { display: block; position: sticky; top: calc(var(--bar) + 1rem); }
  }
  /* a reading page: no rail, one centred column of about 44rem, the contents list beside it when the screen has room */
  .a-p-text .a-col { display: grid; grid-template-columns: minmax(0, 44rem); justify-content: center; }
  .a-p-text .a-article { display: contents; }
  @media (min-width: 1240px) {
    .a-p-text .a-col { grid-template-columns: minmax(0, 1fr) minmax(0, 44rem) minmax(12rem, 1fr); column-gap: 2.5rem; justify-content: normal; }
    .a-p-text .a-crumbs, .a-p-text .a-prose { grid-column: 2; }
    .a-p-text .a-toc { display: block; grid-column: 3; grid-row: 2; align-self: start; max-width: 17rem; position: sticky; top: calc(var(--bar) + 1rem); }
  }

  /* footer: a tight grid of links on a phone, then the legal texts word for word */
  .a-foot { margin-top: var(--zone); background: var(--band); color: var(--band-ink); }
  .a-foot-in { max-width: var(--max); margin-inline: auto; padding: 1.5rem var(--gut); }
  .a-foot-nav { display: grid; gap: .75rem 1rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .a-foot-b { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 0 .75rem; }
  .a-foot-nav nav:nth-child(2) { grid-column: 1 / -1; }
  .a-foot-nav nav:nth-child(2) ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 .75rem; }
  .a-foot-p { color: var(--band-ink-2); font-size: var(--t1); }
  .a-foot-h { margin-bottom: .125rem; color: var(--band-ink-2); font-size: var(--t1); font-weight: 600; }
  .a-foot-nav ul { list-style: none; padding: 0; }
  .a-foot-nav li a { display: flex; align-items: center; min-height: 2.25rem; font-size: var(--t1); line-height: 1.2; }
  .a-foot-nav li a:hover { text-decoration: underline; }
  .a-foot-text { margin-block: 1.25rem; color: var(--band-ink-2); font-size: var(--t1); line-height: 1.5; }
  .a-foot-text p { margin-bottom: .625rem; text-wrap: pretty; }
  .a-foot-text strong { color: var(--band-ink); font-weight: 600; }
  .a-foot-text a, .a-foot-legal a { color: var(--band-ink); text-decoration: underline; text-underline-offset: 2px; }
  .a-foot-legal { display: flex; flex-wrap: wrap; gap: .125rem 1.5rem; color: var(--band-ink-2); font-size: var(--t1); }
  .a-foot-legal a { display: inline-block; min-height: 1.5rem; }
  @media (min-width: 760px) {
    .a-foot-in { padding-block: 2rem 1.5rem; }
    .a-foot-nav { grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 1.25rem 1.5rem; }
    .a-foot-b { grid-column: auto; display: block; }
    .a-foot-nav nav:nth-child(2) { grid-column: auto; }
    .a-foot-nav nav:nth-child(2) ul { display: block; }
    .a-foot-nav li a { min-height: 1.9rem; }
    .a-foot-p { margin-top: .125rem; }
    .a-foot-text { margin-block: 1.5rem; line-height: 1.55; }
  }
  @media (min-width: 1024px) { .a-foot-text { columns: 2; column-gap: 2.5rem; } .a-foot-text p { break-inside: avoid; } }
}

/* ---------------------------------------------------------------- plugin markup */
@layer plugin {
  /* A table anywhere: it keeps a readable width and scrolls in its wrapper, with the name fixed. Only inside the box, and where :has() works, the views take over. */
  .atl-wrap { overflow-x: auto; }
  .atl { width: 100%; min-width: 54rem; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: var(--t2); line-height: 1.3; }
  .atl tbody th, .atl thead th:first-child { position: sticky; left: 0; z-index: 1; background: inherit; }
  .atl thead th:first-child { width: 12rem; background: var(--card); z-index: 3; }

  .a-tbox { container: tbox / inline-size; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); overflow: clip; }
  .a-tbox-h { padding: 1rem 1rem .25rem; }
  .a-tbar { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem; padding: .25rem; }
  .a-skiptable { display: flex; align-items: center; min-height: var(--ctl); padding: 0 .75rem; color: var(--link); font-size: var(--t1); text-decoration: underline; text-underline-offset: 2px; }

  /* the view switch: words, the chosen one on a quiet fill */
  .a-seg { display: inline-flex; flex: none; gap: .125rem; }
  .a-seg label { position: relative; display: block; cursor: pointer; }
  .a-seg input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
  .a-seg span { display: flex; align-items: center; justify-content: center; min-height: var(--ctl); padding: 0 .75rem; border-radius: var(--r-s); color: var(--ink-2); font-size: var(--t2); white-space: nowrap; transition: background-color .12s, color .12s; }
  .a-seg label:hover span { color: var(--ink); }
  .a-seg input:checked + span { background: var(--card-3); color: var(--ink); font-weight: 600; }
  .a-seg input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 1px; }
  /* radios that do nothing are not shown: without :has() or container queries the wide table scrolls instead */
  @supports not (selector(:has(*)) and (container-type: inline-size)) { .a-tbar .a-seg, .a-map-sw { display: none; } }

  /* find: an icon on a phone, a field when focused or on a wide screen */
  .a-find { position: relative; display: flex; align-items: center; flex: 1 1 var(--ctl); min-width: var(--ctl); }
  .a-find > .a-i { position: absolute; left: .75rem; width: 1.125rem; height: 1.125rem; color: var(--ink-2); pointer-events: none; }
  .a-find input { width: 100%; height: var(--ctl); padding: 0 .5rem 0 2.35rem; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--card); color: var(--ink); font-size: max(16px, var(--t2)); appearance: none; }
  .a-find input::placeholder { color: var(--ink-2); opacity: 1; }
  .a-find input:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }
  .a-find-n { display: none; position: absolute; right: .625rem; color: var(--ink-2); font-size: var(--t1); white-space: nowrap; pointer-events: none; }
  :root:not(.a-js) .a-find { display: none; }
  @container tbox (max-width: 33rem) {
    .a-tbar .a-seg { flex: 1 1 auto; }
    .a-seg label { flex: 1; }
    .a-seg span { padding-inline: .375rem; }
    .a-find { flex: 0 0 var(--ctl); }
    .a-find input { padding-right: 0; }
    .a-find input:not(:focus):placeholder-shown { color: transparent; }
    .a-find input:not(:focus)::placeholder { color: transparent; }
    .a-find:focus-within { flex: 1 1 100%; order: 3; }
    .a-find:focus-within input { padding-right: 5.6rem; }
    .a-find:focus-within .a-find-n { display: block; }
    .a-find:has(input:not(:placeholder-shown)) { flex: 1 1 100%; order: 3; }
    .a-find:has(input:not(:placeholder-shown)) .a-find-n { display: block; }
  }
  @container tbox (min-width: 33.01rem) {
    .a-tbar { padding: .5rem; justify-content: space-between; }
    .a-find { flex: 0 1 20rem; }
    .a-find-n { display: block; }
    .a-find input { padding-right: 5.6rem; }
  }

  /* inside the box, the table fits the width and its header can stick to the page */
  @supports selector(:has(*)) and (container-type: inline-size) {
    .a-tbox .atl-wrap { overflow: visible; }
    .a-tbox .atl { min-width: 0; }
    .a-tbox .atl tbody th, .a-tbox .atl thead th:first-child { position: static; }
    .a-tbox .atl thead th:first-child { position: sticky; top: var(--bar); z-index: 2; width: auto; }
    @container tbox (max-width: 17rem) { .a-tbox .atl-wrap { overflow-x: auto; } .a-tbox .atl { min-width: 17rem; } }
  }

  .atl caption { caption-side: bottom; padding: .75rem .75rem 1rem; color: var(--ink-2); font-size: var(--t1); line-height: 1.4; text-align: start; text-wrap: pretty; }
  .atl thead th { height: 2.6rem; padding: 0 var(--td-r, .625rem) 0 var(--td-l, .25rem); border-block: 1px solid var(--line); background: var(--card); color: var(--ink-2); font-size: var(--t1); font-weight: 600; text-align: end; white-space: nowrap; }
  @supports selector(:has(*)) and (container-type: inline-size) { .a-tbox .atl thead th { position: sticky; top: var(--bar); z-index: 2; } }
  @media (max-height: 559px) { .a-tbox .atl thead th, .a-tbox .atl thead th:first-child { position: static; } }
  .atl thead th:first-child { padding-left: .75rem; text-align: start; }
  /* hairlines only, no zebra */
  .atl tbody tr { background: var(--card); }
  .atl tbody tr:hover { background: var(--hover); }
  .atl tbody th, .atl td { border-bottom: 1px solid var(--line); }
  .atl tbody th { padding: .3rem .375rem .3rem .75rem; font-weight: 600; text-align: start; line-height: 1.25; }
  .atl small { color: var(--ink-2); font-weight: 400; line-height: 1.25; }
  .atl small::before { content: "\A"; white-space: pre; }
  .atl abbr { color: var(--ink-2); font-weight: 400; text-decoration: none; }
  .atl td { height: 2.9rem; padding: .25rem var(--td-r, .625rem) .25rem var(--td-l, .25rem); text-align: end; white-space: nowrap; overflow-wrap: normal; }
  .atl td.atl-native { color: var(--ink-2); white-space: normal; line-height: 1.15; }
  .atl tr.st td, .atl tr.nd td, .atl tr.nd th { color: var(--ink-2); }
  .atl tr.st td.up, .atl tr.st td.dn { color: inherit; }
  .atl :is(th, td):last-child { --td-r: .75rem; }

  /* column widths by class, narrow first. Every plugin column has one, the rest shares what is left. Values fit 13 characters. */
  .atl-c-price { width: 7.25rem; }
  .atl-c-change { width: 7.25rem; }
  .atl-c-day { width: 5.1rem; }
  .atl-c-value { width: 5.25rem; }
  .atl-c-range { width: 5.5rem; }
  .atl-c-yield { width: 4.75rem; }
  .atl-c-emp { width: 5.5rem; }
  .atl-c-rate { width: 6.5rem; }
  .atl-c-country { width: 6.5rem; }
  .a-c-n { width: 4.25rem; }
  .a-c-r { width: 4.5rem; }
  .a-c-h { width: 5.5rem; }
  @container tbox (min-width: 44rem) {
    .atl { --td-r: .875rem; --td-l: .25rem; }
    .atl thead th { height: 2.75rem; }
    .a-sort { min-height: 2.75rem; }
    .atl tbody th { padding-block: .375rem; }
    .atl td { height: 3rem; }
    .atl small { margin-left: .375rem; white-space: nowrap; }
    .atl small::before { content: none; }
    .atl-c-range { width: 9.5rem; }
    .atl-c-day { width: 5.25rem; }
    .atl-c-yield { width: 5rem; }
    .atl-c-emp { width: 6.5rem; }
    .atl-c-country { width: 7.5rem; }
    .a-c-n { width: 5rem; }
    .a-c-r { width: 5.25rem; }
    .a-c-h { width: 6.25rem; }
  }
  /* a long header on an extra column, and Hodnota (Kč) in a narrow box, may take two lines rather than cut itself off */
  .atl thead th:is(.atl-c-emp, .atl-c-rate, .atl-c-range) { white-space: normal; line-height: 1.15; }
  @container tbox (max-width: 33.99rem) { .atl thead th.atl-c-value { white-space: normal; line-height: 1.15; } }
  @container tbox (min-width: 34rem) { .atl-c-value { width: 6.75rem; } }

  /* sort buttons injected by app.js */
  .a-sort { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: .25rem; width: calc(100% + var(--td-r, .625rem) + var(--td-l, .25rem)); height: 100%; min-height: 2.6rem; margin: 0 calc(var(--td-r, .625rem) * -1) 0 calc(var(--td-l, .25rem) * -1); padding: 0 var(--td-r, .625rem) 0 var(--td-l, .25rem); border: 0; background: none; color: inherit; font: inherit; line-height: inherit; white-space: inherit; text-align: end; }
  th:first-child .a-sort { justify-content: flex-start; width: calc(100% + var(--td-r, .625rem) + .75rem); margin-left: -.75rem; padding-left: .75rem; text-align: start; }
  .a-sort:focus-visible { outline-offset: -3px; }
  .a-sort::before { content: ""; position: absolute; right: .1rem; top: calc(50% - 2.5px); width: 0; height: 0; border-inline: 4px solid transparent; border-bottom: 5px solid currentColor; opacity: 0; }
  th:first-child .a-sort::before { position: static; order: 2; flex: none; }
  .a-sort:hover::before { opacity: .45; }
  th[aria-sort] .a-sort::before { opacity: 1; }
  th[aria-sort="descending"] .a-sort::before { rotate: 180deg; }

  /* range and yield, drawn from data-sort by app.js: a thin line, a small marker, the numbers in the muted ink. The row is tall enough, so nothing shifts when they appear. */
  .atl td.a-r { position: relative; color: var(--ink-2); }
  .atl td.a-r::before { content: ""; position: absolute; inset: auto var(--td-r, .625rem) .5rem var(--td-l, .25rem); height: 2px; border-radius: 1px; background: var(--track); }
  .atl td.a-r::after { content: ""; position: absolute; bottom: calc(.5rem - 2px); left: calc(var(--td-l, .25rem) + (100% - var(--td-l, .25rem) - var(--td-r, .625rem)) * var(--p) / 100 - 3px); width: 6px; height: 6px; border-radius: 50%; background: var(--ink-2); }
  .a-tbox:has(input[value="dividendy"]:checked) td.a-y { position: relative; }
  .a-tbox:has(input[value="dividendy"]:checked) td.a-y::before { content: ""; position: absolute; inset: auto var(--td-r, .625rem) .5rem var(--td-l, .25rem); height: 2px; background: var(--track); }
  .a-tbox:has(input[value="dividendy"]:checked) td.a-y::after { content: ""; position: absolute; bottom: .5rem; right: var(--td-r, .625rem); width: calc((100% - var(--td-l, .25rem) - var(--td-r, .625rem)) * var(--y) / 100); height: 2px; background: var(--ink-2); }
  .a-tbox:has(input[value="dividendy"]:checked) .atl-c-yield { width: 7.5rem; }
  @container tbox (min-width: 44rem) { .a-tbox:has(input[value="dividendy"]:checked) .atl-c-yield { width: 15rem; } }
  @container tbox (max-width: 43.99rem) {
    /* Cena on a narrow box: range figures break at the dash, in small type, with the line under them */
    .a-tbox:has(input[value="cena"]:checked) .atl-c-range { width: 5.25rem; }
    .a-tbox:has(input[value="cena"]:checked) td.a-r { font-size: var(--t1); white-space: normal; line-height: 1.15; padding-bottom: 1rem; }
    .atl-c-emp { width: 6.25rem; }
    .atl-c-rate { width: 6.5rem; }
    .a-tbox:has(input[value="dividendy"]:checked) .atl-c-yield { width: 5.25rem; }
    /* hub table, Trend: three numbers beside the name */
    .a-tbox:has(input[value="trend"]:checked) .atl-c-day { width: 5.1rem; }
    .a-tbox:has(input[value="trend"]:checked) .a-c-r { width: 4.25rem; }
    .a-tbox:has(input[value="trend"]:checked) .a-c-h { width: 5.5rem; }
    .a-cats tbody th span { min-width: 0; hyphens: auto; }
  }

  /* the row limits: all rows are in the HTML. Without JS, or without :nth-child(of), the whole table shows. Print lifts them too. */
  @media screen {
    @supports selector(:nth-child(1 of *)) {
      /* the first 15 rows (A_FIRST_ROWS in parts.php, FIRST in app.js) */
      .a-js .a-tbox--long:not(.a-limit):not(.a-all) tbody tr:nth-child(n+16 of :not([hidden])) { display: none; }
    }
  }
  .a-find-none { padding: .75rem; font-weight: 600; }
  .a-more { display: grid; width: calc(100% - 1.5rem); margin: .75rem; }
  :root:not(.a-js) .a-more, .a-tbox.a-all > .a-more { display: none; }
  @supports not selector(:nth-child(1 of *)) { .a-tbox > .a-more { display: none; } }

  /* hub table */
  .a-cats tbody th a { display: flex; align-items: center; gap: .625rem; min-height: var(--ctl); margin-block: -.25rem; line-height: 1.2; scroll-margin-top: 2.75rem; }
  .a-cats tbody th a:hover span { text-decoration: underline; }
  .a-cats tbody th .a-i { width: 1.2rem; height: 1.2rem; color: var(--ink-2); }
  .a-cats tbody th .a-flag { width: 1.2rem; height: .9rem; }
  @container tbox (min-width: 44rem) { .a-cats tbody th a { min-height: 1.75rem; margin-block: 0; } }

  /* original text */
  .atl-row { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); margin-bottom: 1.2em; }
  .atl-col { padding: .875rem 1rem; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
  .atl-col > :last-child { margin-bottom: 0; }
  .a-prose > .atl-wrap { max-width: none; margin-block: 1em; }
}

/* VIEWS:START (written by gen.py) */
@layer views {
  .a-tbox .atl :is(th,td):nth-child(2) { display: var(--h2, table-cell); }
  .a-tbox .atl :is(th,td):nth-child(3) { display: var(--h3, table-cell); }
  .a-tbox .atl :is(th,td):nth-child(4) { display: var(--h4, table-cell); }
  .a-tbox .atl :is(th,td):nth-child(5) { display: var(--h5, table-cell); }
  .a-tbox .atl :is(th,td):nth-child(6) { display: var(--h6, table-cell); }
  .a-tbox .atl :is(th,td):nth-child(7) { display: var(--h7, table-cell); }
  .a-tbox .atl :is(th,td):nth-child(8) { display: var(--h8, table-cell); }
  .a-tbox .atl :is(th,td):nth-child(9) { display: var(--h9, table-cell); }
  .a-tbox:has(input[value="cena"]:checked) .atl:has(thead th:nth-child(2):not(.atl-c-price,.atl-c-change,.atl-c-day,.atl-c-range)) { --h2: none; }
  .a-tbox:has(input[value="cena"]:checked) .atl:has(thead th:nth-child(3):not(.atl-c-price,.atl-c-change,.atl-c-day,.atl-c-range)) { --h3: none; }
  .a-tbox:has(input[value="cena"]:checked) .atl:has(thead th:nth-child(4):not(.atl-c-price,.atl-c-change,.atl-c-day,.atl-c-range)) { --h4: none; }
  .a-tbox:has(input[value="cena"]:checked) .atl:has(thead th:nth-child(5):not(.atl-c-price,.atl-c-change,.atl-c-day,.atl-c-range)) { --h5: none; }
  .a-tbox:has(input[value="cena"]:checked) .atl:has(thead th:nth-child(6):not(.atl-c-price,.atl-c-change,.atl-c-day,.atl-c-range)) { --h6: none; }
  .a-tbox:has(input[value="cena"]:checked) .atl:has(thead th:nth-child(7):not(.atl-c-price,.atl-c-change,.atl-c-day,.atl-c-range)) { --h7: none; }
  .a-tbox:has(input[value="cena"]:checked) .atl:has(thead th:nth-child(8):not(.atl-c-price,.atl-c-change,.atl-c-day,.atl-c-range)) { --h8: none; }
  .a-tbox:has(input[value="cena"]:checked) .atl:has(thead th:nth-child(9):not(.atl-c-price,.atl-c-change,.atl-c-day,.atl-c-range)) { --h9: none; }
  .a-tbox:has(input[value="dividendy"]:checked) .atl:has(thead th:nth-child(2):not(.atl-c-rate,.atl-c-yield)) { --h2: none; }
  .a-tbox:has(input[value="dividendy"]:checked) .atl:has(thead th:nth-child(3):not(.atl-c-rate,.atl-c-yield)) { --h3: none; }
  .a-tbox:has(input[value="dividendy"]:checked) .atl:has(thead th:nth-child(4):not(.atl-c-rate,.atl-c-yield)) { --h4: none; }
  .a-tbox:has(input[value="dividendy"]:checked) .atl:has(thead th:nth-child(5):not(.atl-c-rate,.atl-c-yield)) { --h5: none; }
  .a-tbox:has(input[value="dividendy"]:checked) .atl:has(thead th:nth-child(6):not(.atl-c-rate,.atl-c-yield)) { --h6: none; }
  .a-tbox:has(input[value="dividendy"]:checked) .atl:has(thead th:nth-child(7):not(.atl-c-rate,.atl-c-yield)) { --h7: none; }
  .a-tbox:has(input[value="dividendy"]:checked) .atl:has(thead th:nth-child(8):not(.atl-c-rate,.atl-c-yield)) { --h8: none; }
  .a-tbox:has(input[value="dividendy"]:checked) .atl:has(thead th:nth-child(9):not(.atl-c-rate,.atl-c-yield)) { --h9: none; }
  .a-tbox:has(input[value="trend"]:checked) .atl:has(thead th:nth-child(2):not(.atl-c-day,.a-c-r,.a-c-h)) { --h2: none; }
  .a-tbox:has(input[value="trend"]:checked) .atl:has(thead th:nth-child(3):not(.atl-c-day,.a-c-r,.a-c-h)) { --h3: none; }
  .a-tbox:has(input[value="trend"]:checked) .atl:has(thead th:nth-child(4):not(.atl-c-day,.a-c-r,.a-c-h)) { --h4: none; }
  .a-tbox:has(input[value="trend"]:checked) .atl:has(thead th:nth-child(5):not(.atl-c-day,.a-c-r,.a-c-h)) { --h5: none; }
  .a-tbox:has(input[value="trend"]:checked) .atl:has(thead th:nth-child(6):not(.atl-c-day,.a-c-r,.a-c-h)) { --h6: none; }
  .a-tbox:has(input[value="trend"]:checked) .atl:has(thead th:nth-child(7):not(.atl-c-day,.a-c-r,.a-c-h)) { --h7: none; }
  .a-tbox:has(input[value="trend"]:checked) .atl:has(thead th:nth-child(8):not(.atl-c-day,.a-c-r,.a-c-h)) { --h8: none; }
  .a-tbox:has(input[value="trend"]:checked) .atl:has(thead th:nth-child(9):not(.atl-c-day,.a-c-r,.a-c-h)) { --h9: none; }
  @container tbox (min-width: 54rem) and (max-width: 65.99rem) {
  .a-tbox:has(input[value="prehled"]:checked) .atl:not(:has(thead .atl-c-emp)):has(thead th:nth-child(2):not(.atl-c-emp,.atl-c-price,.atl-c-day,.atl-c-value,.atl-c-range,.atl-c-yield,.a-c-n,.a-c-r,.a-c-h)) { --h2: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:not(:has(thead .atl-c-emp)):has(thead th:nth-child(3):not(.atl-c-emp,.atl-c-price,.atl-c-day,.atl-c-value,.atl-c-range,.atl-c-yield,.a-c-n,.a-c-r,.a-c-h)) { --h3: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:not(:has(thead .atl-c-emp)):has(thead th:nth-child(4):not(.atl-c-emp,.atl-c-price,.atl-c-day,.atl-c-value,.atl-c-range,.atl-c-yield,.a-c-n,.a-c-r,.a-c-h)) { --h4: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:not(:has(thead .atl-c-emp)):has(thead th:nth-child(5):not(.atl-c-emp,.atl-c-price,.atl-c-day,.atl-c-value,.atl-c-range,.atl-c-yield,.a-c-n,.a-c-r,.a-c-h)) { --h5: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:not(:has(thead .atl-c-emp)):has(thead th:nth-child(6):not(.atl-c-emp,.atl-c-price,.atl-c-day,.atl-c-value,.atl-c-range,.atl-c-yield,.a-c-n,.a-c-r,.a-c-h)) { --h6: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:not(:has(thead .atl-c-emp)):has(thead th:nth-child(7):not(.atl-c-emp,.atl-c-price,.atl-c-day,.atl-c-value,.atl-c-range,.atl-c-yield,.a-c-n,.a-c-r,.a-c-h)) { --h7: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:not(:has(thead .atl-c-emp)):has(thead th:nth-child(8):not(.atl-c-emp,.atl-c-price,.atl-c-day,.atl-c-value,.atl-c-range,.atl-c-yield,.a-c-n,.a-c-r,.a-c-h)) { --h8: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:not(:has(thead .atl-c-emp)):has(thead th:nth-child(9):not(.atl-c-emp,.atl-c-price,.atl-c-day,.atl-c-value,.atl-c-range,.atl-c-yield,.a-c-n,.a-c-r,.a-c-h)) { --h9: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead .atl-c-emp):has(thead th:nth-child(2):not(.atl-c-emp,.atl-c-price,.atl-c-day,.atl-c-value,.atl-c-range)) { --h2: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead .atl-c-emp):has(thead th:nth-child(3):not(.atl-c-emp,.atl-c-price,.atl-c-day,.atl-c-value,.atl-c-range)) { --h3: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead .atl-c-emp):has(thead th:nth-child(4):not(.atl-c-emp,.atl-c-price,.atl-c-day,.atl-c-value,.atl-c-range)) { --h4: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead .atl-c-emp):has(thead th:nth-child(5):not(.atl-c-emp,.atl-c-price,.atl-c-day,.atl-c-value,.atl-c-range)) { --h5: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead .atl-c-emp):has(thead th:nth-child(6):not(.atl-c-emp,.atl-c-price,.atl-c-day,.atl-c-value,.atl-c-range)) { --h6: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead .atl-c-emp):has(thead th:nth-child(7):not(.atl-c-emp,.atl-c-price,.atl-c-day,.atl-c-value,.atl-c-range)) { --h7: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead .atl-c-emp):has(thead th:nth-child(8):not(.atl-c-emp,.atl-c-price,.atl-c-day,.atl-c-value,.atl-c-range)) { --h8: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead .atl-c-emp):has(thead th:nth-child(9):not(.atl-c-emp,.atl-c-price,.atl-c-day,.atl-c-value,.atl-c-range)) { --h9: none; }
  }
  @container tbox (min-width: 44rem) and (max-width: 53.99rem) {
  .a-tbox:has(input[value="prehled"]:checked) .atl:not(:has(thead .atl-c-emp)):has(thead th:nth-child(2):not(.atl-c-price,.atl-c-day,.atl-c-value,.atl-c-range,.a-c-n,.a-c-r,.a-c-h)) { --h2: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:not(:has(thead .atl-c-emp)):has(thead th:nth-child(3):not(.atl-c-price,.atl-c-day,.atl-c-value,.atl-c-range,.a-c-n,.a-c-r,.a-c-h)) { --h3: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:not(:has(thead .atl-c-emp)):has(thead th:nth-child(4):not(.atl-c-price,.atl-c-day,.atl-c-value,.atl-c-range,.a-c-n,.a-c-r,.a-c-h)) { --h4: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:not(:has(thead .atl-c-emp)):has(thead th:nth-child(5):not(.atl-c-price,.atl-c-day,.atl-c-value,.atl-c-range,.a-c-n,.a-c-r,.a-c-h)) { --h5: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:not(:has(thead .atl-c-emp)):has(thead th:nth-child(6):not(.atl-c-price,.atl-c-day,.atl-c-value,.atl-c-range,.a-c-n,.a-c-r,.a-c-h)) { --h6: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:not(:has(thead .atl-c-emp)):has(thead th:nth-child(7):not(.atl-c-price,.atl-c-day,.atl-c-value,.atl-c-range,.a-c-n,.a-c-r,.a-c-h)) { --h7: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:not(:has(thead .atl-c-emp)):has(thead th:nth-child(8):not(.atl-c-price,.atl-c-day,.atl-c-value,.atl-c-range,.a-c-n,.a-c-r,.a-c-h)) { --h8: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:not(:has(thead .atl-c-emp)):has(thead th:nth-child(9):not(.atl-c-price,.atl-c-day,.atl-c-value,.atl-c-range,.a-c-n,.a-c-r,.a-c-h)) { --h9: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead .atl-c-emp):has(thead th:nth-child(2):not(.atl-c-emp,.atl-c-price,.atl-c-day,.atl-c-value)) { --h2: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead .atl-c-emp):has(thead th:nth-child(3):not(.atl-c-emp,.atl-c-price,.atl-c-day,.atl-c-value)) { --h3: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead .atl-c-emp):has(thead th:nth-child(4):not(.atl-c-emp,.atl-c-price,.atl-c-day,.atl-c-value)) { --h4: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead .atl-c-emp):has(thead th:nth-child(5):not(.atl-c-emp,.atl-c-price,.atl-c-day,.atl-c-value)) { --h5: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead .atl-c-emp):has(thead th:nth-child(6):not(.atl-c-emp,.atl-c-price,.atl-c-day,.atl-c-value)) { --h6: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead .atl-c-emp):has(thead th:nth-child(7):not(.atl-c-emp,.atl-c-price,.atl-c-day,.atl-c-value)) { --h7: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead .atl-c-emp):has(thead th:nth-child(8):not(.atl-c-emp,.atl-c-price,.atl-c-day,.atl-c-value)) { --h8: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead .atl-c-emp):has(thead th:nth-child(9):not(.atl-c-emp,.atl-c-price,.atl-c-day,.atl-c-value)) { --h9: none; }
  }
  @container tbox (min-width: 34rem) and (max-width: 43.99rem) {
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead th:nth-child(2):not(.atl-c-emp,.atl-c-price,.atl-c-day,.atl-c-value,.a-c-n)) { --h2: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead th:nth-child(3):not(.atl-c-emp,.atl-c-price,.atl-c-day,.atl-c-value,.a-c-n)) { --h3: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead th:nth-child(4):not(.atl-c-emp,.atl-c-price,.atl-c-day,.atl-c-value,.a-c-n)) { --h4: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead th:nth-child(5):not(.atl-c-emp,.atl-c-price,.atl-c-day,.atl-c-value,.a-c-n)) { --h5: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead th:nth-child(6):not(.atl-c-emp,.atl-c-price,.atl-c-day,.atl-c-value,.a-c-n)) { --h6: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead th:nth-child(7):not(.atl-c-emp,.atl-c-price,.atl-c-day,.atl-c-value,.a-c-n)) { --h7: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead th:nth-child(8):not(.atl-c-emp,.atl-c-price,.atl-c-day,.atl-c-value,.a-c-n)) { --h8: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead th:nth-child(9):not(.atl-c-emp,.atl-c-price,.atl-c-day,.atl-c-value,.a-c-n)) { --h9: none; }
  }
  @container tbox (max-width: 33.99rem) {
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead .atl-c-value):not(:has(thead .atl-c-emp)):has(thead th:nth-child(2):not(.atl-c-day,.atl-c-value)) { --h2: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead .atl-c-value):not(:has(thead .atl-c-emp)):has(thead th:nth-child(3):not(.atl-c-day,.atl-c-value)) { --h3: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead .atl-c-value):not(:has(thead .atl-c-emp)):has(thead th:nth-child(4):not(.atl-c-day,.atl-c-value)) { --h4: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead .atl-c-value):not(:has(thead .atl-c-emp)):has(thead th:nth-child(5):not(.atl-c-day,.atl-c-value)) { --h5: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead .atl-c-value):not(:has(thead .atl-c-emp)):has(thead th:nth-child(6):not(.atl-c-day,.atl-c-value)) { --h6: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead .atl-c-value):not(:has(thead .atl-c-emp)):has(thead th:nth-child(7):not(.atl-c-day,.atl-c-value)) { --h7: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead .atl-c-value):not(:has(thead .atl-c-emp)):has(thead th:nth-child(8):not(.atl-c-day,.atl-c-value)) { --h8: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead .atl-c-value):not(:has(thead .atl-c-emp)):has(thead th:nth-child(9):not(.atl-c-day,.atl-c-value)) { --h9: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead .atl-c-emp):has(thead th:nth-child(2):not(.atl-c-emp,.atl-c-day)) { --h2: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead .atl-c-emp):has(thead th:nth-child(3):not(.atl-c-emp,.atl-c-day)) { --h3: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead .atl-c-emp):has(thead th:nth-child(4):not(.atl-c-emp,.atl-c-day)) { --h4: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead .atl-c-emp):has(thead th:nth-child(5):not(.atl-c-emp,.atl-c-day)) { --h5: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead .atl-c-emp):has(thead th:nth-child(6):not(.atl-c-emp,.atl-c-day)) { --h6: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead .atl-c-emp):has(thead th:nth-child(7):not(.atl-c-emp,.atl-c-day)) { --h7: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead .atl-c-emp):has(thead th:nth-child(8):not(.atl-c-emp,.atl-c-day)) { --h8: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead .atl-c-emp):has(thead th:nth-child(9):not(.atl-c-emp,.atl-c-day)) { --h9: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:not(:has(thead .atl-c-value, thead .atl-c-emp)):has(thead th:nth-child(2):not(.atl-c-price,.a-c-n,.atl-c-day)) { --h2: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:not(:has(thead .atl-c-value, thead .atl-c-emp)):has(thead th:nth-child(3):not(.atl-c-price,.a-c-n,.atl-c-day)) { --h3: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:not(:has(thead .atl-c-value, thead .atl-c-emp)):has(thead th:nth-child(4):not(.atl-c-price,.a-c-n,.atl-c-day)) { --h4: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:not(:has(thead .atl-c-value, thead .atl-c-emp)):has(thead th:nth-child(5):not(.atl-c-price,.a-c-n,.atl-c-day)) { --h5: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:not(:has(thead .atl-c-value, thead .atl-c-emp)):has(thead th:nth-child(6):not(.atl-c-price,.a-c-n,.atl-c-day)) { --h6: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:not(:has(thead .atl-c-value, thead .atl-c-emp)):has(thead th:nth-child(7):not(.atl-c-price,.a-c-n,.atl-c-day)) { --h7: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:not(:has(thead .atl-c-value, thead .atl-c-emp)):has(thead th:nth-child(8):not(.atl-c-price,.a-c-n,.atl-c-day)) { --h8: none; }
  .a-tbox:has(input[value="prehled"]:checked) .atl:not(:has(thead .atl-c-value, thead .atl-c-emp)):has(thead th:nth-child(9):not(.atl-c-price,.a-c-n,.atl-c-day)) { --h9: none; }
  }
  @container tbox (max-width: 43.99rem) {
  .a-tbox:has(input[value="cena"]:checked) .atl:has(thead th:nth-child(2).atl-c-change) { --h2: none; }
  .a-tbox:has(input[value="cena"]:checked) .atl:has(thead th:nth-child(3).atl-c-change) { --h3: none; }
  .a-tbox:has(input[value="cena"]:checked) .atl:has(thead th:nth-child(4).atl-c-change) { --h4: none; }
  .a-tbox:has(input[value="cena"]:checked) .atl:has(thead th:nth-child(5).atl-c-change) { --h5: none; }
  .a-tbox:has(input[value="cena"]:checked) .atl:has(thead th:nth-child(6).atl-c-change) { --h6: none; }
  .a-tbox:has(input[value="cena"]:checked) .atl:has(thead th:nth-child(7).atl-c-change) { --h7: none; }
  .a-tbox:has(input[value="cena"]:checked) .atl:has(thead th:nth-child(8).atl-c-change) { --h8: none; }
  .a-tbox:has(input[value="cena"]:checked) .atl:has(thead th:nth-child(9).atl-c-change) { --h9: none; }
  }
  @container tbox (max-width: 25.99rem) {
    .a-tbox:has(input[value="cena"]:checked) .atl:has(thead th:nth-child(2).atl-c-day) { --h2: none; }
    .a-tbox:has(input[value="cena"]:checked) .atl:has(thead th:nth-child(3).atl-c-day) { --h3: none; }
    .a-tbox:has(input[value="cena"]:checked) .atl:has(thead th:nth-child(4).atl-c-day) { --h4: none; }
    .a-tbox:has(input[value="cena"]:checked) .atl:has(thead th:nth-child(5).atl-c-day) { --h5: none; }
    .a-tbox:has(input[value="cena"]:checked) .atl:has(thead th:nth-child(6).atl-c-day) { --h6: none; }
    .a-tbox:has(input[value="cena"]:checked) .atl:has(thead th:nth-child(7).atl-c-day) { --h7: none; }
    .a-tbox:has(input[value="cena"]:checked) .atl:has(thead th:nth-child(8).atl-c-day) { --h8: none; }
    .a-tbox:has(input[value="cena"]:checked) .atl:has(thead th:nth-child(9).atl-c-day) { --h9: none; }
    .a-tbox:has(input[value="trend"]:checked) .atl:has(thead th:nth-child(2).a-c-h) { --h2: none; }
    .a-tbox:has(input[value="trend"]:checked) .atl:has(thead th:nth-child(3).a-c-h) { --h3: none; }
    .a-tbox:has(input[value="trend"]:checked) .atl:has(thead th:nth-child(4).a-c-h) { --h4: none; }
    .a-tbox:has(input[value="trend"]:checked) .atl:has(thead th:nth-child(5).a-c-h) { --h5: none; }
    .a-tbox:has(input[value="trend"]:checked) .atl:has(thead th:nth-child(6).a-c-h) { --h6: none; }
    .a-tbox:has(input[value="trend"]:checked) .atl:has(thead th:nth-child(7).a-c-h) { --h7: none; }
    .a-tbox:has(input[value="trend"]:checked) .atl:has(thead th:nth-child(8).a-c-h) { --h8: none; }
    .a-tbox:has(input[value="trend"]:checked) .atl:has(thead th:nth-child(9).a-c-h) { --h9: none; }
  }
  @container tbox (max-width: 17.99rem) {
    .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead th:nth-child(2).atl-c-value) { --h2: none; }
    .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead th:nth-child(3).atl-c-value) { --h3: none; }
    .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead th:nth-child(4).atl-c-value) { --h4: none; }
    .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead th:nth-child(5).atl-c-value) { --h5: none; }
    .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead th:nth-child(6).atl-c-value) { --h6: none; }
    .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead th:nth-child(7).atl-c-value) { --h7: none; }
    .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead th:nth-child(8).atl-c-value) { --h8: none; }
    .a-tbox:has(input[value="prehled"]:checked) .atl:has(thead th:nth-child(9).atl-c-value) { --h9: none; }
    .a-tbox:has(input[value="cena"]:checked) .atl:has(thead th:nth-child(2).atl-c-range) { --h2: none; }
    .a-tbox:has(input[value="cena"]:checked) .atl:has(thead th:nth-child(3).atl-c-range) { --h3: none; }
    .a-tbox:has(input[value="cena"]:checked) .atl:has(thead th:nth-child(4).atl-c-range) { --h4: none; }
    .a-tbox:has(input[value="cena"]:checked) .atl:has(thead th:nth-child(5).atl-c-range) { --h5: none; }
    .a-tbox:has(input[value="cena"]:checked) .atl:has(thead th:nth-child(6).atl-c-range) { --h6: none; }
    .a-tbox:has(input[value="cena"]:checked) .atl:has(thead th:nth-child(7).atl-c-range) { --h7: none; }
    .a-tbox:has(input[value="cena"]:checked) .atl:has(thead th:nth-child(8).atl-c-range) { --h8: none; }
    .a-tbox:has(input[value="cena"]:checked) .atl:has(thead th:nth-child(9).atl-c-range) { --h9: none; }
    .a-tbox:has(input[value="dividendy"]:checked) .atl:has(thead th:nth-child(2).atl-c-rate) { --h2: none; }
    .a-tbox:has(input[value="dividendy"]:checked) .atl:has(thead th:nth-child(3).atl-c-rate) { --h3: none; }
    .a-tbox:has(input[value="dividendy"]:checked) .atl:has(thead th:nth-child(4).atl-c-rate) { --h4: none; }
    .a-tbox:has(input[value="dividendy"]:checked) .atl:has(thead th:nth-child(5).atl-c-rate) { --h5: none; }
    .a-tbox:has(input[value="dividendy"]:checked) .atl:has(thead th:nth-child(6).atl-c-rate) { --h6: none; }
    .a-tbox:has(input[value="dividendy"]:checked) .atl:has(thead th:nth-child(7).atl-c-rate) { --h7: none; }
    .a-tbox:has(input[value="dividendy"]:checked) .atl:has(thead th:nth-child(8).atl-c-rate) { --h8: none; }
    .a-tbox:has(input[value="dividendy"]:checked) .atl:has(thead th:nth-child(9).atl-c-rate) { --h9: none; }
  }
}
/* VIEWS:END */

/* ---------------------------------------------------------------- Mapa trhu */
@layer map {
  .a-map { container: amap / inline-size; }
  .a-map-h { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .75rem; margin-bottom: .75rem; }
  .a-map-h .a-sec-tt { flex-basis: 15rem; }
  .a-map-h .a-sec-tt p { color: var(--ink-2); font-size: var(--t2); line-height: 1.35; text-wrap: pretty; }
  @media screen and (max-width: 759px) {
    .a-map-h { display: grid; grid-template-columns: auto minmax(0, 1fr); }
    .a-map-h .a-sec-tt { display: contents; }
    .a-map-h .a-sec-tt p, .a-map-h .a-map-sw { grid-column: 1 / -1; justify-self: start; }
  }
  .a-map-sw { flex: none; }
  .a-on-map { display: none; }
  .a-on-flat { display: none; }
  .a-map--flat .a-on-flat { display: inline; }
  .a-map-defs p { display: none; margin-bottom: .5rem; font-size: var(--t2); line-height: 1.35; }
  .a-map-defs p[data-m="d"] { display: block; }
  .a-map:has(input[value="y"]:checked) .a-map-defs p[data-m="d"], .a-map:has(input[value="h"]:checked) .a-map-defs p[data-m="d"] { display: none; }
  .a-map:has(input[value="y"]:checked) .a-map-defs p[data-m="y"], .a-map:has(input[value="h"]:checked) .a-map-defs p[data-m="h"] { display: block; }
  .a-map-frame { border: 1px solid var(--line); border-radius: var(--r); background: var(--card); padding: .25rem .5rem; }
  .a-map-note { margin: .5rem .25rem .25rem; color: var(--ink-2); font-size: var(--t1); line-height: 1.4; text-wrap: pretty; }
  .a-map-legend, .a-scale, .a-map-mark { display: none; }
  .a-map-more { display: none; width: 100%; margin: .5rem 0 .25rem; }
  .a-map--flat:not(.a-all) .a-map-more { display: grid; }
  .a-map--flat:not(.a-all) .a-flat > li:nth-child(n+17) { display: none; }
  .a-map--flat .a-region { display: none; }

  /* the classes: each tile knows its class for each metric, tokens do the rest */
  .a-tile[data-cd="d4"] { --cd: var(--d4); --id: var(--on-d4); } .a-tile[data-cd="d3"] { --cd: var(--d3); --id: var(--on-d3); }
  .a-tile[data-cd="d2"] { --cd: var(--d2); --id: var(--on-d2); } .a-tile[data-cd="d1"] { --cd: var(--d1); --id: var(--on-d1); }
  .a-tile[data-cd="n0"], .a-tile[data-cd="na"] { --cd: var(--n0); --id: var(--on-n0); }
  .a-tile[data-cd="u1"] { --cd: var(--u1); --id: var(--on-u1); } .a-tile[data-cd="u2"] { --cd: var(--u2); --id: var(--on-u2); }
  .a-tile[data-cd="u3"] { --cd: var(--u3); --id: var(--on-u3); } .a-tile[data-cd="u4"] { --cd: var(--u4); --id: var(--on-u4); }
  .a-tile[data-cy="na"] { --cy: var(--n0); --iy: var(--on-n0); } .a-tile[data-cy="s1"] { --cy: var(--s1); --iy: var(--on-s1); }
  .a-tile[data-cy="s2"] { --cy: var(--s2); --iy: var(--on-s2); } .a-tile[data-cy="s3"] { --cy: var(--s3); --iy: var(--on-s3); }
  .a-tile[data-cy="s4"] { --cy: var(--s4); --iy: var(--on-s4); } .a-tile[data-cy="s5"] { --cy: var(--s5); --iy: var(--on-s5); }
  .a-tile[data-ch="na"] { --ch: var(--n0); --ih: var(--on-n0); } .a-tile[data-ch="s1"] { --ch: var(--s1); --ih: var(--on-s1); }
  .a-tile[data-ch="s2"] { --ch: var(--s2); --ih: var(--on-s2); } .a-tile[data-ch="s3"] { --ch: var(--s3); --ih: var(--on-s3); }
  .a-tile[data-ch="s4"] { --ch: var(--s4); --ih: var(--on-s4); } .a-tile[data-ch="s5"] { --ch: var(--s5); --ih: var(--on-s5); }

  /* phone and narrow tablet: the same links as a list with bars */
  .a-region-h { margin: .75rem .25rem .125rem; font-size: var(--t1); font-weight: 600; line-height: 1.2; }
  .a-region-h a { display: flex; align-items: center; gap: .4rem; min-height: var(--ctl); color: var(--ink-2); }
  .a-region-h a:hover { color: var(--ink); }
  .a-region-h .a-i { width: 1.1rem; height: 1.1rem; }
  .a-region-l, .a-flat { display: flex; flex-direction: column; list-style: none; padding: 0; margin: 0; }
  .a-tile-a { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr) 2.75rem 4.25rem; align-items: center; gap: .5rem; min-height: var(--ctl); padding: .25rem; border-bottom: 1px solid var(--line); line-height: 1.2; }
  .a-tile-a:hover { background: var(--hover); }
  .a-tile-a > .a-i { width: 1.2rem; height: 1.2rem; color: var(--ink-2); }
  .a-tile-n { font-size: var(--t1); font-weight: 600; }
  .a-tile-v, .a-tile-a::after { justify-self: end; font-size: var(--t1); white-space: nowrap; }
  .a-tile[data-cd^="u"] .a-tile-v { color: var(--up); }
  .a-tile[data-cd^="d"] .a-tile-v { color: var(--dn); }
  /* the diverging bar: track, centre line, and a fill from the centre. A near-zero move shows only the centre line. */
  .a-tile-b { position: relative; display: block; height: 6px; border-radius: 3px; background: var(--track); overflow: hidden; }
  .a-tile-b::before { content: ""; position: absolute; inset-block: 0; left: calc(50% - .5px); width: 1px; background: var(--ink-2); }
  .a-tile-b::after { content: ""; position: absolute; inset-block: 0; left: 50%; width: calc(var(--bd) * .5%); background: var(--up); }
  .a-tile[data-cd^="d"] .a-tile-b::after { left: auto; right: 50%; background: var(--dn); }
  .a-tile[data-cd="n0"] .a-tile-b::after { display: none; }

  .a-map:has(input[value="y"]:checked) .a-tile-v, .a-map:has(input[value="h"]:checked) .a-tile-v { display: none; }
  .a-map:has(input[value="y"]:checked) .a-tile-a::after { content: attr(data-vy); }
  .a-map:has(input[value="h"]:checked) .a-tile-a::after { content: attr(data-vh); }
  .a-map:has(input[value="y"]:checked) .a-tile-b::before, .a-map:has(input[value="h"]:checked) .a-tile-b::before { display: none; }
  .a-map:has(input[value="y"]:checked) .a-tile-b::after { display: block; left: 0; right: auto; width: calc(var(--by) * 1%); background: var(--ink-2); }
  .a-map:has(input[value="h"]:checked) .a-tile-b::after { display: block; left: 0; right: auto; width: calc(var(--bh) * 1%); background: var(--ink-2); }

  @media (min-width: 620px) and (max-width: 1099px) {
    .a-region-l, .a-flat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.5rem; }
    .a-tile-a { height: 100%; }
  }

  /* wide: a real map. Plain links, positioned in percent, inside a printed frame. */
  @media (min-width: 1100px) {
    .a-on-map { display: block; }
    .a-on-list, .a-map-defs, .a-map-more { display: none !important; }
    .a-map { --sk: 1; }
    .a-map-frame { position: relative; padding: .75rem; border: 2.5px solid var(--coast); border-radius: 0; background: var(--sea); }
    .a-map-plane { position: relative; aspect-ratio: 1204 / 720; outline: 2.5px solid var(--coast); }
    .a-region { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--w) * 1%); height: calc(var(--h) * 1%); display: flex; flex-direction: column; background: var(--region); outline: 2px solid var(--coast); outline-offset: -1px; }
    .a-region-h { flex: none; margin: 0; padding: .125rem .5rem; }
    .a-region-h a { min-height: 1.5rem; gap: .375rem; color: var(--ink); }
    .a-region-h a:hover span { text-decoration: underline; }
    .a-region-h .a-i { width: 1em; height: 1em; }
    .a-region-l { position: relative; display: block; flex: 1; min-height: 0; }
    .a-tile { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: calc(var(--w) * 1%); height: calc(var(--h) * 1%); container: t / size; }
    .a-tile-a {
      position: absolute; inset: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto auto; gap: 0 .3rem; align-items: start;
      min-height: 0; padding: .375rem .4rem .3rem; border: 1px solid var(--tile-line); overflow: hidden; line-height: 1.15;
      background: var(--t-bg, var(--cd)); color: var(--t-ink, var(--id)); transition: background-color .18s, color .18s;
    }
    .a-map:has(input[value="y"]:checked) .a-tile { --t-bg: var(--cy); --t-ink: var(--iy); }
    .a-map:has(input[value="h"]:checked) .a-tile { --t-bg: var(--ch); --t-ink: var(--ih); }
    .a-tile-a:hover { background: var(--t-bg, var(--cd)); box-shadow: inset 0 0 0 2px var(--t-ink, var(--id)); }
    .a-tile:has(.a-tile-a:hover), .a-tile:has(.a-tile-a:focus-visible) { z-index: 3; }
    .a-tile-a:focus-visible { outline: 3px solid var(--ink); outline-offset: -3px; box-shadow: inset 0 0 0 5px var(--card); border-radius: 0; z-index: 3; }
    .a-tile-a > .a-i, .a-tile-a > .a-flag { grid-column: 1; grid-row: 1; width: 1em; height: 1em; color: inherit; font-size: var(--t1); }
    .a-tile-a > .a-flag { height: .75em; margin-top: .125em; }
    .a-tile-n { grid-column: 2; grid-row: 1; font-size: var(--t1); font-weight: 600; line-height: 1.12; hyphens: manual; }
    .a-measure .a-tile-n { overflow-wrap: normal; }
    .a-tile-b { display: none; }
    .a-tile-v, .a-tile-a::after { grid-column: 1 / -1; grid-row: 3; justify-self: start; color: inherit !important; font-size: var(--t1); font-weight: 600; line-height: 1.1; }
    .a-tile-a::before { display: none; content: attr(data-m); grid-column: 1 / -1; grid-row: 4; margin-top: .2rem; font-size: var(--t1); font-weight: 400; line-height: 1.2; }

    /* room for a row of its own: the icon stands above the name, so a long word gets the whole width */
    @container t (min-height: 6rem) {
      .a-tile-a > .a-i, .a-tile-a > .a-flag { grid-column: 1 / -1; margin-bottom: .2rem; }
      .a-tile-n { grid-column: 1 / -1; grid-row: 2; }
    }
    /* low, or low and narrow: the name alone, with the tile's whole width */
    @container t (max-height: 5.4rem) {
      .a-tile-a > .a-i, .a-tile-a > .a-flag { display: none; }
      .a-tile-n { grid-column: 1 / -1; }
    }
    @container t (max-height: 5.99rem) and (max-width: 8rem) {
      .a-tile-a > .a-i, .a-tile-a > .a-flag { display: none; }
      .a-tile-n { grid-column: 1 / -1; }
    }
    @container t (min-width: 9.5rem) and (min-height: 7.5rem) {
      .a-tile-a { padding: .5rem .55rem .45rem; }
      .a-tile-a > .a-i, .a-tile-a > .a-flag { width: 1.2rem; height: 1.2rem; margin-bottom: .3rem; font-size: inherit; }
      .a-tile-a > .a-flag { width: 1.4rem; height: 1.05rem; }
      .a-tile-n { font-size: var(--t2); }
      .a-tile-v, .a-tile-a::after { font-size: var(--t3); }
    }
    @container t (min-width: 11.5rem) and (min-height: 9.5rem) {
      .a-tile-a { padding: .625rem .7rem .55rem; }
      .a-tile-n { font-size: var(--t3); line-height: 1.1; }
      .a-tile-v, .a-tile-a::after { font-size: var(--t4); }
      .a-tile-a::before { display: block; }
    }
    @container t (min-width: 15rem) and (min-height: 13rem) {
      .a-tile-v, .a-tile-a::after { font-size: var(--t5); letter-spacing: -.012em; }
    }
    /* very narrow: no icon, so that a long name keeps its value in view */
    @container t (max-width: 5.5rem) and (max-height: 7.5rem) {
      .a-tile-a > .a-i, .a-tile-a > .a-flag { display: none; }
    }
    /* flat tiles: name and number on one line */
    @container t (max-height: 3.3rem) and (min-width: 6.5rem) {
      .a-tile-a { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: 1fr; align-items: center; padding-block: .125rem; }
      .a-tile-a > .a-i, .a-tile-a > .a-flag { display: none; }
      .a-tile-n { grid-column: 1; }
      .a-tile-v, .a-tile-a::after { grid-column: 2; grid-row: 1; }
    }

    /* the legend panel, part of the frame, so a screenshot carries it */
    .a-map-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .5rem 1.5rem; align-items: start; margin-top: .75rem; padding: .625rem .75rem; background: var(--region); outline: 2.5px solid var(--coast); }
    .a-map-legend { display: block; grid-column: 1; grid-row: 1; }
    .a-map-note { grid-column: 1; grid-row: 2; margin: 0; max-width: 62ch; }
    .a-map-note .a-on-map { display: inline; }
    .a-leg { display: none; }
    .a-leg[data-m="d"] { display: block; }
    .a-map:has(input[value="y"]:checked) .a-leg[data-m="d"], .a-map:has(input[value="h"]:checked) .a-leg[data-m="d"] { display: none; }
    .a-map:has(input[value="y"]:checked) .a-leg[data-m="y"], .a-map:has(input[value="h"]:checked) .a-leg[data-m="h"] { display: block; }
    .a-leg-t { margin-bottom: .3rem; font-size: var(--t1); font-weight: 600; }
    .a-leg-c { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 5rem); }
    .a-leg-c li { font-size: var(--t1); line-height: 1.2; color: var(--ink-2); white-space: nowrap; }
    .a-leg-c i { display: block; height: .875rem; margin: 0 1px .2rem 0; outline: 1px solid rgb(16 35 60 / .14); outline-offset: -1px; }
    .a-leg li[data-c="d4"] i { background: var(--d4); } .a-leg li[data-c="d3"] i { background: var(--d3); } .a-leg li[data-c="d2"] i { background: var(--d2); } .a-leg li[data-c="d1"] i { background: var(--d1); }
    .a-leg li[data-c="n0"] i { background: var(--n0); }
    .a-leg li[data-c="u1"] i { background: var(--u1); } .a-leg li[data-c="u2"] i { background: var(--u2); } .a-leg li[data-c="u3"] i { background: var(--u3); } .a-leg li[data-c="u4"] i { background: var(--u4); }
    .a-leg li[data-c="s1"] i { background: var(--s1); } .a-leg li[data-c="s2"] i { background: var(--s2); } .a-leg li[data-c="s3"] i { background: var(--s3); } .a-leg li[data-c="s4"] i { background: var(--s4); } .a-leg li[data-c="s5"] i { background: var(--s5); }
    /* the true scale: squares in the map's own units, by container width */
    .a-scale { display: flex; grid-column: 2; grid-row: 1 / 3; align-items: flex-end; gap: .625rem; }
    .a-scale .a-leg-t { margin-bottom: .125rem; color: var(--ink); }
    .a-scale-sq { display: block; position: relative; flex: none; width: calc(var(--s) * var(--sk, 1) * 1cqw); height: calc(var(--s) * var(--sk, 1) * 1cqw); outline: 1px solid var(--ink); outline-offset: -1px; }
    .a-scale-sq .a-scale-sq { position: absolute; left: 0; bottom: 0; background: var(--n0); }
    .a-scale-lab { position: absolute; left: .375rem; right: .25rem; top: .2rem; color: var(--ink); font-size: var(--t1); font-style: normal; font-weight: 600; line-height: 1.2; white-space: nowrap; }
    .a-scale ul { list-style: none; padding: 0; font-size: var(--t1); line-height: 1.35; color: var(--ink-2); white-space: nowrap; }
    .a-map-mark { display: flex; flex: none; align-items: center; gap: .375rem; color: var(--ink-2); font-size: var(--t1); line-height: 1.25; white-space: nowrap; }
    .a-map-mark b { color: var(--ink); font-weight: 700; letter-spacing: -.015em; }
    .a-map-mark .a-logo-m { width: 1.75rem; height: 1.75rem; fill: var(--up); }
  }
  /* a narrower window: a taller plane, so that names keep their lines; --sk keeps the scale true: square root of height / 720 */
  @media (min-width: 1100px) and (max-width: 1239px) {
    .a-map { --sk: 1.155; }
    .a-map-plane { aspect-ratio: 1204 / 960; }
    .a-map-foot { grid-template-columns: minmax(0, 1fr); }
    .a-map-legend, .a-map-note, .a-scale { grid-column: 1; grid-row: auto; }
    .a-map-note { max-width: none; }
    .a-leg-c { grid-auto-columns: minmax(0, 1fr); }
  }
  /* a wide window has room to spare: lower, so that heading and plane fit one window */
  @media (min-width: 1500px) {
    .a-map { --sk: .943; }
    .a-map-plane { aspect-ratio: 1204 / 640; }
  }
  /* no container queries (Safari below 16): tiles cannot measure themselves, so no icon and the name gets the whole width; the scale keeps its words, its squares need cqw */
  @supports not (container-type: inline-size) { @media (min-width: 1100px) { .a-tile-a > .a-i, .a-tile-a > .a-flag, .a-scale-sq { display: none; } .a-tile-n { grid-column: 1 / -1; } } }
  @media (forced-colors: active) { .a-seg input:checked + span { outline: 2px solid Highlight; outline-offset: -2px; } .a-arm[aria-current] { border-width: 3px !important; border-color: Highlight !important; } .a-tile-a { border: 1px solid CanvasText; } .a-arm, .a-sec-h { clip-path: none; border: 1px solid CanvasText; } .a-arm::before, .a-sec-h::before { display: none; } }

  /* one tooltip for the map, filled by app.js from data already in the tile */
  .a-tip { position: fixed; z-index: 35; max-width: 18rem; padding: .5rem .75rem; border-radius: var(--r-s); background: var(--tip); color: var(--tip-ink); box-shadow: var(--shadow-2); font-size: var(--t1); line-height: 1.35; pointer-events: none; }
  .a-tip b { display: block; font-weight: 600; margin-bottom: .125rem; }
  .a-tip dl { display: grid; grid-template-columns: auto auto; gap: 0 .875rem; justify-content: space-between; }
  .a-tip dd { text-align: end; font-weight: 600; }
}

@layer util {
  .a-vh { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
  @media (prefers-contrast: more) {
    .a-tile-n, .a-tile-v { font-weight: 700; }
    .a-partner, .atl-cta { border-width: 2px; }
    :root { --line: var(--ink-2); }
  }
}

@layer print {
  @media print {
    :root, :root[data-theme] { --bar: 0px; color-scheme: light; }
    html { font-size: 100%; }
    body { padding: 0; background: #fff; }
    .a-skip, .a-search, .a-strip, .a-top .a-toplinks, .a-sticksearch, .a-doorchips, .a-rail, .a-tabs, .a-tbar, .a-more, .a-skiptable, .a-partner, .atl-cta, .a-go, .a-jump, .a-map-h .a-seg, .a-foot-nav, [popover] { display: none !important; }
    .a-shell { display: block; }
    .a-top, .a-foot { background: none; color: #000; }
    .a-logo, .a-foot-text strong, .a-foot-text a, .a-foot-legal a { color: #000; }
    .a-foot-text, .a-foot-legal { color: #333; }
    /* all columns on paper: no phone view from the narrow box, no container, the table takes the width it needs */
    .a-tbox { container-type: normal; overflow: visible; }
    .atl-wrap { overflow: visible; }
    .atl { min-width: 0; font-size: 9pt; table-layout: auto; }
    .a-tbox .atl :is(th, td) { display: table-cell; }
    .atl td { height: auto; }
    .atl tbody th, .atl td { padding-block: .15rem; }
    .atl thead { display: table-row-group; }
    .atl thead th { position: static; white-space: normal; height: auto; }
    .a-sort { display: block; width: auto; height: auto; min-height: 0; margin: 0; padding: 0; }
    .a-sort::before, .a-sort::after, .a-group-h::after, .a-sec-h::after { display: none; }
    .atl td.a-r::before, .atl td.a-r::after { display: none; }
    .a-js .atl tbody tr { display: table-row !important; }
    /* app.js leaves the DOM alone in print, so groups stay open and the flat list shows every row */
    .a-group > .a-rows, .a-sec > .a-sec-b, .a-map--flat .a-flat > li { display: block; }
    .a-tile-a, .a-map-frame, .a-leg-c i, .a-plate { print-color-adjust: exact; -webkit-print-color-adjust: exact; }
    .a-tile, .a-region-h, .a-rels li, .a-cards li, .a-rows li, .a-note, h2, h3 { break-inside: avoid; }
    .atl tr { break-inside: avoid; }
  }
}
