/* Sharing Corrections across Tasks — project page stylesheet.
   Pure white minimalist academic editorial aesthetic, zero external requests.
   Fonts are self-hosted in assets/fonts/ (see assets/fonts/SOURCES.md).
   Colour roles strictly follow the paper's figures: four paired outcomes and
   three editing recipes, with L3 always carrying a second visual encoding. */

@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.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: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0,
    U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter Variable";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-greek-wght-normal.woff2") format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Inter Variable";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-400.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-500.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-600.woff2") format("woff2");
}

:root {
  color-scheme: light;

  --bg: #ffffff;
  --tint: #f8fafc;
  --tint-2: #f1f5f9;
  --ink: #111827;
  --ink-2: #374151;
  --ink-3: #6b7280;
  --line: #e5e7eb;
  --line-2: #cbd5e1;
  --accent: #15466e;
  --accent-2: #246590;
  --focus: #1d6fd1;

  /* paired outcomes (exact paper tokens) */
  --rescue: #168979;
  --harm: #a04c25;
  --kept: #3c444c;
  --fail: #8c939a;
  --on-rescue: #ffffff;
  --on-harm: #ffffff;
  --on-kept: #ffffff;
  --on-fail: #111827;

  /* editing recipes (exact paper tokens) */
  --L1: #15466e;
  --L2: #3087af;
  --L3: #69758d;

  --maxh: 280px;
  --measure-w: 800px;
  --wide-w: 1080px;

  --font: "Inter Variable", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 68px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.68 var(--font);
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  overflow-wrap: break-word;
}

@media (min-width: 900px) {
  body { font-size: 16.5px; }
}

img, video, svg { max-width: 100%; }

a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgb(21 70 110 / 0.28);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.14s ease, text-decoration-color 0.14s ease;
}
a:hover { color: var(--ink); text-decoration-color: currentColor; }

:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, table, pre { margin: 0; }

.skip {
  position: absolute; left: 16px; top: -64px; z-index: 40;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px;
  text-decoration: none; font-size: 0.88rem;
}
.skip:focus { top: 14px; }

.defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.measure { max-width: calc(var(--measure-w) + 48px); margin: 0 auto; padding: 0 20px; }
.wide { max-width: calc(var(--wide-w) + 48px); margin: 0 auto; padding: 0 20px; }
@media (min-width: 720px) {
  .measure, .wide { padding: 0 24px; }
}

/* ------------------------------------------------------------ masthead */

.masthead {
  padding: 52px 0 32px;
  text-align: center;
}
@media (min-width: 900px) { .masthead { padding: 64px 0 36px; } }

.kicker {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
}

h1 {
  font-size: clamp(2rem, 4.4vw, 3.05rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 740;
  color: var(--ink);
  margin: 12px auto 0;
  max-width: 24ch;
  text-wrap: balance;
}

.subtitle {
  font-size: clamp(1.06rem, 2.05vw, 1.4rem);
  line-height: 1.35;
  letter-spacing: -0.012em;
  color: var(--ink-2);
  margin: 10px auto 0;
  max-width: 56ch;
  font-weight: 420;
  text-wrap: balance;
}

.authors {
  margin: 26px auto 0;
  font-size: 1rem;
  line-height: 1.55;
}
.author-row, .affiliations, .logos {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center;
}
.author-row { gap: 2px 22px; }
.author-row + .author-row { margin-top: 3px; }
.authors a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 460;
}
.authors a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.authors sup, .affiliations sup {
  font-size: 0.68em; color: var(--ink-3); margin-left: 1.5px; font-weight: 500;
}
@media (max-width: 759px) {
  .authors { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 16px; max-width: 34rem; }
  .author-row { display: contents; }
}

.affiliations {
  margin: 14px auto 0;
  gap: 2px 22px;
  color: var(--ink-3);
  font-size: 0.87rem;
}
.affiliations li { text-wrap: balance; }
.affiliations sup { margin: 0 2.5px 0 0; }

.logos {
  margin: 18px auto 0;
  gap: 14px 36px;
  align-items: center;
}
.logos li { line-height: 0; }
.logos img { display: block; height: var(--lh, 30px); width: auto; max-width: none; }
@media (max-width: 560px) {
  .logos { gap: 10px 18px; }
  .logos img { height: calc(var(--lh, 30px) * 0.72); }
}

.author-note {
  margin: 14px auto 0;
  color: var(--ink-3);
  font-size: 0.8rem;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0 20px;
}

.links {
  margin-top: 24px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 18px; border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--bg); color: var(--ink);
  font-size: 0.9rem; font-weight: 560; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}
.btn:hover { border-color: var(--ink); background: var(--tint); color: var(--ink); }
.btn-primary {
  background: var(--accent); border-color: var(--accent); color: #ffffff;
}
.btn-primary:hover { background: #103656; border-color: #103656; color: #ffffff; }
.btn-soon {
  background: var(--tint);
  border-color: var(--line);
  color: var(--ink-3);
  cursor: default;
  pointer-events: none;
}
.btn-soon small {
  font-family: var(--mono);
  font-size: 0.72em;
  font-weight: 500;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink-3);
  margin-left: 2px;
}
.btn .ico { flex: none; }

/* ------------------------------------------------------------ hero teaser */

.hero-teaser {
  padding: 8px 0 40px;
}
.plate-hero img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}
.plate-hero figcaption {
  margin: 16px auto 0;
  max-width: 96ch;
  font-size: 0.88rem;
  line-height: 1.58;
  color: var(--ink-3);
  text-wrap: pretty;
}
.plate-hero figcaption b {
  color: var(--ink);
  font-weight: 620;
}

/* ------------------------------------------------------------ sticky section rail */

.rail {
  position: sticky;
  top: 0;
  z-index: 25;
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.rail ol {
  list-style: none;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px 22px;
  overflow-x: auto;
  scrollbar-width: none;
}
.rail ol::-webkit-scrollbar { display: none; }
.rail li { flex: none; display: flex; align-items: center; }
.rail a {
  display: inline-flex;
  align-items: baseline;
  padding: 13px 2px 11px;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--ink-3);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}
.rail a:hover { color: var(--ink); }
.rail a[aria-current="true"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
/* The four findings are reachable from the rail one by one. */
.rail-sub {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  margin-left: 8px;
}
.rail .rail-sub a {
  padding: 2px 6px;
  margin: 0;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--ink-3);
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
}
.rail .rail-sub a:hover { border-color: var(--ink-3); color: var(--ink); }
.rail .rail-sub a[aria-current="true"] {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
}
/* Supporting sections follow the study's results after a divider. */
.rail-aux { padding-left: 22px; border-left: 1px solid var(--line-2); }
@media (max-width: 820px) {
  .rail ol { justify-content: flex-start; gap: 4px 16px; }
  .rail-aux { padding-left: 16px; }
}

/* ------------------------------------------------------------ sections & typography */

.sec {
  padding: 58px 0;
  border-bottom: 1px solid #f0f2f5;
}
.sec:last-of-type { border-bottom: 0; }
@media (min-width: 900px) { .sec { padding: 68px 0; } }

.eyebrow {
  font-family: var(--mono);
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  margin-bottom: 8px;
}

.sec-title {
  font-size: clamp(1.5rem, 2.7vw, 1.92rem);
  line-height: 1.18;
  letter-spacing: -0.022em;
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}

.sub-h {
  margin-top: 38px;
  font-size: 1.14rem;
  line-height: 1.3;
  letter-spacing: -0.012em;
  font-weight: 660;
  color: var(--ink);
}
.sub-lead {
  margin-top: 8px;
  color: var(--ink-2);
  font-size: 0.96rem;
}

.prose {
  margin-top: 18px;
  color: var(--ink-2);
}
.prose > * + * { margin-top: 14px; }
.prose p { text-wrap: pretty; }
.prose strong, .prose b { color: var(--ink); font-weight: 630; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 9px; }

.fine {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 0.86rem;
}

.statement {
  margin-top: 14px;
  padding: 2px 0 2px 16px;
  border-left: 3px solid var(--accent);
  font-size: clamp(1.12rem, 2vw, 1.34rem);
  line-height: 1.34;
  letter-spacing: -0.014em;
  font-weight: 650;
  color: var(--ink);
  text-wrap: pretty;
}

.scope {
  margin-top: 22px;
  padding: 12px 16px;
  border-left: 2px solid var(--line-2);
  background: var(--tint);
  border-radius: 0 6px 6px 0;
  color: var(--ink-3);
  font-size: 0.87rem;
  line-height: 1.56;
}
.scope b { color: var(--ink-2); font-weight: 640; }

.recipe-key {
  list-style: none;
  padding: 12px 0 0;
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 24px;
  font-size: 0.85rem;
  color: var(--ink-2);
}
.recipe-key li { display: inline-flex; align-items: center; gap: 6px; }
.recipe-key b { color: var(--ink); font-weight: 650; }

/* ------------------------------------------------------------ setup */

.loop-diagram {
  margin-top: 28px;
}
.loop-arc {
  display: none;
  width: 100%;
  height: auto;
  overflow: visible;
}
.loop-arc .arc-lbl {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  fill: var(--ink-3);
}
.loop-arc .arc-accent { fill: var(--accent); }

.loop-grid {
  display: grid;
  gap: 0;
  align-items: stretch;
}
.loop-node {
  display: flex;
  flex-direction: column;
  padding: 15px 16px 14px;
  border-radius: 10px;
  border: 1px solid var(--line-2);
  background: var(--bg);
}
.loop-node b {
  display: block;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 660;
  line-height: 1.28;
  margin-top: 9px;
}
.loop-node p {
  margin-top: 5px;
  font-size: 0.85rem;
  line-height: 1.48;
  color: var(--ink-3);
  text-wrap: pretty;
}
.node-head {
  display: flex;
  align-items: center;
  gap: 7px;
}
.node-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: var(--tint-2);
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.node-state {
  font-family: var(--mono);
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.node-ico {
  margin-left: auto;
  color: var(--ink-3);
  flex: none;
}

.node-base {
  border-style: dashed;
  border-width: 1.5px;
  border-color: #94a3b8;
  background: var(--tint);
}
.node-editor {
  border-width: 1.5px;
  border-color: var(--accent);
  background: #f3f7fb;
  box-shadow: 0 2px 10px rgb(21 70 110 / 0.07);
}
.node-editor .node-num {
  background: var(--accent);
  color: #ffffff;
}
.node-editor .node-state,
.node-editor .node-ico { color: var(--accent); }
.node-editor p { color: var(--ink-2); }

.loop-conn {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  color: #94a3b8;
}
.loop-conn.is-accent { color: var(--accent); }
.conn-label {
  grid-row: 1;
  grid-column: 3;
  justify-self: start;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--ink-3);
  white-space: nowrap;
}
.loop-conn.is-accent .conn-label { color: var(--accent); }
.conn-h { display: none; }
.conn-v { grid-row: 1; grid-column: 2; justify-self: center; display: block; }

.loop-mobile-note {
  margin-top: 12px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink-3);
  text-align: center;
}

@media (min-width: 900px) {
  .loop-arc { display: block; }
  .loop-arc-top { margin-bottom: -1px; }
  .loop-arc-bot { margin-top: -1px; }
  .loop-grid {
    grid-template-columns:
      minmax(0, 196fr) minmax(0, 76fr)
      minmax(0, 196fr) minmax(0, 76fr)
      minmax(0, 196fr) minmax(0, 76fr)
      minmax(0, 196fr);
  }
  .loop-conn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 0 3px;
  }
  .conn-label {
    grid-column: auto;
    justify-self: auto;
    font-size: 0.63rem;
    letter-spacing: -0.015em;
    margin-bottom: 1px;
  }
  .conn-h { display: block; width: calc(100% - 8px); max-width: 64px; height: auto; }
  .conn-v { display: none; }
  .loop-mobile-note { display: none; }
}
@media (min-width: 1060px) {
  .loop-conn { padding: 0 6px; }
  .conn-label { font-size: 0.68rem; letter-spacing: -0.01em; }
}

.deflist {
  margin-top: 16px;
  border-bottom: 1px solid var(--line);
}
.drow {
  display: grid;
  gap: 4px 24px;
  padding: 13px 0;
  border-top: 1px solid var(--line);
  font-size: 0.92rem;
  line-height: 1.54;
  color: var(--ink-2);
}
.drow .dt { color: var(--ink); font-size: 0.95rem; line-height: 1.35; }
.drow .dt b { display: block; font-weight: 650; }
@media (min-width: 700px) {
  .drow { grid-template-columns: 14.5rem minmax(0, 1fr); align-items: baseline; }
}
.recipe { border-left: 3px solid var(--rc); padding-left: 14px; }
@media (min-width: 700px) {
  .recipe { grid-template-columns: calc(14.5rem - 17px) minmax(0, 1fr); }
}
.recipe.r1 { --rc: var(--L1); }
.recipe.r2 { --rc: var(--L2); }
.recipe.r3 { --rc: var(--L3); border-left-style: dashed; }
.recipe .rid {
  display: block;
  font-family: var(--mono);
  color: var(--ink-3);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
}
.recipe .formula {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: var(--ink);
  background: var(--tint-2);
  padding: 2px 7px;
  border-radius: 5px;
  margin-right: 7px;
  white-space: nowrap;
}

.outcomes-wrap {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 32px;
  align-items: start;
}
@media (min-width: 920px) {
  .outcomes-wrap { grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr); gap: 44px; }
}
.outcomes-note h3 { font-size: 1.05rem; font-weight: 660; color: var(--ink); margin-bottom: 8px; }
.outcomes-note p { font-size: 0.9rem; line-height: 1.55; color: var(--ink-2); }
table.matrix {
  border-collapse: separate; border-spacing: 6px;
  width: 100%; font-size: 0.88rem; table-layout: fixed;
  margin: 14px 0 12px;
}
table.matrix tr > :first-child { width: 29%; }
table.matrix th {
  font-weight: 600; color: var(--ink-3); text-align: left;
  font-size: 0.79rem; padding: 2px 4px;
}
table.matrix td {
  border-radius: 6px; padding: 10px 12px; font-weight: 640; line-height: 1.25;
  text-align: center;
}
.o-rescue { background: var(--rescue); color: var(--on-rescue); }
.o-harm { background: var(--harm); color: var(--on-harm); }
.o-kept { background: var(--kept); color: var(--on-kept); }
.o-fail { background: var(--fail); color: var(--on-fail); }
.identity { font-size: 0.86rem; color: var(--ink-3); }
.identity b { color: var(--ink); font-weight: 620; }

/* ------------------------------------------------------------ findings */

.finding {
  margin-top: 48px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}
.finding:first-of-type {
  margin-top: 30px;
  padding-top: 30px;
}
.f-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 6px;
}
.f-q {
  font-size: clamp(1.16rem, 2.1vw, 1.38rem);
  line-height: 1.28;
  letter-spacing: -0.014em;
  font-weight: 600;
  color: var(--ink-2);
}

.synthesis {
  margin-top: 52px;
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

table.matters-table {
  width: 100%;
  margin-top: 14px;
  border-collapse: collapse;
  font-size: 0.9rem;
}
table.matters-table th, table.matters-table td {
  padding: 9px 12px 9px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: baseline;
}
table.matters-table thead th {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-top: 1.5px solid var(--ink);
  border-bottom: 1px solid var(--line-2);
}
table.matters-table tbody th { font-weight: 620; color: var(--ink); white-space: nowrap; width: 24%; }
table.matters-table tbody td { color: var(--ink-2); }
table.matters-table .m-ref { text-align: right; padding-right: 0; white-space: nowrap; font-size: 0.85rem; }
table.matters-table tbody tr:last-child th,
table.matters-table tbody tr:last-child td { border-bottom: 1.5px solid var(--ink); }

/* ------------------------------------------------------------ figures & charts */

.figs {
  display: grid;
  gap: 32px;
  margin-top: 28px;
  align-items: stretch;
}
@media (min-width: 820px) {
  .figs.two-up { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
  .figs.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
  #finding-1 .figs .chart-top { min-height: 44px; align-items: flex-start; }
  #adaptation .figs figcaption { min-height: 3.1em; }
}
.single-fig { margin-top: 28px; }

.fig {
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.fig > .tabs {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.fig > .tabs > [data-panel] {
  display: flex;
  flex-direction: column;
  flex: 1;
}
.fig details.values { margin-top: auto; padding-top: 8px; }
.fig svg.chart { margin-bottom: 10px; }
.fig figcaption {
  font-size: 0.86rem;
  line-height: 1.48;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.fig figcaption b {
  display: block;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 650;
  margin-bottom: 2px;
}

.chart-top {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  min-height: 26px;
}

.legend {
  list-style: none; padding: 0;
  display: flex; flex-wrap: wrap; gap: 3px 14px;
  font-size: 0.79rem; color: var(--ink-3);
}
.legend li { display: inline-flex; align-items: center; gap: 5px; }
.sw { height: 14px; width: auto; flex: none; overflow: visible; }

.rtoggle {
  display: none;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  overflow: hidden;
  flex: none;
}
.js .rtoggle { display: inline-flex; }
.rtoggle button {
  font: inherit; font-family: var(--mono);
  font-size: 0.72rem; font-weight: 500;
  padding: 3px 9px; border: 0; cursor: pointer;
  background: transparent; color: var(--ink-3); line-height: 1.4;
}
.rtoggle button + button { border-left: 1px solid var(--line); }
.rtoggle button:hover { color: var(--ink); }
.rtoggle button[aria-pressed="true"] { background: var(--ink); color: #ffffff; }
.rtoggle button:focus-visible { outline-offset: -2px; }

svg.chart {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  font-family: var(--font);
}
svg.chart:focus-visible { outline-offset: 4px; }
svg.chart text {
  font-size: 12px;
  fill: var(--ink-3);
  font-variant-numeric: tabular-nums;
}
svg.chart .tl { fill: var(--ink-2); font-size: 12px; }
svg.chart .dl { fill: var(--ink); font-weight: 600; }
svg.chart .dl2 { fill: var(--ink-2); font-size: 11.5px; }
svg.chart .ink { fill: var(--ink); }
svg.chart .in { font-size: 11.5px; font-weight: 600; }
svg.chart .on-rescue { fill: var(--on-rescue); }
svg.chart .on-harm { fill: var(--on-harm); }
svg.chart .on-kept { fill: var(--on-kept); }
svg.chart .on-fail { fill: var(--on-fail); }

.grid { stroke: #eceef1; stroke-width: 1; }
.grid.zero, .axis { stroke: #c7cdd4; stroke-width: 1; }
.ref { stroke: #8c939a; stroke-width: 1; stroke-dasharray: 3 3; }
.band { fill: var(--fail); fill-opacity: 0.22; }
.region { fill: var(--fail); fill-opacity: 0.08; }
.hit { fill: transparent; stroke: none; }
.ln { fill: none; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
.ln.thin { stroke-width: 1.25; }
.ln.dot { stroke-dasharray: 2 3; }
.ln.s-L3 { stroke-dasharray: 6 3; stroke-linecap: butt; }
.tick { stroke-width: 2; stroke-linecap: round; }
.whisk { stroke-width: 1.5; stroke-opacity: 0.55; stroke-linecap: round; }
.err, .ln.err-key { stroke: var(--ink); stroke-width: 1.3; }
.err-bg { stroke: #ffffff; stroke-width: 3.6; stroke-linecap: round; }
.pt { stroke: #ffffff; stroke-width: 1.6; paint-order: stroke; }

.c-rescue { fill: var(--rescue); } .c-harm { fill: var(--harm); }
.c-kept { fill: var(--kept); } .c-fail { fill: var(--fail); }
.s-rescue { stroke: var(--rescue); } .s-harm { stroke: var(--harm); }
.c-L1 { fill: var(--L1); } .c-L2 { fill: var(--L2); } .c-L3 { fill: var(--L3); }
.s-L1 { stroke: var(--L1); } .s-L2 { stroke: var(--L2); } .s-L3 { stroke: var(--L3); }
.b-L1 { fill: var(--L1); } .b-L2 { fill: var(--L2); } .b-L3 { fill: url(#hatch-L3) var(--L3); }
.hatch-bg { fill: var(--L3); fill-opacity: 0.3; } .hatch-fg { fill: var(--L3); }
.t-L1 { fill: var(--L1); fill-opacity: 0.4; } .t-L2 { fill: var(--L2); fill-opacity: 0.4; }
.t-L3 { fill: var(--L3); fill-opacity: 0.4; }
.o-L1 { fill: #ffffff; stroke: var(--L1); stroke-width: 1.9; }
.o-L2 { fill: #ffffff; stroke: var(--L2); stroke-width: 1.9; }
.o-L3 { fill: #ffffff; stroke: var(--L3); stroke-width: 1.9; }
.c-ink { fill: var(--ink); } .c-ink3 { fill: var(--ink-3); } .s-ink { stroke: var(--ink); }
.t-ink { fill: var(--ink); fill-opacity: 0.28; }
.o-ink { fill: #ffffff; stroke: var(--ink); stroke-width: 1.9; }

.mark { cursor: default; outline: none; }
.mark.is-active > .pt,
.mark.is-active > path,
.mark.is-active > rect:not(.hit) { stroke: var(--ink); stroke-width: 1.6; }

.rk { transition: opacity 0.12s linear; }
html[data-recipe="L1"] .rk:not(.rk-L1),
html[data-recipe="L2"] .rk:not(.rk-L2),
html[data-recipe="L3"] .rk:not(.rk-L3) { opacity: 0.13; }
@media (prefers-reduced-motion: reduce) { .rk { transition: none; } }

.table-wrap { overflow-x: auto; }
details.values {
  margin-top: 10px;
  border-top: 1px solid var(--line);
  padding-top: 4px;
}
details.values summary {
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  color: var(--ink-3);
  padding: 5px 0;
  list-style-position: inside;
}
details.values summary:hover { color: var(--ink); }
details.values[open] summary { margin-bottom: 8px; }
table.data {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.8rem;
  font-variant-numeric: tabular-nums;
}
table.data caption {
  text-align: left; color: var(--ink-3); font-size: 0.77rem;
  padding-bottom: 6px; caption-side: top;
}
table.data th, table.data td {
  padding: 5px 10px 5px 0;
  border-bottom: 1px solid var(--line);
  text-align: right; white-space: nowrap;
}
table.data th:first-child, table.data td:first-child { text-align: left; white-space: normal; }
table.data thead th { color: var(--ink-3); font-weight: 600; border-bottom-color: var(--line-2); }
table.data tbody th { font-weight: 500; color: var(--ink); }

#tip {
  position: fixed; z-index: 40; pointer-events: none; max-width: 280px;
  background: var(--ink); color: #ffffff; border-radius: 7px; padding: 8px 11px;
  font-size: 0.79rem; line-height: 1.38; box-shadow: 0 8px 24px rgb(17 24 39 / 0.22);
}
#tip strong { display: block; font-size: 0.92rem; font-variant-numeric: tabular-nums; }
#tip span { display: block; opacity: 0.84; }

/* ------------------------------------------------------------ tabs */

.pre [data-tabs] > [data-panel] ~ [data-panel] { display: none; }

.tabs { margin-top: 26px; }
.tabs.compact { margin-top: 0; }
.tabs.compact-top { margin-top: 34px; }

.tablist {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 8px;
  border-bottom: 1px solid var(--line);
}
.tablist a {
  padding: 10px 16px;
  text-decoration: none;
  color: var(--ink-3);
  font-weight: 560;
  font-size: 0.92rem;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}
.tablist a:hover { color: var(--ink); }
.tablist a[aria-selected="true"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
@media (max-width: 600px) {
  .tablist { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; }
  .tablist a { padding: 9px 12px; font-size: 0.86rem; }
}

.tabpanel { padding-top: 24px; }
.tabpanel .prose { margin-top: 0; }
.tabs.is-tabs .panel-title { display: none; }
.panel-title { font-size: 1.04rem; font-weight: 650; margin-bottom: 10px; }

/* ------------------------------------------------------------ key findings */

.sec-take { background: var(--bg); }

.take-grid {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-2);
}
.take { display: flex; }
.take-cell {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  padding: 22px 26px 22px 24px;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: background-color 0.14s ease;
}
.take:nth-child(odd) .take-cell { border-right: 1px solid var(--line); }
.take:nth-last-child(-n+2) .take-cell { border-bottom: 0; }
.take-cell:hover { background: var(--tint); }
.take-cell:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }

.take-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.take-tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 560;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.take-arr {
  font-size: 0.94rem;
  line-height: 1;
  color: var(--ink-3);
  opacity: 0.52;
  transition: color 0.14s ease, opacity 0.14s ease, transform 0.14s ease;
}
.take-cell:hover .take-arr {
  color: var(--accent);
  opacity: 1;
  transform: translate(2px, -2px);
}

.take-vis {
  display: flex;
  /* Top-aligned, so a sub-line that wraps on one card does not move its number. */
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}
.take-stat {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-val {
  font-size: clamp(1.36rem, 2.25vw, 1.62rem);
  line-height: 1.1;
  font-weight: 740;
  letter-spacing: -0.028em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  white-space: nowrap;
}
.stat-val small {
  font-size: 0.56em;
  font-weight: 560;
  letter-spacing: 0;
  color: var(--ink-3);
}
.stat-to {
  display: inline-block;
  font-size: 0.74em;
  font-weight: 480;
  opacity: 0.58;
  margin: 0 0.24em;
  transform: translateY(-0.1em);
}
.stat-val.is-rescue { color: var(--rescue); }
.stat-val.is-harm { color: var(--harm); }
.stat-val.is-L1 { color: var(--L1); }
.stat-sub {
  font-size: 0.81rem;
  line-height: 1.38;
  color: var(--ink-3);
}

.spark {
  flex: none;
  display: block;
  overflow: visible;
}
.sp-base { stroke: var(--line-2); stroke-width: 1; }
.sp-track { stroke: var(--line); stroke-width: 1; }
.sp-guide { stroke: var(--line-2); stroke-width: 1; stroke-dasharray: 2 2; }
.sp-area { stroke: none; }
.sp-area.sp-rescue { fill: var(--rescue); fill-opacity: 0.08; }
.sp-ln { fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sp-ln.sp-rescue { stroke: var(--rescue); }
.sp-ln.sp-harm { stroke: var(--harm); }
.sp-ln.sp-L1 { stroke: var(--L1); }
.sp-ln.sp-L2 { stroke: var(--L2); }
.sp-ln.sp-L3 { stroke: var(--L3); }
.sp-dot { stroke: var(--bg); stroke-width: 1.25; }
.take-cell:hover .sp-dot { stroke: var(--tint); }
.sp-dot.sp-rescue { fill: var(--rescue); }
.sp-dot.sp-harm { fill: var(--harm); }
.sp-dot.sp-L1 { fill: var(--L1); }
.sp-dot.sp-L2 { fill: var(--L2); }
.sp-dot.sp-L3 { fill: var(--L3); }
.sp-open { fill: var(--bg); stroke-width: 1.7; }
.take-cell:hover .sp-open { fill: var(--tint); }
.sp-open.sp-L1 { stroke: var(--L1); }
.sp-open.sp-L2 { stroke: var(--L2); }
.sp-open.sp-L3 { stroke: var(--L3); }
.sp-lbl {
  font-family: var(--mono);
  font-size: 8.5px;
  font-weight: 500;
  fill: var(--ink-3);
}
.sp-lbl-hi { fill: var(--ink-2); font-weight: 600; }

.take-claim {
  margin-top: auto;
  font-size: 0.98rem;
  line-height: 1.42;
  letter-spacing: -0.01em;
  font-weight: 600;
  color: var(--ink);
  text-wrap: pretty;
}

.reach-strip {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--tint);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}
.reach-strip li { display: flex; }
.reach-cell {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  padding: 17px 22px;
  color: inherit;
  text-decoration: none;
  border-right: 1px solid var(--line);
  transition: background-color 0.14s ease;
}
.reach-strip li:last-child .reach-cell { border-right: 0; }
.reach-cell:hover { background: var(--tint-2); }
.reach-cell:focus-visible { outline: 2px solid var(--focus); outline-offset: -2px; }
.reach-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.reach-head b {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 620;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
}
.reach-arr {
  font-size: 0.88rem;
  line-height: 1;
  color: var(--ink-3);
  opacity: 0.52;
  transition: color 0.14s ease, opacity 0.14s ease, transform 0.14s ease;
}
.reach-cell:hover .reach-arr {
  color: var(--accent);
  opacity: 1;
  transform: translate(2px, -2px);
}
.reach-text {
  font-size: 0.85rem;
  line-height: 1.46;
  color: var(--ink-2);
  text-wrap: pretty;
}

@media (max-width: 860px) {
  .take-grid, .reach-strip { grid-template-columns: minmax(0, 1fr); }
  .take:nth-child(odd) .take-cell { border-right: 0; }
  .take:nth-last-child(-n+2) .take-cell { border-bottom: 1px solid var(--line); }
  .take:last-child .take-cell { border-bottom: 0; }
  .take-cell { padding: 18px 8px; }
  .reach-cell { border-right: 0; border-bottom: 1px solid var(--line); padding: 14px 8px; }
  .reach-strip li:last-child .reach-cell { border-bottom: 0; }
}
@media (max-width: 480px) {
  .spark { width: 114px; height: auto; }
}

/* A claim inside a section: a statement heading followed by its evidence. */
.claim .sub-h { margin-top: 44px; }
.claim .prose { margin-top: 10px; }
.figs-top { align-items: start; }

/* Tabs that state their answer under the topic. */
.tablist a:has(.tab-a) {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  white-space: normal;
  text-align: center;
  max-width: 18em;
}
.tab-a {
  font-size: 0.78rem;
  font-weight: 450;
  line-height: 1.3;
  color: var(--ink-3);
}
.tablist a[aria-selected="true"] .tab-a { color: var(--ink-2); }

/* ------------------------------------------------------------ clips & gallery */

.media-row { margin-top: 28px; }

.clip { min-width: 0; }
.clip-inner { max-width: calc(var(--maxh) * var(--ar)); margin: 0 auto; }
.clip-frame {
  border-radius: 8px;
  overflow: hidden;
  line-height: 0;
  border: 1px solid var(--line);
  background: #ffffff;
}
.clip video { display: block; width: 100%; height: auto; background: #ffffff; }
.clip figcaption {
  margin: 10px auto 0;
  max-width: 90ch;
  text-align: center;
  font-size: 0.86rem;
  line-height: 1.5;
  color: var(--ink-3);
}
.clip figcaption b { color: var(--ink); font-weight: 620; }
.chip {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.69rem;
  font-weight: 500;
  padding: 1px 7px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--ink-3);
  white-space: nowrap;
  margin-left: 4px;
  vertical-align: 0.06em;
}

.scroll-hint { display: none; }
@media (max-width: 639px) {
  .clip.wide .clip-scroll { overflow-x: auto; overscroll-behavior-x: contain; border-radius: 8px; }
  .clip.wide .clip-inner { min-width: 680px; max-width: none; }
  .clip.wide .scroll-hint { display: block; font-size: 0.78rem; color: var(--ink-3); margin: 0 0 6px; text-align: center; }
  .clip figcaption { text-align: left; }
}

.switch {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 14px;
}
.fig .switch { justify-content: flex-start; margin-bottom: 10px; }
.switch a {
  padding: 5px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.83rem;
  font-weight: 560;
  color: var(--ink-2);
  background: var(--bg);
  line-height: 1.3;
}
.fig .switch a { padding: 3px 12px; font-size: 0.79rem; }
.switch a:hover { border-color: var(--ink); color: var(--ink); }
.switch a[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: #ffffff;
}
.clipgroup:not(.is-tabs) > .clip + .clip { margin-top: 24px; }

.gallery { margin-top: 24px; }
.gallery:not(.is-tabs) > .clip + .clip { margin-top: 28px; }
.picker {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 680px) {
  .picker { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
}
.pick {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  text-decoration: none;
  font-size: 0.78rem;
  line-height: 1.38;
  color: var(--ink-3);
  transition: border-color 0.14s ease, background 0.14s ease;
}
.pick:hover { border-color: var(--line-2); background: var(--tint); color: var(--ink-2); }
.pick[aria-selected="true"] {
  border-color: var(--accent);
  background: #f4f8fb;
  box-shadow: inset 0 0 0 1px var(--accent);
}
.pick img {
  display: block; width: 76px; height: 46px;
  object-fit: cover; object-position: left center;
  border-radius: 5px; border: 1px solid var(--line);
}
.pick b { display: block; color: var(--ink); font-weight: 600; margin-bottom: 2px; }

/* ------------------------------------------------------------ system */

.metrics {
  margin-top: 30px;
  display: grid;
  gap: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 24px 0;
}
@media (min-width: 720px) {
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 36px; }
}
@media (min-width: 1020px) {
  .metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
  .metrics > div { padding: 0 22px; border-left: 1px solid var(--line); }
  .metrics > div:first-child { padding-left: 0; border-left: 0; }
  .metrics > div:last-child { padding-right: 0; }
}
.metrics dt {
  font-size: 1.65rem;
  line-height: 1.1;
  font-weight: 720;
  letter-spacing: -0.03em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  display: flex;
  align-items: baseline;
  gap: 0.28em;
  flex-wrap: wrap;
}
.metrics dt small {
  font-size: 0.52em;
  font-weight: 560;
  letter-spacing: 0;
  color: var(--ink-3);
  white-space: nowrap;
}
.metrics dd {
  margin-top: 8px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--ink-3);
}

.syscost-wrap {
  margin-top: 26px;
  overflow-x: auto;
}
table.syscost-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}
table.syscost-table caption {
  caption-side: bottom;
  text-align: left;
  margin-top: 10px;
  font-size: 0.81rem;
  line-height: 1.48;
  color: var(--ink-3);
}
table.syscost-table th, table.syscost-table td {
  padding: 11px 14px 11px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
}
table.syscost-table th.num, table.syscost-table td.num {
  text-align: right;
  padding-right: 0;
  padding-left: 16px;
}
table.syscost-table thead th {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  border-top: 1.5px solid var(--ink);
  border-bottom: 1px solid var(--line-2);
}
table.syscost-table tbody th { font-weight: 600; color: var(--ink); }
table.syscost-table tbody td { color: var(--ink-2); }
table.syscost-table tbody td b { font-weight: 600; color: var(--ink); }
/* Second line of a cell: what the row is, or what its number means. */
table.syscost-table .sub {
  display: block;
  margin-top: 2px;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--ink-3);
}
table.syscost-table tbody tr:last-child th,
table.syscost-table tbody tr:last-child td { border-bottom: 1.5px solid var(--ink); }

.plate-sys { margin-top: 34px; }
.plate-sys img {
  display: block;
  width: 100%;
  max-width: 980px;
  height: auto;
  margin: 0 auto;
}
.plate-sys figcaption {
  margin: 14px auto 0;
  max-width: 88ch;
  text-align: center;
  font-size: 0.87rem;
  line-height: 1.54;
  color: var(--ink-3);
}
.plate-sys figcaption b { color: var(--ink); font-weight: 620; }

/* ------------------------------------------------------------ QA, limitations, bibtex, footer */

.qa {
  margin-top: 32px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.qa > summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 0;
  font-size: 0.94rem;
  color: var(--ink);
}
.qa dl { margin: 2px 0 20px; }
.qa dt { font-weight: 620; margin-top: 14px; color: var(--ink); font-size: 0.92rem; }
.qa dd { margin: 3px 0 0; color: var(--ink-2); font-size: 0.9rem; line-height: 1.55; }

.lim-list { padding-left: 1.2em; }
.lim-list li + li { margin-top: 10px; }

.bib {
  margin-top: 18px;
  position: relative;
  background: var(--tint);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.bib pre {
  padding: 18px 20px;
  overflow-x: auto;
  font: 0.82rem/1.65 var(--mono);
  color: var(--ink);
  white-space: pre;
}
.btn-copy {
  position: absolute;
  top: 10px; right: 12px;
  padding: 4px 11px;
  border-radius: 6px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
}
.btn-copy:hover { border-color: var(--ink); color: var(--ink); }

footer.foot {
  border-top: 1px solid var(--line);
  padding: 28px 0 56px;
  color: var(--ink-3);
  font-size: 0.84rem;
  line-height: 1.6;
}
footer.foot p + p { margin-top: 4px; }

[hidden] { display: none !important; }

@media (max-width: 560px) {
  svg.chart text { font-size: 14px; }
  svg.chart .dl2, svg.chart .in { font-size: 13px; }
}

@media print {
  .rail, .rtoggle, .skip, .btn-copy, .tablist, .switch, .picker { display: none !important; }
  [data-panel][hidden] { display: block !important; }
  body { background: #fff; }
}
