/* Charge Compare: near-black, monochrome, green only for the winner. Dark by design (used in a car, day and night). */
:root {
  --bg: #000;
  --surface: #0e0e10;
  --surface-2: #17171a;
  --surface-3: #202024;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .18);
  --text: #f5f5f7;
  --text-2: #bcbcc2;       /* secondary text: 10:1 on --surface */
  --text-3: #8e8e93;       /* labels, hints, placeholders: >= 5:1 on every surface */
  --white: #fff;
  --green: #32d74b;
  --green-dim: rgba(50, 215, 75, .14);
  --amber: #ffd60a;
  --amber-dim: rgba(255, 214, 10, .12);
  --red: #ff6961;
  --focus: #f5f5f7;
  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --tap: 44px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color-scheme: dark;
  accent-color: var(--white);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; background: var(--bg); }
body {
  color: var(--text);
  font: 400 16px/1.45 var(--font);
  font-feature-settings: "tnum" 1, "cv11" 1;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(100px + env(safe-area-inset-bottom));
  caret-color: var(--green);
  scrollbar-color: var(--surface-3) var(--bg);
}
::selection { background: var(--green-dim); color: var(--white); }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 4px; }
::-webkit-scrollbar-track { background: transparent; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
p { margin: 0; }
.hidden { display: none !important; }

/* ---- focus: always visible on keyboard, never on tap ---- */
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 8px; }
input:focus-visible, select:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; }

/* ---- top bar ---- */
.topbar {
  position: sticky; top: 0; z-index: 5;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: calc(12px + env(safe-area-inset-top)) 16px 12px;
}
.topbar-in { max-width: 640px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.logo { width: 36px; height: 36px; border-radius: 10px; display: block; box-shadow: 0 0 0 1px var(--line); }
.brand h1 { font-size: 20px; font-weight: 600; margin: 0; line-height: 1.15; letter-spacing: -.015em; }
.brand .sub { font-size: 13px; color: var(--text-3); margin-top: 2px; }

main { max-width: 640px; margin: 0 auto; padding: 12px 16px 24px; display: flex; flex-direction: column; gap: 12px; }

/* ---- type ---- */
h2 { font-size: 13px; font-weight: 600; margin: 0 0 16px; text-transform: uppercase; letter-spacing: .09em; color: var(--text-3); }
h3 { font-size: 15px; font-weight: 600; margin: 20px 0 8px; color: var(--text-2); }
.sub-h { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .09em; color: var(--text-3); margin: 20px 0 8px; }
.hint { font-size: 14px; color: var(--text-3); margin-top: 8px; line-height: 1.45; }
.hint b { color: var(--text-2); font-weight: 500; }
.warn-t { color: var(--amber) !important; }
.foot { font-size: 13px; color: var(--text-3); text-align: center; margin: 12px 8px 0; line-height: 1.5; }

/* ---- cards ---- */
.card { background: var(--surface); border-radius: var(--r-lg); padding: 20px 18px; }
.card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.card-head h2 { margin: 0; }

/* ---- fields ---- */
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--text-3); flex: 1; min-width: 0; }
input[type=text], input[type=number], input[type=password], input[type=time], select, .autocomplete-slot gmp-place-autocomplete {
  width: 100%; height: 48px;
  font: 400 16px var(--font); color: var(--text);
  padding: 0 14px;
  border: 1px solid transparent; border-radius: var(--r-md);
  background: var(--surface-2);
  transition: border-color .15s, background .15s;
  -webkit-appearance: none; appearance: none;
}
input::placeholder { color: var(--text-3); opacity: 1; }
input:focus, select:focus { border-color: var(--line-strong); background: var(--surface-3); }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }
input[type=time] { color-scheme: dark; }
.select { position: relative; display: block; }
.select.grow { flex: 1; }
.select select { padding-right: 38px; cursor: pointer; text-overflow: ellipsis; }
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 8px; height: 8px; border-right: 1.6px solid var(--text-3); border-bottom: 1.6px solid var(--text-3); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.row { display: flex; gap: 10px; align-items: flex-end; flex-wrap: wrap; }
.row.two > * { flex: 1 1 calc(50% - 5px); }
.row.three > * { flex: 1 1 calc(33.33% - 7px); }
.row > input, .row > .autocomplete-slot { flex: 1; }
.check { flex-direction: row; align-items: center; gap: 12px; min-height: var(--tap); color: var(--text-2); font-size: 15px; font-weight: 400; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; appearance: none; -webkit-appearance: none; border-radius: 7px; border: 1.5px solid var(--text-3); background: var(--surface-2); position: relative; flex: none; }
.check input:checked { background: var(--white); border-color: var(--white); }
.check input:checked::after { content: ""; position: absolute; left: 6.5px; top: 2.5px; width: 5px; height: 10px; border-right: 2px solid #000; border-bottom: 2px solid #000; transform: rotate(45deg); }

input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: var(--tap); background: transparent; margin: 0; cursor: pointer; touch-action: pan-y; }
input[type=range]::-webkit-slider-runnable-track { height: 4px; border-radius: 2px; background: var(--surface-3); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11px; border-radius: 50%; background: var(--white); box-shadow: 0 2px 8px rgba(0, 0, 0, .6); }
input[type=range]::-moz-range-track { height: 4px; border-radius: 2px; background: var(--surface-3); }
input[type=range]::-moz-range-thumb { width: 26px; height: 26px; border: none; border-radius: 50%; background: var(--white); }

/* ---- disclosure: every summary is a full-height tap target ---- */
details > summary { list-style: none; cursor: pointer; }
details summary::-webkit-details-marker { display: none; }
details.more, details.manual, details.o-more { margin-top: 4px; }
details.more > summary, details.manual > summary, details.o-more > summary {
  min-height: var(--tap); display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--text-2);
}
details.more > summary::before, details.manual > summary::before, details.o-more > summary::before {
  content: ""; width: 6px; height: 6px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(-45deg); transition: transform .2s var(--ease);
}
details[open].more > summary::before, details[open].manual > summary::before, details[open].o-more > summary::before { transform: rotate(45deg); }
details.more > .row, details.more > label, details.more .wk-wrap, details.manual > .row { margin-top: 10px; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 500 15px var(--font);
  min-height: var(--tap); padding: 0 18px; border-radius: var(--r-md); border: none;
  background: var(--surface-2); color: var(--text); cursor: pointer; text-decoration: none;
  transition: transform .12s var(--ease), background .15s, opacity .15s;
}
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--white); color: #000; font-weight: 600; }
.btn.secondary { background: var(--surface-2); }
.btn.ghost { background: transparent; color: var(--text-2); }
.btn.small { padding: 0 14px; font-size: 14px; gap: 6px; }
.btn.small svg, .btn svg { width: 17px; height: 17px; }
.btn.wide { width: 100%; }
.btn.big { width: 100%; min-height: 56px; font-size: 17px; border-radius: 16px; }
.btn:disabled { opacity: .5; cursor: default; transform: none; }
@media (hover: hover) {
  .btn.primary:hover { background: #e4e4e9; }
  .btn.secondary:hover { background: var(--surface-3); }
  .btn.ghost:hover { background: var(--surface-2); }
  .icon-btn:hover { background: var(--surface-2); color: var(--text); }
}
.icon-btn { display: grid; place-items: center; width: var(--tap); height: var(--tap); background: none; border: none; color: var(--text-2); cursor: pointer; border-radius: 12px; flex: none; }
.link-btn { font: inherit; background: none; border: none; color: var(--text-2); cursor: pointer; padding: 10px 4px; margin: -10px 0; text-decoration: underline; text-underline-offset: 3px; }

.actionbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 6;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(0, 0, 0, .96) 60%, rgba(0, 0, 0, 0));
}
.actionbar .btn { max-width: 608px; margin: 0 auto; display: flex; box-shadow: 0 10px 30px rgba(0, 0, 0, .6); }

.banner { display: flex; align-items: center; gap: 12px; background: var(--surface); border-radius: var(--r-lg); padding: 12px 12px 12px 16px; font-size: 14px; color: var(--text-2); line-height: 1.45; border: 1px solid var(--line); }
.banner strong { color: var(--text); font-weight: 600; }
.banner .btn { flex: none; }
.pill { display: inline-block; background: var(--surface-3); color: var(--text-2); border-radius: 999px; padding: 1px 8px; font-size: 12px; margin-left: 6px; letter-spacing: 0; vertical-align: 1px; }
.pill:empty { display: none; }

/* ---- this trip ---- */
.soc-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: start; }
.soc { gap: 2px; }
.soc .lbl { font-size: 13px; color: var(--text-3); font-weight: 500; }
.soc .big { display: flex; align-items: baseline; gap: 2px; }
.soc .big input { height: auto; width: 2.4ch; min-width: 1.4ch; padding: 0; background: transparent; border: none; border-radius: 6px; font-size: 44px; font-weight: 300; letter-spacing: -.03em; line-height: 1.1; color: var(--text); }
.soc .big input:focus { background: transparent; }
.soc .unit { font-size: 22px; font-weight: 300; color: var(--text-3); }
.soc-arrow { width: 22px; height: 22px; color: var(--text-3); align-self: center; margin-top: 10px; }
.gbal { margin-top: 16px; }
.gbal .hint { margin-top: 6px; }
.seg { display: flex; background: var(--surface-2); border-radius: 12px; padding: 3px; gap: 3px; margin-top: 20px; }
.seg button { flex: 1; font: 500 14px var(--font); min-height: var(--tap); border: none; border-radius: 9px; background: transparent; color: var(--text-2); cursor: pointer; transition: background .15s, color .15s; }
.seg button.on { background: var(--surface-3); color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, .4); }
.origin { display: flex; flex-direction: column; gap: 8px; margin-top: 16px; }
.origin .hint { margin-top: 0; }
.trip details.more { margin-top: 8px; }

/* ---- charger slots ---- */
.slot { background: var(--surface-2); border-radius: var(--r-md); padding: 12px; margin-bottom: 10px; }
.slot:last-child { margin-bottom: 0; }
.slot.invalid { box-shadow: inset 0 0 0 1px var(--amber); }
.slot input, .slot select, .slot .autocomplete-slot gmp-place-autocomplete, .slot input[type=time] { background: var(--surface-3); }
.slot .check input { background: var(--surface-3); }
.slot .check input:checked { background: var(--white); }
.slot-line { display: none; width: 100%; align-items: center; gap: 12px; min-height: var(--tap); padding: 2px 4px; background: none; border: none; color: inherit; font: inherit; text-align: left; cursor: pointer; border-radius: 10px; }
.slot.collapsed .slot-line { display: flex; }
.slot.collapsed .slot-body { display: none; }
.sl-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sl-name { font-weight: 600; font-size: 16px; line-height: 1.3; overflow-wrap: anywhere; }
.sl-meta { font-size: 14px; color: var(--text-3); line-height: 1.4; }
.sl-edit { flex: none; font-size: 14px; font-weight: 500; color: var(--text-2); padding: 10px 12px; border-radius: 10px; background: var(--surface-3); }
.slot-head { display: flex; gap: 6px; align-items: center; }
.slot-head select { font-weight: 500; }
.slot-custom { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.slot-summary { font-size: 14px; color: var(--text-3); margin-top: 10px; line-height: 1.5; }
.slot-summary:empty { display: none; }
.slot-summary b { color: var(--text); font-weight: 500; }
.slot-editfav { margin-top: 6px; padding-left: 0; }
.slot-foot { display: flex; justify-content: flex-end; margin-top: 8px; }
.slot-foot .btn { background: var(--surface-3); min-width: 88px; }
.slot-err { color: var(--amber); font-size: 14px; margin: 2px 4px 10px; }
.tag { display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: var(--green-dim); color: var(--green); vertical-align: middle; white-space: nowrap; }
.tag.type { background: var(--surface-3); color: var(--text-2); font-weight: 500; }
.tag.src { background: var(--surface-3); color: var(--text-3); font-weight: 500; }

/* ---- saved chargers ---- */
#favDetails > summary, #histDetails > summary { display: flex; align-items: center; justify-content: space-between; min-height: var(--tap); }
#favDetails > summary h2, #histDetails > summary h2 { margin: 0; }
details .chev { color: var(--text-3); transition: transform .25s var(--ease); }
details[open] > summary .chev { transform: rotate(180deg); }
.fav-list { display: flex; flex-direction: column; gap: 8px; margin: 12px 0 6px; }
.fav-item { display: flex; gap: 4px; align-items: center; background: var(--surface-2); border-radius: var(--r-md); padding: 8px 4px 8px 14px; }
.fav-item .meta { flex: 1; min-width: 0; }
.fav-item .name { font-weight: 500; font-size: 15px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.fav-item .detail { font-size: 13px; color: var(--text-3); margin-top: 2px; line-height: 1.4; }
.fav-form { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--line); padding-top: 6px; margin-top: 10px; }
.fav-form h3 { margin-top: 10px; }

/* ---- the answer ---- */
#results { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 80px; position: relative; }
#results.stale .answer, #results.stale .opts { opacity: .4; filter: saturate(0); transition: opacity .2s, filter .2s; }
#results.stale a.btn, #results.stale [data-log] { pointer-events: none; }
/* status floats over the top of the answer so nothing below it moves */
.r-status { position: absolute; top: 12px; right: 12px; z-index: 2; max-width: calc(100% - 24px); font-size: 14px; font-weight: 500; color: var(--text); background: var(--surface-3); border-radius: 999px; padding: 8px 14px; box-shadow: 0 4px 16px rgba(0, 0, 0, .5); }
.r-status.warn { color: #000; background: var(--amber); border-radius: var(--r-md); }
.answer { background: var(--surface); border-radius: var(--r-lg); padding: 22px 20px; box-shadow: inset 0 0 0 1px var(--line); }
.answer.warn { box-shadow: inset 0 0 0 1px rgba(255, 214, 10, .45); }
.answer.bad { box-shadow: inset 0 0 0 1px rgba(255, 105, 97, .45); }
.a-title { font-size: 26px; font-weight: 600; text-transform: none; letter-spacing: -.02em; color: var(--text); margin: 0; line-height: 1.2; text-wrap: balance; }
.a-title span { font-weight: 400; color: var(--text-2); }
.answer.warn .a-title span { color: var(--amber); }
.a-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.stat { background: var(--surface-2); border-radius: var(--r-md); padding: 14px; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.stat .v { font-size: clamp(26px, 7.4vw, 34px); font-weight: 300; letter-spacing: -.03em; line-height: 1.05; white-space: nowrap; }
.stat .k { font-size: 13px; color: var(--text-3); line-height: 1.35; }
.stat.good .v { color: var(--green); }
.stat.amber .v { color: var(--amber); }
.a-why { font-size: 16px; color: var(--text); font-weight: 500; margin-top: 16px; line-height: 1.45; }
.a-meta { font-size: 14px; color: var(--text-2); margin-top: 12px; line-height: 1.5; }
.a-meta b { color: var(--text); font-weight: 600; }
.vs { margin-top: 14px; border-radius: var(--r-md); background: var(--surface-2); padding: 4px 14px; }
.vs-row { display: grid; grid-template-columns: 1fr auto; gap: 0 12px; padding: 10px 0; font-size: 14px; color: var(--text-2); }
.vs-row + .vs-row { border-top: 1px solid var(--line); }
.vs-row.me { color: var(--text); }
.vs-n { grid-column: 1 / -1; font-weight: 600; overflow-wrap: anywhere; }
.vs-row.me .vs-n { color: var(--green); }
.answer.warn .vs-row.me .vs-n { color: var(--amber); }
.vs-t { text-align: right; white-space: nowrap; }
.a-more { margin-top: 6px; }
.answer .btn:disabled, .opt .btn:disabled { opacity: .6; }
.near-stale { color: var(--amber); margin-top: 12px; }
.a-list { margin: 12px 0 0; padding-left: 20px; color: var(--text-2); font-size: 15px; display: flex; flex-direction: column; gap: 6px; }
.v-act { display: flex; gap: 8px; margin-top: 18px; }
.v-act .btn { flex: 1; }

/* ---- option cards (comparison and nearby) ---- */
.opts { background: var(--surface); border-radius: var(--r-lg); padding: 20px 18px; display: flex; flex-direction: column; gap: 10px; }
.opts h2 { margin-bottom: 4px; }
.opt { background: var(--surface-2); border-radius: var(--r-md); padding: 14px; }
.opt.best { box-shadow: inset 0 0 0 1px var(--green); }
.opt.tight { box-shadow: inset 0 0 0 1px rgba(255, 214, 10, .35); }
.opt.best.tight .o-rm { color: var(--amber); }
.opt.dim .o-n, .opt.dim .o-rm { color: var(--text-3); }
.o-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.o-n { font-size: 16px; font-weight: 600; color: var(--text); margin: 0; line-height: 1.3; min-width: 0; overflow-wrap: anywhere; }
.o-rm { font-size: 22px; font-weight: 300; letter-spacing: -.02em; white-space: nowrap; }
.o-rm small { font-size: 13px; color: var(--text-3); margin-left: 2px; letter-spacing: 0; }
.opt.best .o-rm { color: var(--green); }
.o-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.o-out { font-size: 15px; font-weight: 500; color: var(--text); margin-top: 10px; }
.o-sub { font-size: 14px; color: var(--text-2); margin-top: 2px; line-height: 1.45; }
.o-flag { font-size: 14px; color: var(--amber); margin-top: 8px; }
.o-line { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.o-line:first-of-type { margin-top: 6px; }
.o-line span { color: var(--text-2); }
.o-line b { font-weight: 500; text-align: right; }
.o-line small { grid-column: 1 / -1; color: var(--text-3); font-size: 13px; line-height: 1.4; }
.o-line.sum { border-top-color: var(--line-strong); }
.o-line.sum b { font-weight: 600; }
.o-foot { margin-top: 12px; display: flex; flex-direction: column; gap: 2px; }
.opt .btn.secondary { background: var(--surface-3); }
.o-nav { width: 100%; }
.o-log { width: 100%; margin-top: 8px; }
.near-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.near-actions { display: flex; margin-top: 12px; }
.near-actions .btn { flex: 1; }

@media (prefers-reduced-motion: no-preference) {
  /* content is visible from the first frame; the motion is only a short settle */
  #results > .answer, #results > .opts { animation: rise .4s var(--ease); }
  @keyframes rise { from { transform: translateY(8px); } to { transform: none; } }
}

/* ---- history ---- */
.hist-list { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }
.hist { background: var(--surface-2); border-radius: var(--r-md); padding: 12px 14px; }
.hist .top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.hist .n { font-weight: 600; }
.hist .dt { font-size: 13px; color: var(--text-3); white-space: nowrap; }
.hist .pred { font-size: 13px; color: var(--text-2); margin-top: 4px; line-height: 1.45; }
.hist .act { display: grid; grid-template-columns: 1fr 1fr auto; gap: 8px; margin-top: 10px; align-items: end; }
.hist .act input { height: 44px; background: var(--surface-3); }
.hist .diff { font-size: 13px; margin-top: 8px; color: var(--text-2); }
.hist .diff b { color: var(--text); font-weight: 500; }
.cal-row { display: flex; flex-direction: column; gap: 8px; margin-top: 10px; }

/* ---- settings ---- */
dialog { border: none; border-radius: 24px; background: var(--surface); color: var(--text); padding: 20px; width: min(560px, calc(100vw - 24px)); max-height: 92vh; }
dialog::backdrop { background: rgba(0, 0, 0, .78); }
dialog form { display: flex; flex-direction: column; gap: 8px; }
dialog .card-head { margin-bottom: 4px; }
.dlg-title { font-size: 22px; font-weight: 600; text-transform: none; letter-spacing: -.01em; color: var(--text); }
dialog h3:first-of-type { margin-top: 6px; }
.dlg-actions { margin-top: 18px; }
.dlg-actions .btn { flex: 1; }
.keyrow { flex-wrap: nowrap; align-items: stretch; margin-top: 0; }
.keyrow input { flex: 1; min-width: 0; font-size: 15px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.keyrow .btn { flex: none; }
.diag { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.diag b { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.diag b svg { width: 16px; height: 16px; }
.diag span { color: var(--text-2); overflow-wrap: anywhere; }
.diag.ok b { color: var(--green); }
.diag.bad b { color: var(--red); }
.op-table { display: grid; grid-template-columns: 1fr 88px 88px; gap: 6px 10px; align-items: center; font-size: 14px; }
.op-table .h { color: var(--text-3); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.op-table .n { color: var(--text-2); }
.op-table input { height: 44px; padding: 0 10px; font-size: 16px; text-align: right; }

/* ---- Google autocomplete widget ---- */
gmp-place-autocomplete { color-scheme: dark; --gmp-mat-color-surface: var(--surface-2); --gmp-mat-color-on-surface: var(--text); --gmp-mat-color-on-surface-variant: var(--text-2); --gmp-mat-color-primary: var(--green); --gmp-mat-color-outline: var(--line-strong); --gmp-mat-color-neutral-container: var(--surface-3); --gmp-mat-color-on-neutral-container: var(--text); --gmp-mat-color-info: var(--text-2); }

/* ---- toast ---- */
#toast { position: fixed; left: 50%; bottom: calc(96px + env(safe-area-inset-bottom)); transform: translateX(-50%); display: none; align-items: center; gap: 12px; background: var(--text); color: #000; padding: 6px 6px 6px 16px; min-height: 48px; border-radius: 14px; font-size: 15px; font-weight: 500; z-index: 99; max-width: calc(100vw - 32px); width: max-content; box-shadow: 0 8px 30px rgba(0, 0, 0, .6); }
#toast span { padding: 6px 0; }
#toast .toast-act { font: 600 15px var(--font); background: #000; color: var(--white); border: none; border-radius: 10px; min-height: 40px; padding: 0 14px; cursor: pointer; flex: none; }

@media (min-width: 480px) { .soc .big input { font-size: 52px; } }
