/* Native charts (scripts/native/pages.mjs): /native/, /native/<slug>/ and the block on /daily/. Uses charts.css tokens. */
.nv { margin: 28px 0 0; padding: clamp(18px, 3vw, 30px); border-radius: var(--r); border: 1px solid var(--line); min-width: 0; }
.nv .eb { margin: 0 0 8px; }
.nv-h { font: 400 clamp(24px, 3.2vw, 38px)/1.08 var(--f-display); letter-spacing: -.01em; margin: 0; text-wrap: balance; }
.nativep h1.nv-h { font-size: clamp(28px, 4.4vw, 52px); }
.nv-h a { text-decoration: none; }
.nv-h a:hover { color: var(--acc); }
.nv-sub { color: var(--ink2); margin: 8px 0 18px; font-size: 15px; }
.nv-leg { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 12px; font: 500 13px/1.3 var(--f-ui); color: var(--ink2); }
.nv-leg span { display: inline-flex; align-items: center; gap: 7px; }
.nv-leg i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
.nv-rows { display: grid; gap: 6px; }
.nv-hd, .nv-r { display: grid; grid-template-columns: minmax(96px, 30%) minmax(0, 1fr) 118px; gap: 12px; align-items: center; }
.nv-hd { font: 500 11px/1.2 var(--f-mono); color: var(--ink3); margin-bottom: 2px; }
.nv-ax { display: flex; justify-content: space-between; }
.nv-r { min-height: 34px; border-top: 1px solid var(--line); padding-top: 6px; }
.nv-l { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); min-width: 0; }
.nv-l span { overflow-wrap: anywhere; }
.nv-t { position: relative; height: 22px; background: linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 50% / 25% 100%; border-left: 1px solid var(--line2); }
.nv-gap { position: absolute; top: 10px; height: 2px; background: var(--line2); }
.nv-d { position: absolute; top: 4px; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 2px var(--bg, #0b0c10); }
.nv-v { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 4px; font: 500 13px/1 var(--f-mono); text-align: right; color: var(--ink2); }
.nv-v .w { color: var(--acc); }
.nv-v em { font-style: normal; color: var(--ink3); }
.nv-v em.pos, .nv-v em.neg { color: var(--ink); }
.nv-r2 { display: grid; grid-template-columns: minmax(96px, 30%) minmax(0, 1fr); gap: 12px; align-items: center; border-top: 1px solid var(--line); padding-top: 6px; min-height: 30px; }
.nv-g { margin: 14px 0 2px; font: 600 12px/1.2 var(--f-mono); color: var(--ink3); text-transform: uppercase; letter-spacing: .06em; }
.nv-st { display: flex; height: 26px; border-radius: 6px; overflow: hidden; gap: 2px; }
.nv-st i { display: grid; place-items: center; min-width: 0; font: 600 12px/1 var(--f-mono); color: #0b0c10; }
.nv-bw { position: relative; height: 22px; display: flex; align-items: center; gap: 8px; }
.nv-bw i { display: block; height: 16px; border-radius: 3px; min-width: 2px; }
.nv-bw span { font: 500 13px/1 var(--f-mono); color: var(--ink2); }
.nv-scale { font: 500 11px/1 var(--f-mono); color: var(--ink3); margin: 8px 0 0; text-align: right; }
.nv-sbw { position: relative; display: grid; gap: 4px; padding: 2px 0; }
.nv-zero { position: absolute; left: 50%; top: -4px; bottom: -4px; width: 1px; background: var(--line2); }
.nv-sb { position: relative; height: 14px; }
.nv-sb i { position: absolute; top: 0; height: 14px; border-radius: 3px; }
.nv-sb span { position: absolute; top: 0; font: 500 12px/14px var(--f-mono); color: var(--ink2); white-space: nowrap; }
.nv-sl { width: 100%; max-width: 620px; display: block; margin: 4px auto 0; overflow: visible; }
.nv-sl text { font: 600 12px var(--f-mono); }
.nv-sl .nv-x { fill: var(--ink3); font-weight: 500; font-size: 11px; }
.nv-sl .nv-z { stroke: var(--line2); stroke-dasharray: 2 3; }
.nv-sl .nv-zt { fill: var(--ink3); font-size: 10px; }
.nv figcaption { margin-top: 16px; font-size: 13px; color: var(--ink3); line-height: 1.5; }
.nv figcaption p { margin: 4px 0 0; }
.nv-src b { color: var(--ink2); font-weight: 600; }
.nv-learn { padding: 18px 20px; border-radius: var(--r); border: 1px solid var(--line); margin-top: 24px; }
.nv-learn p:last-child { margin: 6px 0 0; font-size: 16px; color: var(--ink); }
.nv-tb { width: 100%; border-collapse: collapse; font-size: 14px; }
.nv-tb th, .nv-tb td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: right; }
.nv-tb th:first-child { text-align: left; font-weight: 500; }
.nv-tb thead th { font: 500 12px/1.2 var(--f-mono); color: var(--ink3); }
.nv-tb td { font-family: var(--f-mono); }
.nv-tb small { color: var(--ink3); font-weight: 400; }
.nv-daily .nv { margin-top: 0; }
.nv-daily .chips { margin-top: 12px; align-items: center; }
@media (max-width: 560px) {
  .nv-hd, .nv-r { grid-template-columns: 1fr 92px; grid-template-areas: "l v" "t t"; row-gap: 4px; }
  .nv-hd > span:first-child { display: none; } .nv-hd .nv-ax { grid-area: t; } .nv-hd .nv-v { grid-area: v; }
  .nv-r .nv-l { grid-area: l; } .nv-r .nv-t { grid-area: t; } .nv-r .nv-v { grid-area: v; }
  .nv-hd { grid-template-areas: "v v" "t t"; }
  .nv-r2 { grid-template-columns: 1fr; gap: 4px; }
  .nv-v { font-size: 12px; }
}
.cs .nv h1.nv-h, .cs .nv h2.nv-h { max-width: 30ch; }
.nv-hd { font-size: 12px; }
.nv-hd.nv-wide, .nv-r.nv-wide { grid-template-columns: minmax(96px, 26%) minmax(0, 1fr) 150px; }
@media (max-width: 560px) { .nv-hd.nv-wide, .nv-r.nv-wide { grid-template-columns: 1fr 140px; } }
.nv-orig { color: var(--ink2); }
.nv-q { width: 100%; box-sizing: border-box; margin: 0 0 14px; background: rgba(0,0,0,.28); color: var(--ink); border: 1px solid var(--line2); border-radius: 12px; padding: 11px 13px; font: 15px/1.4 var(--f-ui); }
.nv-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.nv-card { display: grid; gap: 6px; align-content: start; padding: 16px; border-radius: 16px; border: 1px solid var(--line); text-decoration: none; transition: border-color .2s, transform .2s; min-width: 0; }
.nv-card:hover { border-color: var(--line2); transform: translateY(-2px); }
.nv-card .eb { margin: 0; }
.nv-card b { font: 400 20px/1.15 var(--f-display); color: var(--ink); }
.nv-card small { color: var(--ink3); font-size: 13px; line-height: 1.4; }
.nv-card em { font-style: normal; font: 500 11px/1 var(--f-mono); color: var(--ink3); text-transform: uppercase; letter-spacing: .06em; }
.nv-card[hidden] { display: none; }
.nv-daily .nv + .nv { margin-top: 16px; }
.nv-earlier { font: 500 12px/1 var(--f-mono); color: var(--ink3); text-transform: uppercase; letter-spacing: .08em; margin: 22px 0 10px; }

.nv-sw { display: inline-block; width: 9px; height: 9px; border-radius: 50%; vertical-align: middle; }
