Spaces:
Running
Running
Download style.css from evaleval/eee-score-prediction: direct link, hf CLI and curl.
- Browser
- Download file 25.5 kB
-
https://huggingface.co/spaces/evaleval/eee-score-prediction/resolve/main/style.css
- Command line
-
hf download hf://spaces/evaleval/eee-score-prediction/style.css
-
curl -L -o style.css https://huggingface.co/spaces/evaleval/eee-score-prediction/resolve/main/style.css
25.5 kB
| :root { | |
| color-scheme: light; | |
| --page: #f9f9f7; | |
| --surface: #fcfcfb; | |
| --surface-2: #f3f2ee; | |
| --ink: #0b0b0b; | |
| --ink-2: #52514e; | |
| --muted: #898781; | |
| --grid: #e1e0d9; | |
| --axis: #c3c2b7; | |
| --ring: rgba(11, 11, 11, 0.10); | |
| --s1: #2a78d6; /* Ensemble */ | |
| --s2: #eb6834; /* PKPS */ | |
| --s3: #1baf7a; /* LRMC */ | |
| --s4: #b0408f; /* estimate for a setup the model has no score under */ | |
| --base: #898781; /* score-only baseline */ | |
| --seq-0: #cde2fb; --seq-1: #86b6ef; --seq-2: #3987e5; --seq-3: #1c5cab; --seq-4: #0d366b; | |
| --missing: #ecebe6; | |
| --accent-wash: rgba(42, 120, 214, 0.08); | |
| --good: #006300; | |
| --shadow: 0 1px 2px rgba(0,0,0,.04), 0 4px 16px rgba(0,0,0,.05); | |
| } | |
| @media (prefers-color-scheme: dark) { | |
| :root:not([data-theme="light"]) { | |
| color-scheme: dark; | |
| --page: #0d0d0d; --surface: #1a1a19; --surface-2: #232321; | |
| --ink: #f0efec; --ink-2: #c3c2b7; --muted: #898781; | |
| --grid: #2c2c2a; --axis: #383835; --ring: rgba(255,255,255,0.10); | |
| --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #d262ad; --base: #898781; | |
| --seq-0: #184f95; --seq-1: #256abf; --seq-2: #3987e5; --seq-3: #86b6ef; --seq-4: #cde2fb; | |
| --missing: #262624; --accent-wash: rgba(57, 135, 229, 0.14); --good: #0ca30c; | |
| --shadow: 0 1px 2px rgba(0,0,0,.4); | |
| } | |
| } | |
| :root[data-theme="dark"] { | |
| color-scheme: dark; | |
| --page: #0d0d0d; --surface: #1a1a19; --surface-2: #232321; | |
| --ink: #f0efec; --ink-2: #c3c2b7; --muted: #898781; | |
| --grid: #2c2c2a; --axis: #383835; --ring: rgba(255,255,255,0.10); | |
| --s1: #3987e5; --s2: #d95926; --s3: #199e70; --s4: #d262ad; --base: #898781; | |
| --seq-0: #184f95; --seq-1: #256abf; --seq-2: #3987e5; --seq-3: #86b6ef; --seq-4: #cde2fb; | |
| --missing: #262624; --accent-wash: rgba(57, 135, 229, 0.14); --good: #0ca30c; | |
| --shadow: 0 1px 2px rgba(0,0,0,.4); | |
| } | |
| * { box-sizing: border-box; } | |
| [hidden] { display: none ; } | |
| html, body { margin: 0; } | |
| body { | |
| background: var(--page); color: var(--ink); | |
| font: 15px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; | |
| -webkit-font-smoothing: antialiased; | |
| } | |
| a { color: var(--s1); text-decoration: none; } | |
| a:hover { text-decoration: underline; } | |
| code, .mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; } | |
| .wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; } | |
| /* header */ | |
| header.top { padding: 40px 0 8px; } | |
| .eyebrow { color: var(--muted); font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 600; } | |
| h1 { font-size: clamp(28px, 4.4vw, 44px); line-height: 1.08; margin: 10px 0 14px; letter-spacing: -.02em; font-weight: 700; max-width: 22ch; } | |
| .lede { font-size: 17px; color: var(--ink-2); max-width: 70ch; margin: 0 0 18px; } | |
| .links { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; } | |
| .pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--ring); background: var(--surface); color: var(--ink-2); font-size: 13px; } | |
| .pill:hover { color: var(--ink); text-decoration: none; border-color: var(--axis); } | |
| .theme-toggle { margin-left: auto; cursor: pointer; font: inherit; } | |
| /* stat tiles */ | |
| .tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 26px 0 10px; } | |
| .tile { background: var(--surface); border: 1px solid var(--ring); border-radius: 12px; padding: 14px 16px; } | |
| .tile .v { font-size: 28px; font-weight: 700; letter-spacing: -.02em; line-height: 1.1; } | |
| .tile .k { color: var(--ink-2); font-size: 13px; margin-top: 4px; } | |
| .tile .sub { color: var(--muted); font-size: 12px; margin-top: 2px; } | |
| .fresh { color: var(--muted); font-size: 12.5px; margin: 6px 0 0; } | |
| /* sections */ | |
| section { margin: 44px 0; } | |
| section > h2 { font-size: 22px; letter-spacing: -.01em; margin: 0 0 4px; } | |
| section > .sub { color: var(--ink-2); margin: 0 0 16px; max-width: 78ch; } | |
| .card { background: var(--surface); border: 1px solid var(--ring); border-radius: 14px; padding: 18px; box-shadow: var(--shadow); } | |
| .grid2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; } | |
| @media (max-width: 860px) { .grid2 { grid-template-columns: 1fr; } } | |
| .card h3 { margin: 0 0 2px; font-size: 15.5px; } | |
| .card .hint { color: var(--muted); font-size: 12.5px; margin: 0 0 10px; } | |
| /* controls */ | |
| .controls { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 14px; } | |
| .seg { display: inline-flex; background: var(--surface-2); border-radius: 10px; padding: 3px; border: 1px solid var(--ring); } | |
| .seg button { border: 0; background: transparent; color: var(--ink-2); font: inherit; font-size: 13.5px; padding: 6px 12px; border-radius: 7px; cursor: pointer; } | |
| .seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.12); font-weight: 600; } | |
| .combo { position: relative; min-width: min(420px, 100%); flex: 1 1 320px; max-width: 520px; } | |
| .combo input { width: 100%; font: inherit; padding: 9px 12px 9px 34px; border-radius: 10px; border: 1px solid var(--axis); background: var(--surface); color: var(--ink); } | |
| .combo input:focus { outline: 2px solid var(--s1); outline-offset: 1px; } | |
| .combo .icon { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; } | |
| .combo ul { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 4px; list-style: none; max-height: 320px; overflow: auto; background: var(--surface); border: 1px solid var(--ring); border-radius: 10px; box-shadow: var(--shadow); } | |
| .combo li { padding: 7px 10px; border-radius: 6px; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; font-size: 14px; } | |
| .combo li .meta { color: var(--muted); font-size: 12px; white-space: nowrap; } | |
| .combo li[aria-selected="true"], .combo li:hover { background: var(--accent-wash); } | |
| select, .chk { font: inherit; font-size: 13.5px; color: var(--ink); } | |
| select { padding: 7px 10px; border-radius: 8px; border: 1px solid var(--axis); background: var(--surface); max-width: 100%; } | |
| .chk { display: inline-flex; gap: 6px; align-items: center; color: var(--ink-2); cursor: pointer; } | |
| /* predictor */ | |
| .model-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-bottom: 6px; } | |
| .model-head .name { font-size: 20px; font-weight: 700; letter-spacing: -.01em; } | |
| .model-head .dev { color: var(--muted); } | |
| .legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12.5px; color: var(--ink-2); margin: 6px 0 10px; align-items: center; } | |
| .legend .sw { display: inline-block; vertical-align: -2px; margin-right: 5px; } | |
| .rows { display: grid; grid-template-columns: minmax(150px, 260px) minmax(0, 1fr) 86px; column-gap: 12px; align-items: center; } | |
| .rows .hdr { color: var(--muted); font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; padding: 0 0 6px; border-bottom: 1px solid var(--grid); } | |
| .row { display: contents; cursor: default; } | |
| .row > div { padding: 5px 0; border-bottom: 1px solid var(--grid); min-height: 34px; display: flex; align-items: center; } | |
| .row.pred > div { cursor: pointer; } | |
| .row.pred:hover > div, .row.open > div { background: var(--accent-wash); } | |
| .row .lab { font-size: 13.5px; gap: 6px; padding-left: 6px; } | |
| .row .lab .suite-kind { font-size: 10.5px; color: var(--muted); border: 1px solid var(--ring); border-radius: 4px; padding: 0 4px; } | |
| .row .val { justify-content: flex-end; font-variant-numeric: tabular-nums; font-size: 13.5px; padding-right: 6px; } | |
| .row .val .tag { font-size: 10.5px; color: var(--muted); margin-left: 6px; } | |
| .row svg { display: block; width: 100%; height: 22px; overflow: visible; } | |
| .why { grid-column: 1 / -1; background: var(--surface-2); border-bottom: 1px solid var(--grid); padding: 12px 14px 14px; font-size: 13.5px; } | |
| .why .cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 18px; } | |
| @media (max-width: 760px) { .why .cols { grid-template-columns: 1fr; } } | |
| @media (max-width: 600px) { | |
| .rows { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr) 52px; column-gap: 8px; } | |
| .row .lab { font-size: 12.5px; line-height: 1.25; padding-left: 2px; } | |
| .row .lab a { word-break: break-all; } | |
| .row .val { font-size: 12.5px; padding-right: 2px; } | |
| .row .val .tag, .rows .hdr.axis-hdr { visibility: hidden; } | |
| .why { padding: 10px; } | |
| } | |
| .why table { border-collapse: collapse; width: 100%; font-size: 13px; } | |
| .why td, .why th { padding: 3px 6px; text-align: left; border-bottom: 1px solid var(--grid); } | |
| .why th { color: var(--muted); font-weight: 500; font-size: 11.5px; } | |
| .why td.num, .why th.num { text-align: right; font-variant-numeric: tabular-nums; } | |
| .wbar { display: inline-block; height: 6px; border-radius: 3px; background: var(--s2); vertical-align: middle; } | |
| .kv { display: grid; grid-template-columns: auto auto; gap: 2px 14px; justify-content: start; font-variant-numeric: tabular-nums; } | |
| .kv .k { color: var(--ink-2); } | |
| .empty { color: var(--muted); padding: 24px 0; text-align: center; } | |
| /* charts */ | |
| svg text { fill: var(--ink-2); font-size: 11.5px; } | |
| .axis path, .axis line { stroke: var(--axis); } | |
| .axis text { fill: var(--muted); font-variant-numeric: tabular-nums; } | |
| .gridline line { stroke: var(--grid); } | |
| .gridline path { display: none; } | |
| #tooltip { position: fixed; z-index: 50; pointer-events: none; background: var(--surface); color: var(--ink); border: 1px solid var(--ring); border-radius: 8px; box-shadow: var(--shadow); padding: 8px 10px; font-size: 12.5px; max-width: 300px; opacity: 0; transition: opacity .08s; } | |
| #tooltip .tv { font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums; } | |
| #tooltip .tl { color: var(--ink-2); } | |
| #tooltip .tr { display: flex; align-items: center; gap: 6px; } | |
| #tooltip .key { width: 12px; height: 2px; border-radius: 1px; display: inline-block; } | |
| .chart { width: 100%; } | |
| .chart svg { display: block; width: 100%; height: auto; overflow: visible; } | |
| /* coverage */ | |
| .cov-wrap { overflow-x: auto; } | |
| #coverage svg { display: block; } | |
| /* method explainer */ | |
| .note { border-left: 3px solid var(--axis); padding: 4px 0 4px 12px; color: var(--ink-2); font-size: 14px; margin: 12px 0; } | |
| table.data { border-collapse: collapse; width: 100%; font-size: 13px; } | |
| table.data th, table.data td { text-align: right; padding: 5px 8px; border-bottom: 1px solid var(--grid); font-variant-numeric: tabular-nums; } | |
| table.data th:first-child, table.data td:first-child { text-align: left; } | |
| table.data th { color: var(--muted); font-weight: 500; font-size: 12px; position: sticky; top: 0; background: var(--surface); } | |
| table.data td.best { font-weight: 700; color: var(--ink); } | |
| .scroll { max-height: 420px; overflow: auto; } | |
| footer { color: var(--muted); font-size: 13px; padding: 30px 0 50px; border-top: 1px solid var(--grid); margin-top: 50px; } | |
| .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } | |
| details > summary { cursor: pointer; color: var(--ink-2); font-size: 13.5px; margin-top: 10px; } | |
| @media (max-width: 600px) { .wrap { padding: 0 16px; } } | |
| /* ---------------------------------------------------------------- unified layout (v2) */ | |
| html { scroll-behavior: smooth; scroll-padding-top: 64px; } | |
| .topnav { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--page) 86%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--ring); } | |
| .navrow { display: flex; align-items: center; gap: 18px; height: 52px; } | |
| .brand { font-weight: 700; color: var(--ink); letter-spacing: -.01em; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; } | |
| .brand:hover { text-decoration: none; } | |
| .brand .dot { width: 10px; height: 10px; border-radius: 50%; border: 2.5px solid var(--s1); display: inline-block; } | |
| .navlinks { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; } | |
| .navlinks a { color: var(--ink-2); font-size: 13.5px; padding: 6px 10px; border-radius: 8px; white-space: nowrap; } | |
| .navlinks a:hover { background: var(--surface-2); color: var(--ink); text-decoration: none; } | |
| .topnav .theme-toggle { margin-left: auto; padding: 4px 10px; } | |
| header.top { padding: 34px 0 8px; } | |
| .hero { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr); gap: 34px; align-items: center; } | |
| @media (max-width: 900px) { .hero { grid-template-columns: 1fr; gap: 20px; } } | |
| .hero h1 { max-width: 16ch; } | |
| .pill.primary { background: var(--ink); color: var(--page); border-color: var(--ink); font-weight: 600; } | |
| .pill.primary:hover { color: var(--page); opacity: .88; } | |
| .herofig { margin: 0; background: var(--surface); border: 1px solid var(--ring); border-radius: 16px; padding: 18px 18px 14px; box-shadow: var(--shadow); } | |
| .herofig figcaption { font-weight: 650; font-size: 14.5px; margin-bottom: 12px; } | |
| .herofig figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: 12.5px; } | |
| .hrow { display: grid; grid-template-columns: minmax(0, 1fr) 46px; gap: 2px 10px; align-items: center; margin: 10px 0; font-size: 13px; color: var(--ink-2); } | |
| .hrow span { grid-column: 1 / -1; } | |
| .hrow .htrack { height: 12px; border-radius: 6px; background: var(--surface-2); overflow: hidden; } | |
| .hrow .htrack i { display: block; height: 100%; border-radius: 0 6px 6px 0; } | |
| .hrow b { font-variant-numeric: tabular-nums; text-align: right; color: var(--ink); } | |
| .hrow.strong span { color: var(--ink); font-weight: 650; } | |
| .tiles { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); } | |
| .subhead { font-size: 18px; margin: 34px 0 4px; letter-spacing: -.01em; } | |
| .badge { font-size: 12px; padding: 2px 9px; border-radius: 999px; background: var(--accent-wash); color: var(--s1); font-weight: 600; white-space: nowrap; } | |
| .badge.warn { background: var(--surface-2); color: var(--ink-2); font-weight: 500; } | |
| /* predictor panes */ | |
| .panes { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: 18px; align-items: start; margin-top: 6px; } | |
| @media (max-width: 820px) { .panes { grid-template-columns: 1fr; } } | |
| .pane-ctl { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 8px; } | |
| .seg.small button { font-size: 12.5px; padding: 4px 9px; } | |
| .pane-left select { font-size: 12.5px; padding: 5px 8px; width: 100%; } | |
| .colllist { list-style: none; margin: 0; padding: 4px; max-height: 560px; overflow: auto; border: 1px solid var(--ring); border-radius: 10px; background: var(--surface); } | |
| @media (max-width: 820px) { .colllist { max-height: 220px; } } | |
| .colllist li { padding: 7px 9px; border-radius: 7px; cursor: pointer; display: grid; gap: 1px; } | |
| .colllist li:hover { background: var(--surface-2); } | |
| .colllist li[aria-selected="true"] { background: var(--accent-wash); box-shadow: inset 2px 0 0 var(--s1); } | |
| .colllist .cn { font-size: 13.5px; font-weight: 550; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } | |
| .colllist .cm { font-size: 11.5px; color: var(--muted); display: flex; justify-content: space-between; gap: 8px; } | |
| .colllist .rel { color: var(--ink-2); font-variant-numeric: tabular-nums; } | |
| .coll-head { display: flex; flex-wrap: wrap; gap: 4px 14px; align-items: baseline; font-size: 13px; color: var(--ink-2); margin-bottom: 8px; } | |
| .coll-head b { font-size: 15.5px; color: var(--ink); } | |
| .coll-head a { margin-left: auto; } | |
| .rows.lb { grid-template-columns: minmax(170px, 330px) minmax(0, 1fr) 104px; } | |
| .rows { grid-template-columns: minmax(150px, 300px) minmax(0, 1fr) 104px; } | |
| .row.obs > div { cursor: pointer; } | |
| .row.obs:hover > div { background: var(--surface-2); } | |
| .row .lab { overflow: hidden; } | |
| .row .lab > span:first-child, .row .lab > a { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } | |
| .rank { color: var(--muted); font-size: 11.5px; font-variant-numeric: tabular-nums; min-width: 34px; flex: none; } | |
| button.more { margin: 12px auto 0; display: block; font: inherit; font-size: 13px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--axis); background: var(--surface); color: var(--ink); cursor: pointer; } | |
| button.more:hover { background: var(--surface-2); } | |
| @media (max-width: 600px) { .rows, .rows.lb { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr) 58px; } .rank { min-width: 24px; } } | |
| /* directory */ | |
| .dirgrid { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; } | |
| @media (max-width: 960px) { .dirgrid { grid-template-columns: 1fr; } } | |
| .scroll.tall { max-height: 620px; } | |
| table.data th[role="button"] { cursor: pointer; user-select: none; white-space: nowrap; } | |
| table.data th[role="button"]:hover { color: var(--ink); } | |
| table.data tr.clickable { cursor: pointer; } | |
| table.data tr.clickable:hover td { background: var(--accent-wash); } | |
| table.data td.good { color: var(--good); font-weight: 650; } | |
| table.data td.bad { color: var(--ink-2); } | |
| table.data td:first-child { max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } | |
| .cellbar { display: inline-block; height: 6px; border-radius: 3px; background: var(--seq-1); vertical-align: middle; } | |
| td .suite-kind { margin-left: 6px; font-size: 10.5px; color: var(--s1); border: 0; } | |
| table.data td, table.data th { white-space: nowrap; } | |
| .scroll { overflow: auto; } | |
| .rows .hdr.axis-hdr span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } | |
| .model-head .name { overflow-wrap: anywhere; } | |
| .pane-right { min-width: 0; } | |
| .rows > .hdr, .row > div { min-width: 0; } | |
| .grid2 > *, .card, .panes > * { min-width: 0; } | |
| .chart svg { max-width: 100%; } | |
| .hero h1 { max-width: 24ch; font-size: clamp(24px, 3.1vw, 36px); line-height: 1.15; } | |
| .lede { font-size: 15.5px; } | |
| /* EvalEval logo in the navigation bar (official SVG, wordmark in the current text color) */ | |
| .orglogo { display: inline-flex; align-items: center; color: var(--ink); flex: none; padding-right: 14px; border-right: 1px solid var(--ring); } | |
| .orglogo svg { display: block; height: 30px; width: auto; } | |
| .orglogo:hover { opacity: .85; } | |
| .navrow { gap: 14px; } | |
| @media (max-width: 600px) { .orglogo { padding-right: 10px; } .orglogo svg { height: 26px; } .brand { font-size: 14px; } } | |
| /* three-pane picker: every choice is a visible, filterable list */ | |
| .panes.three { grid-template-columns: minmax(190px, 236px) minmax(190px, 250px) minmax(0, 1fr); gap: 16px; } | |
| @media (max-width: 1040px) { .panes.three { grid-template-columns: 1fr 1fr; } .panes.three > .pane-right { grid-column: 1 / -1; } .panes.three .colllist { max-height: 260px; } } | |
| @media (max-width: 600px) { .panes.three { grid-template-columns: 1fr; } .panes.three .colllist { max-height: 200px; } } | |
| .pane-title { font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; margin: 0 0 6px 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } | |
| .combo.slim { min-width: 0; max-width: none; flex: none; margin-bottom: 8px; } | |
| .combo.slim input { padding: 6px 10px 6px 30px; font-size: 13px; border-radius: 8px; } | |
| .combo.slim .icon { left: 10px; font-size: 13px; } | |
| .pane-list { min-width: 0; } | |
| .pane-list .pane-ctl { margin-bottom: 8px; } | |
| .pane-list .pane-ctl select { font-size: 12.5px; padding: 5px 8px; width: 100%; } | |
| .pane-list .seg.small { width: 100%; } .pane-list .seg.small button { flex: 1; padding: 4px 6px; white-space: nowrap; font-size: 12px; } | |
| .colllist { position: relative; max-height: 540px; } | |
| .listnote { font-size: 11.5px; color: var(--muted); margin: 6px 2px 0; min-height: 1em; } | |
| .panes.three .rows, .panes.three .rows.lb { grid-template-columns: minmax(120px, 250px) minmax(0, 1fr) 96px; } | |
| @media (max-width: 600px) { .panes.three .rows, .panes.three .rows.lb { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) 58px; } } | |
| .bench { display: flex; flex-wrap: wrap; gap: 10px 24px; align-items: center; justify-content: space-between; background: var(--surface-2); border-radius: 10px; padding: 12px 14px; margin-bottom: 12px; } | |
| .bench-kv { font-size: 13px; gap: 4px 16px; } | |
| .bench-plot svg { display: block; } | |
| .seg button[disabled] { opacity: .45; cursor: not-allowed; } | |
| .legend { row-gap: 4px; } | |
| .pane-right { container-type: inline-size; } | |
| .bench { display: grid; grid-template-columns: minmax(0, 1fr) auto; } | |
| @container (max-width: 540px) { .bench { grid-template-columns: 1fr; } } | |
| .panes.three .rows, .panes.three .rows.lb { grid-template-columns: minmax(120px, 240px) minmax(0, 1fr) 132px; } | |
| @media (max-width: 600px) { .panes.three .rows, .panes.three .rows.lb { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) 58px; } } | |
| .row .val { white-space: nowrap; } | |
| /* setup and evidence */ | |
| .setup-line { margin: 0 0 6px; font-size: 13.5px; color: var(--ink-2); } | |
| .setup-line b { color: var(--ink); font-weight: 600; } | |
| .evid { margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--grid); } | |
| .evid p { margin: 0 0 6px; color: var(--ink-2); } | |
| .evid p b { color: var(--ink); } | |
| .evid p.warn { border-left: 3px solid var(--s2); padding-left: 10px; } | |
| .evid table { margin: 4px 0 8px; } | |
| .evid .setup { color: var(--muted); font-size: 12px; } | |
| .caveat { border-left: 3px solid var(--s2); padding: 6px 0 6px 12px; color: var(--ink-2); font-size: 14px; margin: 0 0 14px; max-width: 980px; } | |
| .caveat b { color: var(--ink); } | |
| table.evtab { border-collapse: collapse; width: 100%; font-size: 13.5px; } | |
| table.evtab th, table.evtab td { padding: 6px 8px; text-align: left; border-bottom: 1px solid var(--grid); vertical-align: top; } | |
| table.evtab th { color: var(--muted); font-weight: 500; font-size: 12px; } | |
| table.evtab .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; } | |
| /* method: numbered steps, each with its equation */ | |
| .steps { counter-reset: s; list-style: none; padding: 0; margin: 0; max-width: 940px; background: var(--surface); border: 1px solid var(--ring); border-radius: 12px; } | |
| .steps li { counter-increment: s; display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 4px 24px; padding: 16px 20px; border-top: 1px solid var(--grid); } | |
| .steps li:first-child { border-top: 0; } | |
| .steps h4 { margin: 0; font-size: 14.5px; line-height: 1.4; display: flex; gap: 10px; align-items: baseline; } | |
| .steps h4::before { content: counter(s); flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--surface-2); color: var(--ink-2); font-size: 12px; font-weight: 700; display: inline-grid; place-items: center; } | |
| .steps p { margin: 0; color: var(--ink-2); font-size: 14px; max-width: 66ch; } | |
| .steps p.eq, .symbols i, .symbols b i, .steps p i { font-family: "STIX Two Math", "STIX Two Text", "Cambria Math", Cambria, "Times New Roman", serif; } | |
| .steps p.eq { margin: 10px 0 0; padding: 8px 14px; background: var(--surface-2); border-radius: 8px; color: var(--ink); font-size: 17px; line-height: 1.7; max-width: none; overflow-x: auto; white-space: nowrap; } | |
| .eq sup { font-size: .62em; font-style: normal; letter-spacing: .02em; font-family: inherit; } | |
| .eq sub { font-size: .7em; } | |
| .eq .gap { display: inline-block; width: 2em; } | |
| .symbols { max-width: 940px; margin: 12px 0 0; padding: 0 4px; font-size: 13px; color: var(--ink-2); line-height: 1.7; } | |
| .symbols i { font-size: 1.12em; color: var(--ink); } | |
| .limits { max-width: 940px; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; } | |
| .limits li { font-size: 14px; color: var(--ink-2); border-left: 3px solid var(--axis); padding-left: 12px; } | |
| .limits li b { color: var(--ink); display: block; } | |
| #pipeline-note { max-width: 940px; margin-top: 18px; } | |
| @media (max-width: 760px) { | |
| .steps li { grid-template-columns: 1fr; padding: 14px; } | |
| .steps p.eq { font-size: 15.5px; } | |
| .eq .gap { display: block; width: 0; height: 0; } | |
| .limits { grid-template-columns: 1fr; } | |
| } | |
| /* key next to the rows, and structured tooltips */ | |
| .legend.key { background: var(--surface-2); border-radius: 8px; padding: 8px 12px; gap: 6px 16px; margin: 8px 0 10px; } | |
| .legend.key b { color: var(--ink); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; } | |
| #tooltip { padding: 10px 12px; max-width: 340px; min-width: 240px; line-height: 1.45; } | |
| #tooltip .th { font-weight: 700; font-size: 13.5px; overflow-wrap: anywhere; } | |
| #tooltip .ts { color: var(--muted); font-size: 12px; } | |
| #tooltip .tsep { height: 1px; background: var(--grid); margin: 7px 0; } | |
| #tooltip .tr2 { display: grid; grid-template-columns: 30px 1fr auto; gap: 8px; align-items: center; color: var(--ink-2); padding: 1px 0; } | |
| #tooltip .tr2 .tk { display: inline-flex; justify-content: center; } | |
| #tooltip .tr2 .tx { font-variant-numeric: tabular-nums; color: var(--ink); white-space: nowrap; } | |
| #tooltip .tr2.strong .tn { color: var(--ink); font-weight: 600; } | |
| #tooltip .tr2.strong .tx { font-weight: 700; font-size: 14px; } | |
| #tooltip .tnote { color: var(--ink-2); font-size: 12px; margin-top: 3px; } | |
| .check { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--ink); cursor: pointer; } | |
| .check input { width: 16px; height: 16px; accent-color: var(--s1); margin: 0; } | |
| .colllist li .cs { display: block; grid-column: 1 / -1; font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } | |
| .srcpick { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 10px; font-size: 13px; color: var(--ink-2); } | |
| .srcpick select { flex: 1 1 260px; min-width: 0; max-width: 100%; font: inherit; color: var(--ink); background: var(--surface); border: 1px solid var(--ring); border-radius: 8px; padding: 6px 8px; } | |