/* Tracklog, "The Bridge": near-black ink panels, Inter, and one accent colour.
   Colour rule: everything is neutral grey except a few marks in periwinkle:
   the logo, the primary action (Upload), the section you're on, the chosen
   chip or person, the taste match and the top bar in each chart.
   Periwinkle was picked because it sits clear of both Apple Music's red and
   Spotify's green, so neither service's logo looks like "ours".
   Layout: a top bar (logo, sections, upload) over a centred dashboard. */

/* Inter, self-hosted (variable weight) so no request goes to Google Fonts. */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../vendor/inter/inter-latin-wght-normal.woff2) format("woff2-variations"), url(../vendor/inter/inter-latin-wght-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(../vendor/inter/inter-latin-ext-wght-normal.woff2) format("woff2-variations"), url(../vendor/inter/inter-latin-ext-wght-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --bg: #0f1113;
  --side: #0b0d0f;
  --panel: #15181b;
  --panel-2: #1b1f22;
  --line: #23272b;
  --line-2: #30353a;
  --ink: #e6e8e6;
  --ink-2: #c3c8c4;
  --muted: #8b918d;
  --bar: #4a5056;          /* neutral chart bars */
  --accent: #9fa8f5;       /* periwinkle: see the colour rule above */
  --accent-hi: #bcc2f9;
  --accent-soft: rgba(159, 168, 245, .14);
  --on-accent: #10121f;
  --bad: #e39a8f;          /* error text (meaning, not decoration) */
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 14px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink-2); }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* ---------- Top bar ---------- */
.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 12px 24px; padding: 14px max(24px, calc((100vw - 1180px) / 2)); background: rgba(11, 13, 15, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.brand svg { flex: none; }
.brand b { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.nav { display: flex; gap: 2px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { text-decoration: none; display: block; padding: 8px 11px; border-radius: 8px; color: var(--ink-2); font-size: 13px; white-space: nowrap; }
.nav a:hover { background: var(--panel); color: var(--ink); }
.nav a.active { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--accent); border-radius: 8px 8px 0 0; }
.top-cta { flex: none; }

/* Files + settings strip (was the sidebar card) */
.side-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.side-status { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; min-width: 0; }
.side-card b { font-size: 13px; font-weight: 600; }
.side-card p { font-size: 12px; color: var(--muted); line-height: 1.45; overflow-wrap: anywhere; }
.side-card .err { color: var(--bad); }
.side-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.btn { font-size: 13px; font-weight: 600; padding: 9px 16px; border-radius: 9px; border: 0; background: var(--accent); color: var(--on-accent); cursor: pointer; text-align: center; text-decoration: none; }
.btn:hover { background: var(--accent-hi); }
.btn.quiet { background: var(--line-2); color: var(--ink); }
.btn.quiet:hover { background: #3b4147; }
.btn:disabled { opacity: .6; cursor: default; }
.btn.small { font-size: 12px; padding: 8px 12px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--ink-2); cursor: pointer; font-size: 12px; text-align: left; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; width: fit-content; }
.link-btn:hover { color: var(--ink); text-decoration-color: var(--ink-2); }
.toggle { display: flex; gap: 7px; align-items: center; font-size: 12px; color: var(--ink-2); cursor: pointer; }
.toggle input { accent-color: var(--ink-2); margin: 0; }
.art-ask { display: grid; gap: 10px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.intro .art-ask p { font-size: 13px; color: var(--ink-2); margin: 0; }
.art-ask b { color: var(--ink); }
.art-ask-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* Progress while a library is read (fixed so it isn't dimmed with the page) */
.progress { position: fixed; top: 76px; left: 50%; transform: translateX(-50%); z-index: 30; width: min(340px, calc(100vw - 32px)); display: grid; gap: 8px; padding: 12px 14px; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: 10px; font-size: 13px; color: var(--ink); }
.progress progress { width: 100%; height: 4px; appearance: none; -webkit-appearance: none; border: 0; border-radius: 2px; background: var(--line); overflow: hidden; }
.progress progress::-webkit-progress-bar { background: var(--line); }
.progress progress::-webkit-progress-value { background: var(--ink-2); }
.progress progress::-moz-progress-bar { background: var(--ink-2); }

/* ---------- Main ---------- */
.main { margin: 0 auto; padding: 28px max(24px, env(safe-area-inset-right, 0px)) 64px max(24px, env(safe-area-inset-left, 0px)); max-width: 1228px; display: grid; gap: 20px; }
.loading { opacity: .45; pointer-events: none; transition: opacity .2s; }

.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px; display: grid; gap: 14px; align-content: start; min-width: 0; }
.panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 12px; }
.panel h2 { font-size: 15px; font-weight: 600; }
.panel-head .hint { font-size: 12px; color: var(--muted); white-space: nowrap; }
.cols-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 20px; align-items: start; }
.stack { display: grid; gap: 20px; align-content: start; }

/* Hero */
.hero { display: grid; gap: 6px; padding: 8px 0 4px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.hero-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.big { font-size: clamp(52px, 7vw, 76px); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.unit { font-size: 15px; color: var(--muted); margin-left: -6px; }
.hero p { font-size: clamp(16px, 2vw, 20px); font-weight: 500; color: var(--ink-2); flex: 1 1 320px; max-width: 46ch; }
.hero p b { color: var(--ink); font-weight: 700; }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.stat { padding: 14px 18px; display: grid; gap: 0; border-left: 1px solid var(--line); min-width: 0; }
.stat:first-child { border-left: 0; }
.stat strong { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.stat span { font-size: 12px; color: var(--muted); }

/* Artwork */
.art { width: 36px; height: 36px; border-radius: 6px; flex: none; overflow: hidden; display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--ink-2); background: #23282b; }
.art img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .35s; }
.art img.ready { opacity: 1; }
.art.avatar { width: 28px; height: 28px; border-radius: 50%; }

/* Ranked song list */
.list { display: grid; }
.item { display: grid; grid-template-columns: 16px auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 7px 0; }
.item + .item { border-top: 1px solid var(--line); }
.item.no-rank { grid-template-columns: auto minmax(0, 1fr) auto; }
.item .rank { font-size: 12px; color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }
.who { min-width: 0; display: grid; }
.who b { font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who span { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .num { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; display: grid; }
.item .num small { font-size: 12px; font-weight: 400; color: var(--muted); }

/* Artist rows: name + value, thin bar underneath */
.artists { display: grid; gap: 12px; }
.artist { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 10px; row-gap: 5px; align-items: center; }
.artist .art { grid-row: 1 / 3; }
.artist .name { font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.artist .val { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.artist .bar { grid-column: 2 / 4; height: 4px; border-radius: 2px; background: var(--line); }
.artist .bar i { display: block; height: 100%; border-radius: 2px; background: var(--bar); }
.artist:first-child .bar i { background: var(--accent); }

/* Playlist cards */
.playlists { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 14px; }
.pl { background: var(--panel-2); border: 1px solid var(--line); border-radius: 12px; padding: 10px; display: grid; gap: 8px; min-width: 0; }
.pl .art { width: 100%; height: auto; aspect-ratio: 1; border-radius: 8px; font-size: 22px; }
.pl b { font-size: 13px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl span { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pl .meta { display: grid; gap: 1px; }

/* Genre chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.genre { font-size: 12px; padding: 5px 11px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); color: var(--ink-2); }
.genre:first-child { border-color: var(--line-2); color: var(--ink); }
.genre small { color: var(--muted); font-size: 12px; margin-left: 4px; font-variant-numeric: tabular-nums; }

/* Monthly chart */
.months { display: flex; align-items: flex-end; gap: 6px; height: 170px; }
.month { flex: 1 1 0; min-width: 0; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; position: relative; }
.month i { display: block; width: 100%; border-radius: 3px 3px 0 0; background: var(--bar); transition: background .15s; }
.month:hover i, .month:focus i { background: var(--ink-2); }
.month.peak i { background: var(--accent); }
.month b { position: absolute; left: 50%; transform: translate(-50%, -4px); font-size: 12px; font-weight: 500; color: var(--ink-2); opacity: 0; transition: opacity .12s; pointer-events: none; white-space: nowrap; font-variant-numeric: tabular-nums; }
.month:hover b, .month:focus b { opacity: 1; }
.month-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 8px; }

/* Show SQL */
details.sql summary { cursor: pointer; font-size: 12px; color: var(--ink-2); width: fit-content; list-style: none; }
details.sql summary::-webkit-details-marker { display: none; }
details.sql summary:hover { color: var(--ink); }
pre { margin: 10px 0 0; font-family: var(--mono); font-size: 12px; line-height: 1.6; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; overflow-x: auto; white-space: pre; color: var(--ink-2); }

/* SQL console */
.console { background: var(--panel-2); }
.chip { font-size: 12px; padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--panel); color: var(--ink-2); cursor: pointer; }
.chip:hover { border-color: var(--ink-2); color: var(--ink); }
.chip.on { border-color: var(--accent); color: var(--ink); background: var(--accent-soft); font-weight: 600; }
.field-label { font-size: 12px; color: var(--muted); }
textarea { width: 100%; min-height: 160px; resize: vertical; font-family: var(--mono); font-size: 13px; line-height: 1.6; padding: 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
textarea:focus { outline: 2px solid var(--ink-2); outline-offset: 0; }
.runbar { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.run-msg { font-size: 12px; color: var(--muted); }
.run-msg.err { color: var(--bad); }
.explain { font-size: 12px; color: var(--ink-2); background: var(--panel); border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; }
.tablewrap { overflow: auto; max-height: 420px; }
table { width: 100%; border-collapse: collapse; font-size: 12px; font-variant-numeric: tabular-nums; }
th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; padding: 0 8px 8px; position: sticky; top: 0; background: var(--panel-2); }
td { padding: 8px; border-top: 1px solid var(--line); }
th:first-child, td:first-child { padding-left: 0; }
td.num, th.num { text-align: right; white-space: nowrap; }
.schema { font-family: var(--mono); font-size: 12px; color: var(--muted); display: grid; gap: 4px; margin-top: 10px; }
.schema b { color: var(--ink-2); font-weight: 500; }
.empty { color: var(--muted); font-size: 13px; padding: 4px 0; }

/* Help dialog + drag overlay */
dialog { background: var(--panel); color: var(--ink); border: 1px solid var(--line-2); border-radius: 14px; padding: 22px; width: min(460px, calc(100vw - 32px)); }
dialog::backdrop { background: rgba(0, 0, 0, .6); }
dialog h2 { font-size: 16px; font-weight: 600; margin-bottom: 14px; }
.os-tabs { display: inline-flex; gap: 2px; padding: 3px; border-radius: 9px; background: var(--bg); border: 1px solid var(--line); margin-bottom: 14px; }
.os-tabs button { font-size: 12px; padding: 5px 14px; border-radius: 6px; border: 0; background: transparent; color: var(--muted); cursor: pointer; }
.os-tabs button[aria-selected="true"] { background: var(--panel-2); color: var(--ink); }
.steps { margin: 0 0 14px; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 13px; color: var(--ink-2); }
.steps li::before { content: counter(s); font-size: 12px; font-weight: 600; width: 20px; height: 20px; border-radius: 50%; background: var(--panel-2); color: var(--ink); display: grid; place-items: center; }
.fine { font-size: 12px; color: var(--muted); }
.dialog-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }
.btn.ghost { background: transparent; color: var(--ink-2); border: 1px solid var(--line-2); }
.drop-overlay { position: fixed; inset: 0; background: rgba(11, 13, 15, .85); border: 2px dashed var(--ink-2); display: grid; place-items: center; font-size: 18px; font-weight: 600; color: var(--ink); z-index: 20; pointer-events: none; }

/* ---------- Intro: the Bridge hero (slogan, upload, the two services) ---------- */
.intro { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 40px; padding: 20px 0 8px; }
.intro-text { flex: 1 1 480px; display: grid; gap: 14px; justify-items: start; }
.intro h1 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.02; font-weight: 800; letter-spacing: -0.045em; }
.intro h1 span { color: var(--accent); }
.intro .intro-lede { font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 54ch; }
.intro p { font-size: 13px; color: var(--muted); max-width: 62ch; }
.intro-cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.intro-cta .btn { font-size: 14px; padding: 12px 22px; border-radius: 11px; }
.intro-cta .link-btn { font-size: 13px; }
.bridge { flex: 0 1 380px; display: grid; gap: 10px; padding: 28px 24px 20px; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; }
.bridge-row { display: flex; align-items: center; }
.bridge-row img, .bridge-row svg { flex: none; }
.bridge-row i { flex: 1; border-top: 2px dashed var(--line-2); margin: 0 10px; }
.bridge-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.notice { padding: 12px 16px; border: 1px solid var(--bad); border-radius: 10px; color: var(--bad); }

/* ---------- Footer ---------- */
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.footer nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--ink); }

/* Sticky upload button on phones (main.js shows it once the top ones scroll away) */
.sticky-cta { display: none; }

/* ---------- Narrow screens ---------- */
@media (max-width: 860px) {
  .top { position: static; flex-wrap: wrap; padding: 14px max(16px, env(safe-area-inset-left, 0px)) 8px; }
  .nav { order: 3; flex-basis: 100%; padding-bottom: 2px; }
  .top-cta { margin-left: auto; }
  .main { padding: 18px max(16px, env(safe-area-inset-right, 0px)) 96px max(16px, env(safe-area-inset-left, 0px)); }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .stat:nth-child(4) { border-left: 0; }
  .stat:nth-child(n+4) { border-top: 1px solid var(--line); }
  .bridge { flex-basis: 100%; }
  .intro-cta .btn { display: none; } /* the top bar and the sticky button already have it */
  .sticky-cta { display: block; position: fixed; inset: auto 0 0 0; z-index: 10; padding: 10px max(16px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)); background: var(--side); border-top: 1px solid var(--line); }
  .sticky-cta .btn { display: block; width: 100%; }
  .progress { top: 16px; }
}

/* ---------- Text pages (privacy, terms, 404) ---------- */
.page { max-width: 680px; margin: 0 auto; padding: 48px 20px 64px; display: grid; gap: 18px; }
.page .brand { padding: 0; color: var(--ink); }
.page h1 { font-size: clamp(26px, 5vw, 34px); font-weight: 700; letter-spacing: -0.02em; }
.page h2 { font-size: 16px; font-weight: 600; margin-top: 10px; }
.page p, .page li { color: var(--ink-2); }
.page ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.page .actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.page .btn { display: inline-block; }

/* Pick Me a Song */
.quiz { display: grid; gap: 14px; margin: 14px 0; }
.quiz .q { display: grid; gap: 6px; }
.pick-out { margin-top: 14px; display: grid; gap: 8px; }
.pick-out .fallback { color: var(--muted); }

/* People bar: who the dashboard shows, plus add / rename / remove */
.people { display: grid; gap: 8px; }
.people-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.people-list { display: flex; flex-wrap: wrap; gap: 8px; }
.person { display: grid; text-align: left; gap: 0; padding: 7px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--panel); color: var(--ink-2); cursor: pointer; font-size: 13px; }
.person { grid-template-columns: auto auto; column-gap: 10px; align-items: center; }
.person .svc { grid-row: 1 / 3; display: flex; }
.person .svc img + img { margin-left: -6px; }
.person b { font-weight: 600; }
.person span { font-size: 12px; color: var(--muted); }
.person:hover { border-color: var(--ink-2); color: var(--ink); }
.person.on { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
.rename { font: inherit; font-size: 13px; padding: 9px 12px; border-radius: 10px; border: 1px solid var(--ink); background: var(--bg); color: var(--ink); width: 14ch; }
.people-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-left: auto; }
.person-actions { display: inline-flex; gap: 14px; }
.whose-choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }

/* Blend */
.blend-out { display: grid; gap: 18px; }
.blend-empty { display: grid; gap: 12px; justify-items: start; }
.blend-empty p { color: var(--ink-2); font-size: 13px; max-width: 62ch; }
.blend-match { display: grid; gap: 10px; }
.blend-score { display: flex; align-items: baseline; gap: 12px; }
.blend-score .unit { margin-left: 0; }
.blend-score .big { color: var(--accent); }
.blend-line { font-size: 15px; color: var(--ink-2); }
.blend-line b { color: var(--ink); }
.blend-pair { display: grid; grid-template-columns: minmax(0, 1fr) auto; row-gap: 5px; column-gap: 10px; }
.blend-pair .name { font-size: 13px; font-weight: 500; }
.blend-pair .val { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.blend-pair .bar { grid-column: 1 / 3; height: 4px; border-radius: 2px; background: var(--line); }
.blend-pair .bar i { display: block; height: 100%; border-radius: 2px; background: var(--bar); }
.blend-pair:first-child .bar i { background: var(--accent); }
.blend-section { display: grid; gap: 10px; }
.blend-section h3 { font-size: 13px; font-weight: 600; }
.blend-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; }
