:root {
  --bg: #f7f5f0; --card: #ffffff; --ink: #1d2433; --muted: #5d6677; --line: #e3dfd5;
  --brand: #1f5f4a; --brand-ink: #ffffff; --accent: #a8412c; --link: #1f5f4a; --control: #7a8190; --focus: #1f5f4a;
  --ok: #1f7a4d; --ok-bg: #e3f4ea; --warn: #8a5a00; --warn-bg: #fdf0d5; --na: #555; --na-bg: #eceae4;
  --ok-solid: #1f7a4d; --ok-solid-ink: #ffffff; --info: #1d5f8a; --free: #5b4a7a; --free-bg: #efe9f7;
  --feat: #a8412c; --feat-bg: #fbeee9;
  --rule: #a8412c; /* "big rule" boxes: the site's brick red, white text (6:1 contrast) in both modes */
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14171d; --card: #1c2028; --ink: #e8e6e1; --muted: #9aa2b1; --line: #2c313b;
    --brand: #1d6b52; --link: #6fcfa8; --control: #6b7280; --focus: #6fcfa8; --ok: #7fd3a5; --ok-bg: #173327; --warn: #f0c46b; --warn-bg: #3a2f14; --na: #b5b5b5; --na-bg: #2a2d33;
    --ok-solid: #1f7a4d; --ok-solid-ink: #ffffff; --info: #7cc0ea; --free: #c9b8ea; --free-bg: #2c2738;
    --feat: #f0a58f; --feat-bg: #3a221c;
  }
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 16px; }
.hero { background: var(--brand); color: var(--brand-ink); padding: 48px 0 40px; }
.eyebrow { font-size: 13px; margin: 0 0 8px; letter-spacing: .02em; opacity: 1; }
h1 { font-size: clamp(28px, 5vw, 44px); margin: 0 0 8px; line-height: 1.1; }
.lede { max-width: 640px; margin: 0 0 20px; }
.search input { width: 100%; border: 2px solid transparent !important; color: #1d2433; background: #fff; max-width: 640px; padding: 14px 16px; font-size: 17px; border: 0; border-radius: 10px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 20px 0; }
.filters label { display: flex; flex-direction: column; gap: 2px; font-size: 13px; color: var(--muted); }
.filters select { min-height: 40px; padding: 9px 10px; border: 1px solid var(--control); border-radius: 8px; background: var(--card); color: var(--ink); font-size: 15px; }
.count { color: var(--muted); font-size: 14px; margin-left: auto; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.card h3 { margin: 0; font-size: 17px; }
.meta { color: var(--muted); font-size: 14px; }
.badge { align-self: flex-start; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 999px; }
/* Status badges: confirmed is the only solid fill, so it is the strongest signal on a card */
.b-confirmed { color: var(--ok-solid-ink); background: var(--ok-solid); }
.b-claimed { color: var(--warn); background: var(--warn-bg); }
.b-unverified { color: var(--na); background: var(--na-bg); }
.b-na { color: var(--free); background: var(--free-bg); }
.tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 2px; }
.tag { font-size: 12px; border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--muted); }
.src { font-size: 12px; color: var(--muted); margin-top: auto; }
.empty { color: var(--muted); padding: 24px 0; }
.info { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin: 40px 0; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.info h2 { font-size: 18px; margin: 0 0 6px; }
.info p { margin: 0 0 12px; color: var(--muted); }
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; padding: 10px 16px; border-radius: 8px; font-weight: 600; }
.foot { color: var(--muted); font-size: 13px; padding-bottom: 40px; margin-top: 40px; }

a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }
.foot a { color: var(--link); font-weight: 600; }
.btn { color: #fff; text-decoration: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.hero :focus-visible { outline-color: #fff; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--card); color: var(--ink); padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { top: 12px; }
.search label { display: block; font-weight: 600; margin-bottom: 6px; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.cities { margin: 40px 0 0; }
.cities h2 { font-size: 20px; margin: 0 0 10px; }
.cities ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cities a { display: inline-block; min-height: 24px; padding: 6px 12px; border: 1px solid var(--control); border-radius: 999px; background: var(--card); text-decoration: none; }
.cities a:hover { text-decoration: underline; }
.cities a[aria-current="page"] { background: var(--brand); color: #fff; border-color: var(--brand); }
.crumbs { font-size: 13px; margin: 0 0 8px; }
.crumbs a { color: #fff; }

/* Cards: linked titles, stats, contact links */
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--link); text-decoration: underline; }
.desc { margin: 0; }
.stat { margin: 0; font-size: 14px; color: var(--ink); font-weight: 500; }
.links { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; margin-top: 4px; }
.links a { display: inline-block; padding: 2px 0; }
.b-listed { color: var(--info); background: transparent; box-shadow: inset 0 0 0 1px var(--info); }
.empty a { font-weight: 600; }

/* Listing pages */
.hero-sm { padding: 32px 0 28px; }
.hero-sm .lede { margin-bottom: 0; }
.detail { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px; margin: 24px 0 0; display: flex; flex-direction: column; gap: 10px; }
.detail-desc { font-size: 18px; margin: 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr)); gap: 12px 24px; margin: 6px 0 0; }
.facts div { min-width: 0; }
.facts dt { font-size: 13px; color: var(--muted); }
.facts dd { margin: 0; overflow-wrap: anywhere; }
.muted { color: var(--muted); }
.info .src { margin: 0; }
.steps { margin: 0; padding-left: 20px; color: var(--muted); }
.steps li { margin-bottom: 6px; }
.claim { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding: 20px 24px; border: 1px dashed var(--control); border-radius: 12px; margin: 0 0 40px; }
.claim h2 { font-size: 18px; margin: 0 0 4px; }
.claim p { margin: 0; color: var(--muted); }
.section-h { font-size: 20px; margin: 0 0 12px; }
.more { margin: 16px 0 0; font-size: 15px; }

/* Featured (paid) listings */
.card-top { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.feat-label { font-size: 12px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; color: var(--feat); background: var(--feat-bg); padding: 3px 8px; border-radius: 999px; }
.card.is-featured, .detail.is-featured { border: 2px solid var(--feat); }
.card-photo { width: calc(100% + 32px); margin: -16px -16px 6px; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 10px 10px 0 0; display: block; }
.detail-photo { width: 100%; height: auto; max-height: 420px; object-fit: cover; border-radius: 8px; display: block; }
.feat-blurb p { margin: 0 0 10px; }
.feat-blurb p:last-child { margin-bottom: 0; }
.cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 4px 0; }
.btn-alt { background: var(--card); color: var(--link); box-shadow: inset 0 0 0 2px var(--link); }
.btn.btn-alt { color: var(--link); }
.feat-note { font-size: 14px; color: var(--muted); margin: 0 0 40px; }
.disclose { font-size: 13px; color: var(--muted); margin: -8px 0 12px; }

/* For providers page */
.prose { max-width: 720px; }
.prose h2 { font-size: 22px; margin: 32px 0 8px; }
.prose ul, .prose ol { padding-left: 20px; }
.prose li { margin-bottom: 6px; }
.price { font-size: 28px; font-weight: 700; margin: 4px 0 2px; }
.offer { background: var(--card); border: 2px solid var(--feat); border-radius: 12px; padding: 20px 24px; margin: 24px 0; }
.offer p { margin: 0 0 12px; }

/* EFA guides */
.guide { margin: 24px 0 0; }
.guide-meta { font-size: 14px; color: var(--muted); margin: 0 0 16px; }
.guide h3 { font-size: 18px; margin: 20px 0 6px; }
.callout { background: var(--card); border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 8px; padding: 14px 18px; margin: 16px 0; }
.callout p { margin: 0; }
.kv { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin: 8px 0 16px; font-size: 15px; }
.kv th, .kv td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.kv tr:last-child th, .kv tr:last-child td { border-bottom: 0; }
.kv th { width: 34%; font-weight: 600; }
@media (max-width: 560px) { .kv th, .kv td { display: block; width: auto; } .kv th { padding-bottom: 0; border-bottom: 0; } }
ul.chips { list-style: none; padding: 0; margin: 12px 0 8px; display: flex; flex-wrap: wrap; gap: 8px; }
ul.chips li { margin: 0; }
.chips a { display: inline-block; padding: 6px 12px; border: 1px solid var(--control); border-radius: 999px; background: var(--card); text-decoration: none; font-size: 15px; }
.chips a:hover { text-decoration: underline; }
.sources li { overflow-wrap: anywhere; }
.info .guide-link { margin: 10px 0 0; }
.guide-list { margin: 8px 0 0; }
.guide-list .card h2 { font-size: 18px; margin: 0; }
.guide-list .card h2 a { color: var(--ink); text-decoration: none; }
.guide-list .card h2 a:hover { color: var(--link); text-decoration: underline; }

/* Guide cards: bite-size sections */
.g-card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; margin: 0 0 16px; overflow-wrap: break-word; }
.g-card p { margin: 0 0 10px; }
.g-card ul { margin: 0; }
.g-card > :last-child { margin-bottom: 0; }
.guide .g-card h3 { font-size: 17px; margin: 0 0 6px; }
.g-tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ok); background: var(--ok-bg); padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }
.g-short { border-left: 4px solid var(--brand); }
.g-short p { font-size: 17px; }
.g-facts, .g-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 12px; margin: 8px 0 16px; }
.g-grid > .g-card { margin: 0; }
.g-fact { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.g-fact p { margin: 0; font-size: 15px; }
.g-fact .g-fact-label { font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.big-rule { background: var(--rule); color: #fff; border-radius: 12px; padding: 16px 18px; margin: 12px 0 16px; }
.big-rule p { margin: 0 0 8px; }
.big-rule p:last-child { margin: 0; }
.big-rule a { color: #fff; text-underline-offset: 3px; }
.big-rule :focus-visible { outline-color: #fff; }
.big-rule-tag { display: inline-block; background: #fff; color: var(--rule); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.big-rule .big-rule-main { font-size: 19px; font-weight: 700; line-height: 1.35; }
.g-short .big-rule { margin: 14px 0 0; }

/* EFA flow chart: one column with down arrows on phones, 3 across with side arrows on wider screens */
.efa-flow { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px 18px; margin: 0 0 24px; }
.efa-flow figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 14px; }
.efa-flow figcaption .g-tag { margin: 0; }
.flow-title { font-size: 19px; font-weight: 700; }
.flow-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 30px; }
.prose .flow-steps { padding: 0; }
.flow-step { position: relative; margin: 0; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px 14px; }
.prose .flow-step { margin: 0; }
.flow-num { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: 15px; }
.flow-step .flow-when { margin: 8px 0 0; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ok); }
.guide .flow-step h3 { font-size: 16px; margin: 2px 0 4px; }
.flow-step p { margin: 0; font-size: 14px; }
.flow-step a[href^="/guides/"], .g-fact a[href^="/guides/"] { display: inline-block; white-space: nowrap; }
.flow-money { background: var(--ok-bg); border-color: var(--ok); }
.flow-step:not(:last-child)::after { content: ""; position: absolute; left: 50%; bottom: -24px; transform: translateX(-50%); border: 9px solid transparent; border-top: 11px solid var(--brand); border-bottom: 0; }
.flow-loop { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0 0; padding: 10px 14px; border: 2px dashed var(--brand); border-radius: 10px; font-size: 14px; }
.flow-loop-icon { font-size: 22px; line-height: 1; color: var(--brand); }
@media (min-width: 640px) {
  .flow-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 30px; }
  .flow-step:not(:last-child)::after { left: auto; bottom: auto; right: -23px; top: 50%; transform: translateY(-50%); border: 9px solid transparent; border-left: 11px solid var(--brand); border-right: 0; }
  .flow-step:nth-child(3n)::after { display: none; }
}
.prose .flow-list { margin: 4px 0 6px; padding-left: 18px; font-size: 14px; }
.prose .flow-list li { margin-bottom: 2px; }

/* Yearly test: infographic card (green header band, grade track, big type, amber footer) */
.yt { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin: 8px 0 24px; }
.yt p { margin: 0; }
.yt-head { background: var(--brand); color: #fff; padding: 18px 22px 20px; }
.yt .yt-kicker { margin: 0 0 6px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #cfe8dc; }
.yt-big { font-size: clamp(20px, 3.4vw, 26px); font-weight: 800; line-height: 1.2; letter-spacing: -.01em; }
.yt-body { padding: 20px 22px 22px; }
.yt .yt-label { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.yt-track { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 3px; }
.yt-on, .yt-off { height: 14px; }
.yt-on { grid-column: 1 / 12; background: var(--link); border-radius: 999px 3px 3px 999px; }
.yt-off, .yt-key-off { background: repeating-linear-gradient(135deg, var(--control) 0 2px, transparent 2px 6px); box-shadow: inset 0 0 0 1px var(--control); }
.yt-off { grid-column: 12 / 14; border-radius: 3px 999px 999px 3px; }
.prose ol.yt-ticks { display: grid; grid-template-columns: repeat(13, minmax(0, 1fr)); gap: 3px; list-style: none; margin: 6px 0 0; padding: 0; font-size: 12px; font-weight: 700; text-align: center; color: var(--muted); }
.prose .yt-ticks li { margin: 0; }
.yt-ticks .on { color: var(--ink); }
.yt .yt-legend { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 12px 0 0; font-size: 14px; }
.yt-legend span { display: inline-flex; align-items: center; }
.yt-key { display: inline-block; width: 22px; height: 8px; margin-right: 8px; border-radius: 999px; flex: none; }
.yt-key-on { background: var(--link); }
.yt-cols, .yt-who { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 20px 32px; }
.yt-cols { margin: 24px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
.yt-subjects { font-size: 30px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; color: var(--link); }
.yt-subjects.yt-dim { font-size: 24px; font-weight: 700; color: var(--muted); }
.yt-amp { font-weight: 400; color: var(--muted); }
.yt .yt-small { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.yt-who { margin: 26px 0 0; }
.yt-who div { border-top: 3px solid var(--link); padding-top: 10px; }
.yt-who dt { font-weight: 800; margin: 0 0 4px; }
.yt-who dd { margin: 0; font-size: 15px; }
.yt-tests-block { margin: 24px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); }
.yt .yt-tests { margin: 0 0 8px; font-size: 17px; font-weight: 700; line-height: 1.6; }
.yt-tests span { white-space: nowrap; }
.yt-tests span { margin-right: 6px; }
.yt-tests span:not(:last-child)::after { content: "·"; margin-left: 10px; color: var(--muted); font-weight: 400; }
.yt-plain { font-size: 15px; }
.yt .yt-warn { display: flex; align-items: flex-start; gap: 12px; padding: 14px 22px; background: var(--warn-bg); color: var(--warn); border-top: 1px solid var(--line); font-size: 15px; }
.yt-warn a { color: var(--warn); }
.yt-warn-icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--warn); color: var(--warn-bg); font-weight: 800; font-size: 14px; }
@media (max-width: 480px) {
  .yt-head, .yt-body { padding-left: 16px; padding-right: 16px; }
  .yt .yt-warn { padding: 12px 16px; }
  .prose ol.yt-ticks { font-size: 11px; }
}

/* Pay guide: key point, method chooser, step timelines, checklists, mileage feature */
.key-point { background: var(--brand); color: #fff; border-radius: 12px; padding: 14px 18px; margin: 14px 0 0; }
.g-card .key-point p { margin: 0 0 6px; }
.g-card .key-point p:last-child { margin: 0; }
.key-point a { color: #fff; text-underline-offset: 3px; }
.key-point :focus-visible { outline-color: #fff; }
.key-tag { display: inline-block; background: #fff; color: var(--brand); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }
.g-card .key-point .key-main { font-size: 19px; font-weight: 700; line-height: 1.35; }

.pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 12px; margin: 8px 0 28px; }
.pick-card { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--link); border-radius: 12px; color: var(--ink); text-decoration: none; }
.pick-card:hover { border-color: var(--link); }
.pick-card:hover .pick-name { text-decoration: underline; }
.pick-top { display: flex; align-items: center; gap: 10px; }
.pick-name { font-size: 18px; font-weight: 800; color: var(--link); }
.pick-also { font-size: 14px; font-weight: 600; color: var(--muted); }
.pick-when { font-size: 15px; }
.pick-to { margin-top: auto; padding-top: 4px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ok); }

.method { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px 20px; margin: 0 0 16px; scroll-margin-top: 16px; }
.method-head { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 16px; }
.method-head .flow-num { margin-top: 2px; flex: none; }
.guide .method-head h2 { margin: 0; font-size: 21px; }
.method-head p { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.prose ol.tl { list-style: none; counter-reset: tl; padding: 0; margin: 0; }
.prose .tl li { counter-increment: tl; position: relative; margin: 0; padding: 2px 0 16px 40px; }
.prose .tl li:last-child { padding-bottom: 0; }
.tl li::before { content: counter(tl); position: absolute; left: 0; top: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--ok-bg); color: var(--ok); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.tl li:not(:last-child)::after { content: ""; position: absolute; left: 12px; top: 30px; bottom: 4px; width: 2px; background: var(--line); }
.method .method-foot { margin: 16px 0 0; padding: 10px 14px; background: var(--bg); border-radius: 10px; font-size: 15px; }
.method .method-foot.is-warn { background: var(--warn-bg); color: var(--warn); }
.method-foot.is-warn a { color: var(--warn); }
#documents, #not-approved { scroll-margin-top: 16px; }

.docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 12px; margin: 8px 0 10px; }
.doc-card { background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.doc-head { padding: 12px 16px; background: var(--ok-bg); }
.doc-head-alt { background: var(--feat-bg); }
.doc-head p { margin: 0; }
.doc-head .doc-kicker { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ok); }
.doc-head-alt .doc-kicker { color: var(--feat); }
.guide .doc-head h3 { margin: 2px 0 2px; font-size: 22px; }
.doc-head .doc-use { font-size: 14px; color: var(--muted); }
.prose ul.checklist { list-style: none; padding: 14px 16px 6px; margin: 0; }
.prose .checklist li { position: relative; padding-left: 30px; margin: 0 0 10px; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--ok-solid); color: #fff; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.hl { background: var(--warn-bg); color: var(--warn); font-weight: 800; padding: 1px 6px; border-radius: 4px; }
.doc-src { font-size: 15px; }

.note-warn { display: flex; align-items: flex-start; gap: 12px; margin: 0 0 24px; padding: 12px 16px; background: var(--warn-bg); color: var(--warn); border-radius: 10px; font-size: 15px; }
.note-warn a { color: var(--warn); }
.note-warn-icon { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--warn); color: var(--warn-bg); font-weight: 800; font-size: 14px; }

.feature { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; margin: 8px 0 24px; }
.feature-fig { display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 130px; padding: 14px 10px; border-radius: 12px; background: var(--ok-bg); color: var(--ok); }
.feature-big { font-size: 38px; font-weight: 800; line-height: 1; letter-spacing: -.02em; }
.feature-unit { margin-top: 4px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.feature-text { flex: 1 1 280px; }
.feature-text p { margin: 0 0 8px; font-size: 15px; }
.feature-text p:last-child { margin: 0; }

/* Guides index: next-step band, stat tiles, reading path, directory band */
.hub { max-width: 900px; margin: 24px 0 0; }
.hub .key-point { margin: 0; }
.hub .key-point p { margin: 0 0 6px; }
.hub .key-point p:last-child { margin: 0; }
.hub .key-point .key-main { font-size: 20px; font-weight: 700; line-height: 1.35; }
.hub-h { font-size: 22px; margin: 32px 0 12px; }
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat-tile { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--link); border-radius: 14px; padding: 14px 18px 16px; }
.stat-tile p { margin: 0; }
.stat-big { font-size: clamp(26px, 6vw, 34px); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; color: var(--link); }
.stat-tile .stat-label { margin-top: 6px; font-size: 15px; }
.path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(360px, 100%), 1fr)); gap: 14px; }
.path-card { position: relative; display: flex; flex-direction: column; gap: 8px; margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.path-card.is-first { border: 2px solid var(--link); }
.path-card:hover { border-color: var(--link); }
.path-card:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.path-top { display: flex; align-items: center; gap: 10px; }
.path-tag { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--brand); padding: 3px 10px; border-radius: 999px; }
.path-title { margin: 0; font-size: 21px; line-height: 1.2; }
.path-title a { color: var(--ink); text-decoration: none; }
.path-title a::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.path-title a:focus-visible { outline: none; }
.path-card:hover .path-title a { color: var(--link); text-decoration: underline; }
.path-teaser { margin: 0; color: var(--muted); }
.path-points { list-style: none; margin: 2px 0 0; padding: 0; }
.path-points li { position: relative; margin: 0 0 6px; padding-left: 24px; font-size: 15px; }
.path-points li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--ok); font-weight: 800; }
.path-cta { margin: auto 0 0; padding-top: 4px; font-weight: 700; color: var(--link); }
.dir-band { margin: 36px 0 0; padding: 22px 24px 24px; background: var(--brand); color: #fff; border-radius: 16px; }
.dir-band .dir-kicker { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #cfe8dc; }
.dir-band h2 { margin: 0 0 6px; font-size: 24px; line-height: 1.2; }
.dir-band p { margin: 0; }
.dir-band .chips a { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.dir-band .btn { background: #fff; color: var(--brand); margin-top: 4px; }
.dir-band :focus-visible { outline-color: #fff; }
.hub-note { font-size: 14px; margin: 20px 0 0; }
.hub .hub-rule { margin: 14px 0 0; }

/* Spending guide: two-question panel, grouped lists inside method cards */
.yt-body > .yt-cols:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.yt-cols .yt-plain { margin-top: 8px; }
.method .feature { margin: 0 0 4px; }
.method .yt-who { margin: 20px 0 8px; }
.method .docs { margin-top: 0; }
#allowed, #limits, #turned-down, #ask-first, #apply, #renew { scroll-margin-top: 16px; }
.prose .tl .chips li { counter-increment: none; padding: 0; }
.tl .chips li::before, .tl .chips li::after { content: none; }
.prose > ol.tl { margin-bottom: 24px; }
.pick.pick-3 { grid-template-columns: repeat(auto-fit, minmax(min(170px, 100%), 1fr)); }
