/* /combustiveis/ on the new design: only what the hub adds to /design/novo.css — the alert form's consent and
   status lines (alertas.js), the source note, and the map's attribution. Everything else is novo.css. */
.b5 .mail { align-items: center; }
.b5 .mail input[type=email] { font-size: 17px; }
.calert__consent { flex: 1 1 100%; display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--ink-60); }
.calert__consent input { margin-top: 3px; flex: none; width: 18px; height: 18px; accent-color: var(--ink-deep); }
/* Outside the consent <span> on purpose: that sentence is stored word for word as the record. */
.calert__priv { flex: 1 1 100%; font-size: 13.5px; color: var(--ink-60); text-decoration: underline; text-underline-offset: 3px; }
.calert__status { flex: 1 1 100%; margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-60); }
.calert__status:empty { display: none; }
.calert__status[data-state='ok'] { color: var(--ink-deep); }
.calert__status[data-state='erro'] { color: var(--peach-ink); }
.wq p span b { font: 600 14.5px/1.4 var(--font-ui); color: #fff; }
.hmap__m .legu { margin: 12px 0 0; text-align: center; font-size: 12px; }
.hfonte { padding-top: 28px; padding-bottom: 28px; }
.hfonte .src { border-top: 0; padding-top: 0; font-size: 13px; color: var(--ink-60); }
.seg button:focus-visible, .dgrid a:focus-visible, .rc:focus-visible, select.in:focus-visible { outline: 2px solid var(--peach-ink); outline-offset: 2px; }
.hmap__m .cm[data-k] { cursor: pointer; } .hmap__m .cm:not([data-k]) { cursor: default; }
.hmap__m .cm:not([data-k]):hover { opacity: 1; }

/* ── Section 2: the map stage (2026-10-28). The SVG choropleth is the stage's content until hub-mapa.js has a live
   map loaded under it, and stays if the map cannot open. Band bar, card and pills as on the district pages
   (combustiveis.css, which the hub does not load: its stage is a full screen). ── */
.hmap__m { max-width: 640px; }
.hstage { position: relative; height: clamp(520px, 78vh, 760px); border-radius: 22px; overflow: hidden; background: var(--map-land); isolation: isolate; }
.hstage__svg { position: absolute; inset: 0; z-index: 1; display: flex; justify-content: center; padding: 16px; background: var(--map-land); transition: opacity .3s ease; }
.hmap__m .hstage__svg svg { width: auto; height: 100%; max-width: 100%; }
.hstage .hstage__map { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; } /* beats maplibre-gl.css .maplibregl-map { position: relative } */
.hstage--live .hstage__svg { opacity: 0; pointer-events: none; visibility: hidden; }
.hstage__fail { margin: 10px 0 0; text-align: center; font-size: 14px; color: var(--ink-60); }
.hstage__fail[hidden], .hstage__on, .hstage__hint[hidden], .hstage__bands[hidden] { display: none; }
.hstage .maplibregl-ctrl-top-left .maplibregl-ctrl-attrib { margin: 10px 0 0 10px; }
.hstage__hint { position: absolute; z-index: 2; left: 50%; bottom: 16px; transform: translateX(-50%); margin: 0; white-space: nowrap;
  padding: 9px 14px; border-radius: 999px; background: var(--paper); font: 500 13.5px/1 var(--font-ui); color: var(--ink);
  box-shadow: 0 1px 3px rgba(41,18,16,.12), 0 8px 24px rgba(41,18,16,.10); }
.hstage__bands { position: absolute; z-index: 2; left: 50%; bottom: 16px; transform: translateX(-50%); display: flex; gap: 2px; padding: 4px; border-radius: 999px;
  background: var(--paper); box-shadow: 0 1px 3px rgba(41,18,16,.12), 0 8px 24px rgba(41,18,16,.10); }
.hstage .cband { height: 32px; display: inline-flex; align-items: center; gap: 6px; padding: 0 12px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink); font: 500 14px/1 var(--font-ui); cursor: pointer; white-space: nowrap; }
.hstage .cband span { font: 400 13px/1 var(--font-doc); color: var(--ink-60); }
.hstage .cband i { width: 8px; height: 8px; border-radius: 50%; }
.hstage .cband[data-band="barato"] i { background: var(--band-barato); }
.hstage .cband[data-band="normal"] i { background: var(--band-normal); }
.hstage .cband[data-band="caro"] i { background: var(--band-caro); }
.hstage .cband[aria-pressed="true"] { background: var(--ink-deep); color: #fff; }
.hstage .cband[aria-pressed="true"] span { color: var(--on-dark-75); }
.hstage .cband:focus-visible { outline: 2px solid var(--ink-deep); outline-offset: 2px; }
.hstage .maplibregl-canvas:focus-visible { outline: 2px solid var(--ink-deep); outline-offset: -2px; }
.hstage .maplibregl-ctrl-group { border-radius: 10px; box-shadow: 0 1px 3px rgba(41,18,16,.12); }

/* Station card: the district pages' card (combustiveis.css), with «Como chegar» and Waze */
.cpop .maplibregl-popup-content { border-radius: 16px; padding: 14px 16px; box-shadow: 0 8px 28px rgba(41,18,16,.18); font-family: var(--font-ui); color: var(--ink); }
.ccard__brand { margin: 0; font: 400 11px/1 var(--font-doc); letter-spacing: .06em; text-transform: uppercase; color: var(--ink-60); display: flex; align-items: center; gap: 8px; }
.ccard__brand .mk { width: 28px; height: 28px; border-radius: 8px; font-size: 11px; }
.ccard__brand .mk--l img { padding: 3px; }
.ccard__name { margin: 6px 0 2px; font: 500 16px/1.25 var(--font-ui); }
.ccard__where { margin: 0 0 10px; font-size: 13px; color: var(--ink-60); }
.ccard__price { margin: 0; } .ccard__price b { font: 400 23.8px/1 var(--font-ui); } .ccard__price small { margin-left: 4px; color: var(--ink-60); }
.ccard__tank { margin: 4px 0 10px; font-size: 13px; }
.ccard__band { margin: 0 0 12px; display: flex; align-items: center; gap: 6px; font-size: 13px; }
.ccard__band i { width: 8px; height: 8px; border-radius: 50%; background: var(--band-normal); }
.ccard--barato .ccard__band i { background: var(--band-barato); } .ccard--caro .ccard__band i { background: var(--band-caro); }
.ccard__ways { margin: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.ccard__go { display: inline-flex; height: 32px; align-items: center; padding: 0 14px; border-radius: 999px; background: var(--ink-deep); color: #fff; font: 500 14px/1 var(--font-ui); text-decoration: none; }
.ccard__waze { display: inline-flex; height: 32px; align-items: center; padding: 0 14px; border-radius: 999px; background: transparent; color: var(--ink-deep); box-shadow: inset 0 0 0 1px var(--ink-deep); font: 500 14px/1 var(--font-ui); text-decoration: none; }
.ccard__go:focus-visible, .ccard__waze:focus-visible { outline: 2px solid var(--ink-deep); outline-offset: 2px; }

@media (max-width: 760px) {
  .hmap__m { max-width: none; }
  .hstage { height: clamp(440px, 72vh, 620px); border-radius: 18px; }
  .hstage__bands { left: 8px; right: 8px; transform: none; justify-content: space-between; }
  .hstage .cband { flex: 1 1 auto; justify-content: center; gap: 4px; padding: 0 6px; font-size: 13px; }
  .hstage .cband span { font-size: 11px; }
  .hstage__on:not([hidden]) { position: absolute; z-index: 2; top: 10px; left: 50%; transform: translateX(-50%); display: block; margin: 0; max-width: calc(100% - 20px);
    box-sizing: border-box; padding: 9px 14px; border-radius: 999px; background: var(--paper); font: 400 13.5px/1.2 var(--font-ui); color: var(--ink); white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis; box-shadow: 0 1px 3px rgba(41,18,16,.12), 0 8px 24px rgba(41,18,16,.10); }
  .hstage__on b { font-weight: 600; } .hstage__on a { color: var(--ink-deep); font-weight: 500; }
  .hstage .maplibregl-ctrl-top-left .maplibregl-ctrl-attrib { margin-top: 52px; }
  .hstage .maplibregl-ctrl-group:has(.maplibregl-ctrl-zoom-in) { display: none; } /* as the district pages: pinch on a phone */
}

/* ── Brand tile beside each name, in the tool, the ranking and the station card (the mock's hub.css; both hubs load
   this file). The brand's logo where site/design/marcas/ has one (docs/FONTES.md), else initials on a tint. ── */
.mk { width: 40px; height: 40px; border-radius: 12px; background: #fff; border: 1px solid var(--tint-10); display: grid; place-items: center; flex: none; overflow: hidden; }
.mk--t { border: 0; font: 600 14px/1 var(--font-ui); color: var(--ink-deep); letter-spacing: .02em; }
.mk--med { background: var(--cream); }
.mk--l img { width: 100%; height: 100%; object-fit: contain; padding: 5px; }
.ofl.rk .o { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0 12px; align-items: center; }
.ofl.rk .o .mk { grid-row: span 2; }
.tool .ofl .o { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 0 10px; align-items: center; }
.tool .ofl .o .mk { grid-row: span 2; width: 36px; height: 36px; }

/* ── Section 6 · DL1: the districts ranked, a bar either side of the national median (the mock's DL1) ── */
.dl1 { margin-top: 18px; display: grid; background: #fff; border: 1px solid var(--tint-10); border-radius: 22px; padding: 14px 18px; max-width: 900px; }
.dl1__h, .dl1r { display: grid; grid-template-columns: 26px 170px minmax(0, 1fr) 64px; gap: 12px; align-items: center; }
.dl1__h { padding: 4px 0 10px; font: 500 11.5px/1 var(--font-doc); color: var(--ink-50); text-transform: uppercase; letter-spacing: .05em; }
.dl1__h > span:last-child { text-align: right; }
.dl1__h .ax { display: flex; justify-content: space-between; gap: 8px; text-transform: none; letter-spacing: 0; }
.dl1r { min-height: 40px; padding: 9px 0; border-top: 1px solid var(--tint-10); text-decoration: none; color: var(--ink-deep); }
.dl1r:hover b { text-decoration: underline; text-underline-offset: 3px; }
.dl1r:focus-visible { outline: 2px solid var(--peach-ink); outline-offset: 2px; border-radius: 8px; }
.dl1r .n { font: 600 12.5px/1 var(--font-doc); color: var(--ink-50); } .dl1r b { font-size: 15.5px; font-weight: 600; }
.dl1r .v { text-align: right; font: 700 16px/1 var(--disp); }
.dl1r .bar { position: relative; height: 12px; background: linear-gradient(90deg, transparent calc(50% - 1px), var(--tint-20) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px)); }
.dl1r .bar i { position: absolute; top: 1px; height: 10px; border-radius: 5px; min-width: 4px; }
.dl1r .bar i.neg { background: var(--band-barato); } .dl1r .bar i.pos { background: var(--band-caro); opacity: .8; }
@media (max-width: 960px) {
  .dl1__h, .dl1r { grid-template-columns: 22px 120px minmax(0, 1fr) 54px; gap: 8px; } .dl1r b { font-size: 14.5px; }
  .dl1__h .ax small:nth-child(2) { display: none; }
}
@media (max-width: 600px) {
  .dl1 { padding: 10px 14px; }
  .dl1__h, .dl1r { grid-template-columns: 20px minmax(0, 1fr) 34% 50px; }
  .dl1r { min-height: 44px; }
}

/* ── Polish (as the accident guide): one left edge and one width for every section, readable measures, focus
   rings, phone tap targets ≥ 40 px. ── */
.rel.b h2, .rel .relg { max-width: 1100px; } /* = .wrap's 1180 minus its 40 px gutters: the cards line up with the sections above */
.steps span, .parts__n, .gfaq details p, .evc__n { max-width: 65ch; }
.door:focus-visible, a.ghost:focus-visible, .mail button:focus-visible, .mail input:focus-visible, .calert__priv:focus-visible,
.gfaq summary:focus-visible, .crumbs a:focus-visible { outline: 2px solid var(--peach-ink); outline-offset: 3px; border-radius: 8px; }
.b4 .door:focus-visible { outline-color: var(--peach); }
.calert__consent input:focus-visible { outline: 2px solid var(--peach-ink); outline-offset: 2px; }
@media (max-width: 760px) {
  .seg button { min-height: 40px; }
  a.door { display: inline-flex; align-items: center; min-height: 40px; }
  .calert__priv { display: inline-flex; align-items: center; min-height: 40px; }
  .hstage .cband { height: 40px; }
  .ccard__go, .ccard__waze { height: 40px; }
  .cpop .maplibregl-popup-close-button { width: 40px; height: 40px; font-size: 22px; line-height: 1; }
}
@media (prefers-reduced-motion: reduce) { .hstage__svg { transition: none; } }

/* QA 2026-10-29 · B5/P3: the station card above the map controls; a 36 px close button */
.maplibregl-popup.cpop { z-index: 3; }
.cpop .maplibregl-popup-close-button { width: 36px; height: 36px; font-size: 22px; line-height: 1; border-radius: 50%; right: 2px; top: 2px; }
.cpop .maplibregl-popup-content { padding-right: 40px; }
