/* Guides: catalog sheet layout built on the main PartIndex palette */
.gx-hero { background-color: #131619; background-image: linear-gradient(90deg,transparent 95%,#ffffff06 95%),linear-gradient(0deg,transparent 95%,#ffffff06 95%); background-size: 42px 42px; color: #fff; border-bottom: 3px solid var(--orange); }
.gx-hero-inner { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 28px; align-items: end; padding-block: 30px 34px; }
.gx-hero h1 { margin: 12px 0 10px; font-size: clamp(32px,3.6vw,54px); }
.gx-hero p { max-width: 720px; color: #bec3c4; font-size: 15px; line-height: 1.6; }
.gx-crumb { font: 11px/1.4 var(--mono); letter-spacing: .8px; text-transform: uppercase; color: #8c9193; margin-bottom: 14px; }
.gx-crumb a { color: #d3d6d6; } .gx-crumb a:hover { color: #ff8c55; } .gx-crumb span { color: #5a5f61; margin: 0 4px; }
.gx-plate { display: grid; justify-items: center; min-width: 118px; padding: 12px 16px 10px; border: 1px solid #3e4143; border-radius: 4px; background: #1b1e20; font-family: var(--mono); box-shadow: inset 0 0 0 4px #151719; }
.gx-plate span,.gx-plate em { font-size: 10px; letter-spacing: 1.6px; color: #8c9193; font-style: normal; }
.gx-plate b { font: 700 46px/1 var(--display); color: var(--orange); letter-spacing: -1px; margin: 2px 0; }
.gx-main { display: grid; grid-template-columns: 64px minmax(0,1fr); gap: 34px; padding-top: 26px; }
.gx-index,.gx-makes { display: block; }
.gx-body { min-width: 0; max-width: 900px; }
.gx-body > p, .gx-fam > p { line-height: 1.7; font-size: 15px; }
.mono,.gx-label { font: 600 10.5px/1.4 var(--mono); letter-spacing: 1.1px; text-transform: uppercase; color: #606469; }
.gx-label { display: block; margin-bottom: 8px; }
/* index-tab rail */
.gx-tabs { position: sticky; top: 12px; align-self: start; display: flex; flex-direction: column; gap: 3px; height: auto; }
.gx-tabs a { display: grid; justify-items: center; padding: 5px 0 4px; background: #e9eae6; border: 1px solid var(--line); border-right: 0; border-radius: 5px 0 0 5px; font: 700 13px/1.1 var(--mono); color: #4d5254; }
.gx-tabs a span { font-size: 9px; font-weight: 500; letter-spacing: 1px; color: #8a8f90; }
.gx-tabs a:hover { background: #fff; color: var(--rust); }
.gx-tabs a[aria-current="page"] { background: var(--orange); border-color: var(--orange); color: #fff; margin-right: -12px; }
.gx-tabs a[aria-current="page"] span { color: #fff; }
/* family block */
.gx-fam { margin: 26px 0 8px; padding-top: 6px; border-top: 2px solid var(--ink); }
.gx-famhead { display: flex; align-items: baseline; gap: 12px; margin: 10px 0 10px; }
.gx-famhead .mono { color: #fff; background: var(--ink); padding: 3px 7px; border-radius: 3px; }
.gx-famhead h2 { font-size: 26px; }
.gx-fit { border-left: 3px solid var(--orange); padding-left: 14px; }
/* exploded map */
.gx-explode-wrap { display: grid; grid-template-columns: minmax(240px,380px) minmax(0,1fr); gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 14px; background-image: radial-gradient(#d9dbd9 1px,transparent 1px); background-size: 16px 16px; }
.gx-exploded { width: 100%; height: auto; }
.gx-exploded .core { fill: #eceee9; stroke: #202324; stroke-width: 1.5; stroke-dasharray: 5 4; }
.gx-exploded .core-in { fill: #fff; stroke: #9a9e9f; }
.gx-exploded line { stroke: #b84319; stroke-width: 1.2; }
.gx-exploded circle { fill: #fff; stroke: #202324; stroke-width: 1.6; }
.gx-exploded text { font: 700 12px var(--mono); text-anchor: middle; fill: #202324; }
.gx-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; background: #ffffffe8; }
.gx-legend li { display: flex; gap: 10px; align-items: baseline; line-height: 1.45; }
.gx-legend span { flex: none; display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1.5px solid var(--ink); border-radius: 50%; font: 700 11px var(--mono); }
/* ledger */
.gx-ledger { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); font-size: 14px; }
.gx-ledger th { text-align: left; background: #ecede9; padding: 7px 12px; }
.gx-ledger td { padding: 8px 12px; border-top: 1px dashed #d3d5d2; }
.gx-ledger td.mono { width: 80px; color: var(--rust); }
/* drawer bins */
.gx-bins { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.gx-bins li { flex: 1 1 210px; position: relative; padding: 22px 12px 10px; background: linear-gradient(#f9f9f7,#fff); border: 1px solid #c9ccc9; border-top: 5px solid #3a3e40; border-radius: 3px 3px 6px 6px; line-height: 1.4; }
.gx-bins li small { position: absolute; top: 4px; left: 10px; font: 600 9.5px var(--mono); letter-spacing: 1px; color: var(--rust); }
.gx-bins li:nth-child(3n+2) { flex-basis: 300px; }
/* schematic flow */
.gx-flow { margin: 18px 0; padding: 14px 16px 16px; background: #151719; color: #e6e8e8; border-radius: 6px; background-image: linear-gradient(90deg,transparent 95%,#ffffff07 95%),linear-gradient(0deg,transparent 95%,#ffffff07 95%); background-size: 22px 22px; }
.gx-flow figcaption { font: 600 10.5px var(--mono); letter-spacing: 1.2px; text-transform: uppercase; color: #ff8c55; margin-bottom: 10px; }
.gx-flow ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 0; counter-reset: s; }
.gx-flow li { counter-increment: s; display: flex; align-items: center; font-size: 13px; }
.gx-flow li:before { content: counter(s); font: 700 10px var(--mono); color: #151719; background: var(--orange); border-radius: 2px; padding: 1px 4px; margin-right: 6px; }
.gx-flow li { border: 1px solid #4a4e50; padding: 6px 9px; border-radius: 3px; background: #1f2224; }
.gx-flow li:not(:last-child):after { content: "→"; color: #ff8c55; margin: 0 -22px 0 14px; width: 8px; }
.gx-flow li:not(:last-child) { margin-right: 22px; }
/* symptom table */
.gx-scroll { overflow-x: auto; }
.gx-diag { width: 100%; min-width: 560px; border-collapse: separate; border-spacing: 0; font-size: 14px; background: #fff; border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.gx-diag thead th { background: var(--ink); color: #fff; font: 600 10.5px var(--mono); letter-spacing: 1px; text-transform: uppercase; text-align: left; padding: 9px 12px; }
.gx-diag td,.gx-diag tbody th { padding: 10px 12px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.45; }
.gx-diag tbody th { font-weight: 650; width: 30%; }
.gx-diag tbody tr:nth-child(even) { background: #fafaf8; }
.gx-diag td:nth-child(2) { color: var(--rust); font-weight: 600; }
.gx-diag small { display: block; font: 10.5px/1.4 var(--mono); color: var(--muted); margin-top: 3px; font-weight: 400; }
.gx-maketable td:nth-child(2) { color: var(--ink); }
.gx-maketable a { color: var(--rust); text-decoration: underline; word-break: break-all; }
/* comparison strip */
.gx-strip { margin: 24px 0; }
.gx-strip > div { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(170px,1fr); border: 1px solid var(--ink); border-radius: 4px; overflow: auto; }
.gx-strip section { padding: 12px 14px; background: #fff; }
.gx-strip section + section { border-left: 1px solid var(--ink); }
.gx-strip section:nth-child(odd) { background: #fff6f1; }
.gx-strip h4 { font: 700 16px var(--display); margin: 0 0 4px; }
.gx-strip p { font-size: 13px; line-height: 1.5; color: var(--muted); }
/* checklist */
.gx-check { list-style: none; padding: 16px 18px; margin: 0; background: #fffdf6; border: 1px solid #e5dcc0; border-radius: 3px; box-shadow: 4px 4px 0 #e9e3cf; display: grid; gap: 8px; }
.gx-check li { padding-left: 30px; position: relative; line-height: 1.45; }
.gx-check li:before { content: ""; position: absolute; left: 0; top: 1px; width: 16px; height: 16px; border: 1.6px solid var(--ink); border-radius: 2px; background: #fff; }
/* anatomy */
.gx-anatomy { margin: 22px 0; }
.gx-anatomy figcaption { font: 600 10.5px var(--mono); letter-spacing: 1.2px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.gx-segs { display: flex; flex-wrap: wrap; gap: 4px; }
.gx-segs span { flex: 1 1 90px; display: grid; gap: 6px; }
.gx-segs b { font: 700 22px/1 var(--mono); text-align: center; background: var(--ink); color: #fff; padding: 12px 6px; border-radius: 3px; }
.gx-segs span:nth-child(even) b { background: var(--orange); }
.gx-segs i { font-style: normal; font-size: 12px; line-height: 1.4; color: var(--muted); border-top: 2px solid var(--line); padding-top: 5px; }
/* bench note */
.gx-note { margin: 14px 0; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--ink); border-radius: 0 6px 6px 0; }
.gx-note p:last-child { line-height: 1.65; }
.gx-pager { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font: 12px var(--mono); }
.gx-pager a { color: var(--rust); }
/* index */
.gx-index-top { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(250px,.8fr); gap: 22px; align-items: stretch; }
.gx-carwrap { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 7px; padding: 12px; background-image: radial-gradient(#dcdedb 1px,transparent 1px); background-size: 18px 18px; }
.gx-carwrap figcaption { font-size: 12px; color: var(--muted); margin-top: 4px; }
.gx-car { width: 100%; height: auto; }
.gx-car .body { fill: #eceee9; stroke: #202324; stroke-width: 2; }
.gx-car .glass { fill: #d5dcdf; stroke: #202324; stroke-width: 1.4; }
.gx-car .tire { fill: #2a2d2f; } .gx-car .hub { fill: #9ea3a4; } .gx-car .ground { stroke: #9ea3a4; stroke-dasharray: 6 5; }
.gx-car .pin circle { fill: var(--orange); stroke: #fff; stroke-width: 2.5; }
.gx-car .pin text { font: 700 11px var(--mono); fill: #fff; text-anchor: middle; }
.gx-car .pin:hover circle,.gx-car .pin:focus circle { fill: var(--ink); }
.gx-start { display: flex; flex-direction: column; gap: 0; background: #151719; color: #fff; border-radius: 7px; padding: 16px; }
.gx-start .gx-label { color: #ff8c55; }
.gx-start a { display: grid; gap: 3px; padding: 12px 0; border-top: 1px solid #353839; }
.gx-start a b { font: 650 18px var(--display); } .gx-start a span { color: #aaaead; font-size: 13px; }
.gx-start a:hover b { color: #ff8c55; }
.gx-h { margin: 34px 0 12px; font-size: 13px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 1.6px; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.gx-h:after { content: ""; flex: 1; height: 1px; background: var(--line); }
.gx-rows { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--ink); }
.gx-row { border-bottom: 1px solid var(--line); padding: 10px 0; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.8fr); gap: 10px 22px; align-items: center; }
.gx-row:nth-child(4n+1) { background: linear-gradient(90deg,#fff6f1,transparent 60%); }
.gx-rowmain { display: grid; grid-template-columns: 46px 34px minmax(0,1fr); gap: 2px 12px; align-items: baseline; }
.gx-secno { font: 700 26px/1 var(--display); color: var(--orange); grid-row: span 2; }
.gx-code { font: 600 10.5px var(--mono); color: #fff; background: var(--ink); text-align: center; padding: 2px 0; border-radius: 2px; grid-row: span 2; align-self: start; margin-top: 4px; }
.gx-rowtitle { font: 650 18px var(--display); letter-spacing: -.3px; }
.gx-rowsum { color: var(--muted); font-size: 13px; line-height: 1.45; grid-column: 3; }
.gx-rowmain:hover .gx-rowtitle { color: var(--rust); }
.gx-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.gx-chips a { font: 11px var(--mono); padding: 4px 8px; border: 1px solid #c9ccc9; border-radius: 999px; background: #fff; }
.gx-chips a:hover { border-color: var(--rust); color: var(--rust); }
.gx-az { columns: 4 180px; column-gap: 26px; }
.gx-az div { break-inside: avoid; margin-bottom: 12px; }
.gx-az b { display: block; font: 700 22px var(--display); color: var(--rust); border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.gx-az a { display: block; padding: 2px 0; font-size: 13.5px; }
.gx-az a:hover { color: var(--rust); }
.gx-refs { margin-top: 26px; font-size: 12px; color: var(--muted); }
.gx-makes > p { max-width: 900px; line-height: 1.7; font-size: 15px; }
.gx-makes h2 { margin: 28px 0 10px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
@media (max-width: 820px) {
  .gx-hero-inner { grid-template-columns: 1fr; }
  .gx-plate { justify-self: start; grid-auto-flow: column; gap: 10px; align-items: baseline; min-width: 0; }
  .gx-plate b { font-size: 28px; }
  .gx-main { grid-template-columns: 1fr; gap: 16px; }
  .gx-tabs { position: static; flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .gx-tabs a { flex: none; min-width: 44px; border-right: 1px solid var(--line); border-bottom: 0; border-radius: 5px 5px 0 0; }
  .gx-tabs a[aria-current="page"] { margin-right: 0; }
  .gx-explode-wrap,.gx-index-top,.gx-row { grid-template-columns: 1fr; }
  .gx-exploded { max-width: 340px; margin: auto; }
  .gx-strip > div { grid-auto-flow: row; }
  .gx-strip section + section { border-left: 0; border-top: 1px solid var(--ink); }
}

/* Type system: industrial headings, serif reading text, mono codes, handwritten margin notes */
:root { --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace; --serif: "Newsreader", Georgia, "Times New Roman", serif; --hand: "Caveat", "Segoe Print", "Bradley Hand", cursive; }
.gx-body > p, .gx-fam > p, .gx-fam li, .gx-makes > p, .gx-note p:last-child, .gx-strip p, .gx-check li, .gx-legend li, .gx-ledger td:not(.mono), .gx-bins li, .gx-diag td, .gx-diag tbody th, .gx-rowsum, .gx-start a span, .gx-segs i, .safety p { font-family: var(--serif); font-size: 17px; line-height: 1.6; }
.gx-diag tbody th { font-weight: 600; }
.gx-hero p { font-family: var(--serif); font-size: 19px; }
.gx-hero .gx-deck { font-style: italic; font-size: clamp(20px,2vw,24px); line-height: 1.45; color: #d7dadb; }
.gx-hero .gx-deck-rule { border-left: 3px solid var(--orange); padding-left: 16px; }
.gx-hero .gx-lead-roman:first-letter { font: 600 2.4em/0.9 var(--serif); float: left; margin: 4px 8px 0 0; color: var(--orange); }
.gx-intro-deck { font-style: italic; font-size: 21px !important; line-height: 1.5 !important; color: #2c2f30; }
.gx-note p:last-child { font-style: italic; }
.gx-fit { font-family: var(--serif); font-size: 17px; line-height: 1.6; }
.gx-diag td:nth-child(2) { font-style: italic; font-weight: 400; }
.gx-flow figcaption, .gx-anatomy figcaption, .gx-carwrap figcaption { font-family: var(--serif); font-style: italic; font-size: 16px; letter-spacing: 0; text-transform: none; }
.gx-carwrap figcaption { font-size: 16px; }
.gx-flow li { font-family: var(--mono); font-size: 13px; }
.gx-ledger td.mono, .gx-bins li small, .gx-code, .gx-famhead .mono, .gx-plate, .gx-segs b, .gx-chips a, .gx-tabs a { font-family: var(--mono); }
.gx-refs { font-family: var(--serif); font-style: italic; font-size: 16px; }
/* margin notes: handwritten far-right column */
.gx-margin tbody td:last-child { font-family: var(--hand); font-size: 21px; line-height: 1.2; color: #a93b12; font-style: normal; background: repeating-linear-gradient(#fffdf5 0 25px,#e7e1cd 25px 26px); border-left: 2px solid #e8a58a; }
.gx-margin thead th:last-child { background: #a93b12; }
.gx-margin tbody td:last-child > * , .gx-margin tbody td:last-child { transform-origin: left center; }
.gx-margin tbody tr:nth-child(odd) td:last-child { transform: rotate(-0.6deg); }
.gx-margin tbody tr:nth-child(even) td:last-child { transform: rotate(0.5deg); }
.gx-maketable td:last-child { min-width: 240px; }
.gx-margin-segs .gx-segs i { font-family: var(--hand); font-size: 20px; line-height: 1.15; color: #a93b12; border-top: 0; padding: 6px 4px 0; background: repeating-linear-gradient(transparent 0 23px,#e7e1cd 23px 24px); }
.gx-margin-segs .gx-segs span:nth-child(odd) i { transform: rotate(-1.2deg); }
.gx-margin-segs .gx-segs span:nth-child(even) i { transform: rotate(1deg); }
@media (max-width: 820px) { .gx-intro-deck { font-size: 19px !important; } .gx-margin tbody td:last-child { font-size: 20px; } .gx-margin tbody tr td:last-child { transform: none; } }
.gx-maketable td.gx-site { min-width: 190px; }
.gx-maketable td.gx-site a { word-break: normal; overflow-wrap: normal; white-space: nowrap; }
.gx-checked { margin-top: 8px; font: italic 14px var(--serif); color: var(--muted); }
