/* CommercialGarageDoorRepairNashville.com — "Dispatch board" design system
   Dark asphalt surfaces, door-status lights (green go / amber soon / red stop), light dispatch-ticket form.
   Chakra Petch / Figtree / Martian Mono. Rounded 10px panels, 1px hairlines, painted door-number plates. */
:root {
  --bg: #0F1316;          /* asphalt night */
  --panel: #171C20;
  --panel-2: #1F262B;
  --panel-3: #283037;
  --line: #313B42;
  --line-2: #46525A;
  --fg: #E9EDEF;          /* 15.9:1 on --bg */
  --text: #E9EDEF;
  --muted: #A9B4BA;       /* 8.9:1 on --bg, 8.0:1 on --panel */
  --green: #3BD18A;       /* go: call buttons, ok verdicts (dark text on it) */
  --green-deep: #25B271;
  --green-glow: rgba(59, 209, 138, .18);
  --amber: #FFB547;       /* soon */
  --red: #FF6464;         /* stop (text-safe on dark) */
  --red-solid: #D63B3B;   /* stop pill background, white text 4.6:1 */
  --sky: #86C8FF;         /* links on dark: 9.6:1 on --bg */
  --ticket: #F3F5F2;      /* light dispatch ticket (form) */
  --ticket-line: #CDD3D0;
  --ticket-text: #14191C;
  --ticket-muted: #4D575C; /* 7.0:1 on ticket */
  --ticket-link: #0B5CAD;
  --r: 10px;
  --wrap: 1180px;
  --head: "Chakra Petch", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --body: "Figtree", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: "Martian Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  /* aliases kept for diagrams written against older component docs */
  --ink: var(--fg); --steel-2: var(--line-2); --blue: var(--sky); --yellow: var(--amber);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; color-scheme: dark; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 18px/1.62 var(--body); }
img, svg { max-width: 100%; height: auto; }
a { color: var(--sky); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.12; margin: 0 0 .5em; color: #fff; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.2rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.55rem, 2.9vw, 2.05rem); margin-top: 1.9em; }
h3 { font-size: 1.3rem; margin-top: 1.5em; }
h4 { font-size: 1.1rem; }
p, ul, ol, dl, table, figure { margin: 0 0 1.1em; }
small, .small { font-size: .88rem; }
strong, b { color: #fff; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--green); color: #06140D; padding: 8px 14px; z-index: 100; font-weight: 700; border-radius: 6px; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }
.ico { width: 1.05em; height: 1.05em; vertical-align: -.15em; }
code, .mono { font-family: var(--mono); font-size: .82em; }
.led { display: inline-block; width: .62em; height: .62em; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px var(--green-glow), 0 0 10px var(--green); vertical-align: .05em; }
.led-amber { background: var(--amber); box-shadow: 0 0 0 3px rgba(255,181,71,.18), 0 0 10px var(--amber); }
.led-red { background: var(--red); box-shadow: 0 0 0 3px rgba(255,100,100,.18), 0 0 10px var(--red); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 50px; padding: 11px 22px; border: 1.5px solid transparent; border-radius: 999px; font: 700 1.05rem/1.1 var(--head); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, box-shadow .15s; }
.btn-sm { min-height: 42px; padding: 8px 16px; font-size: .95rem; }
.btn-go, .btn-call { background: var(--green); color: #06140D; border-color: var(--green); box-shadow: 0 0 0 4px var(--green-glow); }
.btn-go:hover, .btn-call:hover { background: #5BE0A0; }
.btn-ink { background: var(--ticket-text); color: #fff; }
.btn-ink:hover { background: #2A3238; }
.btn-line, .btn-line-light { background: transparent; color: #fff; border-color: var(--line-2); }
.btn-line:hover, .btn-line-light:hover { border-color: #fff; }
.btn-ghost { background: transparent; color: var(--ticket-text); border-color: var(--ticket-line); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.3em 0 .6em; }
.phone-hours { font-size: .9rem; color: var(--muted); margin: 0 0 .8em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(15, 19, 22, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-in { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; margin-right: auto; }
.logo-mark { width: 40px; height: 40px; flex: none; }
.wordmark { display: flex; flex-direction: column; font-family: var(--head); line-height: 1.05; }
.wm-top { font-weight: 600; font-size: .86rem; color: var(--muted); letter-spacing: .02em; }
.wm-city { font-weight: 700; font-size: 1.32rem; color: #fff; letter-spacing: .16em; text-transform: uppercase; }
.main-nav { display: none; }
.nav-list { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-btn, .nav-link { display: inline-flex; align-items: center; gap: 6px; background: none; border: 0; color: var(--fg); font: 600 1rem/1 var(--head); padding: 12px 12px; cursor: pointer; text-decoration: none; border-radius: 8px; }
.nav-btn svg { width: 12px; }
.nav-btn:hover, .nav-link:hover, .nav-group.open .nav-btn { background: var(--panel-2); color: #fff; }
.nav-group { position: relative; }
.nav-panel { display: none; position: absolute; top: calc(100% + 6px); left: 0; background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 18px 50px rgba(0,0,0,.5); padding: 10px; }
.nav-group.open .nav-panel { display: block; }
.nav-panel ul { list-style: none; margin: 0; padding: 0; }
.nav-panel-svc { width: 660px; }
.nav-panel-svc ul { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.nav-panel-svc a { display: flex; gap: 12px; padding: 10px; text-decoration: none; color: var(--text); border-radius: 8px; }
.nav-panel-svc a:hover { background: var(--panel-2); }
.nav-panel-svc strong { display: block; font: 600 1rem var(--head); }
.nav-panel-svc small { display: block; color: var(--muted); font-size: .84rem; line-height: 1.35; }
.nav-panel-areas { width: 820px; left: -200px; display: none; }
.nav-group.open .nav-panel-areas { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.np-head { font: 600 .66rem/1.4 var(--mono); text-transform: uppercase; letter-spacing: .06em; margin: 4px 6px 6px; color: var(--green); }
.nav-panel-areas a { display: block; padding: 6px; color: var(--text); text-decoration: none; font-size: .93rem; line-height: 1.3; border-radius: 6px; }
.nav-panel-areas a:hover { background: var(--panel-2); }
.np-all { grid-column: 1 / -1; margin: 6px; border-top: 1px solid var(--line); padding-top: 8px; }
/* Painted door-number plate (service codes) */
.tag-code { font: 600 .78rem/1 var(--mono); background: #fff; color: #0F1316; padding: 6px 6px 5px; border-radius: 4px; height: fit-content; flex: none; letter-spacing: .04em; box-shadow: inset 0 -2px 0 rgba(0,0,0,.18); }
.tag-code::before { content: "DOOR "; font-size: .62rem; letter-spacing: .08em; opacity: .7; }
.header-cta { display: none; }
.menu-btn { width: 48px; height: 48px; background: none; border: 1px solid var(--line-2); border-radius: 10px; display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; }
.menu-btn i { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }
.mobile-nav { background: var(--panel); border-top: 1px solid var(--line); padding: 8px 20px 24px; max-height: calc(100vh - 72px); overflow: auto; }
.mobile-nav ul { list-style: none; margin: 0 0 10px; padding: 0; }
.mobile-nav a:not(.btn) { display: block; color: #fff; text-decoration: none; padding: 11px 0; border-bottom: 1px solid var(--line); }
.m-head { color: var(--green); font: 600 .7rem var(--mono); text-transform: uppercase; letter-spacing: .08em; margin: 18px 0 2px; }
.m-areas { columns: 2; column-gap: 16px; }
.m-extra { margin-top: 12px !important; }
@media (min-width: 1080px) {
  .main-nav { display: block; }
  .menu-btn { display: none; }
  .header-cta { display: inline-flex; }
  .mobile-nav { display: none !important; }
}
@media (max-width: 1079px) { .has-phone .header-cta { display: inline-flex; } .has-phone .header-cta .hide-s { display: none; } }
@media (max-width: 420px) { .wm-top { font-size: .72rem; } .wm-city { font-size: 1.1rem; } .logo-mark { width: 34px; height: 34px; } }

/* ---------- Page hero ---------- */
.page-hero { background: radial-gradient(1200px 420px at 85% -10%, rgba(59,209,138,.10), transparent 60%), var(--panel); border-bottom: 1px solid var(--line); padding: 20px 0 36px; }
.page-hero-plain { background: var(--panel); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0 0 14px; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-right: 4px; color: var(--line-2); }
.crumbs a { color: var(--muted); }
.kicker { font: 600 .7rem/1 var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--green); display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.hero-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); align-items: start; } }
.bluf { font-size: 1.14rem; line-height: 1.6; color: #DCE2E5; }
.bluf p { margin-bottom: .7em; }
.bluf strong { color: #fff; }
.meta { font-size: .86rem; color: var(--muted); margin: 6px 0 0; }
.meta a { color: var(--muted); }

/* ---------- Door tag / area card (spec plate) ---------- */
.door-tag, .area-card { background: var(--panel-2); border: 1px solid var(--line-2); border-radius: var(--r); font-size: .95rem; overflow: hidden; }
.dt-strip { display: flex; align-items: center; gap: 10px; margin: 0; padding: 11px 14px; background: var(--panel-3); border-bottom: 1px solid var(--line-2); font: 700 1rem/1.15 var(--head); color: #fff; }
.dt-code { font: 600 .72rem var(--mono); background: #fff; color: #0F1316; padding: 5px 6px; border-radius: 4px; }
.door-tag dl, .area-card dl { margin: 0; padding: 4px 14px 8px; }
.door-tag dl div, .area-card dl div { display: grid; grid-template-columns: 112px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.door-tag dl div:last-child, .area-card dl div:last-child { border-bottom: 0; }
.door-tag dt, .area-card dt { font: 600 .64rem/1.6 var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--green); padding-top: 2px; }
.door-tag dd, .area-card dd { margin: 0; line-height: 1.45; }
.ac-zh { font: 600 .64rem var(--mono); text-transform: uppercase; color: var(--green); margin: 0; padding: 10px 14px 0; border-top: 1px solid var(--line-2); }
.area-card .zips { padding: 8px 14px 14px; margin: 0; }

/* ---------- Body grid ---------- */
.body-grid { display: grid; gap: 32px; padding-top: 36px; padding-bottom: 60px; }
@media (min-width: 1000px) {
  .body-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 52px; }
  .side-sticky { position: sticky; top: 90px; }
}
.prose { min-width: 0; }
.prose > h2:first-child, .prose > .toc + h2 { margin-top: .4em; }
.prose h2 { padding-top: .2em; }
.prose h2::before { content: ""; display: block; width: 44px; height: 4px; border-radius: 2px; background: var(--green); margin-bottom: .55em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose li::marker { color: var(--green); }
.prose-wide { max-width: none; }
.l-article .prose, .l-raw .prose { padding: 36px 0 60px; }
.toc { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 18px; margin-bottom: 1.6em; }
.toc p { font: 600 .68rem var(--mono); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 8px; color: var(--green); }
.toc ol { margin: 0; padding-left: 1.3em; columns: 2 260px; column-gap: 28px; font-size: .95rem; }
.cite { font-size: .7em; line-height: 0; margin-left: 1px; }
.cite a { text-decoration: none; font-weight: 600; padding: 0 1px; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; margin: 0 0 1.3em; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--panel); }
table { width: 100%; border-collapse: collapse; font-size: .94rem; margin: 0; }
caption { text-align: left; padding: 11px 13px; font-weight: 600; color: #fff; background: var(--panel-2); border-bottom: 1px solid var(--line-2); caption-side: top; }
th, td { text-align: left; vertical-align: top; padding: 10px 13px; border-bottom: 1px solid var(--line); }
thead th { background: var(--panel-3); color: #fff; font: 600 .66rem/1.5 var(--mono); text-transform: uppercase; letter-spacing: .05em; }
tbody th { font-weight: 600; color: #fff; }
tbody tr:nth-child(even) { background: rgba(255,255,255,.025); }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-note { font-size: .86rem; color: var(--muted); margin-top: -.6em; }

/* ---------- Callouts (status lights) ---------- */
.callout { background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--r); padding: 16px 18px 6px 20px; margin: 0 0 1.4em; position: relative; border-left: 5px solid var(--line-2); }
.callout-title { font: 700 1.08rem var(--head); margin: 0 0 .4em; color: #fff; display: flex; align-items: center; gap: 10px; }
.callout-title::before { content: ""; width: 10px; height: 10px; border-radius: 50%; flex: none; background: var(--muted); }
.callout-hazard { border-left-color: var(--red); background: linear-gradient(90deg, rgba(255,100,100,.08), transparent 55%), var(--panel); }
.callout-hazard .callout-title { color: var(--red); }
.callout-hazard .callout-title::before { background: var(--red); box-shadow: 0 0 10px var(--red); }
.callout-note .callout-title::before { background: var(--sky); }
.callout-note { border-left-color: var(--sky); }
.callout-tip { border-left-color: var(--amber); }
.callout-tip .callout-title::before { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.callout-local, .callout-houston { border-left-color: var(--green); background: linear-gradient(90deg, rgba(59,209,138,.08), transparent 55%), var(--panel); }
.callout-local .callout-title::before, .callout-houston .callout-title::before { background: var(--green); box-shadow: 0 0 10px var(--green); }

/* ---------- Steps / checks ---------- */
.steps { list-style: none; padding: 0 !important; counter-reset: s; margin-bottom: 1.4em; }
.steps > li { counter-increment: s; position: relative; padding: 4px 0 12px 58px; margin: 0 0 10px; border-bottom: 1px solid var(--line); }
.steps > li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; top: 0; width: 42px; height: 34px; display: grid; place-items: center; background: #fff; color: #0F1316; border-radius: 5px; font: 600 .78rem var(--mono); box-shadow: inset 0 -2px 0 rgba(0,0,0,.2); }
.step-t { font-weight: 700; color: #fff; margin: 0 0 .25em; }
.steps > li > div p:last-child { margin-bottom: .3em; }
.checks { list-style: none; padding: 0 !important; }
.checks li { position: relative; padding-left: 32px; margin-bottom: .55em; }
.checks li::before { content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 50%; background: var(--green-glow); border: 1.5px solid var(--green); }
.checks li::after { content: ""; position: absolute; left: 7px; top: calc(.28em + 4px); width: 5px; height: 9px; border: solid var(--green); border-width: 0 2.4px 2.4px 0; transform: rotate(45deg); }

/* ---------- Cards ---------- */
.tag-grid { list-style: none; padding: 0 !important; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); margin: 0 0 1.4em; }
.tag-grid li { margin: 0; }
.tag-card { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 16px 16px 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); color: var(--text); text-decoration: none; transition: border-color .12s, transform .12s, background .12s; }
.tag-card:hover { border-color: var(--green); background: var(--panel-2); transform: translateY(-2px); }
.tag-card .tag-code { align-self: flex-start; }
.tag-card strong { font: 700 1.14rem/1.2 var(--head); color: #fff; }
.tag-card span:not(.tag-code) { color: var(--muted); font-size: .94rem; line-height: 1.45; }

/* ---------- ZIP chips ---------- */
.zips { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 6px; }
.zips li { font: 600 .72rem/1 var(--mono); border: 1px solid var(--line-2); background: var(--panel-3); color: #fff; padding: 7px 8px; margin: 0; border-radius: 6px; }

/* ---------- CTA band ---------- */
.cta-band { display: grid; gap: 8px 24px; align-items: center; background: linear-gradient(100deg, rgba(59,209,138,.14), rgba(59,209,138,.02) 60%), var(--panel-2); color: var(--fg); padding: 22px 24px; margin: 1.9em 0; border: 1px solid rgba(59,209,138,.45); border-radius: 14px; }
.cta-band .cta-h { font: 700 1.38rem/1.15 var(--head); margin: 0 0 .25em; color: #fff; }
.cta-band p { margin: 0; }
.cta-band .actions { margin: 6px 0 0; }
@media (min-width: 760px) { .cta-band { grid-template-columns: 1fr auto; } .cta-band .actions { margin: 0; } }

/* ---------- Dispatch-ticket request form (light card on dark) ---------- */
.wo { color: var(--ticket-text); background: var(--ticket); border-radius: 14px; position: relative; font-size: 1rem; box-shadow: 0 24px 60px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06); overflow: hidden; }
.wo strong, .wo b { color: var(--ticket-text); }
.wo-head { padding: 16px 18px 12px; border-bottom: 2px dashed var(--ticket-line); position: relative; }
.wo-head::before, .wo-head::after { content: ""; position: absolute; bottom: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); }
.wo-head::before { left: -10px; } .wo-head::after { right: -10px; }
.home-hero .wo-head::before, .home-hero .wo-head::after { display: none; }
.wo-kicker { display: flex; justify-content: space-between; align-items: center; font: 600 .64rem var(--mono); text-transform: uppercase; letter-spacing: .08em; margin: 0 0 6px; color: var(--ticket-muted); }
.wo-kicker span:first-child::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--green-deep); margin-right: 7px; vertical-align: .05em; }
.wo-no { border: 1px solid var(--ticket-line); padding: 3px 6px; border-radius: 4px; }
.wo-title { font: 700 1.5rem/1.1 var(--head); margin: 0 0 4px; color: var(--ticket-text); }
.wo-sub { font-size: .92rem; margin: 0 0 10px; line-height: 1.42; color: var(--ticket-muted); }
.wo-steps { list-style: none; display: flex; gap: 6px; padding: 0; margin: 0; }
.wo-steps li { flex: 1; font: 600 .62rem var(--mono); text-transform: uppercase; padding: 6px 8px; border-radius: 6px; background: #E3E7E4; color: var(--ticket-muted); margin: 0; }
.wo-steps li.on { background: var(--ticket-text); color: #fff; }
.wo-step { border: 0; margin: 0; padding: 16px 18px 6px; min-width: 0; }
.wo label { display: block; font-weight: 600; font-size: .94rem; margin-bottom: 12px; color: var(--ticket-text); }
.wo input:not([type=checkbox]):not([type=radio]), .wo select, .wo textarea { display: block; width: 100%; margin-top: 5px; min-height: 48px; padding: 10px 12px; font: 400 1rem var(--body); color: var(--ticket-text); background: #fff; border: 1.5px solid var(--ticket-line); border-radius: 8px; }
.wo textarea { min-height: 84px; resize: vertical; }
.wo input:focus, .wo select:focus, .wo textarea:focus { border-color: var(--ticket-text); outline: 3px solid rgba(37,178,113,.45); outline-offset: 0; }
.wo [aria-invalid=true] { border-color: var(--red-solid) !important; }
.wo .opt { font-weight: 400; color: var(--ticket-muted); font-size: .85rem; }
.row2 { display: grid; gap: 0 12px; }
@media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } .side .row2 { grid-template-columns: 1fr; } }
.chips { border: 0; padding: 0; margin: 0 0 12px; display: grid; gap: 6px; }
.chips legend { font-weight: 600; font-size: .94rem; margin-bottom: 5px; padding: 0; color: var(--ticket-text); }
.chip { margin: 0 !important; position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 11px 12px 11px 34px; border: 1.5px solid var(--ticket-line); background: #fff; border-radius: 8px; position: relative; }
.chip span::before { content: ""; position: absolute; left: 12px; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; border-radius: 50%; background: #C9CFCC; }
.chip b { font-weight: 700; }
.chip small { color: var(--ticket-muted); font-weight: 400; font-size: .83rem; text-align: right; }
.chip input:checked + span { border-color: var(--ticket-text); box-shadow: inset 0 0 0 1px var(--ticket-text); }
.chip input:checked + span::before { background: var(--green-deep); box-shadow: 0 0 8px var(--green); }
.chip input[value=now]:checked + span::before { background: var(--red-solid); box-shadow: 0 0 8px var(--red); }
.chip input[value=soon]:checked + span::before { background: #E39A1F; box-shadow: 0 0 8px var(--amber); }
.chip input:focus-visible + span { outline: 3px solid var(--ticket-link); outline-offset: 1px; }
.wo .check { display: flex; gap: 10px; font-weight: 400; font-size: .79rem; line-height: 1.45; color: var(--ticket-muted); }
.wo .check input { flex: none; width: 22px; height: 22px; margin-top: 2px; accent-color: var(--green-deep); }
.hp { position: absolute !important; left: -9999px; }
.wo-next { width: 100%; margin: 4px 0 12px; }
.wo-actions { display: flex; gap: 10px; margin: 6px 0 12px; }
.wo-actions .wo-submit { flex: 1; }
.wo .wo-step[data-step="2"] { display: none; }
.wo.step2 .wo-step[data-step="1"] { display: none; }
.wo.step2 .wo-step[data-step="2"] { display: block; }
.no-js .wo .wo-step[data-step="2"] { display: block; }
.wo-error { margin: 0 18px 12px; padding: 10px 12px; background: #FCE9E9; border-left: 5px solid var(--red-solid); color: #7A1010; font-size: .92rem; border-radius: 6px; }
.wo-done { padding: 18px; }
.wo-done .wo-title { color: #136B43; }
.wo.done .wo-step, .wo.done .wo-head .wo-steps { display: none !important; }
.wo-fine { font-size: .76rem; color: var(--ticket-muted); margin: 0; padding: 10px 18px 14px; border-top: 1px solid var(--ticket-line); }
.wo a { color: var(--ticket-link); }
.wo-fine a { color: var(--ticket-muted); }
.wo .btn-go { box-shadow: none; }
.cf-turnstile { margin-bottom: 10px; }

/* ---------- Tools (status board) ---------- */
.tool { color: var(--text); background: var(--panel); border: 1px solid var(--line-2); border-radius: 14px; margin: 0 0 1.6em; overflow: hidden; }
.tool .btn { margin: 0 16px 16px; }
.tool .tool-out .btn { margin: 8px 0 0; }
.tool .opt { font-weight: 400; color: var(--muted); font-size: .86rem; }
.tool tr.sel, .tool tr.is-sel { background: rgba(59,209,138,.12) !important; font-weight: 600; }
.tool-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; background: var(--panel-3); border-bottom: 1px solid var(--line-2); }
.tool-head h3, .tool-head .tool-h { margin: 0; color: #fff; font: 700 1.18rem/1.15 var(--head); }
.tool-tag { font: 600 .6rem var(--mono); background: var(--green); color: #06140D; padding: 4px 7px; text-transform: uppercase; border-radius: 4px; letter-spacing: .05em; }
.tool-grid { display: grid; gap: 12px; padding: 16px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.tool-grid label, .tool label { font-weight: 600; font-size: .92rem; }
.tool input:not([type=checkbox]):not([type=radio]), .tool select { display: block; width: 100%; margin-top: 5px; min-height: 46px; padding: 8px 11px; font: 400 1rem var(--body); color: var(--fg); border: 1px solid var(--line-2); border-radius: 8px; background: var(--bg); }
.tool input[type=checkbox], .tool input[type=radio] { accent-color: var(--green); width: 18px; height: 18px; }
.tool-out { padding: 16px; border-top: 1px solid var(--line-2); background: var(--panel-2); }
.tool-out .big { font: 700 1.9rem/1.05 var(--head); color: #fff; margin: 0 0 6px; }
.tool-out p:last-child { margin-bottom: 0; }
.tool-foot { padding: 10px 16px; font-size: .85rem; color: var(--muted); border-top: 1px solid var(--line); margin: 0; }
.verdict { white-space: nowrap; display: inline-flex; align-items: center; gap: 8px; font: 600 .7rem var(--mono); text-transform: uppercase; letter-spacing: .06em; padding: 6px 10px; margin-bottom: 8px; border-radius: 999px; }
.verdict::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.verdict-stop { background: rgba(255,100,100,.14); color: var(--red); border: 1px solid rgba(255,100,100,.5); }
.verdict-soon { background: rgba(255,181,71,.12); color: var(--amber); border: 1px solid rgba(255,181,71,.5); }
.verdict-ok { background: rgba(59,209,138,.12); color: var(--green); border: 1px solid rgba(59,209,138,.5); }

/* ---------- Diagrams / figures ---------- */
.diagram { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin: 0 0 1.4em; }
.diagram svg { display: block; margin: 0 auto; width: 100%; height: auto; font-family: var(--body); }
figcaption { font-size: .87rem; color: var(--muted); margin-top: 10px; line-height: 1.45; }
.map { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 10px; margin: 0 0 1.4em; }
.map svg { display: block; width: 100%; height: auto; font-family: var(--body); }
.m-bg { fill: #121719; }
.m-river { fill: none; stroke: #2B5A7A; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; opacity: .9; }
.m-lake { fill: #2B5A7A; opacity: .9; }
.m-water { font: italic 12px var(--body); fill: #7FA9C6; }
.m-road { fill: none; stroke: #3A454C; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.m-shield rect { fill: #1F3A63; stroke: #fff; stroke-width: 1.2; }
.m-shield text { font: 600 9.5px var(--mono); fill: #fff; }
.m-ring { fill: none; stroke: #59656D; stroke-width: 1.5; stroke-dasharray: 5 4; }
.m-pin circle { fill: var(--green); stroke: #0F1316; stroke-width: 2; }
.m-pin text { font: 600 12px var(--body); fill: #E9EDEF; paint-order: stroke; stroke: #121719; stroke-width: 3.5px; }
.m-pin:hover circle, .m-pin:focus circle { fill: var(--amber); }
.m-pin.on circle { fill: var(--amber); filter: drop-shadow(0 0 6px var(--amber)); }
.m-pin.on text { font-weight: 700; fill: #fff; }

/* ---------- Area index (hub) ---------- */
.ai-ring h3 { color: var(--green); font: 600 .74rem var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.ai-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.ai-item { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; }
.ai-item:target { border-color: var(--green); box-shadow: 0 0 0 3px var(--green-glow); }
.ai-name { font: 700 1.14rem var(--head); margin: 0 0 2px; }
.ai-covers { font-size: .9rem; color: var(--muted); margin: 0 0 10px; }
.ai-item .zips { margin: 0; }
.zipfind { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 16px; margin-bottom: 1.1em; }
.zipfind label { font-weight: 600; flex: 1 1 200px; }
.zipfind input { display: block; width: 100%; min-height: 50px; margin-top: 5px; padding: 8px 12px; font: 600 1.15rem var(--mono); color: #fff; background: var(--bg); border: 1px solid var(--line-2); border-radius: 8px; }
.zipfind p { flex: 1 1 100%; margin: 0; }

/* ---------- Home ---------- */
.home-hero { background: radial-gradient(900px 500px at 90% 0%, rgba(59,209,138,.13), transparent 60%), linear-gradient(180deg, var(--panel) 0%, var(--bg) 100%); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.home-hero .wrap { position: relative; display: grid; gap: 30px; padding-top: 34px; padding-bottom: 46px; }
@media (min-width: 980px) { .home-hero .wrap { grid-template-columns: minmax(0, 1.25fr) minmax(340px, 410px); align-items: start; padding-top: 54px; padding-bottom: 64px; } }
.home-hero h1 .g { color: var(--green); display: block; }
.status-row { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 1.2em 0 0; }
.status-row li { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; background: rgba(255,255,255,.03); margin: 0; }
.status-row a { color: var(--fg); text-decoration: none; }
.status-row a:hover { color: #fff; text-decoration: underline; }
.band { padding: 54px 0; }
.band-white, .band-alt { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-ink { background: var(--bg); }
.band h2:first-child { margin-top: 0; }
.section-lede { font-size: 1.1rem; max-width: 760px; color: #DCE2E5; }
.two-col { display: grid; gap: 28px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; } }

/* ---------- Sources ---------- */
.sources { margin-top: 2.6em; padding-top: 1em; border-top: 1px solid var(--line); font-size: .87rem; color: var(--muted); }
.sources h2 { font-size: 1.3rem; margin-top: 0; }
.sources h2::before { display: none; }
.sources ol { padding-left: 1.4em; }
.sources li { margin-bottom: .55em; overflow-wrap: anywhere; }
.sources .accessed { white-space: nowrap; }

/* ---------- FAQ (details) ---------- */
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 8px; }
.faq summary { cursor: pointer; padding: 13px 16px; font-weight: 600; color: #fff; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 600 1.1rem/1 var(--mono); color: var(--green); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 16px 4px; }

/* ---------- Footer ---------- */
.site-footer { background: #0B0E10; color: #C4CDD2; font-size: .95rem; border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 44px; padding-bottom: 28px; }
.f-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .f-grid { grid-template-columns: 1.4fr 1fr 1.4fr .9fr; } }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 6px; }
.f-areas ul { columns: 2; column-gap: 16px; }
.f-head { font: 600 .66rem var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--green); margin-bottom: 12px; }
.f-brand p { margin-top: 14px; }
.f-disclose { font-size: .84rem; color: var(--muted); }
.f-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; border-top: 1px solid var(--line); margin-top: 26px; padding-top: 16px; font-size: .86rem; }
.logo-light { color: #fff; }

/* ---------- Sticky mobile CTA ---------- */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(15,19,22,.97); border-top: 1px solid var(--line-2); transform: translateY(110%); transition: transform .2s; }
.sticky-cta.show { transform: none; }
.sticky-cta .btn { flex: 1; box-shadow: none; }
@media (min-width: 1000px) { .sticky-cta { display: none; } }
@media (max-width: 999px) { body { padding-bottom: 76px; } }

/* ---------- Print ---------- */
@media print { .site-header, .sticky-cta, .side, .site-footer, .cta-band { display: none !important; } body { background: #fff; color: #000; } h1, h2, h3, strong { color: #000; } }

/* Long emails/URLs never force horizontal scroll */
.prose, .bluf, .site-footer { overflow-wrap: break-word; }
a[href^="mailto:"] { overflow-wrap: anywhere; }
