@charset "UTF-8";
:root {
  color-scheme: light;
  --ink: #172944;
  --muted: #465972;
  --quiet: #50637d;
  --paper: #f7faff;
  --surface: #fff;
  --line: #dce7f4;
  --accent: #195bc4;
  --accent-dark: #134996;
  --accent-wash: #e9f2ff;
  --aqua: #165a86;
  --aqua-wash: #e6f4ff;
  --font: Inter, "Noto Sans SC", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 285px; min-height: 100vh; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); font: 15px/1.65 var(--font); }
#main { flex: 1; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
button, input, select { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #4288de; outline-offset: 3px; }
[hidden] { display: none !important; }
h1, h2, h3, p, ul { margin: 0; }
.container { width: min(1160px, calc(100% - 56px)); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.skip-link:focus { position: absolute; top: 8px; left: 10px; z-index: 30; background: white; padding: 8px 15px; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.header-inner { min-height: 74px; display: flex; align-items: center; gap: 44px; }
.brand { font-size: 22px; font-weight: 820; letter-spacing: -.045em; white-space: nowrap; display: inline-flex; align-items: center; line-height: 1.35; gap: 9px; }
.header-inner > .brand { min-width: 0; min-height: 42px; max-width: 240px; }
.brand-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.brand-mark { flex-shrink: 0; }
.brand-mark { width: 32px; height: 32px; display: grid; place-items: center; color: white; background: #2563bd; border-radius: 9px; }
.brand-mark i { display: block; width: 13px; height: 13px; border: 1.5px solid currentColor; border-radius: 3px; position: relative; box-shadow: 0 0 0 2px #fff3; }
.brand-mark i::before, .brand-mark i::after { content: ""; position: absolute; inset: 4px -4px; border-inline: 1px solid white; }
.brand-mark i::after { transform: rotate(90deg); }
.site-nav { display: flex; gap: 26px; align-self: stretch; color: var(--muted); }
.site-nav a { display: flex; align-items: center; border-bottom: 2px solid transparent; font-weight: 650; white-space: nowrap; }
.site-nav a[aria-current] { border-bottom-color: var(--accent); color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; min-width: 0; }
.nav-compare { white-space: nowrap; color: var(--accent-dark); font-weight: 750; border: 1px solid #d3e3f8; padding: 7px 13px; border-radius: 8px; }
.nav-count { display: inline-grid; place-items: center; min-width: 19px; height: 19px; margin-left: 7px; font-size: 12px; background: var(--accent); color: white; border-radius: 99px; }
.account-nav { display: flex; align-items: center; gap: 4px; min-width: 0; }
.account-nav form { margin: 0; }
.account-link { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 5px 10px; white-space: nowrap; font-weight: 700; border: 1px solid transparent; border-radius: 8px; color: var(--accent-dark); background: transparent; }
.account-link:hover, .account-link[aria-current] { background: var(--accent-wash); }
.account-register { background: var(--accent); color: white; }
.account-register:hover, .account-register[aria-current] { background: var(--accent-dark); color: white; }
.account-name { min-width: 0; max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.account-section { display: grid; justify-items: center; padding: clamp(30px, 8vw, 78px) 15px; background: radial-gradient(ellipse at 50% 0%, #e0edff, transparent 72%); }
.account-card { width: min(100%, 440px); padding: clamp(20px, 5vw, 32px); border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: 0 12px 36px #214a7c14; }
.account-card h1 { margin-bottom: 5px; font-size: clamp(23px, 4vw, 28px); line-height: 1.25; }
.account-intro { color: var(--muted); }
.account-intro a { color: var(--accent-dark); font-weight: 750; text-decoration: underline; text-underline-offset: 3px; }
.account-form { margin-top: 21px; }
.account-fields { display: grid; gap: 15px; min-width: 0; }
.account-fields label { display: block; font-weight: 700; margin-bottom: 4px; }
.account-fields input { display: block; width: 100%; min-height: 44px; padding: 8px 12px; border: 1px solid #bcd0ea; border-radius: 8px; color: var(--ink); }
.account-fields input[type=hidden] { display: none; }
.account-fields input[aria-invalid=true] { border-color: #a02332; }
.account-fields .helptext { display: block; margin-top: 5px; color: var(--muted); font-size: 12px; }
.account-fields .helptext ul { padding-left: 18px; }
.account-fields .errorlist { margin: 4px 0; padding: 7px 10px; border-radius: 7px; color: #922234; background: #fff1f2; list-style: none; }
.account-submit { width: 100%; min-height: 44px; margin-top: 18px; }
.site-messages { list-style: none; padding: 0; margin-block: 12px 0; }
.site-messages li { background: var(--accent-wash); color: var(--accent-dark); padding: 8px 12px; border-radius: 8px; }
.site-messages li + li { margin-top: 5px; }
.site-messages li.error { color: #922234; background: #fff1f2; }
.home-search {
  background: radial-gradient(ellipse at 50% 0, #e1eeff, transparent 82%), #f2f7ff;
  border-bottom: 1px solid #dbe8f8;
}
.home-search-inner { max-width: 780px; padding-block: 32px 30px; }
.home-search h1 { margin-bottom: 12px; font-size: 22px; line-height: 1.3; font-weight: 800; }
.eyebrow { color: var(--accent-dark); font-size: 13px; letter-spacing: .09em; font-weight: 790; }
.model-search { position: relative; min-width: 0; }
.model-search-field { display: flex; align-items: center; min-height: 70px; padding: 7px; border: 1px solid #c3d8f2; border-radius: 15px; background: #fff; box-shadow: 0 8px 26px #204e8a1b; }
.model-search-field:focus-within { border-color: #4d89d3; box-shadow: 0 0 0 3px #629ae82c, 0 8px 26px #204e8a1b; }
.model-search-field input { min-width: 0; flex: 1; border: 0; padding: 11px 14px; background: transparent; color: var(--ink); font-size: 17px; outline: none; }
.model-search-field input::placeholder { color: var(--quiet); }
.model-search-field .button { padding: 11px 17px; }
.model-search-menu { position: absolute; inset: calc(100% + 7px) 0 auto; z-index: 4; padding: 7px; border: 1px solid #cddff5; border-radius: 13px; background: #fff; box-shadow: 0 13px 36px #183d672a; }
.model-search-menu p { margin: 2px 9px 4px; color: var(--quiet); font-size: 12px; font-weight: 700; }
.model-search-menu ul { list-style: none; margin: 0; padding: 0; max-height: 292px; overflow-y: auto; }
.model-search-menu a { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 7px; color: var(--ink); }
.model-search-menu a:hover, .model-search-menu a[aria-selected="true"] { background: var(--accent-wash); color: var(--accent-dark); }
.model-search-menu strong { overflow-wrap: anywhere; font-size: 14px; }
.model-search-menu small { color: var(--muted); white-space: nowrap; font-size: 11px; }
.search-icon { display: inline-block; flex: 0 0 16px; height: 16px; border: 2px solid #53739a; border-radius: 50%; margin: 0 6px 3px 11px; position: relative; }
.search-icon::after { content: ""; position: absolute; width: 7px; height: 2px; background: #53739a; bottom: -3px; right: -5px; transform: rotate(45deg); border-radius: 1px; }
.button { white-space: nowrap; font-weight: 750; border-radius: 8px; padding: 9px 15px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.button.primary { background: var(--accent); color: white; }
.button.primary:hover { background: var(--accent-dark); color: white; }
.button.secondary { border-color: #d4e3f8; color: var(--accent-dark); background: white; }
.suggestions { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-top: 13px; color: var(--muted); font-size: 12px; }
.suggestions a { background: #ffffffa5; border: 1px solid #d2e1f5; border-radius: 5px; padding: 2px 8px; font-weight: 650; }
.suggestions a:hover { background: white; border-color: #9bbce8; }
.counts { background: white; display: grid; grid-template-columns: repeat(2, 1fr); margin-top: 24px; border: 1px solid var(--line); border-radius: 12px; }
.counts a { padding: 13px 20px; display: flex; align-items: center; gap: 11px; }
.counts a + a { border-left: 1px solid var(--line); }
.counts b { display: block; font-size: 21px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.counts small { display: block; color: var(--muted); margin-top: 3px; }
.count-icon { flex: 0 0 35px; height: 35px; display: grid; place-items: center; background: var(--accent-wash); color: var(--accent-dark); font-weight: 800; border-radius: 8px; }
.gpu-icon { color: var(--aqua); background: var(--aqua-wash); }
.count-arrow { margin-left: auto; color: #456a9b; }
.model-section { margin-top: 34px; }
.model-section:last-child { margin-bottom: 44px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.section-head h2 { font-size: 21px; font-weight: 820; letter-spacing: -.035em; }
.section-head a { color: var(--accent-dark); font-weight: 700; font-size: 13px; flex-shrink: 0; }
.section-line { display: inline-block; width: 4px; height: 17px; background: #3274cd; margin-right: 6px; border-radius: 5px; vertical-align: -1px; }
.gpu-line { background: #2786b7; }
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }
.card { background: white; min-width: 0; padding: 14px 15px 11px; border-radius: 11px; border: 1px solid var(--line); display: flex; flex-direction: column; box-shadow: 0 2px 4px #19407708; }
.card:focus-within, .card:hover { border-color: #b1cbeb; }
.card-label { display: flex; justify-content: space-between; align-items: center; color: var(--quiet); font-size: 12px; }
.maker { padding: 2px 7px; border-radius: 4px; background: #e7f0fc; color: #245a92; font-size: 11px; font-weight: 800; line-height: 1.5; }
.maker.intel { color: #18598f; background: #e9f4ff; }
.maker.amd { color: #9d3429; background: #fcedea; }
.maker.nvidia { color: #416e19; background: #eef7e5; }
.card h3 { font-size: 16px; font-weight: 790; letter-spacing: -.018em; margin-top: 10px; min-height: 52px; line-height: 1.42; overflow-wrap: anywhere; }
.release-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; margin-block: 2px 9px; color: var(--muted); font-size: 12px; }
.release-label strong { color: var(--accent-dark); font-weight: 700; }
.release-pending strong { color: var(--quiet); }
.page-banner .release-label { margin-block: 9px 0; font-size: 14px; }
.quick-specs { list-style: none; display: flex; flex-wrap: wrap; gap: 5px; padding: 0; margin: 0 0 10px; font-size: 11px; }
.quick-specs li { padding: 1px 6px; background: #edf4fc; border-radius: 4px; color: #4c627e; font-variant-numeric: tabular-nums; white-space: nowrap; }
.card-actions { display: flex; justify-content: space-between; align-items: center; gap: 6px; border-top: 1px solid #e6eef7; padding-top: 8px; margin-top: auto; }
.card-actions a, .add-button { color: var(--accent-dark); font-size: 12px; font-weight: 720; white-space: nowrap; }
.add-button { background: white; border: 1px solid #d3e3f8; padding: 4px 8px; border-radius: 5px; }
.add-button:hover, .add-button[aria-pressed="true"] { color: var(--accent-dark); background: var(--accent-wash); border-color: #a9c7ee; }
.site-footer { border-top: 1px solid var(--line); background: #edf4fe; color: var(--muted); font-size: 14px; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 32px; padding-block: 32px 25px; }
.footer-about p { max-width: 47ch; margin-top: 10px; overflow-wrap: anywhere; }
.footer-nav { display: flex; flex-direction: column; align-items: start; gap: 7px; }
.footer-nav h2 { color: var(--ink); font-size: 14px; margin-bottom: 3px; }
.footer-brand { color: var(--ink); font-size: 18px; white-space: normal; }
.footer-brand .brand-mark { width: 25px; height: 25px; }
.footer-legal { border-top: 1px solid #d9e5f3; padding-block: 14px; text-align: center; font-size: 13px; }
.footer-legal a, .footer-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.page-banner { background: linear-gradient(128deg, #edf5ff, #f4f8fe); border-bottom: 1px solid #dce8f6; padding: 23px 0 26px; }
.breadcrumbs { display: flex; gap: 7px; margin-bottom: 6px; color: var(--muted); font-size: 13px; }
.page-banner h1 { font-size: clamp(26px, 6vw, 43px); font-weight: 830; letter-spacing: -.045em; line-height: 1.22; margin: 7px 0; overflow-wrap: anywhere; }
.page-banner p { color: var(--muted); }
.page-body { padding-block: 26px 44px; min-height: 44vh; }
.filter-form { margin-top: 18px; max-width: 760px; }
.catalog-filters { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.catalog-filters label { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 13px; font-weight: 700; max-width: 100%; }
.catalog-filters label span { flex-shrink: 0; }
.catalog-filters select { border: 1px solid #bfd4ef; background: white; padding: 6px 9px; border-radius: 7px; color: var(--ink); min-height: 36px; min-width: 0; max-width: 320px; }
.series-link { text-decoration: underline; text-underline-offset: 3px; }
.results-head small { color: var(--quiet); white-space: nowrap; font-size: 13px; font-weight: 600; }
.results-head h2 { overflow-wrap: anywhere; }
.empty { background: white; margin-block: 16px 24px; padding: 35px 22px; text-align: center; border: 1px dashed #c5d8ee; border-radius: 12px; }
.empty h2 { font-size: 19px; }
.empty p { margin: 6px 0; color: var(--muted); }
.empty a:not(.button) { color: var(--accent-dark); }
.empty-actions, .pagination { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 11px; margin-top: 18px; }
.pagination a { color: var(--accent-dark); font-weight: 700; }
.detail-quick { margin-block: 12px 0; font-size: 13px; }
.detail-quick li { background: #deecfc; padding: 3px 10px; }
.detail-layout, .sources-layout { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.detail-layout { grid-template-areas: "specs picker"; }
.detail-specs { grid-area: specs; min-width: 0; }
.detail-picker { grid-area: picker; min-width: 0; }
.compare-picker { min-width: 0; border: 1px solid #c8def8; border-radius: 14px; background: white; }
.compare-picker summary {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  min-height: 160px; padding: 18px; border-radius: 13px;
  background: linear-gradient(145deg, #e9f3ff, #f8fbff); color: var(--accent-dark);
  font-weight: 750; cursor: pointer; list-style: none;
}
.compare-picker summary::-webkit-details-marker { display: none; }
.compare-picker summary:hover { background: #e3efff; }
.compare-picker-icon {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: white; border: 1px solid #bdd6f4; font-size: 44px; line-height: 1; font-weight: 450;
}
.compare-picker[open] summary { flex-direction: row; min-height: 0; padding: 12px; }
.compare-picker[open] .compare-picker-icon { width: 30px; height: 30px; font-size: 25px; }
.compare-picker-body { padding: 10px; }
.compare-picker .model-search-field { min-height: 50px; padding: 4px; border-radius: 9px; box-shadow: none; }
.compare-picker .model-search-field:focus-within { box-shadow: 0 0 0 3px #629ae82c; }
.compare-picker .model-search-field input { font-size: 16px; padding: 8px; }
.compare-picker .model-search-field .button { padding: 7px 9px; font-size: 13px; }
.compare-picker .search-icon { margin-left: 7px; }
.picker-results { list-style: none; padding: 6px 0 0; }
.picker-results a {
  display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 7px;
  border-radius: 7px; font-size: 14px;
}
.picker-results a:hover { background: var(--accent-wash); }
.picker-results a strong { overflow-wrap: anywhere; }
.picker-results a span { color: var(--muted); font-size: 11px; white-space: nowrap; }
.picker-empty { padding: 6px; color: var(--muted); font-size: 13px; }
.compare-picker-inline { max-width: 490px; margin-bottom: 14px; }
.compare-picker-inline summary { flex-direction: row; min-height: 0; padding: 9px; }
.compare-picker-inline .compare-picker-icon { width: 30px; height: 30px; font-size: 25px; }
.data-block { border: 1px solid var(--line); border-radius: 11px; background: white; overflow: hidden; }
.data-block + .data-block { margin-top: 15px; }
.data-block h2 h2 { font-size: 17px; padding: 11px 16px; background: #edf5ff; border-bottom: 1px solid var(--line); }
.spec-list { margin: 0; }
.spec-list > div { display: grid; grid-template-columns: minmax(118px, 1fr) minmax(0, 1.3fr); gap: 12px; padding: 8px 16px; }
.spec-list > div:nth-child(even) { background: #f7faff; }
.spec-list dt { color: var(--muted); font-weight: 610; }
.spec-list dd { margin: 0; font-weight: 680; overflow-wrap: anywhere; }
.missing { color: var(--quiet); font-weight: 400; }
.compare-actions { display: flex; justify-content: flex-end; margin-bottom: 10px; }
.compare-actions > div { display: flex; align-items: center; gap: 10px; }
.toggle { display: flex; align-items: center; cursor: pointer; gap: 4px; }
.toggle input { accent-color: var(--accent); width: 16px; height: 16px; }
.quiet-button { padding: 5px 10px; color: var(--accent-dark); border: 1px solid #d7e5f6; background: #fff; border-radius: 6px; font-weight: 700; }
.quiet-button:hover { background: var(--accent-wash); }
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 10px; background: white; }
.compare-table { border-collapse: separate; border-spacing: 0; width: 100%; table-layout: auto; }
.compare-table th, .compare-table td { padding: 10px 13px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 13px; min-width: 155px; }
.compare-table thead th { background: #eaf3ff; font-size: 15px; }
.compare-table th:first-child { position: sticky; left: 0; min-width: 125px; z-index: 1; }
.compare-table tbody th, .compare-table tbody td { background: #fff; }
.compare-table tbody tr:nth-child(odd) th, .compare-table tbody tr:nth-child(odd) td { background: #f5f9ff; }
.compare-table thead small { display: block; color: var(--muted); font-size: 11px; }
.compare-table tr.group-heading th { background: #e1edfd; color: var(--accent-dark); position: static; }
.compare-table th:last-child, .compare-table td:last-child { border-right: 0; }
.compare-note, .notice { color: var(--muted); font-size: 13px; margin-top: 12px; }
.notice { padding: 5px 10px; margin: 0 0 9px; background: #fff1e6; border-radius: 6px; }
.source-list { padding: 0; list-style: none; }
.source-list li { display: flex; flex-wrap: wrap; gap: 12px; padding: 9px 16px; border-bottom: 1px solid var(--line); }
.source-list li > :first-child { margin-right: auto; }
.source-list a { color: var(--accent-dark); }
.source-links { display: flex; flex-wrap: wrap; gap: 3px 16px; margin-top: 3px; }
.source-links a { text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.spec-sources { margin-top: 18px; }
.spec-sources .source-list li:last-child { border-bottom: 0; }
.source-models { display: grid; margin-top: 2px; color: var(--muted); font-size: 13px; overflow-wrap: anywhere; }
.source-note { color: var(--muted); padding: 9px 16px; font-size: 13px; }
.sources-layout .data-block + .data-block { margin-top: 0; }
.ladder-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; }
.ladder-tabs a { padding: 7px 13px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); font-weight: 750; }
.ladder-tabs a[aria-current] { color: white; background: var(--accent); border-color: var(--accent); }
.ladder-controls { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 8px 16px; margin-bottom: 12px; color: var(--muted); }
.ladder-controls form { display: flex; align-items: end; flex-wrap: wrap; gap: 8px; }
.ladder-controls label { display: grid; gap: 2px; font-size: 13px; min-width: 0; }
.ladder-controls input, .ladder-controls select { min-height: 38px; max-width: 100%; padding: 5px 9px; border: 1px solid #bcd0ea; border-radius: 7px; background: white; color: var(--ink); }
.ladder-controls .button { min-height: 38px; padding-block: 5px; }
.ladder-table { width: 100%; border-collapse: collapse; background: var(--surface); font-variant-numeric: tabular-nums; }
.ladder-table th, .ladder-table td { padding: 9px 14px; text-align: left; border-bottom: 1px solid var(--line); }
.ladder-table thead { background: var(--accent-wash); color: var(--accent-dark); }
.ladder-table tbody tr:last-child > * { border-bottom: 0; }
.ladder-table th[scope="row"] a { text-decoration: underline; text-decoration-color: #88afe6; text-underline-offset: 3px; overflow-wrap: anywhere; }
.ladder-table th small { display: block; color: var(--muted); font-weight: 500; }
.ladder-rank { color: var(--accent-dark); font-weight: 750; }
.ladder-score { width: 32%; white-space: nowrap; }
.ladder-score meter { display: block; width: 100%; max-width: 200px; height: 9px; margin-top: 2px; }
.ladder-score meter::-webkit-meter-bar { border: 0; border-radius: 5px; background: #e9f2ff; }
.ladder-score meter::-webkit-meter-optimum-value { border-radius: 5px; background: var(--accent); }
.ladder-score meter::-moz-meter-bar { border-radius: 5px; background: var(--accent); }
.ladder-method { margin-top: 16px; }
.ladder-method p { color: var(--muted); padding: 5px 16px; }
.ladder-method p:last-child { padding-bottom: 12px; }
.ladder-method a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 3px; }
.ladder-scope { margin: 0 0 14px; }
.ladder-date { white-space: nowrap; }
.ladder-options, .ladder-view, .ladder-inventory { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 12px; }
.ladder-view { gap: 3px; padding: 3px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.ladder-view a { padding: 3px 8px; border-radius: 5px; font-weight: 650; }
.ladder-view a[aria-current] { color: var(--accent-dark); background: var(--accent-wash); }
.ladder-index { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.ladder-index a { padding: 6px 10px; border: 1px solid var(--line); border-radius: 7px; color: var(--accent-dark); background: var(--surface); font-size: 13px; }
.ladder-index a:hover { background: var(--accent-wash); }
.ladder-section, .gpu-inventory-brand { scroll-margin-top: 10px; }
.ladder-section + .ladder-section { margin-top: 22px; }
.gpu-inventory-columns { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 10px; align-items: start; }
.gpu-inventory-brand { min-width: 0; overflow-wrap: anywhere; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); }
.gpu-inventory-brand h3 { padding: 8px 11px; color: var(--accent-dark); background: var(--accent-wash); border-radius: 7px 7px 0 0; }
.gpu-inventory-brand h3 small { color: var(--muted); font-weight: 550; }
.gpu-inventory-group { padding: 7px 11px 8px; }
.gpu-inventory-group + .gpu-inventory-group { border-top: 1px solid var(--line); }
.gpu-inventory-group h4 { margin: 0 0 2px; color: var(--muted); font-size: 12px; }
.gpu-inventory-group ul { padding: 0; list-style: none; }
.gpu-inventory-group a { display: block; padding-block: 2px; color: var(--accent-dark); font-size: 13px; }
.gpu-inventory-group a:hover { text-decoration: underline; text-underline-offset: 2px; }
.ladder-render-time { display: block; color: var(--muted); }
.tier-caption { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.tier-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: 14px; background: var(--surface); }
.tier-table th, .tier-table td { text-align: center; border-right: 1px solid var(--line); }
.tier-table tr > :last-child { border-right: 0; }
.tier-table thead th { padding: 9px 6px; background: var(--accent-wash); color: var(--accent-dark); }
.tier-table thead th:first-child { width: 65px; }
.tier-table thead .tier-brand { border-top: 3px solid var(--accent); }
.tier-table thead .tier-brand-amd { border-top-color: #ae3f45; }
.tier-table thead .tier-brand-nvidia { border-top-color: #527918; }
.tier-table thead .tier-brand-apple { border-top-color: #665887; }
.tier-brand a { display: block; line-height: 1.25; text-underline-offset: 2px; }
.tier-brand a:hover { text-decoration: underline; }
.tier-brand small { display: block; margin-top: 3px; color: var(--muted); font-size: .8em; font-weight: 550; }
.tier-table tbody { scroll-margin-top: 10px; }
.tier-table tbody .tier-track:first-child > * { border-top: 1px solid #c4d8ed; }
.tier-grade { vertical-align: top; padding: 13px 2px; color: #174778; background: #e7f2fc; }
.tier-grade-s-plus { color: #fff; background: #0d325f; }
.tier-grade-s { color: #fff; background: #14467f; }
.tier-grade-a { color: #fff; background: #2660a4; }
.tier-grade-b { color: #133d6a; background: #b9d8fb; }
.tier-grade-c { background: #d8eaff; }
.tier-grade strong { display: block; font-size: 25px; line-height: 1.1; }
.tier-track[data-gap="1"] { --tier-gap: 8px; }
.tier-track[data-gap="2"] { --tier-gap: 16px; }
.tier-track[data-gap="3"] { --tier-gap: 24px; }
.tier-cell { vertical-align: middle; padding: calc(3px + var(--tier-gap, 0px)) 6px 3px; }
.tier-track:nth-child(even) .tier-cell { background: #f4f8fe; }
.tier-models { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 3px 8px; padding: 0; list-style: none; }
.tier-models li { max-width: 100%; scroll-margin-top: 12px; }
.tier-models a { display: inline-flex; flex-direction: column; align-items: center; padding: 3px 8px; border-radius: 5px; color: var(--accent-dark); font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.tier-models a:hover { background: var(--accent-wash); text-decoration: underline; text-underline-offset: 2px; }
.tier-models li:target a { background: var(--accent-wash); outline: 2px solid #89b9fa; }
.tier-models small { color: var(--muted); font-size: 11px; font-weight: 550; }
.tier-score { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tier-variants { display: flex; flex-wrap: wrap; justify-content: center; gap: 2px; }
.tier-variants a { padding: 1px 4px; color: var(--muted); font-size: 10px; font-weight: 550; }
.gpu-hosts { margin: 0 0 14px; }
@media (max-width: 600px) {
  .tier-table { font-size: 12px; }
  .tier-table thead th:first-child { width: 38px; }
  .tier-grade strong { font-size: 21px; }
  .tier-models small { font-size: 10px; }
  .tier-cell { padding-inline: 2px; }
  .tier-models a { padding: 4px 2px; }
  .gpu-inventory-columns { grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 6px; }
  .gpu-inventory-group { padding-inline: 8px; }
}
body.has-selection { padding-bottom: 74px; }
.selection-bar { position: fixed; inset: auto 0 0; z-index: 5; border-top: 1px solid #cddff4; background: #fff; box-shadow: 0 -5px 20px #1b456d1a; }
.selection-inner { min-height: 65px; display: flex; align-items: center; justify-content: space-between; gap: 11px; }
.selection-models, .selection-actions, [data-selection-items] { display: flex; align-items: center; gap: 6px; min-width: 0; }
.selection-models strong { white-space: nowrap; font-size: 13px; }
[data-selection-items] { overflow: auto; padding: 4px; }
.selection-chip { white-space: nowrap; background: var(--accent-wash); color: var(--accent-dark); border: 0; padding: 4px 8px; border-radius: 5px; font-size: 12px; }
.selection-actions .button[aria-disabled="true"] { opacity: .58; cursor: default; }
.toast { position: fixed; z-index: 10; bottom: 75px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 26px); text-align: center; border-radius: 7px; background: #193b68; color: white; padding: 8px 12px; font-size: 13px; }
@media (max-width: 920px) {
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .container { width: calc(100% - 30px); }
  .header-inner { gap: 15px; min-height: 63px; }
  .site-nav { gap: 14px; font-size: 13px; }
  .brand { font-size: 19px; gap: 7px; }
  .brand-mark { width: 27px; height: 27px; }
  .header-actions { gap: 8px; }
  .account-link { min-height: 34px; padding-inline: 7px; font-size: 13px; }
  .nav-compare { font-size: 12px; padding: 6px 8px; }
  .home-search-inner { padding-block: 23px 20px; }
  .home-search h1 { font-size: 19px; }
  .counts a { padding: 9px; gap: 6px; }
  .count-arrow { display: none; }
  .count-icon { flex-basis: 25px; height: 25px; font-size: 12px; }
  .counts b { font-size: 17px; }
  .counts small { font-size: 10px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .detail-layout, .sources-layout { grid-template-columns: 1fr; }
  .detail-layout { grid-template-areas: "picker" "specs"; }
  .detail-picker .compare-picker summary { min-height: 0; flex-direction: row; padding: 12px; }
  .detail-picker .compare-picker-icon { width: 36px; height: 36px; font-size: 30px; }
  .footer-inner { gap: 20px; }
}
@media (max-width: 600px) {
  .header-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 8px; padding-top: 6px; }
  .header-actions { justify-content: flex-end; max-width: 56vw; }
  .site-nav { grid-column: 1 / -1; grid-row: 2; gap: 20px; min-height: 37px; }
  .site-nav a { padding-block: 6px; }
  .account-name { max-width: 78px; font-size: 12px; }
  .footer-inner { grid-template-columns: 1fr 1fr; row-gap: 18px; padding-block: 24px 20px; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 450px) {
  .nav-compare { padding: 4px 6px; font-size: 11px; }
  .model-search-field { min-height: 57px; padding: 5px; }
  .model-search-field input { padding: 9px 6px; font-size: 16px; }
  .model-search-field .button { padding: 8px; font-size: 12px; gap: 4px; }
  .model-search-menu a { gap: 5px; }
  .card { padding: 10px 9px; }
  .card h3 { font-size: 14px; min-height: 44px; }
  .card-actions a, .add-button { font-size: 11px; }
  .card-actions a span { display: none; }
  .card-actions .add-button { padding-inline: 5px; }
  .selection-inner { align-items: center; gap: 4px; }
  .selection-actions .button { padding: 6px 7px; font-size: 12px; }
  .selection-actions .quiet-button { font-size: 12px; padding: 5px; }
  .ladder-table th, .ladder-table td { padding: 7px 5px; font-size: 12px; }
  .ladder-table th:first-child, .ladder-table th:last-child { white-space: nowrap; }
  .ladder-controls input { width: min(160px, calc(100vw - 155px)); }
}
