/* worldstat.us — Direction G tokens. Paper, ink, hairline rules, no boxes. */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/static/fonts/newsreader-latin.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: "Newsreader";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/newsreader-italic-latin.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: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/static/fonts/ibm-plex-sans-latin.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;
}

:root {
  --paper: #FBF6EE; --ink: #191613;
  --ink-muted: #5E5549; --ink-faint: #8A7A69;
  --rule: #D9CEBE; --rule-light: #EADFCE; --empty: #C6B9A5;
  --link: #17466E; --link-rule: #C6D3DF;
  --mark-ok: #2E8B5E; --text-ok: #1C6B45;
  --mark-warn: #C98A2E; --text-warn: #8A5210;
  --mark-alarm: #C0392B; --text-alarm: #9B2B20;
  --tint-trig: rgba(201,138,46,.13); --tint-watch: rgba(201,138,46,.06);
  --band-1: #E3D3C2; --band-2: #E7DDCA;
  --band-3: #EDDFC4; --band-4: #DDE4D6;
  --band-rec: #DDD2C0;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --step: 4px; --gap-col: 14px; --gap-sec: 16px;
  --pad: 56px;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #17140F; --ink: #F3ECE0;
    --ink-muted: #A99C89; --ink-faint: #857A6A;
    --rule: #332D22; --rule-light: #272119;
    --empty: #4C4436; --link: #8FB6D8; --link-rule: #3A4A5A;
    --mark-ok: #4FA877; --text-ok: #74C79B;
    --mark-warn: #C98A2E; --text-warn: #E0AC55;
    --mark-alarm: #C0392B; --text-alarm: #E08174;
    --tint-trig: rgba(201,138,46,.20); --tint-watch: rgba(201,138,46,.09);
    --band-1: #3A2A22; --band-2: #33291D;
    --band-3: #3A2F1C; --band-4: #22301F;
    --band-rec: #2E2820;
  }
}
:root[data-theme="dark"] {
  --paper: #17140F; --ink: #F3ECE0;
  --ink-muted: #A99C89; --ink-faint: #857A6A;
  --rule: #332D22; --rule-light: #272119;
  --empty: #4C4436; --link: #8FB6D8; --link-rule: #3A4A5A;
  --mark-ok: #4FA877; --text-ok: #74C79B;
  --mark-warn: #C98A2E; --text-warn: #E0AC55;
  --mark-alarm: #C0392B; --text-alarm: #E08174;
  --tint-trig: rgba(201,138,46,.20); --tint-watch: rgba(201,138,46,.09);
  --band-1: #3A2A22; --band-2: #33291D;
  --band-3: #3A2F1C; --band-4: #22301F;
  --band-rec: #2E2820;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 13.5px; line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: tabular-nums;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--link); }
a.link { color: var(--link); }
a.link:hover { color: var(--ink); }
a.ul { color: var(--link); border-bottom: 1px solid var(--link-rule); }
h1, h2, h3 { margin: 0; font-weight: 600; }
p { margin: 0; }
svg { display: block; }
button, input { font-family: inherit; font-size: inherit; }
.serif { font-family: var(--serif); }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-muted); }
.faint { color: var(--ink-faint); }
.nowrap { white-space: nowrap; }
.right { text-align: right; }
.center { text-align: center; }
.show-m { display: none; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.page { max-width: 1440px; margin: 0 auto; padding: 40px var(--pad) 40px; }
.page.narrow { max-width: 720px; padding-left: 20px; padding-right: 20px; }

/* Masthead */
.mast { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.mast .brand { font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1; letter-spacing: -0.01em; }
.mast .brand a:hover { color: var(--ink); }
.mast .strap { margin-top: 6px; color: var(--ink-muted); font-size: 13px; }
.mast .meta { text-align: right; font-size: 12px; color: var(--ink-muted); line-height: 1.5; }
.crumb { font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.crumb a { color: var(--link); }
.crumb a:hover { color: var(--ink); }
.rule-double { height: 5px; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); margin-top: 14px; }

/* Section labels and rules */
.label { font-size: 10.5px; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; color: var(--ink-muted); }
.label.faint { color: var(--ink-faint); }
.section { padding-top: 22px; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 10px; }
.section-head .more { font-size: 12px; color: var(--link); }
hr.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }

/* Regime headline */
.regime { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 420px); gap: 32px 48px; align-items: end; padding: 26px 0 18px; border-bottom: 1px solid var(--rule); }
.regime h1 { font-family: var(--serif); font-size: 42px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.05; }
.regime .lead { margin-top: 14px; font-family: var(--serif); font-size: 18px; line-height: 1.45; max-width: 760px; text-wrap: pretty; }
.score-block { display: flex; align-items: baseline; gap: 10px; }
.score { font-family: var(--serif); font-weight: 500; line-height: 0.8; letter-spacing: -0.02em; }
.score.xl { font-size: 76px; }
.score.l { font-size: 62px; }
.score.m { font-size: 34px; }
.score.s { font-size: 24px; }
.score-of { font-size: 14px; color: var(--ink-muted); }
.delta { font-size: 13px; color: var(--ink-muted); }
.delta .up::before { content: "\2191"; margin-right: 3px; }
.delta .down::before { content: "\2193"; margin-right: 3px; }

/* Regime scale */
.scale { margin-top: 14px; }
.scale .bar { display: grid; grid-template-columns: 35fr 15fr 15fr 35fr; height: 6px; gap: 2px; }
.scale .bar span { background: var(--rule); }
.scale .bar span.b1 { background: var(--band-1); }
.scale .bar span.b2 { background: var(--band-2); }
.scale .bar span.b3 { background: var(--band-3); }
.scale .bar span.b4 { background: var(--band-4); }
.scale .marker { position: relative; height: 10px; }
.scale .marker i { position: absolute; top: -13px; width: 2px; height: 20px; background: var(--ink); transform: translateX(-1px); }
.scale .ticks { display: flex; justify-content: space-between; font-size: 9px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-top: 4px; }

/* Count strip */
.counts { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 0 24px; padding: 16px 0 12px; border-bottom: 1px solid var(--rule); }
.counts .n { font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1; }
.counts .k { margin-top: 6px; font-size: 11px; color: var(--ink-muted); display: flex; align-items: center; gap: 7px; }
.counts .coverage { grid-column: span 2; text-align: right; }
.counts .coverage .n { font-size: 24px; }
.legend { font-size: 11.5px; color: var(--ink-muted); line-height: 1.5; padding-top: 10px; max-width: 900px; }

/* Markers: the five states */
.mk { display: inline-block; width: 9px; height: 9px; flex: none; vertical-align: middle; }
.mk.ok { background: var(--mark-ok); }
.mk.trig { background: var(--mark-warn); }
.mk.watch { border: 1.8px solid var(--mark-warn); }
.mk.post { background: linear-gradient(to top right, var(--mark-warn) 50%, transparent 50%); border: 1.8px solid var(--mark-warn); }
.mk.ctx { height: 1.5px; background: var(--ink-faint); }
.mk.nodata { border: 1px dashed var(--ink-faint); }
.mk.big { width: 11px; height: 11px; }
.mk.big.ctx { height: 1.5px; width: 11px; }
.st { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.st.ok { color: var(--text-ok); }
.st.trig, .st.watch, .st.post { color: var(--text-warn); }
.st.ctx, .st.nodata { color: var(--ink-faint); }
.colour { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.colour.Green { color: var(--text-ok); }
.colour.Amber { color: var(--text-warn); }
.colour.Red { color: var(--text-alarm); }
.empty { color: var(--empty); }

/* Tables: no boxes, 1px ink above, rule-light between rows */
table.t { width: 100%; border-collapse: collapse; border-top: 1px solid var(--ink); }
table.t th { font-size: 9.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); text-align: left; padding: 6px 7px 6px 0; border-bottom: 1px solid var(--rule); white-space: nowrap; }
table.t td { padding: 8px 7px 8px 0; border-bottom: 1px solid var(--rule-light); vertical-align: middle; font-size: 12.5px; }
table.t td:last-child, table.t th:last-child { padding-right: 0; }
table.t tr.trig td { background: var(--tint-trig); }
table.t tr.watch td { background: var(--tint-watch); }
table.t tr.link { cursor: pointer; }
table.t tr.link:hover td { color: var(--link); }
table.t td.name { font-weight: 600; font-size: 13px; }
table.t td.name .sub { font-weight: 400; color: var(--ink-muted); font-size: 12px; }
table.t td.n, table.t th.n { text-align: right; font-variant-numeric: tabular-nums; }
table.t td.c, table.t th.c { text-align: center; }
table.t td.trunc { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
table.t .old td { color: var(--ink-muted); }
.tablewrap { overflow-x: auto; }

/* Region rows on the front page */
.regions .rscore { font-family: var(--serif); font-size: 26px; font-weight: 500; line-height: 1; letter-spacing: -0.02em; }
.spark { display: block; }

/* Layer strips */
.layers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding: 14px 0 16px; border-bottom: 1px solid var(--rule); }
.layer { display: flex; align-items: baseline; gap: 12px; }
.layer .n { font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 0.9; letter-spacing: -0.02em; }
.layer .k { font-size: 13px; }
.layer .k .w { color: var(--ink-muted); }
.layer .k .word { display: block; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--ink-muted); margin-top: 2px; }
.layer.active .n { color: var(--ink); }
.ticks { display: inline-flex; gap: 2px; vertical-align: middle; margin-left: 6px; }
.ticks i { width: 4px; height: 9px; background: var(--rule); }
.ticks i.on { background: var(--mark-warn); }

/* Grid (layer page) */
.grid { border-top: 1px solid var(--ink); }
.grid .row { display: grid; grid-template-columns: minmax(200px, 1.4fr) repeat(6, minmax(0, 1fr)) 48px; gap: 4px var(--gap-col); align-items: center; padding: 8px 0; border-bottom: 1px solid var(--rule-light); }
.grid .row.head { padding: 6px 0; border-bottom: 1px solid var(--rule); font-size: 9.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.grid .row.foot { border-bottom: 1px solid var(--rule); font-size: 11px; color: var(--ink-muted); }
.grid .row.foot b { color: var(--text-warn); }
.grid .cell { display: flex; align-items: center; gap: 7px; font-size: 12px; min-height: 22px; }
.grid .cell .v { color: var(--ink); }
.grid .cell .sub { color: var(--ink-faint); font-size: 10px; }
.grid .cell.trig { background: var(--tint-trig); margin: -4px -4px; padding: 4px 4px; }
.grid .cell.link:hover { color: var(--link); }
.grid .label-cell { font-size: 12.5px; font-weight: 600; }
.grid .label-cell .cad { display: block; font-weight: 400; color: var(--ink-faint); font-size: 10.5px; }
.grid .count { text-align: right; font-size: 12px; color: var(--ink-muted); }
.grid .count.on { color: var(--text-warn); font-weight: 600; }

/* Indicator page */
.ind-head { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px 48px; padding-top: 24px; }
.ind-head h1 { font-family: var(--serif); font-size: 42px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.05; }
.ind-meta { font-size: 12px; color: var(--ink-muted); line-height: 1.6; }
.ind-value { display: flex; align-items: flex-end; gap: 22px; padding: 18px 0 14px; flex-wrap: wrap; }
.ind-value .unit { font-size: 15px; color: var(--ink-muted); }
.ind-qual { display: flex; flex-direction: column; gap: 6px; padding-bottom: 6px; font-size: 12.5px; color: var(--text-warn); }
.kv { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 6px 14px; font-size: 12.5px; }
.kv .k { color: var(--ink-faint); }
.chart-controls { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: 12px; color: var(--ink-muted); }
.seg { display: inline-flex; gap: 2px; }
.seg button { height: 28px; padding: 0 12px; border: 1px solid var(--rule); background: transparent; color: var(--ink-muted); font-size: 11.5px; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); font-weight: 600; }
.chart { padding-top: 12px; }
.chart svg { width: 100%; height: auto; max-width: 100%; }
.chart .cap { font-size: 11px; color: var(--ink-muted); margin-top: 6px; }
.chart-variant[hidden] { display: none; }
.prose { font-family: var(--serif); font-size: 17px; line-height: 1.5; text-wrap: pretty; max-width: 760px; }
.prose.small { font-size: 15.5px; }
.rail { display: flex; flex-direction: column; gap: 22px; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px 56px; }
.note { font-size: 12px; color: var(--ink-muted); line-height: 1.5; }
details { border-top: 1px solid var(--rule-light); }
details summary { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; font-size: 13px; cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--ink-faint); font-size: 18px; }
details[open] summary::after { content: "\2212"; }
details .body { padding: 0 0 14px; }

/* Subscribe */
.subscribe { padding: 22px 0 18px; }
.subscribe h2 { font-family: var(--serif); font-size: 24px; font-weight: 600; }
.subscribe .lead { margin-top: 6px; font-size: 13px; color: var(--ink-muted); max-width: 640px; }
.subscribe form { margin-top: 16px; display: grid; grid-template-columns: minmax(200px, 360px) auto; gap: 12px 16px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 5px; }
.field label { font-size: 9.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); }
.field input { width: 100%; border: 0; border-bottom: 1.5px solid var(--ink); background: transparent; padding: 9px 0; font-size: 16px; color: var(--ink); outline: none; border-radius: 0; }
.field input:focus { border-bottom-color: var(--link); }
.btn { height: 44px; padding: 0 22px; border: 0; background: var(--ink); color: var(--paper); font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.btn:hover { background: var(--link); }
.choices { grid-column: 1 / -1; display: flex; gap: 20px; flex-wrap: wrap; font-size: 12.5px; }
.choices label { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; }
.choices input { accent-color: var(--ink); }
.subscribe .fine { grid-column: 1 / -1; font-size: 11.5px; color: var(--ink-muted); line-height: 1.5; max-width: 760px; }
.flash { font-family: var(--serif); font-size: 18px; padding: 24px 0; }

/* Footer */
footer.foot { margin-top: 32px; padding-top: 14px; border-top: 1px solid var(--rule); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: var(--ink-muted); }
footer.foot nav { display: flex; gap: 18px; flex-wrap: wrap; }
footer.foot nav a { color: var(--link); }
footer.foot nav a:hover { color: var(--ink); }

/* Text pages */
.text h1 { font-family: var(--serif); font-size: 36px; font-weight: 600; letter-spacing: -0.015em; line-height: 1.1; padding: 26px 0 8px; }
.text h2 { font-family: var(--serif); font-size: 24px; font-weight: 600; padding: 26px 0 8px; }
.text h3 { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); padding: 18px 0 6px; }
.text p, .text li { font-family: var(--serif); font-size: 17px; line-height: 1.5; text-wrap: pretty; }
.text p { margin: 0 0 12px; }
.text ul, .text ol { margin: 0 0 12px; padding-left: 22px; }
.text code { font-family: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.85em; }
.text table.t td, .text table.t th { font-family: var(--sans); }
.text a { color: var(--link); border-bottom: 1px solid var(--link-rule); }
.text .formula { font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace; font-size: 14px; padding: 8px 0; }

/* Responsive */
@media (max-width: 1100px) {
  .two { grid-template-columns: 1fr; }
  .ind-head { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --pad: 20px; }
  body { font-size: 13px; }
  .page { padding-top: 22px; }
  .mast .brand { font-size: 24px; }
  .mast .meta { text-align: left; }
  .regime { grid-template-columns: 1fr; gap: 18px; }
  .regime > div:last-child { max-width: 100%; }
  .regime h1 { font-size: 30px; }
  .regime .lead { font-size: 16px; }
  .score.xl { font-size: 62px; }
  .counts { grid-template-columns: repeat(3, 1fr); gap: 12px 16px; }
  .counts .coverage { grid-column: 1 / -1; text-align: left; }
  .layers { grid-template-columns: 1fr; gap: 12px; }
  table.t td { padding: 11px 7px 11px 0; }
  table.t td.name { font-size: 12.5px; }
  .hide-m { display: none; }
  .show-m { display: inline; }
  .grid .row { grid-template-columns: 96px repeat(6, minmax(0, 1fr)) 26px; gap: 4px; }
  .grid .cell { justify-content: center; }
  .grid .cell .v, .grid .cell .sub { display: none; }
  table.t td.trunc { max-width: 150px; }
  .grid .cell.reveal .v { display: block; position: absolute; transform: translateY(-20px); background: var(--paper); border: 1px solid var(--rule); padding: 2px 6px; font-size: 11px; }
  .grid .label-cell { font-size: 11px; }
  .subscribe form { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .text h1 { font-size: 28px; }
  .text p, .text li { font-size: 16px; }
}

/* Glossary terms: dotted underline, CSS tooltip, link to the term page */
.term { color: inherit; text-decoration: none; border-bottom: 1px dotted var(--ink-faint); position: relative; cursor: help; }
.term:hover, .term:focus-visible { color: var(--link); border-bottom-color: var(--link); outline: none; }
.term::after {
  content: attr(data-tip) " Click for more.";
  position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 30;
  width: max-content; max-width: min(300px, 80vw);
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--rule); border-top: 2px solid var(--ink);
  padding: 8px 10px;
  font-family: var(--sans); font-size: 12px; font-weight: 400; line-height: 1.45;
  letter-spacing: 0; text-transform: none; white-space: normal; text-wrap: pretty;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .15s ease .3s, visibility 0s linear .45s;
}
.term:hover::after, .term:focus-visible::after { opacity: 1; visibility: visible; transition-delay: .3s, .3s; }
@media (hover: none) { .term::after { display: none; } }
.gl-expansion { color: var(--ink-muted); font-family: var(--sans) !important; font-size: 14px !important; margin-top: -4px; }
.gl dt { font-family: var(--sans); font-weight: 600; font-size: 14px; margin-top: 14px; }
.gl dt .muted { font-weight: 400; }
.gl dd { margin: 3px 0 0; font-family: var(--serif); font-size: 16px; line-height: 1.45; }
.gl-uses { list-style: none; padding: 0 !important; }
.gl-uses li { font-family: var(--sans) !important; font-size: 13px !important; padding: 7px 0; border-bottom: 1px solid var(--rule-light); display: flex; gap: 10px; flex-wrap: wrap; align-items: baseline; }
.text .gl-uses a { border-bottom: 0; color: var(--ink); font-weight: 600; }

/* Chart cursor and tooltip */
.chart-host { position: relative; }
.chart-host-inline { display: inline-block; }
svg[data-chart] { touch-action: pan-y; }
svg[data-chart]:focus { outline: 1px dotted var(--ink-faint); outline-offset: 3px; }
.chart-cursor line { stroke: var(--ink-faint); stroke-width: 1; stroke-dasharray: 2 3; pointer-events: none; }
.chart-cursor rect { fill: var(--paper); stroke: var(--ink); stroke-width: 1.5; pointer-events: none; }
.chart-tip {
  position: fixed; z-index: 20; pointer-events: none;
  transform: translate(-50%, calc(-100% - 14px));
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--rule); border-top: 2px solid var(--ink);
  padding: 6px 9px; font-family: var(--sans); font-size: 11.5px; line-height: 1.4; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.chart-tip.right { transform: translate(-100%, calc(-100% - 14px)); }
.chart-tip.left { transform: translate(0, calc(-100% - 14px)); }
.chart-tip.below { transform: translate(-50%, 14px); }
.chart-tip.below.right { transform: translate(-100%, 14px); }
.chart-tip.below.left { transform: translate(0, 14px); }
.chart-tip .d { color: var(--ink-muted); }
.chart-tip b { font-family: var(--serif); font-size: 16px; font-weight: 500; }
.chart-tip .band { color: var(--ink-muted); }
