/* Laadpaal — the Oceanco design language (near-black header, white content, slate accent, thin uppercase sans with
   wide tracking), made for a phone: a full-screen map with a bottom sheet. Light by default, dark on request. */
:root {
  --paper: #ffffff;
  --surface: #ffffff;
  --mist: #f4f4f2;
  --line: #d9d9d9;
  --hair: #eeeeee;
  --rule-strong: #191919;
  --ink: #191919;
  --ink-2: #313d47;
  --grey-2: #6c6d70;
  --slate: #53668f;
  --focus: #53668f;
  --on-ink: #ffffff;
  --night: #0e1114;
  --pill-ok: #2f6b45; --pill-ok-bg: rgba(127,163,138,.22);
  --pill-warning: #935709; --pill-warning-bg: rgba(242,161,57,.18);
  --pill-critical: #b3262d; --pill-critical-bg: rgba(224,72,79,.14);
  --pill-neutral: #55575a; --pill-neutral-bg: rgba(141,142,145,.16);
  --best: #2f6b45;
  --glass: rgba(255,255,255,.94);
  --shadow: 0 2px 18px rgba(14,17,20,.16);
  --sans: "Montserrat", "Gotham", Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --header-h: calc(56px + env(safe-area-inset-top));
  --icon-sun: none; --icon-moon: block;
}
@media screen {
  :root[data-theme="dark"] {
    color-scheme: dark;
    --paper: #0f1317; --surface: #161b21; --mist: #1c2229; --line: rgba(255,255,255,.14); --hair: rgba(255,255,255,.10);
    --rule-strong: rgba(255,255,255,.55); --ink: #e8eaed; --ink-2: #b4b9c0; --grey-2: #9aa0a8; --slate: #8fa3cc; --focus: #8fa3cc;
    --on-ink: #0f1317; --pill-ok: #9fc7aa; --pill-ok-bg: rgba(127,163,138,.18); --pill-warning: #f2b766; --pill-warning-bg: rgba(242,161,57,.16);
    --pill-critical: #ff858a; --pill-critical-bg: rgba(224,72,79,.18); --pill-neutral: #b9babc; --pill-neutral-bg: rgba(141,142,145,.18);
    --best: #9fc7aa; --glass: rgba(22,27,33,.94); --shadow: 0 2px 18px rgba(0,0,0,.5);
    --icon-sun: block; --icon-moon: none;
  }
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; height: 100%; overflow: hidden; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; overscroll-behavior: none; }
button, select, input { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.caps { text-transform: uppercase; letter-spacing: .22em; font-size: 11px; font-weight: 500; }
.muted { color: var(--grey-2); }
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12px; }
.num { font-variant-numeric: tabular-nums; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; height: var(--header-h); padding: env(safe-area-inset-top) 16px 0; z-index: 1000; display: flex; align-items: center; justify-content: space-between; background: rgba(14,17,20,.94); color: #fff; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.brand { display: flex; align-items: baseline; gap: 12px; text-decoration: none; color: inherit; min-width: 0; }
.brand .word { font-size: 17px; letter-spacing: .38em; font-weight: 400; }
.brand .sub { font-size: 9px; letter-spacing: .28em; text-transform: uppercase; opacity: .75; white-space: nowrap; }
@media (max-width: 440px) { .brand .sub { display: none; } }
.head-actions { display: flex; gap: 6px; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.28); background: transparent; color: #fff; display: grid; place-items: center; padding: 0; }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.theme-btn .i-sun { display: var(--icon-sun); }
.theme-btn .i-moon { display: var(--icon-moon); }

/* ---------- map ---------- */
#map { position: fixed; inset: var(--header-h) 0 0 0; z-index: 1; background: var(--mist); }
.leaflet-container { font-family: var(--sans); background: var(--mist); }
.leaflet-control-attribution { font-size: 9px; }
.leaflet-top { top: 104px; }
.leaflet-control-zoom { display: none; }

.filters { position: fixed; top: calc(var(--header-h) + 60px); left: 0; right: 0; z-index: 900; display: flex; gap: 6px; padding: 0 12px; overflow-x: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1px solid var(--line); background: var(--glass); color: var(--ink); padding: 7px 13px; border-radius: 999px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; box-shadow: var(--shadow); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.chip.select { display: flex; align-items: center; padding: 0 6px 0 10px; }
.chip select { border: 0; background: transparent; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; padding: 7px 2px; -webkit-appearance: none; appearance: none; }

.map-btn { position: fixed; right: 12px; z-index: 900; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--glass); color: var(--ink); display: grid; place-items: center; box-shadow: var(--shadow); padding: 0; transition: bottom .35s var(--ease); }
.map-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.map-btn.following { color: var(--slate); border-color: var(--slate); }
.locate { bottom: calc(var(--sheet-visible, 200px) + 12px); }
.search-here { position: fixed; top: calc(var(--header-h) + 106px); left: 50%; transform: translateX(-50%); z-index: 900; border: 0; border-radius: 999px; background: var(--ink); color: var(--on-ink); padding: 9px 18px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; box-shadow: var(--shadow); }
.toast { position: fixed; left: 12px; right: 12px; top: calc(var(--header-h) + 106px); z-index: 950; background: var(--ink); color: var(--on-ink); padding: 10px 14px; border-radius: 10px; font-size: 13px; box-shadow: var(--shadow); }

/* markers */
.pin-wrap { background: none; border: 0; }
.pin { display: inline-block; transform: translate(-50%, -100%); white-space: nowrap; background: var(--surface); color: var(--ink); border: 1px solid var(--rule-strong); border-radius: 6px; padding: 2px 6px; font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; box-shadow: 0 1px 6px rgba(0,0,0,.25); position: relative; }
.pin::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 8px; height: 8px; background: inherit; border-right: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); transform: translateX(-50%) rotate(45deg); }
.pin.best { background: var(--best); color: #fff; border-color: var(--best); }
:root[data-theme="dark"] .pin.best { color: #0f1317; }
.pin.busy { opacity: .62; }
.pin.sel { outline: 3px solid var(--slate); outline-offset: 1px; z-index: 2; }
.dot { display: block; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; border: 2px solid #fff; background: #53668f; box-shadow: 0 0 0 1px rgba(0,0,0,.35); }
.dot.busy { background: #a7a8aa; }
.dot.noprice { background: #fff; border-color: #53668f; }
.dot.sel { outline: 3px solid var(--slate); }
.me { width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: #1e7cf2; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(30,124,242,.22), 0 1px 4px rgba(0,0,0,.4); }

/* ---------- bottom sheet ---------- */
.sheet { position: fixed; left: 0; right: 0; bottom: 0; z-index: 920; height: calc(100dvh - var(--header-h) - 8px); background: var(--surface); border-radius: 16px 16px 0 0; box-shadow: 0 -4px 24px rgba(0,0,0,.18); display: flex; flex-direction: column; transform: translateY(var(--sheet-y, 60%)); transition: transform .35s var(--ease); will-change: transform; max-width: 720px; margin: 0 auto; }
.sheet.dragging { transition: none; }
.sheet-grip { flex: none; height: 26px; display: grid; place-items: center; touch-action: none; cursor: grab; }
.sheet-grip span { width: 40px; height: 4px; border-radius: 2px; background: var(--line); }
.sheet-body { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 0 16px calc(24px + env(safe-area-inset-bottom)); overscroll-behavior: contain; }
.loading, .empty { padding: 24px 0; color: var(--grey-2); text-align: center; font-size: 13px; }

.sheet-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 2px 0 10px; }
.sheet-head h2 { font-size: 13px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; }
.sheet-head .muted { font-size: 11px; text-align: right; }

.best-card { border: 1px solid var(--rule-strong); border-radius: 12px; padding: 14px; margin-bottom: 10px; display: grid; grid-template-columns: 1fr auto; gap: 4px 14px; cursor: pointer; background: var(--surface); width: 100%; text-align: left; }
.best-card .label { grid-column: 1 / -1; color: var(--best); }
.best-card .name { font-weight: 500; font-size: 16px; line-height: 1.3; align-self: end; }
.best-card .price { font-size: 28px; font-weight: 300; line-height: 1; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; align-self: end; }
.best-card .tags { grid-column: 1 / -1; }
.best-card .meta, .row .meta { font-size: 12px; color: var(--grey-2); }
.best-card .per { font-size: 11px; color: var(--grey-2); text-align: right; }

.rows { list-style: none; margin: 0; padding: 0; }
.row { display: grid; grid-template-columns: 22px 1fr auto; gap: 2px 10px; padding: 12px 0; border-bottom: 1px solid var(--hair); cursor: pointer; width: 100%; background: none; border-left: 0; border-right: 0; border-top: 0; text-align: left; }
.row .rank { font-size: 11px; color: var(--grey-2); padding-top: 2px; font-variant-numeric: tabular-nums; }
.row .name { font-weight: 500; font-size: 14px; line-height: 1.3; }
.row .price { font-size: 17px; font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.row .per { font-size: 11px; color: var(--grey-2); text-align: right; white-space: nowrap; }
.row .meta { grid-column: 2; }
.tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 5px; grid-column: 2 / -1; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 500; letter-spacing: .03em; background: var(--pill-neutral-bg); color: var(--pill-neutral); white-space: nowrap; }
.pill.ok { background: var(--pill-ok-bg); color: var(--pill-ok); }
.pill.warning { background: var(--pill-warning-bg); color: var(--pill-warning); }
.pill.critical { background: var(--pill-critical-bg); color: var(--pill-critical); }
.foot { margin-top: 18px; font-size: 11px; color: var(--grey-2); line-height: 1.6; }
.foot a { color: var(--slate); }

/* ---------- detail ---------- */
.back { border: 0; background: none; padding: 4px 0 10px; color: var(--slate); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; display: inline-flex; align-items: center; gap: 6px; }
.detail h2 { font-size: 20px; font-weight: 400; line-height: 1.25; }
.detail .addr { color: var(--ink-2); font-size: 13px; margin-top: 4px; }
.actions { display: flex; gap: 8px; margin: 14px 0 6px; }
.btn { flex: 1; border: 1px solid var(--ink); background: var(--ink); color: var(--on-ink); padding: 11px 12px; border-radius: 10px; text-decoration: none; text-align: center; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.block { margin-top: 22px; }
.block > h3 { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--grey-2); margin: 0 0 8px; }
.estimate { background: var(--mist); border-radius: 12px; padding: 14px; }
.estimate .big { font-size: 34px; font-weight: 300; line-height: 1.1; font-variant-numeric: tabular-nums; }
.estimate .sub { font-size: 12px; color: var(--grey-2); margin-bottom: 8px; }
table.kv { width: 100%; border-collapse: collapse; font-size: 13px; }
table.kv td { padding: 7px 0; border-bottom: 1px solid var(--hair); vertical-align: top; }
table.kv td:last-child { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; padding-left: 10px; }
table.kv a, .tariff a { color: var(--slate); }
table.kv tr.total td { border-bottom: 0; border-top: 1px solid var(--rule-strong); font-weight: 600; }
.estimate table.kv td { border-bottom-color: var(--line); }
.prices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.prices div { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.prices b { display: block; font-size: 19px; font-weight: 400; font-variant-numeric: tabular-nums; }
.prices span { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--grey-2); }
.tariff { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; font-size: 13px; }
.tariff .when { font-size: 11px; color: var(--grey-2); letter-spacing: .04em; }
.tariff .line + .line { margin-top: 6px; padding-top: 6px; border-top: 1px solid var(--hair); }
.tariff .note { margin-top: 8px; font-size: 12px; color: var(--ink-2); }
.evse { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 8px; }
.evse .top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.evse .conn { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; margin-top: 6px; }
.evse .conn b { font-weight: 500; font-variant-numeric: tabular-nums; }

/* ---------- settings ---------- */
.panel { position: fixed; inset: 0; z-index: 1100; background: var(--paper); overflow-y: auto; padding: calc(env(safe-area-inset-top) + 14px) 16px calc(28px + env(safe-area-inset-bottom)); }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; max-width: 560px; margin-inline: auto; }
.panel-head h2 { font-size: 15px; letter-spacing: .3em; text-transform: uppercase; font-weight: 400; }
.panel form { max-width: 560px; margin: 0 auto; }
.field { padding: 14px 0; border-bottom: 1px solid var(--hair); }
.field label, .field legend { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500; color: var(--grey-2); margin-bottom: 8px; padding: 0; }
.field .help { font-size: 12px; color: var(--grey-2); margin-top: 6px; }
.field input[type="number"], .field select { width: 100%; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 11px 12px; font-size: 16px; }
.field input[type="range"] { width: 100%; accent-color: var(--slate); }
.range-val { font-size: 22px; font-weight: 300; font-variant-numeric: tabular-nums; }
fieldset.field { border: 0; border-bottom: 1px solid var(--hair); margin: 0; }
.seg { display: flex; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.seg label { flex: 1; margin: 0; text-align: center; padding: 10px 6px; font-size: 11px; letter-spacing: .1em; color: var(--ink); cursor: pointer; border-right: 1px solid var(--line); }
.seg label:last-child { border-right: 0; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label:has(input:checked) { background: var(--ink); color: var(--on-ink); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.close-btn { border: 1px solid var(--line); background: none; border-radius: 50%; width: 38px; height: 38px; font-size: 20px; line-height: 1; color: var(--ink); }

@media (min-width: 900px) {
  .sheet { left: 16px; right: auto; width: 420px; margin: 0; height: calc(100dvh - var(--header-h) - 16px); bottom: 0; }
  .locate { bottom: 24px; }
}
.tags.spaced, .two.spaced { margin-top: 10px; }
.evse .ref { margin-top: 4px; }

/* ---------- place search ---------- */
.searchbar { position: fixed; top: calc(var(--header-h) + 8px); left: 12px; right: 12px; z-index: 960; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 6px 0 14px; background: var(--glass); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); max-width: 560px; }
.searchbar > svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--grey-2); stroke-width: 1.6; stroke-linecap: round; }
.searchbar input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 16px; padding: 10px 0; outline: none; color: var(--ink); }
.searchbar input::-webkit-search-cancel-button { display: none; }
.searchbar .clear { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--mist); color: var(--ink); font-size: 18px; line-height: 1; }
.suggest { position: absolute; top: 48px; left: 0; right: 0; margin: 0; padding: 4px 0; list-style: none; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); max-height: 50vh; overflow-y: auto; }
.suggest li button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 10px 14px; font-size: 14px; color: var(--ink); }
.suggest li button:hover, .suggest li button[aria-selected="true"] { background: var(--mist); }
.suggest li .muted { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.suggest .empty { padding: 10px 14px; text-align: left; }
.place { width: 22px; height: 22px; margin: -22px 0 0 -11px; display: block; }
.place svg { width: 22px; height: 22px; fill: var(--ink); stroke: var(--surface); stroke-width: 1.5; }

/* ---------- calculator ---------- */
.calc .row-in { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.calc label.lbl { display: block; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--grey-2); margin-bottom: 5px; }
.calc select, .calc input[type="number"], .calc input[type="time"] { width: 100%; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; padding: 9px 10px; font-size: 16px; color: var(--ink); }
.calc input[type="range"] { width: 100%; accent-color: var(--slate); margin: 4px 0 0; }
.calc .seg { margin-top: 10px; }
.calc .rv { font-size: 18px; font-weight: 400; font-variant-numeric: tabular-nums; }
.calc .out { margin-top: 14px; }
.calc .facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 10px 0 6px; }
.calc .facts div { background: var(--surface); border-radius: 10px; padding: 8px 10px; }
.calc .facts b { display: block; font-size: 16px; font-weight: 500; font-variant-numeric: tabular-nums; }
.calc .facts span { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-2); }
.calc .busy { opacity: .55; transition: opacity .15s; }
.calc .note { font-size: 11px; color: var(--grey-2); margin-top: 8px; }

/* the sheet fully open: the map's search and filters step aside */
body.sheet-full .searchbar, body.sheet-full .filters, body.sheet-full .search-here, body.sheet-full .locate { opacity: 0; pointer-events: none; }
.searchbar, .filters { transition: opacity .2s; }
.calc input[type="time"] { -webkit-appearance: none; appearance: none; min-height: 42px; font-family: inherit; }
.calc .seg label { font-size: 10.5px; }
.calc table.cards { margin-top: 10px; }
.calc table.cards tr.mine td { font-weight: 600; }
.empty .widen { display: inline-block; flex: none; margin-top: 12px; padding: 10px 18px; }

/* the grey base map in dark theme: inverted, so streets stay readable on a dark ground */
:root[data-theme="dark"] .leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(.85) contrast(.9); }
@media (min-width: 900px) {
  /* side panel below the search and the filters */
  .sheet { height: calc(100dvh - var(--header-h) - 112px); }
}

/* ---------- electric against petrol ---------- */
.best-card .vs { grid-column: 1 / -1; }
.cheaper { color: var(--best); font-weight: 600; }
.dearer { color: var(--pill-critical); font-weight: 600; }
.vs-block { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.vs-block h3 { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; color: var(--grey-2); margin: 0 0 8px; }
.vs-block .bar { display: grid; grid-template-columns: 72px 1fr auto; align-items: center; gap: 8px; font-size: 12px; margin: 5px 0; }
.vs-block .bar i { display: block; height: 10px; width: var(--w); border-radius: 5px; }
.vs-block .bar i.ev { background: var(--best); }
.vs-block .bar i.pet { background: var(--grey-2); }
.vs-block .bar b { font-weight: 500; font-variant-numeric: tabular-nums; }
.vs-block .verdict { margin: 8px 0 0; font-size: 13px; font-weight: 500; }

/* ---------- sort ---------- */
.sortbar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: -2px 0 12px; }
.sortbar button { border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: 999px; padding: 5px 12px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 500; }
.sortbar button[aria-pressed="true"] { background: var(--ink); color: var(--on-ink); border-color: var(--ink); }
.sortbar .muted { font-size: 11px; flex-basis: 100%; }
.row .rank { white-space: nowrap; }
.row { grid-template-columns: minmax(22px, auto) 1fr auto; }

/* ---------- sign in ---------- */
.panel.login { z-index: 1200; background: var(--night); color: #fff; display: grid; place-items: center; }
.login-box { width: 100%; max-width: 380px; text-align: center; }
.login-brand { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 36px; }
.login-brand .word { font-size: 26px; letter-spacing: .42em; font-weight: 300; padding-left: .42em; }
.login-brand .sub { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; opacity: .7; }
.login-text { font-size: 14px; line-height: 1.6; color: #c9ccd1; margin: 0 0 22px; }
.login .btn { width: 100%; background: #fff; color: #0e1114; border-color: #fff; padding: 14px; }
.login-help { font-size: 12px; color: #9aa0a8; margin-top: 16px; }
.login-error { min-height: 1.4em; font-size: 13px; color: #ff9a9e; margin-top: 14px; }

/* ---------- personal: favourites, notify, log ---------- */
.mini-actions { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 4px; }
.mini-actions button { border: 1px solid var(--line); background: transparent; color: var(--ink); border-radius: 999px; padding: 7px 12px; font-size: 12px; }
.mini-actions button[aria-pressed="true"] { border-color: var(--best); color: var(--best); font-weight: 600; }
.star-on { color: #c98500; font-size: 13px; }
.rows.favs { margin-bottom: 14px; }
.account { max-width: 560px; margin: 0 auto 6px; padding: 12px 0; border-bottom: 1px solid var(--hair); font-size: 14px; }
.account .mono { word-break: break-all; }

/* ---------- history ---------- */
.hist { max-width: 560px; margin: 0 auto; }
.hist-total { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin: 10px 0 16px; }
.hist-total div { background: var(--mist); border-radius: 12px; padding: 12px; }
.hist-total b { display: block; font-size: 20px; font-weight: 400; font-variant-numeric: tabular-nums; }
.hist-total span { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--grey-2); }
table.months td { text-align: right; white-space: nowrap; padding-left: 8px; }
table.months td:first-child { text-align: left; padding-left: 0; white-space: normal; }
.hist-h { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--grey-2); margin: 22px 0 6px; }
.hist-list { list-style: none; margin: 0; padding: 0; }
.hist-list li { display: grid; grid-template-columns: 1fr auto 28px; gap: 10px; align-items: start; padding: 10px 0; border-bottom: 1px solid var(--hair); font-size: 13px; }
.hist-list .muted { font-size: 11px; }
.hist-num { text-align: right; font-variant-numeric: tabular-nums; }
.hist-list .del { border: 0; background: none; color: var(--grey-2); font-size: 18px; line-height: 1; padding: 2px; }
.panel .help { font-size: 12px; color: var(--grey-2); }
.dot.bestdot { background: var(--best); width: 14px; height: 14px; margin: -7px 0 0 -7px; }
.pin { font-size: 12px; padding: 3px 7px; }
