/* The knowledge centre, evidence base and article figures, carried over from the old site's stylesheets
   (21 October 2026) and owned here from now on. Loaded only on /learn pages. */


.learn-main { min-height: calc(100vh - 175px); padding-block: clamp(56px, 7vw, 96px); background: var(--paper); }
.learn-content { max-width: 800px; }
.learn-main h1 { max-width: none; font-size: clamp(2.2rem, 4.4vw, 3.6rem); letter-spacing: -.04em; line-height: 1.1; }
.learn-lede { margin-top: 22px; color: var(--muted); font-size: 1.15rem; line-height: 1.6; }
.learn-byline { margin-top: 18px; color: var(--muted); font-size: .9rem; }
.learn-card { margin-top: 36px; padding: clamp(24px, 4vw, 50px); border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow-card); }
.learn-card h2 { font-size: 1.45rem; letter-spacing: -.025em; line-height: 1.25; }
.learn-card h3 { font-size: 1.15rem; letter-spacing: -.015em; line-height: 1.3; }
.learn-article > * + * { margin-top: 16px; }
.learn-article h2 { margin-top: 38px; }
.learn-article h3 { margin-top: 28px; }
.learn-article p, .learn-article li { font-size: 1.04rem; line-height: 1.72; }
.learn-article ul, .learn-article ol { padding-left: 24px; }
.learn-article li + li { margin-top: 8px; }
.learn-article blockquote { margin: 16px 0 0; padding: 10px 16px; border-radius: 8px; background: var(--paper); color: #3e4d60; }
.learn-article blockquote > * + * { margin-top: 10px; }
.learn-article table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.learn-article th, .learn-article td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
@media (max-width: 560px) { .learn-article table { display: block; overflow-x: auto; font-size: .84rem; } .learn-article th, .learn-article td { padding: 6px; } .learn-article td:first-child { min-width: 7.5em; } .fig-axis-minor { display: none; } .learn-article .fig-reconcile li { padding: 0 7px; font-size: .78rem; } .fig-reconcile { grid-template-columns: minmax(0, 1fr) 26px minmax(0, 1fr); } .fig-col-title { font-size: .75rem; letter-spacing: .03em; } .fig-compare th, .fig-compare td { padding: 8px 6px; } .fig-compare tbody th { font-size: .8rem; } }
.learn-article code { padding: 1px 5px; border-radius: 4px; background: var(--paper); font-size: .92em; }
.learn-refs, .learn-next { margin-top: 42px; padding-top: 26px; border-top: 1px solid var(--line); }
.learn-refs-note { margin-top: 10px; color: var(--muted); font-size: .95rem; }
.learn-refs-list { margin: 16px 0 0; padding-left: 24px; }
.learn-refs-list li { padding-left: 4px; font-size: .95rem; line-height: 1.55; }
.learn-refs-list li + li { margin-top: 14px; }
.learn-refs-list li::marker { font-weight: 600; color: #334359; }
.ref-source a, .ref-register { margin-left: 4px; white-space: nowrap; font-size: .86rem; }
.ref-claim { margin-top: 5px; color: #3e4d60; }
.grade { display: inline-block; margin-right: 4px; padding: 1px 8px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); color: #334359; font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; vertical-align: 1px; }
.learn-next ul { margin: 14px 0 0; padding: 0; list-style: none; }
.learn-next li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; }
.learn-next li + li { margin-top: 10px; }
.learn-next a { font-size: 1.04rem; font-weight: 600; }
.learn-next-kind, .learn-meta { color: var(--muted); font-size: .84rem; }
.evidence-key ul { margin: 14px 0 0; padding-left: 22px; }
.evidence-key li + li { margin-top: 8px; }
.evidence-key p { margin-top: 14px; color: var(--muted); }
.evidence-item { position: relative; margin-top: 34px; padding-top: 30px; padding-left: 52px; border-top: 1px solid var(--line); }
.evidence-number { position: absolute; left: 0; top: 30px; width: 38px; color: #9c544c; font-size: 1.2rem; font-weight: 600; letter-spacing: -.03em; }
.evidence-item h2 { font-size: 1.2rem; font-weight: 600; line-height: 1.4; letter-spacing: -.01em; }
.evidence-source { margin-top: 10px; font-size: .95rem; line-height: 1.55; }
.evidence-source a { margin-left: 4px; white-space: nowrap; font-size: .86rem; }
.evidence-fields { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 7px 18px; margin: 14px 0 0; font-size: .92rem; line-height: 1.55; }
.evidence-fields div { display: contents; }
.evidence-fields dt { color: var(--muted); font-weight: 600; }
.evidence-fields dd { margin: 0; }
@media (max-width: 760px) {
  .learn-card h2, .learn-main h2 { font-size: 1.35rem; }
  .evidence-item { padding-left: 0; padding-top: 26px; }
  .evidence-number { position: static; margin-bottom: 4px; }
  .evidence-fields { grid-template-columns: 1fr; gap: 2px; }
  .evidence-fields dt { margin-top: 8px; } }
@media print {
  .learn-main { padding-block: 24px; background: #fff; }
  .learn-card { box-shadow: none; }
  .learn-card a { text-decoration: none; } .fig { break-inside: avoid; } .fig-table { display: none; } }
.fig { --fig-1: #2a6fa8; --fig-2: #d0603f; --fig-3: #2e9a78; --fig-muted: #b9c3cd; --fig-grid: #e6ebf0; --fig-good: #1f8a4c; --fig-warning: #b97a00; --fig-critical: #c8453b; --fig-unknown: #8a96a3;
  margin: 34px 0 6px; padding: clamp(16px, 3vw, 24px); border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.learn-article .fig { margin-top: 34px; }
.fig figcaption { font-weight: 600; font-size: 1.02rem; line-height: 1.4; color: var(--ink); }
.fig-number { color: var(--muted); font-weight: 500; }
.fig-illustrative { display: inline-block; margin-left: 6px; padding: 1px 8px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .75rem; font-weight: 600; vertical-align: 2px; }
.learn-article .fig p, .learn-article .fig li { font-size: .9rem; line-height: 1.5; }
.learn-article .fig ul, .learn-article .fig ol { padding-left: 0; }
.learn-article .fig li + li { margin-top: 0; }
.fig > * + * { margin-top: 14px; }
/* A figure's title clears its first card (single-class list rules such as .fig-stats reset the margin). */
.fig > figcaption + * { margin-top: 16px; }
.fig .fig-source { color: var(--muted); font-size: .8rem; }
.fig svg { display: block; overflow: visible; font-family: inherit; }
.fig-value, .fig-axis, .fig-annotation, .fig-inside { font-size: 13px; fill: var(--ink); font-variant-numeric: tabular-nums; }
.fig-value { font-weight: 600; }
.fig-axis { fill: var(--muted); font-size: 12px; }
.fig-annotation { font-weight: 600; }
.fig-inside { font-weight: 600; font-size: 15px; }
.fig-gap { stroke: #fff; stroke-width: 2px; }
.fig-ring { stroke: #fff; stroke-width: 2px; }
.fig-grid { stroke: var(--fig-grid); stroke-width: 1px; }
.fig-ref { stroke: var(--muted); stroke-width: 1.5px; }
.fig-connector { stroke: var(--fig-muted); stroke-width: 3px; }
.fig-legend { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .82rem; }
.learn-article .fig-legend li { font-size: .82rem; }
.fig-legend li { display: inline-flex; align-items: center; gap: 7px; }
.fig-legend-values { display: grid; gap: 6px; }
.fig-legend-values li { color: var(--ink); }
.fig-key { display: inline-block; flex: 0 0 auto; width: 12px; height: 12px; border-radius: 3px; }
.fig-row-label { color: var(--ink); font-weight: 650; }
.fig-bars, .fig-dumbbell, .fig-timeline { display: grid; gap: 12px; }
.fig-bar-row svg + svg { margin-top: 2px; }
.fig-tag { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; color: var(--muted); font-size: .78rem; font-weight: 650; white-space: nowrap; }
.fig-tag-icon { display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%; color: #fff; font-size: .75rem; font-weight: 600; }
.fig-note { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: .82rem; }
.fig-ref-key { display: inline-block; width: 0; height: 14px; border-left: 1.5px solid var(--muted); }
.fig-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.fig-stats li { display: grid; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.fig-stat-value { color: var(--fig-1); font-size: clamp(1.9rem, 5vw, 2.6rem); font-weight: 600; line-height: 1.05; letter-spacing: -.02em; }
.fig-stat-label { color: var(--ink); font-size: .9rem; line-height: 1.45; }
.fig-lines .fig-line { stroke-width: 2.5px; stroke-linejoin: round; stroke-linecap: round; }
.fig-line-expected { stroke: var(--ink); stroke-width: 2px; stroke-dasharray: 6 5; }
.fig-line-muted { stroke: var(--fig-muted); stroke-width: 2px; }
.fig-line.l-1 { stroke: var(--fig-1); } .fig-line.l-2 { stroke: var(--fig-2); } .fig-line.l-3 { stroke: var(--fig-3); }
.fig-band { fill: rgb(185 122 0 / .16); }
.fig-highlight { stroke: var(--fig-critical); stroke-width: 2px; }
.fig-notes { margin: 0; padding: 0; list-style: none; }
.learn-article .fig-notes li { display: flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 600; }
.fig-note-ring { display: inline-block; flex: 0 0 auto; width: 14px; height: 14px; border: 2px solid var(--fig-critical); border-radius: 50%; }
.fig-axis-title { color: var(--muted); font-size: .78rem; text-align: center; }
.fig .fig-axis-title { margin-top: 2px; }
.fig-table summary { cursor: pointer; color: var(--ink); font-size: .82rem; font-weight: 600; transition: color .15s ease; }
.fig-table summary:hover { color: var(--link-hover); }
.fig-table table { margin-top: 10px; font-size: .82rem; }
.fig-table th, .fig-table td { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: left; }
.fig-heatmap { border-collapse: separate; border-spacing: 3px; width: 100%; font-size: .82rem; }
/* A wide figure table scrolls inside its figure instead of widening the page. */
.fig .table-wrap { position: relative; overflow-x: auto; }
@media (max-width: 400px) { .fig-heatmap { border-spacing: 2px; } .fig-heatmap td { min-width: 22px; } .fig-heatmap th { padding: 4px 2px; } }
.fig-heatmap th { padding: 4px 4px; color: var(--muted); font-weight: 600; text-align: left; line-height: 1.2; }
.fig-heatmap tbody th { min-width: 64px; vertical-align: middle; }
.fig-heatmap thead th { text-align: center; font-size: .76rem; }
.fig-heatmap td { height: 34px; min-width: 26px; border-radius: 6px; text-align: center; font-weight: 600; color: var(--ink); }
.fig-heat-key { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; color: var(--muted); font-size: .78rem; }
.learn-article .fig-heat-key li { font-size: .78rem; display: inline-flex; align-items: center; gap: 6px; }
.fig-heat-key .fig-key { width: 14px; height: 14px; font-size: 12px; line-height: 14px; text-align: center; }
.fig-tl-head { padding-bottom: 2px; border-bottom: 1px solid var(--line); }
.fig-need { stroke-width: 2.5px; }
.fig-reconcile { display: grid; grid-template-columns: minmax(0, 1fr) minmax(36px, .5fr) minmax(0, 1fr); align-items: end; row-gap: 8px; }
.fig-reconcile ol, .fig-reconcile svg { align-self: start; }
.fig-reconcile ol { margin: 0; list-style: none; }
.fig-reconcile li { display: flex; flex-direction: column; justify-content: center; height: 76px; padding: 0 10px; border-radius: 10px; background: var(--paper); font-weight: 650; font-size: .86rem; line-height: 1.3; overflow: hidden; }
.learn-article .fig-reconcile li { font-size: .86rem; line-height: 1.3; }
.fig-reconcile li + li { margin-top: 0; }
.fig-reconcile li { border: 2px solid #fff; }
.fig-reconcile li.fig-orphan { background: #fbeeeb; }
.fig-reconcile .fig-tag { margin: 2px 0 0; font-size: .75rem; white-space: normal; line-height: 1.2; }
/* Rows stay 76px to meet the connector lines, so narrow screens get smaller, hyphenated labels instead of taller rows. */
@media (max-width: 480px) {
  .fig-reconcile { grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr); }
  .fig-reconcile li, .learn-article .fig-reconcile li { padding: 0 6px; font-size: .74rem; line-height: 1.2; hyphens: auto; overflow-wrap: anywhere; }
  .fig-reconcile .fig-tag { font-size: .66rem; }
}
.fig-col-title { color: var(--muted); line-height: 1.25; font-size: .86rem; font-weight: 600; }
.fig-link { stroke: var(--fig-1); stroke-width: 2px; }
.fig-link-weak { stroke: var(--fig-2); stroke-width: 2px; stroke-dasharray: 5 4; }
.fig-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 0; list-style: none; counter-reset: fig-step; }
.fig-steps li { display: grid; grid-template-columns: 28px minmax(0, 1fr); column-gap: 10px; align-content: start; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); counter-increment: fig-step; }
.fig-steps li::before { content: counter(fig-step); grid-row: 1 / span 2; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--fig-1); color: #fff; font-weight: 600; font-size: .85rem; }
.fig-steps li > p { grid-column: 2; }
.fig-step-title { align-self: center; min-height: 28px; display: flex; align-items: center; }
.fig-step-title { font-weight: 600; color: var(--ink); }
.learn-article .fig-steps p + p { margin-top: 4px; color: var(--muted); }
.fig-cycle-note span { font-size: 1.2rem; color: var(--fig-1); }
.fig-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; margin: 0; list-style: none; }
.fig-cards li { padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); }
.fig-card-title { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); }
.learn-article .fig-cards p + p { margin-top: 4px; color: #3e4d60; }
.fig-card-icon { display: inline-grid; place-items: center; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; color: #fff; font-size: .8rem; font-weight: 600; background: var(--fig-1); }
.fig-compare { width: 100%; border-collapse: collapse; font-size: .88rem; }
.fig-compare-marks { table-layout: fixed; }
.fig-compare-marks thead th:first-child { width: 48%; }
.fig-compare th, .fig-compare td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.fig-compare thead th { color: var(--muted); font-size: .76rem; font-weight: 600; line-height: 1.3; hyphens: auto; }
.fig-compare td { text-align: center; font-size: 1.05rem; font-weight: 600; }
.fig-compare tbody th { font-size: .88rem; line-height: 1.35; }
.fig-compare-marks thead th:not(:first-child), .fig-compare-marks td { text-align: center; }
.fig-compare:not(.fig-compare-marks) thead th { text-align: left; }
.fig-compare thead th.col-num { text-align: center; }
.fig-row-note { display: block; margin-top: 2px; color: var(--muted); font-size: .8rem; font-weight: 500; }
.fig-tree { display: grid; justify-items: center; gap: 0; }
.fig-tree-root { display: grid; gap: 2px; padding: 12px 22px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); text-align: center; }
.learn-article .fig-tree-root span { color: var(--muted); font-size: .8rem; }
.fig-tree ul { position: relative; display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 10px; width: 100%; margin: 22px 0 0; padding: 18px 0 0; list-style: none; border-top: 2px solid var(--fig-muted); }
.fig-tree ul::before { content: ""; position: absolute; top: -24px; left: 50%; height: 22px; border-left: 2px solid var(--fig-muted); }
.fig-tree li { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); font-weight: 650; text-align: center; }
.learn-article .fig-tree li + li { margin-top: 0; }
.fig-tree .fig-note { margin-top: 12px; justify-content: center; text-align: center; }
.learn-main { background: var(--stravx-paper); padding-block: 48px; }
.learn-content { max-width: 1120px; }
.learn-article { background: var(--stravx-surface); border-radius: 12px; padding: 24px; }
@media (max-width: 800px) {.learn-content { width: calc(100% - 32px); } }
.learn-main { padding-block: 48px 72px; }
.grade-row { display: grid; grid-template-columns: 84px 1fr 28px; align-items: center; gap: 10px; margin-top: 10px; color: #d5e0e9; font-size: 13px; }
.grade-row b { color: #fff; font-weight: 600; text-align: right; }
.grade-bar { height: 12px; border-radius: 999px; background: #68b88b; }
.grade-b { background: #8fb8c4; } .grade-c { background: #c9a86a; } .grade-contested { background: #c7766d; }
.grade-w0 { width: 2%; } .grade-w1 { width: 10%; } .grade-w2 { width: 20%; } .grade-w3 { width: 30%; } .grade-w4 { width: 40%; } .grade-w5 { width: 50%; } .grade-w6 { width: 60%; } .grade-w7 { width: 70%; } .grade-w8 { width: 80%; } .grade-w9 { width: 90%; } .grade-w10 { width: 100%; }

/* Figure marks and screen-reader text, carried over with the figures. */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.m-1 { fill: var(--fig-1); background: var(--fig-1); }
.m-2 { fill: var(--fig-2); background: var(--fig-2); }
.m-3 { fill: var(--fig-3); background: var(--fig-3); }
.m-muted { fill: var(--fig-muted); background: var(--fig-muted); }

/* The pictures beside the knowledge centre and evidence base */
.learn-content { display: flex; flex-direction: column; gap: 22px; padding: 48px 0 80px; }
.learn-content > h1 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.05; letter-spacing: -0.025em; max-width: 15em; }
.learn-visual .band-panel { padding: 22px; border-radius: 18px; background: var(--night); color: #fff; }
.learn-visual .band-panel-title { margin: 0 0 14px; color: #c9d6e2; font-size: 14px; font-weight: 500; }
.learn-visual .grade-row { display: grid; grid-template-columns: 90px 1fr 28px; align-items: center; gap: 10px; margin-top: 10px; color: #d5e0e9; font-size: 14px; }
.learn-visual .grade-row b { color: #fff; text-align: right; }

/* The knowledge centre's front page (owner, 31 October 2026): the four questions first, equal picture cards under each,
   then the evidence base (light, with its grades) and the questions about waytrk (dark), so each part looks like itself. */
.learn-content .learn-lede { max-width: 46em; margin-top: 0; }
.learn-empty { line-height: 1.6; }
.learn-kicker { margin: 0; color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.learn-questions { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin-top: 4px; }
.learn-question { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 16px 40px 16px 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: var(--shadow-card); transition: transform .15s ease, box-shadow .15s ease; }
.learn-question::after { content: "↓"; position: absolute; top: 16px; right: 16px; color: var(--brand-accent-text); font-weight: 600; }
.learn-question:hover, .learn-question:focus-visible { transform: translateY(-2px); box-shadow: var(--shadow-raised); }
.learn-question b { font-size: 16px; font-weight: 600; }
.learn-question span { color: var(--muted); font-size: 14px; line-height: 1.4; }
.learn-question small { margin-top: auto; padding-top: 4px; color: var(--muted); font-size: 13px; }
.learn-group { margin-top: 26px; scroll-margin-top: 96px; }
.learn-group-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 20px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.learn-group-head h2 { font-size: 1.5rem; letter-spacing: -.02em; }
.learn-group-head p { margin-top: 4px; color: var(--muted); font-size: 15px; }
.learn-group-head .text-link { color: var(--ink); }
.learn-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 20px 0 0; padding: 0; list-style: none; }
.learn-tiles > li { display: flex; min-width: 0; }
.learn-tile { display: flex; flex: 1; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: var(--shadow-card); transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.learn-tile:hover, .learn-tile:focus-visible { transform: translateY(-3px); border-color: var(--brand-accent); box-shadow: var(--shadow-raised); }
.learn-thumb { position: relative; display: block; flex: 0 0 200px; overflow: hidden; border-top: 1px solid var(--line); background: var(--paper); }
.learn-thumb > .signature { position: absolute; top: 16px; left: 16px; width: calc((100% - 32px) / .62); padding: 18px; transform: scale(.62); transform-origin: top left; box-shadow: var(--shadow-card); pointer-events: none; }
.learn-thumb::after { content: ""; position: absolute; inset: auto 0 0; height: 46px; background: linear-gradient(to bottom, transparent, var(--paper)); }
.learn-tile-body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 18px 20px 20px; }
.learn-kind { color: var(--muted); font-size: 12px; font-weight: 600; }
.learn-tile-title { font-size: 1.08rem; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; }
.learn-tile-summary { color: #3e4d60; font-size: 14px; line-height: 1.55; }
.learn-tile .learn-meta { margin-top: auto; padding-top: 6px; }
@media (max-width: 980px) { .learn-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .learn-tiles { grid-template-columns: minmax(0, 1fr); } }
.learn-more { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; margin-top: 30px; }
@media (max-width: 860px) { .learn-more { grid-template-columns: minmax(0, 1fr); } }
.learn-more h2 { margin-top: 6px; font-size: 1.45rem; letter-spacing: -.02em; }
.learn-more p { line-height: 1.6; }
.learn-more > section > * + * { margin-top: 12px; }
.learn-evidence-panel { padding: clamp(22px, 3vw, 32px); border: 1px solid #cfdcd3; border-radius: 18px; background: #f1f7f3; }
.learn-evidence-count { display: flex; align-items: center; gap: 14px; }
.learn-evidence-count b { color: var(--ink); font-size: 3rem; font-weight: 600; line-height: 1; letter-spacing: -.03em; }
.learn-evidence-count span { max-width: 15em; color: #3e4d60; font-size: 15px; line-height: 1.4; }
.learn-grades { display: flex; gap: 3px; height: 14px; overflow: hidden; border-radius: 999px; }
.learn-grades span { min-width: 6px; }
.learn-grade-key { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 10px 0 0; padding: 0; list-style: none; color: #3e4d60; font-size: 14px; }
.learn-grade-key li { display: inline-flex; align-items: center; gap: 6px; }
.learn-grade-key i { width: 10px; height: 10px; border-radius: 3px; }
.learn-evidence-panel .grade-a { background: #3f8f63; } .learn-evidence-panel .grade-b { background: #5f97a8; } .learn-evidence-panel .grade-c { background: #b48b3f; } .learn-evidence-panel .grade-contested { background: #b4584d; }
.gw-1 { flex: 1; } .gw-2 { flex: 2; } .gw-3 { flex: 3; } .gw-4 { flex: 4; } .gw-5 { flex: 5; } .gw-6 { flex: 6; } .gw-7 { flex: 7; } .gw-8 { flex: 8; } .gw-9 { flex: 9; } .gw-10 { flex: 10; }
.gw-11 { flex: 11; } .gw-12 { flex: 12; } .gw-13 { flex: 13; } .gw-14 { flex: 14; } .gw-15 { flex: 15; } .gw-16 { flex: 16; } .gw-17 { flex: 17; } .gw-18 { flex: 18; } .gw-19 { flex: 19; } .gw-20 { flex: 20; }
.learn-evidence-panel .text-link { color: var(--ink); }
.learn-faq-panel { padding: clamp(22px, 3vw, 32px); border-radius: 18px; background: var(--night); color: #fff; }
.learn-faq-panel .learn-kicker { color: #9fb0c3; }
.learn-faq-panel h2 { color: #fff; }
.learn-faq-panel > p { color: #d5e0e9; }
.learn-faq-list { margin: 16px 0 0; padding: 0; list-style: none; border-top: 1px solid rgb(255 255 255 / .14); }
.learn-faq-list li { border-bottom: 1px solid rgb(255 255 255 / .14); }
.learn-faq-list a { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; color: #fff; font-weight: 500; text-decoration: none; }
.learn-faq-list a::after { content: "→"; color: var(--coral); }
.learn-faq-list a:hover, .learn-faq-list a:focus-visible { color: var(--coral); }
.learn-faq-panel .text-link { color: #fff; }

/* An article's picture of waytrk: what the idea looks like in the app, with the way in. */
.learn-jump { color: var(--ink); font-weight: 500; text-decoration: none; border-bottom: 1.5px solid currentColor; }
.learn-intool { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 28px; align-items: start; margin-top: 42px; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(160deg, var(--paper), #e9eef2); scroll-margin-top: 96px; }
.learn-intool-text > * + * { margin-top: 12px; }
.learn-intool h2 { font-size: 1.4rem; letter-spacing: -.02em; }
.learn-intool-text p { color: #3e4d60; line-height: 1.6; }
.learn-intool .text-link { color: var(--ink); }
.learn-intool .actions { margin-top: 16px; }
.learn-intool .signature { min-width: 0; padding: 20px; box-shadow: var(--shadow-card); }
@media (max-width: 860px) { .learn-intool { grid-template-columns: minmax(0, 1fr); } }
@media print { .learn-intool .actions, .learn-jump { display: none; } }

/* Figure rules lost when the site moved from the app repository (restored 31 October 2026 from waytrk site/waytrk/styles.css):
   heat-map shades, tone colours on tags, cards and need lines, legend keys, and comparison marks. */
.fig-inside.on-dark { fill: #fff; }
.fig-key.k-expected { height: 0; border-top: 2px dashed var(--ink); border-radius: 0; width: 18px; }
.fig-key.k-band { background: rgb(185 122 0 / .18); border: 1px solid rgb(185 122 0 / .45); }
.fig-key.k-link { height: 0; width: 18px; border-top: 2px solid var(--fig-1); border-radius: 0; }
.fig-key.k-link-weak { height: 0; width: 18px; border-top: 2px dashed var(--fig-2); border-radius: 0; }
.fig-key.k-need { width: 0; height: 14px; border-left: 2px solid var(--ink); border-radius: 0; }
.tone-good .fig-tag-icon, .fig-tag.tone-good .fig-tag-icon { background: var(--fig-good); }
.fig-tag.tone-warning .fig-tag-icon { background: var(--fig-warning); }
.fig-tag.tone-critical .fig-tag-icon { background: var(--fig-critical); }
.fig-tag.tone-unknown .fig-tag-icon { background: var(--fig-unknown); }
.heat-0 { background: #f1f4f7; }
.heat-1 { background: #d6e4f1; }
.heat-2 { background: #a9c6e3; }
.heat-3 { background: #6f9fcf; }
.heat-4 { background: #3a76b3; color: #fff; }
.heat-5 { background: #1f4f80; color: #fff; }
td.heat-4, td.heat-5 { color: #fff; }
.heat-unknown { background: repeating-linear-gradient(135deg, #f1f4f7 0 5px, #e1e7ed 5px 10px); color: var(--muted); }
.fig-need.tone-good { stroke: var(--ink); }
.fig-need.tone-critical { stroke: var(--fig-critical); }
.tone-good .fig-card-icon { background: var(--fig-good); }
.tone-warning .fig-card-icon { background: var(--fig-warning); }
.tone-critical .fig-card-icon { background: var(--fig-critical); }
.tone-unknown .fig-card-icon { background: var(--fig-unknown); }
.fig-compare td.cell-text { text-align: left; font-size: .86rem; font-weight: 500; line-height: 1.4; color: var(--ink); }
.fig-compare td.cell-num { text-align: center; font-size: .95rem; font-weight: 600; color: var(--ink); }
.fig-compare td.cell-num, .fig-compare thead th.col-num { text-align: center; }
.fig-compare td.mark-yes { color: var(--fig-good); }
.fig-compare td.mark-no { color: var(--fig-critical); }
.fig-compare td.mark-partly { color: var(--fig-warning); }

/* Hover cards on evidence grades (owner, 31 October 2026): open on hover or keyboard focus, stay open while the pointer
   is over them, close with Escape (site.js). The card matches the example plan page's hover card. */
.tip { position: relative; display: inline-flex; border-radius: 999px; cursor: help; }
.tip:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.tip-card { position: absolute; left: 0; bottom: calc(100% + 8px); z-index: 30; display: grid; gap: 3px; width: 270px; max-width: min(270px, 80vw); padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; box-shadow: 0 12px 30px rgb(16 27 42 / .14); color: #3e4d60; font-size: 13px; font-weight: 400; line-height: 1.45; letter-spacing: 0; text-transform: none; white-space: normal; opacity: 0; visibility: hidden; transition: opacity .12s ease; }
.tip-card::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 10px; }
.tip-card b { color: var(--ink); font-weight: 600; }
.tip:hover .tip-card, .tip:focus-visible .tip-card { opacity: 1; visibility: visible; }
.tip.is-dismissed .tip-card { opacity: 0; visibility: hidden; }
@media (max-width: 480px) {
  .ref-claim, .evidence-fields dd { position: relative; }
  :is(.ref-claim, .evidence-fields dd) .tip { position: static; }
  :is(.ref-claim, .evidence-fields dd) .tip-card { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .tip-card { transition: none; } }
@media print { .tip-card { display: none; } }
