/* County Heatmap — county, state and index pages (RELEASE_PLAN.md CV2, ST1-ST7).
   The front page's report look (style.css .lv-*): slate ink, white paper,
   amber only as a thin accent. Light/dark follow the system; phone-first.
   State pages and the index add pages.js (sorting, columns, years); without
   JavaScript they still show the full default table and map. */
@import url("vendor/fonts.css?v=1");
:root { --bg:#f4f5f7; --card:#fff; --ink:#0f172a; --ink2:#334155; --ink3:#64748b; --rule:#e2e5ea; --rule2:rgba(15,23,42,.12);
        --accent:#b45309; --edge:#f59e0b; --link:#1d4ed8; --btn:#0f172a; --btn-ink:#fff; --hover:#f1f5f9; --na:#d6d9de;
        --approx:#c2410c; --head:#334155; color-scheme: light; }
@media (prefers-color-scheme: dark) {
  :root { --bg:#15171b; --card:#1e2026; --ink:#f8fafc; --ink2:#cbd5e1; --ink3:#94a3b8; --rule:#2a2f37; --rule2:rgba(255,255,255,.12);
          --accent:#fbbf24; --edge:#f59e0b; --link:#93c5fd; --btn:#f8fafc; --btn-ink:#0f172a; --hover:#262932; --na:#3a3f48;
          --approx:#fb923c; --head:#1e293b; color-scheme: dark; }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 Inter, system-ui, -apple-system, "Segoe UI", sans-serif; }
a { color: var(--link); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

/* ── Header, footer, buttons ── */
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px;
       padding: 10px 16px; background: var(--head); color: #fff; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-family: Outfit, Inter, sans-serif;
         font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: 14px; }
.brand img { border-radius: 7px; }
.cta { color: #fff; border: 1px solid rgba(255,255,255,.45); padding: 6px 12px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 13px; white-space: nowrap; }
.cta:hover { background: rgba(255,255,255,.1); }
.btn { display: inline-block; background: var(--btn); color: var(--btn-ink); font-weight: 700; padding: 10px 16px; border-radius: 8px; text-decoration: none; border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.btn:hover { opacity: .9; }
.btn-quiet { display: inline-flex; align-items: center; gap: 6px; background: transparent; color: var(--ink); border: 1px solid var(--rule2); padding: 7px 12px;
             border-radius: 8px; text-decoration: none; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; min-height: 36px; }
.btn-quiet:hover { background: var(--hover); }
main { max-width: 900px; margin: 0 auto; padding: 16px 16px 40px; }
main.wide { max-width: 1160px; }
.foot { text-align: center; color: var(--ink3); font-size: 13px; padding: 20px 16px 32px; }
.foot a { color: var(--ink2); }
.crumbs { font-size: 13px; color: var(--ink3); margin: 4px 0 10px; }
.crumbs a { color: var(--ink2); }
h1 { font-family: Outfit, Inter, sans-serif; font-size: 28px; line-height: 1.15; margin: 0 0 4px; text-wrap: balance; }
@media (min-width: 700px) { main.wide h1 { font-size: 34px; } }
.sub { color: var(--ink2); margin: 0 0 12px; }
.note { color: var(--ink3); font-size: 13px; }
.card { background: var(--card); border: 1px solid var(--rule); border-radius: 12px; padding: 12px 16px; margin: 12px 0; }

/* ── County pages ── */
.hero { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: center; margin-bottom: 12px; }
@media (min-width: 700px) { .hero { grid-template-columns: 1.4fr 1fr; } }
.facts { margin: 0 0 14px; padding-left: 18px; color: var(--ink); }
.facts li { margin: 3px 0; }
.minimap { width: 100%; max-width: 360px; height: auto; justify-self: center; }
.mm-state { fill: var(--rule); stroke: var(--ink3); stroke-width: 1; }
.mm-county { fill: var(--edge); stroke: #111827; stroke-width: 1; }
.more { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; padding: 10px 0 4px; border-top: 1px solid var(--rule); font-size: 14px; }
.more-h { color: var(--ink3); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-right: 4px; }
.more a { color: var(--ink); text-decoration: none; padding: 4px 10px; border: 1px solid var(--rule2); border-radius: 999px; background: var(--card); }
.more a:hover { background: var(--hover); }
.more a.more-all { border: 0; background: none; color: var(--link); text-decoration: underline; padding: 4px 2px; }
.card h2 { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink3); margin: 2px 0 6px; }
table { width: 100%; border-collapse: collapse; }
.card th, .card td { padding: 6px 0; border-top: 1px solid var(--rule); vertical-align: top; text-align: left; font-size: 14px; }
.card tr:first-child th, .card tr:first-child td { border-top: 0; }
.card th { font-weight: 600; color: var(--ink); width: 42%; padding-right: 8px; }
.card td.v { font-weight: 700; white-space: nowrap; padding-right: 10px; }
.card td.na { color: var(--ink3); font-weight: 500; }
.card td.r { color: var(--ink2); font-size: 13px; }
@media (max-width: 520px) {
  .card tr { display: grid; grid-template-columns: 1fr auto; }
  .card th { width: auto; }
  .card td.r { grid-column: 1 / -1; border-top: 0; padding-top: 0; }
}
.sims { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 4px 0; }
.sims a { display: inline-block; padding: 6px 10px; border: 1px solid var(--rule); border-radius: 999px; text-decoration: none; color: var(--ink); background: var(--bg); }
/* Category headers: same icon + colour as the app's category tabs
   (CATEGORY_ICONS / CATEGORY_COLORS in app.js). Tailwind 400 shades on dark,
   700 shades on light so the text stays legible on white. */
.card h2.cat, .pk-cat { display: flex; align-items: center; gap: 8px; color: var(--cc); font-size: 14px; }
.card h2.cat i, .pk-cat i { font-size: 15px; width: 18px; text-align: center; }
.c-pink-400   { --cc: #be185d; } .c-cyan-400 { --cc: #0e7490; } .c-orange-400 { --cc: #c2410c; }
.c-teal-400   { --cc: #0f766e; } .c-sky-400  { --cc: #0369a1; } .c-blue-400   { --cc: #1d4ed8; }
.c-rose-400   { --cc: #be123c; }
@media (prefers-color-scheme: dark) {
  .c-pink-400 { --cc: #f472b6; } .c-cyan-400 { --cc: #22d3ee; } .c-orange-400 { --cc: #fb923c; }
  .c-teal-400 { --cc: #2dd4bf; } .c-sky-400  { --cc: #38bdf8; } .c-blue-400   { --cc: #60a5fa; }
  .c-rose-400 { --cc: #fb7185; }
}
/* Phase DK: values not measured in the county itself */
.card td .approx { color: var(--approx); font-weight: 900; margin-right: 2px; }
.card tr.src td { font-size: 12px; color: var(--ink2); padding-top: 0; border-top: 0; }
@media (max-width: 600px) { .card tr.src td { grid-column: 1 / -1; } }

/* ── State pages and the index (ST1-ST6) ── */
.phead { margin: 0 0 14px; }
.lede { color: var(--ink2); margin: 6px 0 0; max-width: 72ch; font-size: 16px; }
.overview { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; }
.overview > *, .side > * { min-width: 0; }
@media (min-width: 900px) { .overview { grid-template-columns: minmax(0, 1.75fr) minmax(280px, 1fr); } }
.mapcard { margin: 0; padding: 14px 16px 12px; border-top: 3px solid var(--edge); border-radius: 4px 4px 12px 12px; position: relative; }
.map-title { font-family: Outfit, Inter, sans-serif; font-size: 17px; font-weight: 700; color: var(--ink); text-transform: none; letter-spacing: 0; margin: 0 0 6px; }
.viewbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 10px; }
.viewbar select, .toolbar input, .find input { font: inherit; font-size: 14px; color: var(--ink); background: var(--card); border: 1px solid var(--rule2);
                border-radius: 8px; min-height: 36px; padding: 6px 10px; max-width: 100%; }
.viewbar label { min-width: 0; max-width: 100%; }
.viewbar .vb-k select { font-weight: 700; width: 100%; max-width: 440px; }
.mapsub { color: var(--ink3); font-size: 12.5px; margin: -4px 0 6px; }
.vb-years { display: inline-flex; gap: 6px; align-items: center; color: var(--ink3); font-size: 13px; }
.viewbar:not([hidden]) + .map-title { display: none; }
.stmap { display: block; width: 100%; height: auto; max-height: 520px; }
.stmap path { stroke: var(--card); stroke-width: .6; fill: var(--na); vector-effect: non-scaling-stroke; transition: opacity .15s; }
.stmap .st-out { fill: none; stroke: var(--ink3); stroke-width: 1; pointer-events: none; }
.stmap path.na, .stmap circle.na { fill: var(--na); }
.stmap circle { stroke: var(--card); stroke-width: 1.5; }
.stmap a:focus { outline: none; }
.stmap a:focus path, .stmap a.hl path, .stmap a.hl circle, .stmap a:hover path { stroke: var(--ink); stroke-width: 2; }
.stmap.dim a:not(.hl) path { opacity: .55; }
.legend { margin: 8px 0 2px; }
.lg-bar { height: 10px; border-radius: 3px; }
.lg-labels { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--ink2); margin-top: 3px; font-variant-numeric: tabular-nums; }
.mapfoot { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; margin-top: 8px; }
.mapfoot .note { margin: 0; }
.tip { position: absolute; z-index: 4; pointer-events: none; background: var(--card); color: var(--ink); border: 1px solid var(--rule2); border-radius: 8px;
       padding: 6px 10px; font-size: 13px; box-shadow: 0 6px 20px rgba(0,0,0,.18); max-width: 240px; }
.tip b { display: block; }
.tip .tv { font-weight: 700; }
.tip .tr { color: var(--ink3); font-size: 12px; }
.tip.touch { pointer-events: auto; }
.tip a { display: inline-block; margin-top: 4px; font-weight: 600; }
.side { display: grid; gap: 14px; }
.summary { margin: 0; background: var(--card); border: 1px solid var(--rule); border-radius: 12px; padding: 4px 16px; }
.summary div { display: grid; grid-template-columns: 112px 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--rule); }
.summary div:first-child { border-top: 0; }
.summary dt { color: var(--ink3); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding-top: 2px; }
.summary dd { margin: 0; color: var(--ink); font-size: 14px; }
.ends { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; background: var(--card); border: 1px solid var(--rule); border-radius: 12px; padding: 12px 16px; }
.ends h3 { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); }
.ends ol { margin: 0; padding: 0; list-style: none; counter-reset: e; }
.ends li { display: flex; flex-direction: column; padding: 5px 0; border-top: 1px solid var(--rule); font-size: 14px; }
.ends li:first-child { border-top: 0; }
.ends li a { color: var(--ink); font-weight: 600; text-decoration: none; }
.ends li a:hover { text-decoration: underline; }
.ends li span { color: var(--ink2); font-size: 13px; font-variant-numeric: tabular-nums; }
.az { display: flex; flex-wrap: wrap; gap: 4px; margin: 18px 0 4px; }
.az a { min-width: 34px; text-align: center; padding: 4px 0; border: 1px solid var(--rule2); border-radius: 6px; font-size: 12px; font-weight: 700;
        color: var(--ink2); text-decoration: none; background: var(--card); }
.az a:hover { background: var(--hover); color: var(--ink); }
.find { margin: 0 0 14px; max-width: 520px; }
.find label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); margin-bottom: 4px; }
.find-box { position: relative; }
.find input { width: 100%; min-height: 42px; font-size: 15px; }
.find ul { position: absolute; z-index: 6; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 4px; list-style: none; background: var(--card);
           border: 1px solid var(--rule2); border-radius: 10px; box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.find li { padding: 8px 10px; border-radius: 6px; cursor: pointer; display: flex; justify-content: space-between; gap: 10px; }
.find li span { color: var(--ink3); font-size: 13px; font-weight: 400; }
.find li[aria-selected="true"], .find li:hover { background: var(--hover); }

/* Table */
.tablesec { margin-top: 18px; }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 0 0 8px; }
.tb-q { flex: 1 1 200px; max-width: 320px; }
.tb-q input { width: 100%; }
.count { color: var(--ink3); font-size: 13px; margin-left: auto; }
.tablewrap { position: relative; overflow: auto; max-height: 78vh; background: var(--card); border: 1px solid var(--rule); border-radius: 12px; }
table.data { border-collapse: separate; border-spacing: 0; width: 100%; font-variant-numeric: tabular-nums; }
table.data th, table.data td { padding: 8px 12px; border-bottom: 1px solid var(--rule); text-align: right; font-size: 14px; white-space: nowrap; background: var(--card); }
table.data .nm { text-align: left; position: sticky; left: 0; z-index: 1; box-shadow: 1px 0 0 var(--rule); max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
table.data thead th { position: sticky; top: 0; z-index: 2; vertical-align: bottom; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--ink3); white-space: normal; min-width: 96px; line-height: 1.3; }
table.data thead th.nm { z-index: 3; }
table.data thead th button { all: unset; cursor: pointer; display: block; width: 100%; text-align: inherit; }
table.data thead th button:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 3px; }
table.data thead th[aria-sort] { color: var(--ink); }
table.data thead th .arr { display: inline-block; width: 1em; margin-left: 3px; color: var(--ink); }
table.data thead th.act { box-shadow: inset 0 -3px 0 var(--edge); }
.hsub { display: block; font-weight: 500; letter-spacing: 0; color: var(--ink3); font-size: 11px; text-transform: none; }
table.data tbody th { font-weight: 600; }
table.data tbody th a { color: var(--ink); text-decoration: none; }
table.data tbody th a:hover { text-decoration: underline; }
table.data tbody tr:hover > *, table.data tbody tr.hl > * { background: var(--hover); }
table.data td.na { color: var(--ink3); }
table.data td.act { font-weight: 700; }
.sw { display: inline-block; width: 9px; height: 9px; border-radius: 2px; margin-right: 7px; vertical-align: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.tnotes { color: var(--ink3); font-size: 13px; margin-top: 8px; }
.tnotes p { margin: 4px 0; }
@media (max-width: 600px) {
  table.data th, table.data td { padding: 8px 9px; font-size: 13.5px; }
  table.data .nm { max-width: 150px; }
  .summary div { grid-template-columns: 96px 1fr; }
  .lede { font-size: 15px; }
}

/* Columns picker */
dialog.picker { width: min(640px, calc(100vw - 24px)); max-height: min(80vh, 760px); padding: 0; border: 1px solid var(--rule2); border-radius: 14px;
                background: var(--card); color: var(--ink); box-shadow: 0 30px 80px rgba(0,0,0,.35); }
dialog.picker::backdrop { background: rgba(15,23,42,.45); }
.picker form { display: flex; flex-direction: column; max-height: inherit; }
.pk-head { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 14px 16px 10px; border-bottom: 1px solid var(--rule); }
.pk-head h2 { margin: 0; font-size: 17px; font-family: Outfit, Inter, sans-serif; flex: 1; }
.pk-head input { flex: 1 1 100%; font: inherit; font-size: 14px; color: var(--ink); background: var(--card); border: 1px solid var(--rule2); border-radius: 8px; min-height: 38px; padding: 6px 10px; }
.pk-n { color: var(--ink3); font-size: 13px; }
.pk-body { overflow: auto; padding: 6px 16px 12px; }
.pk-cat { margin: 14px 0 4px; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.pk-list { display: grid; grid-template-columns: 1fr; gap: 0 16px; }
@media (min-width: 560px) { .pk-list { grid-template-columns: 1fr 1fr; } }
.pk-list label { display: flex; gap: 8px; align-items: flex-start; padding: 6px 4px; border-radius: 6px; font-size: 14px; cursor: pointer; }
.pk-list label:hover { background: var(--hover); }
.pk-list input { margin-top: 3px; accent-color: var(--btn); }
.pk-list label.off { opacity: .45; cursor: default; }
.pk-list .yr { color: var(--ink3); font-size: 12px; }
.pk-foot { display: flex; gap: 8px; justify-content: flex-end; padding: 10px 16px; border-top: 1px solid var(--rule); }

/* Browse by category (ST10): the map's category icons and colors */
.cats { margin: 22px 0 6px; }
.cats h2 { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink3); margin: 0 0 8px; }
.cat-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 1000px) { .cat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cat-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
  .cat-tile { flex: 0 0 148px; scroll-snap-align: start; } }
.cat-tile { all: unset; box-sizing: border-box; cursor: pointer; display: flex; flex-direction: column; gap: 6px; padding: 12px 12px 11px;
            background: var(--card); border: 1px solid var(--rule); border-top: 3px solid var(--cc); border-radius: 4px 4px 10px 10px; min-height: 118px; }
.cat-tile:hover { background: var(--hover); }
.cat-tile:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.cat-tile[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--cc); background: color-mix(in srgb, var(--cc) 8%, var(--card)); }
.ct-ico { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; color: var(--cc); background: color-mix(in srgb, var(--cc) 14%, transparent); font-size: 16px; }
.ct-name { font-weight: 700; font-size: 13.5px; line-height: 1.25; color: var(--ink); }
.ct-fact { font-size: 12.5px; color: var(--ink2); line-height: 1.3; margin-top: auto; }
.ct-top { display: block; font-size: 11px; color: var(--ink3); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.hc { color: var(--cc); margin-right: 6px; font-size: 11px; }
.cats, .tablesec { scroll-margin-top: 70px; }

/* ST11: county-page histograms (US distribution, this county, state median) */
:root { --hsbar: #cbd5e1; }
@media (prefers-color-scheme: dark) { :root { --hsbar: #4b5563; } }
.hs { position: relative; margin: 6px 0 4px; max-width: 380px; color: var(--hsbar); }
.hs svg { display: block; width: 100%; height: 24px; }
.hs-rail { display: block; height: 4px; border-radius: 2px; margin-top: 1px; background: linear-gradient(90deg, #2166ac, #f7f7f7 50%, #b2182b); }
.hs-me { position: absolute; left: var(--x); top: 0; height: 29px; width: 2px; margin-left: -1px; background: var(--ink); }
.hs-me::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 11px; height: 11px; margin-left: -5.5px; border-radius: 50%;
                background: var(--c); border: 2px solid var(--ink); box-sizing: border-box; }
.hs-st { position: absolute; left: var(--s); top: 2px; height: 27px; margin-left: -1px; border-left: 2px dotted var(--ink3); }
.hs-ax { display: flex; justify-content: space-between; gap: 6px; font-size: 11px; color: var(--ink3); margin-top: 4px; font-variant-numeric: tabular-nums; }
.hs-ax span:nth-child(2) { text-align: center; }
.hs-key { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 12.5px; color: var(--ink2); margin: 14px 0 0; }
.hs-key span { display: inline-block; }
.k-bars { width: 16px; height: 12px; background: linear-gradient(90deg, var(--hsbar) 0 4px, transparent 4px 6px, var(--hsbar) 6px 10px, transparent 10px 12px, var(--hsbar) 12px); clip-path: polygon(0 40%, 25% 40%, 25% 0, 62% 0, 62% 55%, 100% 55%, 100% 100%, 0 100%); }
.k-me { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--ink); background: var(--edge); margin-left: 8px; }
.k-st { width: 0; height: 12px; border-left: 2px dotted var(--ink3); margin-left: 8px; }
.card td.r { min-width: 0; }
@media (min-width: 521px) { .card td.r { width: 40%; } }

/* ST12: phones get a ranked list instead of the wide table */
.mhead { display: grid; gap: 8px; margin: 0 0 8px; }
.mhead select { font: inherit; font-size: 15px; font-weight: 700; color: var(--ink); background: var(--card); border: 1px solid var(--rule2); border-radius: 8px; min-height: 44px; padding: 6px 10px; width: 100%; }
.mcap { margin: 0; font-size: 12.5px; color: var(--ink3); }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--rule2); border-radius: 9px; overflow: hidden; background: var(--card); }
.seg button { all: unset; text-align: center; padding: 10px 4px; font-size: 14px; font-weight: 600; color: var(--ink2); cursor: pointer; }
.seg button + button { border-left: 1px solid var(--rule2); }
.seg button[aria-pressed="true"] { background: var(--btn); color: var(--btn-ink); }
.mlist { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; }
.mi + .mi { border-top: 1px solid var(--rule); }
.mi-row { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: grid; grid-template-columns: 30px 1fr auto; grid-template-areas: "rk nm vl" "rk br br"; gap: 4px 8px; align-items: center; padding: 10px 12px; -webkit-tap-highlight-color: transparent; }
.mi-row:active { background: var(--hover); }
.mi-row[aria-expanded="true"] { background: var(--hover); }
.mi-rank { grid-area: rk; align-self: start; padding-top: 1px; font-size: 12px; font-weight: 700; color: var(--ink3); font-variant-numeric: tabular-nums; }
.mi-name { grid-area: nm; font-weight: 600; font-size: 15px; color: var(--ink); min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mi-val { grid-area: vl; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; color: var(--ink); }
.mi-val.na { color: var(--ink3); font-weight: 500; }
.mi-bar { grid-area: br; position: relative; height: 6px; border-radius: 3px; background: var(--rule); overflow: hidden; }
.mi-bar i { position: absolute; top: 0; bottom: 0; border-radius: 3px; }
.mi-bar.ctr::after { content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 1px; background: var(--ink3); }
.mi-more { padding: 2px 12px 12px 50px; background: var(--hover); }
.mi-more dl { margin: 0 0 8px; display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 13.5px; }
.mi-more dt { color: var(--ink2); }
.mi-more dd { margin: 0; font-weight: 600; text-align: right; font-variant-numeric: tabular-nums; }
.mi-more a { font-weight: 700; font-size: 14px; }
