/* ============================================================
   Pumpy — styles ported verbatim from the approved prototype
   (prototipo-de-app-de-gasolina.html): dark LED price-board.
   Do not restyle: this IS the design the user approved.
   Additions for the PHP version (Leaflet map, auth, admin,
   zone selector) are marked "PHP ADD" at the end.
   ============================================================ */
button, [role="button"], select, summary, input:not([type="checkbox"], [type="radio"]) { min-height: 2rem; }
* { box-sizing: border-box; }
:root{
  color-scheme: dark;
  --led-red:#FF2E1F; --led-red-soft:#FF6A5C;
  --led-green:#00E65C; --led-green-soft:#4DFF8F;
  --led-yellow:#FFD60A; --led-yellow-soft:#FFE45E;
  --board:#0A0C0A; --board-2:#12140F;
  --led-font:"DSEG7-Classic","Share Tech Mono",ui-monospace,monospace;
  --mono-font:"Share Tech Mono",ui-monospace,monospace;
  --phone-bg:#0E100E; --phone-surface:#181B18; --phone-line:#2E332E;
  --map-bg:#FFFFFF; --map-road:#D9E1D9; --map-park:#DDEBD2; --map-water:#C9E2EF;
  --green:var(--led-green); --green-soft:#0E2E1B; --red:var(--led-red-soft); --red-soft:#38120D;
  --amber:var(--led-red); --amber-soft:#2A0E0B; --amber-ink:#FFB0A6;
  --ink:#EEF2ED; --bg:#0E100E; --muted:#9AA79D;
  --shadow:0 24px 60px rgba(0,0,0,.5);
}
html{ -webkit-text-size-adjust:100%; }
body{ margin:0; background:#080908; color:var(--ink); font-family:"Barlow", system-ui, -apple-system, "Segoe UI", sans-serif; line-height:1.45; min-height:100dvh; display:flex; justify-content:center; align-items:flex-start; }
a{ color:var(--green); }
.lang-switch{ display:inline-flex; background:#181B18; border:1px solid #2E332E; border-radius:999px; padding:2px; gap:2px; flex:none; }
.lang-switch button{ border:0; background:transparent; color:var(--muted); font-family:inherit; font-weight:800; font-size:12px; border-radius:999px; padding:4px 10px; cursor:pointer; min-height:30px; }
.lang-switch button[aria-pressed="true"]{ background:#F2F5F0; color:#0B0D0B; }
/* PHP ADD — language links styled exactly like the prototype buttons */
.lang-switch a.lang-btn{ border:0; background:transparent; color:var(--muted); font-family:inherit; font-weight:800; font-size:12px; border-radius:999px; padding:4px 10px; cursor:pointer; min-height:30px; text-decoration:none; display:inline-flex; align-items:center; }
.lang-switch a.lang-btn[aria-pressed="true"]{ background:#F2F5F0; color:#0B0D0B; }

.phone{ position:relative; width:100%; max-width:430px; margin:0 auto; background:var(--phone-bg); border:2px solid #000; box-shadow:var(--shadow), inset 0 0 0 1px #2C302C; overflow:hidden; min-height:100dvh; }
@media (min-width:480px){ .phone{ margin:18px auto; border-radius:38px; min-height:auto; } body{ align-items:center; padding:0 12px; } }
.app{ padding:14px 16px 22px; position:relative; }
.app-head{ display:flex; align-items:center; justify-content:space-between; gap:8px; padding:2px 2px 12px; flex-wrap:wrap; }
.app-brand{ display:flex; align-items:center; gap:9px; font-family:"Barlow Condensed",sans-serif; text-transform:uppercase; letter-spacing:.07em; font-size:23px; font-weight:700; color:#fff; }
.app-brand .pump{ width:34px; height:34px; border-radius:8px; background:var(--led-red); color:#fff; display:grid; place-items:center; flex:none; box-shadow:0 0 14px rgba(255,46,31,.6); }
.app-brand .pump svg{ width:19px; height:19px; }
.city-pill{ font-size:12.5px; font-weight:600; color:#C7CFC5; border:1px solid var(--phone-line); background:var(--phone-surface); border-radius:999px; padding:6px 11px; display:inline-flex; gap:6px; align-items:center; min-height:32px; }
.city-pill svg{ width:13px; height:13px; flex:none; }

.bank{ background:linear-gradient(180deg,#15170F,var(--board) 30%); border:2px solid #000; box-shadow:inset 0 0 0 1px #333833, inset 0 0 34px rgba(0,0,0,.85), 0 10px 24px rgba(0,0,0,.4); border-radius:14px; padding:16px 16px 14px; position:relative; overflow:hidden; color:#EEF2ED; }
.bank::after{ content:""; position:absolute; inset:0; border-radius:12px; pointer-events:none; background:repeating-linear-gradient(0deg, rgba(255,255,255,.028) 0 2px, transparent 2px 4px); }
.bank .row1{ display:flex; justify-content:space-between; align-items:flex-start; gap:12px; position:relative; z-index:1; }
.bank .label{ font-family:var(--mono-font); font-size:12px; font-weight:700; letter-spacing:.18em; text-transform:uppercase; color:#C7CFC5; }
.bank .bigtime{ font-family:var(--led-font); font-weight:400; font-size:46px; line-height:1; margin-top:2px; font-variant-numeric:tabular-nums; color:var(--led-green); text-shadow:0 0 6px rgba(0,230,92,.85), 0 0 20px rgba(0,230,92,.45), 0 0 42px rgba(0,230,92,.25); letter-spacing:.02em; }
.bank .bigtime small{ font-family:var(--mono-font); font-size:19px; font-weight:600; color:var(--led-green-soft); text-shadow:0 0 8px rgba(0,230,92,.6); letter-spacing:.02em; }
.bank .status{ flex:none; font-family:var(--mono-font); font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; border-radius:999px; padding:6px 10px; margin-top:4px; background:#160B09; color:var(--led-red-soft); border:1.5px solid var(--led-red); text-shadow:0 0 7px rgba(255,46,31,.75); box-shadow:0 0 10px rgba(255,46,31,.25), inset 0 0 8px rgba(255,46,31,.15); }
.bank .status.on{ background:#07130B; color:var(--led-green); border-color:var(--led-green); text-shadow:0 0 7px rgba(0,230,92,.8); box-shadow:0 0 10px rgba(0,230,92,.3), inset 0 0 8px rgba(0,230,92,.18); }
.bank .bar{ height:11px; border-radius:99px; background:#050605; border:1px solid #2C302C; margin:12px 0 6px; overflow:hidden; position:relative; z-index:1; }
.bank .bar i{ display:block; height:100%; width:0%; background:repeating-linear-gradient(90deg, var(--led-green) 0 9px, rgba(0,0,0,.55) 9px 11px); box-shadow:0 0 10px rgba(0,230,92,.55); border-radius:99px; transition:width .5s ease; }
.bank .meta{ display:flex; justify-content:space-between; gap:8px; font-size:11.5px; color:#9AA79D; font-family:var(--mono-font); letter-spacing:.03em; font-variant-numeric:tabular-nums; position:relative; z-index:1; }
.bank .actions{ display:grid; grid-template-columns:1fr 1fr; gap:9px; margin-top:13px; position:relative; z-index:1; }
.btn{ appearance:none; text-decoration:none; border:0; cursor:pointer; font-family:inherit; font-weight:700; font-size:15px; border-radius:13px; padding:11px 12px; min-height:46px; display:inline-flex; align-items:center; justify-content:center; gap:8px; transition:transform .08s ease, opacity .15s ease, background .15s ease; }
.btn:active{ transform:scale(.98); }
.btn svg{ width:17px; height:17px; flex:none; }
.btn-amber{ background:#07130B; color:var(--led-green); border:1.5px solid var(--led-green); font-family:var(--mono-font); letter-spacing:.02em; text-shadow:0 0 7px rgba(0,230,92,.7); box-shadow:0 0 12px rgba(0,230,92,.28), inset 0 0 10px rgba(0,230,92,.12); }
.btn-ghost{ background:#160B09; color:var(--led-red-soft); border:1.5px solid var(--led-red); font-family:var(--mono-font); text-shadow:0 0 7px rgba(255,46,31,.7); box-shadow:0 0 12px rgba(255,46,31,.22), inset 0 0 10px rgba(255,46,31,.1); }
.btn:disabled{ opacity:.45; cursor:not-allowed; }

.trial{ margin-top:12px; border:1.5px dashed var(--led-red); background:#160B09; color:#FFC4BC; border-radius:16px; padding:12px 14px; display:flex; gap:11px; align-items:center; box-shadow:inset 0 0 18px rgba(255,46,31,.12); }
.trial svg{ width:22px; height:22px; flex:none; color:var(--led-red-soft); }
.trial p{ margin:0; font-size:13.5px; line-height:1.35; flex:1; }
.trial button{ flex:none; background:var(--led-red); color:#fff; border:0; border-radius:10px; font-family:inherit; font-weight:800; font-size:13.5px; padding:9px 12px; cursor:pointer; min-height:40px; box-shadow:0 0 12px rgba(255,46,31,.45); }
.trial.hidden{ display:none; }

.plus{ margin-top:12px; border:1.5px solid var(--led-green); background:#07130B; border-radius:16px; padding:13px 14px; box-shadow:0 0 14px rgba(0,230,92,.25), inset 0 0 16px rgba(0,230,92,.08); color:#EEF2ED; }
.plus-head{ display:flex; justify-content:space-between; align-items:baseline; gap:10px; }
.plus-head .pt{ font-family:"Barlow Condensed", sans-serif; font-size:22px; font-weight:700; letter-spacing:.03em; text-transform:uppercase; color:#fff; }
.plus-head .pp{ font-family:var(--led-font); font-weight:400; font-size:17px; white-space:nowrap; font-variant-numeric:tabular-nums; color:var(--led-green); text-shadow:0 0 6px rgba(0,230,92,.85), 0 0 18px rgba(0,230,92,.35); }
.plus-head .pp small{ font-family:var(--mono-font); font-weight:600; color:#9AA79D; font-size:12.5px; text-shadow:none; }
.plus p{ margin:5px 0 0; font-size:13.5px; line-height:1.4; color:#9AA79D; }
.plus p strong{ color:#EEF2ED; }
.plus-actions{ display:grid; grid-template-columns:1fr; gap:8px; margin-top:11px; }
.plus-actions .btn{ min-height:44px; font-size:14px; padding:10px 13px; }
.btn-plus{ background:var(--led-green); color:#04140A; font-family:var(--mono-font); box-shadow:0 0 12px rgba(0,230,92,.4); }
.plus-active-note{ display:none; font-weight:700; color:var(--led-green-soft) !important; font-family:var(--mono-font); font-size:12.5px !important; }
.plus.on .plus-actions{ display:none; }
.plus.on .plus-active-note{ display:block; }
.cancel-plus{ margin-top:9px; background:none; border:0; color:#9AA79D; font-family:inherit; font-size:12.5px; font-weight:700; text-decoration:underline; cursor:pointer; min-height:32px; padding:2px 0; }
.plus .plus-community{ margin-top:9px; }
.pass{ background:#141005; border-color:var(--led-yellow); box-shadow:0 0 14px rgba(255,214,10,.25), inset 0 0 16px rgba(255,214,10,.08); }
.pass .plus-head .pp{ color:var(--led-yellow); text-shadow:0 0 6px rgba(255,214,10,.85), 0 0 18px rgba(255,214,10,.35); }
.pass .plus-active-note{ color:var(--led-yellow-soft) !important; }
.btn-passbuy{ background:var(--led-yellow); color:#171200; font-family:var(--mono-font); box-shadow:0 0 12px rgba(255,214,10,.4); }

.fuels{ display:flex; gap:7px; margin:16px 0 10px; }
.fuels button{ flex:1; border:1px solid #0B0D0B; background:#0B0D0B; color:#E8EAE6; font-family:var(--mono-font); font-weight:700; font-size:13.5px; border-radius:999px; padding:8px 4px; cursor:pointer; min-height:38px; }
.fuels button[aria-pressed="true"]{ background:#FFFFFF; color:#0B0D0B; border-color:#FFFFFF; box-shadow:inset 0 0 0 1px #FFFFFF; }

.map{ position:relative; border-radius:20px; overflow:hidden; border:1px solid #D8DED4; background:#FFFFFF; height:218px; box-shadow:inset 0 0 0 1px #E1E6DE; }
.map svg.streets{ position:absolute; inset:0; width:100%; height:100%; }
#pins{ position:absolute; inset:0; z-index:4; pointer-events:none; }
#pins .pin{ pointer-events:auto; }
.pin{ position:absolute; transform:translate(-50%,-100%); border:0; cursor:pointer; background:none; padding:6px; min-height:36px; min-width:36px; display:flex; flex-direction:column; align-items:center; }
.pin .bubble{ font-family:var(--led-font); font-weight:400; font-size:13.5px; line-height:1; background:#070807; color:var(--led-red-soft); border:1.5px solid #000; border-radius:6px; padding:5px 7px 4px; white-space:nowrap; font-variant-numeric:tabular-nums; text-shadow:0 0 6px rgba(255,46,31,.8), 0 0 16px rgba(255,46,31,.35); box-shadow:0 0 10px rgba(255,46,31,.28), 0 3px 8px rgba(0,0,0,.5); }
.pin .tip{ width:9px; height:9px; background:#070807; transform:rotate(45deg); margin-top:-5px; border-radius:1px; }
.pin.best .bubble{ background:#070807; border-color:#000; color:var(--led-green); text-shadow:0 0 6px rgba(0,230,92,.9), 0 0 16px rgba(0,230,92,.4); box-shadow:0 0 12px rgba(0,230,92,.4), 0 3px 8px rgba(0,0,0,.5); }
.pin.best .tip{ background:#070807; }
.pin.selected .bubble{ outline:2.5px solid #151A17; outline-offset:1px; }
.pin .bubble .q{ letter-spacing:.08em; }
.you{ position:absolute; left:58%; top:34%; transform:translate(-50%,-50%); width:16px; height:16px; border-radius:99px; background:#2B7FFF; border:3px solid #fff; box-shadow:0 0 0 6px rgba(43,127,255,.25); z-index:2; pointer-events:none; }
.map-lock{ position:absolute; inset:auto 10px 10px 10px; z-index:3; background:#FFFFFF; border:1px solid #D8DED4; border-radius:13px; padding:9px 12px; font-size:13px; font-weight:600; display:flex; gap:9px; align-items:center; box-shadow:0 6px 16px rgba(0,0,0,.14); color:#151A17; pointer-events:none; }
.map-lock svg{ width:17px; height:17px; flex:none; color:#C0392B; }
.map-lock.hidden{ display:none; }

.list-head{ display:flex; justify-content:space-between; align-items:baseline; margin:16px 2px 9px; gap:10px; }
.list-head h2{ font-size:16.5px; margin:0; font-weight:800; color:#EEF2ED; }
.list-head span{ font-family:var(--mono-font); font-size:11.5px; letter-spacing:.05em; color:#9AA79D; text-align:right; }
.stations{ display:flex; flex-direction:column; gap:12px; }
.st{ background:#181B18; border:1px solid #2E332E; border-radius:18px; padding:16px; display:flex; flex-direction:column; gap:11px; cursor:pointer; text-align:left; width:100%; font-family:inherit; color:#EEF2ED; }
.st.selected{ border-color:#fff; box-shadow:0 0 0 1.5px #fff; }
.st-top{ display:grid; grid-template-columns:38px minmax(0,1fr) auto; gap:12px; align-items:start; width:100%; }
.st .rank{ width:38px; height:38px; border-radius:11px; background:#0B0D0B; border:1px solid #2E332E; display:grid; place-items:center; font-family:var(--mono-font); font-weight:700; font-size:19px; color:#C7CFC5; }
.st:first-child .rank{ background:#07130B; border-color:var(--led-green); color:var(--led-green); text-shadow:0 0 7px rgba(0,230,92,.8); box-shadow:0 0 9px rgba(0,230,92,.3); }
.st-info{ min-width:0; display:block; padding-top:1px; }
.st .name{ font-weight:800; font-size:18px; line-height:1.25; display:block; overflow-wrap:break-word; }
.st .addr{ font-size:14.5px; line-height:1.45; color:#9AA79D; margin-top:3px; display:block; overflow-wrap:break-word; }
.st-meta{ display:flex; flex-wrap:wrap; gap:8px 12px; font-size:14px; line-height:1.4; color:#9AA79D; align-items:center; width:100%; }
.fresh{ display:inline-flex; align-items:center; gap:7px; font-weight:700; font-size:14px; white-space:nowrap; }
.fresh i{ width:9px; height:9px; border-radius:99px; background:var(--led-green); box-shadow:0 0 7px rgba(0,230,92,.9); display:block; flex:none; }
.fresh.old{ color:var(--led-red-soft); } .fresh.old i{ background:var(--led-red); box-shadow:0 0 7px rgba(255,46,31,.9); }
.fresh.mid i{ background:#FFC53D; box-shadow:0 0 7px rgba(255,197,61,.9); }
.worth{ font-weight:700; font-size:13px; line-height:1.3; border-radius:999px; padding:6px 12px; white-space:nowrap; }
.worth.yes{ background:#0E2E1B; color:var(--led-green-soft); }
.worth.no{ background:#38120D; color:#FFB0A6; }
.worth.mid{ background:#2A0E0B; color:#FFB0A6; }
.st .pricebox{ text-align:right; }
.st .price{ font-family:var(--led-font); font-weight:400; font-size:29px; line-height:1; font-variant-numeric:tabular-nums; white-space:nowrap; color:var(--led-red-soft); text-shadow:0 0 6px rgba(255,46,31,.75), 0 0 18px rgba(255,46,31,.3); letter-spacing:.01em; }
.st .price small{ font-family:var(--mono-font); font-size:14px; font-weight:600; color:#9AA79D; margin-left:2px; text-shadow:none; }
.st:first-child .price{ color:var(--led-green); text-shadow:0 0 6px rgba(0,230,92,.85), 0 0 18px rgba(0,230,92,.35); }
.st .save{ font-size:12.5px; line-height:1.4; font-weight:700; color:var(--led-green-soft); font-family:var(--mono-font); margin-top:5px; font-variant-numeric:tabular-nums; display:block; }
.st > .save{ margin-top:-3px; text-align:right; width:100%; }
.st:first-child .save{ color:#9AA79D; }
.st .route{ display:flex; gap:10px 14px; align-items:center; width:100%; flex-wrap:wrap; justify-content:space-between; }
.st .route a{ display:inline-flex; align-items:center; gap:6px; font-size:15px; font-weight:700; text-decoration:none; background:#F2F5F0; color:#0B0D0B; border-radius:11px; padding:10px 18px; min-height:42px; flex:none; }
.st .route a svg{ width:14px; height:14px; }
.st .route .net{ font-size:14px; line-height:1.4; color:#9AA79D; font-variant-numeric:tabular-nums; flex:1; min-width:130px; text-align:right; }
.st .route .hint{ font-size:14px; line-height:1.45; color:#9AA79D; font-weight:600; }
.locked .price, .locked .pin .bubble .amt, .locked .save, .locked .st .route .net{ filter:blur(7px); user-select:none; pointer-events:none; }
.locked .st .route a{ opacity:.35; pointer-events:none; }

.calc{ margin-top:14px; background:#181B18; border:1px solid #2E332E; border-radius:16px; padding:13px 14px; }
.calc h3{ margin:0 0 8px; font-size:23px; line-height:1.15; font-weight:900; letter-spacing:-.02em; color:#FFFFFF; border-left:4px solid var(--led-green); padding-left:10px; text-shadow:0 0 14px rgba(0,230,92,.22); }
.calc p{ margin:0; font-size:13.5px; color:#9AA79D; }
.calc p strong{ color:var(--led-green-soft); font-variant-numeric:tabular-nums; }
.calc .gal{ display:flex; gap:6px; margin-top:9px; }
.calc .gal button{ border:1px solid #2E332E; background:#0B0D0B; color:#9AA79D; font-family:var(--mono-font); font-weight:700; font-size:13px; border-radius:999px; padding:6px 13px; cursor:pointer; min-height:36px; }
.calc .gal button[aria-pressed="true"]{ background:#F2F5F0; color:#0B0D0B; border-color:#F2F5F0; }
.app-foot{ margin-top:14px; font-size:12px; color:#9AA79D; text-align:center; padding:0 8px; line-height:1.5; }

/* Toast z-index must sit ABOVE the photo modal (z-40 mobile,
   z-60 desktop): the modal's own warnings ("outside the 75 m
   radius") are shown while the modal is open, and at z-30 they
   were hidden behind it. */
.toast{ position:absolute; left:16px; right:16px; bottom:16px; z-index:70; background:#0B0D0B; color:#EEF2ED; border:1px solid var(--led-green); border-radius:14px; padding:12px 14px; font-size:13px; font-family:var(--mono-font); font-weight:600; display:flex; gap:9px; align-items:center; opacity:0; transform:translateY(8px); pointer-events:none; transition:all .25s ease; box-shadow:0 0 16px rgba(0,230,92,.3), 0 10px 26px rgba(0,0,0,.5); }
.toast.show{ opacity:1; transform:none; }
.toast svg{ width:18px; height:18px; flex:none; color:var(--led-green); }

/* ---------- Premium fullscreen camera (photo modal) ----------
   Full-screen, NO scroll: top bar / flexible viewfinder /
   bottom controls — like the phone's own camera app. The old
   layout (title + detect + GPS + steps + long selects +
   sticky capture bar) is gone: everything fits on screen
   at once. Toast (z-70) still sits above the modal (z-60). */
.modal{ position:fixed; inset:0; z-index:60; background:#000; display:none; flex-direction:column; }
.modal.open{ display:flex; }
.cam-modal [hidden]{ display:none !important; }
.cam-live{ display:flex; flex-direction:column; flex:1; min-height:0; background:#000; }
.cam-top{ flex:none; display:flex; align-items:center; gap:10px; padding:calc(12px + env(safe-area-inset-top, 0px)) 14px 10px; background:#000; }
.cam-close{ flex:none; width:40px; height:40px; border-radius:99px; border:0; background:rgba(255,255,255,.14); color:#fff; font-size:17px; line-height:1; cursor:pointer; display:grid; place-items:center; padding:0; }
.cam-station-pill{ flex:1; min-width:0; display:flex; align-items:baseline; justify-content:center; gap:7px; background:rgba(255,255,255,.12); border:1px solid rgba(255,255,255,.18); border-radius:999px; padding:10px 14px; cursor:pointer; font-family:inherit; }
.cam-pill-name{ font-weight:800; font-size:14px; color:#fff; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cam-pill-dist{ flex:none; font-family:var(--mono-font); font-size:12px; font-weight:700; color:var(--led-green-soft); font-variant-numeric:tabular-nums; }
.cam-pill-dist.far{ color:#FFB0A6; }
.cam-top .live-chip{ flex:none; position:static; }
.cam-view{ position:relative; flex:1; min-height:0; overflow:hidden; background:#000; touch-action:none; }
.cam-view video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; background:#000; }
.cam-view .sign{ z-index:1; }
.cam-gps-chip{ position:absolute; left:50%; bottom:14px; transform:translateX(-50%); z-index:3; background:rgba(0,0,0,.62); color:#fff; border-radius:999px; padding:6px 12px; font-family:var(--mono-font); font-size:12px; font-weight:700; white-space:nowrap; font-variant-numeric:tabular-nums; }
.cam-gps-chip.ok{ color:var(--led-green-soft); }
.cam-gps-chip.far{ color:#FFB0A6; }
.cam-note{ position:absolute; left:16px; right:16px; bottom:64px; z-index:4; margin:0; text-align:center; font-size:14px; line-height:1.5; color:#FFB0A6; background:rgba(0,0,0,.68); border-radius:14px; padding:13px 14px; }
.cam-form-link{ position:absolute; left:0; right:0; bottom:20px; z-index:4; text-align:center; color:var(--led-green); font-weight:700; font-size:14px; }
/* Station picker: compact bottom-sheet over the viewfinder. */
.cam-sheet{ position:absolute; left:0; right:0; bottom:0; z-index:6; max-height:62%; background:#12140F; border-top:1px solid #2E332E; border-radius:20px 20px 0 0; display:flex; flex-direction:column; box-shadow:0 -12px 40px rgba(0,0,0,.6); }
.cam-sheet-head{ flex:none; display:flex; align-items:center; justify-content:space-between; padding:14px 16px 6px; font-weight:800; font-size:15px; color:#EEF2ED; }
.cam-sheet-close{ width:32px; height:32px; border-radius:99px; border:0; background:rgba(255,255,255,.12); color:#fff; cursor:pointer; font-size:13px; padding:0; }
.cam-sheet-list{ list-style:none; margin:0; padding:2px 8px 16px; overflow-y:auto; }
.cam-sheet-list li{ display:flex; gap:10px; align-items:center; padding:11px 10px; border-radius:12px; cursor:pointer; }
.cam-sheet-list li:active{ background:rgba(255,255,255,.08); }
.cam-sheet-list li.sel{ background:#07130B; }
.cam-sheet-list .s-info{ flex:1; min-width:0; display:flex; flex-direction:column; }
.cam-sheet-list .s-name{ font-weight:800; font-size:14.5px; color:#EEF2ED; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cam-sheet-list .s-addr{ font-size:12px; color:#9AA79D; font-weight:600; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cam-sheet-list .s-dist{ flex:none; font-family:var(--mono-font); font-size:12px; font-weight:700; color:var(--led-green-soft); font-variant-numeric:tabular-nums; }
.cam-sheet-list .s-dist.far{ color:#9AA79D; }
/* Bottom controls: fuel chips, brightness, zoom, shutter. */
.cam-controls{ flex:none; background:#000; padding:10px 16px calc(14px + env(safe-area-inset-bottom, 0px)); display:flex; flex-direction:column; gap:12px; }
.cam-fuel{ display:flex; background:rgba(255,255,255,.1); border-radius:999px; padding:3px; }
.cam-fuel button{ flex:1; border:0; background:transparent; color:#C7CFC5; font-family:inherit; font-weight:800; font-size:13px; border-radius:999px; padding:8px 4px; cursor:pointer; min-height:36px; }
.cam-fuel button.on{ background:#F2F5F0; color:#0B0D0B; }
.cam-bright{ display:flex; align-items:center; gap:10px; }
.cam-bright svg{ width:22px; height:22px; flex:none; color:var(--led-yellow); }
.cam-bright input[type="range"]{ flex:1; min-width:0; accent-color:var(--led-yellow); min-height:28px; margin:0; padding:0; }
.cam-tools{ display:flex; align-items:center; gap:10px; }
.cam-tool{ flex:none; width:44px; height:44px; border-radius:99px; border:1px solid rgba(255,255,255,.25); background:rgba(255,255,255,.1); color:#fff; cursor:pointer; display:grid; place-items:center; padding:0; }
.cam-tool[aria-pressed="true"]{ background:#F2F5F0; color:#0B0D0B; border-color:#F2F5F0; }
.cam-tool svg{ width:22px; height:22px; }
.cam-zoom{ flex:1; display:flex; justify-content:center; gap:6px; }
.cam-zoom-pill{ border:1px solid rgba(255,255,255,.25); background:rgba(255,255,255,.08); color:#fff; font-family:var(--mono-font); font-weight:700; font-size:13px; border-radius:999px; padding:7px 14px; cursor:pointer; min-height:36px; }
.cam-zoom-pill.on{ background:#F2F5F0; color:#0B0D0B; border-color:#F2F5F0; }
.cam-tool-spacer{ flex:none; width:44px; }
.cam-shutter-row{ display:flex; align-items:center; justify-content:space-between; }
.cam-shutter-spacer{ flex:none; width:44px; }
.cam-shutter{ width:76px; height:76px; border-radius:99px; border:4px solid #fff; background:transparent; cursor:pointer; position:relative; box-shadow:0 0 0 2px rgba(255,255,255,.25); padding:0; }
.cam-shutter::after{ content:""; position:absolute; inset:5px; border-radius:99px; background:#fff; transition:transform .08s ease; }
.cam-shutter:active::after{ transform:scale(.85); }
.cam-shutter:disabled{ opacity:.5; }
/* Preview screen: full photo + Send / Retake. */
.cam-preview{ display:flex; flex-direction:column; flex:1; min-height:0; background:#000; }
.cam-preview img{ flex:1; min-height:0; width:100%; object-fit:contain; background:#000; }
.cam-preview-actions{ flex:none; display:flex; gap:10px; padding:14px 16px calc(16px + env(safe-area-inset-bottom, 0px)); background:#000; }
.cam-preview-actions .btn{ flex:1; }
.sign{ position:absolute; left:50%; top:44%; transform:translate(-50%,-50%); background:linear-gradient(180deg,#171916,#080908); border:2px solid #000; box-shadow:0 14px 30px rgba(0,0,0,.6), inset 0 0 0 1px #343834; width:212px; padding:0 14px 12px; border-radius:8px; overflow:hidden; text-align:center; }
.sign .brand{ background:var(--led-red); color:#fff; margin:0 -14px; padding:7px 10px 6px; font-family:"Barlow Condensed",sans-serif; font-weight:800; font-size:16px; letter-spacing:.16em; box-shadow:0 2px 10px rgba(255,46,31,.5); }
.sign .lbl{ font-family:var(--mono-font); font-size:10.5px; font-weight:700; letter-spacing:.22em; color:#C7CFC5; margin-top:9px; }
.sign .dig{ font-family:var(--led-font); font-weight:400; font-size:42px; line-height:1; color:var(--led-red-soft); background:#050605; border:1px solid #262926; border-radius:4px; margin-top:2px; padding:5px 0 3px; font-variant-numeric:tabular-nums; text-shadow:0 0 6px rgba(255,46,31,.85), 0 0 20px rgba(255,46,31,.4); }
.sign .dig sup{ font-size:19px; }
.sign .lbl-diesel{ color:#9AA79D; }
.sign .dig-diesel{ color:var(--led-green); text-shadow:0 0 6px rgba(0,230,92,.9), 0 0 20px rgba(0,230,92,.45); }
.frame-corner{ position:absolute; width:26px; height:26px; border:3px solid rgba(255,255,255,.85); }
.fc-tl{ left:12px; top:12px; border-right:0; border-bottom:0; border-radius:8px 0 0 0; }
.fc-tr{ right:12px; top:12px; border-left:0; border-bottom:0; border-radius:0 8px 0 0; }
.fc-bl{ left:12px; bottom:12px; border-right:0; border-top:0; border-radius:0 0 0 8px; }
.fc-br{ right:12px; bottom:12px; border-left:0; border-top:0; border-radius:0 0 8px 0; }
.live-chip{ position:absolute; left:12px; top:12px; z-index:2; margin:0; background:rgba(0,0,0,.55); color:#fff; font-size:11px; font-weight:800; letter-spacing:.08em; border-radius:999px; padding:5px 10px; display:flex; gap:6px; align-items:center; }
.live-chip i{ width:7px; height:7px; border-radius:99px; background:var(--led-red); box-shadow:0 0 8px rgba(255,46,31,.95); display:block; animation:blink 1.1s infinite; }
@keyframes blink{ 50%{ opacity:.25; } }
@media (prefers-reduced-motion: reduce){ .live-chip i{ animation:none; } *{ transition:none !important; } }
.btn-dark{ background:#F2F5F0; color:#0B0D0B; width:100%; }
.btn-line{ background:none; border:1px solid #2E332E; color:#9AA79D; width:100%; }
.found-price{ display:none; margin-top:12px; background:#07130B; border:1px solid var(--led-green); border-radius:14px; padding:12px 14px; align-items:center; justify-content:space-between; gap:10px; box-shadow:0 0 14px rgba(0,230,92,.25), inset 0 0 14px rgba(0,230,92,.1); }
.found-price.show{ display:flex; }
.found-price .fp-l{ font-size:13px; font-weight:600; color:#9AA79D; }
.found-price .fp-l strong{ display:block; color:#EEF2ED; font-size:15px; }
.found-price .fp-p{ font-family:var(--led-font); font-weight:400; font-size:32px; color:var(--led-green); line-height:1; font-variant-numeric:tabular-nums; text-shadow:0 0 6px rgba(0,230,92,.85), 0 0 18px rgba(0,230,92,.35); }

/* ================= PHP ADD — additions for the real app =================
   Same palette as above. Nothing here restyles the approved design. */

/* Leaflet map inside the prototype .map frame */
.map .leaflet-container{ position:absolute; inset:0; background:#fff; font-family:inherit; z-index:1; }
.map .leaflet-control-attribution{ font-size:9px; background:rgba(255,255,255,.85); }
.map .leaflet-control-zoom a{ color:#151A17; }
.map-pin{ background:transparent; border:0; }
.map-pin .bubble{ font-family:var(--led-font); font-weight:400; font-size:13.5px; line-height:1; background:#070807; color:var(--led-red-soft); border:1.5px solid #000; border-radius:6px; padding:5px 7px 4px; white-space:nowrap; font-variant-numeric:tabular-nums; text-shadow:0 0 6px rgba(255,46,31,.8), 0 0 16px rgba(255,46,31,.35); box-shadow:0 0 10px rgba(255,46,31,.28), 0 3px 8px rgba(0,0,0,.5); display:inline-block; }
.map-pin .tip{ width:9px; height:9px; background:#070807; transform:rotate(45deg); margin:-5px auto 0; border-radius:1px; }
.map-pin.best .bubble{ color:var(--led-green); text-shadow:0 0 6px rgba(0,230,92,.9), 0 0 16px rgba(0,230,92,.4); box-shadow:0 0 12px rgba(0,230,92,.4), 0 3px 8px rgba(0,0,0,.5); }
.map-pin .bubble .q{ letter-spacing:.08em; }

/* Zone selector — same pill language as .city-pill */
.zone-bar{ display:flex; gap:7px; margin:2px 0 12px; flex-wrap:wrap; }
.zone-bar a{ flex:1 1 auto; text-align:center; font-family:var(--mono-font); font-weight:700; font-size:12px; letter-spacing:.03em; color:#C7CFC5; background:var(--phone-surface); border:1px solid var(--phone-line); border-radius:999px; padding:8px 10px; text-decoration:none; min-height:36px; display:inline-flex; align-items:center; justify-content:center; }
.zone-bar a[aria-current="true"]{ background:#F2F5F0; color:#0B0D0B; border-color:#F2F5F0; }
.zone-sub{ font-size:11.5px; color:var(--muted); margin:-6px 2px 10px; font-family:var(--mono-font); }

/* User bar under the header */
.userbar{ display:flex; gap:8px; align-items:center; justify-content:space-between; margin:0 2px 10px; font-size:12.5px; color:var(--muted); flex-wrap:wrap; }
.userbar a{ color:#C7CFC5; font-weight:700; text-decoration:none; }
.userbar .owner-tag{ font-family:var(--mono-font); font-size:11px; font-weight:800; letter-spacing:.06em; color:#04140A; background:var(--led-green); border-radius:999px; padding:3px 9px; text-transform:uppercase; }

/* Flash messages (server-side toasts) */
.flash{ margin:0 0 10px; border-radius:13px; padding:11px 13px; font-size:13.5px; font-weight:600; line-height:1.4; }
.flash.ok{ background:#07130B; border:1.5px solid var(--led-green); color:#D6FFE4; }
.flash.err{ background:#160B09; border:1.5px solid var(--led-red); color:#FFC4BC; }
.flash.info{ background:#181B18; border:1.5px solid #2E332E; color:#C7CFC5; }

/* Forms (auth / admin / photo) — same dark panels */
.panel{ background:#181B18; border:1px solid #2E332E; border-radius:16px; padding:16px; margin-top:12px; }
.panel h2{ margin:0 0 4px; font-size:17px; font-weight:800; }
.panel h3{ margin:14px 0 6px; font-size:14.5px; font-weight:800; }
.panel p{ margin:6px 0; font-size:13.5px; color:var(--muted); }
.panel p strong{ color:var(--ink); }
.field{ margin-top:12px; }
.field label{ display:block; font-family:var(--mono-font); font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; color:#C7CFC5; margin-bottom:5px; }
.field input, .field select, .field textarea{ width:100%; background:#0B0D0B; border:1px solid #2E332E; border-radius:11px; color:var(--ink); font-family:inherit; font-size:15px; padding:11px 12px; min-height:46px; }
.field input:focus, .field select:focus, .field textarea:focus{ outline:2px solid var(--led-green); outline-offset:1px; border-color:var(--led-green); }
.field .hint{ font-size:12px; color:var(--muted); margin-top:4px; line-height:1.4; }
.field input[type="file"]{ padding:8px; }
.form-actions{ margin-top:16px; display:grid; gap:9px; }
.link-row{ margin-top:14px; text-align:center; font-size:13.5px; color:var(--muted); }
.link-row a{ font-weight:700; }

/* "Sin precio verificado aún" — grey LED-ish, no fake price */
.noprice{ font-family:var(--mono-font); font-size:13px; font-weight:700; color:#9AA79D; text-align:right; line-height:1.4; }
.noprice small{ display:block; font-size:11px; color:#6E7A6E; }
.st .pricebox .noprice{ padding-top:4px; }

/* Admin tables */
.tabs{ display:flex; gap:6px; flex-wrap:wrap; margin:12px 0; }
.tabs a{ font-family:var(--mono-font); font-size:12.5px; font-weight:700; color:#C7CFC5; background:var(--phone-surface); border:1px solid var(--phone-line); border-radius:999px; padding:7px 12px; text-decoration:none; }
.tabs a[aria-current="true"]{ background:#F2F5F0; color:#0B0D0B; border-color:#F2F5F0; }
.tbl{ width:100%; border-collapse:collapse; font-size:13px; margin-top:8px; }
.tbl th, .tbl td{ text-align:left; padding:8px 6px; border-bottom:1px solid #2E332E; vertical-align:top; }
.tbl th{ font-family:var(--mono-font); font-size:11px; letter-spacing:.08em; text-transform:uppercase; color:#9AA79D; }
.tbl td{ color:#EEF2ED; overflow-wrap:anywhere; }
.tbl .num{ font-variant-numeric:tabular-nums; font-family:var(--mono-font); }
.tbl-wrap{ overflow-x:auto; margin:0 -4px; padding:0 4px; }
.pill{ display:inline-block; font-family:var(--mono-font); font-size:11px; font-weight:800; letter-spacing:.04em; border-radius:999px; padding:3px 9px; text-transform:uppercase; }
.pill.green{ background:#07130B; color:var(--led-green); border:1px solid var(--led-green); }
.pill.red{ background:#160B09; color:var(--led-red-soft); border:1px solid var(--led-red); }
.pill.yellow{ background:#141005; color:var(--led-yellow); border:1px solid var(--led-yellow); }
.pill.grey{ background:#181B18; color:#9AA79D; border:1px solid #2E332E; }
.key-masked{ font-family:var(--mono-font); font-size:12.5px; color:#9AA79D; }
.mini-btn{ display:inline-block; background:#0B0D0B; color:#EEF2ED; border:1px solid #2E332E; border-radius:9px; padding:6px 10px; font-family:inherit; font-size:12.5px; font-weight:700; cursor:pointer; text-decoration:none; min-height:32px; }
.mini-btn.danger{ color:#FFB0A6; border-color:var(--led-red); }
.inline-form{ display:inline; }

/* Install Pumpy pop-up (PWA) */
.install-pop{ position:fixed; inset:0; z-index:90; display:flex; align-items:center; justify-content:center; padding:18px; background:rgba(0,0,0,.68); backdrop-filter:blur(6px); }
.install-pop[hidden]{ display:none; }
.install-card{ position:relative; width:min(100%,380px); text-align:center; background:linear-gradient(180deg,#191D19,#101310); border:1.5px solid var(--led-green); border-radius:26px; padding:26px 20px 20px; box-shadow:0 24px 70px rgba(0,0,0,.65), 0 0 28px rgba(0,230,92,.28); animation:installIn .28s ease both; }
@keyframes installIn{ from{ opacity:0; transform:translateY(16px) scale(.97); } to{ opacity:1; transform:none; } }
.install-card img{ width:86px; height:86px; border-radius:22px; box-shadow:0 0 28px rgba(255,46,31,.55); }
.install-brand{ margin-top:10px; font-family:var(--mono-font); font-weight:700; letter-spacing:.18em; color:#fff; }
.install-card strong{ display:block; margin-top:8px; font-size:24px; font-weight:800; }
.install-card p{ margin:8px 0 14px; color:var(--muted); font-size:14.5px; line-height:1.45; }
.install-benefits{ display:flex; flex-wrap:wrap; gap:7px; justify-content:center; margin-bottom:16px; }
.install-benefits span{ border:1px solid #2E332E; background:#0B0D0B; color:#C7CFC5; border-radius:999px; padding:6px 10px; font-size:12px; font-weight:700; }
.install-actions{ display:grid; gap:9px; }
.install-actions .btn{ min-height:48px; padding:11px 12px; font-size:16px; }
.install-close{ position:absolute; top:10px; right:10px; width:40px; height:40px; border-radius:999px; border:2px solid #fff; background:#FF2E1F; color:#fff; font-size:18px; font-weight:800; cursor:pointer; box-shadow:0 8px 24px rgba(0,0,0,.55); z-index:3; }

/* Plans pop-up (Plus + 24h pass) */
.plans-pop{ position:fixed; inset:0; z-index:89; display:flex; align-items:center; justify-content:center; padding:14px; background:rgba(0,0,0,.72); backdrop-filter:blur(6px); }
.plans-pop[hidden]{ display:none; }
.plans-scroll{ position:relative; width:min(100%,440px); max-height:94dvh; overflow-y:auto; padding:52px 2px 2px; animation:installIn .28s ease both; }
.plans-scroll .plus{ margin-top:14px; }
.plans-close{ position:absolute; top:0; right:2px; z-index:95; width:44px; height:44px; border-radius:999px; border:2px solid #fff; background:#FF2E1F; color:#fff; font-size:20px; font-weight:800; cursor:pointer; box-shadow:0 10px 28px rgba(0,0,0,.65); }

/* Photo menu station choices */
.station-choices{ display:grid; gap:8px; margin-top:8px; }
.station-choice{ width:100%; text-align:left; background:#0B0D0B; border:1.5px solid #2E332E; border-radius:13px; color:var(--ink); font-family:inherit; padding:11px 12px; cursor:pointer; display:flex; align-items:center; justify-content:space-between; gap:12px; }
.station-choice.sel{ border-color:var(--led-green); box-shadow:0 0 12px rgba(0,230,92,.22), inset 0 0 10px rgba(0,230,92,.08); }
.station-choice .sc-name{ display:block; font-weight:800; font-size:15px; }
.station-choice .sc-addr{ display:block; color:var(--muted); font-size:12.5px; margin-top:2px; }
.station-choice .sc-dist{ font-family:var(--mono-font); font-weight:700; color:var(--led-green); white-space:nowrap; }
.station-choice .sc-dist.far{ color:var(--led-red-soft); }

/* Photo upload preview */
.photo-preview{ margin-top:12px; border-radius:14px; overflow:hidden; border:1px solid #2E332E; display:none; }
.photo-preview.show{ display:block; }
.photo-preview img{ width:100%; display:block; }

.hidden{ display:none !important; }

/* PHP ADD — fuel & gallon links use the same pill buttons as the
   prototype (the prototype used <button>; the PHP app navigates,
   so these are links styled identically). */
.fuels a{ flex:1; border:1px solid #0B0D0B; background:#0B0D0B; color:#E8EAE6; font-family:var(--mono-font); font-weight:700; font-size:13.5px; border-radius:999px; padding:8px 4px; cursor:pointer; min-height:38px; text-decoration:none; display:inline-flex; align-items:center; justify-content:center; }
.fuels a[aria-pressed="true"]{ background:#FFFFFF; color:#0B0D0B; border-color:#FFFFFF; box-shadow:inset 0 0 0 1px #FFFFFF; }
.calc .gal a{ border:1px solid #2E332E; background:#0B0D0B; color:#9AA79D; font-family:var(--mono-font); font-weight:700; font-size:13px; border-radius:999px; padding:6px 13px; cursor:pointer; min-height:36px; text-decoration:none; display:inline-flex; align-items:center; justify-content:center; }
.calc .gal a[aria-pressed="true"]{ background:#F2F5F0; color:#0B0D0B; border-color:#F2F5F0; }

/* ---------- Auth (demo look): hero + tabbed card ---------- */
.auth-hero{ margin:28px 2px 0; }
.auth-hero h1{ margin:0; font-size:30px; line-height:1.15; font-weight:800; letter-spacing:-.01em; }
.auth-hero p{ margin:16px 0 0; font-size:15px; line-height:1.55; color:#A9B3A8; }
.auth-card{ margin-top:30px; padding:22px 18px; }
.auth-card .field{ margin-top:20px; }
.auth-card .form-actions{ margin-top:24px; }
.auth-card .link-row{ margin-top:20px; }
.auth-tabs{ display:grid; grid-template-columns:1fr 1fr; gap:4px; background:#0B0D0B; border:1px solid #2E332E; border-radius:999px; padding:4px; margin-bottom:8px; }
.auth-tab{ display:flex; align-items:center; justify-content:center; min-height:44px; border-radius:999px; font-weight:800; font-size:15px; color:#9AA79D; text-decoration:none; }
.auth-tab.on{ background:var(--led-green); color:#04140A; box-shadow:0 0 12px rgba(0,230,92,.35); }
.owner-note{ margin-top:12px; text-align:center; font-size:12.5px; color:#9AA79D; line-height:1.5; }
.auth-tag{ margin:30px 0 10px; text-align:center; font-family:var(--mono-font); font-size:15px; color:#9AA79D; letter-spacing:.02em; }

/* ---------- Real camera in the photo modal (replaces the fake sign) ----------
   The video, sign and note are styled in the fullscreen camera block
   above (.cam-view video, .cam-view .sign, .cam-note). ---------- */
#goPhotoFormBtn{ display:block; text-align:center; }

/* ---------- Station card: the name column must never collapse ---------- */
.st-top{ grid-template-columns:38px minmax(0,1fr) minmax(0,170px); }
.st .pricebox{ min-width:0; }
.st .noprice{ overflow-wrap:break-word; }

/* ---------- Tablet (700-1023px): wider frame, 2-column station list ---------- */
@media (min-width:700px) and (max-width:1023px){
  .phone{ max-width:860px; }
  .map{ height:320px; }
  .stations{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
  .bank .bigtime{ font-size:52px; }
  .auth-hero, .auth-card{ max-width:560px; margin-left:auto; margin-right:auto; }
  .app > .panel:not(:has(.tbl-wrap)){ max-width:720px; margin-left:auto; margin-right:auto; }
}

/* ---------- Desktop (1024px+): full-screen web app ---------- */
@media (min-width:1024px){
  body{ align-items:flex-start; padding:0; }
  .phone{ max-width:none; margin:0; border:0; border-radius:0; box-shadow:none; min-height:100dvh; }
  .app{ max-width:1280px; margin:0 auto; padding:22px 32px 48px; display:grid; grid-template-columns:minmax(0,1fr) 360px; gap:20px 32px; align-items:start; }
  .app-head, .userbar, .flash, .app-foot{ grid-column:1 / -1; }
  .bank, .trial{ grid-column:2; }
  .bank{ position:sticky; top:20px; }
  .fuels, .zone-bar, .zone-sub, .map, .list-head, .stations, .calc{ grid-column:1; }
  .plus, .pass{ grid-column:2; }
  .map{ height:460px; }
  .auth-hero, .auth-card{ grid-column:1 / -1; width:100%; max-width:560px; justify-self:center; }
  .app > .panel:not(:has(.tbl-wrap)){ grid-column:1 / -1; width:100%; max-width:720px; justify-self:center; }
  /* The camera modal is fullscreen on desktop too: no padding,
     no 620px column — the camera fills the window. */
  .modal{ background:#000; padding:0; }
  .bank .bigtime{ font-size:54px; }
}

/* Plans button, owner view-as, referrals, install card */
.plans-top-btn{ flex:none; text-decoration:none; font-family:var(--mono-font); font-weight:800; font-size:13px; color:#04140A; background:var(--led-green); border:1.5px solid var(--led-green); border-radius:999px; padding:7px 14px; box-shadow:0 0 12px rgba(0,230,92,.35); }
.view-as-bar{ display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin:0 2px 10px; padding:9px 11px; border:1.5px solid var(--led-yellow); border-radius:13px; background:#141005; color:#FFE45E; font-size:12.5px; font-weight:700; }
.view-as-bar select{ min-height:34px; border-radius:9px; border:1px solid #2E332E; background:#0B0D0B; color:#EEF2ED; font-family:inherit; font-weight:800; padding:5px 8px; }
.view-as-panel{ margin:14px 0; padding:14px; border:1.5px solid var(--led-yellow); border-radius:16px; background:#141005; }
.view-as-panel h3{ margin:0 0 10px; }
.view-as-options{ display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.view-as-options form{ display:contents; }
.plans-screen-title{ margin:2px 2px 14px; font-family:"Barlow Condensed",sans-serif; font-size:30px; text-transform:uppercase; letter-spacing:.04em; }
.referral-card{ margin-top:14px; display:grid; grid-template-columns:minmax(0,1fr) 132px; gap:14px; align-items:center; border:1.5px solid var(--led-yellow); background:#141005; border-radius:16px; padding:14px; box-shadow:0 0 14px rgba(255,214,10,.22), inset 0 0 16px rgba(255,214,10,.07); }
.referral-card h3{ margin:0; font-family:"Barlow Condensed",sans-serif; font-size:23px; line-height:1.05; text-transform:uppercase; color:#fff; }
.referral-card p{ margin:6px 0 0; color:var(--muted); font-size:13.5px; line-height:1.4; }
.referral-card p strong{ color:#EEF2ED; }
.referral-meta{ display:grid; gap:3px; margin-top:9px; color:#C7CFC5; font-family:var(--mono-font); font-size:12px; }
.referral-meta strong{ color:var(--led-yellow); }
.referral-actions{ display:grid; gap:8px; margin-top:11px; }
.referral-actions .btn{ min-height:42px; font-size:13px; padding:9px 10px; }
.referral-qr{ width:132px; height:132px; background:#fff; border-radius:14px; padding:8px; display:grid; place-items:center; overflow:hidden; }
.referral-qr img,.referral-qr canvas{ max-width:100%; max-height:100%; }
.install-home-card{ margin-top:14px; display:grid; grid-template-columns:54px 1fr; gap:12px; align-items:center; border:1.5px solid var(--led-green); background:#07130B; border-radius:16px; padding:14px; box-shadow:0 0 14px rgba(0,230,92,.22), inset 0 0 16px rgba(0,230,92,.07); }
.install-home-card[hidden]{ display:none; }
.install-home-card img{ width:54px; height:54px; border-radius:14px; box-shadow:0 0 18px rgba(255,46,31,.45); }
.install-home-card h3{ margin:0; font-family:"Barlow Condensed",sans-serif; font-size:23px; text-transform:uppercase; color:#fff; }
.install-home-card p{ margin:3px 0 0; color:var(--muted); font-size:13.5px; }
.install-home-card .btn{ grid-column:1 / -1; min-height:44px; }
.referral-pop{ position:fixed; inset:0; z-index:88; display:flex; align-items:center; justify-content:center; padding:14px; background:rgba(0,0,0,.72); backdrop-filter:blur(6px); }
.referral-pop[hidden]{ display:none; }
.referral-scroll{ position:relative; width:min(100%,440px); max-height:94dvh; overflow-y:auto; padding:52px 2px 2px; animation:installIn .28s ease both; }
.referral-scroll .referral-card{ margin-top:0; }
@media (max-width:430px){
  .referral-card{ grid-template-columns:minmax(0,1fr) 116px; gap:10px; padding:12px; }
  .referral-qr{ width:116px; height:116px; }
  .plans-top-btn{ padding:7px 11px; }
}

.referral-copy{ min-width:0; overflow:hidden; }
.referral-card h3,.referral-card p,.referral-meta{ overflow-wrap:anywhere; }
.referral-actions .btn{ width:100%; white-space:normal; }
.referral-scroll .plans-close{ z-index:5; }
.referral-card{ padding-bottom:18px; }
.referral-actions{ margin-bottom:2px; }

/* Header Plans + owner view buttons, LED style */
.plans-top-btn{ text-decoration:none !important; color:#04140A !important; background:var(--led-green); border:2px solid var(--led-green); border-radius:14px; padding:9px 16px; font-family:var(--mono-font); font-weight:800; box-shadow:0 0 16px rgba(0,230,92,.45), inset 0 0 12px rgba(255,255,255,.25); }
.view-as-bar{ display:grid; gap:8px; padding:11px; border:1.5px solid #2E332E; border-radius:16px; background:#101310; color:#EEF2ED; }
.view-as-label{ font-family:var(--mono-font); font-size:12px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; color:var(--muted); }
.view-as-buttons{ display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:7px; }
.view-as-buttons form{ display:contents; }
.view-mode-btn{ width:100%; min-height:46px; padding:8px 4px; border-radius:13px; border:2px solid var(--led-red); background:#180706; color:var(--led-red); font-family:var(--mono-font); font-size:13px; font-weight:800; cursor:pointer; box-shadow:0 0 12px rgba(255,46,31,.28), inset 0 0 12px rgba(255,46,31,.12); }
.view-mode-btn.selected{ border-color:var(--led-green); background:#07130B; color:var(--led-green); box-shadow:0 0 14px rgba(0,230,92,.4), inset 0 0 12px rgba(0,230,92,.14); }
.view-as-options{ grid-template-columns:repeat(4,minmax(0,1fr)); }
.photo-price-grid{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; }
.photo-previews{ display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:12px 0; }
.photo-previews .photo-preview{ margin:0; }
@media (max-width:560px){ .photo-price-grid{ grid-template-columns:1fr; } }
.reach-pop{ position:fixed; inset:0; z-index:96; display:flex; align-items:center; justify-content:center; padding:18px; background:rgba(0,0,0,.72); backdrop-filter:blur(6px); }
.reach-pop[hidden]{ display:none; }
.reach-card{ position:relative; width:min(100%,420px); text-align:center; background:#101310; border:1.5px solid var(--led-green); border-radius:22px; padding:28px 22px 22px; box-shadow:0 0 24px rgba(0,230,92,.25); }
.reach-card .plans-close{ top:-22px; right:2px; }
.reach-card img{ width:76px; height:76px; border-radius:20px; }
.reach-card strong{ display:block; margin-top:14px; font-size:24px; line-height:1.15; color:#fff; }
.reach-card p{ color:var(--muted); line-height:1.45; }
.reach-card form{ display:grid; gap:10px; text-align:left; }
.reach-card input[type="email"]{ width:100%; min-height:50px; border-radius:13px; border:1.5px solid #2E332E; background:#0B0D0B; color:#fff; padding:12px 14px; font-size:16px; }
.reach-stats{ display:grid; grid-template-columns:repeat(auto-fit,minmax(120px,1fr)); gap:10px; margin:14px 0; }
.reach-stats div{ border:1px solid #2E332E; border-radius:16px; padding:14px; background:#101310; }
.reach-stats strong{ display:block; font-size:28px; color:var(--led-green); }
.reach-stats span{ color:var(--muted); font-size:13px; }
.reach-map{ height:460px; border-radius:18px; overflow:hidden; border:1px solid #2E332E; margin:14px 0 22px; }

/* Plans screen: polished stack + referral embedded exactly like its popup */
.plans-screen{ grid-column:1 / -1; width:min(100%,760px); margin:0 auto; display:grid; gap:14px; }
.plans-screen-title{ margin:4px 2px 2px; font-size:34px; letter-spacing:.05em; }
.plans-screen > .plus{ margin-top:0; border-radius:20px; padding:18px; }
.plans-screen .plus-head .pt{ font-size:26px; }
.plans-screen .plus-head .pp{ font-size:20px; }
.plans-screen .plus p{ font-size:14.5px; }
.plans-screen .plus-actions .btn{ min-height:50px; font-size:15px; }
.plans-referral-embed{ display:flex; justify-content:center; padding:14px; border:1px solid #2E332E; border-radius:22px; background:radial-gradient(circle at 50% 0%, rgba(255,214,10,.10), transparent 58%), rgba(0,0,0,.58); box-shadow:inset 0 0 28px rgba(0,0,0,.55); }
.plans-referral-embed .referral-card{ width:min(100%,440px); margin-top:0; }
.plans-screen .install-home-card{ margin-top:0; border-radius:20px; padding:16px; }
@media (max-width:560px){
  .plans-screen{ gap:12px; }
  .plans-screen-title{ font-size:30px; }
  .plans-screen > .plus{ padding:15px; }
  .plans-referral-embed{ padding:10px; border-radius:20px; }
}
.plans-install-embed{ display:flex; justify-content:center; padding:14px; border:1px solid #2E332E; border-radius:22px; background:radial-gradient(circle at 50% 0%, rgba(0,230,92,.10), transparent 58%), rgba(0,0,0,.58); box-shadow:inset 0 0 28px rgba(0,0,0,.55); }
.plans-install-embed .install-card{ width:min(100%,380px); }
.plans-install-embed .install-card[hidden]{ display:none; }
@media (max-width:560px){ .plans-install-embed{ padding:10px; border-radius:20px; } }
.home-end-embed{ grid-column:1 / -1; margin-top:14px; }
.referral-qr img{ display:block; width:116px; height:116px; }

.referral-qr{ box-sizing:border-box; padding:6px; overflow:visible; }
.referral-qr img,.referral-qr canvas{ width:104px !important; height:104px !important; max-width:104px; max-height:104px; }
.referral-qr{ border:0; cursor:pointer; font:inherit; }
.qr-fullscreen{ position:fixed; inset:0; z-index:120; background:#000; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:10px; padding:20px 16px; }
.qr-fullscreen[hidden]{ display:none; }
.qr-fullscreen canvas{ width:min(92vw,520px); max-height:calc(100dvh - 150px); height:auto; object-fit:contain; border-radius:18px; box-shadow:0 0 34px rgba(0,230,92,.28); }
.qr-fullscreen-close{ position:relative; align-self:flex-end; margin-right:calc((100vw - min(92vw,520px)) / 2 - 16px); margin-bottom:-4px; z-index:2; }
.qr-download-btn{ width:min(92vw,520px); min-height:52px; font-size:17px; }
.user-type-filters{ margin:4px 0 14px; }
.tbl .pill{ white-space:nowrap; }
.photo-price-dot{ display:inline-block; width:9px; height:9px; border-radius:50%; background:#FFD400; box-shadow:0 0 7px rgba(255,212,0,.9); vertical-align:middle; }
.admin-price-cell small{ display:block; color:#9AA79D; font-size:11px; margin-top:2px; white-space:nowrap; }
.map-photo-dot{ margin-left:4px; }
.remember-row{ display:flex; align-items:center; gap:10px; margin:18px 0 4px; color:var(--muted); font-size:15px; cursor:pointer; }
.remember-row input{ width:20px; height:20px; min-height:0; accent-color:var(--led-green); }

/* ---------- First-entry guided tour ---------- */
.tour-overlay{ position:fixed; inset:0; z-index:1000; background:rgba(0,0,0,.68); }
.tour-highlight{
  position:relative !important;
  z-index:1001 !important;
  outline:4px solid #FFD400 !important;
  outline-offset:4px;
  box-shadow:0 0 0 7px rgba(255,212,0,.28), 0 0 34px rgba(255,212,0,.75) !important;
  border-radius:16px;
}
.tour-dialog{
  position:fixed; z-index:1002; left:50%; bottom:max(34px, calc(env(safe-area-inset-bottom) + 20px));
  transform:translateX(-50%); width:min(430px, calc(100vw - 24px));
  max-height:min(48vh, 400px); overflow:auto;
  background:#101410; color:var(--ink); border:2px solid #FFD400; border-radius:20px;
  padding:18px; box-shadow:0 18px 55px rgba(0,0,0,.65), 0 0 28px rgba(255,212,0,.28);
}
.tour-progress{ color:#FFD400; font-family:var(--mono-font); font-size:12px; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.tour-dialog h2{ margin:6px 0 7px; font-size:22px; line-height:1.15; }
.tour-dialog p{ margin:0; color:#D8DED6; font-size:14.5px; line-height:1.5; }
.tour-actions{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:15px; }
.tour-dialog [hidden]{ display:none !important; }
.tour-skip{ border:0; background:transparent; color:#FFD400; font:inherit; font-size:14px; font-weight:700; text-decoration:underline; padding:10px 2px; cursor:pointer; }
.tour-nav{ display:flex; gap:8px; margin-left:auto; }
.tour-nav .btn{ min-height:44px; padding:10px 16px; }
@media (max-width:430px){
  .tour-dialog{ padding:15px; }
  .tour-skip{ font-size:13px; white-space:nowrap; }
  .tour-nav .btn{ padding:10px 13px; }
}

/* ---------- Worth-the-trip vehicle + tank selectors ---------- */
.calc{ margin-top:16px; }
.calc-label{ margin:14px 0 7px; font-family:var(--mono-font); font-size:11.5px; font-weight:700; letter-spacing:.09em; text-transform:uppercase; color:#C7CFC5; }
.calc-choice-row{ display:grid; gap:7px; }
.calc-choice-row.vehicle-row{ grid-template-columns:repeat(5, minmax(0,1fr)); }
.calc-choice-row.tank-row{ grid-template-columns:repeat(4, minmax(0,1fr)); }
.calc-choice-row.vehicle-row a{ font-size:10px; letter-spacing:-.2px; white-space:nowrap; }
.calc-choice-row a{
  min-height:46px; padding:4px 2px 3px; border-radius:11px; text-decoration:none;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:1px;
  background:#160505; color:#FF6B5F; border:1.5px solid #FF2E1F;
  box-shadow:inset 0 0 14px rgba(255,46,31,.10);
  font-size:11px; font-weight:800; line-height:1.1; text-align:center;
}
.calc-choice-row a svg{ flex:0 0 auto; }
.calc-choice-row a .vehicle-icon{ width:36px; height:21px; }
.calc-choice-row a .tank-icon{ width:52px; height:27px; }
.tank-low{ stroke:#FF2E1F; }
.vehicle-window{ fill:#0B0D0B; opacity:.88; }
.calc-choice-row a[aria-pressed="true"]{
  background:#07130B; color:var(--led-green); border-color:var(--led-green);
  box-shadow:0 0 14px rgba(0,230,92,.28), inset 0 0 14px rgba(0,230,92,.10);
}
.calc-estimate{ margin-top:12px !important; color:#EEF2ED !important; font-family:var(--mono-font); font-size:16.5px !important; font-weight:800; line-height:1.35; }
@media (max-width:380px){
  .calc-choice-row a{ font-size:10.5px; }
  .calc-choice-row a .vehicle-icon{ width:32px; }
}
