.gpu-catalog {
    --gpu-ink: #173648;
    --gpu-muted: #4e6775;
    --gpu-teal: #086879;
    --gpu-rule: #ccdfe5;
    --gpu-ice: #ecf6f8;
    color: var(--gpu-ink);
    background: #f7fbfc;
    line-height: 1.85;
}
.gpu-catalog *, .gpu-catalog *::before, .gpu-catalog *::after { box-sizing: border-box; }
.gpu-catalog [hidden] { display: none !important; }
.gpu-catalog h1, .gpu-catalog h2, .gpu-catalog h3, .gpu-catalog p, .gpu-catalog dl, .gpu-catalog dd { margin: 0; }
.gpu-catalog h1, .gpu-catalog h2, .gpu-catalog h3 { line-height: 1.55; color: inherit; }
.gpu-catalog h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.gpu-catalog h2 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
.gpu-catalog h3 { font-size: 1.05rem; }
.gpu-catalog a, .gpu-catalog button, .gpu-catalog input, .gpu-catalog select { font-family: inherit; }
.gpu-catalog a { color: var(--gpu-teal); text-decoration-thickness: 1px; text-underline-offset: .24em; }
.gpu-catalog :where(a, button, input, select):focus-visible { outline: 3px solid #d28631; outline-offset: 3px; }
.gpu-catalog bdi { overflow-wrap: anywhere; }
.gpu-catalog bdi[dir="ltr"] { font-family: "Segoe UI", Arial, sans-serif; font-variant-numeric: lining-nums; }
.gpu-body { padding-block: clamp(1.5rem, 4vw, 3.5rem) clamp(2.5rem, 6vw, 5rem); }
.gpu-mast, .gpu-profile-top {
    color: #fff;
    padding-block-start: clamp(6.5rem, 9vw, 8rem);
    background: linear-gradient(108deg, #315d70, #22475b 70%);
}
.gpu-mast { padding-block-end: clamp(1.8rem, 4vw, 3rem); }
.gpu-mast-inner { position: relative; }
.gpu-mast .gpu-crumb, .gpu-profile-top .gpu-crumb {
    display: flex; align-items: center; gap: .65rem; color: #d4edf2; font-size: .82rem; font-weight: 600;
}
.gpu-crumb a { color: inherit; }
.gpu-mast h1 { margin-block: .8rem .35rem; color: #fff; }
.gpu-mast p { color: #e6f3f6; max-width: 72ch; }
.gpu-mast a.gpu-mast-action { display: inline-flex; gap: .5rem; margin-top: .85rem; color: #fff; }
.gpu-catalog .gpu-action {
    min-height: 42px; display: inline-flex; align-items: center; justify-content: center;
    gap: .45rem; padding: .48rem 1rem; border: 1px solid transparent; border-radius: .45rem;
    text-decoration: none; font-size: .91rem; line-height: 1.65; font-weight: 650; cursor: pointer;
}
.gpu-catalog .gpu-action--dark { color: #fff; background: #096573; }
.gpu-catalog .gpu-action--dark:hover { background: #124b59; }
.gpu-catalog .gpu-action--line { color: #144a56; background: #fff; border-color: #a6c5cc; }
.gpu-catalog .gpu-action--line:hover { background: var(--gpu-ice); }
.gpu-actions { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
.gpu-filters, .gpu-form-pair {
    display: grid; gap: .85rem; align-items: end; padding: clamp(.95rem, 2.5vw, 1.55rem);
    border: 1px solid var(--gpu-rule); border-radius: .8rem; background: #fff;
}
.gpu-filters { grid-template-columns: minmax(11.6rem, 1.6fr) repeat(5, minmax(0, 1fr)) auto; }
.gpu-form-pair { grid-template-columns: 1fr 1fr auto; }
.gpu-filters label, .gpu-form-pair label { display: grid; gap: .35rem; color: #344f61; font-size: .83rem; font-weight: 650; }
.gpu-filters :is(input,select), .gpu-form-pair select {
    width: 100%; min-width: 0; height: 44px; padding-inline: .55rem; color: var(--gpu-ink);
    border: 1px solid #b4cbd4; background: #fff; border-radius: .35rem; font-size: .86rem;
}
.gpu-form-error { grid-column: 1/-1; color: #924316; }
.gpu-section-line { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-block: 2rem 1.15rem; }
.gpu-result-line { margin-block: 1.15rem .65rem; }
.gpu-result-line p { color: var(--gpu-muted); font-size: .83rem; font-variant-numeric: tabular-nums; }
.gpu-link { font-size: .89rem; font-weight: 650; }
.gpu-link span { margin-inline-start: .15rem; }
.gpu-symbols { position: absolute; overflow: hidden; pointer-events: none; }
.gpu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 1.8vw, 1.5rem); }
.gpu-card {
    --card-inset: clamp(.85rem, 1.5vw, 1.3rem);
    min-width: 0;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    border: 1px solid #c9dce2;
    border-radius: 1rem;
    background: #fff;
    box-shadow: 0 2px 5px rgb(27 65 78 / 5%), 0 12px 28px -20px rgb(24 64 78 / 26%);
    transition: border-color .18s ease, box-shadow .18s ease;
}
@supports (grid-template-rows: subgrid) {
    .gpu-card { grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
}
.gpu-card:focus-within, .gpu-card:has(.gpu-select input:checked) { border-color: #338291; }
.gpu-card:has(.gpu-select input:checked) { box-shadow: 0 0 0 1px #338291; }
@media (hover: hover) {
    .gpu-card:hover { border-color: #80aab4; box-shadow: 0 8px 25px -11px rgb(23 62 78 / 23%); }
}
.gpu-card svg:not(.gpu-symbols) {
    display: inline-block; width: 1.12rem; height: 1.12rem; flex: none;
    fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round;
}
.gpu-card-head {
    display: flex; flex-direction: column; justify-content: space-between; gap: .6rem;
    padding: 1.15rem var(--card-inset) .9rem;
}
.gpu-card-head h3 {
    padding-inline-start: .62rem; border-inline-start: 3px solid #21808c; text-align: left;
    font: 680 clamp(1.24rem, 1.55vw, 1.48rem)/1.22 "Segoe UI", Arial, sans-serif;
    letter-spacing: -.025em; overflow-wrap: anywhere;
}
.gpu-card-head h3 a { color: #142f42; text-decoration: none; }
.gpu-card-head h3 a:hover { color: var(--gpu-teal); }
.gpu-card-category {
    display: flex; align-items: center; gap: .36rem; font-size: .77rem; font-weight: 600;
    color: #456471; line-height: 1.5;
}
.gpu-card-category::after { content: ""; flex: 1; margin-inline-start: .25rem; height: 1px; background: #e0eaed; }
.gpu-card-category svg { color: #297585; width: .95rem; height: .95rem; }
.gpu-thumb {
    align-self: start; margin-inline: .55rem; display: block; aspect-ratio: 8 / 5;
    border-radius: .65rem; overflow: hidden; background: #f3f7f8; outline: 1px solid #e0e9ec; outline-offset: -1px;
}
.gpu-thumb img, .gpu-profile-image img { display: block; width: 100%; height: auto; aspect-ratio: 8 / 5; object-fit: contain; }
.gpu-thumb-empty { display: grid; align-content: center; justify-items: center; gap: .5rem; color: var(--gpu-muted); font-size: .82rem; }
.gpu-card .gpu-thumb-empty svg { width: 2rem; height: 2rem; }
.gpu-category { font-size: .8rem; font-weight: 650; color: var(--gpu-teal); }
.gpu-card-specs {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start;
    padding: 1rem calc(var(--card-inset) - .4rem);
}
.gpu-card-specs > div { min-width: 0; padding-inline: .4rem; }
.gpu-card-specs > div + div { border-inline-start: 1px solid #dce7ea; }
.gpu-card-specs dt { color: #46616b; font-size: .75rem; line-height: 1.55; font-weight: 550; }
.gpu-card .gpu-card-specs svg { display: block; width: 1.23rem; height: 1.23rem; color: var(--gpu-teal); margin-block-end: .32rem; }
.gpu-card-specs dd { margin-block-start: .19rem; color: #183849; font-size: .95rem; line-height: 1.55; font-weight: 720; font-variant-numeric: tabular-nums; }
.gpu-card-foot {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap;
    gap: .2rem .65rem; padding: .3rem var(--card-inset);
    border-top: 1px solid #dce7ea; border-radius: 0 0 1rem 1rem; background: #f6fafb;
}
.gpu-card-open, .gpu-select { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; font-size: .87rem; }
.gpu-card-open { font-weight: 700; text-decoration: none; }
.gpu-card-open:hover { text-decoration: underline; }
.gpu-select { cursor: pointer; color: #415d68; }
.gpu-select:has(input:checked) { color: #075f69; font-weight: 650; }
.gpu-select:has(input:disabled) { cursor: default; color: #6d7c82; }
.gpu-select input, .gpu-diff-filter input { width: 1rem; height: 1rem; margin: 0; accent-color: var(--gpu-teal); }
.gpu-diff-filter { display: inline-flex; gap: .45rem; min-height: 44px; align-items: center; font-size: .88rem; cursor: pointer; }
.gpu-bench div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.gpu-bench dt { color: var(--gpu-muted); font-size: .84rem; }
.gpu-bench dd { font-size: .88rem; font-weight: 650; }
@media (prefers-reduced-motion: reduce) {
    .gpu-card { transition: none; }
}
.gpu-selection { display: flex; align-items: center; flex-wrap: wrap; gap: .75rem; padding: .75rem 1rem; margin-block-end: 1rem; border: 1px solid #a7c5cd; background: #e8f5f6; border-radius: .65rem; }
.gpu-selection-help { color: var(--gpu-muted); font-size: .88rem; }
.gpu-selected-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.gpu-chip { display: inline-flex; align-items: center; gap: .5rem; border: 1px solid #aac5cc; background: white; padding: .4rem .6rem; border-radius: .4rem; color: var(--gpu-ink); cursor: pointer; }
.gpu-chip span { font-size: 1.15rem; }
.gpu-empty { padding: 1.3rem; background: white; border-radius: .65rem; border: 1px solid var(--gpu-rule); }
.gpu-profile-top { padding-block-end: 1.25rem; }
.gpu-profile-sheet { padding-block: clamp(1.6rem, 4vw, 3.2rem) clamp(2.4rem, 6vw, 4.8rem); }
.gpu-profile-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(1.15rem, 4vw, 3.5rem); }
.gpu-profile-copy h1 { margin: .4rem 0 .75rem; }
.gpu-summary, .gpu-guidance p:not(.gpu-meta), .gpu-resource p { text-align: justify; text-align-last: start; }
.gpu-summary { color: #3a5969; max-width: 65ch; }
.gpu-profile .gpu-actions { margin-top: 1rem; }
.gpu-profile-image { min-width: 0; margin: 0; position: relative; }
.gpu-photo-trigger { display: block; position: relative; cursor: zoom-in; }
.gpu-photo-trigger:focus-visible { outline: 3px solid var(--gpu-teal); outline-offset: 3px; }
.gpu-photo-expand { position: absolute; inset-inline-start: .4rem; inset-block-start: .4rem; display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; color: #164354; background: #fff; border: 1px solid #aac5cd; }
.gpu-profile-image:has(figcaption) .gpu-photo-trigger { position: static; }
.gpu-profile-image:has(figcaption) .gpu-photo-expand { inset: auto; inset-inline-end: 0; inset-block-end: .25rem; }
.gpu-photo-expand svg { width: 1.1rem; height: 1.1rem; }
.gpu-profile-image figcaption { min-height: 2.75rem; padding: .45rem .1rem .25rem; padding-inline-end: 2.8rem; font-size: .75rem; color: var(--gpu-muted); text-align: start; }
.gpu-profile-image .gpu-credit { display: inline-block; padding: .25rem .45rem; font-size: .8rem; }
.gpu-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: clamp(1.5rem, 4vw, 3rem) 0 !important; border-block: 1px solid var(--gpu-rule); background: white; padding-block: .9rem; }
.gpu-stats div { padding: .3rem clamp(.6rem, 2vw, 1.4rem); border-inline-start: 1px solid var(--gpu-rule); }
.gpu-stats div:first-child { border: 0; }
.gpu-stats dt { font-size: .82rem; color: var(--gpu-muted); }
.gpu-stats dd { margin-top: .28rem; font-weight: 750; font-size: clamp(1rem, 1.5vw, 1.3rem); }
.gpu-profile-columns { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); gap: clamp(1.2rem, 3vw, 2.5rem); align-items: start; }
.gpu-spec-section h2, .gpu-knowledge h2, .gpu-report-sources h2 { margin-block-end: 1rem; }
.gpu-table { width: 100%; border-collapse: collapse; table-layout: fixed; background: white; line-height: 1.7; color: var(--gpu-ink); }
.gpu-table :is(th, td) { padding: .68rem .9rem; text-align: start; border-bottom: 1px solid var(--gpu-rule); overflow-wrap: anywhere; }
.gpu-table th { font-weight: 650; }
.gpu-table tr:not(.gpu-group) th[scope=row] { color: #3f5a69; font-size: .87rem; }
.gpu-table td { font-size: .91rem; }
.gpu-table .gpu-group th { color: #175565; font-size: .85rem; background: #e6f1f4; }
.gpu-compute-sources, .gpu-bench-source { display: flex; flex-wrap: wrap; align-items: baseline; gap: .35rem .75rem; margin-block-start: .7rem; }
.gpu-compute-sources strong, .gpu-bench-source { font-size: .85rem; }
.gpu-guidance { display: grid; gap: 1rem; min-width: 0; }
.gpu-guidance > section { padding: clamp(1rem, 2vw, 1.4rem); background: #eaf4f5; border: 1px solid #c2d8dd; border-radius: .7rem; }
.gpu-guidance h2 { font-size: 1.1rem; margin-block-end: .6rem; }
.gpu-guidance p:not(.gpu-meta), .gpu-resource p { color: #355261; font-size: .92rem; }
.gpu-guidance p + p { margin-top: .6rem; }
.gpu-market { padding-block: .65rem; }
.gpu-market + .gpu-market { border-top: 1px solid var(--gpu-rule); }
.gpu-meta, .gpu-resource-meta { font-size: .8rem; color: var(--gpu-muted); }
.gpu-part { display: block; white-space: pre-line; }
.gpu-knowledge, .gpu-report-sources { margin-top: clamp(2rem, 4vw, 3.5rem); }
.gpu-resources, .gpu-source-pair { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .9rem; }
.gpu-resource, .gpu-source-pair article { padding: 1rem 1.15rem; border: 1px solid var(--gpu-rule); background: #fff; border-radius: .6rem; }
.gpu-resource-meta { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; }
.gpu-resource-meta span + span { border-inline-start: 1px solid var(--gpu-rule); padding-inline-start: .5rem; }
.gpu-resource h3 { margin-block: .45rem; }
.gpu-resource h3 a { color: var(--gpu-ink); text-decoration-color: #9ebfc7; }
.gpu-bench { margin-top: .75rem !important; border-top: 1px solid var(--gpu-rule); }
.gpu-bench div { align-items: start; margin-block: .3rem; flex-wrap: wrap; }
.gpu-bench-source { border-top: 1px solid var(--gpu-rule); padding-block-start: .6rem; }
.gpu-bench-source > a { flex-basis: 100%; }
.gpu-label-col { width: 29%; }
.gpu-comparison-table thead th { vertical-align: bottom; color: #214553; }
.gpu-comparison-table thead img { display: block; width: 100%; height: 78px; object-fit: contain; margin-bottom: .35rem; }
.gpu-comparison-table :is(th,td) + :is(th,td) { border-inline-start: 1px solid var(--gpu-rule); }
.gpu-comparison-table thead a { text-decoration: none; color: var(--gpu-ink); }
.gpu-compare-toolbar .gpu-action { font-size: .83rem; min-height: 36px; }
@media (max-width: 1060px) {
    .gpu-filters { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .gpu-search { grid-column: span 2; }
}
@media (max-width: 820px) {
    .gpu-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .gpu-profile-columns { grid-template-columns: 1fr; }
    .gpu-guidance { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
    .gpu-mast, .gpu-profile-top { padding-block-start: 5.8rem; }
    .gpu-filters, .gpu-form-pair { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .gpu-search, .gpu-form-pair button { grid-column: 1/-1; }
    .gpu-grid, .gpu-profile-head, .gpu-guidance, .gpu-resources { grid-template-columns: 1fr; }
    .gpu-profile-image { order: 0; }
    .gpu-profile-copy h1 { font-size: 1.6rem; }
    .gpu-catalog .gpu-summary, .gpu-guidance p:not(.gpu-meta), .gpu-resource p { text-align: start; }
    .gpu-stats { grid-template-columns: repeat(2,minmax(0,1fr)); row-gap: .6rem; }
    .gpu-stats div:nth-child(odd) { border-inline-start: 0; }
    .gpu-table :is(td,th) { padding: .55rem .45rem; }
    .gpu-table tr:not(.gpu-group) th[scope=row], .gpu-table td { font-size: .78rem; }
    .gpu-comparison-table thead th { font-size: .79rem; }
    .gpu-comparison-table thead img { height: 52px; }
    .gpu-source-pair { grid-template-columns: 1fr; }
    .gpu-section-line { gap: .55rem; }
}
@media print {
    @page { margin: 12mm; }
    .site-header, .site-footer, .skip-link, .gpu-form-pair, .gpu-comparer .gpu-crumb, .gpu-compare-toolbar .gpu-actions { display: none !important; }
    .gpu-catalog, .gpu-comparer .gpu-mast { background: #fff !important; color: #111 !important; }
    .gpu-comparer .container { width: 100%; max-width: none; }
    .gpu-comparer .gpu-mast, .gpu-comparer .gpu-body { padding: 0; }
    .gpu-comparer .gpu-mast :is(h1,p) { color: #111; }
    .gpu-comparer .gpu-section-line { margin-block: .4rem; }
    .gpu-comparison-table thead { display: table-header-group; }
    .gpu-comparison-table tr, .gpu-source-pair article { break-inside: avoid; }
    .gpu-comparison-table :is(th,td) { padding: .24rem .4rem; }
    .gpu-comparison-table thead img { height: 40px; }
    .gpu-source-pair { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .gpu-print-url::after { content: " (" attr(href) ")"; display: block; font-size: 8pt; overflow-wrap: anywhere; direction: ltr; }
    .gpu-report-sources { margin-top: 1rem; }
}
