/* SoleStats look (Alex, 2026-11-22): Swiss, forest green. White, black and one green; hairline rules instead of cards,
   square corners, big grotesk numbers. Loaded after 2026-11-21-styles.css and overrides it; heat maps run pale sage to
   dark green, head to head burnt orange (below an even split) to green (above). */
:root { --ink:#0a0a0a; --paper:#fff; --card:#fff;  --muted:#6e6e6e; --line:#e4e4e4; --bar:#0a0a0a; --track:#fff; --track-deep:#fff; --lane:#0a0a0a; --cream:#6e6e6e; --radius:0; --shadow:none; }
html { font-family: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif; background:#fff; }
.hero { background:#fff; color:var(--ink); border-bottom:2px solid var(--ink); box-shadow:none; padding-top:36px; padding-bottom:28px; }
.hero.small { padding-bottom:20px; }
.brand { color:var(--accent-ink); letter-spacing:.18em; }
.brand a, .brand { background:var(--brand-bg, transparent); padding:var(--brand-pad, 0); display:inline-block; }
h1 { color:var(--ink); font-weight:700; letter-spacing:-.045em; font-size:clamp(36px,7.5vw,72px); line-height:.98; }
h2 { font-weight:700; letter-spacing:-.03em; font-size:26px; border-top:2px solid var(--ink); padding-top:14px; margin-top:44px; }
.hero .muted, .hero .edition { color:var(--muted); }
.hero [data-def] { text-decoration-color:#bbb; }
.lookup input { border:1px solid var(--ink); border-radius:0; background:#fff; }
.lookup button { border-radius:0; background:var(--ink); }
.table-wrap, .heat-wrap { background:transparent; color:var(--ink); border-radius:0; box-shadow:none; padding:0; }
th { background:#fff; color:var(--muted); border-bottom:1px solid var(--ink); letter-spacing:.04em; font-weight:600; }
td { border-bottom:1px solid var(--line); }
tbody tr:nth-child(even) td { background:transparent; }
td a { color:var(--ink); }
td .lane { color:var(--muted); font-weight:500; }
.table-wrap [data-def] { text-decoration-color:#bbb; }
.bar .fill { height:6px; border-radius:0; background:var(--ink); }
.bar .val { color:var(--ink); }
.score.none { color:#c4c4c4; }
.margin { color:var(--muted); opacity:1; }
.card { border-radius:0; box-shadow:none; border-top:2px solid var(--ink); padding:16px 0; background:transparent; }
.subjects { gap:0; }
.subject { background:none; border-radius:0; border-left:1px solid var(--line); padding:4px 14px 10px; }
.subject .big { font-weight:700; letter-spacing:-.05em; font-size:46px; }
.pill { border-radius:0; background:none; border:1px solid var(--ink); color:var(--ink); font-weight:600; }
.pill.grey { background:none; border-color:var(--line); color:var(--muted); }
.summary > div { border-radius:0; box-shadow:none; background:none; border-left:3px solid var(--accent); padding:2px 0 2px 18px; }
.summary p { font-size:18px; line-height:1.45; }
table.heatmap { border-spacing:1px; }
table.heatmap th, table.heatmap td { background:#fff; }
table.heatmap th { border-bottom:0; }
table.heatmap td.heat { border-radius:0; }
.need-tile .big, .h2h-list .heat { border-radius:0; }
.h2h-list li, .places li:hover { background:none; border-radius:0; }
.h2h-list li { border-bottom:1px solid var(--line); }
.places .ptrack { background:#f0f0f0; border-radius:0; height:8px; }
.places .fill { background:var(--ink); border-radius:0; }
.by-engine .eng { border-radius:0; background:none; border:1px solid var(--line); color:var(--ink); }
.by-engine .eng.low { background:var(--accent); color:var(--on-accent); border-color:var(--accent); }
.engine { border-radius:0; box-shadow:none; border-top:2px solid var(--ink); padding-left:0; }
.engine .name::before { border-radius:0; }
.downloads a { border-radius:0; border:1px solid var(--ink); }
.notice { border-radius:0; background:var(--ink); color:#fff; }
.tip { border-radius:0; }
.example { border-left:2px solid var(--ink); }

.heat.h0, table.heatmap td.heat.h0 { background:var(--h0); color:#9a9a9a; }
.heat.h1, table.heatmap td.heat.h1 { background:var(--h1); color:var(--ink); }
.heat.h2, table.heatmap td.heat.h2 { background:var(--h2); color:var(--ink); }
.heat.h3, table.heatmap td.heat.h3 { background:var(--h3); color:var(--h3-ink); }
.heat.h4, table.heatmap td.heat.h4 { background:var(--h4); color:#fff; }
.heat.h5, table.heatmap td.heat.h5 { background:var(--h5); color:#fff; }
.heat.d0, table.heatmap td.heat.d0 { background:var(--d0); color:var(--d0-ink); }
.heat.d1, table.heatmap td.heat.d1 { background:var(--d1); color:var(--ink); }
.heat.d2, table.heatmap td.heat.d2 { background:#efefef; color:var(--ink); }
.heat.d3, table.heatmap td.heat.d3 { background:var(--d3); color:var(--ink); }
.heat.d4, table.heatmap td.heat.d4 { background:var(--d4); color:#fff; }
.bar .fill, .places .fill { background:var(--fill); }
.summary > div { border-left-color:var(--accent); }
.notice { background:var(--accent); color:var(--on-accent); }

/* Forest palette */
:root { --accent:#0b5d3b; --accent-ink:#0b5d3b; --on-accent:#fff; --fill:#0b5d3b; --bar:#0b5d3b;
  --h0:#f2f4f2; --h1:#d7eadf; --h2:#a7cfb7; --h3:#62a07e; --h3-ink:#0a0a0a; --h4:#1d6b45; --h5:#0a3a24;
  --d0:#c4501c; --d0-ink:#fff; --d1:#f3c6ad; --d3:#a7cfb7; --d4:#0b5d3b; }

/* The brand table in plain words (Alex, 2026-11-22): a line saying what the AI score is, bars on a full-length pale
   track, "/100" beside each score, words instead of a dash where there is no score. */
.table-note { font-size:15px; line-height:1.45; color:#3a3a3a; margin:-2px 0 14px; max-width:620px; }
.bar .track { background:#eef0ee; height:8px; }
.bar .fill { height:8px; }
.bar .val .of { font-weight:400; color:#9a9a9a; font-size:12px; margin-left:2px; }
td .score.none { font-size:13px; color:#8a8a8a; font-weight:500; }
/* The header's rule already sits above the first section; no second rule there. */
main > section:first-child > h2:first-child { border-top:0; padding-top:0; margin-top:26px; }

/* The brand page (Alex, 2026-11-22): the CMO view on top (AI score and subjects, what to fix, when not you, who,
   sources to earn), every other view folded into tap-to-open rows (details/summary, no script). */
.score-top { display:grid; grid-template-columns: minmax(120px, 34%) 1fr; gap:18px; align-items:start; }
.score-top .ai .label { font-size:13px; color:var(--muted); font-weight:600; }
.score-top .ai .big { font-size:64px; font-weight:700; letter-spacing:-.05em; line-height:1; margin-top:6px; }
.score-top .ai .big .of { font-size:16px; color:#9a9a9a; font-weight:400; letter-spacing:0; margin-left:3px; }
.score-top .ai .big.none { font-size:18px; color:var(--muted); letter-spacing:0; }
.subj-list { list-style:none; margin:0; padding:0; }
.subj-list li { display:grid; grid-template-columns: 1fr auto; column-gap:10px; padding:7px 0; border-bottom:1px solid var(--line); }
.subj-list .sl { font-size:14px; font-weight:600; }
.subj-list .sv { font-size:18px; font-weight:700; text-align:right; font-variant-numeric:tabular-nums; }
.subj-list .sv.none { font-size:12px; font-weight:500; color:#9a9a9a; align-self:center; }
.subj-list .by-engine { grid-column:1 / -1; margin:4px 0 0; }
.fixes { margin:0; padding-left:1.4em; display:grid; gap:10px; font-size:15px; line-height:1.4; }
.fixes .fx-subj { display:block; font-size:11px; letter-spacing:.06em; text-transform:uppercase; color:var(--accent); font-weight:700; }
.detail-h { margin-top:40px; }
details.fold { border-bottom:1px solid var(--line); }
details.fold > summary { list-style:none; cursor:pointer; padding:14px 0; font-weight:700; font-size:17px; display:flex; justify-content:space-between; align-items:center; }
details.fold > summary::-webkit-details-marker { display:none; }
details.fold > summary::after { content:"+"; font-weight:400; font-size:22px; color:var(--accent); }
details.fold[open] > summary::after { content:"−"; }
details.fold > section { padding:0 0 18px; margin:0; border:0; }
@media (max-width: 480px) { .score-top { grid-template-columns:1fr; gap:6px; } }
