:root { color-scheme: light; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: #192d35; background: #f2f7ff; }
* { box-sizing: border-box; }
body { margin: 0; }
main { max-width: 1500px; margin: auto; padding: 64px 36px 28px; }
a { color: #075bc4; text-underline-offset: 3px; }
.eyebrow { color: #075bc4; font-size: 12px; font-weight: 750; letter-spacing: .16em; }
h1 { font-size: clamp(36px, 5vw, 60px); letter-spacing: -.05em; line-height: 1.1; margin: 14px 0; }
.subtitle { max-width: 650px; color: #5c6e74; font-size: 18px; line-height: 1.6; }
.summary { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 36px; }
.summary span { border: 1px solid #d7e1e2; border-radius: 6px; background: white; padding: 8px 14px; font-size: 15px; }
.guide { display: flex; flex-wrap: wrap; gap: 20px; color: #52676e; font-size: 15px; }
.guide span { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 9px; height: 9px; border-radius: 50%; }
.dot.exact { background: #00b86b; } .dot.under { background: #ffad00; } .dot.over { background: #9254ff; }
.method { font-size: 15px; color: #5c6e74; line-height: 1.7; margin-bottom: 32px; }
section { margin-bottom: 38px; }
.section-heading { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 16px; }
h2 { font-size: 25px; letter-spacing: -.03em; margin: 0 0 16px; }
.section-heading p { font-size: 15px; color: #63757b; }
fieldset { display: flex; gap: 20px; flex-wrap: wrap; border: 0; padding: 0; margin: 0 0 16px; font-size: 15px; }
legend { float: left; margin-right: 20px; font-weight: 650; }
label { cursor: pointer; display: flex; align-items: center; gap: 6px; }
input { accent-color: #075bc4; width: 15px; height: 15px; }
.table-wrap { overflow-x: auto; border: 1px solid #d9e2e4; border-radius: 10px; background: white; }
table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15px; text-align: center; }
caption { text-align: left; padding: 12px 18px; color: #62757c; background: #fafcfc; border-bottom: 1px solid #e1e8e9; }
th, td { padding: 16px 12px; border-bottom: 1px solid #e5ebec; }
thead th { vertical-align: bottom; min-width: 126px; font-weight: 650; }
thead th:first-child, .model { position: sticky; left: 0; z-index: 1; background: white; text-align: left; min-width: 230px; padding-left: 20px; border-right: 1px solid #e5ebec; }
thead th:first-child { z-index: 2; }
.image-link { display: block; text-decoration: none; color: inherit; }
.image-link img { display: block; width: 86px; height: 64px; object-fit: cover; border-radius: 5px; margin: 0 auto 10px; background: #f1f4f4; }
.image-link:hover { color: #075bc4; text-decoration: underline; }
small { display: block; font-size: 14px; color: #667980; font-weight: 400; margin-top: 5px; }
.provider th { text-align: left; color: #fff; background: #0866d9; padding: 1px 20px; font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.model { font-weight: 600; overflow-wrap: anywhere; }
td { font-size: 18px; font-variant-numeric: tabular-nums; }
td.exact { background: #80edb2; color: #064c2c; } td.under { background: #ffdb70; color: #603c00; } td.over { background: #d3b1ff; color: #431979; }
.metric { display: block; font-size: 18px; font-weight: 600; line-height: 1.7; white-space: nowrap; }
.metric + .metric { font-size: 16px; }
.accuracy, .normalized { font-size: 23px; font-weight: 700; min-width: 110px; }
.normalized, thead th:last-child { padding-left: 20px; padding-right: 20px; }
tbody:last-child tr:last-child > * { border-bottom: 0; }
#errors { background: #fff2df; border: 1px solid #e4bd7a; border-radius: 6px; padding: 16px; margin-bottom: 24px; font-size: 14px; white-space: pre-line; }
.empty { padding: 24px; background: white; border-radius: 8px; }
footer { padding-top: 20px; border-top: 1px solid #dbe4e5; color: #667980; font-size: 12px; line-height: 1.8; }
:focus-visible { outline: 3px solid #0866ed; outline-offset: 3px; }
@media (max-width: 600px) { main { padding: 30px 16px; } .subtitle { font-size: 16px; } fieldset { gap: 12px; } thead th:first-child, .model { min-width: 160px; max-width: 180px; padding-left: 12px; } }

.intro { border-top: 5px solid #0866ed; padding-top: 20px; }
h1 { color: #124bc1; }
h2 { color: #075bc4; }
.summary span { background: #dfeeff; border-color: #9ecbff; color: #164a8e; font-weight: 600; }
.accuracy { background: #e0f2ff; color: #074b88; }
.normalized { background: #e0f9f7; color: #075e59; }
.accuracy small, .normalized small { color: #405d70; }
caption { background: #e9f2ff; color: #254d83; }

.sorting { display: flex; flex-wrap: wrap; gap: 14px 24px; margin: 0 0 18px; font-size: 15px; }
.sorting label { flex-wrap: wrap; }
.sorting [hidden] { display: none; }
select { max-width: 100%; font: inherit; padding: 6px; border: 1px solid #a8bdd7; border-radius: 5px; background: white; color: #192d35; }
.sort-button { border: 0; background: none; color: #174f91; font: inherit; font-weight: 700; cursor: pointer; padding: 8px 4px; }
.sort-button:hover { text-decoration: underline; }
[aria-sort="ascending"], [aria-sort="descending"] { box-shadow: inset 0 -3px #0866d9; }
.normalized small { color: inherit; }
.guide { align-items: center; }
.color-legend { width: 320px; max-width: 100%; }
.color-ramp { height: 16px; border-radius: 5px; }
.scale-labels { display: flex; justify-content: space-between; margin-top: 5px; }
td:not([style]) { background: #edf0f4; }

.column-title { display: block; color: #174f91; padding: 6px 0; }
.sort-directions { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 7px; }
.model .sort-directions, thead th:first-child .sort-directions { justify-content: flex-start; }
.direction-button { padding: 5px 7px; border: 1px solid #a8bdd7; border-radius: 4px; background: #fff; color: #174f91; font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.direction-button:hover { background: #e0edff; }
.direction-button[aria-pressed="true"] { background: #075bc4; border-color: #075bc4; color: white; }
.confidence-intro { max-width: 1050px; color: #5c6e74; line-height: 1.7; margin: -4px 0 18px; }
.confidence-table .summary-metric { min-width: 135px; font-size: 21px; font-weight: 700; }
.confidence-table .summary-metric small { color: inherit; }
.confidence-table .outcome { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
.confidence-table .column-formula { max-width: 180px; margin: 2px auto 0; font-size: 11px; line-height: 1.35; }
