/*
 * /track-record/ — artboard 14. Template: templates/front/track_record.html.twig.
 * Tokens only (site.css); no hard-coded colours.
 */

.tr-intro{margin-top:16px;display:flex;flex-wrap:wrap;gap:24px 40px}
.tr-lede{flex:1 1 480px;font-size:16px;line-height:24px;color:var(--ink3);max-width:72ch}
.tr-brier{flex:1 1 380px;background:var(--s2);border-radius:var(--r-md);padding:16px 20px;display:flex;flex-direction:column;gap:6px}
.tr-brier-h{font-size:16px;line-height:22px;font-weight:600}

.tr-demo{margin-top:28px}

/* Summary strip (dl with hairline dividers). */
.tr-stats{margin-top:20px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr));gap:1px;background:var(--line);border:1px solid var(--line);border-radius:var(--r-md);overflow:hidden}
.tr-stats>div{background:var(--bg);padding:14px 16px;min-width:0}
.tr-stats dd{margin-top:4px}
.tr-big{font-size:24px;line-height:30px}
.tr-small{font-size:14px;color:var(--ink2)}
.tr-mid{font-size:16px;line-height:24px;padding-top:3px}
.tr-sm{font-size:14px;line-height:20px}

.tr-limited{margin-top:16px;display:flex;gap:12px;align-items:flex-start;background:var(--wn-w);color:var(--wn2);border-radius:var(--r-md);padding:14px 18px;font-size:14px;line-height:20px}
.tr-limited .b{background:var(--bg);color:var(--wn);flex:0 0 auto}

.tr-sec{margin-top:48px}
.tr-sec:first-of-type{margin-top:40px}
.tr-tbl{margin-top:16px}
.tr-tbl td{font-size:15px;line-height:22px;padding:14px}
.tr-tbl th{padding:12px 14px}
.tr-tbl tbody th{font-size:15px;line-height:22px;padding:14px}
.tr-tbl tbody th.tr-plain{font-weight:400}
.tr-kind{margin-left:6px;vertical-align:1px}
.tr-note{margin-top:10px;font-size:14px;line-height:20px;color:var(--ink2)}
.tr-sub{margin-top:8px;font-size:16px;line-height:24px;color:var(--ink2)}
.tr-p{font-size:16px;line-height:24px;color:var(--ink3)}
.tr-caveats{margin-top:12px;padding-left:20px;display:flex;flex-direction:column;gap:4px;font-size:14px;line-height:20px;color:var(--ink2);max-width:90ch}

/* Reliability. */
.tr-rel{margin-top:48px;display:flex;flex-wrap:wrap;gap:32px 48px;align-items:flex-start}
.tr-rel-text{flex:1 1 360px;max-width:520px;display:flex;flex-direction:column;gap:10px}
.tr-rel-text .tr-note{margin-top:0}
.tr-rel-fig{flex:0 1 420px;min-width:0}
.tr-rel-plot{display:flex;gap:6px}
.tr-rel-y{flex:0 0 18px;display:flex;align-items:center;justify-content:center;writing-mode:vertical-rl;transform:rotate(180deg);font-size:12px;line-height:16px;color:var(--ink2);white-space:nowrap}
.tr-rel-main{flex:1 1 auto;min-width:0;max-width:360px}
.tr-rel-box{position:relative;aspect-ratio:1/1;border-left:1px solid var(--ctl);border-bottom:1px solid var(--ctl);background:var(--s2)}
.tr-rel-svg{display:block;width:100%;height:100%;overflow:visible}
.tr-rel-grid{stroke:var(--line);stroke-width:1;vector-effect:non-scaling-stroke}
.tr-rel-diag{stroke:var(--line2);stroke-width:2;vector-effect:non-scaling-stroke}
.tr-rel-pt line{stroke:var(--ink3);stroke-width:1.5;vector-effect:non-scaling-stroke}
.tr-rel-pt circle{fill:var(--brand);stroke:var(--bg);stroke-width:1;vector-effect:non-scaling-stroke}
.tr-rel-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:24px}
.tr-rel-empty p{background:var(--bg);border:1px solid var(--line);border-radius:var(--r-sm);padding:10px 14px;font-size:14px;line-height:20px;text-align:center}
.tr-rel-ticks{display:flex;justify-content:space-between;margin-top:6px;font-size:12px;line-height:16px;color:var(--ink2)}
.tr-rel-x{text-align:center;font-size:12px;line-height:16px;color:var(--ink2)}
.tr-rel-cap{margin-top:8px;font-size:14px;line-height:20px;color:var(--ink3)}
.tr-rel-tbl{margin-top:12px}

@media (max-width:767px){
  .tr-intro{gap:16px}
  .tr-lede,.tr-brier{flex-basis:100%}
  .tr-sec,.tr-rel{margin-top:40px}
  .tr-limited{flex-direction:column;gap:8px}
  .tr-rel-fig{flex-basis:100%}
}
