.ratings-page [hidden] { display: none !important; }
.ratings-hero { display: flex; min-height: 470px; align-items: end; justify-content: space-between; gap: 70px; padding-top: 82px; padding-bottom: 78px; }
.ratings-hero-copy { max-width: 850px; }
.ratings-hero h1 { margin: 14px 0 22px; font-size: clamp(62px, 8.4vw, 108px); line-height: .87; letter-spacing: -.073em; }
.ratings-hero-copy > p { max-width: 710px; margin: 0; color: var(--text-secondary); font-size: 17px; line-height: 1.67; }
.ratings-hero-note { width: 280px; flex: 0 0 280px; padding: 22px; border-left: 3px solid var(--accent); background: var(--surface-alt); }
.ratings-hero-note span, .ratings-panel-heading span { color: var(--accent); font-size: 9px; font-weight: 850; letter-spacing: .12em; }
.ratings-hero-note p { margin: 10px 0 0; color: var(--text-secondary); font-size: 12px; line-height: 1.65; }

.ratings-explorer, .ratings-chart-panel, .ratings-events, .ratings-method { scroll-margin-top: calc(var(--header-height) + 20px); }
body[data-ratings-view] .ratings-hero { min-height: 340px; padding-top: 62px; padding-bottom: 58px; }
body[data-ratings-view="leaderboard"] .ratings-content { grid-template-columns: 1fr; }
body[data-ratings-view="leaderboard"] .ratings-chart-panel,
body[data-ratings-view="leaderboard"] .ratings-events,
body[data-ratings-view="leaderboard"] .ratings-method,
body[data-ratings-view="compare"] .ratings-events,
body[data-ratings-view="compare"] .ratings-method,
body[data-ratings-view="driver"] .ratings-method { display: none; }
body[data-ratings-view="leaderboard"] .ratings-board { grid-row: auto; }
body[data-ratings-view="compare"] { background: linear-gradient(180deg, #fafafa 0, var(--background) 25rem); }
body[data-ratings-view="compare"] .ratings-hero { display: block; min-height: 0; padding-top: 16px; padding-bottom: 16px; }
body[data-ratings-view="compare"] .ratings-hero-copy { max-width: 820px; }
body[data-ratings-view="compare"] .ratings-hero h1 { margin: 5px 0 7px; font-size: clamp(36px, 4vw, 48px); line-height: 1; letter-spacing: -.05em; }
body[data-ratings-view="compare"] .ratings-hero-copy > p { max-width: 760px; margin-bottom: 0; font-size: 13px; line-height: 1.5; }
body[data-ratings-view="compare"] .ratings-hero-note { display: none; }
body[data-ratings-view="compare"] .ratings-explorer { padding-top: 14px; border-top: 0; }
body[data-ratings-view="compare"] .ratings-controls { display: none; }
body[data-ratings-view="compare"] .ratings-content { grid-template-columns: 1fr; }
body[data-ratings-view="compare"] .ratings-board { display: none; }
body[data-ratings-view="driver"] { background: linear-gradient(180deg, #fafafa 0, var(--background) 25rem); }
body[data-ratings-view="driver"] .ratings-hero { display: block; min-height: 0; padding-top: 16px; padding-bottom: 16px; }
body[data-ratings-view="driver"] .ratings-hero-copy { max-width: 840px; }
body[data-ratings-view="driver"] .ratings-hero h1 { margin: 5px 0 7px; font-size: clamp(36px, 4vw, 48px); line-height: 1; letter-spacing: -.05em; }
body[data-ratings-view="driver"] .ratings-hero-copy > p { max-width: 790px; margin-bottom: 0; font-size: 13px; line-height: 1.5; }
body[data-ratings-view="driver"] .ratings-hero-note,
body[data-ratings-view="driver"] .ratings-controls,
body[data-ratings-view="driver"] .ratings-board { display: none; }
body[data-ratings-view="driver"] .ratings-explorer { padding-top: 14px; border-top: 0; }
body[data-ratings-view="driver"] .ratings-content { grid-template-columns: 1fr; }

.ratings-explorer { padding: 72px 0 82px; border-block: 1px solid var(--border); background: var(--surface-alt); }
.ratings-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.ratings-heading h2 { margin: 8px 0 0; font-size: clamp(38px, 5vw, 58px); letter-spacing: -.055em; }
.ratings-heading > p { margin: 0 0 5px; color: var(--text-muted); font-size: 10px; }
.ratings-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 32px 0 18px; padding: 14px; border: 1px solid var(--border); border-radius: 15px; background: #fff; box-shadow: var(--shadow-small); }
.ratings-controls label { display: grid; gap: 6px; }
.ratings-controls span { color: var(--text-muted); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.ratings-controls select { width: 100%; height: 45px; border: 1px solid var(--border); border-radius: 9px; background: #fff; }
.ratings-controls select:focus { border-color: var(--accent); outline: 3px solid rgba(var(--accent-rgb), .1); }
.ratings-heading-meta { display: flex; align-items: flex-end; flex-direction: column; gap: 8px; }
.ratings-heading-meta label { display: grid; gap: 4px; min-width: 190px; }
.ratings-heading-meta label span { color: var(--text-muted); font-size: 9px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.ratings-heading-meta select { height: 38px; border: 1px solid var(--border); border-radius: 9px; background: #fff; }
@media (max-width: 760px) { .ratings-heading-meta { align-items: stretch; width: 100%; } }
.ratings-timeline { margin: 0 0 16px; padding: 15px 17px; border: 1px solid var(--border); border-left: 3px solid var(--accent); border-radius: 15px; background: linear-gradient(105deg, rgba(var(--accent-rgb), .045), transparent 34%), #fff; box-shadow: var(--shadow-small); }
.ratings-timeline-heading { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; margin-bottom: 13px; }
.ratings-timeline-copy { min-width: 0; }
.ratings-timeline-heading span, .ratings-timeline-heading strong, .ratings-timeline-heading small { display: block; }
.ratings-timeline-heading span { margin-bottom: 4px; color: var(--accent); font-size: 8px; font-weight: 850; letter-spacing: .11em; }
.ratings-timeline-heading strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.ratings-timeline-heading small { margin-top: 3px; color: var(--text-muted); font-size: 9px; }
.ratings-timeline-heading button { padding: 7px 10px; border: 1px solid var(--border); border-radius: 7px; background: var(--surface-alt); color: var(--text-secondary); cursor: pointer; font: inherit; font-size: 9px; font-weight: 800; }
.ratings-timeline-heading button:hover { border-color: var(--border-strong); color: var(--text); }
.ratings-timeline-actions { display: flex; align-items: center; gap: 7px; }
.ratings-timeline-actions #ratings-timeline-zoom { border-color: rgba(var(--accent-rgb), .22); background: rgba(var(--accent-rgb), .07); color: var(--accent); }
.ratings-timeline-back { justify-self: start; }
.ratings-timeline-track { display: block; width: 100%; }
.ratings-timeline-rail { min-width: 0; }
.ratings-timeline-stepper { display: flex; align-items: center; gap: 4px; }
.ratings-timeline-stepper button { width: 32px; height: 29px; padding: 0; border: 1px solid var(--border); border-radius: 7px; background: #fff; color: var(--text-secondary); cursor: pointer; font: inherit; }
.ratings-timeline-stepper button:hover:not(:disabled) { border-color: rgba(var(--accent-rgb), .45); color: var(--accent); }
.ratings-timeline button:disabled { cursor: default; opacity: .38; }
.ratings-timeline-range { width: 100%; height: 20px; margin: 0; appearance: none; background: transparent; accent-color: var(--accent); cursor: pointer; }
.ratings-timeline-range::-webkit-slider-runnable-track { height: 4px; border-radius: 999px; background: linear-gradient(90deg, var(--accent) 0 var(--timeline-progress, 100%), #dfe3e8 var(--timeline-progress, 100%) 100%); }
.ratings-timeline-range::-webkit-slider-thumb { width: 16px; height: 16px; margin-top: -6px; appearance: none; border: 3px solid #fff; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .5), 0 2px 6px rgba(17, 19, 24, .18); }
.ratings-timeline-range::-moz-range-track { height: 4px; border: 0; border-radius: 999px; background: #dfe3e8; }
.ratings-timeline-range::-moz-range-progress { height: 4px; border-radius: 999px; background: var(--accent); }
.ratings-timeline-range::-moz-range-thumb { width: 12px; height: 12px; border: 3px solid #fff; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 1px rgba(var(--accent-rgb), .5), 0 2px 6px rgba(17, 19, 24, .18); }
.ratings-timeline-range:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.ratings-timeline-scale { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-top: 1px; color: var(--text-muted); font-size: 8px; font-weight: 750; letter-spacing: .04em; line-height: 1; }
.ratings-timeline-scale span:first-child { text-align: left; }
.ratings-timeline-scale span:nth-child(2) { color: var(--text-secondary); font-size: 7px; letter-spacing: .1em; text-transform: uppercase; }
.ratings-timeline-scale span:last-child { text-align: right; }
.ratings-status { display: grid; min-height: 230px; place-items: center; padding: 35px; border: 1px dashed var(--border); border-radius: 15px; color: var(--text-secondary); text-align: center; }
.ratings-content { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(420px, .9fr); gap: 14px; }
.ratings-compare-setup { display: none; position: relative; z-index: 3; padding: 22px; border: 1px solid var(--border); border-radius: 16px; background: #fff; box-shadow: var(--shadow-small); }
body[data-ratings-view="compare"] .ratings-compare-setup { display: block; }
.ratings-compare-setup-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 18px; }
.ratings-compare-setup-heading span { color: var(--accent); font-size: 8px; font-weight: 850; letter-spacing: .12em; }
.ratings-compare-setup-heading h2 { margin: 5px 0 0; font-size: 22px; letter-spacing: -.025em; }
.ratings-compare-setup-heading p { max-width: 370px; margin: 0; color: var(--text-muted); font-size: 10px; line-height: 1.55; text-align: right; }
.ratings-compare-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.ratings-compare-slot { position: relative; min-height: 78px; border: 1px solid var(--border); border-radius: 11px; background: var(--surface-alt); text-align: left; }
.ratings-compare-slot > span { color: var(--text-muted); font-size: 8px; font-weight: 850; letter-spacing: .08em; }
.ratings-compare-slot strong, .ratings-compare-slot small { display: block; }
.ratings-compare-slot strong { margin-top: 5px; color: var(--text); font-size: 11px; }
.ratings-compare-slot small { overflow: hidden; margin-top: 3px; color: var(--text-muted); font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.ratings-compare-slot.empty { padding: 13px 14px; border-style: dashed; cursor: pointer; font: inherit; }
.ratings-compare-slot.empty:hover { border-color: rgba(var(--accent-rgb), .45); background: rgba(var(--accent-rgb), .04); }
.ratings-compare-slot.selected { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: center; padding: 12px 38px 12px 15px; border-top: 3px solid var(--driver-color); background: #fff; }
.ratings-compare-slot.selected > span { position: absolute; top: 8px; right: 10px; }
.ratings-compare-slot.selected > b { align-self: center; color: var(--driver-color); font-size: 17px; }
.ratings-compare-slot.selected > button { position: absolute; right: 7px; bottom: 7px; width: 23px; height: 23px; padding: 0; border: 0; border-radius: 50%; background: var(--surface-alt); color: var(--text-muted); cursor: pointer; font: inherit; font-size: 15px; }
.ratings-compare-slot.selected > button:hover { background: #e9ebef; color: var(--text); }
.ratings-driver-picker { position: relative; max-width: 560px; margin-top: 13px; }
.ratings-driver-picker > label { display: block; margin-bottom: 6px; color: var(--text-muted); font-size: 8px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.ratings-driver-picker > input { width: 100%; height: 44px; padding: 0 14px; border: 1px solid var(--border); border-radius: 9px; background: #fff; font: inherit; font-size: 11px; }
.ratings-driver-picker > input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .08); outline: 0; }
.ratings-driver-results { position: absolute; z-index: 5; top: calc(100% + 6px); left: 0; width: 100%; max-height: 330px; overflow: auto; border: 1px solid var(--border); border-radius: 10px; background: #fff; box-shadow: 0 18px 45px rgba(16, 18, 24, .16); }
.ratings-driver-results button { display: flex; width: 100%; min-height: 54px; align-items: center; justify-content: space-between; gap: 18px; padding: 9px 12px; border: 0; border-bottom: 1px solid var(--border); background: #fff; color: var(--text); cursor: pointer; font: inherit; text-align: left; }
.ratings-driver-results button:last-child { border-bottom: 0; }
.ratings-driver-results button:hover, .ratings-driver-results button:focus { background: rgba(var(--accent-rgb), .055); outline: 0; }
.ratings-driver-results button > span:last-child { text-align: right; }
.ratings-driver-results strong, .ratings-driver-results small { display: block; }
.ratings-driver-results strong { font-size: 11px; }.ratings-driver-results small { margin-top: 3px; color: var(--text-muted); font-size: 8px; }
.ratings-driver-results button > span:last-child > b { font-size: 13px; }.ratings-driver-results > p { margin: 0; padding: 18px; color: var(--text-muted); font-size: 10px; }
.ratings-profile-selector { display: none; position: relative; z-index: 3; overflow: visible; border: 1px solid var(--border); border-radius: 16px; background: #fff; box-shadow: var(--shadow-small); }
body[data-ratings-view="driver"] .ratings-profile-selector { display: grid; grid-template-columns: minmax(300px, 1fr) minmax(260px, .65fr); }
.ratings-profile-identity { display: flex; min-width: 0; align-items: center; justify-content: space-between; gap: 30px; padding: 21px 23px; border-right: 1px solid var(--border); }
.ratings-profile-identity > div { min-width: 0; }
.ratings-profile-identity span { color: var(--accent); font-size: 8px; font-weight: 850; letter-spacing: .12em; }
.ratings-profile-identity h2 { overflow: hidden; margin: 6px 0 5px; font-size: 27px; letter-spacing: -.035em; text-overflow: ellipsis; white-space: nowrap; }
.ratings-profile-identity p { margin: 0; color: var(--text-muted); font-size: 9px; }
.ratings-profile-identity nav { display: flex; flex: 0 0 auto; gap: 7px; }
.ratings-profile-identity nav a { padding: 9px 11px; border: 1px solid var(--border); border-radius: 7px; color: var(--text-secondary); font-size: 8px; font-weight: 800; text-decoration: none; }
.ratings-profile-identity nav a.primary { border-color: var(--accent); background: var(--accent); color: #fff; }
.ratings-profile-picker { position: relative; align-self: center; padding: 17px 20px; }
.ratings-profile-picker > label { display: block; margin-bottom: 6px; color: var(--text-muted); font-size: 8px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.ratings-profile-picker > input { width: 100%; height: 43px; padding: 0 13px; border: 1px solid var(--border); border-radius: 8px; background: #fff; font: inherit; font-size: 10px; }
.ratings-profile-picker > input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(var(--accent-rgb), .08); outline: 0; }
.ratings-profile-picker .ratings-driver-results { right: 20px; left: 20px; width: auto; }
.ratings-profile-summary { display: grid; grid-column: 1 / -1; grid-template-columns: repeat(8, minmax(0, 1fr)); border-top: 1px solid var(--border); }
.ratings-profile-summary > div { min-width: 0; min-height: 77px; padding: 14px 15px; border-right: 1px solid var(--border); }
.ratings-profile-summary > div:last-child { border-right: 0; }
.ratings-profile-summary span, .ratings-profile-summary small { display: block; }
.ratings-profile-summary span { color: var(--text-muted); font-size: 7px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.ratings-profile-summary strong { display: block; margin-top: 5px; font-size: 17px; }
.ratings-profile-summary small { overflow: hidden; margin-top: 3px; color: var(--text-muted); font-size: 6px; line-height: 1.35; text-overflow: ellipsis; }
.ratings-profile-highlights-panel { display: none; overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: #fff; box-shadow: var(--shadow-small); }
body[data-ratings-view="driver"] .ratings-profile-highlights-panel { display: block; }
.ratings-profile-highlights { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.ratings-profile-highlights article { min-width: 0; padding: 17px 19px; border-right: 1px solid var(--border); }
.ratings-profile-highlights article:last-child { border-right: 0; }
.ratings-profile-highlights span, .ratings-profile-highlights small { display: block; }
.ratings-profile-highlights span { color: var(--text-muted); font-size: 7px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.ratings-profile-highlights strong { display: block; margin-top: 6px; color: var(--text); font-size: 18px; }
.ratings-profile-highlights small { overflow: hidden; margin-top: 4px; color: var(--text-muted); font-size: 7px; line-height: 1.4; text-overflow: ellipsis; }
.ratings-board, .ratings-chart-panel, .ratings-events { overflow: hidden; border: 1px solid var(--border); border-radius: 16px; background: #fff; box-shadow: var(--shadow-small); }
.ratings-board { grid-row: span 2; }
.ratings-panel-heading { display: flex; min-height: 80px; align-items: center; justify-content: space-between; gap: 18px; padding: 19px 22px; border-bottom: 1px solid var(--border); }
.ratings-panel-heading h3 { margin: 4px 0 0; font-size: 21px; letter-spacing: -.025em; }
.ratings-panel-heading > p { margin: 0; color: var(--text-muted); font-size: 10px; }
.ratings-panel-actions { display: flex; align-items: center; gap: 16px; }
.ratings-panel-actions > p { margin: 0; color: var(--text-muted); font-size: 10px; }
.ratings-chart-actions { display: flex; align-items: center; gap: 8px; }
.ratings-chart-scale { display: flex; gap: 3px; padding: 3px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-alt); }
.ratings-chart-heading .ratings-chart-scale button, .ratings-chart-heading .ratings-uncertainty-toggle { padding: 7px 9px; border: 0; border-radius: 6px; background: transparent; color: var(--text-muted); text-decoration: none; }
.ratings-chart-heading .ratings-chart-scale button[aria-pressed="true"], .ratings-chart-heading .ratings-uncertainty-toggle[aria-pressed="true"] { background: #fff; color: var(--text); box-shadow: var(--shadow-small); }
.ratings-chart-heading .ratings-uncertainty-toggle { border: 1px solid var(--border); background: var(--surface-alt); }
.ratings-order-toggle { display: none; align-items: center; gap: 3px; padding: 3px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface-alt); }
.ratings-order-toggle button { padding: 8px 11px; border-radius: 6px; text-decoration: none; }
.ratings-order-toggle button[aria-pressed="true"] { background: #fff; color: var(--text); box-shadow: var(--shadow-small); }
.ratings-panel-heading button { border: 0; background: transparent; color: var(--text-secondary); cursor: pointer; font: inherit; font-size: 10px; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.ratings-panel-heading select { min-width: 160px; height: 38px; border: 1px solid var(--border); border-radius: 8px; background: #fff; }
.ratings-table-wrap { max-height: 810px; overflow: auto; }
.ratings-table { width: 100%; min-width: 0; table-layout: fixed; border-collapse: collapse; }
.ratings-table th:nth-child(1) { width: 8%; }.ratings-table th:nth-child(2) { width: 30%; }.ratings-table th:nth-child(3) { width: 13%; }.ratings-table th:nth-child(4) { width: 14%; }.ratings-table th:nth-child(5) { width: 11%; }.ratings-table th:nth-child(6) { width: 10%; }.ratings-table th:nth-child(7) { width: 14%; }
.ratings-table th { position: sticky; z-index: 1; top: 0; padding: 12px 14px; border-bottom: 1px solid var(--border); background: #f7f8fa; color: var(--text-muted); font-size: 8px; letter-spacing: .1em; text-align: right; text-transform: uppercase; }
.ratings-table th:nth-child(2) { text-align: left; }
.ratings-table td { padding: 14px; border-bottom: 1px solid var(--border); font-size: 11px; text-align: right; }
.ratings-table tr { cursor: pointer; transition: background .15s ease; }
.ratings-table tbody tr:hover { background: #fafafa; }
.ratings-table tr.selected { background: rgba(var(--accent-rgb), .055); box-shadow: inset 3px 0 var(--driver-color, var(--accent)); }
.ratings-table td:first-child { width: 45px; color: var(--text-muted); font-size: 15px; font-weight: 850; }
.ratings-table td:nth-child(2) { text-align: left; }
.ratings-driver { display: flex; align-items: center; gap: 10px; }
.ratings-driver-dot { width: 8px; height: 8px; flex: 0 0 8px; border: 2px solid var(--driver-color, var(--border-strong)); border-radius: 50%; background: #fff; }
.ratings-driver strong { display: block; color: var(--text); font-size: 12px; }
.ratings-driver small { display: block; overflow: hidden; max-width: 180px; margin-top: 3px; color: var(--text-muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.ratings-value { font-size: 15px !important; font-weight: 900; }
.ratings-uncertainty strong, .ratings-uncertainty small { display: block; }.ratings-uncertainty strong { color: var(--text-secondary); font-size: 10px; }.ratings-uncertainty small { margin-top: 2px; color: var(--text-muted); font-size: 7px; text-transform: uppercase; }
.ratings-change { font-weight: 800; }
.ratings-change.positive { color: #18864b; }.ratings-change.negative { color: #bd3340; }

body[data-ratings-view="leaderboard"] .ratings-hero { display: block; min-height: 0; padding-top: 38px; padding-bottom: 30px; }
body[data-ratings-view="leaderboard"] .ratings-hero-copy { max-width: 800px; }
body[data-ratings-view="leaderboard"] .ratings-hero h1 { margin: 8px 0 12px; font-size: clamp(38px, 5vw, 60px); line-height: 1; letter-spacing: -.055em; }
body[data-ratings-view="leaderboard"] .ratings-hero-copy > p { max-width: 760px; font-size: 14px; line-height: 1.55; }
body[data-ratings-view="leaderboard"] .ratings-hero-note { display: none; }
body[data-ratings-view="leaderboard"] .ratings-explorer { padding-top: 26px; }
body[data-ratings-view="leaderboard"] .ratings-heading { justify-content: flex-end; }
body[data-ratings-view="leaderboard"] .ratings-heading > div:first-child { display: none; }
body[data-ratings-view="leaderboard"] .ratings-controls { grid-template-columns: minmax(180px, 280px); justify-content: end; margin-top: 14px; }
body[data-ratings-view="leaderboard"] .ratings-year-control { display: none; }
body[data-ratings-view="leaderboard"] .ratings-board-hint { display: none; }
body[data-ratings-view="leaderboard"] .ratings-order-toggle { display: flex; }
body[data-ratings-view="leaderboard"] .ratings-table-wrap { max-height: none; overflow-x: auto; }
body[data-ratings-view="leaderboard"] .ratings-uncertainty-column { display: none; }
body[data-ratings-view="leaderboard"] .ratings-table tr { cursor: default; }
body[data-ratings-view="leaderboard"] .ratings-table tbody tr:hover { background: transparent; }
body[data-ratings-view="leaderboard"] .ratings-table th:nth-child(1) { width: 8%; }
body[data-ratings-view="leaderboard"] .ratings-table th:nth-child(2) { width: 40%; }
body[data-ratings-view="leaderboard"] .ratings-table th:nth-child(3),
body[data-ratings-view="leaderboard"] .ratings-table th:nth-child(5) { width: 14%; }
body[data-ratings-view="leaderboard"] .ratings-table th:nth-child(6) { width: 11%; }
body[data-ratings-view="leaderboard"] .ratings-table th:nth-child(7) { width: 13%; }

.ratings-chart-panel { min-height: 400px; }
body[data-ratings-view="compare"] .ratings-chart-panel { min-height: 620px; }
body[data-ratings-view="driver"] .ratings-chart-panel { min-height: 540px; }
body[data-ratings-view="driver"] .ratings-legend,
body[data-ratings-view="driver"] .ratings-chart-scale,
body[data-ratings-view="driver"] #ratings-clear { display: none; }
.ratings-legend { display: flex; flex-wrap: wrap; gap: 7px; min-height: 49px; padding: 12px 18px; border-bottom: 1px solid var(--border); }
.ratings-legend button { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border: 1px solid var(--border); border-radius: 999px; background: #fff; cursor: pointer; font: inherit; font-size: 9px; font-weight: 750; }
.ratings-legend i { width: 7px; height: 7px; border-radius: 50%; background: var(--driver-color); }
.ratings-compare-summary { display: none; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--border); }
body[data-ratings-view="compare"] .ratings-compare-summary:not(:empty) { display: grid; }
.ratings-compare-summary article { min-width: 0; padding: 14px 16px; border-right: 1px solid var(--border); border-top: 3px solid var(--driver-color); }
.ratings-compare-summary article:last-child { border-right: 0; }
.ratings-compare-summary article > div:first-child { display: grid; grid-template-columns: 8px minmax(0, 1fr); gap: 0 7px; align-items: center; }
.ratings-compare-summary article > div:first-child i { width: 7px; height: 7px; border-radius: 50%; background: var(--driver-color); }
.ratings-compare-summary article > div:first-child strong { overflow: hidden; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.ratings-compare-summary article > div:first-child small { grid-column: 2; margin-top: 2px; color: var(--text-muted); font-size: 7px; }
.ratings-compare-summary dl { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 8px; margin: 13px 0 0; }
.ratings-compare-summary dl div { min-width: 0; }
.ratings-compare-summary dt { color: var(--text-muted); font-size: 7px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.ratings-compare-summary dd { margin: 3px 0 0; color: var(--text-secondary); font-size: 11px; font-weight: 800; }
.ratings-compare-summary dd small { display: block; margin-top: 2px; color: var(--text-muted); font-size: 6px; font-weight: 650; }
.ratings-compare-summary .best dd { color: var(--driver-color); font-size: 14px; }
.ratings-chart { position: relative; display: grid; min-height: 270px; place-items: center; padding: 14px 12px 12px; color: var(--text-muted); font-size: 11px; }
.ratings-chart svg { display: block; width: 100%; height: 270px; overflow: visible; }
body[data-ratings-view="compare"] .ratings-chart { display: block; min-height: 430px; padding: 12px 16px 18px; }
body[data-ratings-view="compare"] .ratings-chart svg { height: 400px; }
body[data-ratings-view="driver"] .ratings-chart { display: block; min-height: 430px; padding: 12px 16px 18px; }
body[data-ratings-view="driver"] .ratings-chart svg { height: 400px; }
.ratings-chart .grid { stroke: #e8eaee; stroke-width: 1; }.ratings-chart .baseline { stroke: #aeb4be; stroke-dasharray: 4 5; }
.ratings-chart .axis-label { fill: #8a909a; font-size: 9px; }.ratings-chart .rating-line { fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.ratings-chart .rating-band { opacity: .09; transition: opacity .15s ease; }
.ratings-chart[data-show-uncertainty="false"] .rating-band { opacity: 0; }
.ratings-chart .rating-point { stroke: #fff; stroke-width: 1.5; }
.ratings-chart .rating-event-point { opacity: .32; pointer-events: none; }
.ratings-chart .ratings-line-label { font-size: 8px; font-weight: 850; paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; }
.ratings-chart .ratings-chart-crosshair { stroke: #858b95; stroke-width: 1; stroke-dasharray: 3 4; pointer-events: none; }
.ratings-chart .ratings-hover-point { stroke: #fff; stroke-width: 2; pointer-events: none; }
.ratings-chart .ratings-season-guide { stroke: #d9dce2; stroke-width: 1; stroke-dasharray: 2 5; pointer-events: none; }
.ratings-chart .ratings-season-label { fill: #9a9fa8; font-size: 7px; font-weight: 750; pointer-events: none; }
.ratings-chart .ratings-peak-point { fill: #fff; stroke: var(--accent); stroke-width: 3; pointer-events: none; }
.ratings-chart .ratings-peak-label { fill: var(--accent); font-size: 8px; font-weight: 850; paint-order: stroke; stroke: #fff; stroke-width: 3px; pointer-events: none; }
.ratings-chart .ratings-team-change { fill: var(--accent); stroke: #fff; stroke-width: 1.5; pointer-events: none; }
.ratings-chart svg [hidden] { display: none; }
.ratings-chart-overlay { fill: transparent; cursor: crosshair; pointer-events: all; }
.ratings-chart-tooltip { position: absolute; z-index: 4; top: 28px; min-width: 225px; max-width: 290px; padding: 11px 12px; border: 1px solid var(--border); border-radius: 9px; background: rgba(255, 255, 255, .97); color: var(--text); box-shadow: 0 12px 34px rgba(16, 18, 24, .16); pointer-events: none; transform: translateX(12px); }
.ratings-chart-tooltip.align-right { transform: translateX(calc(-100% - 12px)); }
.ratings-chart-tooltip > strong { display: block; margin-bottom: 7px; font-size: 9px; }
.ratings-chart-tooltip > div { display: grid; grid-template-columns: 7px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 6px 0; border-top: 1px solid var(--border); }
.ratings-chart-tooltip i { width: 7px; height: 7px; border-radius: 50%; background: var(--driver-color); }
.ratings-chart-tooltip span b, .ratings-chart-tooltip span small { display: block; }
.ratings-chart-tooltip span b { font-size: 9px; }.ratings-chart-tooltip span small { margin-top: 2px; color: var(--text-muted); font-size: 7px; }
.ratings-chart-tooltip > div > b { font-size: 12px; }
.ratings-events { min-height: 395px; }
.ratings-driver-summary { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--border); }
.ratings-driver-summary div { padding: 14px 18px; border-right: 1px solid var(--border); }.ratings-driver-summary div:last-child { border: 0; }
.ratings-driver-summary span { display: block; color: var(--text-muted); font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.ratings-driver-summary strong { display: block; margin-top: 4px; font-size: 17px; }
.ratings-driver-summary strong small { color: var(--text-muted); font-size: 7px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ratings-events-list { max-height: 295px; overflow: auto; }
.ratings-event { border-bottom: 1px solid var(--border); }
.ratings-event summary { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; padding: 13px 18px; cursor: pointer; list-style: none; }
.ratings-event summary::-webkit-details-marker { display: none; }
.ratings-event summary:hover { background: #fafafa; }
.ratings-event strong { display: block; overflow: hidden; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.ratings-event small { display: block; margin-top: 3px; color: var(--text-muted); font-size: 8px; }
.ratings-event-change { align-self: center; font-size: 12px; font-weight: 900; }
.ratings-event-explanation { padding: 0 18px 16px; }
.ratings-event-reason { margin: 0; padding: 11px 13px; border-left: 2px solid var(--accent); background: var(--surface-alt); color: var(--text-secondary); font-size: 9px; line-height: 1.55; }
.ratings-event-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; padding-top: 12px; }
.ratings-event-facts p { margin: 0; }.ratings-event-facts strong, .ratings-event-facts span { display: block; }.ratings-event-facts strong { color: var(--text-muted); font-size: 7px; letter-spacing: .08em; text-transform: uppercase; }.ratings-event-facts span { margin-top: 3px; color: var(--text-secondary); font-size: 8px; }
body[data-ratings-view="driver"] .ratings-events-list { max-height: none; overflow-x: auto; }
body[data-ratings-view="driver"] .ratings-driver-summary { display: none; }
.ratings-profile-event-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.ratings-profile-event-filters select { min-width: 125px; height: 36px; padding: 0 28px 0 10px; border: 1px solid var(--border); border-radius: 7px; background: #fff; color: var(--text-secondary); font: inherit; font-size: 8px; }
.ratings-profile-event-filters select:focus { border-color: var(--accent); outline: 2px solid rgba(var(--accent-rgb), .12); }
.ratings-profile-events-columns, .ratings-profile-event summary { display: grid; min-width: 760px; grid-template-columns: minmax(260px, 1fr) 70px 82px 76px 76px 62px; gap: 12px; align-items: center; }
.ratings-profile-events-columns { padding: 10px 18px; border-bottom: 1px solid var(--border); background: var(--surface-alt); color: var(--text-muted); font-size: 7px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.ratings-profile-events-columns span:not(:first-child) { text-align: right; }
.ratings-profile-event summary { padding: 13px 18px; }
.ratings-profile-event summary > span:not(:first-child) { color: var(--text-secondary); font-size: 9px; font-weight: 750; text-align: right; }
.ratings-profile-event .ratings-profile-event-name strong { font-size: 10px; }
.ratings-profile-event .ratings-profile-event-name small { font-size: 7px; }
.ratings-profile-no-events { margin: 0; padding: 28px; color: var(--text-muted); font-size: 10px; text-align: center; }
.ratings-profile-pagination { margin: 0; padding: 14px 18px; border-top: 1px solid var(--border); background: #fff; }
.ratings-profile-pagination .pagination-count { min-width: 125px; text-align: right; }

.ratings-method { display: grid; grid-template-columns: .62fr 1.38fr; gap: 80px; padding-top: 86px; padding-bottom: 92px; }
.ratings-method h2 { margin: 10px 0 0; font-size: clamp(42px, 5vw, 66px); line-height: .98; letter-spacing: -.06em; }
.ratings-method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 38px; }
.ratings-method article { padding: 22px 0 25px; border-top: 1px solid var(--border); }
.ratings-method article > span { color: var(--accent); font-size: 9px; font-weight: 850; }
.ratings-method h3 { margin: 9px 0 8px; font-size: 16px; }.ratings-method article p { margin: 0; color: var(--text-secondary); font-size: 11px; line-height: 1.62; }
.ratings-caveat { grid-column: 2; margin: -4px 0 0; padding: 18px 20px; border-radius: 10px; background: var(--surface-alt); color: var(--text-secondary); font-size: 11px; line-height: 1.65; }
.ratings-method-detail { row-gap: 54px; }
.ratings-method-copy { grid-column: 2; display: grid; gap: 0; }
.ratings-method-copy article { padding: 26px 0; border-top: 1px solid var(--border); }
.ratings-method-copy h3 { margin: 9px 0 10px; font-size: 22px; }
.ratings-method-copy p { max-width: 760px; margin: 0; color: var(--text-secondary); font-size: 12px; line-height: 1.72; }

@media (max-width: 1000px) { .ratings-hero { min-height: 0; align-items: flex-start; flex-direction: column; gap: 38px; }.ratings-hero-note { width: min(100%, 520px); flex-basis: auto; }.ratings-content, body[data-ratings-view="compare"] .ratings-content { grid-template-columns: 1fr; }.ratings-board { grid-row: auto; }.ratings-table-wrap { max-height: 600px; } }
@media (max-width: 760px) { .ratings-hero { padding-top: 54px; padding-bottom: 58px; }.ratings-hero h1 { font-size: clamp(56px, 16vw, 82px); }.ratings-heading { align-items: flex-start; flex-direction: column; gap: 12px; }.ratings-controls { grid-template-columns: 1fr; }.ratings-method { grid-template-columns: 1fr; gap: 38px; }.ratings-method-copy, .ratings-caveat { grid-column: 1; }.ratings-table th:nth-child(5), .ratings-table td:nth-child(5), .ratings-table th:nth-child(6), .ratings-table td:nth-child(6) { display: none; }.ratings-driver-summary { grid-template-columns: 1fr 1fr; }.ratings-driver-summary div:nth-child(2) { border-right: 0; }.ratings-driver-summary div:nth-child(-n+2) { border-bottom: 1px solid var(--border); } body[data-ratings-view="leaderboard"] .ratings-hero { padding-top: 30px; padding-bottom: 24px; } body[data-ratings-view="leaderboard"] .ratings-hero h1 { font-size: 38px; } body[data-ratings-view="leaderboard"] .ratings-controls { grid-template-columns: minmax(180px, 280px); } body[data-ratings-view="leaderboard"] .ratings-table { min-width: 640px; } body[data-ratings-view="leaderboard"] .ratings-table th:nth-child(5), body[data-ratings-view="leaderboard"] .ratings-table td:nth-child(5), body[data-ratings-view="leaderboard"] .ratings-table th:nth-child(6), body[data-ratings-view="leaderboard"] .ratings-table td:nth-child(6) { display: table-cell; } }
@media (max-width: 520px) { .ratings-explorer { padding: 54px 0 62px; }.ratings-method-grid { grid-template-columns: 1fr; }.ratings-table th, .ratings-table td { padding: 12px 9px; }.ratings-table th:nth-child(4), .ratings-table td:nth-child(4), .ratings-table th:nth-child(7), .ratings-table td:nth-child(7) { display: none; }.ratings-panel-heading { align-items: flex-start; flex-direction: column; }.ratings-panel-heading select { width: 100%; }.ratings-driver-summary div { padding-inline: 12px; }.ratings-event-facts { grid-template-columns: 1fr; } body[data-ratings-view="leaderboard"] .ratings-explorer { padding-top: 20px; } body[data-ratings-view="leaderboard"] .ratings-controls { grid-template-columns: 1fr; } body[data-ratings-view="leaderboard"] .ratings-panel-actions, body[data-ratings-view="leaderboard"] .ratings-order-toggle { width: 100%; } body[data-ratings-view="leaderboard"] .ratings-order-toggle button { flex: 1; } body[data-ratings-view="leaderboard"] .ratings-table th:nth-child(7), body[data-ratings-view="leaderboard"] .ratings-table td:nth-child(7) { display: table-cell; } .ratings-timeline { padding: 13px; } .ratings-timeline-heading { grid-template-columns: 1fr auto; align-items: start; } .ratings-timeline-back { grid-column: 1 / -1; } .ratings-timeline-actions { align-items: stretch; flex-direction: column; } }

@media (max-width: 900px) {
  .ratings-compare-slots, .ratings-compare-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ratings-compare-summary article:nth-child(2n) { border-right: 0; }
  .ratings-compare-summary article:nth-child(n+3) { border-top-width: 1px; }
  body[data-ratings-view="driver"] .ratings-profile-selector { grid-template-columns: 1fr; }
  .ratings-profile-identity { border-right: 0; border-bottom: 1px solid var(--border); }
  .ratings-profile-summary { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ratings-profile-summary > div:nth-child(4n) { border-right: 0; }
  .ratings-profile-summary > div:nth-child(n+5) { border-top: 1px solid var(--border); }
  .ratings-profile-highlights { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ratings-profile-highlights article:nth-child(3) { border-right: 0; }
  .ratings-profile-highlights article:nth-child(n+4) { border-top: 1px solid var(--border); }
}
@media (max-width: 680px) {
  body[data-ratings-view="compare"] .ratings-hero { padding-top: 14px; padding-bottom: 14px; }
  body[data-ratings-view="compare"] .ratings-hero h1 { font-size: 34px; }
  body[data-ratings-view="compare"] .ratings-explorer { padding-top: 12px; }
  .ratings-compare-setup { padding: 16px; }
  .ratings-compare-setup-heading { align-items: flex-start; flex-direction: column; gap: 8px; }
  .ratings-compare-setup-heading p { max-width: none; text-align: left; }
  .ratings-chart-heading { align-items: flex-start; flex-direction: column; }
  .ratings-chart-actions { width: 100%; flex-wrap: wrap; }
  .ratings-chart-scale { flex: 1; }
  .ratings-chart-heading .ratings-chart-scale button { flex: 1; }
  body[data-ratings-view="compare"] .ratings-chart { min-height: 350px; padding-inline: 7px; }
  body[data-ratings-view="compare"] .ratings-chart svg { height: 340px; }
  body[data-ratings-view="driver"] .ratings-hero { padding-top: 14px; padding-bottom: 14px; }
  body[data-ratings-view="driver"] .ratings-hero h1 { font-size: 34px; }
  body[data-ratings-view="driver"] .ratings-explorer { padding-top: 12px; }
  .ratings-profile-identity { align-items: flex-start; flex-direction: column; gap: 16px; padding: 18px; }
  .ratings-profile-identity h2 { font-size: 24px; white-space: normal; }
  .ratings-profile-picker { padding: 16px 18px 18px; }
  .ratings-profile-picker .ratings-driver-results { right: 18px; left: 18px; }
  .ratings-profile-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ratings-profile-highlights article:nth-child(3) { border-right: 1px solid var(--border); }
  .ratings-profile-highlights article:nth-child(2n) { border-right: 0; }
  .ratings-profile-highlights article:nth-child(n+3) { border-top: 1px solid var(--border); }
  body[data-ratings-view="driver"] .ratings-chart { min-height: 350px; padding-inline: 7px; }
  body[data-ratings-view="driver"] .ratings-chart svg { height: 340px; }
  .ratings-profile-events-heading { align-items: flex-start; flex-direction: column; }
  .ratings-profile-event-filters { width: 100%; }
  .ratings-profile-event-filters label { flex: 1 1 130px; }
  .ratings-profile-event-filters select { width: 100%; min-width: 0; }
  .ratings-profile-pagination { justify-content: space-between; padding-inline: 12px; }
}
@media (max-width: 480px) {
  .ratings-compare-slots, .ratings-compare-summary { grid-template-columns: 1fr; }
  .ratings-compare-summary article { border-right: 0; }
  .ratings-compare-summary article:nth-child(n+2) { border-top-width: 1px; }
  .ratings-chart-actions > button { flex: 1; }
  .ratings-chart-scale { flex-basis: 100%; }
  .ratings-chart-tooltip { max-width: calc(100% - 24px); }
  .ratings-profile-identity nav { width: 100%; }
  .ratings-profile-identity nav a { flex: 1; text-align: center; }
  .ratings-profile-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ratings-profile-summary > div:nth-child(2n) { border-right: 0; }
  .ratings-profile-summary > div:nth-child(n+3) { border-top: 1px solid var(--border); }
  .ratings-profile-highlights { grid-template-columns: 1fr; }
  .ratings-profile-highlights article { border-right: 0 !important; }
  .ratings-profile-highlights article:nth-child(n+2) { border-top: 1px solid var(--border); }
}

.ratings-directory .database-directory-heading { max-width: 850px; }
.ratings-directory .database-directory-heading p { line-height: 1.65; }
.ratings-directory .database-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 600px) { .ratings-directory .database-category-grid { grid-template-columns: 1fr; } }

/* Ratings usability pass: clearer evidence, actionable rows and compact responsive views. */
.ratings-heading-meta label small { max-width: 310px; color: var(--text-muted); font-size: 10px; line-height: 1.45; }
.ratings-heading-meta #ratings-updated { margin: 0; color: var(--text-secondary); font-size: 11px; line-height: 1.45; text-align: right; }
.ratings-heading-meta #ratings-updated[data-state="pending"] { max-width: 480px; padding: 8px 10px; border-left: 2px solid #d97706; background: #fff8e8; color: #76500a; }
.ratings-view-updated { display: none; }
body[data-ratings-view="compare"] .ratings-view-updated, body[data-ratings-view="driver"] .ratings-view-updated { display: block; margin-top: 10px; font-size: 10px; }
body[data-ratings-view="compare"] .ratings-view-updated[data-state="pending"], body[data-ratings-view="driver"] .ratings-view-updated[data-state="pending"] { color: #76500a; }
body[data-ratings-view="leaderboard"] .ratings-controls { width: min(100%, 300px); margin-left: auto; }
body[data-ratings-view="leaderboard"] .ratings-explorer { padding-top: 38px; }
body[data-ratings-view="leaderboard"] .ratings-board-hint { display: block; max-width: 430px; line-height: 1.5; }
body[data-ratings-view="leaderboard"] .ratings-uncertainty-column { display: table-cell; }
body[data-ratings-view="leaderboard"] .ratings-table th:nth-child(2) { width: 31%; }
body[data-ratings-view="leaderboard"] .ratings-table th:nth-child(4) { width: 14%; }
.ratings-driver-link { color: var(--text); font-weight: 850; text-decoration: none; }
.ratings-driver-link:hover, .ratings-driver-link:focus-visible { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.ratings-row-actions { display: flex; gap: 10px; height: 0; overflow: hidden; opacity: 0; transition: opacity .15s ease; }
.ratings-row-actions a { color: var(--text-muted); font-size: 9px; font-weight: 750; text-decoration: underline; text-underline-offset: 2px; }
.ratings-table tr:hover .ratings-row-actions, .ratings-table tr:focus-within .ratings-row-actions { height: auto; margin-top: 5px; opacity: 1; }
.ratings-chart-overlay:focus { outline: none; stroke: var(--accent); stroke-width: 2; }
.ratings-chart .rating-source-point { pointer-events: none; }
.ratings-profile-event summary:focus-visible, .ratings-driver-results button:focus-visible, .ratings-compare-slot:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }

@media (max-width: 680px) {
  .ratings-heading-meta #ratings-updated { text-align: left; }
  body[data-ratings-view="leaderboard"] .ratings-controls { width: 100%; margin-left: 0; }
  body[data-ratings-view="leaderboard"] .ratings-panel-heading { gap: 12px; }
  body[data-ratings-view="leaderboard"] .ratings-panel-actions { align-items: stretch; flex-direction: column; }
  body[data-ratings-view="leaderboard"] .ratings-order-toggle { order: 1; }
  body[data-ratings-view="leaderboard"] .ratings-board-hint { order: 2; max-width: none; font-size: 11px; }
  body[data-ratings-view="leaderboard"] .ratings-table-wrap { overflow: visible; }
  body[data-ratings-view="leaderboard"] .ratings-table { display: block; min-width: 0; }
  body[data-ratings-view="leaderboard"] .ratings-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  body[data-ratings-view="leaderboard"] .ratings-table tbody { display: grid; gap: 8px; padding: 9px; background: var(--surface-alt); }
  body[data-ratings-view="leaderboard"] .ratings-table tr { display: grid; grid-template-columns: 38px repeat(3, minmax(0, 1fr)); gap: 10px 8px; padding: 13px 12px; border: 1px solid var(--border); border-radius: 11px; background: #fff; }
  body[data-ratings-view="leaderboard"] .ratings-table td { display: block !important; width: auto; padding: 0; border: 0; text-align: left; }
  body[data-ratings-view="leaderboard"] .ratings-table td::before { display: block; margin-bottom: 3px; color: var(--text-muted); content: attr(data-label); font-size: 8px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
  body[data-ratings-view="leaderboard"] .ratings-table td:first-child { grid-column: 1; grid-row: 1 / 4; align-self: center; font-size: 18px; text-align: center; }
  body[data-ratings-view="leaderboard"] .ratings-table td:first-child::before, body[data-ratings-view="leaderboard"] .ratings-table td:nth-child(2)::before { display: none; }
  body[data-ratings-view="leaderboard"] .ratings-table td:nth-child(2) { grid-column: 2 / 5; grid-row: 1; }
  body[data-ratings-view="leaderboard"] .ratings-table td:nth-child(3) { grid-column: 2; grid-row: 2; font-size: 16px; }
  body[data-ratings-view="leaderboard"] .ratings-table td:nth-child(4) { grid-column: 4; grid-row: 2; }
  body[data-ratings-view="leaderboard"] .ratings-table td:nth-child(5) { grid-column: 2; grid-row: 3; }
  body[data-ratings-view="leaderboard"] .ratings-table td:nth-child(6) { grid-column: 3; grid-row: 3; }
  body[data-ratings-view="leaderboard"] .ratings-table td:nth-child(7) { grid-column: 3; grid-row: 2; font-size: 13px; }
  body[data-ratings-view="leaderboard"] .ratings-table .ratings-driver small { max-width: none; font-size: 10px; }
  body[data-ratings-view="leaderboard"] .ratings-row-actions { height: auto; margin-top: 6px; opacity: 1; }
  body[data-ratings-view="leaderboard"] .ratings-uncertainty strong { font-size: 10px; }
  body[data-ratings-view="leaderboard"] .ratings-uncertainty small { font-size: 9px; text-transform: none; }

  .ratings-profile-events-columns { display: none; }
  .ratings-profile-event summary { display: grid; min-width: 0; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 9px 12px; padding: 14px; }
  .ratings-profile-event summary > span { text-align: left !important; }
  .ratings-profile-event summary > span:nth-child(3), .ratings-profile-event summary > span:nth-child(6) { display: none; }
  .ratings-profile-event summary > span:nth-child(2), .ratings-profile-event summary > span:nth-child(4), .ratings-profile-event summary > span:nth-child(5) { grid-row: 2; font-size: 11px; }
  .ratings-profile-event summary > span:nth-child(2)::before, .ratings-profile-event summary > span:nth-child(4)::before, .ratings-profile-event summary > span:nth-child(5)::before { display: block; margin-bottom: 3px; color: var(--text-muted); content: attr(data-label); font-size: 8px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
  .ratings-profile-event-name { grid-column: 1 / -1; }
  .ratings-profile-event .ratings-profile-event-name strong { font-size: 12px; }
  .ratings-profile-event .ratings-profile-event-name small { font-size: 9px; }
  .ratings-profile-event-filters select { min-height: 42px; font-size: 10px; }
  .ratings-profile-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ratings-profile-highlights article { border-right: 1px solid var(--border) !important; }
  .ratings-profile-highlights article:nth-child(2n) { border-right: 0 !important; }
  .ratings-profile-highlights span, .ratings-profile-summary span { font-size: 8px; }
  .ratings-profile-highlights small, .ratings-profile-summary small { font-size: 9px; }
  body[data-ratings-view="methodology"] .ratings-hero { gap: 22px; padding-top: 34px; padding-bottom: 38px; }
  body[data-ratings-view="methodology"] .ratings-hero h1 { font-size: clamp(46px, 14vw, 64px); }
  body[data-ratings-view="methodology"] .ratings-hero-note { padding: 17px; }
}

@media (max-width: 480px) {
  .ratings-compare-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ratings-compare-summary article:nth-child(n+2) { border-top-width: 3px; }
  .ratings-compare-summary article:nth-child(2n) { border-right: 0; }
  .ratings-compare-summary dl { grid-template-columns: repeat(2, 1fr); }
  .ratings-compare-summary article { padding: 12px; }
  .ratings-profile-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Leaderboard control: a single historical timeline aligned with the table. */
body[data-ratings-view="leaderboard"] { background: linear-gradient(180deg, #fafafa 0, var(--background) 27rem); }
body[data-ratings-view="leaderboard"] .ratings-hero { padding-top: 20px; padding-bottom: 24px; }
body[data-ratings-view="leaderboard"] .ratings-explorer { padding-top: 22px; border-top: 0; }
body[data-ratings-view="leaderboard"] .ratings-command-bar {
  display: block;
  width: 100%;
  margin: 0 0 20px;
}
body[data-ratings-view="leaderboard"] .ratings-heading { display: flex; }
body[data-ratings-view="leaderboard"] .ratings-controls { display: grid; }
body[data-ratings-view="leaderboard"] .ratings-timeline {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body[data-ratings-view="leaderboard"] .ratings-timeline-heading { margin-bottom: 10px; }
body[data-ratings-view="leaderboard"] .ratings-timeline-copy strong { font-size: 16px; }
body[data-ratings-view="leaderboard"] .ratings-timeline-copy small { font-size: 10px; }
body[data-ratings-view="leaderboard"] .ratings-timeline-range { height: 22px; }
body[data-ratings-view="leaderboard"] .ratings-timeline-range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 0;
  background-color: #dfe3e8;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 calc((100% / var(--timeline-steps, 12)) - 1px), rgba(255, 255, 255, .8) calc((100% / var(--timeline-steps, 12)) - 1px) calc(100% / var(--timeline-steps, 12))),
    linear-gradient(90deg, var(--accent) 0 var(--timeline-progress, 100%), transparent var(--timeline-progress, 100%) 100%);
}
body[data-ratings-view="leaderboard"] .ratings-timeline-range::-webkit-slider-thumb { width: 18px; height: 18px; margin-top: -6px; border-width: 4px; box-shadow: 0 0 0 2px var(--accent), 0 2px 5px rgba(17, 19, 24, .18); }
body[data-ratings-view="leaderboard"] .ratings-timeline-range::-moz-range-track { height: 6px; border-radius: 0; background: repeating-linear-gradient(90deg, #dfe3e8 0 calc((100% / var(--timeline-steps, 12)) - 1px), #9ea5ae calc((100% / var(--timeline-steps, 12)) - 1px) calc(100% / var(--timeline-steps, 12))); }
body[data-ratings-view="leaderboard"] .ratings-timeline-range::-moz-range-progress { height: 6px; border-radius: 0; }
body[data-ratings-view="leaderboard"] .ratings-timeline-range::-moz-range-thumb { width: 10px; height: 10px; border-width: 4px; box-shadow: 0 0 0 2px var(--accent), 0 2px 5px rgba(17, 19, 24, .18); }
body[data-ratings-view="leaderboard"] .ratings-timeline-actions #ratings-timeline-zoom {
  border-color: var(--border);
  background: #fff;
  color: var(--text-secondary);
}

@media (max-width: 680px) {
  body[data-ratings-view="leaderboard"] .ratings-hero { padding-top: 16px; padding-bottom: 20px; }
  body[data-ratings-view="leaderboard"] .ratings-explorer { padding-top: 16px; }
  body[data-ratings-view="leaderboard"] .ratings-timeline { border-right: 0; }
  body[data-ratings-view="leaderboard"] .ratings-timeline-heading { margin-bottom: 13px; }
  body[data-ratings-view="leaderboard"] .ratings-timeline-copy strong { font-size: 15px; }
}

/* Ratings clarity and accessibility pass. */
body[data-ratings-view] .ratings-command-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 280px);
  gap: 12px;
}
body[data-ratings-view] .ratings-heading {
  min-height: 104px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: #fff;
  box-shadow: var(--shadow-small);
}
body[data-ratings-view] .ratings-heading > div:first-child { display: block; }
body[data-ratings-view] .ratings-heading h2 { margin-top: 5px; font-size: 20px; letter-spacing: -.025em; }
body[data-ratings-view] .ratings-heading-meta { align-items: flex-end; flex-direction: row; gap: 14px; }
body[data-ratings-view] .ratings-heading-meta label { min-width: 215px; }
body[data-ratings-view] .ratings-heading-meta #ratings-updated { max-width: 260px; }
body[data-ratings-view="leaderboard"] .ratings-controls {
  align-content: center;
  width: auto;
  margin: 0;
  padding: 13px;
}
body[data-ratings-view="leaderboard"] .ratings-timeline { grid-column: 1 / -1; }
body[data-ratings-view="compare"] .ratings-command-bar,
body[data-ratings-view="driver"] .ratings-command-bar { grid-template-columns: 1fr; }
body[data-ratings-view="compare"] .ratings-heading,
body[data-ratings-view="driver"] .ratings-heading { display: flex; }
body[data-ratings-view="compare"] .ratings-controls,
body[data-ratings-view="driver"] .ratings-controls { display: none; }

.ratings-timeline-season-picker { display: grid; gap: 3px; }
.ratings-timeline-season-picker > span { color: #626975; font-size: 8px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.ratings-timeline-season-picker select { min-width: 82px; height: 31px; border: 1px solid var(--border); border-radius: 7px; background: #fff; color: var(--text); font: inherit; font-size: 10px; font-weight: 750; }
.ratings-timeline-heading span { color: var(--accent); }
.ratings-timeline-heading small, .ratings-timeline-scale { color: #626975; }

.ratings-scale-context { display: flex; align-items: center; gap: 9px 14px; padding: 10px 15px; border-bottom: 1px solid var(--border); background: #fafbfc; color: #626975; font-size: 10px; line-height: 1.45; }
.ratings-scale-context strong { color: var(--text); }
.ratings-scale-context a, .ratings-method a, .ratings-caveat a { margin-left: auto; color: var(--text-secondary); font-weight: 800; text-underline-offset: 3px; }
.ratings-score { display: block; }
.ratings-score small { display: block; margin-top: 2px; color: #626975; font-size: 7px; font-weight: 750; text-transform: uppercase; }
.ratings-table th,
.ratings-driver small,
.ratings-uncertainty small,
.ratings-profile-events-columns,
.ratings-compare-slot > span,
.ratings-compare-slot small { color: #5b626d; }
.ratings-table td:first-child { color: #505761; }
.ratings-change.positive { color: #08723b; }
.ratings-change.negative { color: #a52533; }

.ratings-compare-presets { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 13px; }
.ratings-compare-presets > span { margin-right: 2px; color: #626975; font-size: 8px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.ratings-compare-presets button { min-height: 36px; padding: 8px 11px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface-alt); color: var(--text-secondary); cursor: pointer; font: inherit; font-size: 9px; font-weight: 800; }
.ratings-compare-presets button:hover { border-color: var(--border-strong); color: var(--text); }
.ratings-compare-summary article > div:first-child a { color: inherit; text-decoration: none; }
.ratings-compare-summary article > div:first-child a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

.ratings-chart-inspector { display: grid; grid-template-columns: auto minmax(180px, 1fr) auto; align-items: center; gap: 11px; padding: 11px 18px 14px; border-top: 1px solid var(--border); color: var(--text-secondary); }
.ratings-chart-inspector[hidden] { display: none; }
.ratings-chart-inspector span { font-size: 9px; font-weight: 850; letter-spacing: .06em; text-transform: uppercase; }
.ratings-chart-inspector input { width: 100%; min-height: 28px; accent-color: var(--accent); }
.ratings-chart-inspector small { color: #626975; font-size: 9px; }
.ratings-chart-heading .ratings-chart-scale button, .ratings-chart-heading .ratings-uncertainty-toggle { color: #626975; }
.ratings-chart-overlay:focus { outline: none; stroke: none; }

.ratings-event-disclosure { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; color: #626975; font-size: 8px; font-weight: 800; }
.ratings-event-disclosure b { color: var(--accent); font-size: 12px; transition: transform .15s ease; }
.ratings-event[open] .ratings-event-disclosure b { transform: rotate(180deg); }
.ratings-profile-event summary:focus-visible { outline-offset: -3px; }

.ratings-method-copy article { scroll-margin-top: calc(var(--header-height) + 24px); }
.ratings-method-copy p { font-size: 13px; }
.ratings-method a, .ratings-caveat a { margin-left: 0; }

@media (max-width: 900px) {
  body[data-ratings-view] .ratings-command-bar { grid-template-columns: 1fr; }
  body[data-ratings-view] .ratings-heading-meta { align-items: stretch; flex-direction: column; }
  body[data-ratings-view] .ratings-heading-meta #ratings-updated { max-width: none; text-align: left; }
  body[data-ratings-view="leaderboard"] .ratings-controls { width: 100%; }
}

@media (max-width: 680px) {
  body[data-ratings-view] .ratings-heading { min-height: 0; align-items: stretch; flex-direction: column; gap: 13px; padding: 14px; }
  body[data-ratings-view] .ratings-heading h2 { font-size: 18px; }
  body[data-ratings-view] .ratings-heading-meta label { min-width: 0; }
  body[data-ratings-view] .ratings-heading-meta select { min-height: 44px; }
  .ratings-timeline-heading { grid-template-columns: 1fr; }
  .ratings-timeline-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .ratings-timeline-season-picker { grid-column: 1 / -1; }
  .ratings-timeline-season-picker select { width: 100%; min-height: 44px; }
  .ratings-timeline-stepper { display: grid; grid-template-columns: 1fr 1fr; }
  .ratings-timeline-stepper button, .ratings-timeline-heading button { width: auto; min-height: 44px; }
  .ratings-timeline-track { display: none; }
  .ratings-scale-context { align-items: flex-start; flex-direction: column; }
  .ratings-scale-context a { margin-left: 0; }
  .ratings-table .ratings-row-actions a { display: inline-flex; min-height: 44px; align-items: center; padding-right: 9px; }
  .ratings-compare-slot.selected > button { right: 9px; bottom: 9px; width: 44px; height: 44px; }
  .ratings-compare-slot.selected { min-height: 92px; padding-right: 60px; }
  .ratings-compare-presets button { min-height: 44px; }
  .ratings-chart .ratings-line-label { display: none; }
  .ratings-chart-inspector { grid-template-columns: 1fr; }
  .ratings-chart-inspector input { min-height: 44px; }
  .ratings-chart-heading .ratings-chart-scale button,
  .ratings-chart-heading .ratings-uncertainty-toggle,
  .ratings-chart-actions > button { min-height: 44px; }
  .ratings-profile-identity nav a { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; }
  .ratings-profile-pagination a, .ratings-profile-pagination button { min-width: 44px; min-height: 44px; }
  body:has(.ratings-page) .privacy-banner,
  body:has(.ratings-directory) .privacy-banner { gap: 10px; padding: 13px; }
  body:has(.ratings-page) .privacy-banner-copy strong,
  body:has(.ratings-directory) .privacy-banner-copy strong { margin-bottom: 3px; font-size: 13px; }
  body:has(.ratings-page) .privacy-banner-copy p,
  body:has(.ratings-directory) .privacy-banner-copy p { font-size: 10px; line-height: 1.4; }
  body:has(.ratings-page) .privacy-banner-actions,
  body:has(.ratings-directory) .privacy-banner-actions { grid-template-columns: 1fr 1fr; }
  body:has(.ratings-page) .privacy-banner .button,
  body:has(.ratings-directory) .privacy-banner .button { min-height: 42px; padding: 8px; }
}

/* Connected ratings navigation and analysis surfaces. */
.ratings-local-nav { position: sticky; z-index: 30; top: var(--header-height); border-bottom: 1px solid var(--border); background: rgba(255, 255, 255, .96); backdrop-filter: blur(12px); }
.ratings-local-nav .container { display: flex; overflow-x: auto; gap: 4px; padding-block: 7px; scrollbar-width: none; }
.ratings-local-nav .container::-webkit-scrollbar { display: none; }
.ratings-local-nav a { flex: 0 0 auto; padding: 8px 12px; border-radius: 7px; color: var(--text-secondary); font-size: 10px; font-weight: 800; text-decoration: none; }
.ratings-local-nav a:hover { background: var(--surface-alt); color: var(--text); }
.ratings-local-nav a[aria-current="page"] { background: var(--text); color: #fff; }

.ratings-overview-live { margin-top: 56px; padding-top: 46px; border-top: 1px solid var(--border); }
.ratings-overview-live-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 18px; }
.ratings-overview-live-heading h2 { margin: 6px 0; font-size: 32px; }
.ratings-overview-live-heading p { margin: 0; color: #5b626d; font-size: 11px; }
.ratings-overview-live-heading label { display: grid; width: min(100%, 360px); gap: 6px; }
.ratings-overview-live-heading label span { color: #5b626d; font-size: 9px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.ratings-overview-live-heading input { min-height: 44px; padding: 0 13px; border: 1px solid var(--border); border-radius: 9px; background: #fff; font: inherit; }
.ratings-overview-search-results:not(:empty) { margin-bottom: 14px; border: 1px solid var(--border); border-radius: 12px; background: #fff; }
.ratings-overview-search-results ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 6px; list-style: none; }
.ratings-overview-search-results p { margin: 0; padding: 18px; color: #5b626d; }
.ratings-overview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.ratings-overview-grid > article { overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: var(--shadow-small); }
.ratings-overview-grid .ratings-overview-feature { grid-column: 1 / -1; }
.ratings-overview-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--border); }
.ratings-overview-card-heading span { color: var(--accent); font-size: 8px; font-weight: 850; letter-spacing: .09em; }
.ratings-overview-card-heading a { color: var(--text-secondary); font-size: 9px; font-weight: 800; }
.ratings-overview-list { margin: 0; padding: 0; list-style: none; }
.ratings-overview-list li + li { border-top: 1px solid var(--border); }
.ratings-overview-list a, .ratings-overview-search-results a { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 3px 15px; min-height: 58px; align-content: center; padding: 10px 16px; color: var(--text); text-decoration: none; }
.ratings-overview-list a:hover, .ratings-overview-search-results a:hover { background: var(--surface-alt); }
.ratings-overview-list strong, .ratings-overview-search-results strong { font-size: 11px; }
.ratings-overview-list small, .ratings-overview-search-results small { grid-column: 1; color: #5b626d; font-size: 8px; }
.ratings-overview-list b, .ratings-overview-search-results b { grid-column: 2; grid-row: 1 / 3; align-self: center; font-size: 17px; }
#ratings-overview-feature { padding: 22px; }
#ratings-overview-feature h3 { margin: 0 0 6px; font-size: 24px; }
#ratings-overview-feature p { margin: 0; color: #5b626d; }
#ratings-overview-feature div { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
#ratings-overview-feature span { padding: 8px 10px; border-radius: 7px; background: var(--surface-alt); font-size: 10px; font-weight: 800; }

.ratings-board-filters { display: grid; grid-template-columns: minmax(190px, 1.5fr) repeat(2, minmax(140px, 1fr)) auto; align-items: end; gap: 9px; padding: 12px 15px; border-bottom: 1px solid var(--border); }
.ratings-board-filters label { display: grid; gap: 5px; }
.ratings-board-filters label span { color: #5b626d; font-size: 8px; font-weight: 850; letter-spacing: .07em; text-transform: uppercase; }
.ratings-board-filters input, .ratings-board-filters select { width: 100%; min-height: 40px; border: 1px solid var(--border); border-radius: 8px; background: #fff; font: inherit; font-size: 10px; }
.ratings-board-filters input { padding: 0 11px; }
.ratings-board-filters output { min-width: 74px; padding-bottom: 12px; color: #5b626d; font-size: 9px; text-align: right; }
.ratings-rank-movement { display: block; margin-top: 3px; font-size: 8px; }
.ratings-rank-movement.positive { color: #08723b; }
.ratings-rank-movement.negative { color: #a52533; }

.ratings-compare-insights { display: none; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--border); background: #fafbfc; }
.ratings-compare-insights:not(:empty) { display: grid; }
.ratings-compare-insights > div { min-width: 0; padding: 13px 15px; border-right: 1px solid var(--border); }
.ratings-compare-insights > div:last-child { border-right: 0; }
.ratings-compare-insights span, .ratings-compare-insights strong, .ratings-compare-insights small { display: block; }
.ratings-compare-insights span { color: var(--accent); font-size: 7px; font-weight: 850; letter-spacing: .08em; }
.ratings-compare-insights strong { margin-top: 5px; font-size: 12px; }
.ratings-compare-insights small { margin-top: 3px; color: #5b626d; font-size: 8px; }

.ratings-model-breakdown { display: none; grid-template-columns: minmax(210px, .8fr) repeat(4, minmax(180px, 1fr)); border-bottom: 1px solid var(--border); }
.ratings-model-breakdown:not(:empty) { display: grid; }
.ratings-model-breakdown header, .ratings-model-breakdown article { padding: 14px 16px; border-right: 1px solid var(--border); }
.ratings-model-breakdown header span, .ratings-model-breakdown article > span { color: var(--accent); font-size: 8px; font-weight: 850; letter-spacing: .08em; }
.ratings-model-breakdown header p { margin: 5px 0 0; color: #5b626d; font-size: 8px; line-height: 1.45; }
.ratings-model-breakdown article { border-top: 3px solid var(--driver-color); }
.ratings-model-breakdown article > div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 9px; }
.ratings-model-breakdown article p { margin: 0; }
.ratings-model-breakdown article strong, .ratings-model-breakdown article b, .ratings-model-breakdown article small { display: block; }
.ratings-model-breakdown article strong { color: #5b626d; font-size: 7px; }
.ratings-model-breakdown article b { margin-top: 3px; font-size: 13px; }
.ratings-model-breakdown article small { color: #5b626d; font-size: 7px; }

.ratings-validation-live dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 12px 0; border: 1px solid var(--border); border-radius: 10px; }
.ratings-validation-live dl div { padding: 12px; border-right: 1px solid var(--border); }
.ratings-validation-live dl div:last-child { border-right: 0; }
.ratings-validation-live dt { color: #5b626d; font-size: 8px; font-weight: 800; }
.ratings-validation-live dd { margin: 5px 0 0; font-size: 16px; font-weight: 850; }

.ratings-hero-note > span { color: var(--accent); }

body.fe-mode[data-ratings-view="leaderboard"] .ratings-heading,
body.fe-mode[data-ratings-view="leaderboard"] .ratings-controls { display: none; }

@media (max-width: 760px) {
  .ratings-local-nav a { min-height: 40px; padding-inline: 11px; }
  .ratings-overview-live-heading { align-items: stretch; flex-direction: column; }
  .ratings-overview-live-heading label { width: 100%; }
  .ratings-overview-grid, .ratings-overview-search-results ul { grid-template-columns: 1fr; }
  .ratings-overview-grid .ratings-overview-feature { grid-column: 1; }
  .ratings-board-filters { grid-template-columns: 1fr 1fr; }
  .ratings-board-filters label:first-child, .ratings-board-filters output { grid-column: 1 / -1; }
  .ratings-board-filters input, .ratings-board-filters select { min-height: 44px; }
  .ratings-board-filters output { padding: 0; text-align: left; }
  .ratings-compare-insights { grid-template-columns: 1fr 1fr; }
  .ratings-compare-insights > div:nth-child(2n) { border-right: 0; }
  .ratings-compare-insights > div:nth-child(n+3) { border-top: 1px solid var(--border); }
  .ratings-model-breakdown { grid-template-columns: 1fr; }
  .ratings-model-breakdown header, .ratings-model-breakdown article { border-right: 0; border-bottom: 1px solid var(--border); }
  .ratings-validation-live dl { grid-template-columns: 1fr 1fr; }
  .ratings-validation-live dl div:nth-child(2n) { border-right: 0; }
  .ratings-validation-live dl div:nth-child(n+3) { border-top: 1px solid var(--border); }
}
