RISEBench_Leaderboard / styles.css
renjianzhexuejia's picture
Unify task subcategory dropdown width and remove submission UI code
027d464 verified
Raw History Blame Contribute Delete
30.9 kB
:root {
--ink: #152c3b;
--muted: #627581;
--blue: #167b79;
--teal: #167b79;
--navy: #163a48;
--line: #dfe7e8;
--surface: #fff;
--canvas: #f7f9f9;
--soft: #edf6f4;
--shadow: 0 6px 32px #153c4410;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Arial, sans-serif;
color: var(--ink);
font-size: 16px;
font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; background: var(--canvas); line-height: 1.65; -webkit-font-smoothing: antialiased; }
button, input, select, summary { font: inherit; -webkit-tap-highlight-color: transparent; }
button, summary, select { cursor: pointer; }
button { border: 0; background: none; color: inherit; }
button:disabled { cursor: not-allowed; opacity: .45; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--blue); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
.skip-link { position: fixed; top: -100px; left: 20px; padding: 12px 20px; background: white; z-index: 99; }
.skip-link:focus { top: 12px; }
.page-width { width: min(1536px, calc(100% - 96px)); margin-inline: auto; }
.muted { color: var(--muted); }
.divider { margin: 0 8px; color: #b1c0c4; }
/* Compact page heading */
main { padding-bottom: 48px; }
.leaderboard-header { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; padding-block: 36px 30px; }
.leaderboard-header h1 { font-size: clamp(28px, 2.5vw, 36px); font-weight: 650; line-height: 1.25; letter-spacing: -1.1px; margin: 0; }
.resource-links { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.resource-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-size: 15px; font-weight: 550; color: #58717f; }
.resource-links a:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.resource-links span { font-size: 14px; color: #8b9eaa; }
.eyebrow { font-size: 12px; letter-spacing: 1.4px; font-weight: 700; color: var(--blue); display: flex; align-items: center; gap: 9px; line-height: 1.6; }
.eyebrow.muted { color: var(--muted); }
/* Benchmark switcher and context */
.board-section { scroll-margin-top: 24px; }
.benchmark-bar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; padding-bottom: 22px; }
.benchmark-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 24px; max-width: 100%; margin-left: auto; }
.benchmark-tabs { display: inline-flex; gap: 6px; padding: 6px; background: #eaf0f0; border: 1px solid #dde6e7; border-radius: 14px; }
.benchmark-tabs button { display: flex; align-items: center; justify-content: center; padding: 10px 22px; min-height: 50px; border: 1px solid transparent; border-radius: 10px; font-size: 20px; font-weight: 650; color: #637982; letter-spacing: -.5px; transition: background .15s, color .15s; }
.benchmark-tabs button:hover { color: var(--ink); }
.benchmark-tabs button[aria-pressed=true] { background: white; color: var(--ink); border-color: #d8e5e3; box-shadow: 0 2px 6px #193b4810; }
.plus { color: var(--teal); }
.text-button { padding: 0; color: var(--blue); font-size: 14px; font-weight: 600; white-space: nowrap; }
.text-button:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
/* Instruction language is a result setting, shared by both score views. */
.board-options { display: flex; align-items: center; margin-left: auto; }
.result-language { display: flex; align-items: center; gap: 13px; flex-shrink: 0; margin-left: auto; }
.result-language > span { font-size: 13px; color: #627886; }
.language-tabs { display: flex; gap: 3px; padding: 4px; background: #eaf0f5; border: 1px solid #dde5ed; border-radius: 11px; }
.language-tabs button { min-height: 38px; min-width: 75px; padding: 6px 16px; border: 1px solid transparent; border-radius: 7px; font-size: 14px; font-weight: 550; line-height: 1.5; color: #718599; }
.language-tabs button:hover { color: #355777; background: #ffffff65; }
.language-tabs button[aria-pressed=true] { background: #fff; color: #355777; border-color: #d5e0eb; box-shadow: 0 1px 4px #2649630d; font-weight: 650; }
@media (max-width: 540px) {
.board-options { width: 100%; margin-top: 14px; }
.result-language { width: 100%; justify-content: space-between; }
.language-tabs button { min-height: 40px; padding-inline: 13px; min-width: 70px; }
}
/* Results toolbar */
.board-card { background: white; border: 1px solid #d8e2e4; border-radius: 18px; box-shadow: var(--shadow); overflow: visible; }
.view-row { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); padding: 18px 24px; gap: 20px; }
.view-tabs { display: flex; align-items: center; padding: 4px; gap: 4px; background: #f0f4f4; border-radius: 11px; }
.view-tabs button { font-size: 15px; font-weight: 600; color: #667b86; min-height: 42px; padding: 9px 16px; border: 1px solid transparent; border-radius: 8px; white-space: nowrap; }
.view-tabs button[aria-pressed=true] { color: #186760; background: white; border-color: #dce7e4; box-shadow: 0 1px 4px #213c4310; }
.view-tabs button > span { font-size: 12px; font-weight: 500; color: #6b8388; margin-left: 6px; }
.view-actions { display: flex; gap: 10px; align-items: center; }
.quiet-button, .outline-button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; font-size: 15px; font-weight: 550; padding: 10px 14px; min-height: 44px; border-radius: 9px; white-space: nowrap; transition: background .15s, border-color .15s; }
.quiet-button { color: #516c78; }
.quiet-button:hover { background: #edf4f3; color: #1e635e; }
.view-actions .quiet-button { border: 1px solid #dce5e7; background: white; }
.view-actions .quiet-button:hover { border-color: #a8c9c5; background: #f6faf9; }
.button-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.outline-button { border: 1px solid #c8d8db; background: white; padding: 11px 18px; }
.outline-button:hover { border-color: var(--teal); background: #f4faf8; }
.column-menu { position: relative; }
.column-menu summary { list-style: none; }
.column-menu summary::-webkit-details-marker { display: none; }
.column-popover { position: absolute; top: calc(100% + 12px); right: 0; background: white; border: 1px solid #d6e3e2; border-radius: 14px; padding: 14px; box-shadow: 0 12px 44px #173b4926; width: 264px; z-index: 20; }
.column-popover .eyebrow { padding: 5px 8px 12px; font-size: 11px; }
.column-popover label { display: flex; align-items: center; font-size: 15px; gap: 12px; padding: 8px; border-radius: 6px; }
.column-popover label:hover { background: #edf6f3; }
input[type=checkbox] { accent-color: var(--teal); width: 17px; height: 17px; margin: 0; cursor: pointer; flex-shrink: 0; vertical-align: middle; }
.filter-row { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 22px 24px 16px; }
.search-box { display: flex; align-items: center; border: 1px solid #cedcdf; border-radius: 10px; height: 46px; width: 270px; padding: 0 13px; gap: 10px; flex-shrink: 0; background: #fff; transition: box-shadow .15s, border-color .15s; }
.search-box svg { width: 19px; height: 19px; fill: none; stroke: #728d96; stroke-width: 1.7; flex-shrink: 0; }
.search-box input { min-width: 0; width: 100%; border: 0; outline: none; font-size: 16px; background: transparent; color: var(--ink); padding: 0; }
.search-box input::placeholder { color: #7a8d96; }
.search-box:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px #167b7912; }
.search-box kbd { border: 1px solid #dfe7e9; border-radius: 4px; padding: 0 6px; color: #8b9da4; font: 13px/22px ui-monospace, monospace; }
.group-filters { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.group-filters button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 11px; min-height: 42px; border-radius: 8px; font-size: 14px; font-weight: 550; color: #667f89; border: 1px solid transparent; white-space: nowrap; }
.group-filters button span { font-size: 12px; min-width: 23px; padding: 1px 5px; line-height: 1.5; text-align: center; background: #edf2f3; color: #6b838d; border-radius: 5px; font-variant-numeric: tabular-nums; }
.group-filters button:hover { background: #f2f7f6; color: var(--ink); }
.group-filters button[aria-pressed=true] { color: #1d6c63; background: #eaf5f0; border-color: #cee5dc; }
.group-filters button[aria-pressed=true] span { background: #d5eae1; color: #317867; }
.input-filter { margin-left: auto; position: relative; flex-shrink: 0; }
.input-filter:after { content: ""; width: 7px; height: 7px; border: solid #62828a; border-width: 0 1.7px 1.7px 0; transform: rotate(45deg); position: absolute; right: 17px; top: 18px; pointer-events: none; }
.input-filter select { appearance: none; -webkit-appearance: none; display: block; width: 228px; height: 46px; border: 1px solid #cedcdf; border-radius: 10px; padding: 0 40px 0 15px; background: white; color: #476572; font-size: 15px; font-weight: 500; line-height: normal; outline: none; transition: border-color .15s, box-shadow .15s; }
.input-filter select:hover { border-color: #97b9b5; }
.input-filter select:focus-visible { border-color: var(--teal); box-shadow: 0 0 0 3px #167b7917; outline: none; }
.table-context { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; padding: 0 26px 20px; color: #788e97; font-size: 13px; }
.table-context > #result-count { color: #58727c; }
.table-context strong { color: #244d59; font-weight: 650; }
.sort-hint { margin-left: auto; }
/* Wide, readable score table. Row headers and data cells share geometry. */
.table-scroll { overflow: auto; scrollbar-width: thin; scrollbar-color: #adc9c5 #f2f7f5; border-top: 1px solid var(--line); }
.table-scroll:focus-visible { outline-offset: -2px; }
.table-scroll table { width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-size: 16px; }
.table-scroll thead th { height: 72px; background: #f2f6f6; color: #526d77; font-weight: 600; border-bottom: 1px solid #d7e3e3; text-align: center; padding: 10px 8px; vertical-align: middle; font-size: 14px; }
.table-scroll thead th button { font-size: 14px; font-weight: 600; line-height: 1.4; width: 100%; display: flex; align-items: center; justify-content: center; gap: 5px; padding: 8px 0; }
.sort-icon { font-size: 12px; color: #afc0c4; }
.table-scroll th[aria-sort=ascending] .sort-icon, .table-scroll th[aria-sort=descending] .sort-icon { color: var(--teal); }
.table-scroll thead th.active-sort { background: #e6f2ed; color: #1c7868; }
.table-scroll thead th.summary-result { background: #e9eef5; color: #45617e; }
.table-scroll thead th.summary-result.active-sort { background: #dfe8f2; color: #355777; }
.table-scroll thead th.summary-result.active-sort .sort-icon { color: #52769b; }
.table-scroll tbody td, .table-scroll tbody th { padding: 14px 8px; border-bottom: 1px solid #e8eeee; height: 72px; vertical-align: middle; background: white; }
.table-scroll td { text-align: center; font-variant-numeric: tabular-nums; }
.table-scroll tbody tr:last-child > * { border-bottom: 0; }
.table-scroll tbody tr:hover td { box-shadow: inset 0 0 0 100px #17866e06; }
.table-scroll .select-cell { width: 42px; padding-inline: 6px; }
.table-scroll .rank-cell { width: 48px; color: #7f929a; font-size: 14px; }
.table-scroll td.rank-cell .rank-top { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; font-weight: 650; border-radius: 50%; background: #eef3f4; color: #557681; }
.table-scroll td.rank-cell .rank-1 { background: #fff2d7; color: #9c712a; }
.table-scroll td.rank-cell .rank-2 { background: #edf1f5; color: #657b91; }
.table-scroll td.rank-cell .rank-3 { background: #f7eae0; color: #9c7355; }
.table-scroll .model-cell { text-align: left; padding-left: 14px; width: 280px; position: sticky; left: 0; z-index: 3; background: white; border-right: 1px solid #e3ebeb; }
.table-scroll thead th.model-cell { background: #f2f6f6; z-index: 4; font-size: 14px; }
.table-scroll tbody th.model-cell { padding: 14px; }
.table-scroll .model-button { padding: 0; max-width: 100%; width: auto; text-align: left; display: block; font-size: 15px; font-weight: 600; color: #203f4c; line-height: 1.4; }
.model-button:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 4px; }
.model-meta { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 11px; font-weight: 450; color: #798e96; line-height: 1.3; }
.group-dot { width: 5px; height: 5px; border-radius: 50%; background: #7993b0; }
.group-dot.open { background: #509b82; }
.group-dot.agentic { background: #9c80b5; }
.ours-badge { font-size: 9px; font-weight: 650; letter-spacing: .5px; color: #30745a; background: #e1f1e9; padding: 2px 5px; border-radius: 4px; margin-left: 3px; }
.input-pill { display: inline-block; font-size: 11px; padding: 3px 7px; border: 1px solid #e0e8eb; border-radius: 6px; color: #788d97; white-space: nowrap; background: #fafcfc; }
.input-pill.multi { color: #447f7c; background: #edf6f3; border-color: #d7eae5; }
.score-cell { color: #365765; font-weight: 500; }
.score-cell.summary-result { font-size: 17px; font-weight: 650; color: #3c5976; }
.score-cell.overall { font-weight: 700; color: #355777; position: relative; font-size: 17px; }
.score-cell .score-meter { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); display: block; height: 3px; width: 44px; margin: 0; background: #7c98b51a; border-radius: 5px; overflow: hidden; }
.score-meter i { display: block; height: 3px; background: #92abc4; border-radius: 5px; }
.score-cell.missing { color: #aebec3; font-weight: 400; background: #fcfdfd !important; }
.score-cell.summary-result.missing { color: #9aaabd; background: #f3f5f9 !important; }
.table-scroll tbody tr:hover th.model-cell { background: #f5faf8; }
.table-scroll tbody tr.selected th.model-cell { background: #eaf5f0; box-shadow: inset 3px 0 #31947b; }
.table-scroll tbody tr.ours th.model-cell { background: #f0f8f3; }
.table-scroll tr.ours .model-button { color: #24754f; }
.table-footer { padding: 8px 20px; display: flex; align-items: center; justify-content: space-between; gap: 15px; font-size: 13px; color: #728b94; border-top: 1px solid var(--line); }
.footer-actions { display: flex; gap: 6px; align-items: center; }
.footer-actions .quiet-button { font-size: 13px; min-height: 38px; padding: 6px 10px; }
.empty-state { padding: 60px 20px; text-align: center; }
.empty-state > span { font-size: 40px; color: #a2c0c1; }
.empty-state h3 { font-size: 22px; margin: 5px; }
.empty-state p { font-size: 16px; color: var(--muted); margin: 0 0 24px; }
.primary-button { background: var(--teal); color: white; font-size: 15px; font-weight: 600; padding: 11px 19px; min-height: 46px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; box-shadow: 0 2px 4px #167b7910; }
.primary-button:hover:not(:disabled) { background: #106b67; color: white; }
.caption-text { font-size: 13px; color: #728991; margin: 10px 0 0; }
/* Comparisons and dialogs */
.compare-tray { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); width: min(1040px, calc(100% - 40px)); padding: 18px 22px; background: #fffffff5; backdrop-filter: blur(14px); border: 1px solid #c4dbd6; box-shadow: 0 12px 60px #163c4929; border-radius: 16px; z-index: 25; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.compare-tray > div:first-child { min-width: 0; }
.compare-tray strong { font-size: 13px; color: #527981; }
.compare-tray #compare-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 8px; }
.compare-chip { display: inline-flex; gap: 8px; align-items: center; background: #edf5f1; color: #45776d; font-size: 12px; border-radius: 6px; padding: 4px 9px; }
.compare-chip button { font-size: 18px; padding: 0 2px; line-height: 1; min-width: 20px; min-height: 24px; }
.tray-actions { display: flex; gap: 12px; flex-shrink: 0; }
dialog { padding: 28px 36px 36px; border: 1px solid #d6e3e3; border-radius: 20px; width: min(1060px, calc(100% - 40px)); max-height: 90vh; color: var(--ink); box-shadow: 0 25px 100px #12333f50; overflow: auto; }
dialog::backdrop { background: #15384070; backdrop-filter: blur(5px); }
.dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.dialog-close { font-size: 27px; color: #6a8892; padding: 0; line-height: 1; background: #f0f5f4; border-radius: 50%; width: 38px; height: 38px; flex-shrink: 0; }
.dialog-close:hover { background: #e1efea; }
.dialog-title { font-size: 30px; margin: 18px 0 7px; line-height: 1.35; letter-spacing: -.6px; }
.dialog-subtitle { font-size: 15px; color: var(--muted); margin: 0 0 24px; }
.comparison-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 20px; }
.radar { max-height: 380px; width: 100%; overflow: visible; }
.radar-label { font: 10.5px -apple-system,sans-serif; fill: #557782; }
.radar-value { font: 8px ui-monospace,monospace; fill: #90a5ad; }
.compare-summaries { display: flex; flex-direction: column; gap: 14px; }
.compare-summary { padding: 16px 18px; background: #f3f8f6; border: 1px solid #e0ebe6; border-radius: 10px; display: flex; justify-content: space-between; align-items: center; gap: 14px; }
.compare-summary h4 { font-size: 15px; margin: 0 0 7px; line-height: 1.5; }
.compare-summary p { font-size: 12px; color: var(--muted); margin: 0; }
.compare-summary strong { font-size: 30px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.compare-summary strong small { font-size: 11px; font-weight: 400; color: var(--muted); }
.series-dot { width: 7px; height: 7px; display: inline-block; border-radius: 50%; margin-right: 6px; }
.comparison-warning { padding: 13px 16px; border: 1px solid #e8ddbb; background: #fffbef; color: #8b7742; font-size: 13px; border-radius: 8px; margin: 18px 0; }
.comparison-table-wrap { overflow: auto; }
.comparison-table { width: 100%; border-collapse: collapse; font-size: 15px; margin-top: 20px; }
.comparison-table th, .comparison-table td { padding: 13px 12px; text-align: center; border-bottom: 1px solid #e3ebeb; font-variant-numeric: tabular-nums; min-width: 125px; }
.comparison-table th { font-size: 14px; background: #f0f6f3; font-weight: 600; }
.comparison-table th:first-child, .comparison-table td:first-child { text-align: left; min-width: 190px; }
.comparison-table .best-value { font-weight: 750; color: var(--teal); }
.comparison-section td { font-size: 11px; font-weight: 700; letter-spacing: 1px; color: #78948f; padding-top: 24px; background: #fcfefd; }
.dialog-actions { display: flex; gap: 12px; margin-top: 26px; justify-content: flex-end; flex-wrap: wrap; }
.citation-code { background: #f3f7f5; border: 1px solid #dfe8e3; border-radius: 10px; padding: 22px; font: 13px/1.85 ui-monospace,SFMono-Regular,monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.toast { position: fixed; bottom: 132px; left: 50%; transform: translateX(-50%); padding: 12px 22px; background: #234e58; color: #fff; font-size: 14px; border-radius: 10px; box-shadow: 0 5px 25px #17324d20; z-index: 100; text-align: center; max-width: 90%; }
.noscript { margin: 30px; text-align: center; }
.noscript a { text-decoration: underline; }
/* Maintain readable text at smaller widths; only the score table scrolls. */
@media (max-width: 1350px) {
.page-width { width: calc(100% - 64px); }
.filter-row { gap: 14px; }
.search-box { width: 240px; }
.group-filters { gap: 2px; }
.group-filters button { padding-inline: 9px; }
.input-filter select { width: 218px; }
}
@media (max-width: 1100px) {
.filter-row .search-box { width: 270px; }
.group-filters { order: 3; width: 100%; gap: 8px; }
.input-filter { margin-left: auto; }
.sort-hint { margin-left: 0; }
.view-row { padding-inline: 18px; gap: 12px; }
.view-tabs button { padding-inline: 12px; }
.view-actions { gap: 6px; }
.view-actions .quiet-button { padding-inline: 12px; font-size: 14px; }
}
@media (max-width: 820px) {
.page-width { width: calc(100% - 40px); }
.benchmark-tabs button { padding-inline: 16px; font-size: 19px; }
.view-row { flex-wrap: wrap; padding: 16px 20px; gap: 14px; }
.view-actions { margin-left: auto; }
.sort-hint { width: 100%; }
.table-context { padding-inline: 22px; }
.caption-text { text-align: left; max-width: none; }
.comparison-layout { grid-template-columns: 1fr; gap: 24px; }
.radar { max-height: 320px; }
.table-footer { flex-wrap: wrap; }
.compare-tray { padding: 16px; gap: 12px; }
.tray-actions { flex-direction: column-reverse; gap: 5px; }
.tray-actions .quiet-button { min-height: 30px; padding: 2px 12px; }
}
@media (max-width: 540px) {
.page-width { width: calc(100% - 32px); }
.leaderboard-header { padding-block: 26px 22px; gap: 12px; }
.leaderboard-header h1 { font-size: 28px; letter-spacing: -.7px; }
.resource-links { gap: 20px; }
.resource-links a { font-size: 14px; min-height: 36px; }
.benchmark-bar { display: block; padding-bottom: 18px; }
.benchmark-actions { flex-direction: column; align-items: stretch; gap: 16px; margin-top: 16px; }
.benchmark-actions .board-options { margin-top: 0; }
.benchmark-tabs { width: 100%; gap: 4px; padding: 5px; }
.benchmark-tabs button { flex: 1; padding: 9px 10px; min-height: 48px; font-size: 19px; }
.board-card { border-radius: 13px; }
.view-row { padding: 14px; gap: 14px; }
.view-tabs { width: 100%; gap: 2px; }
.view-tabs button { flex: 1 1 0; min-width: 0; white-space: normal; font-size: 14px; padding: 8px; min-height: 48px; line-height: 1.4; }
.view-tabs button > span { display: none; }
.view-actions { width: 100%; gap: 8px; justify-content: flex-end; }
.view-actions .quiet-button { font-size: 14px; min-height: 42px; padding: 7px 12px; }
.filter-row { padding: 16px 14px 14px; gap: 14px; }
.filter-row .search-box { width: 100%; }
.input-filter { width: 100%; order: 3; }
.input-filter select { width: 100%; font-size: 16px; }
.group-filters { order: 2; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.group-filters button { padding: 8px 10px; justify-content: space-between; font-size: 13px; border-color: #e2e9e9; }
.table-context { padding: 0 15px 16px; font-size: 12px; gap: 6px; }
.sort-hint { font-size: 12px; line-height: 1.8; }
.sort-hint .divider { margin-inline: 4px; }
.table-scroll .model-cell { width: 190px; }
.table-scroll tbody th.model-cell { padding: 14px 10px; }
.table-scroll .model-button { font-size: 15px; }
.table-footer { padding: 8px 14px; gap: 10px; font-size: 12px; }
.table-footer .divider { margin-inline: 4px; }
.compare-tray { width: calc(100% - 20px); bottom: 10px; padding: 12px; gap: 8px; align-items: start; }
.compare-tray #compare-chips { gap: 4px; }
.compare-chip { font-size: 11px; padding: 3px 7px; }
.compare-tray strong { font-size: 12px; }
.tray-actions .primary-button { font-size: 13px; padding: 9px 12px; }
.tray-actions .quiet-button { font-size: 13px; }
dialog { width: calc(100% - 20px); padding: 20px; border-radius: 15px; max-height: 92vh; }
.dialog-title { font-size: 26px; }
.dialog-subtitle { font-size: 14px; }
.dialog-top .eyebrow { font-size: 10px; letter-spacing: 1px; }
.compare-summary { padding: 13px; }
.compare-summary h4 { font-size: 14px; }
.comparison-table { font-size: 14px; }
.comparison-table th { font-size: 13px; }
.comparison-table th:first-child, .comparison-table td:first-child { min-width: 165px; }
.citation-code { padding: 15px; font-size: 12px; }
.dialog-actions { justify-content: flex-start; }
.dialog-actions .primary-button, .dialog-actions .outline-button { font-size: 14px; }
.toast { bottom: 175px; font-size: 13px; }
}
@media (max-width: 380px) {
.group-filters button { min-width: 0; padding-inline: 8px; gap: 5px; font-size: 12px; }
.group-filters button span { min-width: 20px; font-size: 11px; padding-inline: 4px; }
}
@media (prefers-reduced-motion: reduce) {
html { scroll-behavior: auto; }
* { animation: none !important; transition: none !important; }
}
/* Fine-grained results keep the same model rows, with a scoped score header. */
.view-row { flex-wrap: wrap; }
.view-actions { margin-left: auto; }
.breakdown-controls { padding: 18px 24px; border-bottom: 1px solid #e1e8ef; background: #f8fafd; display: flex; flex-wrap: wrap; gap: 18px 24px; align-items: center; }
.dimension-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.dimension-tabs button { padding: 7px 12px; min-height: 38px; border-radius: 7px; font-size: 14px; font-weight: 550; color: #718197; border: 1px solid transparent; }
.dimension-tabs button:hover { background: #eef2f8; color: #315778; }
.dimension-tabs button[aria-pressed=true] { background: #e8eef8; border-color: #cfdcef; color: #345980; }
.subcategory-filter { display: grid; grid-template-columns: 84px minmax(0, 1fr); align-items: center; gap: 12px; width: 540px; max-width: 100%; flex: 0 0 auto; font-size: 13px; color: #78899d; }
.subcategory-filter select { appearance: none; -webkit-appearance: none; width: 100%; min-width: 0; height: 44px; color: #3f5771; background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m2 2 4 4 4-4' fill='none' stroke='%2378899d' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 18px center; border: 1px solid #d0dce7; border-radius: 8px; padding: 8px 46px 8px 14px; font-size: 14px; }
.subcategory-filter select:hover { border-color: #9eb2ca; }
.subcategory-filter select:focus-visible { outline: 2px solid #dce6f3; outline-offset: 2px; border-color: #8aa4c7; }
.context-separator { padding: 0 10px; color: #a6b3bf; }
.column-popover { max-height: min(65vh, 540px); overflow-y: auto; width: 300px; }
.column-popover label { font-size: 14px; line-height: 1.5; }
.table-scroll .breakdown-table thead th { height: 110px; background: #f4f7fb; color: #506680; }
.table-scroll .breakdown-table thead th.active-sort { background: #e8eff9; color: #355d8a; }
.table-scroll .breakdown-table thead th.dimension-band { height: 38px; padding: 7px 12px; font-size: 12px; font-weight: 650; letter-spacing: .25px; color: #5e7088; border-bottom-color: #fff; }
.table-scroll .breakdown-table .dimension-band.dim-temporal { background: #edf0fb; }
.table-scroll .breakdown-table .dimension-band.dim-causal { background: #eff3e9; }
.table-scroll .breakdown-table .dimension-band.dim-spatial { background: #eaf2f5; }
.table-scroll .breakdown-table .dimension-band.dim-logical { background: #eef0f8; }
.table-scroll .breakdown-table .dimension-band.dim-counterfactual { background: #fbf0e7; }
/* Paper figures and citation form a quiet, visual closing section. */
.research-section { margin-top: 84px; }
.figure-section { margin-bottom: 72px; scroll-margin-top: 32px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 18px 30px; margin-bottom: 25px; }
.section-kicker { display: block; font-size: 11px; font-weight: 650; letter-spacing: 1.8px; color: #8a99ae; margin-bottom: 9px; }
.section-heading h2 { margin: 0; font-size: 34px; line-height: 1.2; font-weight: 650; letter-spacing: -.9px; color: #273d55; }
.section-heading .plus { color: #537da9; }
.section-note { color: #8592a3; font-size: 15px; padding-bottom: 3px; }
.research-figure { margin: 0; padding: 24px; border: 1px solid #e0e6ee; border-radius: 20px; background: white; box-shadow: 0 8px 36px #23395308; }
.research-figure a { display: block; position: relative; border-radius: 10px; overflow: hidden; }
.research-figure img { display: block; width: 100%; height: auto; }
.figure-expand { position: absolute; bottom: 14px; right: 14px; padding: 8px 14px; background: #ffffffee; box-shadow: 0 2px 15px #20395612; border: 1px solid #dce5ef; border-radius: 8px; color: #526983; font-size: 12px; opacity: 0; transition: opacity .2s; }
.research-figure a:hover .figure-expand, .research-figure a:focus-visible .figure-expand { opacity: 1; }
.citation-section { padding: 34px; background: linear-gradient(125deg, #eff3fa, #f7f8fb 70%, #f2f0fa); border: 1px solid #dee5ef; border-radius: 20px; scroll-margin-top: 32px; }
.citation-section .section-heading { align-items: center; margin-bottom: 22px; }
.citation-section h2 { font-size: 29px; }
.citation-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.citation-actions button { font-size: 14px; color: #526a86; }
.citation-actions .outline-button { border-color: #d4dfe9; }
.page-citation { margin: 0; padding: 26px; border: 1px solid #e1e7f0; background: #ffffffba; color: #5d6e83; font-size: 13px; line-height: 1.85; border-radius: 12px; white-space: pre-wrap; overflow-wrap: anywhere; }
.page-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #8b9bad; margin-top: 36px; font-size: 13px; }
.page-footer > span { font-weight: 650; letter-spacing: -.2px; color: #6d819a; }
.page-footer a { padding-block: 8px; }
@media (max-width: 1100px) {
.view-tabs button { padding-inline: 11px; font-size: 14px; }
.view-tabs button > span { margin-left: 3px; }
}
@media (max-width: 820px) {
.research-section { margin-top: 56px; }
.figure-section { margin-bottom: 48px; }
.section-heading h2 { font-size: 28px; }
.section-note { font-size: 14px; }
.research-figure { padding: 14px; border-radius: 14px; }
.citation-section { padding: 24px; }
}
@media (max-width: 540px) {
.view-tabs { display: flex; flex-wrap: wrap; }
.view-tabs button { flex-basis: 45%; font-size: 14px; }
.breakdown-controls { padding: 14px; gap: 14px; }
.dimension-tabs { gap: 4px; }
.dimension-tabs button { padding-inline: 9px; font-size: 13px; }
.subcategory-filter { grid-template-columns: minmax(0, 1fr); width: 100%; gap: 6px; }
.footer-actions { flex-wrap: wrap; gap: 2px; }
.footer-actions .quiet-button { padding-inline: 8px; font-size: 12px; }
.section-heading { gap: 12px; margin-bottom: 20px; }
.section-kicker { font-size: 10px; }
.research-figure { padding: 8px; border-radius: 12px; }
.citation-section { padding: 20px 16px; }
.citation-actions { width: 100%; }
.page-citation { padding: 15px; font-size: 12px; }
}