@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; background: #303030; color: #1f1f1f; }
button, input, select, textarea { font-family: inherit; }
.app-shell { padding: 8px 24px 24px 24px; }
:root { --fuelo-green: #8BBA1F; --fuelo-green-dark: #4F7F00; --fuelo-green-soft: #E2F1C5; --fuelo-green-focus: rgba(139,186,31,0.28); --fuelo-charcoal: #1F1F1F; --fuelo-card-bg: linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(245,245,245,0.94) 100%); --fuelo-card-border: rgba(255,255,255,0.42); --fuelo-card-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.app-header { position: relative; display: grid; grid-template-columns: 340px minmax(0,1fr); grid-template-areas: "brand tagline"; gap: 20px; align-items: center; min-height: 112px; padding: 8px 360px 12px 0; background: transparent; border-radius: 0; box-shadow: none; box-sizing: border-box; overflow: visible; }
.app-header-brand { grid-area: brand; position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; min-width: 0; text-decoration: none; color: inherit; }
.app-header-logo { position: relative; z-index: 1; display: block; width: 230px; max-width: 88%; height: auto; object-fit: contain; filter: none; }
.app-header-tagline { position: relative; z-index: 2; min-width: 0; color: #ffffff; line-height: 1; text-shadow: none; white-space: nowrap; }
.app-header-tagline-centre { grid-area: tagline; justify-self: center; align-self: center; margin: 0; padding: 0; font-size: clamp(24px, 2.1vw, 36px); font-style: normal; font-weight: 800; letter-spacing: -0.045em; text-align: center; }
.app-header-tagline-centre strong { color: var(--fuelo-green); font-weight: 900; }
.app-header-tagline-centre::after { content: ""; display: block; width: 100%; height: 3px; margin-top: 9px; border-radius: 999px; background: linear-gradient(90deg, rgba(199,233,42,0) 0%, #c7e92a 50%, var(--fuelo-green) 100%); }
.app-header-nav { position: absolute; right: 0; top: 32px; z-index: 5; display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 0; flex-wrap: wrap; }
.app-header-menu-toggle { display: none; }
.app-header-menu-button { display: none; }
.app-header-link { display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 7px 13px; border-radius: 8px; background: #ffffff; color: var(--fuelo-charcoal); font-size: 13px; font-weight: 700; text-decoration: none; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.app-header-link:hover { background: var(--fuelo-green-soft); color: var(--fuelo-green-dark); }
.app-header-link.active { background: var(--fuelo-green); color: var(--fuelo-charcoal); }
.app-header-bmc { display: inline-flex; align-items: center; justify-content: center; }
.app-header-bmc .bmc-btn { min-width: 161px !important; height: 48px !important; border-radius: 8px !important; font-size: 13px !important; font-weight: 700 !important; padding: 7px 13px !important; line-height: 1 !important; box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important; }
.hidden { display: none !important; }
.tablet-carousel-control { display: none; }

/* Layout */
.layout-grid { display: grid; grid-template-columns: 340px minmax(0,1fr); grid-template-areas: "left main"; gap: 20px; align-items: start; }
.left-panel { grid-area: left; display: flex; flex-direction: column; gap: 16px; }
.main-panel { grid-area: main; display: flex; flex-direction: column; gap: 20px; min-width: 0; }

.snapshot-shell { order: 1; position: relative; background: transparent; padding: 0; box-shadow: none; height: auto; min-height: 250px; display: flex; flex-direction: column; }
.map-section { order: 2; }
.results-card { order: 3; }

.panel-card { background: #ffffff; border-radius: 18px; padding: 13px 13px 12px 13px; box-shadow: 0 2px 10px rgba(0,0,0,0.08); }
.results-card { position: relative; background: #ffffff; border-radius: 18px; padding: 18px; box-shadow: 0 2px 10px rgba(0,0,0,0.08); min-height: 260px; min-width: 0; max-width: 100%; overflow: hidden; box-sizing: border-box; overflow-anchor: none; }
.map-card { background: #ffffff; border-radius: 18px; padding: 18px; box-shadow: 0 2px 10px rgba(0,0,0,0.08); width: 100%; box-sizing: border-box; }

/* Content pages */
.content-page-shell { min-height: 100vh; }
.content-page-main { width: min(980px, calc(100vw - 48px)); margin: 0 auto 26px auto; display: flex; flex-direction: column; gap: 18px; }
.content-hero-card, .content-card { background: #ffffff; border-radius: 18px; padding: 24px; box-shadow: 0 2px 10px rgba(0,0,0,0.08); box-sizing: border-box; }
.content-hero-card { padding: 32px; background: linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(245,245,245,0.94) 100%); }
.content-kicker { display: inline-flex; align-items: center; width: fit-content; margin-bottom: 12px; padding: 7px 12px; border-radius: 999px; background: var(--fuelo-green-soft); color: var(--fuelo-green-dark); font-size: 13px; font-weight: 800; }
.content-hero-card h1 { margin: 0; max-width: 760px; font-size: clamp(34px, 4vw, 58px); line-height: 0.95; letter-spacing: -0.055em; color: var(--fuelo-charcoal); }
.content-hero-card p { margin: 16px 0 0 0; max-width: 720px; font-size: 18px; line-height: 1.45; color: #444444; }
.content-card h2 { margin: 0 0 10px 0; font-size: 25px; line-height: 1.1; letter-spacing: -0.025em; color: var(--fuelo-charcoal); }
.content-card p { margin: 0 0 12px 0; font-size: 16px; line-height: 1.55; color: #444444; }
.content-card p:last-child { margin-bottom: 0; }
.content-primary-link { display: inline-flex; align-items: center; justify-content: center; width: fit-content; margin-top: 22px; min-height: 40px; padding: 0 16px; border-radius: 8px; background: var(--fuelo-green); color: var(--fuelo-charcoal); font-size: 14px; font-weight: 800; text-decoration: none; }
.content-primary-link:hover { background: #7FAA18; }
.content-feature-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 16px; }
.content-feature-card { border: 1px solid #e5ebd9; border-radius: 14px; padding: 16px; background: #fbfdf7; }
.content-feature-card h3 { margin: 0 0 6px 0; font-size: 16px; line-height: 1.15; color: var(--fuelo-charcoal); }
.content-feature-card p { margin: 0; font-size: 14px; line-height: 1.4; color: #555555; }
.content-highlight-card { border: 2px solid rgba(139,186,31,0.45); background: linear-gradient(180deg, #fbfff3 0%, #ffffff 100%); }
.content-split-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; margin-top: 16px; }
.content-info-card, .content-contact-card, .content-faq-card { border: 1px solid #e5ebd9; border-radius: 14px; padding: 16px; background: #fbfdf7; box-sizing: border-box; }
.content-info-card h3, .content-contact-card h3, .content-faq-card h3 { margin: 0 0 6px 0; font-size: 16px; line-height: 1.2; color: var(--fuelo-charcoal); }
.content-info-card p, .content-contact-card p, .content-faq-card p { margin: 0 0 10px 0; font-size: 14px; line-height: 1.45; color: #555555; }
.content-info-card p:last-child, .content-contact-card p:last-child, .content-faq-card p:last-child { margin-bottom: 0; }
.content-comparison-wrap { width: 100%; margin-top: 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.content-comparison-table { width: 100%; min-width: 620px; border-collapse: separate; border-spacing: 0; overflow: hidden; border-radius: 14px; border: 1px solid #e5ebd9; background: #ffffff; }
.content-comparison-table th { background: #2f2f2f; color: #ffffff; font-size: 13px; font-weight: 800; text-align: left; padding: 10px 12px; line-height: 1.2; }
.content-comparison-table td { border-top: 1px solid #eeeeee; padding: 10px 12px; font-size: 14px; line-height: 1.35; color: #444444; vertical-align: top; }
.content-faq-list { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 16px; }
.content-contact-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 16px; }
.content-email-link { color: var(--fuelo-green-dark); font-weight: 800; text-decoration: none; }
.content-email-link:hover { text-decoration: underline; }
.content-support-card { display: flex; flex-direction: column; }
.content-bmc-wrap { display: flex; justify-content: center; margin-top: 18px; }
.content-bmc-link { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 7px 14px; border-radius: 8px; background: #FFDD00; color: #000000; font-size: 13px; font-weight: 800; line-height: 1; text-decoration: none; box-shadow: 0 2px 8px rgba(0,0,0,0.06); box-sizing: border-box; }
.content-bmc-icon { width: 28px; height: 28px; display: block; flex: 0 0 28px; object-fit: contain; }
.content-bmc-link:focus-visible { outline: 2px solid var(--fuelo-green); outline-offset: 2px; }

/* Shared UI */
.panel-title { margin: 0 0 10px 0; font-size: 18px; line-height: 1.2; font-weight: 700; }
.results-title-subline { display: block; margin-top: 2px; font-size: 15px; line-height: 1.15; font-weight: 600; color: #666666; }

.smart-search-header { margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid #ececec; }
.smart-search-title { font-size: 21px; line-height: 1.1; font-weight: 800; color: #1f1f1f; letter-spacing: -0.02em; }
.smart-search-subtitle { margin-top: 3px; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; line-height: 1.2; font-weight: 700; color: var(--fuelo-green-dark); }
.smart-search-subtitle-logo { display: inline-block; height: 17px; width: auto; vertical-align: middle; transform: translateY(0.5px); }

.field-label { display: block; margin: 8px 0 0 0; font-size: 12.5px; font-weight: 700; padding-left: 2px; }
.text-input { width: 100%; box-sizing: border-box; border: 1px solid #cfcfcf; border-radius: 8px; padding: 8px 10px; font-size: 13.5px; background: #ffffff; }
select.text-input { appearance: none; -webkit-appearance: none; height: 35px; color: #1f1f1f; line-height: 1.2; padding: 7px 34px 7px 10px; background-color: #ffffff; background-image: linear-gradient(45deg, transparent 50%, #666 50%), linear-gradient(135deg, #666 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 12px) 50%; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; }
select.text-input:focus { outline: 2px solid var(--fuelo-green-focus); outline-offset: 1px; border-color: var(--fuelo-green); }
.helper-text { margin-top: 8px; font-size: 12px; line-height: 1.35; }
.helper-text-error { color: #c62828; }

.primary-btn { width: 100%; margin-top: 18px; border: 0; border-radius: 8px; padding: 9px 10px; font-size: 13.5px; font-weight: 700; cursor: pointer; background: #2b2b2b; color: #ffffff; }
.secondary-btn { width: 100%; margin-top: 10px; border: 1px solid #cfd7eb; border-radius: 8px; padding: 9px 10px; font-size: 13.5px; font-weight: 700; cursor: pointer; background: #eef2fb; color: #24408f; }

.radio-group { display: grid; gap: 8px; }
.radio-row { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.checkbox-row { display: flex; align-items: center; gap: 8px; font-size: 14px; margin-top: 12px; }
.checkbox-under-input { margin-top: 10px; }
.member-only-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; margin-top: 10px; }
.member-only-toggle-text { font-weight: 700; color: #1f1f1f; line-height: 1.2; }
.member-only-toggle { appearance: none; -webkit-appearance: none; width: 38px; height: 22px; border-radius: 999px; background: #C9DDB3; border: none; cursor: pointer; position: relative; transition: background 0.2s ease, box-shadow 0.2s ease; outline: none; margin: 0; flex: 0 0 38px; }
.member-only-toggle::before { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #ffffff; box-shadow: 0 1px 3px rgba(0,0,0,0.22); transition: transform 0.2s ease; }
.member-only-toggle:checked { background: var(--fuelo-green); }
.member-only-toggle:checked::before { transform: translateX(16px); }
.member-only-toggle:focus-visible { box-shadow: 0 0 0 3px var(--fuelo-green-focus); }
.member-only-toggle:hover { filter: brightness(0.98); }

/* Mode toggle */
.mode-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.mode-btn { border: 0; border-radius: 9px; padding: 11px 10px; font-size: 15px; font-weight: 700; cursor: pointer; background: var(--fuelo-green-soft); color: var(--fuelo-green-dark); }
.mode-btn.active { background: var(--fuelo-green); color: var(--fuelo-charcoal); }

/* Unified search panel */
#shared-search-fields { margin-top: 10px; }
.search-panel { padding: 14px 14px 13px 14px; }
.search-field { margin-bottom: 10px; }
.search-input { min-width: 0; margin: 3px 0 0 0; }
.search-split-row { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; column-gap: 10px; row-gap: 3px; align-items: center; margin-bottom: 10px; }
.split-label-fuel { grid-column: 1; grid-row: 1; margin: 8px 0 0 0; }
.split-label-journey { grid-column: 2; grid-row: 1; margin: 8px 0 0 0; }
.split-label-radius { grid-column: 2; grid-row: 1; margin: 8px 0 0 0; display: flex; align-items: center; }
.split-control-fuel { grid-column: 1; grid-row: 2; min-width: 0; }
.split-control-radius { grid-column: 2; grid-row: 2; min-width: 0; display: flex; align-items: center; }
.slider-input-radius { width: 100%; max-width: 180px; margin: 0; }

.autocomplete-field { position: relative; }
.autocomplete-dropdown { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 40; background: #ffffff; border: 1px solid #d9d9d9; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,0.10); overflow-x: hidden; overflow-y: auto; max-height: 168px; }
.autocomplete-option { padding: 8px 10px; cursor: pointer; border-bottom: 1px solid #efefef; }
.autocomplete-option:last-child { border-bottom: 0; }
.autocomplete-option:hover, .autocomplete-option.is-active { background: #f6f8fd; }
.autocomplete-primary { font-size: 12px; color: #1f1f1f; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.autocomplete-secondary { display: none; }
.autocomplete-empty { padding: 8px 10px; font-size: 12px; color: #666; }

.location-input-wrap { display: grid; grid-template-columns: minmax(0,1fr) 48px; gap: 10px; align-items: stretch; }
.location-btn { margin-top: 3px; position: relative; width: 48px; height: 33px; border: 1px solid rgba(139,186,31,0.35); border-radius: 8px; background: var(--fuelo-green-soft); cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; box-sizing: border-box; transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, opacity 0.18s ease; }
.location-btn.is-locating { background: var(--fuelo-green); border-color: var(--fuelo-green); }
.location-btn.is-locating .location-btn-icon { opacity: 0; }
.location-btn-spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.45); border-top-color: #ffffff; border-radius: 50%; animation: locationButtonSpin 0.8s linear infinite; display: none; }
.location-btn.is-locating .location-btn-spinner { display: inline-block; position: absolute; }
.location-btn-icon { width: 18px; height: 18px; display: block; }

@keyframes locationButtonSpin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.slider-input { width: 100%; margin: 0; accent-color: var(--fuelo-green); }

.fuel-select-unified { display: block; }
.fuel-radio-group { gap: 8px; }
.fuel-radio-option { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.fuel-select-mobile { display: none; }

.fill-split-row { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; column-gap: 10px; row-gap: 3px; margin-bottom: 10px; align-items: end; }
.split-label-fill { grid-column: 1; grid-row: 1; margin: 8px 0 0 0; }
.split-label-amount { grid-column: 2; grid-row: 1; margin: 8px 0 0 0; }
.split-control-fill { grid-column: 1; grid-row: 2; min-width: 0; }
.split-control-amount { grid-column: 2; grid-row: 2; min-width: 0; }

.fill-value-row { display: block; }
.fill-value-wrap { position: relative; display: flex; align-items: center; }
.fill-value-prefix { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; height: 1em; line-height: 1; font-size: 16px; pointer-events: none; color: #8a8a8a; }
.fill-value-suffix { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); display: inline-flex; align-items: center; height: 1em; line-height: 1; font-size: 16px; pointer-events: none; color: #8a8a8a; }
.fill-value-input { width: 100%; padding: 8px 30px 8px 30px; text-align: right; line-height: 1.2; }
.fill-value-wrap.fill-dollars .fill-value-input { text-align: left; padding-left: 20px; padding-right: 10px; }
.fill-value-wrap:not(.fill-dollars) .fill-value-input { padding-right: 20px; padding-left: 10px; }

/* Desktop-only input tweaks */
@media (min-width: 821px) {
.fill-value-input::-webkit-outer-spin-button, .fill-value-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fill-value-input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
.fill-value-prefix, .fill-value-suffix { font-size: 13.5px; }
}

/* Discounts / other controls still in use */
.discount-card { padding: 13px 13px 12px 13px; }
.discount-card.discount-card-inline { margin-top: 12px; padding: 12px 0 0 0; border-top: 1px solid #ececec; border-radius: 0; background: transparent; box-shadow: none; }
.discount-card.discount-card-inline .discounts-toggle { margin-bottom: 8px; }
.discounts-toggle { width: 100%; border: 0; background: transparent; padding: 0; margin: 0 0 8px 0; display: flex; align-items: center; justify-content: space-between; cursor: default; text-align: left; position: relative; }
.discounts-toggle-title { font-size: 18px; line-height: 1.2; font-weight: 700; color: #1f1f1f; }
.discounts-toggle-icon { display: none; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 999px; background: var(--fuelo-green-soft); color: var(--fuelo-green-dark); align-items: center; justify-content: center; font-size: 0; line-height: 0; font-weight: 400; transition: transform 0.18s ease, background 0.18s ease; }
.discounts-toggle-icon::before, .discounts-toggle-icon::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 999px; background: currentColor; transform: translate(-50%, -50%); }
.discounts-toggle-icon::before { width: 12px; height: 2px; }
.discounts-toggle-icon::after { width: 2px; height: 12px; }
.discounts-toggle[aria-expanded="true"] .discounts-toggle-icon { transform: translateY(-50%) rotate(45deg); background: #E3F4C6; }
.discounts-panel-body { padding-top: 0; }
.discount-grid { display: grid; gap: 5px; }
.discount-row { display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 8px; align-items: center; font-size: 13px; min-height: 30px; }
.discount-brand { display: grid; grid-template-columns: 38px auto auto minmax(0,1fr); column-gap: 6px; align-items: center; min-width: 0; }
.discount-brand-logo { width: 16px; height: 16px; object-fit: contain; display: block; }
.discount-brand span:last-child { line-height: 1.15; min-width: 0; }
.discount-input { width: 50px; height: 28px; min-height: 28px; padding: 4px 6px; text-align: right; font-size: 13px; }
.discount-value-wrap { display: inline-flex; align-items: center; gap: 4px; justify-self: end; }
.discount-input:disabled { background: #f2f2f2; color: #888; border-color: #dddddd; cursor: not-allowed; }
.discount-suffix { font-size: 12px; color: #666; }
.discount-toggle { appearance: none; -webkit-appearance: none; width: 38px; height: 22px; border-radius: 999px; background: #C9DDB3; border: none; cursor: pointer; position: relative; transition: background 0.2s ease, box-shadow 0.2s ease; outline: none; margin: 0; }
.discount-toggle::before { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #ffffff; box-shadow: 0 1px 3px rgba(0,0,0,0.22); transition: transform 0.2s ease; }
.discount-toggle:checked { background: var(--fuelo-green); }
.discount-toggle:checked::before { transform: translateX(16px); }
.discount-toggle:focus-visible { box-shadow: 0 0 0 3px var(--fuelo-green-focus); }
.discount-toggle:hover:not(:disabled) { filter: brightness(0.98); }
.discount-toggle:disabled { opacity: 0.55; cursor: not-allowed; }

.fill-method-grid { display: grid; grid-template-columns: minmax(0,1fr) 20px 72px 20px; column-gap: 6px; row-gap: 3px; align-items: center; }
.fill-method-label { display: flex; align-items: center; gap: 6px; font-size: 14px; min-width: 0; white-space: nowrap; }
.fill-method-label span { overflow: hidden; text-overflow: ellipsis; }
.fill-prefix { font-size: 13px; color: #666; text-align: right; padding-right: 2px; }
.fill-suffix { font-size: 13px; color: #666; text-align: left; padding-left: 2px; }
.fill-input { text-align: right; padding-left: 6px; padding-right: 6px; width: 100%; }

.left-panel .text-input + .radio-row { margin-top: 2px; }

/* Results */
.results-header { display: flex; align-items: center; justify-content: flex-start; gap: 12px; margin-bottom: 0px; padding-right: 260px; min-height: 34px; }
.results-header-right { position: absolute; top: 50px; right: 20px; width: 300px; height: 76px; min-width: 0; display: block; }
.results-meta { position: absolute; top: -30px; right: 0; max-width: 310px; font-size: 12px; line-height: 1.2; color: #777; padding-top: 0; margin-bottom: 0; text-align: right; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.results-data-source { position: absolute; top: 0; right: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 3px; text-align: right; }
.results-data-source-text { font-size: 11px; line-height: 1.2; color: #666666; font-weight: 600; }
.results-data-source-logo { display: block; max-width: 150px; max-height: 34px; width: auto; height: auto; object-fit: contain; }

.results-toolbar { display: flex; gap: 10px; margin-bottom: 14px; }
.results-toolbar.results-toolbar-hidden { visibility: hidden; pointer-events: none; }
.results-pill { border: 0; display: inline-flex; align-items: center; justify-content: center; padding: 8px 14px; border-radius: 999px; background: var(--fuelo-green-soft); color: var(--fuelo-green-dark); font-size: 13px; font-weight: 700; }
.results-pill.active { background: var(--fuelo-green); color: var(--fuelo-charcoal); }
.results-pill.is-disabled { background: #f1f3f7; color: #9aa3b2; cursor: not-allowed; pointer-events: none; }
.results-pill.is-disabled.active { background: #f1f3f7; color: #9aa3b2; }

.table-wrap { width: 100%; max-width: 100%; overflow-x: hidden; overflow-y: hidden; }
.results-table { width: 100%; min-width: 100%; table-layout: auto; border-collapse: separate; border-spacing: 0; }
.results-table tr.row-top-pick td { background: #f4f0ff; font-weight: 700; }
.results-table tr.row-top-pick:hover td { background: #f4f0ff; }
.result-item.top-pick { background: #f4f0ff; border: 2px solid #5a36cc; }
.results-table th { background: #2f2f2f; color: #ffffff; font-size: 13px; font-weight: 700; text-align: center; padding: 6px; white-space: normal; line-height: 1.15; vertical-align: middle; }
.results-table td { background: #ffffff; border-bottom: 1px solid #e6e6e6; padding: 6px 8px; font-size: 12.5px; white-space: normal; overflow-wrap: anywhere; word-break: normal; line-height: 1.2; transition: background 0.15s ease; vertical-align: middle; text-align: center; }
.results-table td:first-child { text-align: left; width: 1%; white-space: nowrap; }
.results-table tbody tr:hover td { background: #f1f6ff; }

.results-table tr.row-cheapest td { background: #e3f3e3; font-weight: 700; }
.results-table tr.row-cheapest:hover td { background: #e3f3e3; }

.results-table tr.row-better-value td { background: #fff8d9; }
.results-table tr.row-better-value:hover td { background: #fff8d9; }

.results-table tr.row-jackpot td { background: #e8e5ff; font-weight: 700; }
.results-table tr.row-jackpot:hover td { background: #e8e5ff; }
.results-table tr:has(.table-station-badge-closed) td { position: relative; }
.results-table tr:has(.table-station-badge-closed) td::after { content: ""; position: absolute; inset: 0; background: rgba(255,255,255,0.5); pointer-events: none; }
.results-table td.area-station-address-cell { text-align: left; }

.table-station-logo { width: 20px; height: 20px; object-fit: contain; flex: 0 0 20px; }
.table-station-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; margin-left: 0; border-radius: 999px; font-size: 11px; font-weight: 700; line-height: 1; vertical-align: middle; flex: 0 0 auto; }
.table-station-badge-closed { background: #fdecea; color: #c93434; font-weight: 700; padding: 2px 6px; border-radius: 6px; margin-left: 8px; }
.table-station-badge-jackpot { color: #5a36cc; }
.table-station-badge-top-pick { color: #5a36cc; }
.table-station-badge-better-value { color: #c79500; }
.table-station-badge-cheapest { color: #1f7a34; transform: translateY(-1px); }
.table-station-badge-icon { width: 14px; height: 14px; display: block; flex: 0 0 14px; fill: currentColor; color: currentColor; }
.table-station-badge.table-station-badge-jackpot, .table-station-badge.table-station-badge-top-pick, .table-station-badge.table-station-badge-cheapest, .table-station-badge.table-station-badge-better-value { display: inline-flex; align-items: center; justify-content: center; }
.table-station-badge-jackpot .table-station-badge-icon, .table-station-badge-top-pick .table-station-badge-icon { transform: translateY(-0.5px); }
.table-station-badge-better-value .table-station-badge-icon { transform: translateY(-1px); }

.show-more-btn { border: none; background: var(--fuelo-green); color: var(--fuelo-charcoal); padding: 10px 18px; border-radius: 8px; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.show-more-btn:hover { background: #7FAA18; }

.mobile-results { display: none; }

.result-item { background: #f3f3f3; border: 1px solid #e7e7e7; border-radius: 16px; padding: 14px; margin-bottom: 12px; }
.result-item:last-child { margin-bottom: 0; }

.mobile-result-card { padding: 0; overflow: hidden; background: #ffffff; border: 1px solid #e3e8f2; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.mobile-result-card.cheapest { background: linear-gradient(180deg, #f4fbf4 0%, #ffffff 100%); border: 2px solid #a2cc9f; }
.mobile-result-card.better-value { background: linear-gradient(180deg, #fffbed 0%, #ffffff 100%); border: 2px solid #f1c40f; }
.mobile-result-card.jackpot, .mobile-result-card.top-pick { background: linear-gradient(180deg, #f7f4ff 0%, #ffffff 100%); border: 2px solid #7f46d3; }

.mobile-result-toggle-btn { width: 100%; border: 0; background: transparent; padding: 14px 14px 10px 14px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; text-align: left; cursor: pointer; }
.mobile-result-summary-left { display: flex; align-items: flex-start; gap: 10px; flex: 1; min-width: 0; }
.mobile-result-logo { width: 24px; height: 24px; object-fit: contain; flex: 0 0 24px; margin-top: 1px; }
.mobile-result-summary-text { min-width: 0; flex: 1; }
.mobile-result-summary-right { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; margin-left: 8px; }

.result-station { min-width: 0; font-weight: 700; font-size: 15px; line-height: 1.25; }
.result-station .station-status.unavailable { margin-left: 6px; vertical-align: middle; }
.mobile-result-fuel-type { margin-top: 3px; font-size: 12px; line-height: 1.2; color: #6a6a6a; }
.mobile-result-card .result-price { font-weight: 800; font-size: 18px; line-height: 1; white-space: nowrap; }
.mobile-result-card.better-value .result-price { color: #c79500; }

.mobile-result-toggle-symbol { width: 28px; height: 28px; border-radius: 999px; background: #eef2fb; color: #355ed8; display: inline-flex; align-items: center; justify-content: center; position: relative; font-size: 0 !important; line-height: 0 !important; flex: 0 0 28px; overflow: hidden; transition: transform 0.18s ease, background 0.18s ease; }
.mobile-result-toggle-line { position: absolute; left: 50%; top: 50%; border-radius: 999px; background: currentColor; transform: translate(-50%, -50%); pointer-events: none; }
.mobile-result-toggle-line-horizontal { width: 12px; height: 2px; }
.mobile-result-toggle-line-vertical { width: 2px; height: 12px; }
.mobile-result-card.is-expanded .mobile-result-toggle-symbol { transform: rotate(45deg); background: #dfe8ff; }
.mobile-result-footer { padding: 0 14px 12px 14px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.area-mobile-result-card { padding: 0; overflow: hidden; background: #ffffff; border: 1px solid #e3e8f2; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
.area-mobile-result-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 14px 14px 4px 14px; }
.area-mobile-result-card .mobile-result-summary-left { align-items: flex-start; gap: 10px; min-width: 0; flex: 1; }
.area-mobile-result-card .mobile-result-summary-text { min-width: 0; flex: 1; }
.mobile-result-address { margin-top: 4px; font-size: 12px; line-height: 1.3; color: #6a6a6a; }
.area-mobile-price-stack { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: 0 0 auto; min-width: 108px; }
.area-mobile-result-card .result-price { font-weight: 800; font-size: 18px; line-height: 1; white-space: nowrap; text-align: right; }
.area-mobile-next-price-block { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.area-mobile-next-price-label { font-size: 10px; line-height: 1.15; color: #666666; font-weight: 500; max-width: 108px; }
.area-mobile-next-price-line { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; }
.area-mobile-next-price-value { font-size: 13px; line-height: 1; font-weight: 600; color: #1f1f1f; white-space: nowrap; }
.area-mobile-current-price-block { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.area-mobile-current-price-label, .area-mobile-next-price-label { font-size: 10px; line-height: 1.15; color: #666666; font-weight: 500; max-width: 108px; padding-bottom: 2px; }
.area-mobile-result-card .result-price { font-size: 18px; line-height: 1; font-weight: 700; color: #1f1f1f; text-align: right; white-space: nowrap; }
.area-mobile-next-price-value { font-size: 13px; line-height: 1; font-weight: 600; color: #1f1f1f; white-space: nowrap; }
.area-mobile-result-card .station-status.closed, .area-mobile-result-card .station-status.unavailable { font-size: 11px; line-height: 1; padding: 2px 5px; border-radius: 5px; margin-left: 0; vertical-align: 1px; }
.mobile-area-next-price-delta { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; line-height: 1; white-space: nowrap; }
.mobile-area-next-price-delta.up { color: #c93434; }
.mobile-area-next-price-delta.down { color: #2e7d32; }
.mobile-area-next-price-delta.same { color: #777777; }
.mobile-area-next-price-delta-arrow { display: inline-block; transform: translateY(-1px); }
.mobile-area-next-price-delta.same .mobile-area-next-price-delta-arrow { transform: translateY(0); }

.area-mobile-result-footer { padding: 0 14px 12px 14px; display: flex; align-items: center; justify-content: flex-start; }
.mobile-result-total-cost { display: flex; flex-direction: column; align-items: flex-end; text-align: right; flex: 0 0 auto; }
.mobile-result-total-cost-label { font-size: 10px; line-height: 1.1; color: #777777; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; }
.mobile-result-total-cost-value { margin-top: 2px; font-size: 20px; line-height: 1; font-weight: 800; color: #1f1f1f; white-space: nowrap; }
.mobile-result-total-cost-value-cheapest { color: #2e7d32; }
.mobile-result-details { padding: 12px 14px 14px 14px; border-top: 1px solid #e9edf4; }
.mobile-result-metrics { display: grid; grid-template-columns: 1fr; gap: 8px; }
.mobile-result-metric { display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: 8px; font-size: 13px; line-height: 1.3; }
.mobile-result-metric-label { color: #555555; font-weight: 700; white-space: nowrap; }
.mobile-result-metric-leader { border-bottom: 2px dotted #d5dbe7; height: 0; align-self: center; transform: translateY(1px); }
.mobile-result-metric-value { color: #1f1f1f; font-weight: 700; text-align: right; white-space: nowrap; }

.result-topline { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.result-title-wrap { display: flex; align-items: flex-start; gap: 8px; flex: 1; min-width: 0; }
.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; font-size: 14px; color: #333; }

.station-name-cell { display: inline-flex; align-items: center; gap: 6px; min-width: max-content; vertical-align: middle; white-space: nowrap; }
.station-name-text-wrap { display: inline-flex; align-items: center; gap: 6px; min-width: max-content; line-height: 1.2; white-space: nowrap; transform: translateY(2px); }
.results-cell-shift { display: inline-block; transform: translateY(2px); }
.station-name-cell .station-status.unavailable { margin-left: 6px; vertical-align: middle; }
.station-name-map-btn { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; border-radius: 6px; }
.station-name-map-btn-icon { width: 16px; height: 16px; display: block; opacity: 1; transition: opacity 0.18s ease, transform 0.18s ease; }
.station-name-map-btn:hover { background: rgba(53,94,216,0.08); }
.station-name-map-btn:hover .station-name-map-btn-icon { opacity: 1; transform: translateY(-1px); }
.mobile-open-maps-btn { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: transparent; color: #355ed8; font-size: 13px; font-weight: 700; cursor: pointer; }
.mobile-open-maps-btn-icon { width: 14px; height: 14px; display: block; }

/* Map */
#map { height: 641px; width: 100%; border-radius: 8px; }
#map .leaflet-top.leaflet-left { top: auto !important; left: auto !important; right: 10px !important; bottom: 26px !important; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
#map .leaflet-control-zoom { margin: 0 !important; border: 0 !important; border-radius: 999px !important; overflow: hidden; background: #ffffff; box-shadow: 0 4px 14px rgba(0,0,0,0.18); }
#map .leaflet-control-zoom a { position: relative; width: 34px; height: 34px; line-height: 34px; border: 0 !important; background: #ffffff; color: #1f1f1f; font-size: 0; font-weight: 700; box-sizing: border-box; }
#map .leaflet-control-zoom a::before { content: ""; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; border-radius: 999px; background: currentColor; transform: translate(-50%,-50%); }
#map .leaflet-control-zoom a::after { content: ""; position: absolute; left: 50%; top: 50%; width: 2px; height: 13px; border-radius: 999px; background: currentColor; transform: translate(-50%,-50%); display: none; }
#map .leaflet-control-zoom a.leaflet-control-zoom-in::after { display: block; }
#map .leaflet-control-zoom a:first-child { border-bottom: 1px solid #e1e1e1 !important; }
#map .leaflet-control-zoom a:hover { background: #f4f4f4; color: #1f1f1f; }
#map .leaflet-control-zoom a:focus { outline: 2px solid var(--fuelo-green); outline-offset: -2px; }
#map .map-location-control { margin: 0 !important; border: 0 !important; border-radius: 999px !important; background: #ffffff; box-shadow: 0 4px 14px rgba(0,0,0,0.18); overflow: hidden; }
#map .map-location-control-button { position: relative; width: 34px; height: 34px; border: 0; border-radius: 999px; background: #ffffff; color: #1f1f1f; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; box-sizing: border-box; }
#map .map-location-control-button:hover { background: #f4f4f4; color: #1f1f1f; }
#map .map-location-control-button:focus { outline: 2px solid var(--fuelo-green); outline-offset: -2px; }
#map .map-location-control-icon { width: 18px; height: 18px; display: block; }
#map .map-location-control-spinner { display: none; position: absolute; width: 15px; height: 15px; border: 2px solid rgba(31,31,31,0.22); border-top-color: #1f1f1f; border-radius: 50%; animation: locationButtonSpin 0.8s linear infinite; }
#map .map-location-control-button.is-locating .map-location-control-icon { opacity: 0; }
#map .map-location-control-button.is-locating .map-location-control-spinner { display: block; }
.placeholder-copy { font-size: 15px; color: #666; }
.map-shell { position: relative; }
.map-area-controls { position: absolute; top: -10px; left: 50%; transform: translateX(-50%); z-index: 1200; display: flex; align-items: stretch; justify-content: center; width: 135px; max-width: calc(100% - 120px); padding: 0 8px; background: #ffffff; color: #1f1f1f; border: none; border-top: 0; border-radius: 0 0 16px 16px; box-shadow: none; pointer-events: auto; box-sizing: border-box; }
.map-area-controls.map-area-controls-smart { width: 176px; }
.map-area-controls .map-fuel-select { width: 100%; height: 30px; min-height: 30px; padding: 4px 28px 4px 9px; border: 2px solid var(--active-fuel-colour, #F1B100); border-radius: 9px; background-color: #ffffff; color: #1f1f1f; font-size: 13px; font-weight: 600; box-shadow: none; margin-bottom: 8px; transition: border-color 0.15s ease; }
.map-area-controls .map-fuel-select:focus, .map-area-controls .map-fuel-select:focus-visible { outline: none; border-color: var(--active-fuel-colour, #F1B100); box-shadow: none; }
.map-search-area-bubble { margin-bottom: 8px; border: 2px solid #474747;  display: flex; align-items: center; justify-content: center; min-width: 0; width: 100%; height: 32px; padding: 5px 10px; border-radius: 9px; background: #f4f4f4; color: #1f1f1f; box-shadow: none; cursor: pointer; user-select: none; white-space: nowrap; transition: background 0.15s ease, transform 0.08s ease, border-color 0.15s ease; }
.map-search-area-bubble:hover { background: #ececec; border-color: #bdbdbd; opacity: 1; }
.map-search-area-bubble:active { transform: translateY(1px); background: #e5e5e5; }
.map-search-area-bubble:focus { outline: 2px solid var(--fuelo-green); outline-offset: 2px; }
.map-search-area-title { font-size: 13px; line-height: 1.1; font-weight: 600; color: #474747; }

.leaflet-popup-content-wrapper { padding: 0; border-radius: 16px; }
.leaflet-popup-content { margin: 0 !important; min-width: 280px; }
.leaflet-popup-content .station-popup { display: flex; flex-direction: column; gap: 0; padding: 12px 14px; }
.leaflet-popup-content .station-popup-topbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.leaflet-popup-content .station-popup-fuel { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; font-weight: 700; line-height: 1.2; }
.leaflet-popup-content .station-popup-badge { display: inline-flex; align-items: center; justify-content: center; padding: 4px 8px; border-radius: 999px; font-size: 10px; font-weight: 700; white-space: nowrap; }
.leaflet-popup-content .station-popup-badge.cheapest { background: #e3f3e3; color: #2e7d32; }
.leaflet-popup-content .station-popup-badge.better-value { background: #fff4cc; color: #a06a00; }
.leaflet-popup-content .station-popup-badge.both { background: #ece6ff; color: #6f42c1; }
.leaflet-popup-content .station-popup-main { display: grid; grid-template-columns: minmax(0,1fr) auto; column-gap: 14px; align-items: start; }
.leaflet-popup-content .station-popup-left { min-width: 0; }
.leaflet-popup-content .station-popup-brand-row { display: flex; align-items: center; gap: 10px; min-width: 0; margin-top: 0; }
.leaflet-popup-content .station-popup-logo { width: 38px; height: 38px; object-fit: contain; flex: 0 0 38px; }
.leaflet-popup-content .station-popup-title-wrap { min-width: 0; flex: 1; }
.leaflet-popup-content .station-popup-name { font-size: 14px; font-weight: 700; line-height: 1.25; }
.leaflet-popup-content .station-popup-price-block { margin-top: 2px;  display: flex; flex-direction: column; align-items: flex-end; gap: 14px; text-align: right; width: 90px; }
.leaflet-popup-content .station-popup-price-row { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.leaflet-popup-content .station-popup-price-label { font-size: 10px; line-height: 1.1; color: #666666; white-space: normal; text-align: right; }
.leaflet-popup-content .station-popup-price-line { display: inline-flex; align-items: center; justify-content: flex-end; gap: 6px; white-space: nowrap; }
.leaflet-popup-content .station-popup-price-value { font-size: 18px; font-weight: 700; line-height: 1; }
.leaflet-popup-content .station-popup-price-row-next .station-popup-price-value { font-size: 13px; font-weight: 600; color: #000000; }
.leaflet-popup-content .station-popup-price-row-next .station-popup-price-value.is-muted { color: #8a8a8a; font-weight: 500; }
.leaflet-popup-content .station-popup-price-delta { display: inline-flex; align-items: center; gap: 1px; font-size: 11px; font-weight: 700; line-height: 1; vertical-align: middle; }
.leaflet-popup-content .station-popup-price-row-next.up { color: #c62828; }
.leaflet-popup-content .station-popup-price-row-next.down { color: #2e7d32; }
.leaflet-popup-content .station-popup-price-row-next.same { color: #666666; }
.leaflet-popup-content .station-popup-price-delta-arrow { display: inline-flex; align-items: center; justify-content: center; line-height: 1; }
.leaflet-popup-content .station-popup-price-row-next.up .station-popup-price-delta-arrow { transform: translateY(-1.5px); }
.leaflet-popup-content .station-popup-price-row-next.down .station-popup-price-delta-arrow { transform: translateY(-1.5px); }
.leaflet-popup-content .station-popup-price-row-next.same .station-popup-price-delta-arrow { transform: translateY(-1px); }
.leaflet-popup-content .station-popup-price-delta-value { display: inline-flex; align-items: center; line-height: 1; }
.leaflet-popup-content .station-popup-body { margin-top: 8px; }
.leaflet-popup-content .station-popup-meta-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12px; color: #555555; margin-bottom: 6px; }
.leaflet-popup-content .station-popup-address { font-size: 12px; line-height: 1.35; color: #555555; }
.leaflet-popup-content .station-popup-metrics-grid { display: grid; grid-template-columns: 1fr; gap: 4px; font-size: 12px; line-height: 1.35; color: #333333; }
.leaflet-popup-content .snapshot-action { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding-top: 8px; border-top: 1px solid rgba(0,0,0,0.1); cursor: pointer; color: #355ed8; font-weight: 700; }
.leaflet-popup-content .snapshot-action-icon { width: 14px; height: 14px; display: block; }
.leaflet-popup-content .snapshot-action span { color: #355ed8; font-weight: 700; }

.station-status { font-weight: 700; padding: 2px 6px; border-radius: 6px; }
.station-status.open { color: #2e7d32; background: #e8f5e9; }
.station-status.closed { color: #c62828; background: #fdecea; }
.station-status.unavailable { color: #c62828; background: #fdecea; }
.station-popup-badge { display: inline-flex; align-items: center; gap: 6px; }
.station-popup-badge-icon { width:12px; height:12px; display:block; flex:0 0 12px; fill:currentColor; stroke:currentColor; }
.station-popup-badge.jackpot { background:#eee8ff; color:#6e37c5; }
.station-popup-badge.better-value { background:#fff4cc; color:#c79500; }
.station-popup-badge.cheapest { background:#e7f6ea; color:#1f7a34; }
.station-popup-badge.better-value .station-popup-badge-icon { transform: translateY(-1px); }
.station-popup-badge.jackpot .station-popup-badge-icon { transform: translateY(-0.5px); }
.station-popup-badge.cheapest .station-popup-badge-icon { transform: translateY(0) translateX(2px); }

.custom-fuel-marker { background: transparent; border: 0; overflow: visible; display: flex; align-items: flex-start; justify-content: center; }
.brand-map-marker { --marker-width: 40px; --marker-height: 58px; --marker-tail-size: 24px; --marker-logo-size: 25px; --marker-logo-offset: 0px; --marker-border-width: 3px; --marker-price-height: 18px; --marker-next-price-height: 13px; --marker-body-background: var(--marker-background, #ffffff); --marker-logo-filter: none; --marker-logo-opacity: 1; width: var(--marker-width); height: var(--marker-height); margin-top: 12px; background: var(--marker-body-background); border: var(--marker-border-width) solid var(--marker-border, var(--marker-accent)); border-radius: 8px 8px 10px 10px; box-shadow: var(--marker-shadow); box-sizing: border-box; position: relative; overflow: visible; isolation: isolate; }
.brand-map-marker.brand-map-marker-browse-next { --marker-height: 64px; --marker-tail-size: 23px; --marker-logo-offset: 14px; }
.brand-map-marker.brand-map-marker-highlighted { --marker-width: 46px; --marker-height: 60px; --marker-tail-size: 30px; --marker-logo-size: 23px; --marker-border-width: 4px; --marker-price-height: 20px; --marker-next-price-height: 14px; margin-top: 0; }
.brand-map-marker.brand-map-marker-highlighted .brand-map-marker-logo { padding-top: 6px; }
.brand-map-marker::after { content: ""; position: absolute; left: 50%; bottom: calc(var(--marker-tail-size) * -0.5); width: var(--marker-tail-size); height: var(--marker-tail-size); background: var(--marker-body-background); border-left: var(--marker-border-width) solid var(--marker-border, var(--marker-accent)); border-bottom: var(--marker-border-width) solid var(--marker-border, var(--marker-accent)); transform: translateX(-50%) rotate(-45deg); box-sizing: border-box; z-index: 1; }
.brand-map-marker-face { position: absolute; inset: 0; display: flex; flex-direction: column; background: var(--marker-body-background); border-radius: 5px 5px 7px 7px; overflow: visible; z-index: 2; transform: translateZ(0); }
.brand-map-marker-face::before { content: ""; position: absolute; top: -2px; left: -2px; right: -2px; height: calc(var(--marker-price-height) + var(--marker-border-width)); background: var(--marker-accent); border-radius: 6px 6px 0 0; z-index: 1; }
.brand-map-marker-price { height: var(--marker-price-height); min-height: var(--marker-price-height); display: flex; align-items: center; justify-content: center; margin: 0; padding: var(--marker-border-width) 3px 0 3px; background: transparent; color: #ffffff; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 11px; font-weight: 800; line-height: 1; border-radius: 0; position: relative; z-index: 3; box-sizing: border-box; white-space: nowrap; transform: translateY(-2px); }
.brand-map-marker-next-price { height: var(--marker-next-price-height); min-height: var(--marker-next-price-height); display: flex; align-items: center; justify-content: center; margin: 0; padding: 0 3px; background: #dfeeff; color: #24408f; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 10px; font-weight: 600; line-height: 1; position: absolute; top: calc(var(--marker-border-width) + var(--marker-price-height) - 4px); left: 0; right: 0; z-index: 4; box-sizing: border-box; white-space: nowrap; }
.brand-map-marker-body { flex: 1; display: flex; align-items: center; justify-content: center; margin-bottom: 0; padding: 1px 2px 2px 2px; background: transparent; border-radius: 0 0 7px 7px; box-sizing: border-box; position: relative; z-index: 3; overflow: hidden; }
.brand-map-marker.brand-map-marker-closed { --marker-body-background: #eeeeee; --marker-logo-filter: grayscale(1); --marker-logo-opacity: 0.72; }
.brand-map-marker.brand-map-marker-closed .brand-map-marker-price { opacity: 0.82; }
.brand-map-marker.brand-map-marker-unavailable { --marker-body-background: #f1d7d7; --marker-logo-filter: grayscale(1); --marker-logo-opacity: 0.82; }
.leaflet-container .leaflet-marker-pane .brand-map-marker-logo { margin-top: var(--marker-logo-offset); width: var(--marker-logo-size) !important; height: var(--marker-logo-size) !important; max-width: var(--marker-logo-size) !important; max-height: var(--marker-logo-size) !important; object-fit: contain; display: block; flex: 0 0 auto; position: relative; z-index: 3; filter: var(--marker-logo-filter); opacity: var(--marker-logo-opacity); }
.fuel-cluster-icon-wrapper { background: transparent; border: 0; }
.fuel-cluster-marker { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: none; box-shadow: 0 0 0 5px rgba(120,150,255,0.35), 0 4px 12px rgba(0,0,0,0.22); color: #ffffff; font-size: 14px; font-weight: 700; text-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.fuel-cluster-marker span { line-height: 1; }

/* Snapshot V2 */
.snapshot-panel { position: relative; width: 100%; box-sizing: border-box; padding: 30px 18px 0px 18px; border: 1px solid transparent; border-radius: 22px; background: linear-gradient(#000000, #303030) padding-box, linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.00) 100%) border-box; }
.snapshot-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; align-items: stretch; height: auto; min-height: 250px; }
.snapshot-grid.snapshot-grid-two { grid-template-columns: repeat(2,1fr); }

.snapshot-view-toggle { position: absolute; top: -17px; z-index: 10; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 0 10px; border-radius: 999px; pointer-events: auto; }
.snapshot-view-pill { border: 0; display: inline-flex; align-items: center; justify-content: center; min-height: 34px; padding: 8px 14px; border-radius: 999px; background: var(--fuelo-green-soft); color: var(--fuelo-green-dark); font-size: 13px; font-weight: 700; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,0.10); white-space: nowrap; }
.snapshot-view-pill.active { background: var(--fuelo-green); color: var(--fuelo-charcoal); }
.snapshot-view-pill.is-disabled { background: #f1f3f7; color: #9aa3b2; cursor: not-allowed; pointer-events: none; }
.snapshot-view-pill.is-disabled.active { background: #f1f3f7; color: #9aa3b2; }
.average-view-label { pointer-events: none; padding: 0px; }
.average-view-toggle { width: auto; min-height: 34px; margin: 0; padding: 8px 14px; border-radius: 999px; background: var(--fuelo-green); color: var(--fuelo-charcoal); box-shadow: 0 2px 8px rgba(0,0,0,0.10); cursor: default; pointer-events: none; }
.average-view-toggle-title { font-size: 13px; line-height: 1; color: inherit; }
.average-view-toggle-icon { display: none; }
.snapshot-card { position: relative; display: flex; flex-direction: column; justify-content: flex-start; height: auto; min-height: 250px; padding: 18px 18px 10px 18px; border-radius: 20px; background: var(--fuelo-card-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid var(--fuelo-card-border); box-shadow: var(--fuelo-card-shadow); color: #1f1f1f; overflow: visible; box-sizing: border-box; transition: none; }
.snapshot-card-badge-wrap { position:absolute; top:18px; right:18px; z-index:2; max-width:240px; }
.snapshot-card-badge-wrap.snapshot-card-badge-wrap-jackpot { top:0; right:24px; max-width:none; }
.snapshot-info .snapshot-card-badge-wrap { left: 18px; right: auto; justify-content: flex-start; }

.snapshot-jackpot-banner { width: 122px; display: flex; flex-direction: column; overflow: hidden; border-radius: 0 0 11px 11px; box-shadow: 0 4px 12px rgba(0,0,0,0.22); }
.snapshot-jackpot-banner-logo-box { background: #303030; padding: 8px 10px 7px; }
.snapshot-jackpot-banner-logo-img { width: 94px; height: auto; display: block; margin: 0 auto; }
.snapshot-jackpot-banner-badge { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 5px; background: #eee8ff; color: #6e37c5; }
.snapshot-jackpot-banner-icon { width: 16px; height: 16px; display: block; flex: 0 0 16px; fill: currentColor; color: currentColor; transform: translateY(-1px); }
.snapshot-jackpot-banner-label { font-size: 12px; font-weight: 600; line-height: 1; letter-spacing: 0.04em; }
.snapshot-empty-state { align-items: center; justify-content: center; text-align: center; }
.snapshot-empty-content { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 100%; width: 100%; }
.snapshot-empty-logo { width: 42px; height: 42px; object-fit: contain; flex: 0 0 42px; }
.snapshot-empty-message { max-width: 205px; font-size: 13px; line-height: 1.35; font-weight: 700; color: #333333; }
.snapshot-empty-subtext { font-size: 13px; line-height: 1.35; color: #666666; }

.fuel-averages-grid { display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); gap: 10px; align-items: stretch; height: auto; min-height: 250px; }
#fuelAveragesGrid { height: auto; min-height: 250px; }
#snapshotPanel { height: auto; min-height: 250px; }
#snapshotGrid { height: auto; min-height: 250px; }

.snapshot-jackpot { border: 5px solid #7f46d3; box-shadow: 0 0 0 2px rgba(127,70,211,0.12), 0 0 20px rgba(127,70,211,0.18); }
.snapshot-better-value { border: 5px solid #f1b400; box-shadow: 0 0 0 2px rgba(241,180,0,0.12), 0 0 20px rgba(241,180,0,0.18); }
.snapshot-cheapest { border: 5px solid #2e9b45; box-shadow: 0 0 0 2px rgba(46,155,69,0.12), 0 0 20px rgba(46,155,69,0.18); }
.snapshot-info { border: 5px solid #355ed8; box-shadow: 0 0 0 2px rgba(53,94,216,0.12), 0 0 20px rgba(53,94,216,0.18); }
.snapshot-card.snapshot-empty-decision-card.snapshot-no-stations-card { height: auto; min-height: 250px; border-radius: 18px; padding: 20px 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: var(--fuelo-card-bg); border: 2px solid #d5d5d5; box-shadow: var(--fuelo-card-shadow); text-align: center; box-sizing: border-box; }

.snapshot-badge { display:inline-flex; align-items:center; gap:4px; align-self:auto; padding:4px 9px; border-radius:999px; font-size:10.5px; font-weight:700; margin-bottom:0; background:#f3f4f7; color:#333333; letter-spacing:0.04em; }
.snapshot-jackpot .snapshot-badge { background: #eee8ff; color: #6e37c5; }
.snapshot-better-value .snapshot-badge { background: #fff4cc; color: #c79500; }
.snapshot-cheapest .snapshot-badge { background: #e7f6ea; color: #1f7a34; }
.snapshot-info .snapshot-badge { justify-content: flex-start; background: #e7efff; color: #355ed8; }

.snapshot-badge-icon { width:14px; height:14px; display:block; flex:0 0 14px; fill:currentColor; stroke:currentColor; }
.snapshot-better-value .snapshot-badge-icon { transform: translateY(-1px); }
.snapshot-jackpot .snapshot-badge-icon { transform: translateY(-0.5px); }
.snapshot-info .snapshot-badge-icon { transform: translateY(-1px); }
.snapshot-cheapest .snapshot-badge-icon { transform: translateY(0) translateX(2px); }
.snapshot-badge-fallback { width: 14px; height: 14px; display: none; align-items: center; justify-content: center; font-size: 12px; line-height: 1; flex: 0 0 14px; }
.snapshot-badge-fallback-static { display: inline-flex; }
.snapshot-badge-label { line-height: 1; margin-top: 2px; }

.snapshot-header-row { display:flex; align-items:center; gap:10px; margin-bottom:10px; padding-right:165px; }
.snapshot-jackpot .snapshot-header-row { padding-right: 150px; }
.snapshot-header-text { display: flex; flex-direction: column; justify-content: center; min-width: 0; flex: 1; }
.snapshot-logo { width: 40px; height: 40px; object-fit: contain; flex: 0 0 40px; }
.snapshot-station-name { font-size: 17px; font-weight: 700; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.snapshot-price { position:absolute; top:58px; right:18px; text-align:right; font-size:20px; font-weight:700; background:#f1f1f1; border-radius:8px; padding:4px 8px; line-height:1; }
.snapshot-jackpot .snapshot-price { top: 104px; right: 22px; }

.snapshot-address { font-size: 12px; color: #666666; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.snapshot-why-title { margin-top:0; margin-bottom:10px; font-size:14px; font-weight:700; color:#1f1f1f; }
.snapshot-tomorrow-title { margin-top:0; margin-bottom:10px; font-size:17px; font-weight:700; color:#355ed8; }
.snapshot-bullets { display:flex; flex-direction:column; gap:8px; margin-bottom:8px; }
.snapshot-jackpot .snapshot-why-title { padding-right: 0; }
.snapshot-jackpot .snapshot-bullets { padding-right: 0; }
.snapshot-jackpot .snapshot-bullet:first-child { padding-right: 145px; }
.snapshot-bullet { display: grid; grid-template-columns: 8px minmax(0,1fr); column-gap: 7px; align-items: flex-start; font-size: 15px; line-height: 1.28; color: #2f2f2f; }
.snapshot-bullet-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; margin-top: 4px; opacity: 0.9; }
.snapshot-jackpot .snapshot-bullet { color: #5f34a8; }
.snapshot-better-value .snapshot-bullet { color: #8c6400; }
.snapshot-cheapest .snapshot-bullet { color: #216f34; }
.snapshot-info .snapshot-bullet { color: #2d55c2; }
.snapshot-info .snapshot-bullet:last-child { margin-bottom: 5px; }
.snapshot-tomorrow-list { display: flex; flex-direction: column; gap: 10px; margin: 38px 0 12px 0; }
.snapshot-tomorrow-row { display: flex; align-items: center; gap: 12px; min-width: 0; }
.snapshot-tomorrow-row .snapshot-header-text { min-width: 0; flex: 1; }
.snapshot-tomorrow-row .snapshot-station-name { font-size: 15px; line-height: 1.15; }
.snapshot-tomorrow-row .snapshot-address { font-size: 12px; line-height: 1.2; -webkit-line-clamp: 1; }
.snapshot-tomorrow-inline-badge { flex: 0 0 auto; display: flex; align-items: center; justify-content: flex-end; margin-left: 8px; }
.snapshot-tomorrow-inline-badge .snapshot-badge { white-space: nowrap; background: #f3f4f7; color: #333333; border: none; box-shadow: none; }
.snapshot-tomorrow-inline-badge .snapshot-badge-icon { color: currentColor; }
.snapshot-tomorrow-better-value .snapshot-badge { background: #fff4cc; color: #c79500; border: none; box-shadow: none; }
.snapshot-tomorrow-better-value .snapshot-badge-icon { color: #c79500; transform: translateY(-1px); }
.snapshot-tomorrow-cheapest .snapshot-badge { background: #e7f6ea; color: #1f7a34; border: none; box-shadow: none; }
.snapshot-tomorrow-cheapest .snapshot-badge-icon { color: #1f7a34; transform: translateY(0) translateX(2px); }
.snapshot-tomorrow-jackpot .snapshot-badge { background: #ece6ff; color: #5a36cc; border: none; box-shadow: none; }
.snapshot-tomorrow-jackpot .snapshot-badge-icon { color: #5a36cc; transform: translateY(-0.5px); }
.snapshot-tomorrow-recommendation { padding-top: 10px; font-size: 15px; line-height: 1.3; color: #2d55c2; margin-bottom: 10px; font-weight: 600; }

.snapshot-action { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; border-top: 1px solid rgba(0,0,0,0.08); cursor: pointer; color: #355ed8; font-weight: 700; font-size: 12px; }
.snapshot-action-icon { width: 14px; height: 14px; display: block; }
.snapshot-card .snapshot-station-name { color: #1f1f1f; }
.snapshot-card .snapshot-price { color: #1f1f1f; }

.snapshot-card.snapshot-loading-card { height: auto; min-height: 250px; border-radius: 18px; padding: 20px 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: var(--fuelo-card-bg); border: 1px solid var(--fuelo-card-border); box-shadow: var(--fuelo-card-shadow); text-align: center; box-sizing: border-box; }
.snapshot-loading-bars { display: flex; align-items: center; justify-content: center; gap: 8px; height: 24px; }
.snapshot-loading-bar { width: 10px; height: 12px; border-radius: 999px; background: var(--fuelo-green); animation: snapshotLoadingBars 1s ease-in-out infinite; }
.snapshot-loading-bar:nth-child(2) { animation-delay: 0.15s; }
.snapshot-loading-bar:nth-child(3) { animation-delay: 0.3s; }
.snapshot-loading-title { font-size: 16px; font-weight: 700; color: #1f1f1f; line-height: 1.2; }
.snapshot-loading-subtext { font-size: 12.5px; color: #666666; line-height: 1.35; }
@keyframes snapshotLoadingBars { 0%, 100% { transform: scaleY(0.6); opacity: 0.45; } 50% { transform: scaleY(1.8); opacity: 1; } }

.snapshot-rank-1 { border: 3px solid #2f2f2f; box-shadow: 0 0 0 2px rgba(0,0,0,0.08); }
.snapshot-rank-2 { border: 2px solid #5f6f8f; box-shadow: 0 0 0 2px rgba(95,111,143,0.10); }
.snapshot-rank-3 { border: 2px solid #cfcfcf; }
.snapshot-rank-1 .snapshot-badge { background: #e8e8e8; color: #2f2f2f; }
.snapshot-rank-2 .snapshot-badge { background: #e3e8f5; color: #3f4f6f; }
.snapshot-rank-3 .snapshot-badge { background: #f2f2f2; color: #666666; }

/* Fuel average cards */
.fuel-card { position: relative; border: 1px solid var(--fuelo-card-border); border-radius: 20px; padding: 12px 12px 11px 12px; background: var(--fuelo-card-bg); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); display: flex; flex-direction: column; gap: 3px; height: auto; min-height: 250px; overflow: hidden; transition: transform 0.15s ease, box-shadow 0.15s ease; box-sizing: border-box; isolation: isolate; }
.fuel-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 42px; background: currentColor; opacity: 0.80; z-index: 0; }

.fuel-avg:first-of-type { opacity: 0.75; }
.fuel-avg:last-of-type { opacity: 1; }

.fuel-title { position: relative; z-index: 1; min-height: 37px; font-size: 16px; font-weight: 700; color: #151515; letter-spacing: 0.2px; line-height: 1.12; display: flex; align-items: flex-start; }
.fuel-sub { margin-top: 8px; position: relative; z-index: 1; font-size: 11.5px; color: rgba(0,0,0,0.72); line-height: 1.15; }
.fuel-avg { margin-top: -1px; position: relative; z-index: 1; font-size: 19px; font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; color: #0f0f0f; display: flex; align-items: center; gap: 6px; }
.fuel-avg + .fuel-sub { margin-top: 15px; }
.fuel-avg-row { display: inline-flex; align-items: center; gap: 6px; }
.fuel-avg-value { display: inline-block; line-height: 1; }

.fuel-trend { display: inline-flex; align-items: center; gap: 3px; padding: 0; border-radius: 0; font-size: 12px; font-weight: 700; line-height: 1; }
.fuel-trend-arrow { font-size: 13px; font-weight: 700; line-height: 1; display: inline-flex; align-items: center; justify-content: center; }
.fuel-trend-value { font-size: 13px; font-weight: 800; line-height: 1; }

.trend-down { color: #00A526; background: transparent; }
.trend-down .fuel-trend-arrow { transform: translateY(-1.5px); }
.trend-up { color: #FF3F3F; background: transparent; }
.trend-up .fuel-trend-arrow { transform: translateY(-1.5px); }
.trend-flat { color: #8a8a8a; }
.trend-flat .fuel-trend-arrow { transform: translateY(-1px); }

.fuel-history-wrap { position: relative; z-index: 1; margin-top: auto; padding-top: 8px; }
.fuel-history-week-markers { position: absolute; left: 0; right: 0; top: 8px; height: 36px; pointer-events: none; z-index: 0; }
.fuel-history-week-marker { position: absolute; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: #d5d5d5; opacity: 1; transform: none; border-radius: 999px; }
.fuel-history-sparkline { margin-bottom: 14px; width: 100%; height: 36px; display: block; overflow: visible; opacity: 1; position: relative; z-index: 1; }
.fuel-history-line { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; pointer-events: none; }
.fuel-history-caption { font-size: 10.5px; font-weight: 700; opacity: 0.76; line-height: 1.15; color: rgba(0,0,0,0.76); position: relative; z-index: 1; }
.fuel-history-hit-zone { fill: transparent; pointer-events: all; cursor: help; }
.fuel-history-dot-layer { position: absolute; left: 0; right: 0; top: 8px; height: 36px; pointer-events: none; z-index: 2; }
.fuel-history-active-dot { position: absolute; width: 5px; height: 5px; border-radius: 999px; background: currentColor; opacity: 0; transform: translate(-50%, -50%); filter: brightness(0.72); box-shadow: 0 0 0 1px rgba(255,255,255,0.55); }
.fuel-history-wrap.is-hovering .fuel-history-active-dot { opacity: 1; }
.fuel-history-tooltip { position: fixed; z-index: 9999; padding: 7px 9px; border-radius: 8px; background: rgba(31,31,31,0.94); color: #ffffff; font-size: 11px; font-weight: 700; line-height: 1.2; white-space: nowrap; pointer-events: none; opacity: 0; transform: translateY(2px); transition: opacity 0.12s ease, transform 0.12s ease; box-shadow: 0 4px 12px rgba(0,0,0,0.22); text-align: center; }
.fuel-history-tooltip.is-visible { opacity: 1; transform: translateY(0); }
.fuel-history-tooltip-date { font-size: 11px; font-weight: 700; line-height: 1.15; }
.fuel-history-tooltip-price { margin-top: 3px; font-size: 12px; font-weight: 800; line-height: 1.15; }
.fuel-history-empty { position: relative; z-index: 1; margin-top: auto; padding-top: 8px; font-size: 10.5px; font-weight: 700; opacity: 0.65; line-height: 1.15; color: rgba(0,0,0,0.72); }

/* Fuel colour variants */
.fuel-ulp { color: #FFC31B; border: 3px solid #F1B100; box-shadow: 0 0 0 2px rgba(255,234,161,0.12), 0 0 20px rgba(255,195,27,0.18); }
.fuel-p95 { color: #FF8B27; border: 3px solid #FF8B27; box-shadow: 0 0 0 2px rgba(255,199,149,0.12), 0 0 20px rgba(255,139,39,0.18); }
.fuel-p98 { color: #E93535; border: 3px solid #E93535; box-shadow: 0 0 0 2px rgba(255,163,163,0.12), 0 0 20px rgba(255,63,63,0.18); }
.fuel-dsl { color: #8C8C8C; border: 3px solid #8C8C8C; box-shadow: 0 0 0 2px rgba(223,223,223,0.12), 0 0 20px rgba(140,140,140,0.18); }
.fuel-bdl { color: #0067CB; border: 3px solid #0067CB; box-shadow: 0 0 0 2px rgba(144,202,255,0.12), 0 0 20px rgba(0,103,203,0.18); }
.fuel-e85 { color: #00A526; border: 3px solid #00A526; box-shadow: 0 0 0 2px rgba(137,251,148,0.12), 0 0 20px rgba(0,165,38,0.18); }
.fuel-lpg { color: #78DCFF; border: 3px solid #78DCFF; box-shadow: 0 0 0 2px rgba(168,232,255,0.12), 0 0 20px rgba(120,220,255,0.18); }

.app-footer { margin-top: 22px; padding: 18px 10px 4px 10px; color: rgba(255,255,255,0.78); text-align: center; overflow-anchor: none; }
.fill-value-prefix.app-footer-brand { font-size: 13px; line-height: 1.3; font-weight: 800; color: #ffffff; }
.app-footer-disclaimer { max-width: 920px; margin: 6px auto 0 auto; font-size: 11px; line-height: 1.45; color: rgba(255,255,255,0.66); }
.app-footer-brand { font-size: 13px; line-height: 1.3; font-weight: 800; color: #ffffff; }
.app-footer-data-source { display: none; }
.content-page-footer { width: min(980px, calc(100vw - 48px)); margin: 0 auto; }
.mobile-more-panel, .mobile-bottom-nav, .mobile-home-browse-pill, .mobile-more-popup, .app-header-unavailable-trigger-mobile { display: none; }
.content-mobile-more-toggle { display: none; }
.app-header-unavailable-trigger { width: 48px; height: 48px; border: 0; border-radius: 10px; background: transparent; box-shadow: none; align-items: center; justify-content: center; padding: 0; cursor: pointer; }
.app-header-unavailable-trigger-desktop { display: inline-flex; }
.app-header-unavailable-trigger-mobile { display: none; }
.app-header-unavailable-trigger:hover { background: transparent; }
.app-header-unavailable-icon { width: 45px; height: 45px; display: block; object-fit: contain; padding: 5px 0 0 0}
.unavailable-fuel-modal { position: fixed; inset: 0; z-index: 10050; display: flex; align-items: flex-start; justify-content: center; padding: 50px 14px; background: rgba(0,0,0,0.28); box-sizing: border-box; }
.unavailable-fuel-modal.hidden { display: none !important; }
.unavailable-fuel-panel { width: min(460px, calc(100vw - 28px)); max-height: 74vh; overflow: hidden; display: flex; flex-direction: column; border-radius: 18px; background: #ffffff; box-shadow: 0 12px 36px rgba(0,0,0,0.28); padding: 16px; box-sizing: border-box; }
.unavailable-fuel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.unavailable-fuel-header-main { display: flex; align-items: flex-start; gap: 10px; min-width: 0; }
.unavailable-fuel-alert-icon { width: 28px; height: 28px; display: block; object-fit: contain; flex: 0 0 28px; margin-top: 1px; }
.unavailable-fuel-header-copy { min-width: 0; }
.unavailable-fuel-title { margin: 0; font-size: 20px; line-height: 1.15; font-weight: 800; color: #1f1f1f; padding: 3px 0 0 0; }
.unavailable-fuel-subtitle { margin-top: 7px; font-size: 14px; line-height: 1.25; font-weight: 700; color: #666666; }
.unavailable-fuel-close { position: relative; width: 34px; height: 34px; border: 0; border-radius: 999px; background: #f0f0f0; color: #1f1f1f; font-size: 0; line-height: 0; cursor: pointer; flex: 0 0 34px; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.unavailable-fuel-close::before, .unavailable-fuel-close::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; border-radius: 999px; background: currentColor; transform-origin: center; }
.unavailable-fuel-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.unavailable-fuel-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.unavailable-fuel-close:hover { background: #e5e5e5; }
.unavailable-fuel-close:focus-visible { outline: 2px solid var(--fuelo-green); outline-offset: 2px; }
.unavailable-fuel-updated { margin: 4px 0 8px 38px; font-size: 11.5px; line-height: 1.25; color: #777777; }
.unavailable-fuel-label { margin-top: 4px; }
.unavailable-fuel-select { margin-top: 3px; }
.unavailable-fuel-status { margin: 10px 0; font-size: 13px; line-height: 1.3; font-weight: 700; color: #555555; }
.unavailable-fuel-list { overflow-y: auto; -webkit-overflow-scrolling: touch; display: flex; flex-direction: column; gap: 7px; padding-right: 2px; }
.unavailable-fuel-item { display: grid; grid-template-columns: 28px minmax(0,1fr); gap: 10px; align-items: center; padding: 9px 10px; border: 1px solid #eeeeee; border-radius: 12px; background: #fafafa; }
.unavailable-fuel-logo { width: 28px; height: 28px; object-fit: contain; display: block; }
.unavailable-fuel-item-main { min-width: 0; }
.unavailable-fuel-station { font-size: 13.5px; line-height: 1.2; font-weight: 800; color: #1f1f1f; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.unavailable-fuel-address { margin-top: 3px; font-size: 11.5px; line-height: 1.25; color: #666666; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.unavailable-fuel-badge { display: none; }

/* Responsive */
@media (max-width: 1100px) {
.layout-grid { grid-template-columns: 340px minmax(0,1fr); grid-template-areas: "left main" "map map"; }
.map-card { position: static; }
}

/* Tablet / touch landscape layout */
@media (min-width: 900px) and (max-width: 1368px) and (min-height: 850px),
       (min-width: 900px) and (max-width: 1368px) and (min-height: 700px) and (pointer: coarse),
       (min-width: 900px) and (max-width: 1368px) and (min-height: 700px) and (hover: none) {
.app-shell { padding: 18px; }
.app-header { grid-template-columns: 340px minmax(0,1fr); grid-template-areas: "brand tagline"; gap: 16px; min-height: 96px; margin-bottom: 14px; padding: 0px 210px 0px 0px; }
.app-header-logo { width: 220px; max-width: 86%; }
.app-header-tagline-centre { font-size: clamp(20px, 2.2vw, 30px); }
.app-header-nav { top: 23px; }
.layout-grid { grid-template-columns: 340px minmax(0,1fr); gap: 16px; }
.left-panel { gap: 14px; }
.main-panel { gap: 16px; }
.panel-card { border-radius: 16px; }
.map-card { margin-top: -11px; }
.map-card, .results-card { border-radius: 18px; padding: 16px; }
.search-panel { padding: 13px; }
.smart-search-title { font-size: 20px; }
.discount-card { padding: 13px; }

.snapshot-shell { min-height: 0; overflow: visible; }
.snapshot-panel { min-height: 0; padding: 16px 0px 0px 0px; overflow: visible; }
.snapshot-view-toggle { left: 24px; }
#fuelAveragesGrid, #snapshotGrid { min-height: 0; height: auto; padding: 16px 16px 10px 16px; }

.fuel-averages-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; min-height: 250px; height: auto; overflow: visible; padding: 0 2px 12px 2px; }
.fuel-card { min-height: 240px; }

.snapshot-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; min-height: 250px; height: auto; overflow: visible; padding: 0 2px 12px 2px; }
.snapshot-grid.snapshot-grid-two { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); overflow: visible; }
.snapshot-grid.snapshot-grid-two .snapshot-card, .snapshot-grid.snapshot-grid-two .snapshot-card.snapshot-loading-card, .snapshot-grid.snapshot-grid-two .snapshot-card.snapshot-empty-decision-card.snapshot-no-stations-card { width: auto; min-height: 250px; }

.tablet-loop-carousel { position: relative; display: flex !important; grid-template-columns: none !important; gap: 14px; height: auto; overflow-x: auto; overflow-y: hidden; padding: 0 34px 14px 34px; -webkit-overflow-scrolling: touch; scroll-snap-type: none; scroll-padding-left: 34px; scroll-padding-right: 34px; scrollbar-width: none; overscroll-behavior-x: contain; perspective: 900px; transform-style: preserve-3d; touch-action: pan-x pan-y; user-select: none; outline: none; mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,0.92) 7px, #000 14px, #000 calc(100% - 14px), rgba(0,0,0,0.92) calc(100% - 7px), transparent 100%); -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,0.92) 7px, #000 14px, #000 calc(100% - 14px), rgba(0,0,0,0.92) calc(100% - 7px), transparent 100%); }
.snapshot-panel.has-tablet-carousel .tablet-carousel-control { position: absolute; top: 50%; z-index: 40; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: rgba(255,255,255,0.78); box-shadow: 0 1px 5px rgba(0,0,0,0.12); padding: 0; cursor: pointer; transform: translateY(-50%); opacity: 0.82; }
.snapshot-panel.has-tablet-carousel .tablet-carousel-control:hover { background: rgba(255,255,255,0.94); opacity: 1; }
.snapshot-panel.has-tablet-carousel .tablet-carousel-control:focus-visible { outline: 2px solid var(--fuelo-green); outline-offset: 2px; }
.snapshot-panel.has-tablet-carousel .tablet-carousel-control-prev { left: 6px; }
.snapshot-panel.has-tablet-carousel .tablet-carousel-control-next { right: 6px; }
.tablet-carousel-control-icon { width: 14px; height: 14px; display: block; object-fit: contain; pointer-events: none; }
.tablet-loop-carousel::-webkit-scrollbar { display: none; }
.tablet-loop-carousel > .fuel-card { --tablet-loop-distance: 0; flex: 0 0 var(--tablet-loop-card-width); width: var(--tablet-loop-card-width); min-height: var(--tablet-loop-card-min-height); scroll-snap-align: none; transform: none; opacity: 1; filter: none; transition: none; will-change: auto; backface-visibility: visible; }
.tablet-loop-carousel > .snapshot-card { --tablet-loop-distance: 0; flex: 0 0 var(--tablet-loop-card-width); width: var(--tablet-loop-card-width); min-height: var(--tablet-loop-card-min-height); scroll-snap-align: none; transform: none; opacity: 1; filter: none; transition: none; will-change: auto; backface-visibility: visible; }
.tablet-loop-carousel > .tablet-loop-clone { pointer-events: none; }
#fuelAveragesGrid.tablet-loop-carousel { --tablet-loop-card-width: 190px; --tablet-loop-card-min-height: 240px; min-height: 252px; }
#snapshotGrid.tablet-loop-carousel { --tablet-loop-card-width: min(560px,78%); --tablet-loop-card-min-height: 300px; min-height: 318px; }
#snapshotGrid.tablet-loop-carousel > .snapshot-card { min-height: 300px; }

#map { height: 644px; }
.desktop-results { display: none; }
.mobile-results { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
.mobile-results > .result-item { margin-bottom: 0; }
.mobile-results > .show-more-btn { grid-column: 1 / -1; display: block; margin: 10px auto 0 auto; }

.results-card { min-height: 240px; }
.results-header { display: grid; grid-template-columns: minmax(0,1fr) 180px; grid-template-rows: auto auto; column-gap: 12px; row-gap: 6px; align-items: start; padding-right: 0; min-height: 0; margin-bottom: 12px; }
.results-header .panel-title { grid-column: 1; grid-row: 1; margin-bottom: 0; }
.results-header-right { display: contents; position: static; top: auto; right: auto; width: auto; height: auto; min-width: 0; }
.results-meta { position: static; top: auto; right: auto; max-width: none; grid-column: 1 / -1; grid-row: 2; text-align: left; white-space: normal; overflow: visible; text-overflow: clip; padding-top: 0; margin-bottom: 0; }
.results-data-source { position: static; top: auto; right: auto; grid-column: 2; grid-row: 1; align-self: start; display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-start; text-align: right; }
.results-data-source-logo { max-width: 140px; max-height: 30px; }
.results-toolbar { justify-content: center; margin-bottom: 14px; }
.results-toolbar.results-toolbar-hidden { display: none; }

.mobile-result-card { margin-bottom: 0; }
.area-mobile-result-card { margin-bottom: 0; }
.result-grid { grid-template-columns: 1fr; }
}

/* Mobile */ 
@media (max-width: 820px), (max-width: 1023px) and (max-height: 699px) and (pointer: coarse), (max-width: 1023px) and (max-height: 699px) and (hover: none) {
.app-shell { padding: 0 0 70px 0; }
.app-header { position: relative; display: grid; grid-template-columns: auto minmax(0,1fr); grid-template-areas: "brand tagline"; gap: clamp(5px, 2.2vw, 10px); align-items: center; justify-items: stretch; height: auto; min-height: 64px; margin-bottom: 0; padding: 8px clamp(56px, 18vw, 82px) 8px clamp(10px, 3.8vw, 15px); box-sizing: border-box; overflow: hidden; }
.app-header-brand { grid-area: brand; justify-content: flex-start; padding: 0; }
.app-header-logo { width: clamp(84px, 25vw, 96px); max-width: clamp(84px, 25vw, 96px); height: auto; filter: none; }
.app-header-tagline { display: block; line-height: 1; text-shadow: none; }
.app-header-tagline-centre { grid-area: tagline; justify-self: center; align-self: center; min-width: 0; max-width: 100%; font-size: clamp(11.5px, 3.75vw, 15px); letter-spacing: -0.075em; white-space: nowrap; text-align: center; overflow: hidden; text-overflow: clip; }
.app-header-tagline-centre::after { height: 2px; margin-top: 5px; }
.app-header-menu-button { position: absolute; top: 6px; right: 0; width: 40px; height: 40px; border-radius: 8px; background: #ffffff; box-shadow: 0 2px 8px rgba(0,0,0,0.08); display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; z-index: 30; }
.app-header-menu-button span { display: block; width: 18px; height: 2px; border-radius: 999px; background: #1f1f1f; transition: transform 0.18s ease, opacity 0.18s ease; }
.app-header-menu-toggle:checked + .app-header-menu-button span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.app-header-menu-toggle:checked + .app-header-menu-button span:nth-child(2) { opacity: 0; }
.app-header-menu-toggle:checked + .app-header-menu-button span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.app-header-nav { position: absolute; top: 50px; right: 0; z-index: 25; display: none; flex-direction: column; align-items: stretch; gap: 8px; width: 220px; padding: 10px; background: #ffffff; border-radius: 14px; box-shadow: 0 8px 24px rgba(0,0,0,0.14); box-sizing: border-box; }
.app-header-menu-toggle:checked ~ .app-header-nav { display: flex; }
.app-header-link { min-height: 34px; padding: 7px 10px; font-size: 16px; border-radius: 8px; justify-content: flex-start; }
.app-header-bmc { order: 99; width: 100%; display: flex; align-items: stretch; justify-content: stretch; align-self: stretch; }
.app-header-bmc > * { width: 100% !important; }
.app-header-bmc .bmc-btn { width: 100% !important; max-width: none !important; min-width: 0 !important; height: 48px !important; border-radius: 8px !important; padding: 7px 10px !important; font-size: 15px !important; justify-content: flex-start !important; box-sizing: border-box !important; }
.app-header-bmc .bmc-btn img { width: 26px !important; height: 26px !important; margin-right: 8px !important; }

.content-page-shell { padding: 0 0 70px 0; min-height: 100svh; box-sizing: border-box; }
.content-page-main { width: 100%; margin: 0 auto 18px auto; padding: 0 14px; gap: 14px; box-sizing: border-box; }
.content-hero-card, .content-card { border-radius: 16px; padding: 18px; }
.content-hero-card h1 { font-size: 36px; line-height: 0.98; }
.content-hero-card p { font-size: 16px; line-height: 1.45; }
.content-card h2 { font-size: 22px; }
.content-card p { font-size: 15px; }
.content-feature-grid, .content-split-grid, .content-contact-grid { grid-template-columns: 1fr; gap: 10px; }
.content-comparison-table { min-width: 560px; }
.content-page-footer { width: 100%; margin: 0; padding-left: 14px; padding-right: 14px; box-sizing: border-box; }

.layout-grid { grid-template-columns: 1fr; grid-template-areas: "left" "main" "map" "results"; gap: 16px; }
.left-panel { grid-area: left; gap: 16px; }
.main-panel { display: contents; }
.snapshot-shell { grid-area: main; height: auto; min-height: 0; }
.map-section { grid-area: map; }
.results-card { grid-area: results; min-height: 138px; }
.primary-btn { padding: 11px 10px; font-size: 15px; }
.primary-btn.is-searching { position: relative; color: transparent; pointer-events: none; overflow: hidden; }
.primary-btn.is-searching::after { content: ""; position: absolute; left: 50%; top: 50%; width: 44px; height: 9px; transform: translate(-50%,-50%); background: radial-gradient(circle at 6px 50%, #ffffff 0 3px, transparent 3.5px), radial-gradient(circle at 22px 50%, #ffffff 0 3px, transparent 3.5px), radial-gradient(circle at 38px 50%, #ffffff 0 3px, transparent 3.5px); animation: searchButtonLoadingDots 1.05s ease-in-out infinite; }
@keyframes searchButtonLoadingDots { 0% { opacity: 0.35; transform: translate(-50%,-50%) translateX(-8px); } 45% { opacity: 1; } 100% { opacity: 0.35; transform: translate(-50%,-50%) translateX(8px); } }

.smart-search-header { margin-bottom: 12px; padding-bottom: 10px; }
.smart-search-title { font-size: 22px; }
.smart-search-subtitle { font-size: 12.5px; }

.fill-value-prefix, .fill-value-suffix { top: 50%; }

.map-area-controls.map-area-controls-smart { width: 168px; }
.map-search-area-bubble { min-width: 0; height: 31px; padding: 5px 8px; border-radius: 9px; }
.map-search-area-title { font-size: 12.5px; }

.snapshot-panel { margin-top: 0; padding: 0 16px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.snapshot-grid { grid-template-columns: 1fr; align-items: stretch; height: auto; min-height: 250px; }
.snapshot-grid.snapshot-grid-two { grid-template-columns: 1fr; }
.snapshot-view-toggle { position: static; top: auto; left: auto; right: auto; transform: none; z-index: auto; justify-content: stretch; gap: 8px; padding: 0; margin: 0 0 16px 0; background: transparent; border-radius: 0; }
.snapshot-view-pill { flex: 1; min-height: 36px; padding: 8px 10px; font-size: 12.5px; }
.snapshot-card { height: auto; min-height: 250px; overflow: visible; border-radius: 18px; padding: 18px 18px 10px 18px; }
.snapshot-jackpot .snapshot-bullet:first-child { padding-right: 118px; }
.snapshot-card-badge-wrap.snapshot-card-badge-wrap-jackpot { top: 0; right: 18px; }
.snapshot-card:not(.snapshot-jackpot) .snapshot-card-badge-wrap:not(.snapshot-card-badge-wrap-jackpot) { top: 18px; left: 18px; right: auto; max-width: calc(100% - 140px); }
.snapshot-card:not(.snapshot-jackpot) .snapshot-price { top: 18px; right: 18px; }
.snapshot-card:not(.snapshot-jackpot) .snapshot-header-row { padding-top: 38px; padding-right: 0; }
.snapshot-jackpot-banner { width: 112px; }
.snapshot-jackpot-banner-logo-box { padding: 7px 9px 6px; }
.snapshot-jackpot-banner-logo-img { width: 86px; }
.snapshot-jackpot .snapshot-price { top: 90px; right: 18px; }
.snapshot-jackpot .snapshot-header-row { padding-right: 132px; }
.snapshot-panel .snapshot-address { display: none !important; }

.fuel-averages-grid { grid-template-columns: repeat(2,1fr); height: auto; min-height: 250px; }
.average-view-label { position: static; top: auto; left: auto; z-index: auto; display: block; width: 100%; padding: 16px; margin: 0 0 10px 0; border-radius: 18px; background: #ffffff; box-shadow: 0 2px 10px rgba(0,0,0,0.08); box-sizing: border-box; pointer-events: auto; }
.average-view-toggle { width: 100%; min-height: 28px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; color: #1f1f1f; cursor: pointer; pointer-events: auto; }
.average-view-toggle-title { font-size: 17px; line-height: 1.2; font-weight: 700; color: #1f1f1f; }
.average-view-toggle-icon { display: inline-flex; }
#fuelAveragesGrid.average-cards-collapsed { display: none; min-height: 0; }
#snapshotPanel.average-panel-collapsed { min-height: 0; padding: 0; }
#snapshotPanel.average-panel-collapsed .average-view-label { margin-bottom: 0; }

.panel-card, .results-card, .map-card { border-radius: 0px; padding: 16px; }
.panel-title { font-size: 17px; margin-bottom: 10px; }
.text-input { font-size: 16px; padding: 6px 12px; }
select.text-input { height: 35px; padding: 6px 34px 6px 12px; color: #1f1f1f; }

.area-mobile-price-stack { min-width: 96px; }
.area-mobile-next-price-label { max-width: 96px;}

.location-input-wrap { grid-template-columns: minmax(0,1fr) 50px; align-items: stretch; }
.location-btn { width: 50px; height: 33px; box-sizing: border-box; }
.fill-split-row { grid-template-columns: minmax(0,1fr) minmax(120px,1fr); column-gap: 10px; row-gap: 3px; }
.slider-input-radius { max-width: 100%; }
.fill-chip span { min-height: 42px; font-size: 14px; }

.results-header { display: grid; grid-template-columns: minmax(0,1fr) 135px; grid-template-rows: auto auto; column-gap: 10px; row-gap: 7px; align-items: start; padding-right: 0; min-height: 0; margin-bottom: 12px; }
.results-header .panel-title { grid-column: 1; grid-row: 1; margin-bottom: 0; }
.results-header-right { display: contents; position: static; top: auto; right: auto; width: auto; height: auto; min-width: 0; }
.results-meta { position: static; top: auto; right: auto; max-width: none; grid-column: 1 / -1; grid-row: 2; text-align: left; white-space: normal; overflow: visible; text-overflow: clip; padding-top: 0; margin-bottom: 0; }
.results-data-source { position: static; top: auto; right: auto; grid-column: 2; grid-row: 1; align-self: start; display: flex; flex-direction: column; align-items: flex-end; justify-content: flex-start; text-align: right; gap: 3px; margin-top: 0; padding-left: 12px; border-left: 1px solid #e1e1e1; }
.results-data-source-text { font-size: 10.5px; line-height: 1.15; max-width: 135px; }
.results-data-source-logo { max-width: 135px; max-height: 30px; }
.desktop-results { display: none; }
.mobile-results { display: block; }
.mobile-results > .show-more-btn { display: block; margin: 10px auto 0 auto; }
.result-grid { grid-template-columns: 1fr; }

.results-toolbar { justify-content: center; }
.results-toolbar.results-toolbar-hidden { display: none; }

.fill-method-grid { grid-template-columns: minmax(0,1fr) 18px 64px 18px; column-gap: 6px; row-gap: 3px; }
.fuel-radio-group { display: none; }
.fuel-select-mobile { display: block; }

.discounts-toggle { cursor: pointer; margin-bottom: 0; }
.discounts-toggle-title { font-size: 17px; }
.discounts-toggle-icon { display: inline-flex; }
.discount-card { padding: 16px; }
.discount-card.discount-card-inline { margin-top: 12px; padding: 12px 0 0 0; border-top: 1px solid #ececec; border-radius: 0; background: transparent; box-shadow: none; }
.discount-grid { gap: 4px; margin-top: 10px; }
.discount-row { grid-template-columns: minmax(0,1fr) auto; column-gap: 8px; font-size: 15px; min-height: 28px; }
.discount-value-wrap { justify-self: end; display: inline-flex; align-items: center; justify-content: flex-end; gap: 4px; }
.discount-input { width: 50px; height: 27px; min-height: 27px; padding: 3px 6px; font-size: 13px; text-align: right; }

.app-shell.mobile-view-home { --mobile-home-header-height: 64px; --mobile-bottom-nav-height: 50px; padding: 0 0 var(--mobile-bottom-nav-height) 0; min-height: 100svh; box-sizing: border-box; overflow: hidden; }
.app-shell.mobile-view-home .app-footer { display: none; }
.app-header-menu-button, .app-header-nav { display: none !important; }
.app-header-unavailable-trigger-desktop { display: none !important; }
.app-header-unavailable-trigger-mobile { position: absolute; top: 50%; right: 14px; transform: translateY(-50%); z-index: 35; display: inline-flex; width: 42px; height: 42px; border-radius: 10px; box-shadow: none; }
.app-header-unavailable-trigger-mobile .app-header-unavailable-icon { width: 35px; height: 35px; }
.unavailable-fuel-modal { padding-top: 71px; align-items: flex-start; background: rgba(0,0,0,0.24); }
.unavailable-fuel-panel { width: min(380px, calc(100vw - 24px)); max-height: calc(100svh - 140px); border-radius: 16px; padding: 14px; }
.unavailable-fuel-alert-icon { width: 26px; height: 26px; flex-basis: 26px; }
.unavailable-fuel-updated { margin-left: 36px; }
.unavailable-fuel-item { grid-template-columns: 26px minmax(0,1fr); align-items: center; }
.unavailable-fuel-logo { width: 26px; height: 26px; }
.unavailable-fuel-badge { display: none; }

.app-shell.mobile-view-home .layout-grid { grid-template-areas: "map"; gap: 0; }
.app-shell.mobile-view-home .left-panel, .app-shell.mobile-view-home .snapshot-shell { display: none; }
.app-shell.mobile-view-home .map-section { display: block; }
.app-shell.mobile-view-home .results-card { display: none; }

.app-shell.mobile-view-home.mobile-home-map-view .layout-grid { height: calc(100svh - var(--mobile-home-header-height) - var(--mobile-bottom-nav-height)); }
.app-shell.mobile-view-home.mobile-home-map-view .map-section, .app-shell.mobile-view-home.mobile-home-map-view .map-card, .app-shell.mobile-view-home.mobile-home-map-view .map-shell { height: 100%; min-height: 0; }
.app-shell.mobile-view-home.mobile-home-map-view .map-card { padding: 0; overflow: hidden; border-radius: 0; box-shadow: none; }
.app-shell.mobile-view-home.mobile-home-map-view #map { height: 100%; min-height: 0; border-radius: 0; }

.app-shell.mobile-view-home.mobile-home-list-view .layout-grid { grid-template-areas: "results"; }
.app-shell.mobile-view-home.mobile-home-list-view .map-section { display: none; }
.app-shell.mobile-view-home.mobile-home-list-view .results-card { display: block; max-height: calc(100svh - 108px); overflow-y: auto; -webkit-overflow-scrolling: touch; }

.app-shell.mobile-view-search .layout-grid { grid-template-areas: "left" "main" "map" "results"; }
.app-shell.mobile-view-search .layout-grid:has(#snapshotPanel.hidden) { grid-template-areas: "left" "map" "results"; }
.app-shell.mobile-view-search .left-panel { display: flex; }
.app-shell.mobile-view-search .snapshot-shell { display: flex; }
.app-shell.mobile-view-search .layout-grid:has(#snapshotPanel.hidden) .snapshot-shell { display: none; }
.app-shell.mobile-view-search .map-section { display: block; }
.app-shell.mobile-view-search .results-card { display: block; }
.app-shell.mobile-view-search .results-meta { grid-column: 1; grid-row: 2; }
.app-shell.mobile-view-search .results-data-source { grid-row: 1 / span 2; align-self: stretch; }
.app-shell.mobile-view-search.mobile-search-empty .layout-grid { grid-template-areas: "left" "results" !important; }
.app-shell.mobile-view-search.mobile-search-empty .snapshot-shell, .app-shell.mobile-view-search.mobile-search-empty .map-section { display: none !important; }
.app-shell.mobile-view-search.mobile-search-empty .results-toolbar, .app-shell.mobile-view-search.mobile-search-empty .results-meta { display: none !important; }
.app-shell.mobile-view-search.mobile-search-empty .results-data-source { grid-row: 1; align-self: start; }
.app-shell.mobile-view-search.mobile-search-empty #mobileResults .result-item { text-align: center; }
.app-shell.mobile-view-search.mobile-search-empty #mobileResults .result-topline { justify-content: center; margin-bottom: 0; }
.app-shell.mobile-view-search.mobile-search-empty #mobileResults .result-station { width: 100%; text-align: center; }

.app-shell.mobile-view-averages .layout-grid { grid-template-areas: "main"; }
.app-shell.mobile-view-averages .left-panel, .app-shell.mobile-view-averages .map-section, .app-shell.mobile-view-averages .results-card { display: none; }
.app-shell.mobile-view-averages .snapshot-shell { display: flex; }
.app-shell.mobile-view-averages #averageViewLabel { display: none !important; }
.app-shell.mobile-view-averages #fuelAveragesGrid.average-cards-collapsed { display: grid !important; padding: 0 16px; }

.mobile-more-panel { display: none !important; }

.app-shell.mobile-view-search .map-area-controls, .app-shell.mobile-view-averages .map-area-controls, .app-shell.mobile-view-more .map-area-controls { display: none !important; }
.app-shell.mobile-view-home .map-search-area-bubble { display: none !important; }
.mobile-home-browse-pill { display: none; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border: 1px solid rgba(0,0,0,0.08); border-radius: 999px; background: #ffffff; color: #3a3a3a; font-size: 20px; line-height: 1; font-weight: 800; box-shadow: 0 6px 20px rgba(0,0,0,0.16); cursor: pointer; }
.mobile-home-browse-pill-icon { width: 22px; height: 22px; display: block; object-fit: contain; }
.app-shell.mobile-view-home.mobile-home-map-view #map .leaflet-control-zoom { display: none !important; }
.app-shell.mobile-view-home.mobile-home-map-view #map .leaflet-top.leaflet-left { top: auto !important; left: auto !important; right: 12px !important; bottom: 82px !important; gap: 0; }
.app-shell.mobile-view-home.mobile-home-map-view #map .map-location-control-button { width: 48px; height: 48px; }
.app-shell.mobile-view-home.mobile-home-map-view #map .map-location-control-icon { width: 24px; height: 24px; }
.app-shell.mobile-view-home.mobile-home-map-view #map .map-location-control-spinner { width: 21px; height: 21px; }
.app-shell.mobile-view-home.mobile-home-map-view .mobile-home-list-pill { display: inline-flex; position: absolute; left: auto; right: 12px; bottom: 22px; transform: none; z-index: 1400; min-width: 86px; min-height: 48px; width: auto; height: 48px; padding: 0 16px; gap: 8px; }
.app-shell.mobile-view-home.mobile-home-map-view .mobile-home-list-pill span { display: inline; }
.app-shell.mobile-view-home.mobile-home-map-view .mobile-home-list-pill .mobile-home-browse-pill-icon { width: 22px; height: 22px; }
.app-shell.mobile-view-home.mobile-home-list-view .mobile-home-map-pill { display: inline-flex; position: sticky; top: 0; z-index: 20; margin: 0 auto 12px auto; }
.map-area-controls { top: -1px; width: 166px; border-radius: 0 0 26px 26px; }
.map-area-controls .map-fuel-select { margin: 8px 0 8px 0px; height: 38px; font-size: 16px; width: 150px; border-radius: 999px; border: 5px solid var(--active-fuel-colour, #F1B100); }

.mobile-bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9998; display: grid; grid-template-columns: repeat(4,1fr); height: 50px; background: #ffffff; border-top: 1px solid #d8d8d8; box-shadow: 0 -4px 18px rgba(0,0,0,0.16); }
.mobile-bottom-nav-button { border: 0; background: #ffffff; color: #5f5f5f; display: flex; align-items: center; justify-content: center; font-weight: 800; cursor: pointer; }
.mobile-bottom-nav-button.active { color: var(--fuelo-green-dark); background: #f4f9ea; }
.mobile-bottom-nav-icon { width: 29px; height: 29px; display: block; font-size: 0; line-height: 0; background-color: currentColor; background-position: center; background-repeat: no-repeat; background-size: 29px 29px; mask-position: center; mask-repeat: no-repeat; mask-size: contain; -webkit-mask-position: center; -webkit-mask-repeat: no-repeat; -webkit-mask-size: contain; }
.mobile-bottom-nav-button[data-mobile-section="home"] .mobile-bottom-nav-icon { mask-image: url("/static/images/icons/home.svg"); -webkit-mask-image: url("/static/images/icons/home.svg"); }
.mobile-bottom-nav-button[data-mobile-section="search"] .mobile-bottom-nav-icon { mask-image: url("/static/images/icons/search.svg"); -webkit-mask-image: url("/static/images/icons/search.svg"); }
.mobile-bottom-nav-button[data-mobile-section="averages"] .mobile-bottom-nav-icon { mask-image: url("/static/images/icons/chart.svg"); -webkit-mask-image: url("/static/images/icons/chart.svg"); }
.mobile-bottom-nav-button[data-mobile-section="more"] .mobile-bottom-nav-icon { background: radial-gradient(circle at 5px 50%, currentColor 0 3px, transparent 3.5px), radial-gradient(circle at 14.5px 50%, currentColor 0 3px, transparent 3.5px), radial-gradient(circle at 24px 50%, currentColor 0 3px, transparent 3.5px); mask-image: none; -webkit-mask-image: none; background-color: transparent; background-size: 29px 29px; }
.mobile-bottom-nav-label { display: none; }
.mobile-more-popup { position: absolute; right: 10px; bottom: 58px; z-index: 10000; display: block; width: 190px; padding: 8px; border-radius: 14px; background: #ffffff; border: 1px solid rgba(0,0,0,0.08); box-shadow: 0 8px 24px rgba(0,0,0,0.22); box-sizing: border-box; }
.mobile-more-popup.hidden { display: none !important; }
.content-mobile-bottom-nav .mobile-bottom-nav-button { text-decoration: none; }
.content-mobile-bottom-nav .content-mobile-more-popup { display: none; }
.content-mobile-more-toggle:checked ~ .content-mobile-bottom-nav .content-mobile-more-popup { display: block; }
.mobile-more-popup-link { min-height: 42px; display: flex; align-items: center; justify-content: center; margin-bottom: 8px; padding: 7px 12px; border-radius: 8px; background: var(--fuelo-green-soft); color: var(--fuelo-green-dark); font-size: 13px; font-weight: 800; line-height: 1; text-decoration: none; box-sizing: border-box; }
.mobile-more-popup-link:focus-visible { outline: 2px solid var(--fuelo-green); outline-offset: 2px; }
.mobile-more-bmc-link { min-height: 44px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 7px 12px; border-radius: 8px; background: #FFDD00; color: #000000; font-size: 13px; font-weight: 800; line-height: 1; text-decoration: none; box-shadow: 0 2px 8px rgba(0,0,0,0.06); box-sizing: border-box; }
.mobile-more-bmc-icon { width: 28px; height: 28px; display: block; flex: 0 0 22px; object-fit: contain; }
.mobile-more-bmc-link:focus-visible { outline: 2px solid var(--fuelo-green); outline-offset: 2px; }
}