:root {
  --ink: #202b27;
  --muted: #6c7571;
  --line: #e4e9e6;
  --green: #17765a;
  --green-soft: #edf6f1;
  --coral: #c16f5d;
  --blue: #5b89b0;
  --gold: #ba9841;
  --surface: #f7f9f8;
  --score-font-size: 13px;
  --font: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body { margin: 0; background: #fff; color: var(--ink); font-family: var(--font); font-size: 14px; line-height: 1.5; letter-spacing: 0; }
button, input, select { font: inherit; color: inherit; }
button, select, summary { cursor: pointer; }
button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--green); }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #83bda6; outline-offset: 4px; }
[hidden] { display: none !important; }
svg { width: 17px; height: 17px; vertical-align: middle; flex-shrink: 0; }
[data-icon] { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.page-width { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.intro { padding-top: 44px; padding-bottom: 31px; }
.eyebrow { font-size: 10px; font-weight: 650; color: var(--muted); letter-spacing: 0; display: flex; gap: 8px; align-items: center; }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); }
h1, h2, h3, p { margin: 0; }
h1 { margin-top: 12px; font-size: 42px; line-height: 1.18; font-weight: 720; }
h1 span { font-weight: 400; color: var(--muted); margin-left: 7px; }
.intro-description { margin-top: 15px; font-size: 15px; color: #5b6660; }
.intro-meta { margin-top: 8px; font-size: 12px; color: #58645d; }
.intro-meta-divider { padding-inline: 6px; color: #a0aaa4; }
.gallery-link { color: var(--green); }
.gallery-link:hover, .gallery-link:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.results-section { padding-top: 27px; border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 23px; }
h2 { font-size: 22px; line-height: 1.35; font-weight: 650; margin-top: 6px; }
.section-heading h2 { margin-top: 0; }
.tabs { display: flex; gap: 24px; border-bottom: 1px solid var(--line); }
.tab { background: transparent; border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 12px 0; color: var(--muted); font-size: 13px; white-space: nowrap; }
.tab.active { color: var(--green); border-bottom-color: var(--green); font-weight: 600; }
.tab:hover { color: var(--green); }
.tab svg { width: 15px; height: 15px; }
.scoring-panel { max-width: 880px; padding-block: 24px 40px; font-size: 13px; line-height: 1.75; color: #58645d; }
.scoring-panel strong { color: var(--ink); font-weight: 600; }
.scoring-lead { margin: 0 0 22px; font-size: 13.5px; line-height: 1.7; color: #58645d; }
.scoring-steps { margin: 0; padding: 0; list-style: none; counter-reset: scoring-step; }
.scoring-step { position: relative; padding: 0 0 28px 42px; }
.scoring-step::before { counter-increment: scoring-step; content: counter(scoring-step); position: absolute; left: 0; top: 0; width: 28px; height: 28px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; border: 1px solid #b7cfc0; }
.scoring-step::after { content: ""; position: absolute; left: 13px; top: 34px; bottom: 0; width: 2px; background: var(--line); }
.scoring-step:last-child { padding-bottom: 0; }
.scoring-step:last-child::after { display: none; }
.scoring-step h3 { margin: 2px 0 10px; color: var(--ink); font-size: 15px; font-weight: 600; }
.scoring-step p { margin: 0 0 10px; }
.scoring-dim-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin: 14px 0; }
.scoring-dim-card { padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 6px; }
.scoring-dim-header { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.scoring-dim-name { font-size: 13px; font-weight: 650; color: var(--ink); }
.scoring-dim-badge { font-size: 11px; color: var(--muted); }
.scoring-dim-list { margin: 0; padding-left: 18px; font-size: 12px; line-height: 1.65; color: #58645d; }
.scoring-dim-list li + li { margin-top: 5px; }
.scoring-bullet-list { margin: 10px 0; padding-left: 20px; font-size: 12.5px; line-height: 1.7; }
.scoring-bullet-list li + li { margin-top: 6px; }
.scoring-formula-block { margin: 12px 0 14px; padding: 12px 16px; border-left: 3px solid var(--green); border-radius: 0 6px 6px 0; background: var(--surface); }
.scoring-formula-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-family: "Cambria Math", "Latin Modern Math", "TeX Gyre Termes Math", "Times New Roman", serif; font-size: 15px; color: var(--ink); line-height: 1.5; font-variant-numeric: tabular-nums; }
.scoring-math-sym { font-weight: 600; color: var(--green); }
.scoring-math-frac { display: inline-flex; flex-direction: column; vertical-align: middle; text-align: center; padding: 0 4px; font-size: 14px; }
.scoring-math-num { border-bottom: 1px solid var(--ink); padding-bottom: 1px; }
.scoring-math-den { padding-top: 1px; }
.scoring-formula-subtext { font-family: var(--font); font-size: 12px; color: var(--muted); margin-left: 8px; }
.scoring-formula-meta { margin-top: 6px; font-family: var(--font); font-size: 12px; line-height: 1.55; color: var(--muted); }
.scoring-parity-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0; }
.scoring-parity-card { padding: 10px 12px; border-radius: 6px; border: 1px solid var(--line); text-align: center; background: #fff; }
.scoring-parity-val { display: block; font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums; margin-bottom: 2px; }
.scoring-parity-card.inferior .scoring-parity-val { color: var(--coral); }
.scoring-parity-card.parity .scoring-parity-val { color: var(--green); }
.scoring-parity-card.superior .scoring-parity-val { color: #2e7d32; }
.scoring-parity-desc { display: block; font-size: 11px; line-height: 1.4; color: var(--muted); }
.scoring-example-note { margin: 10px 0; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 6px; font-size: 12.5px; }
.scoring-note-box { margin-top: 12px; padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 6px; font-size: 12px; line-height: 1.6; color: var(--muted); display: flex; align-items: flex-start; gap: 8px; }
.scoring-note-box [data-icon], .scoring-note-box svg { width: 15px; height: 15px; color: var(--green); margin-top: 2px; }
.type-selector { display: flex; align-items: center; gap: 10px; margin-top: 20px; min-width: 0; }
.type-tabs { display: flex; flex: 1; gap: 6px; min-width: 0; overflow-x: auto; padding: 5px 4px; scrollbar-width: none; -ms-overflow-style: none; overscroll-behavior-x: contain; }
.type-tabs::-webkit-scrollbar { display: none; }
.type-tab { flex-shrink: 0; padding: 9px 14px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); color: var(--muted); font-size: 12px; white-space: nowrap; }
.type-tab:hover { color: var(--green); border-color: #b7cfc0; }
.type-tab[aria-selected="true"] { color: var(--green); background: var(--green-soft); border-color: #a7c8b8; font-weight: 600; }
.type-scroll-button { flex-shrink: 0; }
.type-category { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; padding: 26px 0; }
.type-category h2 { margin: 0; font-size: 17px; }
.type-description { min-width: 0; }
.type-description .type-definition { margin-top: 14px; }
.type-definition { font-size: 13px; line-height: 1.8; color: #58645d; overflow-wrap: anywhere; }
.type-credit a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.type-example { min-width: 0; margin: 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.type-example .type-example-image { aspect-ratio: auto; padding: 18px; }
.type-example .type-example-image img { height: auto; max-height: 440px; object-fit: contain; }
.type-credit { padding: 14px 18px; font-size: 12px; color: #58645d; line-height: 1.7; overflow-wrap: anywhere; }
.type-credit p + p { margin-top: 5px; }
.type-source { font-weight: 600; }
.type-license { display: flex; align-items: baseline; gap: 6px 16px; flex-wrap: wrap; }
.type-license-label { flex-shrink: 0; }
.type-copyright { flex: 1 1 220px; }
.type-credit .type-caption { margin-top: 12px; }
.dialog-credit { padding-inline: 0; margin-top: 18px; border-top: 1px solid var(--line); }
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 17px 0; }
.search-field { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 11px; border: 1px solid var(--line); border-radius: 5px; flex: 1 1 170px; max-width: 285px; color: #8a9690; }
.search-field input { width: 100%; border: 0; background: transparent; outline: none; min-width: 0; font-size: 12px; }
.search-field:focus-within { border-color: var(--green); box-shadow: 0 0 0 2px #e5f1e9; }
input::placeholder { color: #89938e; }
.select-field { display: flex; align-items: center; gap: 6px; }
.select-field label { color: var(--muted); font-size: 11px; white-space: nowrap; }
.select-field select { border: 1px solid var(--line); border-radius: 5px; height: 36px; padding: 0 25px 0 9px; font-size: 12px; background: white; max-width: 224px; }
.component-field { display: flex; align-items: center; min-width: 0; margin-inline-start: 8px; }
.component-switch { --vlm-width: 64px; display: grid; grid-template-columns: var(--vlm-width) minmax(0, 1fr); position: relative; isolation: isolate; width: 290px; max-width: 100%; min-height: 36px; padding: 3px; border: 1px solid var(--line); border-radius: 5px; background: var(--surface); }
.component-switch::before { content: ""; position: absolute; z-index: -1; top: 3px; bottom: 3px; left: 3px; width: var(--vlm-width); border-radius: 3px; background: #fff; box-shadow: 0 1px 3px #20312a18; transition: left 200ms ease, width 200ms ease; }
.component-switch[data-group="Image model"]::before { left: calc(3px + var(--vlm-width)); width: calc(100% - 6px - var(--vlm-width)); }
.component-switch button { min-width: 0; border: 0; border-radius: 3px; padding: 4px 8px; background: transparent; color: var(--muted); font-size: 11px; line-height: 1.3; transition: color 200ms ease; }
.component-switch button[aria-checked="true"] { color: var(--green); font-weight: 600; }
.segmented { display: flex; border: 1px solid var(--line); border-radius: 5px; padding: 3px; height: 36px; margin-left: auto; background: var(--surface); }
.segmented button { background: transparent; border: 0; border-radius: 3px; padding: 3px 10px; font-size: 11px; color: var(--muted); }
.segmented button.selected { background: #fff; color: var(--ink); box-shadow: 0 1px 3px #20312a18; }
.segmented svg { width: 13px; height: 13px; }
.table-scroll { width: 100%; overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 13px; white-space: nowrap; }
thead { background: var(--surface); }
th { color: var(--muted); font-size: 11px; font-weight: 500; height: 44px; padding: 0 18px; }
th.numeric, td.numeric { text-align: center; }
th.numeric { padding-inline: 12px; }
th:has(.sort-button) { position: relative; }
.sort-button { border: 0; background: transparent; padding: 0; font-size: inherit; font-weight: inherit; justify-content: center; width: 100%; }
/* Extend the native button's hit area across its entire header cell. */
.sort-button::after { content: ""; position: absolute; inset: 0; }
th.sorted { color: var(--green); background: #edf3ef; font-weight: 650; }
.dimension-table { min-width: 1180px; table-layout: fixed; }
.dimension-table thead tr:first-child th,
.agent-type-table thead th { font-size: 13px; font-weight: 650; }
.agent-type-table { min-width: calc(347px + var(--type-count) * 160px); table-layout: fixed; }
.agent-type-table thead th { height: 64px; padding-block: 8px; white-space: normal; line-height: 1.4; }
.agent-type-table thead th:first-child { width: 65px; }
.agent-type-table thead th:nth-child(3) { width: 92px; }
.agent-type-table .type-heading-lines { white-space: nowrap; }
.dimension-table thead tr:first-child > :nth-child(2),
.agent-type-table thead th:nth-child(2) { width: 190px; }
.dimension-table thead tr:first-child > :nth-child(3) { width: 92px; }
.dimension-table thead tr:first-child > :nth-child(4) { width: 378px; }
.dimension-table thead tr:first-child > :last-child { width: 100px; }
.dimension-table .entry,
.agent-type-table .entry { min-width: 0; }
.dimension-table .entry-meta,
.agent-type-table .entry-meta { font-size: 11px; max-width: 180px; white-space: normal; }
.agent-type-table.backbone-table { min-width: calc(387px + var(--type-count) * 160px); }
.backbone-table thead tr:first-child th:nth-child(2) { width: 230px; }
.backbone-table .entry-meta { max-width: none; white-space: nowrap; }
.dimension-table.backbone-table { min-width: 1260px; }
.dimension-table.backbone-table thead tr:first-child > :first-child { width: 65px; }
.dimension-table.backbone-table .entry-meta { max-width: 194px; white-space: normal; }
.dimension-table .dimension-group { font-weight: 650; border-bottom: 1px solid var(--line); }
.dimension-table .subdimension-heading { height: 64px; white-space: normal; line-height: 1.4; padding-block: 8px; }
.dimension-table thead tr:last-child > :nth-child(-n+3) { padding-inline: 7px; }
.dimension-table thead tr:first-child > :nth-child(3),
.dimension-table thead tr:first-child > :nth-child(4),
.dimension-table thead tr:first-child > :nth-child(5),
.dimension-table thead tr:first-child > :nth-child(6),
.dimension-table thead tr:last-child > :nth-child(1),
.dimension-table thead tr:last-child > :nth-child(4),
.dimension-table tbody tr > :nth-child(3),
.dimension-table tbody tr > :nth-child(4),
.dimension-table tbody tr > :nth-child(7),
.dimension-table tbody tr > :nth-child(10) { border-left: 1px solid var(--line); }
td { padding: 0 18px; height: 73px; border-top: 1px solid var(--line); }
td.numeric { padding-inline: 12px; font-variant-numeric: tabular-nums; font-size: 13px; }
td:has(.score-button) { position: relative; }
.score-button { border: 0; padding: 0; background: transparent; font: inherit; color: inherit; text-decoration: underline; text-decoration-color: #a7b7ad; text-underline-offset: 4px; }
.score-button::after { content: ""; position: absolute; inset: 0; }
.score-button:hover { color: var(--green); text-decoration-color: currentColor; }
.rank-col { width: 65px; text-align: center; }
td.rank-col { font-size: 12px; color: #7c8780; }
.rank-winner { color: var(--green); background: #e5f1e9; border: 1px solid #d4e7db; width: 25px; height: 25px; display: inline-flex; align-items: center; justify-content: center; border-radius: 5px; }
.rank-winner svg { width: 13px; height: 13px; }
.winner-row { background: #f6faf7; }
tbody tr:hover { background: #f4f7f5; }
.entry { display: flex; align-items: center; gap: 11px; min-width: 213px; }
.entry-name { display: block; border: 0; padding: 0; background: none; font-weight: 600; font-size: 13px; text-align: left; }
.entry-meta { display: block; font-size: 10px; color: #7f8a83; margin-top: 3px; }
.entry-name .default-label { font-size: inherit; font-weight: inherit; color: var(--green); }
.overall-score { font-weight: 650; font-size: 15px; }
.score-best { color: var(--green); font-weight: 700; }
.icon-button { background: transparent; border: 1px solid transparent; width: 28px; height: 28px; border-radius: 4px; padding: 0; color: #6d8175; }
.icon-button:hover { border-color: #d3dfd7; background: #edf3ef; color: var(--green); }
.empty-cell { text-align: center; padding: 30px; height: 145px; color: var(--muted); }
.empty-cell strong { display: block; color: var(--ink); margin-bottom: 5px; }
.score-note { margin-top: 19px; padding: 13px 16px; display: flex; gap: 10px; background: #f4f7f5; border-left: 2px solid #b7cfc0; border-radius: 0 4px 4px 0; color: #6a766e; font-size: var(--score-font-size); }
.score-note svg { width: 15px; height: 15px; color: #7f998a; }
.score-note strong { color: #465d50; font-weight: 550; }
.breakdown-section { padding-top: 38px; padding-bottom: 38px; }
.plot-scroll { overflow-x: auto; padding-top: 5px; }
.plot { position: relative; min-width: 710px; padding-left: 34px; }
.type-plot { min-width: calc(34px + var(--columns) * 95px + (var(--columns) - 1) * 10px); }
.dimension-plot { min-width: calc(34px + var(--columns) * 120px + (var(--columns) - 1) * 24px); }
.dimension-plot .plot-area { gap: 24px; }
.dimension-plot .plot-bar { width: min(24px, 16%); }
.dimension-plot .plot-bar.wide-bar { width: 38px; }
.plot-area { display: grid; grid-template-columns: repeat(var(--columns), minmax(0, 1fr)); gap: 10px; position: relative; padding-top: 0; }
.plot-grid { position: absolute; left: 34px; right: 0; top: 0; height: 154px; }
.grid-line { position: absolute; left: 0; right: 0; border-top: 1px solid #edf0ed; }
.grid-line span { position: absolute; left: -31px; top: -8px; font-size: 9px; color: #8a968e; }
.grid-line.parity { border-color: #9fb7a7; border-top-style: dashed; z-index: 2; pointer-events: none; }
.bar-group { display: flex; align-items: flex-end; justify-content: center; gap: 5px; height: 154px; position: relative; }
.plot-bar { border-radius: 2px 2px 0 0; width: min(13px, 16%); min-width: 4px; background: var(--bar-color); position: relative; border: 0; padding: 0; display: block; z-index: 1; transition: opacity 160ms; }
.plot-bar:hover, .plot-bar:focus-visible { opacity: .75; }
.plot-bar.wide-bar { width: 38px; max-width: 45%; }
.plot-label { text-align: center; margin-top: 9px; color: #78847c; font-size: 10px; height: 28px; }
.type-plot .plot-label { height: 42px; line-height: 14px; white-space: normal; }
.chart-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 14px; }
.chart-legend { display: flex; align-items: center; gap: 17px; flex-wrap: wrap; }
.chart-legend span { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; color: #68776c; }
.legend-swatch { width: 7px; height: 7px; border-radius: 2px; display: inline-block; }
.agent-chart .plot-label,
.agent-chart .grid-line span,
.agent-chart .chart-legend span { font-size: var(--score-font-size); }
.agent-chart .type-plot .plot-label { height: 48px; line-height: 16px; }
.agent-chart .plot-scroll { padding-top: 10px; }
.agent-chart .grid-line span { top: -10px; line-height: 20px; }
#chart-caption { font-size: 10px; color: #87938b; text-align: right; }
.chart-empty { height: 190px; display: flex; align-items: center; justify-content: center; background: var(--surface); color: var(--muted); font-size: 12px; }
.examples-section { padding-block: 38px; }
.examples-grid { display: grid; grid-auto-flow: column; grid-auto-columns: 340px; gap: 19px; overflow-x: auto; padding-bottom: 14px; overscroll-behavior-x: contain; scrollbar-color: #a7b7ad var(--surface); }
.examples-grid::-webkit-scrollbar { height: 10px; }
.examples-grid::-webkit-scrollbar-track { background: var(--surface); border-radius: 5px; }
.examples-grid::-webkit-scrollbar-thumb { background: #a7b7ad; border-radius: 5px; }
.examples-grid::-webkit-scrollbar-thumb:hover { background: #829a8b; }
.example { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.example-image { width: 100%; height: auto; aspect-ratio: 1.5; padding: 12px; background: #fff; display: flex; border: 0; border-bottom: 1px solid var(--line); position: relative; }
.example-image img { width: 100%; height: 100%; object-fit: contain; }
.example-image .expand-indicator { position: absolute; right: 8px; bottom: 8px; background: #fffffff2; border: 1px solid var(--line); width: 24px; height: 24px; border-radius: 4px; display: flex; align-items: center; justify-content: center; color: #6e8476; }
.example-image:hover { background: #fbfcfb; }
.example-info { padding: 12px 13px; display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 12px; text-align: center; }
.example-info strong { font-weight: 600; }
dialog { border: 1px solid var(--line); border-radius: 8px; color: var(--ink); width: min(780px, calc(100% - 32px)); max-height: calc(100dvh - 48px); padding: 26px; box-shadow: 0 16px 70px #172d2340; }
dialog::backdrop { background: #16281f66; backdrop-filter: blur(2px); }
.dialog-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 19px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.dialog-header h2 { margin-top: 4px; font-size: 24px; }
.dialog-header .icon-button { background: var(--surface); flex-shrink: 0; }
.dialog-image { width: 100%; max-height: 65dvh; object-fit: contain; display: block; }
.score-summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.score-summary h3 { margin: 0 0 6px; font-size: 17px; font-weight: 600; }
.score-summary p { color: var(--muted); font-size: 12px; }
.score-total { color: var(--green); font-size: 32px; font-weight: 650; text-align: right; font-variant-numeric: tabular-nums; }
.score-total small { display: block; color: var(--muted); font-size: 11px; font-weight: 400; }
.score-breakdown { margin: 0; }
.score-breakdown-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px; align-items: center; padding-block: 9px; font-size: 13px; }
.score-dimension { font-weight: 650; margin-top: 10px; border-top: 1px solid var(--line); padding-top: 15px; }
.score-dimension:first-child { margin-top: 0; }
.score-subdimension dt { padding-left: 14px; color: var(--muted); }
.score-abbreviation { font-size: 11px; }
.score-breakdown dd { display: grid; grid-template-columns: minmax(0, 1fr) 52px; gap: 18px; align-items: center; margin: 0; text-align: right; font-variant-numeric: tabular-nums; }
.score-track { height: 7px; position: relative; background: var(--surface); border-radius: 2px; }
.score-track::after { content: ""; position: absolute; left: 50%; top: -3px; height: 13px; width: 1px; background: #849b8c; }
.score-track i { display: block; height: 100%; background: var(--bar-color); border-radius: 2px; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 32px); background: var(--ink); color: white; border-radius: 5px; padding: 10px 18px; font-size: 12px; box-shadow: 0 4px 15px #172d2330; z-index: 10; }
@media (min-width: 1500px) { .intro { padding-top: 50px; } }
@media (max-width: 1050px) {
  .page-width { width: calc(100% - 48px); }
  .toolbar { gap: 8px; }
  .segmented { margin-left: 0; }
  .search-field { max-width: 230px; }
}
@media (max-width: 720px) {
  .page-width { width: calc(100% - 32px); }
  .intro { padding-top: 28px; padding-bottom: 25px; }
  h1 { font-size: 30px; }
  h1 span { display: block; margin: 3px 0 0; font-size: 27px; }
  .intro-description { font-size: 13px; line-height: 1.7; max-width: 460px; }
  .results-section { padding-top: 22px; }
  h2 { font-size: 20px; }
  .section-heading { align-items: flex-start; gap: 12px; flex-wrap: wrap; margin-bottom: 17px; }
  .tabs { gap: 20px; overflow-x: auto; }
  .tab { font-size: 11px; padding: 11px 0; gap: 5px; }
  .tab svg { width: 13px; height: 13px; }
  .type-selector { gap: 5px; margin-top: 16px; }
  .type-tab { padding: 8px 11px; font-size: 11px; }
  .type-category { grid-template-columns: minmax(0, 1fr); gap: 12px; padding-block: 22px; }
  .type-category h2 { font-size: 16px; }
  .type-definition { font-size: 12px; }
  .type-example .type-example-image { padding: 10px; }
  .type-credit { padding: 12px; }
  .dialog-credit { padding-inline: 0; }
  .toolbar { gap: 9px; }
  .search-field { max-width: none; flex-basis: 100%; }
  .select-field select { max-width: 190px; font-size: 11px; }
  .component-field { flex: 1 1 100%; flex-wrap: wrap; margin-inline-start: 0; }
  .component-switch { flex: 1 1 240px; }
  .select-field { flex-wrap: wrap; }
  .segmented { margin-left: auto; }
  .segmented button { padding-inline: 7px; font-size: 10px; gap: 4px; }
  td { height: 68px; padding-inline: 12px; }
  .entry { min-width: 192px; gap: 8px; }
  .entry:has(.entry-meta) { min-width: 155px; }
  .entry-name { font-size: 12px; }
  .entry-meta { font-size: 9px; white-space: normal; max-width: 138px; }
  .rank-col { min-width: 42px; }
  :root { --score-font-size: 12px; }
  .score-note { padding: 11px; }
  .scoring-dim-grid { grid-template-columns: 1fr; }
  .scoring-parity-cards { grid-template-columns: 1fr; gap: 8px; }
  .scoring-step { padding: 0 0 24px 36px; }
  .scoring-step::before { width: 24px; height: 24px; font-size: 11px; }
  .scoring-step::after { left: 11px; top: 30px; }
  .scoring-formula-row { font-size: 13px; }
  .breakdown-section { padding-block: 28px; }
  .chart-footer { flex-direction: column; align-items: flex-start; gap: 13px; }
  .chart-legend { gap: 12px; }
  #chart-caption { text-align: left; }
  .examples-section { padding-block: 28px; }
  .examples-grid { grid-auto-columns: min(300px, 90%); gap: 12px; }
  .example-image { padding: 7px; }
  .example-info { font-size: 11px; padding: 10px; flex-wrap: wrap; }
  dialog { padding: 18px; }
  .dialog-header h2 { font-size: 21px; overflow-wrap: anywhere; }
  .score-summary { align-items: flex-start; gap: 12px; }
  .score-summary h3 { font-size: 15px; }
  .score-summary p { font-size: 11px; }
  .score-total { font-size: 26px; }
  .score-breakdown-row { grid-template-columns: minmax(0, 1fr); gap: 8px; font-size: 12px; }
  .score-breakdown dd { grid-template-columns: minmax(0, 1fr) 48px; gap: 12px; }
  .score-subdimension dt { padding-left: 10px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
