/* 12.6.1 Design: one logo, one icon set (24 grid, stroke 1.7), footer groups. Loaded last on every page. */
html[data-theme]{--rc-logo-tile:#132c45;--rc-logo-cost:#f26e46}
/* Logo: header and footer share markup .rcx-brand > .rcx-symbol + Road<span.rcx-cost>Cost */
html[data-theme] a.rcx-brand{display:inline-flex!important;align-items:center;gap:10px;min-height:44px;white-space:nowrap;text-decoration:none;font-weight:820;letter-spacing:-.055em;line-height:1}
html[data-theme] a.rcx-brand .rcx-symbol{display:inline-grid;place-items:center;width:36px;height:36px;flex:0 0 36px;color:#fff;background:var(--rc-logo-tile);border-radius:11px;transform:rotate(-9deg)}
html[data-theme] a.rcx-brand .rcx-symbol svg{width:24px;height:24px;transform:rotate(9deg)}
html[data-theme] a.rcx-brand .rcx-cost{color:var(--rc-logo-cost)}
html[data-theme] .footer a.rcx-brand{color:var(--t-text,#f4f8fc);padding:0}
html[data-theme] .footer a.rcx-brand>span:last-child{color:inherit}
/* Icon set */
html[data-theme] .rcx-bottom svg{width:24px;height:24px;flex:none}
html[data-theme] .rcx-bottom .rcx-off{gap:0}
html[data-theme] .rcx-theme svg{width:24px;height:24px;stroke-width:1.7}
html[data-theme] .feature .ficon{display:grid;place-items:center;width:44px;height:44px;border-radius:12px;font-size:0;line-height:0;margin-bottom:16px}
html[data-theme] .feature .ficon svg{width:24px;height:24px;display:block}
/* Footer: mobile first, 1 column; 640: 2 columns; 1024: brand + 3 columns. 8 px grid */
html[data-theme] .footer .footer-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:24px 32px;align-items:start}
html[data-theme] .footer .footer-grid>*{grid-column:auto;min-width:0}
html[data-theme] .footer .rc-fcol{display:flex;flex-direction:column}
html[data-theme] .footer .rc-fcol h4{margin:0 0 8px;font-size:12px;line-height:16px;letter-spacing:.08em;text-transform:uppercase}
html[data-theme] .footer .rc-fbrand p{margin:8px 0 0;max-width:40ch}
html[data-theme] .footer .rc-fcol a{line-height:1.35;padding:0}
html[data-theme] .footer .rc-geo-attr,html[data-theme] .footer .footnote{display:block;line-height:1.5}
html[data-theme] .footer .rc-geo-attr a,html[data-theme] .footer .footnote a{display:inline-flex!important;vertical-align:middle;min-height:44px!important;align-items:center}
html[data-theme] .footer .footnote{margin-top:24px;padding-top:16px;font-size:13px}
@media (min-width:640px){
 html[data-theme] .footer .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 html[data-theme] .footer .footer-grid>.rc-fbrand{grid-column:1/-1}
}
@media (min-width:1024px){
 html[data-theme] .footer .footer-grid{grid-template-columns:minmax(0,1.5fr) repeat(3,minmax(0,1fr));gap:32px}
 html[data-theme] .footer .footer-grid>.rc-fbrand{grid-column:auto}
}
@media (min-width:1024px) and (pointer:fine){
 html[data-theme] .footer .rc-fcol a{min-height:40px!important}
 html[data-theme] .footer .rc-geo-attr a,html[data-theme] .footer .footnote a{min-height:24px!important}
}
/* 12.6.1b */
html[data-theme] .footer .rc-fcol h2.rc-fh{margin:0 0 8px;padding:0;border:0;font-family:inherit;font-size:12px;font-weight:700;line-height:16px;letter-spacing:.08em;text-transform:uppercase;color:var(--t-text2,#b6c6d3);background:none;text-shadow:none}
html[data-theme] .rcx-appbar a.rcx-brand{min-height:44px;box-sizing:border-box}
/* 12.6.1c */
@media (max-width:720px){
 html[data-theme][data-sticky-calc=on]{scroll-padding-bottom:calc(var(--rc-sc-nav,calc(72px + env(safe-area-inset-bottom))) + 76px)}
 html[data-theme][data-sticky-calc=on] body{padding-bottom:calc(var(--rc-sc-nav,calc(72px + env(safe-area-inset-bottom))) + 76px)}
}
html[data-theme] .v15-fuel a.v15-fu-go{padding:0 10px!important}
/* 12.6.2d */
/* 12.6.2d proposal (Design). Append to site/assets/v15-brand.css, then bump ?v= on the 20 pages */
/* 1) "Search wider" is a <button>, so it picks up the browser's default button background (WebKit #c0c0c0 behind #edf4ff = 1.64:1). Make it look like the Directions/Find links. */
html[data-theme] .v15-fuel button.v15-fu-go{-webkit-appearance:none;appearance:none;background:transparent;color:inherit;font:inherit;font-size:13px;font-weight:650;line-height:1.2;padding:0 10px!important;cursor:pointer}
/* 2) Empty-state row: keep the fixed 60px row height (CLS 0). Show the title in full and let the note use 2 lines instead of cutting it off. */
html[data-theme] .v15-fu-list li.none .v15-fu-t b{font-size:13px;text-overflow:clip}
html[data-theme] .v15-fu-list li.none .v15-fu-t span{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;font-size:12px;line-height:16px}

/* 12.6.4d */
/* MINOR-462: fuel summary was height:40px + overflow:hidden; partial / 429 / 10 km lines clipped on phones. Grow with content; min-height keeps the old 40 px slot so the first paint does not jump before Calculate. */
html[data-theme] .v15-fuel .v15-fu-sum{height:auto;min-height:40px;max-height:none;overflow:visible;white-space:normal;overflow-wrap:anywhere;word-break:break-word;line-height:20px}
/* MINOR-463: badge gets class "ev"|"gas" on the span itself (app.js: v15-fu-n +(ev?'ev':'gas')), so li.ev .v15-fu-n never matched. White on #15803d = 5.02:1 (AA). */
html[data-theme] .v15-fu-list .v15-fu-n.ev{background:#15803d;color:#fff}
