.reference-heading { margin:5px 0 18px; color:var(--ink); }
.reference-heading h1 { font:700 34px var(--display); margin:4px 0 7px; }
.reference-heading p { margin:7px 0 12px; max-width:850px; }
.reference-heading>div { display:flex; flex-wrap:wrap; gap:8px; }
.reference-note { font-size:var(--text-small); color:var(--muted); line-height:1.55; margin:12px 0 18px; }
.model-map { display:flex; align-items:center; gap:18px; border:1px solid var(--edge); background:var(--paper); padding:14px 18px; }
.model-map>div { flex:1; }
.model-map strong,.model-map span { display:block; }
.model-map span { font-size:var(--text-small); color:var(--muted); margin-top:3px; }
.weights-section { margin:16px 0; }
.rating-weight-groups { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; }
.rating-weight-groups h3 { font-size:16px; margin:4px 0 10px; }
.rating-weight-groups dl { margin:0; font-variant-numeric:tabular-nums; }
.rating-weight-groups dl>div { display:flex; justify-content:space-between; border-bottom:1px solid var(--edge); padding:6px 0; }
.rating-weight-groups dd { margin:0; font-weight:600; }
.weights-body { padding:16px; }
.weights-body>p { margin:0 0 12px; }
.weights-table-wrap { overflow:auto; }
.weights-table { width:100%; border-collapse:collapse; font-size:var(--text-data); font-variant-numeric:tabular-nums; }
.weights-table th,.weights-table td { border-bottom:1px solid var(--edge); padding:11px; text-align:right; vertical-align:top; }
.weights-table th:first-child { text-align:left; width:75%; }
.weights-table th small { display:block; font-weight:400; color:var(--muted); font-size:var(--text-small); max-width:820px; margin-top:4px; }
.weights-table td { min-width:68px; font-weight:600; }
.weight-custom { display:inline-block; padding:1px 5px; margin-left:6px; background:var(--selection); color:var(--selection-ink); font:600 var(--text-caption) var(--body); }
.weight-explanation { margin:14px 0; font-size:var(--text-small); }
.weight-explanation summary,.weight-group summary { cursor:pointer; font-weight:600; }
.weight-explanation p { margin:10px 0; max-width:960px; }
.weight-group { border:1px solid var(--edge); margin-bottom:9px; }
.weight-group>summary { padding:12px; background:var(--panel); }
.weight-group>summary span { float:right; font-weight:400; font-size:var(--text-small); color:var(--muted); }
.reference-links { display:flex; flex-wrap:wrap; gap:12px 24px; }
.reference-links a { color:var(--selection-ink); text-decoration:underline; font-size:var(--text-small); }
.release-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.release-entry { background:var(--paper); padding:20px; border:1px solid var(--edge); border-top:3px solid var(--chrome); }
.release-entry:first-child { grid-column:1/-1; }
.release-entry header { display:flex; gap:18px; color:var(--muted); font-size:var(--text-small); }
.release-entry header span { color:var(--selection-ink); font-weight:700; }
.release-entry h2 { font-size:21px; margin:8px 0 12px; }
.release-entry ul { padding-left:20px; margin:0; }
.release-entry li { margin:8px 0; }
.release-compatibility { padding-top:12px; border-top:1px solid var(--edge); font-size:var(--text-small); }
@media(max-width:650px) {
  .model-map { gap:8px; padding:12px; align-items:start; }
  .model-map strong { font-size:var(--text-small); }
  .model-map span { font-size:var(--text-caption); }
  .weights-body { padding:10px; }
  .weights-table th,.weights-table td { padding:9px 5px; }
  .weights-table th:first-child { width:auto; }
  .weights-table td { min-width:45px; }
  .weights-table th small { font-size:var(--text-caption); }
  .release-list { grid-template-columns:1fr; }
  .release-entry { padding:14px; }
}
.weights-table.weights-model-versions { min-width:0; table-layout:fixed; }
.weights-table.weights-model-versions th,.weights-table.weights-model-versions td { width:50%; min-width:0; white-space:normal; text-align:left; }

#stat-realism summary{cursor:pointer;font-weight:600;padding:8px 0}#stat-realism [data-stat-report]{margin-top:12px}#stat-realism .stat-check-summary{margin:0 0 12px}#stat-realism .stat-check{font-variant-numeric:tabular-nums;white-space:nowrap}#stat-realism .dt-table{min-width:610px}#stat-realism .dt-table td:first-child{min-width:180px}
