/* ==========================================================================
   TAO OBSERVER — brand system
   Editorial light theme + dark theme. No build step. No dependencies.
   ========================================================================== */

/* ---------- fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..900;1,9..144,300..900&family=Newsreader:ital,opsz,wght@0,6..72,300..700;1,6..72,300..700&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* ---------- tokens ---------- */
:root {
  --paper:      #f6f2e9;
  --paper-2:    #fffdf8;
  --paper-3:    #efe9db;
  --ink:        #15140f;
  --ink-2:      #3d3930;
  --muted:      #6f6858;
  --rule:       #e0d8c7;
  --rule-2:     #cfc5b0;
  --accent:     #b0502b;
  --accent-2:   #8a3c1d;
  --teal:       #14504b;
  --gold:       #b98a1f;
  --good:       #2f6b3a;

  --font-display: 'Fraunces', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-body:    'Newsreader', Georgia, 'Times New Roman', serif;
  --font-mono:    'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --maxw: 1120px;
  --measure: 68ch;
  --gap: clamp(1rem, 2.5vw, 2rem);
  --radius: 3px;
  --shadow: 0 1px 0 rgba(21,20,15,.04), 0 12px 30px -22px rgba(21,20,15,.35);
}

html[data-theme="dark"] {
  --paper:      #0e1311;
  --paper-2:    #161d19;
  --paper-3:    #1c241f;
  --ink:        #ece6d7;
  --ink-2:      #c9c2b1;
  --muted:      #8d8677;
  --rule:       #2a322d;
  --rule-2:     #3a453e;
  --accent:     #e0804f;
  --accent-2:   #f0a077;
  --teal:       #57b8aa;
  --gold:       #d8b45a;
  --good:       #6fc07d;
  --shadow: 0 1px 0 rgba(0,0,0,.3), 0 16px 40px -26px rgba(0,0,0,.9);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1.02rem, .55vw + .92rem, 1.18rem);
  line-height: 1.62;
  font-optical-sizing: auto;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(1200px 500px at 85% -10%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 70%),
    radial-gradient(900px 420px at 8% 4%, color-mix(in srgb, var(--teal) 6%, transparent), transparent 65%);
  background-attachment: fixed;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--accent-2); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2.4rem 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08;
  letter-spacing: -.015em; color: var(--ink); margin: 0 0 .5em; font-optical-sizing: auto; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.9rem); font-weight: 700; }
h2 { font-size: clamp(1.5rem, 3vw, 2.3rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.5rem); }
p { margin: 0 0 1.1em; }
.lead { font-size: clamp(1.12rem, 1.4vw, 1.42rem); color: var(--ink-2); }
.mono { font-family: var(--font-mono); }
.eyebrow, .kicker {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.kicker { color: var(--accent); }
.small { font-size: .86rem; color: var(--muted); }
.drop::first-letter { font-family: var(--font-display); font-weight: 700; font-size: 3.4em;
  float: left; line-height: .82; padding: .06em .12em 0 0; color: var(--accent); }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(1rem, 3vw, 2rem); }
.narrow { max-width: 760px; margin-inline: auto; }
section { padding: clamp(2.6rem, 6vw, 5rem) 0; }
.grid { display: grid; gap: var(--gap); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px){ .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2,1fr);} }
@media (max-width: 620px){ .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr;} }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.bar { display: flex; align-items: center; gap: 1rem; height: 64px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
.brand .mark { width: 30px; height: 30px; color: var(--accent); flex: none; }
.brand .wordmark { font-family: var(--font-display); font-weight: 700; font-size: 1.02rem;
  letter-spacing: .02em; text-transform: uppercase; line-height: 1; }
.brand .wordmark small { display: block; font-family: var(--font-mono); font-weight: 500;
  font-size: .55rem; letter-spacing: .22em; color: var(--muted); margin-top: 3px; }
.nav { margin-left: auto; display: flex; align-items: center; gap: .35rem; }
.nav a { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .06em;
  text-transform: uppercase; text-decoration: none; color: var(--ink-2);
  padding: .5rem .7rem; border-radius: var(--radius); }
.nav a:hover { background: var(--paper-3); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--accent); }
.icon-btn { background: none; border: 1px solid var(--rule); color: var(--ink-2);
  width: 36px; height: 36px; border-radius: var(--radius); cursor: pointer; display: grid; place-items: center; }
.icon-btn:hover { border-color: var(--rule-2); color: var(--ink); }
.menu-toggle { display: none; }
@media (max-width: 820px) {
  .nav { position: fixed; inset: 64px 0 auto; flex-direction: column; align-items: stretch;
    background: var(--paper-2); border-bottom: 1px solid var(--rule); padding: .6rem;
    transform: translateY(-140%); transition: transform .22s ease; }
  .nav a { padding: .8rem; }
  .nav.open { transform: translateY(0); }
  .menu-toggle { display: grid; }
}

/* ---------- hero ---------- */
.hero { padding-top: clamp(3rem, 8vw, 6rem); }
.hero .eyebrow { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.3rem; }
.hero .eyebrow::before { content: ""; width: 34px; height: 1px; background: var(--accent); display: inline-block; }
.hero h1 { max-width: 20ch; }
.hero .lead { max-width: 52ch; margin-top: .4rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-mono);
  font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; text-decoration: none;
  padding: .72rem 1.1rem; border-radius: var(--radius); border: 1px solid var(--ink); cursor: pointer; }
.btn.primary { background: var(--ink); color: var(--paper); }
.btn.primary:hover { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn.ghost { border-color: var(--rule-2); color: var(--ink); background: transparent; }
.btn.ghost:hover { border-color: var(--ink); background: var(--paper-3); }

/* ---------- cards ---------- */
.card { background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--radius);
  padding: 1.4rem 1.4rem 1.5rem; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card h3 { margin-bottom: .35rem; }
.card .kicker { margin-bottom: .5rem; }
.card .meta { margin-top: auto; padding-top: .9rem; display: flex; gap: .6rem; align-items: center; }
.tag { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--rule); padding: .22rem .5rem; border-radius: 999px; }
.tag.accent { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 40%, var(--rule)); }
.tag.live { color: var(--good); border-color: color-mix(in srgb, var(--good) 40%, var(--rule)); }
.tag.live::before { content: "●"; margin-right: .35rem; }

/* ---------- featured ---------- */
.featured { display: grid; grid-template-columns: 1.25fr .9fr; gap: var(--gap); align-items: stretch; }
@media (max-width: 820px){ .featured { grid-template-columns: 1fr; } }
.featured .article-card { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper-2);
  padding: clamp(1.5rem, 3vw, 2.4rem); display: flex; flex-direction: column; box-shadow: var(--shadow); }
.featured .article-card h2 { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
.featured .aside { border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.4rem;
  background: linear-gradient(180deg, var(--paper-3), var(--paper-2)); display: flex; flex-direction: column; gap: .9rem; }
.fact { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed var(--rule); }
.fact:last-child { border-bottom: 0; }
.fact .k { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fact .v { font-family: var(--font-mono); font-weight: 700; }

/* ---------- section head ---------- */
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.6rem; border-bottom: 1px solid var(--rule); padding-bottom: .8rem; }
.sec-head .kicker { color: var(--accent); }
.sec-head a { font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; }

/* ---------- prose / article ---------- */
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.8rem; }
.prose blockquote { margin: 1.6rem 0; padding: .4rem 1.3rem; border-left: 3px solid var(--accent);
  font-family: var(--font-display); font-size: 1.2rem; color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin: .4rem 0; }
.callout { background: var(--paper-3); border: 1px solid var(--rule); border-left: 3px solid var(--teal);
  border-radius: var(--radius); padding: 1.1rem 1.3rem; margin: 1.6rem 0; }
.callout.warn { border-left-color: var(--accent); }
.callout .eyebrow { margin-bottom: .4rem; }
.placeholder { border: 1px dashed var(--rule-2); border-radius: var(--radius); padding: 1.2rem 1.3rem;
  background: repeating-linear-gradient(45deg, transparent, transparent 12px, color-mix(in srgb, var(--paper-3) 60%, transparent) 12px, color-mix(in srgb, var(--paper-3) 60%, transparent) 24px);
  color: var(--muted); font-family: var(--font-mono); font-size: .82rem; }
.placeholder strong { color: var(--accent); }

/* ---------- article header ---------- */
.article-head { border-bottom: 1px solid var(--rule); padding-bottom: 1.4rem; margin-bottom: 2rem; }
.article-head .kicker { margin-bottom: .8rem; }
.byline { display: flex; align-items: center; gap: .7rem; margin-top: 1.1rem; }
.byline .avatar { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--rule-2);
  display: grid; place-items: center; color: var(--accent); background: var(--paper-3); font-family: var(--font-display); font-weight: 700; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--rule); margin-top: 3rem; padding: 2.6rem 0 3rem; color: var(--muted); }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--gap); }
@media (max-width: 720px){ .site-footer .cols { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink-2); margin-bottom: .8rem; }
.site-footer a { color: var(--muted); text-decoration: none; display: block; padding: .18rem 0; font-size: .92rem; }
.site-footer a:hover { color: var(--accent); }
.site-footer .fine { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; justify-content: space-between; font-size: .8rem; }

/* ---------- story / comic panels ---------- */
.cast { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin: 1.6rem 0 2.2rem; }
@media (max-width: 640px){ .cast { grid-template-columns: 1fr; } }
.cast .card { gap: .3rem; }
.cast .avatar { width: 34px; height: 34px; font-size: 1rem; }
.chapter { margin: clamp(2.6rem, 5vw, 4rem) 0; }
.chapter-head { display: flex; align-items: center; gap: .85rem; border-bottom: 1px solid var(--rule); padding-bottom: .7rem; margin-bottom: 1.5rem; }
.chapter-head .num { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .16em; color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--rule)); border-radius: 999px; padding: .22rem .6rem; flex: none; }
.chapter-head h2 { margin: 0; font-size: clamp(1.4rem, 2.8vw, 2.05rem); }
.panel { position: relative; border: 1.5px solid var(--rule-2); border-radius: 7px; background: var(--paper-2);
  padding: 1.05rem 1.25rem; margin: 1.1rem 0; box-shadow: var(--shadow); }
.who { display: flex; align-items: center; gap: .55rem; font-family: var(--font-mono); font-size: .66rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: .5rem; }
.panel p:last-child { margin-bottom: 0; }
.panel.q { margin-left: clamp(0px, 8vw, 130px); border-color: color-mix(in srgb, var(--teal) 45%, var(--rule-2));
  background: color-mix(in srgb, var(--teal) 7%, var(--paper-2)); }
.panel.q::after { content: ""; position: absolute; left: 30px; bottom: -8px; width: 14px; height: 14px;
  background: color-mix(in srgb, var(--teal) 7%, var(--paper-2));
  border-right: 1.5px solid color-mix(in srgb, var(--teal) 45%, var(--rule-2));
  border-bottom: 1.5px solid color-mix(in srgb, var(--teal) 45%, var(--rule-2)); transform: rotate(45deg); }
.panel.a { border-color: color-mix(in srgb, var(--accent) 42%, var(--rule-2)); }
.panel.a .who { color: var(--accent); }
.avatar.q { color: var(--teal); }
.avatar.a { color: var(--accent); }
.receipts { margin-top: .9rem; border-top: 1px dashed var(--rule-2); padding-top: .7rem;
  font-family: var(--font-mono); font-size: .78rem; color: var(--muted); line-height: 1.55; }
.receipts .lbl { display: block; color: var(--accent); letter-spacing: .14em; text-transform: uppercase;
  font-size: .64rem; margin-bottom: .3rem; }
.receipts code { color: var(--ink-2); background: var(--paper-3); padding: .05rem .3rem; border-radius: 3px; }
.receipts ul { margin: .35rem 0 0; padding-left: 1.05rem; }
.receipts li { margin: .18rem 0; }
.receipts .when { color: var(--ink-2); }

/* ---------- utility ---------- */
.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.mt3 { margin-top: 3rem; }

/* ---- observatory: live snapshot table ---- */
.snapmeta { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center;
  font-family: var(--font-mono); font-size: .72rem; color: var(--muted); margin: .2rem 0 1.2rem; }
.tag.gold { color: var(--gold); border-color: color-mix(in srgb, var(--gold) 40%, var(--rule)); }
.tag.stale { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, var(--rule)); }

.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: calc(var(--gap) / 2); margin-bottom: 1.4rem; }
@media (max-width: 980px){ .stats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px){ .stats { grid-template-columns: repeat(2, 1fr); } }

.rawblock { margin-top: 1.2rem; border: 1px solid var(--rule); border-radius: var(--radius); padding: .6rem .8rem; }
.rawblock > summary { cursor: pointer; font-family: var(--font-mono); font-size: .68rem;
  letter-spacing: .1em; text-transform: uppercase; color: var(--muted, #6b6459); }
.rawblock[open] > summary { margin-bottom: .3rem; }

/* ---- the TAO journey ---------------------------------------------------- */
.jmeta { margin: .9rem 0 0; }
.jcaveats { margin: .5rem 0 0; padding-left: 1.1rem; }
.jcaveats li { font-size: .72rem; line-height: 1.5; color: var(--muted, #6b6459); margin-bottom: .2rem; }
.jbtns { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0 .6rem; align-items: center; }
.jbtns .grp { display: inline-flex; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
.jbtn { font: inherit; font-size: .72rem; letter-spacing: .04em; text-transform: uppercase;
  background: transparent; color: inherit; border: 0; border-right: 1px solid var(--rule);
  padding: .38rem .7rem; cursor: pointer; }
.jbtn:last-child { border-right: 0; }
.jbtn[aria-pressed="true"] { background: var(--paper-2); font-weight: 600; }
.jbtn:hover { background: var(--paper-2); }
.jwrap { position: relative; border: 1px solid var(--rule); border-radius: var(--radius);
  background: var(--paper-2); padding: .4rem .2rem .2rem; }
.jchart { display: block; width: 100%; height: auto; overflow: visible; }
.jtooltip { position: absolute; top: .5rem; transform: translateX(-50%);
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius);
  font-family: var(--font-mono); font-size: .68rem; padding: .25rem .5rem;
  pointer-events: none; white-space: nowrap; z-index: 3; }
.jgrid { stroke: var(--rule); stroke-width: 1; opacity: .5; }
.jgrid-y { opacity: .22; }
.jaxis { font-family: var(--font-mono); font-size: 9px; fill: var(--muted, #6b6459); }
.jline { stroke: var(--ink, currentColor); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.jline-tao { stroke: var(--accent); }
.jline-btc { stroke: var(--muted, #8a8375); stroke-width: 1.3; stroke-dasharray: 4 3; }
.jmark { stroke-width: 1; opacity: .55; stroke-dasharray: 2 3; }
.jmark.network-specific { stroke: var(--accent); opacity: .8; }
.jmark.market-wide, .jmark.mostly-market { stroke: var(--muted, #8a8375); }
.jmark.sel { opacity: 1; stroke-width: 2; stroke-dasharray: none; }
.jdot { cursor: pointer; }
.jdot.network-specific { fill: var(--accent); }
.jdot.market-wide, .jdot.mostly-market { fill: var(--muted, #8a8375); }
.jdot.sel { stroke: var(--paper); stroke-width: 2; }
.jdot-live { fill: var(--paper); stroke: var(--ink, currentColor); stroke-width: 1.5; }
.jlegend { display: flex; gap: .8rem; align-items: center; margin-top: .5rem; font-size: .7rem; }
.lg { display: inline-flex; align-items: center; gap: .3rem; }
.lg::before { content: ""; width: 16px; height: 2px; background: currentColor; display: block; }
.lg-tao { color: var(--accent); }
.lg-btc { color: var(--muted, #8a8375); }
.lg-note { color: var(--muted, #6b6459); }
.jlist { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.jitem { display: grid; grid-template-columns: 6.6rem 4.4rem 1fr auto; gap: .6rem;
  align-items: baseline; padding: .45rem .5rem; border-bottom: 1px solid var(--rule);
  cursor: pointer; font-size: .8rem; }
.jitem:hover { background: var(--paper-2); }
.jitem.sel { background: var(--paper-2); box-shadow: inset 2px 0 0 var(--accent); }
.jdate { font-family: var(--font-mono); font-size: .7rem; color: var(--muted, #6b6459); }
.jmove { font-family: var(--font-mono); font-size: .74rem; text-align: right; }
.jmove.up { color: var(--gold, #9a7b1f); }
.jmove.down { color: var(--accent); }
.jchip { font-family: var(--font-mono); font-size: .58rem; letter-spacing: .06em;
  text-transform: uppercase; border: 1px solid var(--rule); border-radius: 99px;
  padding: .12rem .45rem; white-space: nowrap; color: var(--muted, #6b6459); }
.jchip.network-specific { color: var(--accent); border-color: color-mix(in srgb, var(--accent) 45%, var(--rule)); }
.jdetail { margin-top: 1rem; border: 1px solid var(--rule); border-left: 3px solid var(--accent);
  border-radius: var(--radius); background: var(--paper-2); padding: .8rem .9rem; }
.jdetail-date { font-family: var(--font-mono); font-size: .72rem; margin: 0 0 .35rem; }
.jdetail-move { font-family: var(--font-mono); font-size: .68rem; color: var(--muted, #6b6459); margin: 0 0 .5rem; }
.jdetail-cause { margin: 0 0 .5rem; font-size: .84rem; line-height: 1.55; }
.jdetail-src { margin: 0; font-size: .7rem; color: var(--muted, #6b6459); }
.jverdict { font-family: var(--font-mono); }
@media (max-width: 700px){
  .jitem { grid-template-columns: 5.6rem 1fr auto; }
  .jitem .jlabel { grid-column: 1 / -1; }
}
.stat { border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper-2); padding: .75rem .85rem; }
.stat .k { display: block; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: .3rem; }
.stat .v { font-family: var(--font-mono); font-size: 1.12rem; color: var(--ink); }

.datawrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper-2); }
table.dtable { width: 100%; border-collapse: collapse; }
table.dtable caption { text-align: left; padding: .7rem .9rem; color: var(--muted); font-size: .78rem;
  border-bottom: 1px solid var(--rule); }
table.dtable th { text-align: left; font-family: var(--font-mono); font-size: .62rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); font-weight: 500; padding: .55rem .9rem;
  border-bottom: 1px solid var(--rule); white-space: nowrap; }
table.dtable td { padding: .48rem .9rem; border-bottom: 1px solid var(--rule); font-family: var(--font-mono);
  font-size: .82rem; white-space: nowrap; }
table.dtable td.name { font-family: var(--font-body); font-size: .9rem; white-space: normal; }
table.dtable tbody tr:last-child td { border-bottom: 0; }
table.dtable th.n, table.dtable td.n { text-align: right; }
table.dtable td .sn { color: var(--accent); }
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; }
::selection { background: color-mix(in srgb, var(--accent) 30%, transparent); }