/* Matches recreationroundtable.org: Roboto; green #5C8E53 headings and buttons;
   gray #444545 body text; dark gray header; near-black footer.
   Data colors keep ORR's brand blues (Air #1B75BC, Water #094879). */
:root {
  color-scheme: light;
  --earth: #5C8E53;
  --earth-dark: #4A7442;
  --slate: #414042;
  --air: #1B75BC;
  --water: #094879;

  --paper: #FFFFFF;
  --surface: #FFFFFF;
  --band: #F4F4F4;
  --ink: #333333;
  --ink-2: #444545;
  --muted: #6E7072;
  --rule: #E1E1E1;
  --rule-strong: #CECECE;
  --accent: var(--earth);
  --link: var(--earth);
  --focus: #1B75BC;
  --pos: #4A7442;
  --neg: #B5472F;
  --bar: #5C8E53;
  --bar-neg: #C4664F;
  --highlight: #EEF4EC;
  --map-empty: #ECECEC;
  --header: rgba(43, 43, 43, 0.95);
  --footer: #1A1C20;

  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 72px;
  --radius: 4px;
  --maxw: 1180px;
  --font: "Roboto", Helvetica, Arial, Verdana, sans-serif;

  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: inherit; }
html { scroll-padding-top: calc(env(safe-area-inset-top, 0px) + 64px); }
body {
  margin: 0; background: var(--paper); color: var(--ink-2);
  font-family: var(--font); font-size: 17px; line-height: 1.6;
  font-variant-numeric: tabular-nums; -webkit-font-smoothing: antialiased;
}
a { color: var(--link); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--s5); padding-right: var(--s5); }
[hidden] { display: none !important; }

/* Password screen (gate.js): everything else stays hidden until the page is unlocked. */
html:not(.unlocked) body > :not(.gate):not(script) { display: none !important; }
html.unlocked .gate { display: none; }
.gate { min-height: 100vh; background: var(--band); }
.gate-band { background: var(--header); padding: 14px 36px; }
.gate-band img { display: block; height: 44px; width: auto; }
.gate-card { max-width: 480px; margin: var(--s7) auto 0; padding: var(--s6); background: var(--paper); border-top: 6px solid var(--earth); border-radius: var(--radius); }
.gate-card h1 { font-size: 26px; font-weight: 700; color: var(--earth); margin: 0 0 var(--s2); line-height: 1.25; }
.gate-card p { margin: 0 0 var(--s5); font-size: 16px; }
.gate-card label { display: block; font-size: 14px; font-weight: 500; margin-bottom: var(--s1); }
.gate-row { display: flex; gap: var(--s2); }
.gate-row input { flex: 1; min-width: 0; font: inherit; font-size: 16px; padding: 0 12px; height: 40px; border: 1px solid var(--rule-strong); border-radius: var(--radius); }
.gate-row button { font: inherit; font-size: 15px; background: var(--earth); color: #fff; border: 0; border-radius: var(--radius); padding: 0 18px; cursor: pointer; white-space: nowrap; }
.gate-row button:hover { background: var(--earth-dark); }
.gate-msg { min-height: 1.5em; margin: var(--s2) 0 0 !important; font-size: 14px; color: var(--neg); }
@media (max-width: 620px) {
  .gate-band { padding: 10px var(--s4); }
  .gate-band img { height: 34px; }
  .gate-card { margin: var(--s5) var(--s4) 0; padding: var(--s5); }
  .gate-row { flex-direction: column; }
  .gate-row input { flex: none; }
  .gate-row button { height: 40px; }
}

/* Masthead */
.masthead { background: var(--header); color: #fff; }
.masthead-inner { display: flex; justify-content: space-between; align-items: center; gap: var(--s4); padding: 14px 36px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; text-decoration: none; }
.logo img { display: block; height: 44px; width: auto; }
.logo-text { display: none; }
.foot-logo { display: block; height: 40px; width: auto; margin-bottom: var(--s4); }
.logo-fallback .logo-text { display: inline-block; background: var(--earth); color: #fff; font-weight: 700; font-size: 15px; line-height: 1.15; padding: 10px 14px; max-width: 12em; }
.site-nav { display: flex; align-items: center; gap: var(--s5); }
.site-nav a { color: #fff; text-decoration: none; font-size: 16px; }
.site-nav a:hover { text-decoration: underline; }
.site-nav .nav-btn { background: #CECECE; color: #333; font-weight: 700; font-size: 14px; padding: 8px 16px; border-radius: 2px; text-transform: uppercase; }
.site-nav .nav-btn:hover { background: #fff; text-decoration: none; }

/* Hero: green band like the site's stats section, with its white accent rule */
.hero { background: var(--earth); color: #fff; }
.hero-inner { padding-top: var(--s7); padding-bottom: var(--s7); }
.hero-title { font-size: 15px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: #fff; margin: 0 0 var(--s4); opacity: .9; }
.hero-lede { font-size: clamp(26px, 3.4vw, 40px); line-height: 1.22; font-weight: 400; margin: 0; max-width: 26em; color: #fff; border-left: 8px solid #fff; padding-left: clamp(16px, 2.5vw, 32px); }
.hero-lede strong { font-weight: 700; color: #fff; }
.hero-source { margin: var(--s5) 0 0; font-size: 14px; opacity: .85; padding-left: calc(8px + clamp(16px, 2.5vw, 32px)); }
.hero-chart-wrap { padding-top: var(--s6); }
.hero-chart { margin: 0; }
/* Toggles sit in their own column so a longer title never moves them. */
.hero-chart-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: var(--s3) var(--s5); margin-bottom: var(--s4); }
.hero-chart-title { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; color: var(--earth); margin: 0; line-height: 1.25; }
.hero-chart-basis { margin: var(--s1) 0 0; font-size: 15px; color: var(--ink-2); }
.hero-chart-basis strong { font-weight: 700; color: var(--ink); }
/* Grid column takes the wider pair's width; both pairs stretch to fill it. */
.hero-toggles { display: grid; gap: var(--s2); }
.hero-toggles .seg { display: flex; }
.hero-toggles .seg button { flex: 1 1 auto; }
.seg { display: inline-flex; }
.seg button { font: inherit; font-size: 14px; background: #fff; color: var(--earth); border: 1px solid var(--earth); padding: 0 14px; line-height: 34px; cursor: pointer; white-space: nowrap; }
.seg button + button { margin-left: -1px; }
.seg button:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.seg button:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.seg button:hover { background: var(--highlight); }
.seg button[aria-pressed="true"] { background: var(--earth); color: #fff; }
.seg button:focus-visible { position: relative; z-index: 1; }

/* Tabs */
.tabs { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--paper); border-bottom: 1px solid var(--rule); margin-top: var(--s5); box-shadow: 0 1px 0 var(--rule); }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--paper); }
.tabs-inner { display: flex; gap: var(--s5); overflow-x: auto; scrollbar-width: none; }
.tabs a { display: block; padding: var(--s4) 0 calc(var(--s4) - 4px); color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 17px; white-space: nowrap; border-bottom: 3px solid transparent; }
.tabs a:hover { color: var(--ink); }
.tabs a[aria-selected="true"] { color: var(--earth); border-bottom-color: var(--earth); }
.tabs a { border-bottom-width: 4px; }

/* Panels */
.panel { padding-top: var(--s6); padding-bottom: var(--s8); }
.panel-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; color: var(--earth); margin: 0 0 var(--s2); line-height: 1.2; }
.panel-intro { color: var(--muted); margin: 0 0 var(--s5); max-width: 68ch; }

.controls { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s4); align-items: flex-end; padding: var(--s4); background: var(--band); border-radius: var(--radius); margin-bottom: var(--s5); }
.controls label, .controls fieldset { display: flex; flex-direction: column; gap: var(--s1); font-size: 14px; font-weight: 500; color: var(--ink-2); margin: 0; }
.controls label.grow { flex: 1 1 260px; }
.controls fieldset { border: 0; padding: 0; }
.controls legend { padding: 0; margin-bottom: var(--s1); }
.controls .range { flex-direction: row; flex-wrap: wrap; align-items: center; gap: var(--s2); }
.controls .range legend { width: 100%; }
.controls label.check { flex-direction: row; align-items: center; gap: var(--s2); font-weight: 400; color: var(--ink-2); font-size: 14px; padding-bottom: 8px; }
select, input[type="search"] {
  font: inherit; font-size: 15px; color: var(--ink); background: var(--surface);
  border: 1px solid var(--rule-strong); border-radius: var(--radius); padding: 7px 10px; min-height: 38px; max-width: 100%;
}
select:disabled { opacity: .5; }
.link-btn { font: inherit; font-size: 14px; background: var(--earth); border: 0; color: #fff; cursor: pointer; padding: 0 14px; border-radius: var(--radius); line-height: 36px; }
.link-btn:hover { background: var(--earth-dark); }

/* Trends */
.trends-grid { display: grid; grid-template-columns: 290px 1fr; gap: var(--s6); align-items: start; }
.picker { background: var(--band); border: 0; border-radius: var(--radius); }
.picker-head { display: flex; gap: var(--s2); padding: var(--s3); border-bottom: 1px solid var(--rule-strong); }
.picker-head input { flex: 1; min-width: 0; }
.tree { list-style: none; margin: 0; padding: var(--s2) 0; max-height: 560px; overflow-y: auto; }
.tree li label { display: flex; align-items: flex-start; gap: var(--s2); padding: 5px var(--s3); cursor: pointer; font-size: 14px; line-height: 1.3; }
.tree li label:hover { background: #fff; }
.tree li[data-depth="0"] label, .tree li[data-depth="1"] label { font-weight: 700; }
.tree input { margin: 2px 0 0; accent-color: var(--earth); flex: none; }
.tree .swatch { width: 10px; height: 10px; border-radius: 50%; flex: none; margin-top: 4px; }
.picker-hint { font-size: 13px; color: var(--muted); margin: 0; padding: var(--s2) var(--s3) var(--s3); border-top: 1px solid var(--rule-strong); }

.chart { width: 100%; position: relative; }
.chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.chart-lg { min-height: 320px; }
.chart text { font-family: var(--font); fill: var(--muted); font-size: 12px; }
.chart .axis line, .chart .grid line { stroke: var(--rule); }
.chart .zero { stroke: var(--rule-strong); }
.chart .end-label { font-size: 12px; font-weight: 700; }
.chart .hover-rule { stroke: var(--muted); stroke-dasharray: 2 3; }
.chart .empty { font-size: 15px; fill: var(--muted); }

.table-scroll { overflow-x: auto; margin-top: var(--s5); }
.data-table { border-collapse: collapse; width: 100%; font-size: 14px; }
.table-actions { display: flex; justify-content: flex-end; margin-top: var(--s3); }
.btn-outline { font: inherit; font-size: 14px; background: #fff; color: var(--earth); border: 1px solid var(--earth); border-radius: var(--radius); padding: 0 14px; line-height: 34px; cursor: pointer; }
.btn-outline:hover { background: var(--highlight); }
.data-table th, .data-table td { text-align: right; padding: 8px 10px; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.data-table th:first-child, .data-table td:first-child { text-align: left; white-space: normal; }
.data-table thead th { font-size: 12px; color: var(--muted); font-weight: 700; border-bottom-color: var(--rule-strong); vertical-align: bottom; }
.data-table thead th button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
.data-table thead th button[aria-sort]::after { content: " \2193"; }
.data-table thead th button[aria-sort="ascending"]::after { content: " \2191"; }
.data-table .dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: -1px; }
.pos { color: var(--pos); }
.neg { color: var(--neg); }

/* Ranked bar lists */
.rank-list { display: grid; gap: 2px; }
.rank-row {
  display: grid; grid-template-columns: 2.2em minmax(140px, 1.1fr) 2fr 6.5em 7.5em;
  gap: var(--s3); align-items: center; padding: 6px var(--s2); border-radius: var(--radius);
  font-size: 14px; background: none; border: 0; text-align: left; color: inherit; font-family: inherit; width: 100%; cursor: pointer;
}
.rank-row:hover { background: var(--highlight); }
.rank-row.is-on { background: var(--highlight); box-shadow: inset 3px 0 0 var(--earth); }
.rank-row .rk { color: var(--muted); text-align: right; }
.rank-row .nm { line-height: 1.25; }
.rank-row .val, .rank-row .sub { text-align: right; }
.rank-row .val { font-weight: 700; }
.rank-row .sub { color: var(--muted); font-size: 13px; }
.bar-track { position: relative; height: 14px; }
.bar-track .bar { position: absolute; top: 0; bottom: 0; background: var(--bar); border-radius: 1px; }
.bar-track .bar.neg { background: var(--bar-neg); }
.bar-track .axis0 { position: absolute; top: -3px; bottom: -3px; width: 1px; background: var(--rule-strong); }
.rank-head { display: grid; grid-template-columns: 2.2em minmax(140px, 1.1fr) 2fr 6.5em 7.5em; gap: var(--s3); padding: 0 var(--s2) var(--s2); font-size: 12px; font-weight: 700; color: var(--muted); border-bottom: 1px solid var(--rule-strong); margin-bottom: var(--s1); }
.rank-head span:nth-child(4), .rank-head span:nth-child(5) { text-align: right; }
.rank-empty { color: var(--muted); padding: var(--s5) 0; }

/* States */
.states-grid { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(320px, 1fr); gap: var(--s6); align-items: start; }
.map-col { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 72px); }
.tile-map { display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; }
.tile {
  aspect-ratio: 1; border: 0; border-radius: 2px; font: inherit; font-size: clamp(10px, 1.1vw, 13px); font-weight: 700;
  display: flex; align-items: center; justify-content: center; cursor: pointer; background: var(--map-empty); color: var(--ink); padding: 0;
}
.tile.is-on { outline: 3px solid var(--ink); outline-offset: 1px; position: relative; z-index: 1; }
.tile.na { background: repeating-linear-gradient(135deg, var(--map-empty) 0 4px, transparent 4px 8px); color: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); margin-top: var(--s4); font-size: 12px; color: var(--muted); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 14px; height: 14px; border-radius: 2px; display: inline-block; }
.rank-states .rank-row { grid-template-columns: 2.2em minmax(110px, 1fr) 1.6fr 6.5em; }
.rank-states .rank-head { grid-template-columns: 2.2em minmax(110px, 1fr) 1.6fr 6.5em; }
/* State rankings scroll inside their own box; the column header stays put.
   contain: size keeps the list from adding to the row height, so the box
   stretches to exactly the map's height. */
.states-grid { align-items: stretch; }
.rank-states { position: relative; contain: size; overflow-y: auto; align-content: start; border: 1px solid var(--rule); border-radius: var(--radius); padding: 0 var(--s1) var(--s1); }
.rank-states .rank-head { position: sticky; top: 0; z-index: 1; background: var(--paper); padding-top: var(--s2); }
.view-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: var(--s3) var(--s5); margin-bottom: var(--s4); }
.view-title { font-size: clamp(20px, 2.2vw, 26px); font-weight: 700; color: var(--earth); margin: 0; line-height: 1.25; }
.view-note { margin: var(--s1) 0 0; font-size: 15px; color: var(--ink-2); }
.view-note:empty { display: none; }
.view-note strong { font-weight: 700; color: var(--ink); }

.profile { margin-top: var(--s7); padding: var(--s6) var(--s6) var(--s5); background: var(--band); border-radius: var(--radius); }
.profile h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; color: var(--earth); margin: 0 0 var(--s2); }
.profile .profile-lede { font-size: 19px; font-weight: 400; max-width: 60ch; margin: 0 0 var(--s5); }
.profile .profile-lede strong { font-weight: 700; }
.profile-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--s4) var(--s5); margin: 0 0 var(--s6); }
.profile-facts div { border-left: 4px solid var(--earth); padding-left: var(--s3); }
.profile-facts dt { font-size: 13px; color: var(--muted); }
.profile-facts dd { margin: 2px 0 0; font-size: 24px; font-weight: 700; color: var(--ink); }
.profile-facts dd small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); }
.profile h4 { font-size: 17px; margin: var(--s5) 0 var(--s2); }
.profile .note { font-size: 13px; color: var(--muted); max-width: 70ch; }
.rank-badge { display: inline-block; min-width: 2.6em; text-align: right; font-weight: 700; }
.rank-badge.top { color: var(--pos); }

/* About */
.about-cols { columns: 2 320px; column-gap: var(--s7); }
.about-cols h3 { font-size: 18px; color: var(--earth); margin: 0 0 var(--s2); break-after: avoid; }
.about-cols p, .about-cols dl { margin: 0 0 var(--s5); font-size: 15px; break-inside: avoid; }
.about-cols dt { font-weight: 700; font-size: 14px; }
.about-cols dd { margin: 0 0 var(--s3); font-size: 14px; color: var(--ink-2); }

/* Tooltip */
.tooltip {
  position: fixed; z-index: 20; pointer-events: none; background: var(--surface); color: var(--ink);
  border: 1px solid var(--rule-strong); border-radius: var(--radius); padding: var(--s2) var(--s3);
  font-size: 13px; line-height: 1.4; box-shadow: 0 4px 14px rgba(0, 0, 0, .14); max-width: 300px;
}
.tooltip b { display: block; margin-bottom: 2px; }
.tooltip .tt-row { display: flex; justify-content: space-between; gap: var(--s4); }
.tooltip .tt-row span:first-child { display: inline-flex; align-items: center; gap: 6px; }

.site-foot { background: var(--footer); color: #fff; margin-top: var(--s7); }
.foot-cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: var(--s7); padding-top: var(--s7); padding-bottom: var(--s7); font-size: 15px; line-height: 1.6; }
.foot-cols p { margin: 0 0 var(--s3); }
.foot-contact { display: flex; flex-direction: column; gap: var(--s3); }
.site-foot a { color: #fff; }
.foot-data h2 { font-size: 17px; margin: 0 0 var(--s2); }
.foot-data p { color: #C9CBCE; font-size: 14px; }
.foot-bar { background: #2B2B2B; font-size: 13px; padding: var(--s3) 0; color: #fff; }

@media (max-width: 900px) {
  .trends-grid, .states-grid, .foot-cols { grid-template-columns: 1fr; }
  .foot-cols { gap: var(--s5); }
  .tree { max-height: 280px; }
  .map-col { position: static; }
  /* Stacked under the map, so give the box its own height. */
  .rank-states { height: 420px; }
  .view-head { grid-template-columns: 1fr; }
  .seg-quick { order: -1; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
  .seg-quick button, .seg-quick button:first-child, .seg-quick button:last-child { margin-left: 0; border-radius: var(--radius); padding: 0 8px; white-space: normal; line-height: 1.2; min-height: 36px; }
}
@media (max-width: 620px) {
  .wrap { padding-left: var(--s4); padding-right: var(--s4); }
  .hero-inner { padding-top: var(--s5); padding-bottom: var(--s5); }
  .masthead-inner { padding: 10px var(--s4); }
  .logo img { height: 34px; }
  .site-nav a:not(.nav-btn) { display: none; }
  .profile { padding: var(--s5) var(--s4); }
  .hero-chart-head { grid-template-columns: 1fr; }
  .hero-toggles { order: -1; }
  .seg button { flex: 1; padding: 0 8px; }
  .rank-row, .rank-head { grid-template-columns: 2em 1fr 5.5em; }
  .rank-row .bar-track, .rank-row .sub, .rank-head span:nth-child(3), .rank-head span:nth-child(5) { display: none; }
  .rank-states .rank-row, .rank-states .rank-head { grid-template-columns: 2em 1fr 5.5em; }
  .controls label, .controls fieldset { flex: 1 1 100%; }
  .controls select { width: 100%; }
  .controls .range select { width: auto; flex: 1; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-chart .series-line { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: draw 1.4s ease-out .2s forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

.profile-tools { display: flex; justify-content: space-between; align-items: flex-end; gap: var(--s4); flex-wrap: wrap; margin-top: var(--s5); }
.profile-tools h4 { margin: 0; }
.profile-tools label { font-size: 13px; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: var(--s2); }
.trends-grid > *, .states-grid > * { min-width: 0; }

/* Scorecard: every category for one state on a 1st–51st track */
.scorecard { margin-top: var(--s6); }
.sc-head h4 { font-size: 22px; font-weight: 700; color: var(--earth); margin: 0 0 var(--s1); }
.sc-sub { margin: 0 0 var(--s3); color: var(--ink-2); }
.sc-controls { margin-bottom: var(--s3); }
.sc-list { display: grid; }
.sc-row {
  display: grid; grid-template-columns: minmax(180px, 1.3fr) minmax(200px, 2fr) 6.5em minmax(140px, 1fr);
  gap: var(--s4); align-items: center; padding: 7px 0; border-bottom: 1px solid var(--rule); font-size: 14px;
}
.sc-row.depth-0 .sc-name, .sc-row.depth-1 .sc-name { font-weight: 700; }
.sc-row.depth-0 { border-top: 1px solid var(--rule-strong); }
.sc-axis { font-size: 12px; font-weight: 700; color: var(--muted); border-bottom-color: var(--rule-strong); padding-bottom: var(--s2); }
.sc-axis > span:nth-child(3) { text-align: right; }
.sc-track-head { display: flex; justify-content: space-between; padding: 0 6px; }
.sc-name { line-height: 1.25; }
.sc-track { position: relative; height: 24px; }
.sc-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: var(--rule-strong); border-radius: 1px; }
.sc-band { background: #D3E3CE !important; position: absolute; left: 0; width: calc(18px + (100% - 36px) * .18); top: 50%; height: 8px; margin-top: -4px; background: var(--highlight); border-radius: 2px; }
.sc-mark {
  position: absolute; top: 50%; transform: translate(-50%, -50%); min-width: 26px; height: 22px; padding: 0 5px;
  border-radius: 11px; font-size: 12px; font-weight: 900; display: flex; align-items: center; justify-content: center;
  color: #fff; background: var(--slate); white-space: nowrap;
}
.sc-mark.top { background: var(--earth); }
.sc-mark.mid { background: var(--water); }

.sc-mark.low { background: #8B8D94; color: #fff; }
.sc-na { position: absolute; top: 50%; transform: translateY(-50%); left: 0; font-size: 12px; color: var(--muted); background: var(--paper); padding-right: 6px; }
.sc-val { text-align: right; font-weight: 700; }
.sc-lead { font-size: 13px; color: var(--muted); }
.sc-foot { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s5); flex-wrap: wrap; margin-top: var(--s3); }
.sc-foot .note { margin: 0; }
.sc-download { font-size: 15px; white-space: nowrap; background: var(--earth); color: #fff; text-decoration: none; padding: 0 22px; line-height: 40px; border-radius: var(--radius); display: inline-block; }
.sc-download:hover { background: var(--earth-dark); }
@media (max-width: 760px) {
  .sc-row { grid-template-columns: 1fr 5.5em; gap: 4px var(--s3); }
  .sc-track { grid-column: 1 / -1; order: 3; }
  .sc-lead, .sc-axis { display: none; }
}

.profile .controls { background: #fff; }
