SchemeArena / css /main.css
JieRuan's picture
Add SchemeArena logo (nav, hero, favicon) and paper Figure 5 to Results
5fcbb0e verified
Raw History Blame Contribute Delete
27 kB
/* SchemeArena project page */
:root {
--bg: #f7f6f3;
--card: #ffffff;
--ink: #15171b;
--ink-2: #3a3f47;
--muted: #6b7079;
--line: #e4e2dd;
--line-2: #efede9;
--accent: #b9470f; /* SchemeArena orange (benchmark design) */
--accent-soft: #fbeee5;
--scout: #0d5677; /* SCOUT blue (monitor) */
--scout-soft: #e5f2f8;
--goal: #2c79b5; --goal-soft: #dcecf8;
--pressure: #a8651a; --pressure-soft: #f5e6d0;
--oversight: #3c8a37; --oversight-soft: #e0f2da;
--hint: #9a4592; --hint-soft: #f4e2f1;
--m-q8: #a78bdb; --m-q32: #5b3fb8;
--m-o4: #23a585; --m-o1: #0c6a52;
--m-claude: #d2714f;
--radius: 12px;
--shadow: 0 1px 2px rgba(20, 22, 26, .04), 0 4px 16px rgba(20, 22, 26, .05);
--sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
--serif: "Source Serif 4", Georgia, "Times New Roman", serif;
--mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
margin: 0;
background: var(--bg);
color: var(--ink);
font-family: var(--sans);
line-height: 1.6;
-webkit-font-smoothing: antialiased;
}
a { color: var(--scout); }
img { max-width: 100%; }
code, .mono { font-family: var(--mono); font-size: .86em; }
/* ---------- Navigation ---------- */
#topNav {
position: sticky; top: 0; z-index: 50;
display: flex; align-items: center; gap: 16px;
height: 58px; padding: 0 24px;
background: rgba(255, 255, 255, .92);
backdrop-filter: saturate(160%) blur(8px);
border-bottom: 1px solid var(--line);
}
.nav-brand {
display: flex; align-items: center; gap: 9px;
font-weight: 700; font-size: 1.08rem; letter-spacing: -.01em;
color: var(--ink); text-decoration: none; white-space: nowrap;
}
.brand-mark { width: 26px; height: 26px; flex: none; }
.nav-tabs { display: flex; gap: 2px; margin-left: 8px; }
.tab-btn {
border: 0; background: transparent; cursor: pointer;
font: 500 .9rem var(--sans); color: var(--muted);
padding: 7px 14px; border-radius: 8px;
transition: background .15s, color .15s;
}
.tab-btn:hover { background: var(--line-2); color: var(--ink); }
.tab-btn.active { background: var(--ink); color: #fff; }
.nav-links { display: flex; gap: 8px; margin-left: auto; }
.badge {
display: inline-flex; align-items: center; gap: 7px;
padding: 7px 14px; border-radius: 999px;
font: 600 .84rem var(--sans); text-decoration: none; cursor: pointer;
color: var(--ink); background: var(--card);
border: 1px solid var(--line);
transition: transform .15s, box-shadow .15s, border-color .15s;
}
.badge:hover { transform: translateY(-1px); box-shadow: var(--shadow); border-color: #cfccc5; }
.badge svg, .badge img { width: 16px; height: 16px; flex: none; }
.badge.solid { background: var(--ink); color: #fff; border-color: var(--ink); }
.nav-links .badge { padding: 5px 11px; font-size: .8rem; }
/* ---------- Layout ---------- */
main { padding: 0 24px 64px; }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fade .25s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.wrap { max-width: 1080px; margin: 0 auto; }
.narrow { max-width: 820px; margin: 0 auto; }
section.block { margin-top: 64px; }
.eyebrow {
font: 600 .74rem var(--sans); letter-spacing: .12em; text-transform: uppercase;
color: var(--accent); margin: 0 0 8px;
}
.eyebrow.blue { color: var(--scout); }
h2.section-title {
font-family: var(--serif); font-weight: 600; font-size: 1.85rem;
letter-spacing: -.01em; line-height: 1.2; margin: 0 0 12px;
}
.lead { color: var(--ink-2); font-size: 1.02rem; margin: 0 0 24px; max-width: 760px; }
.card {
background: var(--card); border: 1px solid var(--line);
border-radius: var(--radius); box-shadow: var(--shadow);
}
.caption { color: var(--muted); font-size: .86rem; margin-top: 10px; }
/* ---------- Hero ---------- */
.hero {
position: relative; overflow: hidden;
margin: 0 -24px; padding: 72px 24px 56px;
background:
radial-gradient(900px 380px at 12% 0%, #fde6d6 0%, rgba(253, 230, 214, 0) 70%),
radial-gradient(900px 380px at 92% 10%, #d9ecf6 0%, rgba(217, 236, 246, 0) 70%),
var(--bg);
border-bottom: 1px solid var(--line);
text-align: center;
}
.hero .pill {
display: inline-flex; gap: 8px; align-items: center;
padding: 5px 12px; border-radius: 999px;
background: rgba(255, 255, 255, .75); border: 1px solid var(--line);
font: 600 .76rem var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2);
}
.hero .pill .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 {
font-family: var(--serif); font-weight: 600;
font-size: clamp(2rem, 4.6vw, 3.25rem); line-height: 1.12; letter-spacing: -.015em;
margin: 18px auto 10px; max-width: 900px;
}
.hero h1 .name { color: var(--accent); }
.hero .subtitle { font-size: 1.12rem; color: var(--ink-2); margin: 0 auto 22px; max-width: 720px; }
.authors { font-size: 1rem; color: var(--ink); margin: 0 auto 4px; max-width: 860px; }
.authors span { white-space: nowrap; margin: 0 7px; }
.authors sup { color: var(--muted); font-size: .7em; margin-left: 1px; }
.affil { color: var(--muted); font-size: .92rem; margin: 6px 0 2px; }
.notes { color: var(--muted); font-size: .8rem; margin: 0 0 26px; }
.hero-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.stats {
display: grid; grid-template-columns: repeat(5, 1fr);
margin: 40px auto 0; max-width: 1000px;
background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
box-shadow: var(--shadow); overflow: hidden;
}
.stat { padding: 18px 12px; text-align: center; border-left: 1px solid var(--line-2); }
.stat:first-child { border-left: 0; }
.stat .num { font-family: var(--serif); font-size: 1.85rem; font-weight: 600; line-height: 1.1; }
.stat .lbl { color: var(--muted); font-size: .8rem; margin-top: 4px; line-height: 1.35; }
/* ---------- Abstract / TL;DR ---------- */
.tldr {
padding: 22px 26px; border-left: 4px solid var(--accent);
background: var(--card); border-radius: 0 var(--radius) var(--radius) 0; box-shadow: var(--shadow);
font-size: 1.04rem; color: var(--ink-2);
}
.tldr b { color: var(--ink); }
.abstract p { color: var(--ink-2); margin: 0 0 14px; }
/* ---------- Figure ---------- */
.figure { padding: 14px; }
.figure img { display: block; width: 100%; height: auto; border-radius: 8px; }
/* ---------- Factor cards ---------- */
.factors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.factor { padding: 18px 18px 16px; position: relative; overflow: hidden; }
.factor::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--c); }
.factor .tag {
display: inline-block; padding: 2px 9px; border-radius: 6px;
background: var(--soft); color: var(--c); font: 700 .74rem var(--sans); letter-spacing: .04em; text-transform: uppercase;
}
.factor h3 { font-size: 1.02rem; margin: 10px 0 6px; }
.factor p { font-size: .9rem; color: var(--ink-2); margin: 0 0 10px; }
.factor .levels { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.factor .levels span { font-size: .76rem; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.factor blockquote {
margin: 0; padding: 8px 10px; border-radius: 8px; background: var(--soft);
font-size: .8rem; color: var(--ink-2); font-style: italic;
}
.f-goal { --c: var(--goal); --soft: var(--goal-soft); }
.f-pressure { --c: var(--pressure); --soft: var(--pressure-soft); }
.f-oversight { --c: var(--oversight); --soft: var(--oversight-soft); }
.f-hint { --c: var(--hint); --soft: var(--hint-soft); }
/* ---------- Setups ---------- */
.setups-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; align-items: start; }
.setup-table-wrap { padding: 8px 6px 14px; overflow-x: auto; }
table.setup-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 460px; }
.setup-table th, .setup-table td { padding: 9px 6px; text-align: center; }
.setup-table thead th { font-weight: 700; font-size: .95rem; }
.setup-table .grp th { font: italic 500 .82rem var(--serif); color: var(--muted); padding-bottom: 0; }
.setup-table .grp th span { display: block; border-bottom: 1.5px solid #cfccc5; padding-bottom: 4px; margin: 0 6px; }
.setup-table tbody th { text-align: left; font-weight: 600; padding-left: 14px; white-space: nowrap; }
.setup-table tbody th i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; background: var(--c); }
.setup-table td.on { font-weight: 600; }
.setup-table td.on span { display: inline-block; min-width: 46px; padding: 2px 8px; border-radius: 999px; background: var(--soft); color: var(--c); font-size: .8rem; }
.setup-table td.off { color: #bdbab3; }
.setup-table tbody tr + tr { border-top: 1px solid var(--line-2); }
.prompt-card { padding: 18px 20px; }
.prompt-card .hdr { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.prompt-card .hdr b { font-size: .88rem; }
.prompt-card .hdr span { font: 500 .74rem var(--mono); color: var(--muted); }
.prompt-text { font-size: .93rem; line-height: 1.75; color: var(--ink-2); margin: 0; }
.prompt-text mark { padding: 1px 3px; border-radius: 4px; color: var(--ink); }
.prompt-text mark.p { background: var(--pressure-soft); box-shadow: inset 0 -2px 0 #e2bd8a; }
.prompt-text mark.g { background: var(--goal-soft); box-shadow: inset 0 -2px 0 #9ccbec; }
.prompt-text mark.o { background: var(--oversight-soft); box-shadow: inset 0 -2px 0 #a8dc9e; }
.prompt-text mark.h { background: var(--hint-soft); box-shadow: inset 0 -2px 0 #e2b3dc; }
.legend-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; font-size: .78rem; color: var(--muted); }
.legend-row i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }
/* ---------- Example scenario ---------- */
.example { display: grid; grid-template-columns: 1fr 1.35fr; gap: 18px; align-items: start; }
.scenario-card { padding: 20px; }
.kv { display: grid; grid-template-columns: 112px 1fr; gap: 8px 14px; font-size: .9rem; }
.kv dt { font: 700 .7rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.kv dd { margin: 0; color: var(--ink-2); }
.kv dd.goal { color: var(--goal); font-weight: 600; }
.kv dd.pressure { color: var(--pressure); font-weight: 600; }
.chips { display: flex; flex-wrap: wrap; gap: 5px; }
.chip { font: 500 .76rem var(--mono); padding: 2px 8px; border-radius: 6px; background: var(--line-2); color: var(--ink-2); }
.trace { padding: 8px 0; }
.trace h4 { margin: 12px 20px 8px; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.step { display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 10px 20px; border-top: 1px solid var(--line-2); }
.step .idx {
width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
font: 700 .74rem var(--mono); background: var(--line-2); color: var(--ink-2);
}
.step.act .idx { background: var(--accent-soft); color: var(--accent); }
.step .call { font: 600 .84rem var(--mono); color: var(--ink); }
.step .why { font-size: .86rem; color: var(--ink-2); margin: 2px 0 6px; }
.rtags { display: flex; flex-wrap: wrap; gap: 5px; }
.rtag { font: 700 .7rem var(--sans); padding: 2px 8px; border-radius: 999px; background: var(--scout-soft); color: var(--scout); white-space: nowrap; }
.verdict {
display: flex; align-items: center; gap: 10px; margin: 8px 20px 12px; padding: 10px 14px; border-radius: 10px;
background: #fdecea; color: #a12a1c; font-weight: 600; font-size: .9rem;
}
/* ---------- Taxonomy ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.tax { padding: 20px; }
.tax h3 { margin: 0 0 12px; font-size: 1rem; }
.tax ul { list-style: none; padding: 0; margin: 0; }
.tax li { padding: 9px 0; border-top: 1px solid var(--line-2); font-size: .88rem; color: var(--ink-2); }
.tax li:first-child { border-top: 0; padding-top: 0; }
.tax li b { color: var(--ink); }
.tax .code { font: 700 .72rem var(--mono); color: var(--accent); margin-right: 6px; }
.goal-classes { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.goal-class { padding: 10px 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line-2); }
.goal-class b { font-size: .86rem; }
.goal-class div { font-size: .8rem; color: var(--muted); margin-top: 3px; line-height: 1.45; }
/* ---------- SCOUT ---------- */
.scout { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; align-items: stretch; }
.criteria { padding: 8px 0; }
.crit { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 12px 20px; border-top: 1px solid var(--line-2); }
.crit:first-child { border-top: 0; }
.crit .r { font: 700 .82rem var(--mono); color: var(--scout); background: var(--scout-soft); border-radius: 8px; height: 30px; display: grid; place-items: center; }
.crit b { font-size: .92rem; }
.crit p { margin: 2px 0 0; font-size: .85rem; color: var(--ink-2); }
.crit .where { font: 600 .68rem var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-left: 6px; }
.rule { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.rule h3 { margin: 0; font-size: 1rem; }
.cond { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.cond .t { font: 700 .72rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cond .f { font: 600 .92rem var(--mono); margin-top: 4px; }
.and { text-align: center; font: 700 .8rem var(--sans); color: var(--muted); letter-spacing: .1em; }
.out { background: var(--scout); color: #fff; border-radius: 10px; padding: 12px 14px; font-weight: 600; text-align: center; }
.mini-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.mini { padding: 14px; text-align: center; }
.mini .num { font: 600 1.45rem var(--serif); color: var(--scout); }
.mini .lbl { font-size: .76rem; color: var(--muted); line-height: 1.35; }
/* ---------- Findings ---------- */
.findings { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.finding { padding: 22px; }
.finding .n { font: 600 2rem var(--serif); color: var(--accent); line-height: 1; }
.finding h3 { font-size: 1.02rem; margin: 10px 0 8px; line-height: 1.35; }
.finding p { font-size: .88rem; color: var(--ink-2); margin: 0; }
.finding .big { font: 600 1.15rem var(--serif); color: var(--ink); margin-top: 12px; }
/* ---------- Citation ---------- */
.cite { position: relative; }
.cite pre {
margin: 0; padding: 20px 22px; overflow-x: auto;
font: 500 .82rem/1.6 var(--mono); color: #e8e6e1; background: #1c1e22; border-radius: var(--radius);
}
.copy-btn {
position: absolute; top: 12px; right: 12px; cursor: pointer;
font: 600 .76rem var(--sans); color: #fff; background: rgba(255, 255, 255, .12);
border: 1px solid rgba(255, 255, 255, .2); border-radius: 8px; padding: 5px 10px;
}
.copy-btn:hover { background: rgba(255, 255, 255, .2); }
.license-note { font-size: .86rem; color: var(--muted); margin-top: 14px; }
/* ---------- Results ---------- */
.page-head { padding: 48px 0 8px; }
.page-head h1 { font-family: var(--serif); font-weight: 600; font-size: 2.2rem; margin: 0 0 6px; letter-spacing: -.01em; }
.page-head p { color: var(--ink-2); margin: 0; max-width: 760px; }
.chart-card { padding: 20px 20px 14px; }
.chart-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; align-items: baseline; margin-bottom: 6px; }
.chart-head h3 { margin: 0; font-size: 1.02rem; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: .8rem; color: var(--ink-2); }
.legend i { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.chart svg { width: 100%; height: auto; display: block; }
.chart text { font-family: var(--sans); }
.bar { transition: opacity .15s; }
.chart:hover .bar { opacity: .55; }
.chart .bar:hover { opacity: 1; }
#tooltip {
position: fixed; pointer-events: none; z-index: 80; opacity: 0;
background: var(--ink); color: #fff; font-size: .8rem; padding: 6px 10px; border-radius: 8px;
transform: translate(-50%, -120%); transition: opacity .1s; white-space: nowrap;
}
.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: .88rem; }
table.data th, table.data td { padding: 10px 12px; text-align: right; white-space: nowrap; }
table.data th:first-child, table.data td:first-child { text-align: left; }
table.data thead th { font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid var(--line); font-weight: 600; }
table.data tbody tr + tr td { border-top: 1px solid var(--line-2); }
table.data td.na { color: #bdbab3; }
.mdot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; }
.delta { font-size: .76rem; font-weight: 600; margin-left: 6px; }
.delta.up { color: #a12a1c; }
.footnote { font-size: .8rem; color: var(--muted); margin-top: 10px; }
.heat td.cell { text-align: center; font: 600 .82rem var(--mono); border-radius: 6px; }
.heat { border-collapse: separate; border-spacing: 4px; }
.heat thead th { text-align: center; white-space: normal; line-height: 1.3; vertical-align: bottom; }
.realism { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.hbar { display: grid; grid-template-columns: 190px 1fr 52px; gap: 10px; align-items: center; font-size: .84rem; padding: 5px 0; }
.hbar .track { height: 10px; background: var(--line-2); border-radius: 999px; overflow: hidden; }
.hbar .fill { height: 100%; border-radius: 999px; background: var(--accent); }
.hbar .fill.blue { background: var(--scout); }
.hbar .v { font: 600 .8rem var(--mono); text-align: right; }
/* ---------- Explorer ---------- */
.explorer { display: grid; grid-template-columns: 330px 1fr; gap: 18px; align-items: start; margin-top: 18px; }
.ex-side { position: sticky; top: 74px; max-height: calc(100vh - 92px); display: flex; flex-direction: column; overflow: hidden; }
.ex-controls { padding: 14px; border-bottom: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 8px; }
.ex-controls input, .ex-controls select {
width: 100%; font: 500 .88rem var(--sans); color: var(--ink);
padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg);
}
.ex-controls input:focus, .ex-controls select:focus { outline: 2px solid #f1c6ab; border-color: var(--accent); }
.ex-count { font-size: .76rem; color: var(--muted); }
.ex-list { overflow-y: auto; flex: 1; }
.ex-item {
display: block; width: 100%; text-align: left; border: 0; background: transparent; cursor: pointer;
padding: 11px 14px; border-top: 1px solid var(--line-2); font-family: var(--sans);
}
.ex-item:hover { background: var(--bg); }
.ex-item.active { background: var(--accent-soft); box-shadow: inset 3px 0 0 var(--accent); }
.ex-item .top { display: flex; justify-content: space-between; gap: 8px; font-size: .74rem; color: var(--muted); }
.ex-item .top b { color: var(--ink); font-family: var(--mono); }
.ex-item .task { font-size: .85rem; color: var(--ink-2); margin-top: 3px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.4; }
.ex-detail { padding: 24px; min-height: 420px; }
.ex-detail .head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 4px; }
.ex-detail .head h2 { font-family: var(--serif); font-size: 1.6rem; margin: 0; }
.cat-chip { font: 600 .76rem var(--sans); padding: 3px 10px; border-radius: 999px; background: var(--scout-soft); color: var(--scout); }
.ex-sec { margin-top: 22px; }
.ex-sec h4 { margin: 0 0 8px; font: 700 .72rem var(--sans); letter-spacing: .09em; text-transform: uppercase; color: var(--muted); }
.ex-sec p { margin: 0; color: var(--ink-2); font-size: .93rem; white-space: pre-wrap; }
.goal-box { border-left: 3px solid var(--goal); background: var(--goal-soft); padding: 12px 14px; border-radius: 0 10px 10px 0; }
.task-box { border-left: 3px solid var(--line); background: var(--bg); padding: 12px 14px; border-radius: 0 10px 10px 0; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 2px; background: var(--line-2); padding: 3px; border-radius: 9px; margin-bottom: 10px; }
.seg button { border: 0; background: transparent; cursor: pointer; font: 600 .78rem var(--sans); color: var(--muted); padding: 5px 10px; border-radius: 7px; }
.seg button.active { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.prompt-pre {
margin: 0; padding: 14px 16px; border-radius: 10px; background: var(--bg); border: 1px solid var(--line-2);
font: 400 .85rem/1.65 var(--sans); color: var(--ink-2); white-space: pre-wrap; word-break: break-word;
}
.prompt-pre .lbl { display: block; font: 700 .68rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.prompt-pre + .prompt-pre { margin-top: 8px; }
.tools { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.tool { border: 1px solid var(--line); border-radius: 10px; padding: 12px; }
.tool .nm { font: 600 .84rem var(--mono); color: var(--ink); word-break: break-word; }
.tool .meta { font-size: .72rem; color: var(--muted); margin: 3px 0 6px; }
.tool .meta .m { font: 700 .66rem var(--mono); color: var(--oversight); background: var(--oversight-soft); padding: 1px 5px; border-radius: 4px; margin-right: 6px; }
.tool .ds { font-size: .82rem; color: var(--ink-2); line-height: 1.45; }
.files { display: grid; grid-template-columns: 240px 1fr; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; min-height: 260px; }
.file-list { border-right: 1px solid var(--line); background: var(--bg); max-height: 420px; overflow-y: auto; }
.file-btn { display: block; width: 100%; text-align: left; border: 0; background: transparent; cursor: pointer; padding: 8px 12px; font: 500 .78rem var(--mono); color: var(--ink-2); word-break: break-all; }
.file-btn:hover { background: var(--line-2); }
.file-btn.active { background: var(--card); color: var(--accent); box-shadow: inset 3px 0 0 var(--accent); }
.file-view { margin: 0; padding: 14px 16px; font: 400 .8rem/1.6 var(--mono); color: #e8e6e1; background: #1c1e22; overflow: auto; max-height: 420px; white-space: pre; }
.empty { color: var(--muted); font-size: .9rem; }
.loading { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.spinner { width: 16px; height: 16px; border: 2px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
/* ---------- Modal ---------- */
.modal { display: none; position: fixed; inset: 0; z-index: 90; background: rgba(15, 16, 19, .45); align-items: center; justify-content: center; padding: 16px; }
.modal.open { display: flex; }
.modal-box { background: var(--card); border-radius: 14px; padding: 22px; width: min(680px, 100%); box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.modal-box .mh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-weight: 700; }
.modal-box .x { border: 0; background: none; font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--muted); }
footer { text-align: center; color: var(--muted); font-size: .8rem; padding: 36px 16px 48px; border-top: 1px solid var(--line); margin-top: 72px; }
footer a { color: var(--ink-2); }
/* ---------- Responsive ---------- */
@media (max-width: 980px) {
.factors { grid-template-columns: repeat(2, 1fr); }
.setups-grid, .example, .scout, .realism { grid-template-columns: 1fr; }
.findings { grid-template-columns: 1fr; }
.stats { grid-template-columns: repeat(3, 1fr); }
.stat:nth-child(4) { border-left: 0; }
.stat:nth-child(n+4) { border-top: 1px solid var(--line-2); }
.explorer { grid-template-columns: 1fr; }
.ex-side { position: static; max-height: 380px; }
}
@media (max-width: 760px) {
#topNav { flex-wrap: wrap; height: auto; padding: 10px 16px; gap: 8px; }
.nav-tabs { order: 3; width: 100%; margin-left: 0; overflow-x: auto; }
.nav-links { margin-left: auto; }
.nav-links .badge .lbl { display: none; }
main { padding: 0 16px 48px; }
.hero { margin: 0 -16px; padding: 48px 16px 40px; }
.two-col, .goal-classes { grid-template-columns: 1fr; }
.factors { grid-template-columns: 1fr; }
.stats { grid-template-columns: repeat(2, 1fr); }
.stat { border-left: 0 !important; border-top: 1px solid var(--line-2); }
.stat:nth-child(-n+2) { border-top: 0; }
.stat:nth-child(odd) { border-right: 1px solid var(--line-2); }
.stat:last-child { grid-column: span 2; border-right: 0; }
.mini-stats { grid-template-columns: repeat(2, 1fr); }
.kv { grid-template-columns: 1fr; gap: 2px; }
.kv dd { margin-bottom: 8px; }
.files { grid-template-columns: 1fr; }
.file-list { border-right: 0; border-bottom: 1px solid var(--line); max-height: 180px; }
.hbar { grid-template-columns: 120px 1fr 40px; }
.ex-detail { padding: 18px; }
h2.section-title { font-size: 1.55rem; }
}
/* ---------- Fixes ---------- */
.setups-grid > *, .example > *, .scout > *, .two-col > *, .realism > *, .explorer > *, .factors > *, .findings > * { min-width: 0; }
.badge img { width: auto; height: 14px; }
.badge img[src*="huggingface"] { height: 16px; }
table.setup-table { table-layout: fixed; }
table.setup-table col.lab { width: 120px; }
table.data.fixed { table-layout: fixed; min-width: 560px; }
table.data.fixed col.lab { width: 30%; }
.big .arr { font-family: var(--sans); font-weight: 500; color: var(--muted); margin: 0 4px; }
.authors { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px 14px; }
.authors span { margin: 0; }
.step > div, .crit > div { min-width: 0; }
.step .call, .chip, .kv dd { overflow-wrap: anywhere; }
.tool .mnote { font-size: .76rem; color: var(--muted); margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--line); line-height: 1.45; }
.tool .meta { overflow-wrap: anywhere; }
.page-head h1, h2.section-title { line-height: 1.18; }
.verdict { align-items: flex-start; font-weight: 500; line-height: 1.5; }
.verdict svg { flex: none; margin-top: 2px; }
.brand-mark { width: 28px; height: 28px; object-fit: contain; }
.hero-logo { display: block; width: 84px; height: auto; margin: 0 auto 18px; filter: drop-shadow(0 6px 14px rgba(75, 86, 98, .18)); }
.result-fig { display: block; width: 100%; height: auto; border-radius: 8px; margin-top: 6px; }
@media (max-width: 760px) { .hero-logo { width: 64px; margin-bottom: 14px; } }