/* atosadealers: pilot stylesheet (pilot-dealers template.html v1.1) */
/* Layout concept: a printed road atlas. A folded sheet of the United States on a dark desk, then atlas pages: legend, state page, index. */
:root {
  color-scheme: light;
  --paper: #F4EAD5;
  --card: #FCF7EB;
  --ink: #13223A;
  --muted: #4A5870;
  --line: #D8C9A6;
  --red: #D7332B;
  --red-ink: #A3211B;
  --blue: #1B58B8;
  --yellow: #F5B82E;
  --desk: #0F1A2D;
  --cov0: #F4EAD5;
  --cov1: #FAEEC6;
  --cov2: #F0B654;
  --focus: #1B58B8;
  --sign: 'Overpass', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Overpass Mono', ui-monospace, Consolas, monospace;
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--sign); font-size: 17px; line-height: 1.5; font-variant-ligatures: none; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.wrap { max-width: 1240px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.mono { font-family: var(--mono); }
.eyebrow { font-family: var(--sign); font-weight: 900; font-size: 12.5px; letter-spacing: 0.18em; text-transform: uppercase; }
.h2 { font-weight: 900; font-size: clamp(30px, 4.2vw, 58px); line-height: 1; letter-spacing: -0.025em; text-wrap: balance; }
.lede { font-size: clamp(18px, 1.5vw, 21px); max-width: 62ch; text-wrap: pretty; }
.fine { font-size: 14.5px; color: var(--muted); max-width: 86ch; }
.serif { font-family: var(--serif); font-style: italic; }

/* top notice + hero on the desk */
.top { background: var(--ink); color: #fff; font-family: var(--mono); font-size: 12.5px; }
.top .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 24px; padding-block: 8px; }
.hero { background: radial-gradient(120% 90% at 70% 40%, #1C2D4A 0%, var(--desk) 62%, #0A1220 100%); color: #fff; --focus: var(--yellow); position: relative; overflow: hidden; }
.nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 28px; padding-block: 16px; position: relative; z-index: 3; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 900; font-size: 22px; letter-spacing: -0.02em; }
.brand small { display: block; font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: 0.12em; opacity: 0.8; }
.nav nav { display: flex; flex-wrap: wrap; gap: 4px 22px; font-weight: 700; font-size: 15px; }
.nav nav a { text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav nav a:hover { border-bottom-color: var(--yellow); }
.stage { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 18px 56px; align-items: end; padding-block: clamp(6px, 2vh, 24px) 26px; }
.headcol, .findcol { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 16px; }
.mapcol { grid-column: 1 / -1; position: relative; min-height: clamp(470px, 43vw, 650px); }
.bleed { position: absolute; left: calc(50% - 50vw); width: 100vw; top: -24px; bottom: 0; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 64px); mask-image: linear-gradient(180deg, transparent 0, #000 64px); }
#map3d { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.hero h1 { font-weight: 900; font-size: clamp(46px, 6.4vw, 100px); line-height: 0.92; letter-spacing: -0.035em; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero .sub { font-size: 17px; line-height: 1.45; color: #DCE4F0; max-width: 52ch; }
.hero .sub b { color: #fff; }
.finder { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; background: var(--card); color: var(--ink); border-radius: 4px; padding: 14px; box-shadow: 0 18px 40px rgba(0,0,0,0.35); --focus: var(--blue); }
.finder label { grid-column: 1 / -1; font-family: var(--sign); font-weight: 900; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; }
.finder input, .finder select { min-height: 52px; border: 1.5px solid var(--ink); border-radius: 3px; background: #fff; padding: 0 14px; font-weight: 800; font-size: 20px; min-width: 0; width: 100%; }
.finder input { font-family: var(--mono); letter-spacing: 0.08em; }
.finder select { font-size: 16px; font-weight: 700; grid-column: 1 / -1; }
.go { min-height: 52px; padding: 0 22px; border: 0; border-radius: 3px; background: var(--red); color: #fff; font-weight: 900; font-size: 17px; cursor: pointer; }
.go:hover { background: var(--red-ink); }
.tries { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 8px; align-items: center; font-size: 14px; color: var(--muted); }
.tries button { border: 1.5px solid var(--ink); background: transparent; border-radius: 999px; padding: 4px 11px; font-family: var(--mono); font-weight: 700; font-size: 13px; cursor: pointer; min-height: 32px; }
.tries button:hover { background: var(--yellow); }
.msg { grid-column: 1 / -1; font-size: 14.5px; font-weight: 700; color: var(--red-ink); }

/* the measured answer, as text */
.trip { position: absolute; z-index: 2; left: 0; bottom: 0; width: min(410px, 100%); background: var(--card); color: var(--ink); border-radius: 4px; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,0.35); --focus: var(--blue); }
.trip header { padding: 12px 16px; background: var(--yellow); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2px 14px; align-items: baseline; }
.trip header b { font-weight: 900; font-size: 17px; }
.trip header span { font-family: var(--mono); font-size: 12px; }
.leg { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 2px 12px; padding: 12px 16px; border-top: 1px solid var(--line); align-items: start; }
.leg .ico { grid-row: 1 / span 3; padding-top: 2px; }
.leg .k { font-family: var(--sign); font-weight: 800; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); grid-column: 2 / -1; }
.leg .n { font-weight: 800; font-size: 17px; line-height: 1.25; }
.leg .mi { font-family: var(--mono); font-weight: 700; font-size: 15px; white-space: nowrap; text-align: right; }
.leg .x { grid-column: 2 / -1; font-size: 14.5px; color: var(--muted); }
.leg .x a { color: var(--ink); font-weight: 700; }
.trip footer { padding: 10px 16px 13px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.trip footer a { color: var(--ink); font-weight: 800; }

/* legend box, as on the sheet margin */
.legend { grid-column: 1 / -1; position: relative; z-index: 2; background: var(--card); color: var(--ink); border: 2px solid var(--ink); outline: 1px solid var(--ink); outline-offset: -6px; border-radius: 2px; padding: 14px 18px 15px; display: grid; grid-template-columns: auto minmax(0, 3.2fr) minmax(0, 1fr); gap: 6px 26px; align-items: center; box-shadow: 0 16px 34px rgba(0,0,0,0.3); }
.legend h2 { font-family: var(--sign); font-weight: 900; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); border-left: 2px solid var(--ink); padding-left: 8px; align-self: stretch; text-align: center; }
.legend ul { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 22px; font-size: 14px; line-height: 1.25; }
.legend li { display: grid; grid-template-columns: 26px minmax(0, 1fr); gap: 8px; align-items: center; }
.legend li b { font-weight: 800; }
.legend .cov { display: grid; gap: 4px; padding-left: 20px; border-left: 1px dashed var(--ink); font-size: 12.5px; }
.legend .cov span { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 16px; height: 12px; border: 1.5px solid var(--ink); display: inline-block; flex: 0 0 auto; }
.sw.c2 { background: var(--cov2); } .sw.c1 { background: var(--cov1); } .sw.c0 { background: repeating-linear-gradient(135deg, var(--cov0) 0 3px, #D9CCAE 3px 4px); }
.tip { position: absolute; z-index: 4; pointer-events: none; background: var(--ink); color: #fff; border: 2px solid #fff; border-radius: 8px; padding: 6px 10px; font-size: 14px; font-weight: 700; line-height: 1.25; transform: translate(-50%, -135%); white-space: nowrap; }
.tip span { display: block; font-family: var(--mono); font-weight: 400; font-size: 12px; }
#labels { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
#labels svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.chip3 { position: absolute; left: 0; top: 0; background: var(--card); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 3px; padding: 4px 9px 3px; font-weight: 800; font-size: 13.5px; line-height: 1.2; white-space: nowrap; box-shadow: 0 3px 10px rgba(10,18,32,0.32); }
.chip3 span { display: block; font-family: var(--mono); font-weight: 700; font-size: 12px; }
.chip3.you { background: var(--ink); color: #fff; border-color: #fff; }
.chip3.r span { color: var(--red-ink); } .chip3.b span { color: var(--ink); } .chip3.s span { color: var(--blue); }
.flatwrap { display: none; background: var(--paper); border-radius: 6px; padding: 6px; box-shadow: 0 18px 40px rgba(0,0,0,0.35); }
.flatwrap svg { display: block; width: 100%; height: auto; }
.hero.flat .bleed { display: none; }
.hero.flat .flatwrap { display: block; }
.hero.flat .mapcol { min-height: 0; display: flex; flex-direction: column; gap: 16px; }
.hero.flat .trip { position: static; width: 100%; }
@media (max-width: 899px) { .stage { grid-template-columns: minmax(0, 1fr); } .legend { grid-template-columns: minmax(0, 1fr); box-shadow: none; } .legend h2 { writing-mode: horizontal-tb; transform: none; border-left: 0; border-bottom: 2px solid var(--ink); padding: 0 0 6px; text-align: left; } .legend ul { grid-template-columns: minmax(0, 1fr); } .legend .cov { padding: 8px 0 0; border-left: 0; border-top: 1px dashed var(--ink); } }

/* road strip between pages */
.road { height: 34px; background: #1B2638; position: relative; }
.road::after { content: ""; position: absolute; left: 0; right: 0; top: 15px; height: 4px; background: repeating-linear-gradient(90deg, var(--yellow) 0 46px, transparent 46px 84px); }

.band { padding-block: clamp(54px, 7vw, 104px); }
.band.card { background: var(--card); }
.stack { display: flex; flex-direction: column; gap: 26px; }
.exit { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; background: var(--ink); color: #fff; border-radius: 8px 8px 0 0; padding: 7px 14px 5px; font-family: var(--mono); font-weight: 700; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: -26px; }
.exit b { color: var(--yellow); }
.sheet { border: 2px solid var(--ink); background: var(--card); border-radius: 0 3px 3px 3px; padding: clamp(18px, 2.6vw, 34px); position: relative; }
.band.card .sheet { background: var(--paper); }

/* coverage statement */
.cover { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 0; border-top: 3px solid var(--ink); border-bottom: 1px solid var(--ink); border-radius: 0; overflow: hidden; background: var(--card); }
.cover > div { padding: 18px 20px 20px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.cover b.big { font-weight: 900; font-size: clamp(38px, 4vw, 56px); line-height: 0.95; letter-spacing: -0.03em; }
.cover span { font-size: 15px; line-height: 1.35; }
.cover .k { font-family: var(--sign); font-weight: 800; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }

/* three ways */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.way { border: 1px solid var(--ink); border-radius: 3px; background: var(--card); display: flex; flex-direction: column; overflow: hidden; min-width: 0; }
/* the picture sits on a scrap of the atlas sheet: cream paper, blue graticule, a contact shadow under the unit */
.way .pic { height: 170px; display: flex; align-items: flex-end; justify-content: center; padding: 14px 18px 8px; position: relative; background-color: var(--paper); background-image: linear-gradient(rgba(27,88,184,0.15) 1px, transparent 1px), linear-gradient(90deg, rgba(27,88,184,0.15) 1px, transparent 1px); background-size: 34px 34px; background-position: -1px -1px; border-bottom: 1px solid var(--ink); }
.way .pic::before { content: ""; position: absolute; left: 50%; bottom: 4px; width: 52%; height: 16px; transform: translateX(-50%); background: radial-gradient(closest-side, rgba(19,34,58,0.34), rgba(19,34,58,0)); }
.way .pic img { position: relative; max-height: 150px; width: auto; }
.way .pic .no { position: absolute; left: 12px; top: 10px; font-family: var(--sign); font-weight: 900; font-size: 12px; letter-spacing: 0.16em; color: var(--ink); background: var(--card); border: 1px solid var(--ink); border-radius: 2px; padding: 4px 8px 2px; }
.way .pic .cap { position: absolute; right: 12px; top: 12px; font-family: var(--mono); font-size: 11.5px; color: var(--blue); }
.way .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.way h3 { font-weight: 900; font-size: 26px; line-height: 1.05; letter-spacing: -0.02em; }
.way .count { display: flex; align-items: baseline; gap: 8px; font-weight: 900; font-size: 32px; line-height: 1; letter-spacing: -0.02em; color: var(--red-ink); }
.way .count small { font-family: var(--mono); font-weight: 700; font-size: 12.5px; letter-spacing: 0.04em; color: var(--muted); }
.way p { font-size: 16px; }
.way ul { list-style: none; padding: 0; display: grid; gap: 7px; font-size: 15px; line-height: 1.3; }
.way li { padding-left: 16px; position: relative; }
.way li::before { content: ""; position: absolute; left: 0; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--ink); }
.way li b { font-weight: 800; }
.way .ask { margin-top: auto; border-left: 3px solid var(--red); padding: 2px 0 2px 12px; font-size: 15px; font-weight: 700; line-height: 1.35; }

/* state page */
.spick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.spick button { min-height: 40px; padding: 0 13px; border: 1px solid var(--ink); border-radius: 3px; background: var(--card); font-weight: 800; font-size: 15px; cursor: pointer; }
.spick button i { font-style: normal; font-family: var(--mono); font-weight: 400; font-size: 12px; margin-left: 6px; opacity: 0.75; }
.spick button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.spick select { min-height: 40px; border: 1px solid var(--ink); border-radius: 3px; background: var(--card); padding: 0 10px; font-weight: 700; font-size: 15px; }
.page { display: flex; flex-direction: column; gap: 20px; }
.pagemap { border: 1px solid var(--ink); outline: 1px solid var(--ink); outline-offset: 3px; background: var(--paper); border-radius: 0; padding: 0; margin: 4px; }
.pagemap svg { display: block; width: 100%; height: auto; }
.pagehead { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 20px; border-bottom: 4px solid var(--ink); padding-bottom: 10px; }
.pagehead h3 { font-weight: 900; font-size: clamp(40px, 6vw, 86px); line-height: 0.88; letter-spacing: -0.04em; text-transform: uppercase; }
.pagehead .ref { font-family: var(--mono); font-size: 13px; text-align: right; }
.pagefacts { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.fact { border: 1px solid var(--ink); border-radius: 999px; padding: 4px 12px 3px; font-size: 14px; font-weight: 700; background: var(--card); }
.fact.cv2 { background: var(--cov2); } .fact.cv1 { background: var(--cov1); }
.plates { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: 18px; align-items: start; }
/* a plate is a gazetteer entry: route shield with the pin number, a blue grid stamp, then what is known, then one line of what is not */
.plate { border: 1px solid var(--ink); border-radius: 3px; background: var(--card); padding: 16px 18px 16px; display: flex; flex-direction: column; gap: 12px; position: relative; min-width: 0; }
.plate .phd { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 4px 13px; align-items: start; padding-right: 78px; }
.shield { width: 40px; height: 44px; display: block; filter: drop-shadow(0 1px 1.5px rgba(19,34,58,0.3)); }
.plate .stamp { position: absolute; top: 14px; right: 14px; font-family: var(--mono); font-weight: 700; font-size: 11.5px; letter-spacing: 0.08em; color: var(--blue); border: 1.5px solid var(--blue); border-radius: 2px; padding: 3px 7px 1px; transform: rotate(-4deg); opacity: 0.9; }
.plate h4 { font-weight: 900; font-size: 23px; line-height: 1.1; letter-spacing: -0.015em; }
.plate .addr { font-size: 16px; line-height: 1.35; margin-top: 4px; }
.plate .addr .ph { font-family: var(--mono); font-weight: 700; white-space: nowrap; user-select: all; }
.claims { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr)); gap: 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.claim { padding: 8px 11px 9px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; font-size: 14.5px; line-height: 1.3; min-width: 0; }
.claim .k { font-family: var(--sign); font-weight: 800; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.unkline { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 1.4; color: var(--muted); }
.unkline svg { flex: 0 0 auto; margin-top: 2px; }
.unkline b { font-weight: 800; color: var(--ink); }
.plate .chk { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.floorline { display: flex; gap: 10px; align-items: flex-start; font-size: 15.5px; line-height: 1.4; border-left: 3px solid var(--yellow); padding: 2px 0 2px 12px; }
.floorline b { font-weight: 900; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.claim .v { font-weight: 700; display: flex; gap: 7px; align-items: flex-start; }
.claim .v svg { flex: 0 0 auto; margin-top: 2px; }
.claim.unk .v { font-weight: 600; color: var(--muted); }
.claim a { font-weight: 700; }
.acts { display: flex; flex-wrap: wrap; gap: 8px; }
.btn { display: inline-flex; align-items: center; min-height: 42px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 6px; background: var(--ink); color: #fff; font-weight: 800; font-size: 15px; text-decoration: none; }
.btn.line { background: transparent; color: var(--ink); }
.empty { border: 1.5px dashed var(--ink); border-radius: 3px; padding: 22px; font-size: 17px; background: var(--card); }
.empty b { font-weight: 900; }
.others h4 { font-family: var(--sign); font-weight: 900; font-size: 12.5px; letter-spacing: 0.16em; text-transform: uppercase; margin: 8px 0 8px; }
.mini { display: grid; gap: 8px; }
.minirow { border: 1px solid var(--ink); border-radius: 3px; padding: 9px 12px; background: var(--card); display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 2px 10px; font-size: 15px; line-height: 1.3; }
.minirow b { font-weight: 800; }
.minirow span { grid-column: 2; color: var(--muted); font-size: 14px; }
.minirow .ph { font-family: var(--mono); font-weight: 700; color: var(--ink); user-select: all; }

/* index of places */
.idxtools { display: flex; flex-wrap: wrap; gap: 8px; }
.idxtools button { min-height: 40px; padding: 0 14px; border: 2px solid var(--ink); border-radius: 999px; background: transparent; font-weight: 800; font-size: 15px; cursor: pointer; }
.idxtools button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.idx { columns: 3 300px; column-gap: 28px; font-size: 15px; line-height: 1.3; }
.idx .grp { break-inside: avoid; margin-bottom: 14px; }
.idx h4 { font-weight: 900; font-size: 17px; border-bottom: 2px solid var(--ink); padding-bottom: 3px; margin-bottom: 4px; display: flex; justify-content: space-between; }
.idx h4 span { font-family: var(--mono); font-weight: 400; font-size: 12px; }
.idx button { display: grid; grid-template-columns: 16px minmax(0, 1fr) auto; gap: 8px; width: 100%; text-align: left; border: 0; background: transparent; padding: 5px 0; border-bottom: 1px dotted #B9AA86; cursor: pointer; align-items: baseline; }
.idx button:hover { background: var(--cov1); }
.idx button .g { font-family: var(--mono); font-size: 12.5px; white-space: nowrap; }
.idx button small { display: block; color: var(--muted); font-size: 13px; }

/* service: fork in the road */
.fork { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.lane { border: 1px solid var(--ink); border-radius: 3px; overflow: hidden; background: var(--card); display: flex; flex-direction: column; }
.lane header { padding: 16px 20px 14px; color: #fff; background: var(--blue); display: flex; gap: 14px; align-items: center; }
.lane.out header { background: var(--ink); }
.lane header h3 { font-weight: 900; font-size: clamp(24px, 2.6vw, 34px); line-height: 1; letter-spacing: -0.02em; }
.lane header span { font-family: var(--sign); font-weight: 800; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; display: block; opacity: 0.9; margin-bottom: 4px; }
.lane .in { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.bigph { font-family: var(--mono); font-weight: 700; font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.01em; user-select: all; }
.lane ul { list-style: none; padding: 0; display: grid; gap: 9px; font-size: 16px; }
.lane li { padding-left: 18px; position: relative; }
.lane li::before { content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; background: var(--yellow); border: 1.5px solid var(--ink); transform: rotate(45deg); }
.wtable { width: 100%; border-collapse: collapse; font-size: 15px; }
.wtable th, .wtable td { text-align: left; padding: 7px 8px; border-bottom: 1px solid var(--line); }
.wtable th { font-family: var(--sign); font-weight: 800; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.tblwrap { overflow-x: auto; }

/* before you drive */
.checks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); gap: 18px; counter-reset: ck; }
.check { counter-increment: ck; border: 1px solid var(--ink); border-radius: 3px; background: var(--card); padding: 18px 18px 18px 74px; position: relative; display: flex; flex-direction: column; gap: 8px; min-height: 150px; }
.check::before { content: ""; position: absolute; left: 16px; top: 16px; width: 42px; height: 42px; border: 2px solid var(--ink); background: var(--yellow); transform: rotate(45deg); border-radius: 6px; }
.check::after { content: counter(ck); position: absolute; left: 16px; top: 16px; width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 20px; }
.check h3 { font-weight: 900; font-size: 21px; line-height: 1.1; }
.check p { font-size: 15.5px; }
.units { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 18px; }
.unit { border: 1px solid var(--ink); border-radius: 3px; background: var(--card); display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 14px; align-items: center; }
.unit img { max-height: 132px; width: auto; margin-inline: auto; }
.unit b { font-family: var(--mono); font-size: 16px; }
.unit span { display: block; font-size: 14.5px; line-height: 1.35; }
.unit .d { font-weight: 800; font-size: 15.5px; margin-top: 4px; }

.srcs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); gap: 14px 30px; font-size: 15px; }
.srcs div { border-top: 2px solid var(--ink); padding-top: 9px; }
.srcs b { display: block; font-weight: 900; font-size: 16px; }
footer.end { background: var(--ink); color: #fff; padding-block: 30px 40px; font-size: 14.5px; --focus: var(--yellow); }
footer.end p { max-width: 84ch; opacity: 0.92; }
@media (max-width: 899px) {
  .ways, .fork { grid-template-columns: minmax(0, 1fr); }
  .nav nav { display: none; }
}
@media (max-width: 560px) {
  .plate { padding: 14px 14px; }
  .plate .phd { padding-right: 0; padding-top: 22px; }
  .plate .stamp { top: 10px; right: 10px; }
  .way .pic { height: 160px; } .way .pic img { max-height: 140px; }
  .check { padding-left: 66px; }
  .unit { grid-template-columns: 84px minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

/* ===== atosadealers production additions: site chrome on every page + the sub-page components named in the design notes.
   Same tokens as the pilot (cream map paper, navy ink, red measuring line, shield blue, yellow road paint). ===== */

/* links and small inline parts */
.tlink { color: inherit; font-weight: 700; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: var(--blue); }
.tlink:hover { text-decoration-color: var(--red); }
.hero .tlink { text-decoration-color: var(--yellow); }
a.tel, span.tel { font-family: var(--mono); font-weight: 700; white-space: nowrap; color: inherit; text-decoration: underline dotted; text-underline-offset: 3px; }
.mail { font-family: var(--mono); font-size: 0.94em; overflow-wrap: anywhere; }
.ph { font-family: var(--mono); font-size: 0.9em; border: 1.5px dashed var(--red); color: var(--red-ink); padding: 0 6px; border-radius: 2px; }
code { font-family: var(--mono); font-size: 0.92em; }
.bigph a { color: inherit; text-decoration: none; }
p.more { margin-top: 4px; }

/* nav on phones: a scrolling row under the brand (the pilot hid it) */
.nav nav a[aria-current="page"] { border-bottom-color: var(--yellow); }
@media (max-width: 899px) {
  .nav { padding-bottom: 6px; }
  .nav nav { display: flex; flex-wrap: nowrap; overflow-x: auto; width: 100%; gap: 0 20px; font-size: 14.5px; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 2px; }
  .nav nav::-webkit-scrollbar { display: none; }
  .nav nav a { white-space: nowrap; flex: 0 0 auto; }
}

/* ---------- sub-page hero: the same dark desk, a compact stage, the sheet map lying on it ---------- */
.hero.sub { padding-bottom: clamp(26px, 4vw, 52px); }
.pstage { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 26px clamp(28px, 4vw, 60px); align-items: center; padding-block: clamp(8px, 2.4vw, 30px) 0; }
.hero.solo .pstage { grid-template-columns: minmax(0, 1fr); }
.hero.solo .phead { max-width: 880px; }
.phead { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.hero.sub h1 { font-size: clamp(34px, 4.5vw, 64px); line-height: 0.98; letter-spacing: -0.03em; }
.hero.sub .sub { font-size: 17.5px; max-width: 60ch; }
.hero.sub .sub a { color: #fff; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 8px; font-family: var(--mono); font-size: 12.5px; color: #B9C6DD; }
.crumbs a { color: #fff; text-decoration: underline; text-decoration-color: rgba(245,184,46,0.7); text-underline-offset: 3px; }
.crumbs i { font-style: normal; opacity: 0.6; }
.hero.sub .eyebrow { color: var(--yellow); }
.mapcard { margin: 0; background: var(--paper); color: var(--ink); border-radius: 4px; padding: 8px 8px 10px; box-shadow: 0 22px 46px rgba(0,0,0,0.42), 0 2px 0 rgba(255,255,255,0.08) inset; transform: rotate(-0.5deg); min-width: 0; }
.mapcard > svg { display: block; width: 100%; height: auto; border: 1px solid var(--ink); outline: 1px solid var(--ink); outline-offset: 2px; }
.mapleg { display: flex; flex-wrap: wrap; gap: 4px 14px; padding: 10px 4px 0; font-size: 13px; font-weight: 700; line-height: 1.2; }
.mapleg span { display: inline-flex; align-items: center; gap: 6px; }
.forksign { min-width: 0; }
.forksign svg { display: block; width: 100%; max-width: 440px; height: auto; margin-inline: auto; border-radius: 6px; box-shadow: 0 22px 46px rgba(0,0,0,0.42); transform: rotate(0.6deg); }
.hero .finder.mini { max-width: 520px; padding: 12px; }
.finder.mini input { min-height: 46px; font-size: 19px; }
.finder.mini .go { min-height: 46px; }
.zres { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 10px; font-size: 14.5px; display: grid; gap: 6px; }
.zres b { font-weight: 900; }
.zres ol { margin: 0; padding-left: 20px; display: grid; gap: 4px; }
.zres li span { font-family: var(--mono); font-size: 13px; margin-left: 8px; color: var(--red-ink); }
.zres small { color: var(--muted); font-size: 12.5px; }
.hero .checks.toc5 { grid-template-columns: minmax(0, 1fr); gap: 10px; }
.hero .checks.toc5 .check { min-height: 0; padding: 12px 14px 12px 66px; color: var(--ink); box-shadow: 0 10px 24px rgba(0,0,0,0.28); }
.hero .checks.toc5 .check::before, .hero .checks.toc5 .check::after { width: 34px; height: 34px; left: 16px; top: 50%; margin-top: -17px; font-size: 16px; }
.hero .checks.toc5 a { text-decoration: none; }
.hero .checks.toc5 .h3 { display: block; font-size: 17px; border: 0; padding: 0; }
@media (max-width: 899px) {
  .pstage { grid-template-columns: minmax(0, 1fr); }
  .mapcard, .forksign svg { transform: none; }
}

/* section bar under the hero */
.toc { background: var(--card); border-bottom: 1px solid var(--line); position: relative; }
.toc .wrap { display: flex; gap: 6px 8px; align-items: center; overflow-x: auto; padding-block: 10px; scrollbar-width: thin; }
.toc span { font-weight: 900; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; margin-right: 6px; }
.toc a { white-space: nowrap; flex: 0 0 auto; text-decoration: none; font-weight: 800; font-size: 14px; border: 1px solid var(--ink); border-radius: 999px; padding: 4px 12px 3px; background: var(--paper); }
.toc a:hover { background: var(--yellow); }

/* ---------- the atlas sheet head (state, city, place and branch pages) ---------- */
.band.sheetband { padding-block: clamp(34px, 5vw, 64px) clamp(20px, 3vw, 40px); }
.pgname { font-weight: 900; font-size: clamp(38px, 6vw, 86px); line-height: 0.9; letter-spacing: -0.04em; text-transform: uppercase; overflow-wrap: anywhere; }
.intro { display: grid; gap: 14px; max-width: 76ch; font-size: 17.5px; }
.intro.solo { font-size: 18px; }
.pgfull { margin: 0; }
.pagehead .ref { margin-left: auto; }
.nw { white-space: nowrap; }

/* ---------- sections ---------- */
.flow { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.flow > p, .flow > .bul, .flow > .asks, .flow > .steps, .flow > blockquote { max-width: 74ch; }
.flow > p { font-size: 17px; }
.stack > .lede + .flow { margin-top: -6px; }
.subsec { display: flex; flex-direction: column; gap: 14px; padding-top: 4px; }
.h3 { font-weight: 900; font-size: clamp(22px, 2.3vw, 30px); line-height: 1.08; letter-spacing: -0.02em; border-top: 2px solid var(--ink); padding-top: 12px; text-wrap: balance; }
.subsec .subsec .h3, .h4 { font-weight: 900; font-size: 19px; line-height: 1.15; border-top: 1px solid var(--ink); padding-top: 8px; }
.lab { font-weight: 900; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: -8px; }
.lab b { font-weight: 900; }

/* lists */
.bul { list-style: none; padding: 0; display: grid; gap: 9px; font-size: 16.5px; }
.bul > li { padding-left: 20px; position: relative; }
.bul > li::before { content: ""; position: absolute; left: 1px; top: 8px; width: 8px; height: 8px; background: var(--yellow); border: 1.5px solid var(--ink); transform: rotate(45deg); }
.bul .bul { margin-top: 6px; font-size: 15.5px; }
.steps { list-style: none; padding: 0; display: grid; gap: 10px; font-size: 16.5px; }
.steps li { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; }
.steps .shield { width: 30px; height: 33px; }
.asks { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--ink); }
.asks li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 10px 2px; border-bottom: 1px solid var(--line); font-size: 16px; }
.asks li svg { margin-top: 3px; }
.asks em { font-style: normal; font-family: var(--sign); font-weight: 900; font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-ink); border-left: 3px solid var(--red); padding: 2px 0 1px 8px; align-self: center; }
ol.checks { list-style: none; padding: 0; margin: 0; }
.check p + p { margin-top: 4px; }
.check .bul { font-size: 15px; }

/* plates on sub-pages (the pilot's .plate) */
.plate .ptitle { font-weight: 900; font-size: 23px; line-height: 1.1; letter-spacing: -0.015em; }
.plate .ptitle .serif { font-weight: 400; font-size: 0.82em; }
.plate .pnote { font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 1.4; color: var(--ink); }
.plate .fromzip { font-family: var(--mono); font-weight: 700; font-size: 13px; color: var(--red-ink); border-left: 3px solid var(--red); padding-left: 10px; }
.plate .bul { font-size: 15px; }
.plate:target, .brow:target, tr:target { background: #FFF4D6; box-shadow: 0 0 0 3px var(--yellow); }
.claim .dt { font-family: var(--mono); font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.claim .v > span { min-width: 0; overflow-wrap: anywhere; }
.claims.boxed { border: 1px solid var(--ink); border-radius: 3px; background: var(--card); }
.band.card .claims.boxed, .band.card .plate { background: var(--paper); }
.bigclaims { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: 14px; }
.claim.big { border: 1px solid var(--ink); border-radius: 3px; background: var(--card); padding: 14px 15px 13px; gap: 6px; font-size: 16px; }
.band.card .claim.big { background: var(--paper); }
.claim.big .v { font-size: 16.5px; }
.claim .srcl { font-size: 13.5px; color: var(--muted); }
.plate.loc .claims { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }

/* tables */
.tblwrap { overflow-x: auto; border: 1px solid var(--ink); border-radius: 3px; background: var(--card); max-width: 100%; }
.band.card .tblwrap { background: var(--paper); }
.tbl { width: 100%; border-collapse: collapse; font-size: 15.5px; line-height: 1.35; }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 9px 12px; border-bottom: 1px solid var(--line); }
.tbl thead th { font-family: var(--sign); font-weight: 800; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--ink); white-space: nowrap; }
.tbl tbody th { font-weight: 800; }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.pintbl td.pn { width: 46px; padding-right: 0; }
.pintbl .shield { width: 30px; height: 33px; }
.pintbl th a, .mileage th a, .brow .bn a { color: inherit; text-decoration: underline; text-decoration-color: var(--blue); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.pintbl .fromzip { display: block; font-family: var(--mono); font-size: 12.5px; color: var(--red-ink); font-weight: 700; }
.mileage td.mi { font-family: var(--mono); font-weight: 700; white-space: nowrap; min-width: 190px; }
.mileage td.mi > span:last-child { display: block; }
.mbar { display: block; height: 7px; width: var(--w); max-width: 100%; margin: 4px 0 5px; background: linear-gradient(90deg, var(--ink) 0 2px, transparent 2px) 0 0 / 14px 7px repeat-x, linear-gradient(var(--red), var(--red)) 0 50% / 100% 3px no-repeat; border-right: 2px solid var(--ink); }
.mnote { display: flex; gap: 10px; align-items: center; font-size: 13.5px; color: var(--muted); margin-top: -8px; }
.matrix { font-family: var(--mono); font-size: 13.5px; }
.matrix thead th { vertical-align: bottom; text-transform: none; letter-spacing: 0; font-family: var(--sign); font-size: 13px; color: var(--ink); white-space: normal; min-width: 92px; }
.matrix tbody th { font-family: var(--sign); font-size: 14.5px; white-space: nowrap; }
.matrix td { text-align: center; white-space: nowrap; border-left: 1px solid var(--line); }
.matrix td.diag { background: repeating-linear-gradient(135deg, var(--paper) 0 4px, #D9CCAE 4px 5px); }
.matrix td.nil { background: transparent; }
.models .mcode { display: flex; align-items: center; gap: 10px; }
.models .mcode img { width: 44px; height: 44px; object-fit: contain; flex: 0 0 auto; }
.models th[scope="row"] { min-width: 190px; }
.cover.tally > div { gap: 6px; }
.bars { border: 1px solid var(--ink); border-radius: 3px; background: var(--card); padding: 8px 14px; display: grid; }
.band.card .bars { background: var(--paper); }
.bline { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 4px 18px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.bars .bline:last-child { border-bottom: 0; }
.bars .bh { font-weight: 800; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--ink); }
.bv { display: flex; align-items: center; gap: 10px; }
.bv i { display: block; height: 16px; width: var(--w); min-width: 3px; background: var(--red); border: 1.5px solid var(--ink); box-shadow: 3px 3px 0 -1px var(--card), 3px 3px 0 0 var(--ink); }
.bv b { font-family: var(--mono); font-weight: 700; }
.bars .tot { font-weight: 900; border-top: 2px solid var(--ink); }
.grades { display: grid; gap: 0; border-top: 2px solid var(--ink); }
.grow { display: grid; grid-template-columns: 46px minmax(0, 1fr) minmax(0, 0.55fr); gap: 6px 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.gbadge { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 19px; border: 2px solid var(--ink); background: var(--red); color: #fff; }
.gbadge.gB { background: #E86A62; } .gbadge.gC { background: #F0A39E; color: var(--ink); } .gbadge.gO { background: var(--ink); color: var(--yellow); border-radius: 3px; }
.gn { font-family: var(--mono); font-size: 14px; }
@media (max-width: 640px) { .grow { grid-template-columns: 46px minmax(0, 1fr); } .gn { grid-column: 2; } .bline { grid-template-columns: minmax(0, 1fr); } }

/* warranty years, drawn from the warranty table */
.years { display: grid; gap: 8px; border: 1px solid var(--ink); border-radius: 3px; padding: 14px 16px; background: var(--card); }
.yr { display: grid; grid-template-columns: minmax(120px, 0.9fr) minmax(0, 2fr); gap: 14px; align-items: center; font-size: 14.5px; font-weight: 700; }
.ys { position: relative; height: 18px; background: repeating-linear-gradient(90deg, transparent 0 calc(20% - 1px), rgba(27,88,184,0.35) calc(20% - 1px) 20%); border-bottom: 1px solid var(--ink); }
.ys i { position: absolute; top: 2px; bottom: 2px; }
.ys .pl { left: 0; width: calc(var(--pl) * 20%); background: var(--blue); border: 1.5px solid var(--ink); }
.ys .cp { left: calc(var(--pl) * 20%); width: calc((var(--cp) - var(--pl)) * 20%); background: repeating-linear-gradient(135deg, var(--yellow) 0 5px, #FFE3A0 5px 9px); border: 1.5px solid var(--ink); }
.yscale .ys { background: none; border: 0; height: 16px; }
.yscale em { position: absolute; left: calc(var(--y) * 20%); transform: translateX(-50%); font-style: normal; font-family: var(--mono); font-size: 12px; }
.yscale em:first-child { transform: none; } .yscale em:last-child { transform: translateX(-100%); }
.ykey { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 13px; color: var(--muted); margin-top: 4px; }
.ykey span { display: inline-flex; align-items: center; gap: 6px; }
.ykey i { display: inline-block; width: 18px; height: 10px; border: 1.5px solid var(--ink); }
.ykey i.pl { background: var(--blue); } .ykey i.cp { background: var(--yellow); }

/* branch sign: a road sign, navy with a cream rim */
.sign { position: relative; background: var(--ink); color: #FCF7EB; border-radius: 8px; padding: 20px 22px 18px; border: 3px solid #FCF7EB; outline: 2px solid var(--ink); box-shadow: 0 14px 30px rgba(10,18,32,0.25); display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.sign .stamp { position: absolute; top: 14px; right: 14px; font-family: var(--mono); font-weight: 700; font-size: 11.5px; letter-spacing: 0.08em; color: var(--yellow); border: 1.5px solid var(--yellow); border-radius: 2px; padding: 3px 7px 1px; transform: rotate(-4deg); }
.shd { display: flex; gap: 14px; align-items: center; padding-right: 80px; }
.shd .k { display: block; font-weight: 800; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow); }
.shd b { display: block; font-weight: 900; font-size: clamp(26px, 3vw, 38px); line-height: 1; letter-spacing: -0.02em; }
.sign dl { margin: 0; display: grid; gap: 0; border-top: 1px solid rgba(252,247,235,0.35); }
.sign dl > div { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(252,247,235,0.18); }
.sign dt { font-weight: 800; font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: #B9C6DD; padding-top: 3px; }
.sign dd { margin: 0; font-family: var(--mono); font-size: 15px; font-weight: 700; overflow-wrap: anywhere; }
.sign dl > div.unk dd { font-family: var(--sign); font-weight: 600; color: #DCE4F0; }
.sign .same { display: flex; flex-direction: column; gap: 8px; background: rgba(27,88,184,0.35); border-radius: 4px; padding: 10px 12px; font-size: 15px; }
.sign .same .si { display: flex; gap: 10px; align-items: center; }
.sign .same svg { flex: 0 0 auto; }
.sign .ssrc { font-size: 13px; color: #B9C6DD; }
.sign a { color: #fff; }
@media (max-width: 560px) { .sign { padding: 16px 14px; } .shd { padding-right: 0; padding-top: 30px; } .sign dl > div { grid-template-columns: minmax(0, 1fr); gap: 2px; } }

/* branch list (the Atosa USA list; each card is a link target: /atosa-branches/#hayward-ca) */
.branchlist { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(330px, 100%), 1fr)); gap: 12px; }
.branchlist .brow { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 4px 12px; align-items: start; border: 1px solid var(--ink); border-radius: 3px; background: var(--card); padding: 13px 14px; scroll-margin-top: 16px; font-size: 15px; }
.band.card .branchlist .brow { background: var(--paper); }
.branchlist .brow.svc { border-style: dashed; }
.branchlist .bn { font-weight: 900; font-size: 18px; line-height: 1.15; }
.branchlist .bt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.branchlist .bc { font-size: 14.5px; overflow-wrap: anywhere; }
.branchlist .g { font-family: var(--mono); font-weight: 700; font-size: 11.5px; color: var(--blue); border: 1.5px solid var(--blue); border-radius: 2px; padding: 2px 6px 0; transform: rotate(-4deg); }
.branchlist .more { font-weight: 800; font-size: 14px; margin-top: 4px; }

/* service lanes as whole sections */
.lane.wide header { padding: 18px 22px 16px; }
.lane .h2l { font-weight: 900; font-size: clamp(26px, 3.2vw, 44px); line-height: 1; letter-spacing: -0.02em; }
.lane.wide .in { padding: clamp(18px, 2.6vw, 30px); gap: 18px; }
.lane.wide .in .lede { max-width: 70ch; }
.lane .flow > p { font-size: 16.5px; }
.lane .bul > li::before { background: var(--yellow); }
.fork .lane .in p { font-size: 16px; }

/* questions as margin notes */
.qa-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 22px 34px; }
.qa { border-left: 3px solid var(--ink); padding: 2px 0 2px 18px; display: flex; flex-direction: column; gap: 8px; }
.qa h3 { font-weight: 900; font-size: 20px; line-height: 1.15; }
.qa .flow { gap: 10px; }
.qa .flow > p { font-size: 16px; }

/* sources (the pilot's .srcs) */
.srcs div { overflow-wrap: anywhere; }
.srcs div b { margin-bottom: 2px; }
.srcs a.tlink { font-weight: 600; font-size: 14px; }

/* correction slip */
.slip { position: relative; border: 2px dashed var(--ink); border-radius: 4px; background: var(--card); padding: 26px clamp(16px, 3vw, 30px) 20px; max-width: 820px; }
.slipk { position: absolute; top: -13px; left: 18px; background: var(--ink); color: #fff; font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 10px 2px; border-radius: 2px; }
.fields { list-style: none; counter-reset: fd; padding: 0; margin: 0; display: grid; gap: 14px; }
.fields li { counter-increment: fd; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 2px 12px; font-size: 15.5px; }
.fields li::before { content: counter(fd); grid-row: 1 / span 3; font-family: var(--mono); font-weight: 700; font-size: 14px; width: 26px; height: 26px; border: 1.5px solid var(--ink); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.fields li b { font-weight: 900; }
.fields li i { display: block; height: 18px; border-bottom: 1.5px dotted var(--ink); }
.sendto { margin-top: 18px; padding-top: 14px; border-top: 2px solid var(--ink); font-weight: 800; font-size: 17px; }

/* misc */
.fig { margin: 0; display: grid; gap: 8px; max-width: 360px; }
.fig .pic { background: var(--paper); border: 1px solid var(--ink); border-radius: 3px; padding: 14px; display: flex; justify-content: center; }
.fig img { max-height: 220px; width: auto; }
.fig figcaption { font-size: 13.5px; color: var(--muted); }
.quote { margin: 0; border-left: 3px solid var(--red); padding: 4px 0 4px 16px; font-family: var(--serif); font-style: italic; font-size: 18px; }
.records { margin-top: 10px; border-top: 3px solid var(--ink); padding-top: 4px; }
.records .h3 { border: 0; padding-top: 10px; margin-bottom: 10px; }
.records ul { list-style: none; padding: 0; columns: 3 260px; column-gap: 28px; }
.records li { break-inside: avoid; padding: 5px 0; border-bottom: 1px dotted #B9AA86; display: flex; flex-direction: column; font-size: 15px; }
.records li a { font-weight: 800; color: inherit; }
.records li span { font-size: 13px; color: var(--muted); }
.plates { min-width: 0; }
.unit img { height: auto; }

/* footer with the page groups */
footer.end .fgrid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 26px 30px; align-items: start; }
footer.end .fbrand { display: flex; flex-direction: column; gap: 12px; }
footer.end .fbrand p { font-size: 14px; }
footer.end h4 { font-weight: 900; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--yellow); margin: 6px 0 10px; }
footer.end ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 7px; font-size: 14.5px; }
footer.end ul a { color: #fff; text-decoration: none; }
footer.end ul a:hover { text-decoration: underline; text-decoration-color: var(--yellow); }
@media (max-width: 980px) { footer.end .fgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } footer.end .fbrand { grid-column: 1 / -1; } }
@media (max-width: 480px) { footer.end .fgrid { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 560px) {
  .tbl { font-size: 14.5px; }
  .tbl th, .tbl td { padding: 8px 9px; }
  .plate .ptitle { font-size: 21px; }
  .qa-grid { gap: 18px; }
}
@media print { .hero, .road, .toc, footer.end, .acts, form { display: none !important; } body { background: #fff; } }

/* the pilot's lane list bullets must not reach the numbered components inside a lane */
.lane .in li.check { padding: 18px 18px 18px 74px; }
.lane .in li.check::before { content: ""; position: absolute; left: 16px; top: 16px; width: 42px; height: 42px; border: 2px solid var(--ink); background: var(--yellow); transform: rotate(45deg); border-radius: 6px; }
.lane .in .steps li, .lane .in .asks li, .lane .in .fields li { padding-left: 0; }
.lane .in .steps li::before, .lane .in .asks li::before { content: none; }
.wtable tbody th { font-family: var(--sign); font-weight: 800; font-size: 15px; letter-spacing: 0; text-transform: none; color: var(--ink); }

.sign .spg { font-family: var(--sign); font-weight: 600; font-size: 12.5px; color: #B9C6DD; white-space: nowrap; }
