:root{--night:#0F1C2E;--page:#F6F7F9;--card:#FFFFFF;--ink:#16202E;--muted:#667085;--line:#E4E7EC;--nightMuted:#B8C4D6;--ring1:#F2B01E;--ring2:#1F5FBF;--ring3:#4F6FA8;--ring4:#56657A;--ring5:#9AA3B2;}
/* Instrument Sans and Instrument Serif, latin subset, SIL OFL 1.1 (see OFL.txt). Written by site/tools/fetch-fonts.mjs. */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/assets/InstrumentSans-normal-2ee17598a9.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/InstrumentSerif-italic-5a51946dff.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/InstrumentSerif-normal-5eb09b5ac0.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Generated by site/tools/font-fallbacks.mjs; regenerate with `npm run font-fallbacks`. Do not edit by hand. */
@font-face {
  font-family: "Instrument Sans Fallback";
  src: local('Arial'), local('ArialMT');
  font-display: swap;
  ascent-override: 94.4163%;
  descent-override: 24.3341%;
  line-gap-override: 0%;
  size-adjust: 102.7365%;
}
@font-face {
  font-family: "Instrument Serif Fallback";
  src: local('Georgia');
  font-display: swap;
  line-gap-override: 0%;
  ascent-override: 129.426%;
  descent-override: 40.5273%;
  size-adjust: 76.4916%;
}

/* edunews "Atlas" styles (design spec section 6). The build prepends the colour variables
   (site/lib/tokens.mjs) and the font faces (site/static/fonts/fonts.css). */

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Instrument Sans", "Instrument Sans Fallback", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: break-word;
}

h1, h2, .brand, #day-date, .top .head .d {
  font-family: "Instrument Serif", "Instrument Serif Fallback", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
}
h1 { font-size: 38px; line-height: 1.1; margin: 0 0 12px; }
h2 { font-size: 26px; line-height: 1.2; margin: 0 0 8px; }
h3 { font-size: 19px; font-weight: 500; line-height: 1.3; margin: 0 0 4px; letter-spacing: -0.01em; }
p { margin: 0 0 12px; }

a { color: var(--ring2); text-decoration: underline; text-underline-offset: 2px; }
a:hover { text-decoration-thickness: 2px; }

/* Focus: 2px, not colour alone, visible on the page, cards and each ring colour. */
:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
main:focus { outline: none; }

button, input, select { font: inherit; color: inherit; }
button {
  min-height: 36px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
}
input[type="text"], input[type="email"], input[type="date"], input[role="combobox"], select {
  min-height: 40px;
  padding: 6px 12px;
  border: 1px solid var(--muted);
  border-radius: 6px;
  background: var(--card);
  color: var(--ink);
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 10;
  padding: 8px 12px;
  background: var(--card);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 6px;
}
.skip:focus { top: 8px; }

/* The night header: the site bar, plus the hero on the landing and board pages. */
body > header, .hero, .board-head { background: var(--night); color: var(--card); }
body > header :focus-visible, .hero :focus-visible, .board-head :focus-visible { outline-color: var(--card); }
body > header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 26px;
  padding: 14px max(16px, calc((100% - 1200px) / 2));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.brand { font-size: 28px; color: var(--card); text-decoration: none; }
body > header nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
body > header nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--nightMuted); text-decoration: none; font-size: 14px; }
body > header nav a:hover, body > header nav a[aria-current="page"] { color: var(--card); text-decoration: underline; }

.hero, .board-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 40px;
  align-items: center;
  padding: 30px max(16px, calc((100% - 1200px) / 2)) 36px;
}
.hero h1, .board-head h1 { font-size: 46px; line-height: 1.05; }
.hero p, .board-head p { color: var(--nightMuted); max-width: 600px; font-size: 16px; }
.hero a, .board-head a { color: var(--card); }
.hero .note, .board-head .note { background: transparent; color: var(--nightMuted); border-left-color: var(--line); }
#show-board {
  margin-top: 10px;
  border-color: var(--card);
  background: var(--night);
  color: var(--card);
  font-weight: 600;
}

/* The rings drawing. Its one transition is the redraw when the centre changes. */
.rings { position: relative; width: 100%; max-width: 340px; aspect-ratio: 1; }
.rings svg { width: 100%; height: 100%; display: block; }
.rings circle { stroke-width: 1.5; transition: stroke-opacity 0.4s ease, stroke-width 0.4s ease; }
.rings .r1 { stroke: var(--ring1); stroke-width: 2; }
.rings .r2 { stroke: var(--ring2); }
.rings .r3 { stroke: var(--ring3); }
.rings .r4 { stroke: var(--ring4); }
.rings .r5 { stroke: var(--ring5); stroke-opacity: 0.6; }
.rings circle.off { stroke-opacity: 0.2; }
.rings .counts text { fill: var(--card); font-size: 12px; font-weight: 600; paint-order: stroke; stroke: var(--night); stroke-width: 4px; }
.rings .q {
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  max-width: 40%;
  text-align: center;
  font-size: 12px;
  line-height: 1.2;
  color: var(--nightMuted);
}

/* The board picker. */
.pick { position: relative; max-width: 600px; margin: 0 0 8px; }
.pick label { display: block; margin-bottom: 4px; font-weight: 500; }
.pick input { width: 100%; min-height: 46px; font-size: 16px; }
#pick-list {
  position: absolute;
  z-index: 5;
  left: 0; right: 0;
  margin: 4px 0 0;
  padding: 4px 0;
  max-height: 320px;
  overflow-y: auto;
  list-style: none;
  background: var(--card);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.18);
}
#pick-list li { padding: 8px 14px; cursor: pointer; }
#pick-list [role="option"]:hover { background: var(--page); }
#pick-list li[aria-selected="true"] { background: var(--page); outline: 2px solid var(--ink); outline-offset: -2px; }
.hint { font-size: 14px; }

/* Ring legend, ring headings and nav links: a dot in the ring colour beside the text. */
.legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 18px 0 0; padding: 0; list-style: none; font-size: 13px; color: var(--nightMuted); }
.legend li::before, section.ring > h2::before, #ring-nav a::before {
  content: "";
  display: inline-block;
  flex: none;
  width: 10px; height: 10px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--dot, var(--ring5));
  vertical-align: 0;
}
.ring-1, #ring-nav a[href="#ring-1"] { --dot: var(--ring1); }
.ring-2, #ring-nav a[href="#ring-2"] { --dot: var(--ring2); }
.ring-3, #ring-nav a[href="#ring-3"] { --dot: var(--ring3); }
.ring-4, #ring-nav a[href="#ring-4"] { --dot: var(--ring4); }
.ring-5, #ring-nav a[href="#ring-5"] { --dot: var(--ring5); }

/* Page layouts. Plain pages: one readable column. */
main { display: block; padding: 32px max(16px, calc((100% - 860px) / 2)) 56px; }

body.landing main {
  display: grid;
  grid-template-columns: minmax(16px, 1fr) minmax(0, 860px) 40px 300px minmax(16px, 1fr);
  padding: 0 0 56px;
}
body.landing .hero { grid-column: 1 / -1; margin-bottom: 32px; }
body.landing .top { grid-column: 2; }
body.landing main > aside { grid-column: 4; }
body.landing main > aside { align-self: start; position: sticky; top: 20px; }
body.landing main > aside h2 { font-size: 22px; margin-top: 8px; }
.boards { list-style: none; margin: 0 0 20px; padding: 0; }
.boards li { padding: 4px 0; }
.boards span { color: var(--muted); }
.prov { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.prov h2 { flex-basis: 100%; }
.prov a { padding: 4px 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink); font-size: 13px; }
.how { border-top: 1px solid var(--line); padding-top: 12px; color: var(--muted); font-size: 14px; }
.top .head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px; margin-bottom: 12px; }
.top .head .d { font-size: 20px; color: var(--muted); }
.more { display: inline-block; margin-top: 8px; font-weight: 500; }

body.board main {
  display: grid;
  grid-template-columns: minmax(16px, 1fr) 240px 36px minmax(0, 924px) minmax(16px, 1fr);
  padding: 0 0 56px;
}
body.board .board-head { grid-column: 1 / -1; margin-bottom: 24px; }
body.board main > p, body.board #stories { grid-column: 4; }
body.board .rail-left { grid-column: 2; grid-row: 2 / span 2; }
/* A pre-rendered centre page: the breadcrumb continues the dark header band, the About block follows the stories. */
body.board .crumbs { grid-column: 1 / -1; padding: 12px max(16px, calc((100% - 1200px) / 2)) 0; background: var(--night); color: var(--nightMuted); }
body.board .crumbs ~ .rail-left { grid-row: 3 / span 3; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; padding: 0; margin: 0 0 12px; font-size: 14px; }
.crumbs li + li::before { content: "›"; margin-right: 8px; }
.crumbs a { color: var(--card); }
.board-head .intro { max-width: 640px; }
body.board .about { grid-column: 4; margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); }
.about dl { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; }
.about dd { margin: 0; }
body.board #stories { min-height: 320px; }

body.archive main {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 280px;
  grid-template-rows: auto auto 1fr;
  gap: 0 32px;
  padding: 32px max(16px, calc((100% - 1240px) / 2)) 56px;
}
body.archive main > h1, body.archive #search, body.archive #results { grid-column: 2; }
body.archive .rail-left { grid-column: 1; grid-row: 1 / -1; }
body.archive .rail-right { grid-column: 3; grid-row: 1 / -1; }

/* Rails: sticky beside the stories. */
.rail { align-self: start; position: sticky; top: 20px; }
#day-date { font-size: 24px; line-height: 1.2; margin: 0 0 4px; }
#day-published { color: var(--muted); font-size: 13px; }
#day-nav { display: flex; gap: 16px; margin: 0 0 16px; font-size: 14px; }
#ring-nav ul { list-style: none; margin: 0 0 16px; padding: 0; }
#ring-nav a { display: flex; align-items: center; padding: 8px 10px; border-radius: 6px; color: var(--ink); text-decoration: none; font-size: 14px; }
#ring-nav a:hover { background: var(--card); text-decoration: underline; }
.narrow h2, .rail aside h2 { font-size: 22px; }
.narrow fieldset { margin: 0 0 16px; padding: 0; border: 0; }
.narrow legend { font-weight: 600; margin-bottom: 4px; }
.narrow label { display: block; padding: 4px 0; }

/* The "Your brief" tray. */
aside[aria-labelledby="tray-title"] {
  margin-top: 16px;
  padding: 14px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
}
#tray-count { color: var(--muted); font-size: 13px; }
#tray-list { margin: 0 0 12px; padding-left: 20px; font-size: 14px; }
#tray-list:empty { display: none; }
.tray-actions { display: flex; flex-wrap: wrap; gap: 8px; }
#tray-copy { background: var(--ink); border-color: var(--ink); color: var(--card); }
.tray-actions button:disabled, #tray-copy:disabled { background: var(--card); border-color: var(--line); color: var(--muted); cursor: not-allowed; }
.tray-toggle { min-height: 0; padding: 0; border: 0; background: none; color: inherit; text-decoration: underline; }
.tray-toggle:disabled { text-decoration: none; cursor: default; }
.subscribe { margin: 12px 0 0; font-size: 13px; color: var(--muted); }

/* Ring groups and story cards. */
section.ring { margin-bottom: 30px; }
section.ring > h2 { display: flex; align-items: center; font-size: 28px; }
section.ring > h2::before { width: 12px; height: 12px; }
details.members { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
details.members summary { cursor: pointer; text-decoration: underline; }
details.members ul { margin: 6px 0 0; padding-left: 20px; }
main > details > summary { cursor: pointer; text-decoration: underline; margin: 0 0 10px; }

article.card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  margin-bottom: 10px;
  padding: 18px 20px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--dot, var(--ring5));
  border-radius: 10px;
}
article.card h3 a, article.card h3 span { color: var(--ink); }
article.card h3 a { text-decoration: underline; text-decoration-color: var(--muted); }
article.card h3 a:hover { text-decoration-color: currentColor; }
article.card p { margin: 0 0 8px; }
article.card, .tags, td, #tray-list { overflow-wrap: anywhere; }
.tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: var(--muted); }
.tags .src { padding: 2px 8px; border-radius: 4px; background: var(--page); color: var(--ink); }
.pri {
  padding: 1px 8px;
  border: 1px solid var(--ring1);
  border-radius: 4px;
  background: var(--ring1);
  color: var(--ink);
  font-weight: 600;
}
.card-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.card-actions input[type="checkbox"] { width: 20px; height: 20px; margin: 4px 0 0; accent-color: var(--ink); cursor: pointer; }
.copy { font-size: 13px; padding: 4px 10px; min-height: 32px; }

.empty {
  margin: 0 0 10px;
  padding: 16px 20px;
  border: 1px dashed var(--muted);
  border-radius: 10px;
  color: var(--muted);
}
.note {
  padding: 10px 14px;
  border-left: 4px solid var(--ink);
  background: var(--card);
  color: var(--ink);
}

/* The archive search form. */
#search { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 16px; margin-bottom: 24px; }
#search .field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
#search select, #search input[type="text"] { max-width: 100%; }
#search .field label { font-weight: 500; font-size: 14px; }
#search .dates { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px; }
#search button[type="submit"] { min-height: 40px; background: var(--ink); border-color: var(--ink); color: var(--card); }

/* The subscribe form and its errors: the message beside the field, never colour alone ("Error:" is in words). */
#subscribe { max-width: 560px; }
#subscribe .field { margin-bottom: 18px; }
#subscribe label, #subscribe .label { display: block; margin-bottom: 4px; font-weight: 500; }
#subscribe input[type="email"], #subscribe select { width: 100%; max-width: 100%; }
#subscribe .hint, #subscribe .stored { font-size: 14px; color: var(--muted); }
#subscribe .check { min-height: 65px; }
#subscribe .consent { margin-top: 20px; }
#subscribe button[type="submit"] { min-height: 44px; padding: 8px 18px; background: var(--ink); border-color: var(--ink); color: var(--card); font-weight: 600; }
#subscribe button[type="submit"]:disabled { background: var(--muted); border-color: var(--muted); cursor: wait; }
/* The one-button pages behind the links in our emails (/confirm, /unsubscribe). */
.one-button { margin: 20px 0; }
.one-button button { min-height: 44px; padding: 8px 18px; background: var(--ink); border-color: var(--ink); color: var(--card); font-weight: 600; }
.req { font-weight: 400; color: var(--muted); }
.error { margin: 0 0 6px; padding: 6px 10px; border-left: 4px solid var(--ink); background: var(--card); color: var(--ink); }
.error-summary { max-width: 560px; margin: 0 0 20px; padding: 12px 16px; border: 2px solid var(--ink); border-radius: 6px; background: var(--card); }
.error-summary h2 { font-size: 22px; }
.error-summary ul { margin: 0; padding-left: 20px; }
[aria-invalid="true"] { border-width: 2px; border-color: var(--ink); }

/* Archive results: the count line, the controls, the topic list with its bars. */
.count-line { margin: 0 0 8px; font-weight: 600; }
body.archive main > h1:focus { outline: none; } /* focused by script after a search, not a control */
.result-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.result-actions button:disabled { color: var(--muted); cursor: not-allowed; }
.result-actions button[aria-pressed="true"], .topic-pick[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--card); }
#results h2 { margin: 24px 0 10px; font-size: 22px; }
.tags .date { color: var(--ink); }
.more { margin-top: 8px; }
.topics { list-style: none; margin: 0; padding: 0; }
.topic-pick { display: flex; justify-content: space-between; gap: 8px; width: 100%; min-height: 32px; padding: 4px 8px; font-size: 14px; text-align: left; }
.topics .bar { display: block; height: 6px; margin: 2px 8px 6px; border-radius: 3px; background: var(--line); overflow: hidden; }
.topics .bar i { display: block; height: 100%; background: var(--ink); }

/* Plain-page pieces. */
table { width: 100%; border-collapse: collapse; background: var(--card); font-size: 14px; }
th, td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { font-weight: 600; }
main > section > ul { padding-left: 20px; }

footer {
  padding: 24px max(16px, calc((100% - 1200px) / 2)) 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

/* Phones: one column, a short header, the ring menu as a strip, the tray as a bottom bar. */
@media (max-width: 720px) {
  body > header { padding: 10px 16px; gap: 6px 14px; }
  body > header nav { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; padding-bottom: 4px; }
  body > header nav a { white-space: nowrap; }

  main, body.landing main, body.board main, body.archive main {
    display: flex;
    flex-direction: column;
    padding: 16px 16px 40px;
  }
  body.landing .hero, body.board .board-head { margin: -16px -16px 16px; }
  .hero, .board-head { display: block; padding: 20px 16px; }
  .hero h1 { font-size: 34px; }
  .hero .rings { display: none; }
  .rail, body.landing main > aside { position: static; }

  /* Board header: the board name, the five dots with their numbers, and the picker. */
  .board-head h1 { font-size: 30px; margin-bottom: 8px; }
  .board-head #counts, .board-head .note, .board-head .rings { display: none; }
  .board-head .legend { gap: 6px 14px; margin-top: 12px; }
  .board-head .legend li { display: inline-flex; align-items: center; }
  .board-head .legend li:not([data-count]) { display: none; }
  .board-head .legend li::before { margin-right: 4px; }
  .board-head .legend li::after { content: attr(data-count); }
  .board-head .legend-label {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }

  /* The board rail opens up so its pieces can sit in reading order. */
  body.board .rail-left { display: contents; }
  body.board .board-head { order: 1; }
  body.board #ring-nav { order: 2; }
  body.board #day-date, body.board #day-published, body.board #day-nav { order: 3; }
  body.board main > p { order: 4; }
  body.board #stories { order: 5; }
  body.board .about { order: 6; }
  body.board .crumbs { margin: -16px -16px 0; padding: 12px 16px 0; }
  body.board .crumbs + .board-head { margin-top: 0; }
  #ring-nav {
    position: sticky;
    top: 0;
    z-index: 4;
    margin: 0 -16px 12px;
    padding: 4px 16px;
    background: var(--page);
    border-bottom: 1px solid var(--line);
  }
  #ring-nav ul { display: flex; gap: 4px; margin: 0; overflow-x: auto; }
  #ring-nav a { white-space: nowrap; padding: 8px; }

  body.board, body.archive { padding-bottom: 96px; }
  aside[aria-labelledby="tray-title"] {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 6;
    margin: 0;
    padding: 10px 16px;
    border-radius: 0;
    border-width: 1px 0 0;
    box-shadow: 0 -4px 16px rgba(16, 24, 40, 0.12);
  }
  aside[aria-labelledby="tray-title"] { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; }
  aside[aria-labelledby="tray-title"] h2 { font-size: 18px; margin: 0; }
  #tray-list, aside[aria-labelledby="tray-title"] .subscribe { display: none; }
  #tray-count { margin: 0; }
  #tray-count .tray-toggle { min-height: 32px; }
  /* Tapping the count opens the list above the buttons. */
  aside[aria-labelledby="tray-title"][data-open] #tray-list:not(:empty) {
    display: block; order: 1; flex-basis: 100%; max-height: 40vh; overflow-y: auto; margin: 6px 0 0;
  }
  .tray-actions { order: 2; flex-basis: 100%; flex-wrap: nowrap; gap: 6px; margin-top: 6px; }
  .tray-actions button { padding: 4px 10px; font-size: 14px; white-space: nowrap; }

  article.card { grid-template-columns: minmax(0, 1fr); padding: 14px 16px; }
  .card-actions { flex-direction: row; justify-content: flex-start; }
  section.ring > h2 { font-size: 24px; }
  #search { flex-direction: column; align-items: stretch; }
  #search select, #search input[type="text"] { width: 100%; }
  table { display: block; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .rings circle { transition: none; }
}

/* Windows high contrast and other forced palettes: keep real borders, tick boxes and the Priority tag. */
@media (forced-colors: active) {
  article.card { border: 1px solid CanvasText; border-left: 4px solid CanvasText; }
  .empty { border: 1px solid CanvasText; }
  .error { border: 1px solid CanvasText; border-left: 4px solid CanvasText; }
  .error-summary { border: 2px solid CanvasText; }
  .pri { border: 1px solid CanvasText; color: CanvasText; }
  .card-actions input[type="checkbox"] { forced-color-adjust: auto; accent-color: auto; }
  button, input, select { border: 1px solid ButtonText; }
  .legend li::before, section.ring > h2::before, #ring-nav a::before { border: 1px solid CanvasText; }
  :focus-visible { outline: 2px solid Highlight; }
  .rings .counts text { fill: CanvasText; stroke: Canvas; }
}
