/* The catalog supplies global navigation, typography, colors and buttons. */
.platform-content { min-height: calc(100vh - 245px); padding-top: 24px; }
.platform-content h2 { font-size: 19px; font-weight: 750; }
.platform-content h3 { font-size: 17px; }
.platform-content p { line-height: 1.7; }
.platform-panel { min-width: 0; padding: 20px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.platform-content .solid { background: var(--blue); color: #fff; border-color: var(--blue); }
.platform-content .solid:hover { background: var(--blue-dark); }
.home-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(0,1fr); align-items: start; gap: 16px; }
.home-grid .platform-panel { padding: 12px 18px; }
.action-list, .featured-products, .guide-links ul { list-style: none; margin: 0; padding: 0; }
.action-list li + li, .featured-products li + li, .guide-links li + li { border-top: 1px solid var(--line); }
.action-list a, .featured-products a { display: flex; align-items: center; min-height: 58px; gap: 12px; padding: 9px 4px; }
.action-list a:hover, .featured-products a:hover { background: var(--soft); }
.action-list a:focus-visible, .featured-products a:focus-visible { border-radius: 6px; }
.action-list a > span, .featured-products a > strong { flex: 1; }
.action-list a > .icon:first-child { width: 22px; height: 22px; color: var(--muted); flex: none; }
.action-list a > .icon:last-child, .featured-products a > .icon { width: 17px; height: 17px; color: var(--muted); flex: none; }
.action-list strong, .featured-products strong { display: block; font-size: 16px; font-weight: 700; line-height: 1.5; }
.action-list small { display: block; color: var(--muted); font-size: 13px; line-height: 1.55; }
.featured-products img { width: 104px; height: 74px; object-fit: contain; flex: none; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin: 0 0 8px; }
.section-head a, .section-head span { font-size: 13px; color: var(--muted); white-space: nowrap; }
.home-printers .section-head { padding: 4px 0 6px; border-bottom: 1px solid var(--line); }
.guide-links { margin-top: 16px; }
.guide-links ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 30px; }
.guide-links li { border-top: 1px solid var(--line); }
.guide-links li a { display: block; padding: 10px 0; }
.peripheral-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.peripheral-panel { display: flex; flex-direction: column; gap: 14px; }
.peripheral-panel h2 { display: flex; align-items: center; gap: 10px; }
.peripheral-panel ul { margin: 0; padding-left: 19px; color: var(--muted); line-height: 1.9; }
.peripheral-panel .button { align-self: flex-start; margin-top: auto; }
.subnav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0 0 16px; border-bottom: 1px solid var(--line); }
.subnav a { display: block; padding: 7px 0; font-size: 14px; color: var(--muted); }
.subnav [aria-current] { color: var(--ink); box-shadow: 0 2px currentColor; font-weight: 700; }
.button-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.transfer-note { flex-basis: 100%; }
.transfer-note textarea, #copy-text { display: block; width: 100%; min-height: 140px; }
.symptom-list { padding: 0; border: 0; margin: 14px 0; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.symptom-list label { display: flex; min-height: 49px; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 7px; padding: 10px 12px; cursor: pointer; font-size: 15px; }
.symptom-list label:hover { background: var(--soft); }
.symptom-list label:has(:checked) { border-color: #777; background: var(--soft); }
.platform-content input[type=radio] { accent-color: #444; flex: none; }
.platform-content label { font-weight: 600; }
.platform-content input:not([type=radio]), .platform-content select, .platform-content textarea { width: 100%; min-width: 0; border: 1px solid #d5d5d5; border-radius: 7px; padding: 9px 11px; min-height: 44px; background: #fff; font-size: 16px; }
.platform-content label > input:not([type=radio]), .platform-content label > select { display: block; margin-top: 5px; }
.input-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin: 14px 0; }
.standalone-field, #follow-up { display: block; max-width: 420px; margin-block: 14px; }
.platform-content details { border-bottom: 1px solid var(--line); padding: 10px 0; }
.platform-content details p { margin: 8px 0; }
.platform-content summary { font-weight: 650; cursor: pointer; }
.platform-content summary small, .platform-content .muted { color: var(--muted); font-weight: 400; }
#pc-spec { margin: 12px 0 16px; border-block: 1px solid var(--line); }
.result { margin-block: 16px; padding: 16px; background: var(--soft); border: 1px solid var(--line); border-radius: 8px; }
.advice-row { border-bottom: 1px solid var(--line); padding-block: 12px; }
.advice-row p { margin: 7px 0; }
.advice-row details { border: 0; padding-bottom: 0; }
.split-list { margin: 10px 0 16px; border-top: 1px solid var(--line); }
#buy-form { margin-bottom: 14px; }
.parts-list div { display: grid; grid-template-columns: 95px minmax(0,1fr); border-bottom: 1px solid var(--line); padding: 5px 0; }
.parts-list dt { font-weight: 650; }
.table-wrap { overflow-x: auto; }
.platform-content table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.platform-content th, .platform-content td { padding: 8px 10px; border-bottom: 1px solid var(--line); text-align: left; overflow-wrap: anywhere; }
.platform-content thead { background: var(--soft); }
.platform-content td small { display: block; color: var(--muted); }
.cost-table th:first-child { width: 32%; }
.cost-table input { max-width: 220px; }
.work-help { margin-bottom: 12px; }
.totals { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 14px; }
.totals div { padding: 12px; background: var(--soft); border-radius: 6px; }
.totals strong { display: block; font-size: 18px; }
.totals p { grid-column: 1/-1; }
.source-details { margin-top: 14px; }
.guide-article { max-width: 850px; }
.guide-article .page-intro { margin-top: 12px; }
.guide-article section { padding: 14px 0; border-top: 1px solid var(--line); }
.guide-article section p { margin-top: 6px; }

@media (max-width: 850px) {
  .home-grid, .peripheral-grid { grid-template-columns: 1fr; }
  .peripheral-panel { gap: 10px; }
}
@media (max-width: 650px) {
  .platform-content { padding-top: 18px; }
  .platform-panel { padding: 15px; }
  .symptom-list { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .symptom-list label { padding: 8px; font-size: 14px; }
  .guide-links ul { grid-template-columns: 1fr; }
  .platform-content th, .platform-content td { padding: 7px 5px; font-size: 14px; }
  .platform-content td input:not([type=radio]) { padding: 5px; }
}
@media (max-width: 370px) {
  .input-grid { grid-template-columns: 1fr; }
  .totals strong { font-size: 15px; }
}

.computer-tabs { position: sticky; top: 77px; z-index: 20; background: var(--bg, #f8f8f8); }
.platform-content:has(.computer-tabs) { overflow-anchor: none; }

.pc-form-panel { max-width: 900px; }
.pc-form-panel form > .solid { margin-block: 4px 12px; }
.pc-search { display: grid; grid-template-columns: minmax(0,1fr) minmax(150px,250px); gap: 10px; margin-bottom: 8px; }
.pc-follow { max-width: 450px; margin-block: 12px; }

/* A text-first catalogue: equal, quiet rows; photos and full evidence never fill a list. */
.pc-catalog-groups { display: grid; gap: 24px; }
.pc-catalog-group > h2 { display:flex; align-items:center; gap:8px; font-size:16px; margin:0 0 8px; }
.pc-catalog-group > h2 small { color:#666; font-size:12px; font-weight:500; }
.pc-products { display: grid; grid-template-columns: minmax(0,1fr); gap: 0; background:#fff; border:1px solid #dedede; border-radius:10px; }
.pc-product { display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; min-width:0; }
.pc-product + .pc-product { border-top:1px solid #e7e7e7; }
.pc-product-open { display:grid; grid-template-columns:minmax(0,1fr) minmax(130px,190px) auto; align-items:center; gap:18px; padding:16px 18px; text-align:left; min-width:0; width:100%; border-radius:7px; }
.pc-product-open:hover { background:#f7f7f7; }
.pc-product-open:focus-visible { outline-offset:-3px; }
.pc-product-info,.pc-product-title,.pc-product-summary,.pc-price,.pc-price small { display:block; min-width:0; overflow-wrap:anywhere; }
.pc-product-title { font-size:16px; line-height:1.45; font-weight:750; color:#171717; }
.pc-product-summary { margin-top:5px; font-size:13px; line-height:1.5; color:#616161; }
.pc-price { margin:0; font-size:14px; line-height:1.5; }
.pc-price strong { font-size:15px; color:#222; }
.pc-price small,.pc-bench small { color:#666; font-size:12px; }
.pc-product-more { color:#555; font-size:13px; font-weight:600; white-space:nowrap; }
.pc-product-more > span { margin-left:4px; font-size:17px; }
.pc-product-actions { padding:12px 15px 12px 2px; display:flex; align-items:center; justify-content:flex-end; min-width:0; }
.pc-product-actions .button { min-height:38px; padding:8px 12px; font-size:13px; white-space:nowrap; }
.pc-product-actions .pc-check { font-size:13px; white-space:nowrap; }
.pc-product-extra { grid-column:1/-1; padding:0 18px 12px; color:#606060; font-size:13px; overflow-wrap:anywhere; }
.pc-product-extra p { margin:0; }
.pc-pick[aria-pressed=true] { background:#202020; color:#fff; }
.pc-empty { padding:18px; color:#666; }
.pc-detail-dialog { width:min(680px,calc(100% - 28px)); max-height:86dvh; margin:auto; padding:0; border:1px solid #d8d8d8; border-radius:12px; background:#fff; color:#171717; overflow:auto; }
.pc-detail-dialog::backdrop { background:#0008; }
.pc-detail-header { position:sticky; top:0; z-index:1; display:flex; justify-content:space-between; align-items:flex-start; gap:16px; background:#fff; border-bottom:1px solid #e4e4e4; padding:18px 22px; }
.pc-detail-header > div { min-width:0; }
.pc-detail-header p { font-size:12px; color:#666; }
.pc-detail-header h2 { font-size:21px; overflow-wrap:anywhere; margin-top:3px; }
.pc-detail-header form { flex:none; }
.pc-detail-header .button { min-height:38px; padding:8px 13px; }
#pc-detail-body { padding:18px 22px 22px; }
.pc-detail-price strong,.pc-detail-price small { display:block; }
.pc-detail-price strong { font-size:22px; }
.pc-detail-price small,.pc-detail-source { color:#666; font-size:13px; }
.pc-detail-section { border-top:1px solid #e3e3e3; margin-top:18px; padding-top:14px; }
.pc-detail-section h3 { font-size:16px; margin-bottom:8px; }
.pc-detail-section a { text-decoration:underline; text-underline-offset:3px; }
.pc-spec-list { margin:8px 0; }
.pc-spec-list div { display:grid; grid-template-columns:minmax(85px,35%) minmax(0,1fr); gap:12px; padding:7px 0; border-bottom:1px solid #eee; }
.pc-spec-list dt { color:#656565; }
.pc-spec-list dd { margin:0; overflow-wrap:anywhere; }
.pc-evidence { margin:5px 0; font-size:13px; }
.pc-evidence ul { padding-inline-start:19px; }
.pc-evidence li { margin-top:5px; }
.pc-detail-source { margin-top:10px; }
.pc-compare-bar { position: sticky; bottom: 12px; z-index: 6; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 11px; margin-top: 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.pc-compare-bar span { flex: 1 1 200px; min-width: 0; overflow-wrap: anywhere; }
.pc-compare-dialog { border: 1px solid var(--line); border-radius: 10px; padding: 18px; width: min(950px, calc(100% - 24px)); max-height: 85dvh; margin: auto; background: #fff; }
.pc-compare-dialog::backdrop { background: #0008; }
.pc-compare-dialog table { min-width: 510px; }
.platform-content .pc-check { display: flex; align-items: center; gap: 8px; }
.platform-content .pc-check input, .standalone-quote .inquiry-consent input { display: inline-block; width: 18px; min-width: 18px; height: 18px; min-height: 18px; margin: 0; padding: 0; accent-color: #222; }
.standalone-quote { display: grid; grid-template-columns: minmax(0,760px); align-items: start; }
.standalone-quote.has-products { grid-template-columns: minmax(0,295px) minmax(0,760px); }
.standalone-quote .field { margin: 7px 0; }
.standalone-quote .form-grid { margin-block: 7px; }
.standalone-quote .form-grid:empty { display: none; }
.quote-pick { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; padding-block: 9px; border-bottom: 1px solid var(--line); }
.quote-phone { margin-top: 12px; }
.quote-phone small { display: block; }
#diagnosis-title { scroll-margin-top: 60px; }

@media(max-width:650px) {
  .computer-tabs { top: 67px; gap: 4px 12px; }
  .computer-tabs a { font-size: 13px; }
  .pc-search { grid-template-columns: minmax(0,1fr) minmax(112px,36%); }
  .pc-product { grid-template-columns:minmax(0,1fr) auto; align-items:center; }
  .pc-product-open { grid-template-columns:minmax(0,1fr); gap:6px; padding:12px; }
  .pc-product-title { font-size:15px; }
  .pc-product-summary { font-size:12px; margin-top:3px; }
  .pc-product-more { font-size:12px; }
  .pc-product-actions { padding:10px 10px 10px 0; }
  .pc-product-actions .button { padding:7px 9px; min-height:36px; font-size:12px; }
  .pc-product-actions .pc-check { font-size:12px; }
  .pc-product-extra { padding:0 12px 10px; }
  .pc-detail-header { padding:14px; }
  #pc-detail-body { padding:14px; }
  .pc-detail-header h2 { font-size:18px; }
  .pc-detail-price strong { font-size:19px; }
  .pc-compare-bar { bottom: 65px; }
  .standalone-quote.has-products { grid-template-columns: 1fr; }
  .standalone-quote .quote-sidebar { position: static; }
}

.home-grid .home-section h2 { font-size:16px; padding:6px 4px 8px; border-bottom:1px solid var(--line); }
.home-guide-link { margin-top:18px; display:flex; justify-content:space-between; align-items:center; padding:12px 0; border-top:1px solid var(--line); font-weight:600; }
