/* TEDxAthens Talk Performance — built on the TEDxAthens Design System
   (TED Red #EB0028, black, white; Helvetica Neue; square corners; 4px rules above sections). */

@font-face { font-family: "Helvetica Neue DS"; src: url("/assets/fonts/HelveticaNeueLight.otf") format("opentype"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Helvetica Neue DS"; src: url("/assets/fonts/HelveticaNeueRoman.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Helvetica Neue DS"; src: url("/assets/fonts/HelveticaNeueBold.otf") format("opentype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Helvetica Neue DS"; src: url("/assets/fonts/HelveticaNeueBlack.otf") format("opentype"); font-weight: 900; font-display: swap; }

:root {
  /* Brand */
  --tedx-red: #EB0028; --tedx-red-hover: #C40022; --tedx-red-press: #A3001C; --tedx-red-tint: rgba(235, 0, 40, .12);
  --black: #000; --white: #fff;
  --grey-950: #0A0A0A; --grey-900: #141414; --grey-850: #1A1A1A; --grey-800: #242424; --grey-700: #333; --grey-600: #4D4D4D;
  --grey-500: #757575; --grey-400: #9E9E9E; --grey-300: #C7C7C7; --grey-200: #E0E0E0; --grey-100: #EFEFEF; --grey-50: #F7F7F7;
  --success: #00A05A; --warning: #F5A623;

  /* Semantic — light surface */
  --surface-page: var(--white); --surface-sunken: var(--grey-50);
  --text-primary: var(--black); --text-secondary: var(--grey-600); --text-muted: var(--grey-500);
  --border-subtle: var(--grey-200); --border-strong: var(--black);
  --accent-ink: var(--tedx-red); /* red as text on the page surface */

  /* Type */
  --font-sans: "Helvetica Neue DS", "Helvetica Neue", Helvetica, -apple-system, "Segoe UI", Arial, sans-serif;
  --tracking-tighter: -0.035em; --tracking-tight: -0.02em; --tracking-widest: 0.16em;

  /* Layout & motion */
  --container-max: 1280px; --gutter: 24px; --rule-heavy: 4px;
  --duration-fast: 140ms; --duration-base: 220ms; --ease: cubic-bezier(.2, 0, .2, 1);
}
@media (prefers-reduced-motion: reduce) { :root { --duration-fast: 0ms; --duration-base: 0ms; } }

/* Dark surface: follows the device setting */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --surface-page: var(--black); --surface-sunken: var(--grey-950);
    --text-primary: var(--white); --text-secondary: var(--grey-300); --text-muted: var(--grey-400);
    --border-subtle: var(--grey-800); --border-strong: var(--white);
    --accent-ink: #FF3355; /* lifted red keeps 4.5:1 on black */
  }
}
:root[data-theme="dark"] {
  --surface-page: var(--black); --surface-sunken: var(--grey-950);
  --text-primary: var(--white); --text-secondary: var(--grey-300); --text-muted: var(--grey-400);
  --border-subtle: var(--grey-800); --border-strong: var(--white); --accent-ink: #FF3355;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { margin: 0; background: var(--surface-page); color: var(--text-primary); font: 400 16px/1.5 var(--font-sans); font-variant-numeric: tabular-nums; }
a { color: inherit; text-decoration: none; transition: color var(--duration-fast) var(--ease); }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--tedx-red); outline-offset: 2px; }
::selection { background: var(--tedx-red); color: var(--white); }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
.wrap { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter); }
.muted { color: var(--text-muted); }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.red { color: var(--accent-ink); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 640px) { :root { --gutter: 16px; } }

/* Icons: Lucide, painted with a mask so they take currentColor */
.icon { display: inline-block; width: 16px; height: 16px; background: currentColor; vertical-align: -3px; flex: none;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }
.i-arrow-right { --i: url("https://cdn.jsdelivr.net/npm/lucide-static@0.462.0/icons/arrow-right.svg"); }
.i-arrow-left { --i: url("https://cdn.jsdelivr.net/npm/lucide-static@0.462.0/icons/arrow-left.svg"); }
.i-external { --i: url("https://cdn.jsdelivr.net/npm/lucide-static@0.462.0/icons/arrow-up-right.svg"); }
.i-download { --i: url("https://cdn.jsdelivr.net/npm/lucide-static@0.462.0/icons/download.svg"); }
.i-search { --i: url("https://cdn.jsdelivr.net/npm/lucide-static@0.462.0/icons/search.svg"); }
.i-alert { --i: url("https://cdn.jsdelivr.net/npm/lucide-static@0.462.0/icons/triangle-alert.svg"); }

/* Labels: uppercase Bold with open tracking — the counterweight to tight display type */
.label, h2, .kpi-label, .stat-l, table.data th, .nav a, .btn, .seg button, .eyebrow {
  font-weight: 700; text-transform: uppercase; letter-spacing: var(--tracking-widest);
}

/* Header — sticky, 88% black with blur */
.top { background: rgba(0, 0, 0, .88); -webkit-backdrop-filter: blur(18px) saturate(120%); backdrop-filter: blur(18px) saturate(120%); color: var(--white); position: sticky; top: 0; z-index: 10; }
.top-inner { display: flex; align-items: center; gap: 24px; min-height: 64px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--white); }
.brand:hover { color: var(--white); }
.brand-logo { height: 46px; width: auto; margin: 0 -14px 0 -10px; } /* PNG carries its own padding */
.brand-sub { font-size: 11px; color: var(--grey-400); border-left: 1px solid var(--grey-700); padding-left: 14px; line-height: 1.2; }
.nav { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; margin-left: auto; }
.nav::-webkit-scrollbar { display: none; }
.nav a { color: var(--grey-300); padding: 22px 12px 19px; font-size: 12px; white-space: nowrap; border-bottom: 3px solid transparent; }
.nav a:hover { color: var(--white); }
.nav a.on { color: var(--white); border-bottom-color: var(--tedx-red); }
@media (max-width: 760px) {
  .top-inner { gap: 0; padding-top: 4px; min-height: 0; }
  .brand-sub { display: none; }
  .nav { margin: 0 calc(-1 * var(--gutter)); padding: 0 calc(var(--gutter) - 12px); width: calc(100% + 2 * var(--gutter)); }
  .nav a { padding: 12px 12px 10px; font-size: 11px; }
}

/* Banners */
.banner { padding: 12px 0; font-size: 14px; }
.banner .wrap { display: flex; gap: 10px; align-items: flex-start; }
.banner.bad { background: var(--tedx-red); color: var(--white); }
.banner.bad a { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.banner.info { background: var(--surface-sunken); border-bottom: 1px solid var(--border-subtle); }

/* Hero — black band, full bleed */
.hero { background: var(--black); color: var(--white); margin: 0 calc(50% - 50vw); padding: 40px calc(50vw - 50%) 0; }
.hero-inner { max-width: var(--container-max); margin: 0 auto; }
.eyebrow { font-size: 11px; color: var(--tedx-red); }
.hero-total { font-weight: 900; font-size: clamp(40px, 13.5vw, 144px); line-height: .95; letter-spacing: -0.045em; color: var(--tedx-red); margin: 12px 0 8px; }
.hero-lead { font-weight: 300; font-size: 21px; line-height: 1.45; color: var(--grey-300); margin: 0 0 8px; max-width: 46ch; }
.hero-lead strong { color: var(--white); font-weight: 700; }
.hero .fresh { color: var(--grey-400); margin: 0 0 28px; }
.hero .kpis { border-top-color: var(--white); margin-top: 0; }
.hero .kpi { border-bottom: 0; }
.hero .kpi-label, .hero .kpi-sub { color: var(--grey-400); }
.hero .kpi-value { color: var(--white); }
.hero .kpi-value.red { color: var(--tedx-red); }
.hero-foot { height: 4px; background: var(--tedx-red); margin: 8px calc(50% - 50vw) 0; }

/* Page band for detail pages */
.band { background: var(--black); color: var(--white); margin: 0 calc(50% - 50vw); padding: 32px calc(50vw - 50%) 28px; }
.band-inner { max-width: var(--container-max); margin: 0 auto; }
.band h1 { color: var(--white); margin-top: 10px; }
.band .speaker { color: var(--grey-300); font-size: 21px; font-weight: 300; margin: 6px 0 0; }
.back { display: inline-flex; gap: 6px; align-items: center; font-size: 11px; font-weight: 700; letter-spacing: var(--tracking-widest); text-transform: uppercase; color: var(--grey-400); }
.back:hover { color: var(--white); }

/* Freshness */
.fresh { display: flex; gap: 6px 18px; flex-wrap: wrap; font-size: 13px; color: var(--text-muted); margin: 20px 0 4px; }
.dot { display: inline-block; width: 8px; height: 8px; background: var(--success); margin-right: 8px; vertical-align: 1px; }
.dot.warn { background: var(--tedx-red); }

/* Type */
h1 { font-size: clamp(34px, 5vw, 56px); font-weight: 900; letter-spacing: var(--tracking-tighter); line-height: 1.04; margin: 28px 0 8px; }
h2 { font-size: 12px; margin: 0; }
.page-lead { font-weight: 300; font-size: 19px; line-height: 1.5; color: var(--text-secondary); margin: 0 0 8px; max-width: 60ch; }
.section { margin: 56px 0; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: var(--rule-heavy) solid var(--border-strong); padding-top: 14px; margin-bottom: 4px; }
.sec-note { font-size: 14px; color: var(--text-secondary); margin: 4px 0 12px; line-height: 1.5; }

/* KPIs */
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 24px; border-top: var(--rule-heavy) solid var(--border-strong); margin-top: 14px; }
.kpi { padding: 16px 0 22px; min-width: 0; border-bottom: 1px solid var(--border-subtle); }
.kpi-label { font-size: 11px; color: var(--text-muted); }
.kpi-value { font-size: 48px; font-weight: 900; letter-spacing: var(--tracking-tighter); line-height: 1; margin: 10px 0 6px; }
.kpi-value.red { color: var(--accent-ink); }
.kpi-sub { font-size: 13px; color: var(--text-muted); line-height: 1.4; }
@media (max-width: 560px) {
  .kpis { grid-template-columns: 1fr 1fr; gap: 0 16px; }
  .kpi-value { font-size: 34px; }
  .hero-lead { font-size: 18px; }
}

/* Segmented toggle — 2px square buttons; active is TED Red */
.seg { display: inline-flex; border: 2px solid var(--border-strong); }
.seg button { background: transparent; border: 0; padding: 6px 12px; font-size: 11px; cursor: pointer; border-left: 2px solid var(--border-strong); transition: background-color var(--duration-fast) var(--ease), color var(--duration-fast) var(--ease); }
.seg button:first-child { border-left: 0; }
.seg button:hover { background: var(--surface-sunken); }
.seg button[aria-pressed="true"] { background: var(--tedx-red); color: var(--white); }
.seg button:active { transform: scale(.98); }
.controls { display: flex; gap: 8px; flex-wrap: wrap; }

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; gap: 0; } }

/* Ranked list */
.rank-list { list-style: none; margin: 0; padding: 0; }
.rank-item a { display: grid; grid-template-columns: 34px 112px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border-subtle); }
.rank-item a:hover { color: inherit; }
.rank-item a:hover .r-title { color: var(--accent-ink); }
.rank-item a:hover .thumb { opacity: .65; }
.r-n { font-weight: 900; font-size: 22px; letter-spacing: var(--tracking-tight); color: var(--grey-300); text-align: right; }
.rank-item:nth-child(-n+3) .r-n { color: var(--tedx-red); }
.thumb { width: 112px; aspect-ratio: 16 / 9; object-fit: cover; background: var(--grey-100); transition: opacity var(--duration-fast) var(--ease); }
.r-title { font-weight: 700; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color var(--duration-fast) var(--ease); }
.r-meta { font-size: 13px; color: var(--text-muted); margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.r-val { text-align: right; font-weight: 900; font-size: 20px; letter-spacing: var(--tracking-tight); }
.r-val small { display: block; font-weight: 400; font-size: 12px; letter-spacing: 0; color: var(--text-muted); margin-top: 2px; }
@media (max-width: 560px) {
  .rank-item a { grid-template-columns: 24px 80px 1fr auto; gap: 10px; }
  .thumb { width: 80px; }
  .r-n { font-size: 17px; }
  .r-val { font-size: 16px; }
  .r-val small { display: none; }
}
/* #1 of a leaderboard gets the big frame */
.lead-card { display: block; position: relative; margin: 8px 0 4px; background: var(--black); color: var(--white); }
.lead-card:hover { color: var(--white); }
.lead-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; opacity: .9; transition: opacity var(--duration-base) var(--ease); }
.lead-card:hover img { opacity: .6; }
.lead-card .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.85) 100%); }
.lead-card .lc-body { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.lead-card .lc-rank { display: inline-block; background: var(--tedx-red); color: var(--white); font-weight: 900; font-size: 13px; padding: 3px 8px; letter-spacing: 0.04em; margin-bottom: 8px; }
.lead-card .lc-title { font-weight: 900; font-size: clamp(20px, 2.4vw, 28px); line-height: 1.1; letter-spacing: var(--tracking-tight); }
.lead-card .lc-meta { color: var(--grey-300); font-size: 14px; margin-top: 4px; }
.lead-card .lc-val { font-weight: 900; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: var(--tracking-tighter); line-height: 1; white-space: nowrap; text-align: right; }
.lead-card .lc-val small { display: block; font-size: 12px; font-weight: 400; letter-spacing: 0; color: var(--grey-300); margin-top: 4px; }
/* Phones: text below the image instead of over it, so long titles never spill out of the frame */
@media (max-width: 560px) {
  .lead-card .scrim { display: none; }
  .lead-card .lc-body { position: static; flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px 16px 16px; }
  .lead-card .lc-rank { position: absolute; top: 12px; left: 12px; margin: 0; }
  .lead-card .lc-val { text-align: left; }
}

.empty { padding: 20px 0; color: var(--text-muted); font-size: 14px; border-bottom: 1px solid var(--border-subtle); }
.more { display: inline-flex; gap: 6px; align-items: center; margin-top: 14px; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: var(--tracking-widest); color: var(--accent-ink); }
.more:hover { color: var(--tedx-red-hover); text-decoration: underline; text-underline-offset: 3px; }

/* Filters & table */
.filters { display: grid; grid-template-columns: 2fr repeat(4, 1fr) auto; gap: 8px; margin: 20px 0 8px; align-items: center; }
.filters input[type=search], .filters select { width: 100%; padding: 11px 12px; border: 1px solid var(--border-subtle); border-radius: 0; background: var(--surface-page); min-width: 0; transition: border-color var(--duration-fast) var(--ease); }
.filters select:hover, .filters input[type=search]:hover { border-color: var(--border-strong); }
.filters .q { position: relative; }
.filters .q .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-muted); width: 18px; height: 18px; }
.filters input[type=search] { border: 2px solid var(--border-strong); font-size: 16px; padding-left: 42px; }
.check { display: flex; gap: 8px; align-items: center; font-size: 14px; white-space: nowrap; }
.check input { accent-color: var(--tedx-red); width: 18px; height: 18px; }
@media (max-width: 900px) { .filters { grid-template-columns: 1fr 1fr; } .filters .q { grid-column: 1 / -1; } }
.result-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--text-muted); padding: 10px 0; border-bottom: var(--rule-heavy) solid var(--border-strong); }
.btn { display: inline-flex; gap: 8px; align-items: center; border: 2px solid var(--border-strong); background: transparent; padding: 9px 16px; font-size: 11px; cursor: pointer; border-radius: 0; color: var(--text-primary); transition: background-color var(--duration-fast) var(--ease), color var(--duration-fast) var(--ease), border-color var(--duration-fast) var(--ease); }
.btn:hover { background: var(--border-strong); color: var(--surface-page); }
.btn:active { transform: scale(.98); }
.btn.red { background: var(--tedx-red); color: var(--white); border-color: var(--tedx-red); }
.btn.red:hover { background: var(--tedx-red-hover); border-color: var(--tedx-red-hover); color: var(--white); }

table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th { text-align: left; font-size: 11px; color: var(--text-muted); padding: 10px 10px 10px 0; border-bottom: 1px solid var(--border-subtle); white-space: nowrap; }
table.data td { padding: 10px 10px 10px 0; border-bottom: 1px solid var(--border-subtle); vertical-align: middle; }
table.data th.n, table.data td.n { text-align: right; }
table.data td.c-main { font-weight: 700; }
table.data tr { transition: background-color var(--duration-fast) var(--ease); }
table.data tbody tr:hover td { background: var(--surface-sunken); }
.t-talk { display: flex; gap: 12px; align-items: center; min-width: 0; }
.t-talk:hover { color: inherit; }
.t-talk:hover .t-title { color: var(--accent-ink); }
.t-talk .thumb { width: 88px; flex: none; }
.t-title { font-weight: 700; line-height: 1.25; transition: color var(--duration-fast) var(--ease); }
.t-sub { color: var(--text-muted); font-size: 13px; }
.tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: var(--tracking-widest); text-transform: uppercase; color: var(--white); background: var(--tedx-red); padding: 1px 5px; margin-left: 6px; vertical-align: 2px; }
@media (max-width: 760px) {
  table.data.cards thead { display: none; }
  table.data.cards, table.data.cards tbody, table.data.cards tr, table.data.cards td { display: block; width: 100%; }
  table.data.cards tr { border-bottom: 1px solid var(--border-subtle); padding: 12px 0; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; }
  table.data.cards td { border: 0; padding: 0; }
  table.data.cards td.c-talk { grid-column: 1 / -1; margin-bottom: 6px; }
  table.data.cards td.n { text-align: left; font-size: 13px; color: var(--text-muted); }
  table.data.cards td.n::before { content: attr(data-l) ' '; color: var(--text-muted); font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
  table.data.cards td.c-main { font-weight: 900; color: var(--text-primary); font-size: 17px; }
  table.data.cards td.hide-sm { display: none; }
}

/* Talk page */
.talk-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; margin-top: 32px; }
@media (max-width: 900px) { .talk-grid { grid-template-columns: 1fr; gap: 24px; margin-top: 20px; } }
.player { position: relative; aspect-ratio: 16 / 9; background: var(--black); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.stats { display: grid; grid-template-columns: 1fr 1fr; border-top: var(--rule-heavy) solid var(--border-strong); }
.stat { padding: 12px 0; border-bottom: 1px solid var(--border-subtle); }
.stat:nth-child(odd) { padding-right: 14px; }
.stat-l { font-size: 11px; color: var(--text-muted); }
.stat-v { font-size: 24px; font-weight: 900; letter-spacing: var(--tracking-tight); margin-top: 4px; }
.stat-v.big { font-size: 38px; letter-spacing: var(--tracking-tighter); }
.stat-s { font-size: 12px; color: var(--text-muted); }
.links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }

/* Charts */
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart text { fill: var(--text-muted); font-size: 11px; font-family: var(--font-sans); }
.chart .axis { stroke: var(--border-subtle); }
.chart .bar { fill: var(--text-primary); }
.chart .bar.hl { fill: var(--tedx-red); }
.chart .val { fill: var(--text-primary); font-weight: 700; }
.chart .line { fill: none; stroke: var(--tedx-red); stroke-width: 3; stroke-linejoin: round; }
.chart .area { fill: var(--tedx-red-tint); }
.chart .pt { fill: var(--tedx-red); }
.chart-note { font-size: 14px; color: var(--text-muted); padding: 28px 0; border-bottom: 1px solid var(--border-subtle); }

/* Status */
.pill { display: inline-block; padding: 2px 8px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: var(--tracking-widest); }
.pill.ok { background: var(--success); color: var(--white); }
.pill.partial { background: var(--warning); color: var(--black); }
.pill.failed { background: var(--tedx-red); color: var(--white); }
.pill.seed { background: var(--grey-200); color: var(--black); }
pre.report { white-space: pre-wrap; font-size: 13px; background: var(--surface-sunken); padding: 16px; overflow-x: auto; border: 1px solid var(--border-subtle); }
code { background: var(--surface-sunken); padding: 1px 5px; font-size: 13px; }

/* Footer — red rule on top, licence line required */
.foot-wrap { background: var(--black); color: var(--grey-400); border-top: var(--rule-heavy) solid var(--tedx-red); margin-top: 80px; }
.foot { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; align-items: center; font-size: 13px; padding-top: 28px; padding-bottom: 40px; }
.foot img { height: 40px; width: auto; margin-left: -9px; }
.foot a { color: var(--grey-300); text-decoration: underline; text-underline-offset: 3px; }
.foot a:hover { color: var(--white); }
.foot .license { color: var(--white); }

/* Comparables (team site) */
.cmp-wrap { overflow-x: auto; }
table.data.cmp th[scope="row"] { font-weight: 700; text-transform: none; letter-spacing: 0; font-size: 14px; color: var(--text-primary); white-space: normal; min-width: 180px; }
table.data.cmp thead th { color: var(--text-primary); font-size: 12px; }
table.data.cmp td { min-width: 170px; }
table.data.cmp small { font-size: 12px; }
.bandrow { display: grid; grid-template-columns: 200px 1fr; gap: 6px 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border-subtle); }
.bandname { font-weight: 700; }
.bandbar { display: flex; height: 22px; background: var(--surface-sunken); }
.bandbar span { display: block; height: 100%; }
.bandlegend { grid-column: 2; display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--text-muted); }
.bandlegend i { display: inline-block; width: 10px; height: 10px; margin-right: 5px; vertical-align: -1px; }
@media (max-width: 640px) { .bandrow { grid-template-columns: 1fr; } .bandlegend { grid-column: 1; } }
