/* VATRS — one stylesheet for the public portal and the admin console. */
:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #f0f2f5;
  --text: #1b1f24;
  --muted: #5b6573;
  --border: #d9dee5;
  --accent: #1f5fbf;
  --accent-text: #ffffff;
  --accent-soft: #e5eefb;
  --ok: #1e7a3f;
  --ok-soft: #e3f4e8;
  --warn: #8a5a00;
  --warn-soft: #fbf0d9;
  --danger: #b42318;
  --danger-soft: #fde8e6;
  --focus: #1f5fbf;
  --radius: 10px;
  --page-max: 1760px;               /* one width for every page: wide screens get used */
  --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 1px 3px rgba(16, 24, 40, .08);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111418;
    --surface: #1a1e24;
    --surface-2: #232830;
    --text: #e8eaed;
    --muted: #9aa4b2;
    --border: #333a44;
    --accent: #6ea0ff;
    --accent-text: #0b1220;
    --accent-soft: #1d2a40;
    --ok: #5fd08a;
    --ok-soft: #173323;
    --warn: #f0c060;
    --warn-soft: #3a2e14;
    --danger: #ff8a80;
    --danger-soft: #3d1c1a;
    --focus: #8fb6ff;
    --shadow: none;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.5 var(--font);
  min-height: 100vh; display: flex; flex-direction: column;
}
a { color: var(--accent); }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { line-height: 1.25; margin: 0 0 .5em; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
small, .muted { color: var(--muted); }
code, .mono { font-family: var(--mono); font-size: .92em; overflow-wrap: anywhere; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
[hidden] { display: none !important; }

.visually-hidden, .hp-field {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; left: 1rem; top: -100px; background: var(--surface); padding: .5rem 1rem; z-index: 100; }
.skip-link:focus { top: 1rem; }

/* ── Layout ─────────────────────────────────────────────────────────────── */
.site-header {
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.site-header .inner {
  max-width: var(--page-max); margin: 0 auto; padding: .75rem 1rem;
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.brand { font-weight: 700; font-size: 1.15rem; color: var(--text); text-decoration: none; letter-spacing: .02em; }
.brand span { color: var(--accent); }
.site-header nav { margin-left: auto; display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.site-header .who { color: var(--muted); font-size: .95rem; }
main { flex: 1; width: 100%; max-width: var(--page-max); margin: 0 auto; padding: 1.5rem 1rem 3rem; }
main.narrow { max-width: 520px; }
main.reading { max-width: 760px; }
.site-footer { border-top: 1px solid var(--border); color: var(--muted); font-size: .9rem; }
.site-footer .inner { max-width: var(--page-max); margin: 0 auto; padding: 1rem; display: flex; gap: 1rem; flex-wrap: wrap; }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 1.25rem; margin-bottom: 1rem;
}
.card > :last-child { margin-bottom: 0; }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid.tight { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.row { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.row.end { justify-content: flex-end; }
.spacer { flex: 1; }
.stack > * + * { margin-top: .75rem; }

/* ── Hero / landing ─────────────────────────────────────────────────────── */
.hero { text-align: center; padding: 2.5rem 0 2rem; }
.hero h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); margin-bottom: .25rem; }
.hero .long-name { color: var(--muted); margin-bottom: .75rem; }
.hero .tagline { font-size: 1.2rem; margin-bottom: 1.5rem; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; }
.steps li { counter-increment: step; position: relative; padding-left: 3rem; }
.steps li::before {
  content: counter(step); position: absolute; left: 1.25rem; top: 1.2rem;
  width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-weight: 700;
}
.steps li.card { padding-left: 3.75rem; }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
  min-height: 2.5rem; padding: .45rem 1rem; border-radius: 8px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--surface-2); }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.btn.primary:hover { filter: brightness(1.08); }
.btn.danger { color: var(--danger); border-color: var(--danger); }
.btn.danger.solid { background: var(--danger); color: #fff; }
.btn.small { min-height: 2rem; padding: .2rem .65rem; font-size: .9rem; }
.btn.link { border: 0; background: none; color: var(--accent); padding: 0; min-height: 0; font-weight: 500; text-decoration: underline; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn.lg { min-height: 3rem; padding: .6rem 1.5rem; font-size: 1.05rem; }

/* ── Forms ──────────────────────────────────────────────────────────────── */
.field { margin-bottom: 1rem; }
.field > label, .field > .label { display: block; font-weight: 600; margin-bottom: .3rem; }
.field .help { display: block; color: var(--muted); font-size: .9rem; margin-top: .25rem; }
input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="search"],
input[type="date"], input[type="password"], select, textarea {
  width: 100%; min-height: 2.6rem; padding: .5rem .7rem; border-radius: 8px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text); font: inherit;
}
textarea { min-height: 6rem; resize: vertical; }
input[readonly] { background: var(--surface-2); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline-offset: 0; }
.check { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: .75rem; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; flex: none; accent-color: var(--accent); }
.check input:disabled + span { color: var(--muted); }
.code-input { font-family: var(--mono); font-size: 1.4rem; letter-spacing: .3em; text-align: center; }
.form-error { color: var(--danger); background: var(--danger-soft); border-radius: 8px; padding: .6rem .8rem; margin-bottom: 1rem; }
.form-ok { color: var(--ok); background: var(--ok-soft); border-radius: 8px; padding: .6rem .8rem; margin-bottom: 1rem; }
fieldset { border: 0; padding: 0; margin: 0 0 1rem; }
legend { font-weight: 600; margin-bottom: .4rem; padding: 0; }

/* ── Badges, notices ────────────────────────────────────────────────────── */
.badge {
  display: inline-block; padding: .1rem .55rem; border-radius: 999px; font-size: .8rem; font-weight: 600;
  background: var(--surface-2); color: var(--muted); border: 1px solid var(--border); white-space: nowrap;
}
.badge.ok { background: var(--ok-soft); color: var(--ok); border-color: transparent; }
.badge.warn { background: var(--warn-soft); color: var(--warn); border-color: transparent; }
.badge.danger { background: var(--danger-soft); color: var(--danger); border-color: transparent; }
.badge.accent { background: var(--accent-soft); color: var(--accent); border-color: transparent; }
.notice { border-left: 4px solid var(--accent); background: var(--accent-soft); padding: .75rem 1rem; border-radius: 6px; margin-bottom: 1rem; }
.notice.warn { border-color: var(--warn); background: var(--warn-soft); }
.notice.danger { border-color: var(--danger); background: var(--danger-soft); }

/* ── Big number / stats ─────────────────────────────────────────────────── */
.big-number { font-size: clamp(2rem, 8vw, 3rem); font-weight: 750; letter-spacing: -.01em; line-height: 1.1; margin: .2rem 0 .6rem; overflow-wrap: anywhere; }
.stat { background: var(--surface-2); border-radius: 8px; padding: .6rem .8rem; }
.stat .n { font-size: 1.4rem; font-weight: 700; display: block; }
.stat .l { color: var(--muted); font-size: .88rem; }
.address-box { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.address-box code { font-size: 1.05rem; background: var(--surface-2); padding: .4rem .6rem; border-radius: 6px; }

/* ── Tabs ───────────────────────────────────────────────────────────────── */
.tabs { display: flex; gap: .25rem; border-bottom: 1px solid var(--border); margin: 1.5rem 0 1rem; overflow-x: auto; scrollbar-width: thin; }
.tabs [role="tab"] {
  border: 0; background: none; font: inherit; color: var(--muted); padding: .6rem .9rem; cursor: pointer;
  border-bottom: 3px solid transparent; white-space: nowrap; font-weight: 600;
}
.tabs [role="tab"][aria-selected="true"] { color: var(--accent); border-bottom-color: var(--accent); }
.tabs [role="tab"]:hover { color: var(--text); }

/* ── Account pages: the menu and the page layout live in static/css/portal.css (2026-10-26) ── */
.activity-log { list-style: none; margin: 0; padding: .25rem 0; background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; font-size: .9rem; }
.activity-log li { display: flex; gap: 1rem; align-items: baseline; padding: .3rem .9rem; border-top: 1px solid var(--surface-2); }
.activity-log li:first-child { border-top: 0; }
.activity-log time { flex: none; font-family: var(--mono); font-size: .82rem; color: var(--muted); white-space: nowrap; }
.activity-log span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.receipt-search { display: flex; flex-wrap: wrap; gap: .5rem; }
.receipt-search input { flex: 1 1 260px; min-height: 44px; font-size: 1rem; }
.receipt-search select { min-height: 44px; }
/* ── Tables ─────────────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { padding: .6rem .75rem; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: var(--surface-2); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
td.actions { text-align: right; white-space: nowrap; }
tr.clickable { cursor: pointer; }
tr.clickable:hover td { background: var(--surface-2); }
.empty { color: var(--muted); padding: 1.25rem; text-align: center; }
/* Sort by a click on the header (#206, table-sort.js); on cards a "Sort by" select */
.th-sort { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: .3rem; cursor: pointer;
  font: inherit; color: inherit; text-transform: inherit; letter-spacing: inherit; border-radius: 4px; padding: .1rem .15rem; margin: -.1rem -.15rem; }
.th-sort:hover { color: var(--text, inherit); }
.th-sort:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.th-sort .sort-ico { font-size: .9em; opacity: .45; min-width: .8em; text-align: center; }
.th-sort.on { color: var(--accent); }
.th-sort.on .sort-ico { opacity: 1; }
.sort-bar { display: none; align-items: center; gap: .5rem; padding: .45rem .9rem; border-bottom: 1px solid var(--border);
  background: var(--surface-2); font-size: .88rem; color: var(--muted); }
.sort-bar select { width: auto; flex: 1; min-width: 0; max-width: 22rem; padding: .3rem .5rem; font-size: .9rem; }
.sort-bar.always { display: flex; }
@media (max-width: 720px) { .sort-bar.at-720 { display: flex; } }
@media (max-width: 640px) { .sort-bar.at-640 { display: flex; } }

@media (max-width: 640px) {
  table.stack thead { display: none; }
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
  table.stack tr { border-bottom: 1px solid var(--border); padding: .5rem 0; }
  table.stack tr:last-child { border-bottom: 0; }
  table.stack td { border: 0; padding: .25rem .9rem; display: flex; gap: .75rem; justify-content: space-between; text-align: right; }
  table.stack td::before { content: attr(data-label); font-weight: 600; color: var(--muted); text-align: left; flex: none; }
  table.stack td.actions { justify-content: flex-end; }
  table.stack td.actions::before { content: none; }
  table.stack td:empty { display: none; }
}

/* ── Upload ─────────────────────────────────────────────────────────────── */
.dropzone {
  display: block; border: 2px dashed var(--border); border-radius: var(--radius); background: var(--surface);
  padding: 2.5rem 1rem; text-align: center; cursor: pointer; transition: border-color .15s, background .15s;
}
.dropzone:hover, .dropzone.over { border-color: var(--accent); background: var(--accent-soft); }
/* 2+ photos or PDFs: "one receipt, or one each?" (2026-10-29) */
.upload-choice { border: 1px solid var(--accent); background: var(--accent-soft); border-radius: var(--radius); padding: 16px; display: grid; gap: 12px; margin-top: 12px; }
.upload-choice h3 { margin: 0; font-size: 1rem; }
.upload-choice fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.upload-choice legend { padding: 0; margin-bottom: 4px; font-weight: 600; }
.upload-names { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.upload-names li { background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 2px 8px; overflow-wrap: anywhere; }
.upload-opt { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 10px 12px; cursor: pointer; }
.upload-opt input { margin-top: 4px; accent-color: var(--accent); }
.upload-opt b { display: block; }
.upload-opt input:disabled + span { opacity: .55; }
.upload-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.dropzone:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.dropzone strong { display: block; font-size: 1.1rem; margin-bottom: .3rem; }
.result-list { list-style: none; padding: 0; margin: 1rem 0 0; }
.result-list li { display: flex; gap: .5rem; justify-content: space-between; padding: .4rem 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; }

/* ── Toast ──────────────────────────────────────────────────────────────── */
.toasts { position: fixed; right: 1rem; bottom: 1rem; left: 1rem; display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; z-index: 1000; pointer-events: none; }
.toast {
  pointer-events: auto; max-width: 420px; background: var(--text); color: var(--bg); padding: .7rem 1rem;
  border-radius: 8px; box-shadow: 0 4px 16px rgba(0,0,0,.25); font-size: .95rem;
}
.toast.error { background: var(--danger); color: #fff; }
.toast.ok { background: var(--ok); color: #fff; }
@media (prefers-color-scheme: dark) { .toast.ok, .toast.error { color: #111; } }

/* ── Dialog ─────────────────────────────────────────────────────────────── */
dialog {
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text);
  padding: 1.25rem; width: min(480px, calc(100vw - 2rem)); box-shadow: 0 10px 40px rgba(0,0,0,.3);
}
dialog::backdrop { background: rgba(10, 14, 20, .5); }
dialog h2 { font-size: 1.15rem; }

/* ── Admin console ──────────────────────────────────────────────────────── */
.admin-shell { flex: 1; display: grid; grid-template-columns: 220px 1fr; min-height: 0; }
.admin-nav { background: var(--surface); border-right: 1px solid var(--border); padding: 1rem .5rem; }
.admin-nav a { display: block; padding: .55rem .8rem; border-radius: 8px; color: var(--text); text-decoration: none; font-weight: 600; }
.admin-nav a:hover { background: var(--surface-2); }
.admin-nav a[aria-current="page"] { background: var(--accent-soft); color: var(--accent); }
.admin-main { padding: 1.25rem; min-width: 0; }
@media (max-width: 800px) {
  .admin-shell { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; }   /* the menu row stays one line high */
  .admin-nav { border-right: 0; border-bottom: 1px solid var(--border); display: flex; overflow-x: auto; padding: .5rem; gap: .25rem; }
  .admin-nav a { white-space: nowrap; }
  .admin-main { padding: 1rem; }
  .admin-main .table-wrap :is(code, .mono) { overflow-wrap: normal; }   /* "admin_view_user" stays one word: the table scrolls */
  .admin-main .tax-lines { min-width: 34rem; }                  /* tier and tax rows keep readable fields: the table scrolls */
}
dl.kv { display: grid; grid-template-columns: max-content 1fr; gap: .35rem 1rem; margin: 0; }
dl.kv dt { color: var(--muted); }
dl.kv dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) { dl.kv { grid-template-columns: 1fr; } dl.kv dd { margin-bottom: .4rem; } }
.review-item .fields { display: grid; gap: .6rem; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.review-item .fields .field { margin: 0; }
.tax-lines td { padding: .3rem; }
.tax-lines input { min-height: 2.2rem; }
pre.detail { margin: 0; white-space: pre-wrap; word-break: break-word; font-family: var(--mono); font-size: .82rem; max-width: 420px; }
.list-plain { list-style: none; padding: 0; margin: 0; }
.list-plain li { padding: .35rem 0; border-bottom: 1px solid var(--border); }
.list-plain li:last-child { border-bottom: 0; }
.section-head { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; margin-bottom: .75rem; }
.section-head h2, .section-head h3 { margin: 0; }
.subtabs { margin-top: .5rem; }

/* Terms */
.legal h2 { margin-top: 1.75rem; }
.legal ol, .legal ul { padding-left: 1.3rem; }
.legal li { margin-bottom: .4rem; }
.legal-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.legal-table th, .legal-table td { padding: .4rem .5rem; border-bottom: 1px solid var(--border); text-align: left; }
.legal h3 { margin-top: 1.4rem; font-size: 1.1rem; }
.legal .terms-part { margin-top: 0; }
.terms-kicker { margin: 0; font-size: .78rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lp .terms-kicker { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.terms-annex { margin-top: 1.5rem; border: 2px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad, var(--accent)) border-box; }
.terms-versions { display: flex; flex-wrap: wrap; gap: .5rem; margin: .9rem 0 0; }
.terms-versions span { font-size: .85rem; color: #a5b0cf; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); padding: .25rem .7rem; border-radius: 999px; }
.terms-versions b { color: #eef2ff; font-weight: 650; }
.draft-banner { background: var(--warn-soft); color: var(--warn); border: 1px dashed var(--warn); padding: .6rem 1rem; border-radius: 8px; font-weight: 600; margin-bottom: 1rem; }

/* Minimal Markdown output */
.md p { margin: 0 0 .5em; }
.md p:last-child, .md ul:last-child { margin-bottom: 0; }
.md ul { margin: 0 0 .5em; padding-left: 1.2rem; }
.md li { margin-bottom: .15rem; }
.md a { overflow-wrap: anywhere; }

/* ── Chat widget (Johnny#5) ───────────────────────────────────────────────── */
.chat { position: fixed; right: 1rem; bottom: 1rem; z-index: 900; display: flex; flex-direction: column; align-items: flex-end; gap: .6rem; }
body:has(.chat) .toasts { bottom: 4.75rem; }
body:has(.chat) main { padding-bottom: 5.5rem; }
.chat { pointer-events: none; }
.chat > * { pointer-events: auto; }
.chat-fab {
  display: inline-flex; align-items: center; gap: .5rem; min-height: 3rem; padding: .6rem 1.1rem;
  border-radius: 999px; border: 0; background: var(--accent); color: var(--accent-text);
  font: inherit; font-weight: 650; cursor: pointer; box-shadow: 0 6px 20px rgba(0,0,0,.22);
}
.chat-fab:hover { filter: brightness(1.08); }
.chat-fab-icon {
  width: 1.15rem; height: 1rem; border: 2px solid currentColor; border-radius: 6px 6px 6px 2px; position: relative; flex: none;
}
/* Icon only (owner, 2026-10-20): a round chat button; the words stay for screen readers. */
.chat-fab { width: 3.25rem; min-height: 3.25rem; padding: 0; justify-content: center; }
.chat-fab-icon { width: 1.45rem; height: 1.25rem; }
.chat-fab > span:not(.chat-fab-icon) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.chat.open .chat-fab { display: none; }
.chat-panel {
  width: min(380px, calc(100vw - 2rem)); height: min(560px, calc(100vh - 2rem)); height: min(560px, calc(100dvh - 2rem));
  display: flex; flex-direction: column; background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 12px 40px rgba(0,0,0,.28); overflow: hidden;
}
.chat-panel[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: .5rem; padding: .7rem .8rem .5rem 1rem; border-bottom: 1px solid var(--border); background: var(--accent-soft); }
.chat-head h2 { font-size: 1rem; margin: 0; flex: 1; }
.chat-close {
  width: 2.2rem; height: 2.2rem; border-radius: 8px; border: 0; background: transparent; color: var(--text);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
}
.chat-close:hover { background: var(--surface-2); }
.chat-intro { font-size: .8rem; color: var(--muted); margin: 0; padding: .45rem 1rem; border-bottom: 1px solid var(--border); }
.chat-log { flex: 1; overflow-y: auto; padding: .8rem; display: flex; flex-direction: column; gap: .55rem; overscroll-behavior: contain; }
.chat-msg { display: flex; flex-direction: column; max-width: 88%; }
.chat-msg.bot { align-self: flex-start; }
.chat-msg.me { align-self: flex-end; align-items: flex-end; }
.chat-bubble { padding: .5rem .75rem; border-radius: 12px; font-size: .95rem; overflow-wrap: anywhere; white-space: normal; }
.chat-msg.bot .chat-bubble { background: var(--surface-2); border-bottom-left-radius: 4px; }
.chat-msg.me .chat-bubble { background: var(--accent); color: var(--accent-text); border-bottom-right-radius: 4px; white-space: pre-wrap; }
.chat-msg.me .chat-bubble a { color: inherit; }
.chat-msg.err { align-self: center; max-width: 100%; font-size: .85rem; color: var(--danger); text-align: center; }
.chat-choices { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .4rem; }
.chat-choices .btn { white-space: normal; text-align: left; border-color: var(--accent); color: var(--accent); }
.chat-choices .btn[disabled] { border-color: var(--border); color: var(--muted); }
.chat-typing { flex-direction: row; gap: .25rem; padding: .6rem .75rem; background: var(--surface-2); border-radius: 12px; align-self: flex-start; }
.chat-typing .dot { width: .45rem; height: .45rem; border-radius: 50%; background: var(--muted); animation: chat-blink 1.2s infinite ease-in-out; }
.chat-typing .dot:nth-of-type(2) { animation-delay: .2s; }
.chat-typing .dot:nth-of-type(3) { animation-delay: .4s; }
@keyframes chat-blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .chat-typing .dot { animation: none; opacity: .6; } }
.chat-form { display: flex; gap: .4rem; padding: .6rem; border-top: 1px solid var(--border); }
.chat-form input { flex: 1; min-width: 0; }
@media (max-width: 480px) {
  .chat { right: .5rem; bottom: .5rem; left: .5rem; align-items: stretch; }
  .chat-fab { align-self: flex-end; }
  .chat-panel { width: 100%; height: calc(100vh - 1rem); height: calc(100dvh - 1rem); }
}
@media print { .chat { display: none; } }

/* ══ Landing page (vatrefund.me "/") ═══════════════════════════════════════
   Scoped to .lp. Dark "ink" sections (.lp-dark) stay dark in both themes;
   other sections follow the site's light/dark tokens. */
.lp {
  --ink: #070b1a;
  --ink-2: #0c1330;
  --teal: #2dd4bf;
  --sky: #38bdf8;
  --violet: #8b5cf6;
  --grad: linear-gradient(120deg, #2dd4bf 0%, #38bdf8 45%, #8b5cf6 100%);
  --lp-t: var(--text);
  --lp-m: var(--muted);
  --lp-card: var(--surface);
  --lp-line: var(--border);
  --lp-bg: var(--bg);
  --lp-badge: var(--accent-soft);
  --lp-badge-t: var(--accent);
  --robot-accent: #5eead4;
}
.lp-dark {
  --lp-t: #eef2ff;
  --lp-m: #a5b0cf;
  --lp-card: rgba(255, 255, 255, .055);
  --lp-line: rgba(255, 255, 255, .12);
  --lp-bg: var(--ink);
  --lp-badge: rgba(45, 212, 191, .14);
  --lp-badge-t: #5eead4;
  color-scheme: dark;
}
main.lp-main, body:has(.chat) main.lp-main { max-width: none; padding: 0; }
.lp-main { background: var(--lp-bg); }
.lp-sec, .lp-hero, .lp-strip, .lp-final, .lp-foot, .lp-top { color: var(--lp-t); background: var(--lp-bg); position: relative; }
.lp-alt { --lp-bg: var(--surface-2); }
@media (prefers-color-scheme: dark) { .lp-alt { --lp-bg: #0f141c; } }
.lp-wrap { width: 100%; max-width: var(--page-max); margin: 0 auto; padding: 0 20px; position: relative; z-index: 1; }
.lp-narrow { max-width: 820px; }
.lp .ico { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -.2em; }
.lp-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.lp a:focus-visible, .lp button:focus-visible, .lp summary:focus-visible { outline: 3px solid #5eead4; outline-offset: 3px; }
.lp-grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  padding-bottom: .15em; margin-bottom: -.15em;   /* the clipped background covers the descenders (y, g, p) */
}
.lp-bg-glow {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0;
  background:
    radial-gradient(600px 380px at 78% 30%, rgba(139, 92, 246, .28), transparent 70%),
    radial-gradient(520px 360px at 15% 70%, rgba(45, 212, 191, .18), transparent 70%);
}
.lp-glow-left { background: radial-gradient(560px 420px at 20% 50%, rgba(45, 212, 191, .2), transparent 70%), radial-gradient(500px 300px at 90% 10%, rgba(139, 92, 246, .18), transparent 70%); }

/* Buttons */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 2.6rem; padding: .55rem 1.15rem; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 650; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background-color .2s ease, filter .2s ease;
}
.lp-btn-primary { background: var(--grad); color: #04111f; box-shadow: 0 8px 28px rgba(56, 189, 248, .35); }
.lp-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 36px rgba(139, 92, 246, .45); filter: saturate(1.15); }
.lp-btn-ghost { color: var(--lp-t); }
.lp-btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.lp-btn-glass { color: var(--lp-t); background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .18); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.lp-btn-glass:hover { background: rgba(255, 255, 255, .12); }
.lp-btn-lg { min-height: 3.2rem; padding: .75rem 1.6rem; font-size: 1.05rem; }
.lp-btn-xl { min-height: 3.6rem; padding: .9rem 2rem; font-size: 1.15rem; }

/* Top bar */
.lp-top {
  position: sticky; top: 0; z-index: 800; background: rgba(7, 11, 26, .78);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.lp-top-in { display: flex; align-items: center; gap: 1.25rem; min-height: 4rem; }
.lp-logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--lp-t); text-decoration: none; }
.lp-mark { width: 2.1rem; height: 2.1rem; flex: none; filter: drop-shadow(0 4px 14px rgba(56, 189, 248, .35)); }
.lp-logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.lp-logo-text strong { font-size: 1.1rem; letter-spacing: .04em; }
.lp-logo-text small { font-size: .72rem; color: var(--lp-m); letter-spacing: .02em; }
.lp-nav { display: flex; gap: .25rem; margin-left: auto; }
.lp-nav a { color: var(--lp-m); text-decoration: none; font-weight: 550; padding: .45rem .7rem; border-radius: 8px; }
.lp-nav a:hover { color: var(--lp-t); background: rgba(255, 255, 255, .06); }
.lp-top-cta { display: flex; align-items: center; gap: .4rem; }
@media (max-width: 520px) { .lp-hide-xs { display: none; } .lp-logo-text small { display: none; } }

/* Hero */
.lp-hero { overflow: hidden; padding: clamp(3rem, 8vw, 6rem) 0 clamp(3rem, 6vw, 5rem); }
.lp-hero::before, .lp-page-hero::before, .lp-auth::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 75%);
}
.lp-hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.lp-eyebrow {
  display: inline-flex; align-items: center; gap: .55rem; font-size: .85rem; font-weight: 600; color: #b8f5ec;
  background: rgba(45, 212, 191, .1); border: 1px solid rgba(45, 212, 191, .3); padding: .35rem .8rem; border-radius: 999px; margin-bottom: 1.25rem;
}
.lp-dot { width: .5rem; height: .5rem; border-radius: 50%; background: #2dd4bf; box-shadow: 0 0 0 4px rgba(45, 212, 191, .2); animation: lp-pulse 2.4s ease-in-out infinite; }
.lp-h1 { font-size: clamp(2.3rem, 5.6vw, 4.1rem); line-height: 1.04; letter-spacing: -.025em; font-weight: 800; margin: 0 0 1.1rem; }
.lp-h1 > span { display: block; }
.lp-lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--lp-m); max-width: 36rem; margin-bottom: 1.75rem; }
.lp-cta-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.lp-cta-note { display: flex; align-items: center; gap: .45rem; color: var(--lp-m); font-size: .92rem; margin: 1rem 0 1.5rem; }
.lp-cta-note .ico { color: #5eead4; }
.lp-chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.lp-chip {
  display: inline-flex; align-items: center; gap: .45rem; font-size: .87rem; font-weight: 550; color: var(--lp-t);
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); padding: .4rem .75rem; border-radius: 999px;
}
.lp-chip .ico { color: #5eead4; }
.lp-chip-secure {
  flex-basis: 100%; max-width: max-content; font-weight: 700; color: #ecfeff; padding: .55rem 1rem;
  background: linear-gradient(120deg, rgba(45, 212, 191, .22), rgba(139, 92, 246, .22)); border-color: rgba(94, 234, 212, .5);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, .08), 0 8px 30px rgba(45, 212, 191, .18);
}
.lp-chip-secure .ico { width: 1.35em; height: 1.35em; }

.lp-hero-art { position: relative; width: 100%; max-width: 600px; justify-self: center; }
.lp-art-svg { display: block; width: 100%; height: auto; overflow: visible; }
.lp-robot-hero { color: #e2e8f0; --robot-accent: #5eead4; }
.lp-art-counter, .lp-art-address, .lp-art-notify {
  position: absolute; color: #eef2ff; background: rgba(12, 19, 48, .72); border: 1px solid rgba(255, 255, 255, .16);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 14px 40px rgba(0, 0, 0, .35);
  border-radius: 14px; font-size: clamp(.62rem, 1.9vw, .86rem); line-height: 1.3;
}
.lp-art-counter { left: 70.5%; top: 33.5%; width: 27.5%; padding: .55em .7em; background: rgba(12, 19, 48, .55); }
.lp-art-label { display: block; color: #a5b0cf; font-size: .85em; text-transform: uppercase; letter-spacing: .06em; font-weight: 650; }
.lp-art-amount {
  display: block; font-weight: 800; font-size: 1.12em; white-space: nowrap; font-variant-numeric: tabular-nums;
  background: linear-gradient(100deg, #5eead4 0%, #ecfeff 45%, #a78bfa 60%, #5eead4 100%); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lp-shimmer { animation: lp-shimmer 3.2s linear infinite; }
.lp-art-address { right: 0; top: 0; display: flex; align-items: center; gap: .6em; padding: .6em .8em; max-width: 62%; }
.lp-art-address > .ico { width: 1.6em; height: 1.6em; color: #5eead4; }
.lp-art-address-txt { display: flex; flex-direction: column; min-width: 0; }
.lp-art-address small { color: #a5b0cf; font-size: .82em; }
.lp-art-address code { font-family: var(--mono); font-size: .92em; color: #ecfeff; overflow-wrap: anywhere; }
.lp-shield-badge {
  display: grid; place-items: center; width: 1.9em; height: 1.9em; border-radius: 50%; flex: none;
  background: var(--grad); color: #04111f; box-shadow: 0 0 0 3px rgba(45, 212, 191, .2);
}
.lp-shield-badge .ico { width: 1.1em; height: 1.1em; stroke-width: 2.2; }
.lp-art-notify { right: 1%; bottom: 0; width: 66%; display: flex; gap: .7em; align-items: flex-start; padding: .7em .85em; animation: lp-pop 6s ease-in-out infinite; }
.lp-art-notify strong { display: block; font-size: .9em; color: #5eead4; }
.lp-notify-ico { display: grid; place-items: center; width: 2.1em; height: 2.1em; border-radius: 10px; background: #25d366; color: #052e16; flex: none; }
.lp-notify-ico .ico { stroke-width: 2.2; }

/* Value strip */
.lp-strip { border-top: 1px solid rgba(255, 255, 255, .08); border-bottom: 1px solid rgba(255, 255, 255, .08); background: linear-gradient(180deg, var(--ink), var(--ink-2)); }
.lp-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.lp-stat { display: grid; grid-template-columns: auto 1fr; column-gap: .75rem; align-items: center; padding: 1.5rem 1rem; }
.lp-stat + .lp-stat { border-left: 1px solid rgba(255, 255, 255, .08); }
.lp-stat .ico { grid-row: span 2; width: 2rem; height: 2rem; color: #5eead4; }
.lp-stat strong { font-size: 1.35rem; font-weight: 800; letter-spacing: -.01em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-stat span { color: var(--lp-m); font-size: .9rem; }
@media (max-width: 860px) {
  .lp-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .lp-stat:nth-child(3) { border-left: 0; }
  .lp-stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .08); }
}
@media (max-width: 400px) { .lp-stat { grid-template-columns: 1fr; padding: 1.1rem .6rem; } .lp-stat .ico { grid-row: auto; margin-bottom: .3rem; } }

/* Section scaffolding */
.lp-sec { padding: clamp(3.5rem, 8vw, 6.5rem) 0; overflow: hidden; }
.lp-sec-head { text-align: center; max-width: 46rem; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.lp-sec-head.lp-left { text-align: left; margin-left: 0; }
.lp-kicker { display: inline-block; font-size: .8rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; margin-bottom: .75rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-h2 { font-size: clamp(1.75rem, 3.8vw, 2.75rem); line-height: 1.1; letter-spacing: -.02em; font-weight: 800; margin: 0 0 .9rem; }
.lp-h2-xl { font-size: clamp(2rem, 5.2vw, 3.6rem); }
.lp-sub { color: var(--lp-m); font-size: clamp(1rem, 1.4vw, 1.12rem); margin: 0; }
.lp-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.lp-ico-badge { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 12px; background: var(--lp-badge); color: var(--lp-badge-t); flex: none; }
.lp-ico-badge .ico { width: 1.4rem; height: 1.4rem; }
.lp-small { color: var(--lp-m); font-size: .88rem; margin-top: 1rem; }
.lp-note { display: flex; align-items: center; justify-content: center; gap: .4rem; color: var(--lp-m); margin: 2rem 0 0; font-weight: 550; }

/* Steps */
.lp-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; counter-reset: none; }
.lp-step {
  position: relative; background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: 20px; padding: 1.5rem 1.35rem 1.4rem;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .05); transition: transform .2s ease, box-shadow .2s ease;
}
.lp-step:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(16, 24, 40, .12); }
.lp-step-n { position: absolute; top: 1rem; right: 1.1rem; font-size: 2.6rem; font-weight: 850; line-height: 1; opacity: .16; }
.lp-step h3 { font-size: 1.12rem; margin: 1rem 0 .45rem; }
.lp-step p { color: var(--lp-m); margin: 0; font-size: .96rem; }
.lp-step:not(:last-child)::after {
  content: ""; position: absolute; top: 2.85rem; right: -1.1rem; width: 1.1rem; height: 2px; background: var(--grad); opacity: .6;
}
@media (max-width: 980px) { .lp-steps { grid-template-columns: repeat(2, 1fr); } .lp-step::after { display: none; } }
@media (max-width: 560px) { .lp-steps { grid-template-columns: 1fr; } }

/* Security */
.lp-security { background: radial-gradient(1200px 600px at 50% 0%, #0e1740, var(--ink)); }
.lp-shield-art svg { display: block; width: 100%; max-width: 420px; margin: 0 auto; filter: drop-shadow(0 30px 60px rgba(45, 212, 191, .2)); }
.lp-sec-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; }
.lp-sec-list li {
  display: flex; gap: .85rem; align-items: flex-start; padding: 1rem; border-radius: 16px;
  background: var(--lp-card); border: 1px solid var(--lp-line); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.lp-sec-list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
.lp-sec-list h3 { font-size: 1rem; margin: 0 0 .25rem; }
.lp-sec-list p { color: var(--lp-m); margin: 0; font-size: .92rem; }
@media (max-width: 640px) { .lp-sec-list { grid-template-columns: 1fr; } }

/* Feature grid */
.lp-feat-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.lp-feat {
  background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: 18px; padding: 1.3rem 1.2rem;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.lp-feat:hover { transform: translateY(-3px); border-color: rgba(56, 189, 248, .5); box-shadow: 0 16px 36px rgba(16, 24, 40, .1); }
.lp-feat h3 { font-size: 1.02rem; margin: .9rem 0 .35rem; }
.lp-feat p { color: var(--lp-m); margin: 0; font-size: .93rem; }
.lp-feat-hl { background: linear-gradient(140deg, rgba(45, 212, 191, .14), rgba(139, 92, 246, .14)), var(--lp-card); border-color: rgba(45, 212, 191, .45); }
.lp-feat-hl .lp-ico-badge { background: var(--grad); color: #04111f; }
@media (max-width: 1040px) { .lp-feat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .lp-feat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .lp-feat-grid { grid-template-columns: 1fr; } }

/* Tick lists (How it works: the notifications) */
.lp-ticks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .6rem; }
.lp-ticks li { display: flex; gap: .6rem; align-items: center; font-weight: 550; }
.lp-ticks .ico { color: #04111f; background: var(--grad); border-radius: 50%; padding: .2rem; width: 1.5rem; height: 1.5rem; stroke-width: 2.6; }

/* FAQ */
.lp-faq { display: grid; gap: .7rem; }
.lp-faq details { background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: 16px; padding: 0 1.2rem; transition: border-color .2s; }
.lp-faq details[open] { border-color: rgba(56, 189, 248, .55); }
.lp-faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: .6rem; padding: 1.1rem 0; font-weight: 700; font-size: 1.05rem;
}
.lp-faq summary::-webkit-details-marker { display: none; }
.lp-faq summary::after { content: "+"; margin-left: auto; font-size: 1.5rem; font-weight: 400; line-height: 1; color: var(--violet); transition: transform .2s; }
.lp-faq details[open] summary::after { transform: rotate(45deg); }
.lp-faq summary .ico { color: var(--teal); width: 1.3em; height: 1.3em; }
.lp-faq p { margin: 0 0 1.2rem; color: var(--lp-m); }

/* Final CTA */
.lp-final { overflow: hidden; padding: clamp(4rem, 9vw, 7rem) 0; text-align: center; background: radial-gradient(900px 500px at 50% 100%, #1b1550, var(--ink)); }
.lp-final-in { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.lp-final .lp-h2 { max-width: 52rem; margin: 0; }
.lp-final-small { display: inline-flex; align-items: center; gap: .45rem; color: var(--lp-m); margin: 0; font-weight: 600; letter-spacing: .02em; }
.lp-final-small .ico { color: #5eead4; }

/* Footer */
.lp-foot { border-top: 1px solid rgba(255, 255, 255, .08); padding: 2rem 0 5.5rem; font-size: .92rem; }
.lp-foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.lp-foot-brand { display: flex; align-items: center; gap: .6rem; }
.lp-foot-brand .lp-mark { width: 1.7rem; height: 1.7rem; }
.lp-foot-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; align-items: center; }
.lp-foot-links a { color: var(--lp-t); text-decoration: none; }
.lp-foot-links a:hover { text-decoration: underline; }
.lp-foot-links span, .lp-foot-copy { color: var(--lp-m); }
.lp-foot-copy { margin: 0 0 0 auto; }

/* Responsive layout switches */
@media (max-width: 980px) {
  .lp-hero-grid, .lp-split { grid-template-columns: 1fr; }
  .lp-hero-art { max-width: 560px; }
  .lp-sec-head.lp-left { text-align: left; }
}
@media (max-width: 600px) {
  .lp-wrap { padding: 0 16px; }
  .lp-cta-row .lp-btn-lg { width: 100%; }
  .lp-btn-xl { width: 100%; white-space: normal; }
  .lp-foot-copy { margin-left: 0; }
  /* A long button text (German, French …) takes two centered lines; a phone never scrolls sideways (2026-10-26). */
  .lp-btn, .btn { white-space: normal; text-align: center; max-width: 100%; overflow-wrap: break-word; text-wrap: balance; }
}

/* Motion */
.lp-float { animation: lp-float 6s ease-in-out infinite; transform-box: fill-box; }
.lp-f2 { animation-duration: 7.5s; animation-delay: -2s; }
.lp-f3 { animation-duration: 8.5s; animation-delay: -4s; }
.lp-scanline { animation: lp-scan 2.8s ease-in-out infinite; }
.lp-flow { animation: lp-dash 1.6s linear infinite; }
.lp-blink { animation: lp-blink 1.6s ease-in-out infinite; }
.lp-d2 { animation-delay: .25s; }
.lp-d3 { animation-delay: .5s; }
.lp-row { animation: lp-row 6s ease-in-out infinite; }
.lp-r2 { animation-delay: .5s; }
.lp-r3 { animation-delay: 1s; }
.lp-r4 { animation-delay: 1.5s; }
.lp-orbit { transform-origin: 160px 160px; animation: lp-spin 24s linear infinite; }
.lp-pop > g { animation: lp-blink 3s ease-in-out infinite; }
.lp-robot-eyes { transform-box: fill-box; transform-origin: center; animation: lp-eyes 5s ease-in-out infinite; }
@keyframes lp-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes lp-scan { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(104px); } }
@keyframes lp-dash { to { stroke-dashoffset: -30; } }
@keyframes lp-blink { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes lp-pulse { 0%, 100% { box-shadow: 0 0 0 3px rgba(45, 212, 191, .25); } 50% { box-shadow: 0 0 0 7px rgba(45, 212, 191, .05); } }
@keyframes lp-shimmer { to { background-position: -220% 0; } }
@keyframes lp-pop { 0%, 6% { opacity: 0; transform: translateY(10px) scale(.96); } 12%, 88% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; transform: translateY(6px) scale(.98); } }
@keyframes lp-row { 0%, 8% { opacity: .25; } 18%, 100% { opacity: 1; } }
@keyframes lp-spin { to { transform: rotate(360deg); } }
@keyframes lp-eyes { 0%, 46%, 50%, 100% { transform: scaleY(1); } 48% { transform: scaleY(.1); } }
@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { animation: none !important; transition: none !important; }
  .lp-art-notify { opacity: 1 !important; transform: none !important; }
  html:has(.lp) { scroll-behavior: auto; }
}
@media (prefers-reduced-motion: no-preference) { html:has(.lp-main) { scroll-behavior: smooth; } }
.lp-sec, .lp-hero { scroll-margin-top: 4.5rem; }

/* ── What's refundable (/refundable/<cc>) ───────────────────────────────── */
main.rf { max-width: 1100px; }
.rf-crumbs { font-size: .9rem; color: var(--muted); margin-bottom: .75rem; }
.rf-crumbs a { color: var(--muted); }
.rf-head h1 { margin-bottom: .25rem; }
.rf-picker { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; margin: .75rem 0 .25rem; }
.rf-picker label { font-weight: 600; }
.rf-picker select { width: auto; min-width: 14rem; }
.rf-more { font-size: .92rem; color: var(--muted); margin-bottom: 1.25rem; }
.rf-banner { font-size: 1.02rem; }
.rf-totals { display: flex; gap: .5rem; flex-wrap: wrap; }
.rf-two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.rf-taxes { list-style: none; padding: 0; margin: 0 0 .75rem; }
.rf-taxes li { margin-bottom: .45rem; }
.rf-refs { font-size: .85rem; color: var(--muted); }
.rf-ref { color: var(--muted); }
.rf-ref:hover { color: var(--accent); }
.rf-matrix-head { display: flex; gap: .75rem; align-items: center; justify-content: space-between; flex-wrap: wrap; margin: 1.5rem 0 .75rem; }
.rf-matrix-head h2 { margin: 0; }
.rf-filter { display: flex; gap: .35rem; flex-wrap: wrap; }
.rf-filter [aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-text); }
.rf-table tbody th { font-size: .95rem; text-transform: none; letter-spacing: 0; color: var(--text); background: none; white-space: normal; font-weight: 600; }
.rf-table td:nth-child(4) { min-width: 18rem; }
.rf-table td.rf-refs { min-width: 10rem; }
.rf-table tr[hidden] { display: none; }
.table-wrap + .grid { margin-top: 1rem; }
.rf-sources { padding-left: 1.2rem; }
.rf-sources li { margin-bottom: .35rem; overflow-wrap: anywhere; }
.rf-disclaimer { margin-top: 1rem; }
@media (max-width: 640px) {
  .rf-table tbody th { display: block; border: 0; padding: .4rem .9rem .2rem; font-size: 1.02rem; }
  .rf-table td:nth-child(4), .rf-table td.rf-refs { min-width: 0; }
  .rf-table td:nth-child(4), .rf-table td.rf-refs { display: block; text-align: left; }
  .rf-table td:nth-child(4)::before, .rf-table td.rf-refs::before { display: block; }
  .rf-picker select { min-width: 0; width: 100%; }
}
.lp-faq-more { text-align: center; margin-top: 1.25rem; }

/* Sign-up bonus: we chase missing e-invoices */
.bonus-box { border: 2px solid var(--accent); background: var(--accent-soft); border-radius: var(--radius); padding: 1rem 1.1rem; margin: .5rem 0 1.25rem; }
.bonus-box h2 { font-size: 1.1rem; margin: .35rem 0 .4rem; }
.bonus-box p { margin: 0 0 .75rem; }
.bonus-box .bonus-kicker { margin: 0; }
.bonus-box .check { margin-bottom: 0; font-weight: 600; }

/* Checked inputs (static/js/fields.js) */
.phone-row { display: flex; gap: .5rem; }
.phone-row select { width: auto; max-width: 46%; flex: none; }
.phone-row input { flex: 1; min-width: 0; }
.field-check.ok { color: var(--ok); }
.field-check.bad { color: var(--danger); }
input[aria-invalid="true"] { border-color: var(--danger); }

/* Account: pipeline steps, Excel preview, claims, preferences */
.pipeline { display: flex; flex-wrap: wrap; gap: .5rem; }
.pipeline .step { display: flex; flex-direction: column; align-items: flex-start; min-width: 7.5rem; padding: .5rem .75rem;
  border: 1px solid var(--border); border-radius: 8px; background: var(--surface-2); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.pipeline .step .n { font-size: 1.3rem; font-weight: 700; }
.pipeline .step .l { color: var(--muted); font-size: .85rem; }
.pipeline .step.on { border-color: var(--accent); background: var(--accent-soft); }
.pipeline .step.info { cursor: default; border-style: dashed; }
.export-card { margin-top: .75rem; }
.xl-wrap { position: relative; margin-top: .75rem; border: 1px solid #1d6f42; border-radius: 8px; overflow: hidden; background: #fff; }
.xl-bar { background: #1d6f42; color: #fff; font-weight: 600; font-size: .85rem; padding: .35rem .75rem; }
.xl-scroll { overflow-x: auto; }
.xl-sheet { font-size: .85rem; color: #1b1f24; }
.xl-sheet th { background: #e8f1ec; color: #1d6f42; text-transform: none; letter-spacing: 0; border-right: 1px solid #d4e3d9; }
.xl-sheet td { border-right: 1px solid #edf0f2; white-space: nowrap; }
.xl-sheet tr.xl-blur td { filter: blur(5px); user-select: none; }
.xl-lock { position: absolute; left: 0; right: 0; bottom: 0; top: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .25rem; text-align: center; padding: 1rem; background: linear-gradient(to bottom, rgba(255,255,255,.35), rgba(255,255,255,.94) 30%); color: #1b1f24; }
.xl-wrap:has(.xl-lock) .xl-scroll { min-height: 17rem; }
.xl-lock-ico { font-size: 1.6rem; }
.xl-price { font-size: 1.1rem; font-weight: 700; color: #1d6f42; }
.claim-list { list-style: none; padding: 0; margin: 0; }
.claim-row { padding: .5rem 0; border-bottom: 1px solid var(--border); }
.prefs-grid { max-width: 34rem; }
:has(> .prefs-grid) { overflow-x: auto; }                 /* fits a phone (owner, 2026-10-20) */
@media (max-width: 480px) {
  .prefs-grid th, .prefs-grid td { padding-left: .4rem; padding-right: .4rem; }
  .prefs-grid thead th { white-space: normal; letter-spacing: .02em; }   /* "Personal email" wraps: WhatsApp stays in view */
  .xl-wrap:has(.xl-lock) .xl-scroll { min-height: 25rem; }               /* the unlock text is longer on a phone */
}
.prefs-grid td { text-align: center; }
.prefs-grid tbody th { text-transform: none; letter-spacing: 0; color: var(--text); background: none; font-size: .95rem; white-space: normal; }
.prefs-grid small { display: block; font-weight: 400; }
.pay-methods { padding-left: 1.2rem; }
.pay-methods li { margin-bottom: .35rem; }
.pay-choices legend { font-weight: 600; margin-bottom: .5rem; }      /* the 3 choices (2026-10-24) */
.pay-choice { padding: .55rem .7rem; border: 1px solid var(--border); border-radius: 8px; margin-bottom: .5rem; cursor: pointer; }
.pay-choice:has(input:checked) { border-color: var(--accent); }
.pay-renew .check { margin: .5rem 0 0; font-weight: 600; }
.phone-shown { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.cv-points { margin: 0 0 .75rem; padding-left: 1.2rem; }
.cv-points li { margin-bottom: .3rem; }
.send-ways-title { font-size: .95rem; margin: .9rem 0 .4rem; }
.send-ways { margin: 0; padding-left: 1.2rem; display: grid; gap: .5rem; font-size: .93rem; }
.send-ways li strong { display: block; }
.send-ways .btn { margin-top: .35rem; }

/* Admin insights */
.kpi-grid { display: grid; gap: .75rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.kpi { margin: 0; padding: .9rem 1rem; }
.kpi-l { color: var(--muted); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.kpi-n { font-size: 1.5rem; font-weight: 700; font-variant-numeric: tabular-nums; margin: .15rem 0 .35rem; }
.spark { width: 100%; height: 44px; display: block; }
.spark-line { fill: none; stroke: var(--accent); stroke-width: 2; }
.spark-area { fill: var(--accent-soft); stroke: none; }
.lp-disclaimer { opacity: .85; font-size: .9rem; }
/* "Our promise": never sold, and why VATRS exists (owner, 2026-10-22) */
.lp-promise { display: flex; gap: .9rem; align-items: flex-start; max-width: 52rem; margin: 2rem auto 0; padding: 1.1rem 1.3rem;
  border: 1px solid var(--lp-line, rgba(127,127,127,.25)); border-left: 4px solid #5eead4; border-radius: 14px; text-align: left; }
.lp-promise > .ico { flex: none; width: 1.6rem; height: 1.6rem; color: #14b8a6; margin-top: .15rem; }
.lp-promise h3 { margin: 0 0 .3rem; font-size: 1.05rem; }
.lp-promise p { margin: 0; }
.lp-promise-dark { margin: 1.2rem auto 1.4rem; }
/* GeoIP banner: a country VATRS does not serve yet (owner, 2026-10-22) */
.geo-banner { background: #0f2a2a; color: #e6fffb; border-bottom: 1px solid rgba(94,234,212,.35); font-size: .95rem; }
.geo-in { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; align-items: center; justify-content: space-between; padding-top: .8rem; padding-bottom: .8rem; }
.geo-text { flex: 1 1 26rem; }
.geo-actions { display: flex; flex-wrap: wrap; gap: .5rem .9rem; align-items: center; }
.geo-pick { display: inline-flex; flex-wrap: wrap; gap: .4rem; align-items: center; font-size: .9rem; opacity: .9; }
.geo-pick select { color: #0b1220; border-radius: 8px; padding: .25rem .4rem; }
.geo-close { background: none; border: 0; color: inherit; font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 0 .3rem; }
.lp-foot-promise { margin: 0; opacity: .8; font-size: .9rem; }
/* The independence line (owner, 2026-10-26): small, muted, the full width. */
.lp-foot-indep { flex-basis: 100%; margin: 0; color: var(--lp-m); font-size: .8rem; line-height: 1.45; }
.site-footer .site-foot-indep { margin-top: 0; padding-top: 0; font-size: .8rem; }
.accuracy-note { margin: .5rem 0 0; }
.signup-why { margin: 0 0 1rem; padding-left: 1.2rem; color: var(--muted); display: grid; gap: .25rem; }
.id-reminder { margin: .75rem 0 0; padding: .55rem .75rem; border-left: 4px solid var(--warn); background: var(--warn-soft); border-radius: 6px; font-size: .92rem; }
@media (min-width: 761px) { .lp-feat-grid.lp-why-grid { grid-template-columns: repeat(3, 1fr); } }
.lp-why-grid > li:nth-child(7) { grid-column: 1 / -1; }   /* 7th card: one full row, not alone in a column */
.help-card h2 { font-size: 1rem; margin: 0 0 .6rem; }
.help-ways { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: .5rem; }

/* ══ Inner pages in the home-page theme (blog, login) ═══════════════════ */
.lp-btn-outline { color: var(--lp-t); border-color: var(--lp-line); background: transparent; }
.lp-btn-outline:hover { border-color: rgba(45, 212, 191, .6); background: rgba(45, 212, 191, .06); }
.lp-page-hero, .lp-auth { color: var(--lp-t); position: relative; background: radial-gradient(1100px 520px at 70% 0%, #111a48, var(--ink)); }
.lp-page-hero { overflow: hidden; padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2.25rem, 5vw, 3.75rem); }
.lp-page-h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); text-wrap: balance; }
.lp-page-hero .lp-lead { margin-bottom: 0; }
.lp-crumbs { font-size: .88rem; color: var(--lp-m); margin: 0 0 1.4rem; }
.lp-crumbs a { color: var(--lp-m); text-decoration: none; }
.lp-crumbs a:hover { color: var(--lp-t); text-decoration: underline; }
.lp-page-body { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 7vw, 5rem); }
.lp-date { display: inline-flex; align-items: center; gap: .4rem; font-size: .85rem; font-weight: 650; color: var(--lp-badge-t); margin: 0 0 .5rem; }
.lp-posts { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.lp-post-card {
  position: relative; background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: 20px;
  padding: 1.5rem 1.5rem 1.35rem; box-shadow: 0 1px 2px rgba(16, 24, 40, .05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.lp-post-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(16, 24, 40, .12); border-color: rgba(45, 212, 191, .5); }
.lp-post-card h2 { font-size: clamp(1.2rem, 2.2vw, 1.45rem); line-height: 1.25; letter-spacing: -.01em; margin: 0 0 .5rem; }
.lp-post-card h2 a { color: var(--lp-t); text-decoration: none; }
.lp-post-card h2 a::after { content: ""; position: absolute; inset: 0; border-radius: 20px; }
.lp-post-card p:not(.lp-date) { color: var(--lp-m); margin: 0 0 1rem; }
.lp-more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 650; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lp-more .ico { color: #2dd4bf; transition: transform .2s ease; }
.lp-post-card:hover .lp-more .ico { transform: translateX(3px); }
.lp-empty { text-align: center; padding: 2.5rem 1rem; border: 1px dashed var(--lp-line); border-radius: 20px; color: var(--lp-m); }
.lp-article { font-size: 1.08rem; line-height: 1.75; color: var(--lp-t); }
.lp-article p { margin: 0 0 1.15rem; }
.lp-article ul { margin: 0 0 1.25rem; padding-left: 1.3rem; }
.lp-article li { margin: .4rem 0; }
.lp-article li::marker { color: #2dd4bf; }
.lp-article a { color: var(--accent); }
.lp-page-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--lp-line); }

/* Login */
.lp-auth { overflow: hidden; min-height: calc(100vh - 4rem); display: flex; align-items: center; padding: clamp(2.5rem, 6vw, 5rem) 0; }
.lp-auth-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.lp-auth-intro .lp-lead { margin-bottom: 1.5rem; }
.lp-auth-card {
  background: rgba(12, 19, 48, .72); border: 1px solid rgba(255, 255, 255, .14); border-radius: 22px;
  padding: clamp(1.4rem, 3vw, 2.1rem); box-shadow: 0 24px 60px rgba(0, 0, 0, .4), 0 0 0 1px rgba(45, 212, 191, .06);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.lp-auth-card h2 { font-size: 1.55rem; letter-spacing: -.01em; margin: 0 0 1.1rem; }
.lp-auth-foot { margin: 1.25rem 0 0; padding-top: 1.1rem; border-top: 1px solid var(--lp-line); color: var(--lp-m); text-align: center; }
.lp-auth-foot a { color: #5eead4; font-weight: 650; }
@media (max-width: 860px) { .lp-auth { min-height: 0; } .lp-auth-grid { grid-template-columns: minmax(0, 1fr); } }   /* minmax: a wide field never pushes the page past the phone's edge (owner, 2026-10-20) */

/* Portal-style form pieces inside dark home-theme sections */
.lp-dark .card { background: transparent; border: 0; box-shadow: none; padding: 0; margin: 0; }
.lp-dark .field > label { color: var(--lp-t); }
.lp-dark .field .help { color: var(--lp-m); }
.lp-dark input[type="text"], .lp-dark input[type="email"], .lp-dark input[type="tel"], .lp-dark select {
  background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .18); color: var(--lp-t); min-height: 2.9rem; border-radius: 12px;
}
.lp-dark input::placeholder { color: #7d88a8; }
.lp-dark input:focus { border-color: #5eead4; outline: none; box-shadow: 0 0 0 3px rgba(45, 212, 191, .25); }
.lp-dark .btn.primary {
  background: var(--grad); border: 0; color: #04111f; border-radius: 999px; font-weight: 700; min-height: 3rem;
  box-shadow: 0 8px 28px rgba(56, 189, 248, .35); transition: transform .15s ease, box-shadow .2s ease;
}
.lp-dark .btn.primary:hover { background: var(--grad); transform: translateY(-1px); box-shadow: 0 12px 36px rgba(139, 92, 246, .45); }
.lp-dark .btn.link { color: #5eead4; }
.lp-dark .form-error { background: rgba(255, 138, 128, .12); color: #ffb4ab; }
.lp-dark .form-ok { background: rgba(45, 212, 191, .12); color: #99f6e4; }

/* ── My VAT card (/app/card) ─────────────────────────────────────────────── */
.vc-head { margin-bottom: 1rem; }
.vc-head h1 { margin-bottom: .25rem; }
.vc-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 1.25rem; align-items: start; }
@media (max-width: 900px) { .vc-layout { grid-template-columns: minmax(0, 1fr); } }
.vc-preview { position: sticky; top: 1rem; }
@media (max-width: 900px) { .vc-preview { position: static; } }
.vc-stage { display: grid; place-items: center; background: var(--surface-2); border-radius: 12px; padding: 1rem; margin-bottom: .75rem; }
.vc-stage img { width: 100%; max-width: 560px; height: auto; box-shadow: 0 10px 30px rgba(16, 24, 40, .22); }
.vc-stage.portrait img { max-width: 260px; }
.vc-status { margin: .25rem 0 .75rem; font-weight: 600; }
.vc-status.ok { color: var(--ok); }
.vc-status.warn { color: var(--warn); }
.vc-actions { flex-wrap: wrap; gap: .5rem; }
.vc-print { border-top: 1px solid var(--border); margin-top: 1rem; padding-top: .9rem; }
.vc-print h3 { font-size: 1rem; margin: 0 0 .5rem; }
.vc-print .row { flex-wrap: wrap; gap: .6rem; align-items: center; }
.vc-print select { width: auto; }
.vc-wa { margin: 1rem 0 0; padding: .7rem .9rem; border-radius: 10px; background: var(--ok-soft); color: var(--ok); font-weight: 600; }
.vc-options { display: grid; gap: 1rem; min-width: 0; }
.vc-options .card { margin: 0; }
.vc-options h2 { font-size: 1.05rem; margin: 0 0 .6rem; }
.vc-phone { margin: 0; font-weight: 600; }
.vc-fonts { display: grid; grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr)); gap: .5rem; }
.vc-font { display: flex; gap: .6rem; align-items: flex-start; padding: .55rem .7rem; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; }
.vc-font:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.vc-font input { margin-top: .25rem; accent-color: var(--accent); }
.vc-font span { display: flex; flex-direction: column; }
.vc-font small { color: var(--muted); }
.vc-swatches { gap: .5rem; flex-wrap: wrap; margin-bottom: .6rem; }
.vc-sw { width: 2rem; height: 2rem; border-radius: 50%; border: 2px solid var(--border); background: var(--c); cursor: pointer; padding: 0; }
.vc-sw[aria-pressed="true"] { border-color: var(--text); box-shadow: 0 0 0 3px var(--accent-soft); }
.vc-custom { display: inline-flex; align-items: center; gap: .5rem; color: var(--muted); font-size: .92rem; }
.vc-custom input { width: 2.6rem; height: 2rem; padding: 2px; border-radius: 8px; }
#vc-accent-card.dim { opacity: .65; }
.vc-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: .6rem; }
.vc-thumb { display: grid; gap: .35rem; padding: .4rem; border: 2px solid transparent; border-radius: 10px; background: var(--surface-2); cursor: pointer; text-align: left; font: inherit; color: var(--text); }
.vc-thumb img { width: 100%; height: auto; aspect-ratio: 3.5 / 2; object-fit: contain; background: var(--surface); }
.vc-thumb span { font-size: .82rem; }
.vc-thumb[aria-pressed="true"] { border-color: var(--accent); background: var(--accent-soft); }
.vc-thumb:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }


/* ── Sign-up in the home-page theme (#49) ──────────────────────────────────── */
.lp-signup { align-items: flex-start; }
.lp-signup .lp-auth-grid { align-items: start; }
.lp-signup .lp-auth-intro { position: sticky; top: 6rem; }
@media (max-width: 860px) { .lp-signup .lp-auth-intro { position: static; } }
.lp-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.lp-checks li { display: flex; gap: .65rem; align-items: flex-start; color: var(--lp-t); font-weight: 550; }
.lp-checks .ico { color: #5eead4; margin-top: .2rem; width: 1.2em; height: 1.2em; }
.lp-dark .bonus-box { border: 1px solid rgba(45, 212, 191, .45); background: linear-gradient(140deg, rgba(45, 212, 191, .12), rgba(139, 92, 246, .12)); border-radius: 16px; }
.lp-dark .bonus-box p { color: var(--lp-m); }
.lp-dark .badge.accent { background: rgba(45, 212, 191, .18); color: #5eead4; }
.lp-dark .check span, .lp-dark .check { color: var(--lp-t); }
.lp-dark .check input { accent-color: #2dd4bf; }
.lp-dark small, .lp-dark .muted, .lp-dark .help { color: var(--lp-m); }
.lp-auth a:not(.lp-btn), .lp-auth-card a:not(.lp-btn) { color: #5eead4; }
.lp-dark select option { background: #0c1330; color: #eef2ff; }
.lp-dark .btn:not(.primary) { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .18); color: var(--lp-t); border-radius: 999px; }

/* ── Signed-in pages (account, VAT card) in the home-page theme (#49) ──────── */
main.app-main, body:has(.chat) main.app-main {
  max-width: none; padding: 0;
  background: radial-gradient(1100px 360px at 75% -140px, rgba(139, 92, 246, .12), transparent 70%),
              radial-gradient(900px 300px at 5% -120px, rgba(45, 212, 191, .12), transparent 70%), var(--bg);
}
.app-wrap { max-width: var(--page-max); margin: 0 auto; padding: 1.75rem clamp(16px, 2.5vw, 40px) 4.5rem; }
.app-who { color: var(--lp-m); font-weight: 600; font-size: .92rem; margin-right: .25rem; }
.app-main h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.02em; font-weight: 800; text-wrap: balance; }
.app-main h2 { letter-spacing: -.01em; }
.app-main .card { border-radius: 18px; box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 10px 28px rgba(16, 24, 40, .06); }
.app-main .btn { border-radius: 999px; font-weight: 650; }
.app-main .btn.primary { background: var(--grad); border-color: transparent; color: #04111f; box-shadow: 0 6px 20px rgba(56, 189, 248, .25); }
.app-main .btn.primary:hover { filter: saturate(1.15); }
.app-main .tabs [role="tab"][aria-selected="true"] { color: var(--text); border-bottom-color: transparent; box-shadow: inset 0 -3px 0 #2dd4bf; }
.app-main .badge.accent { background: rgba(45, 212, 191, .14); color: #0f766e; }
@media (prefers-color-scheme: dark) { .app-main .badge.accent { color: #5eead4; } }
.app-main .stat { border-radius: 12px; }

/* Account page welcome band (#49) */
.app-hero { position: relative; overflow: hidden; border-radius: 24px; color: var(--lp-t);
  background: radial-gradient(900px 420px at 85% -10%, #1b1a5a, transparent 60%), radial-gradient(700px 360px at 0% 110%, #0b3a3f, transparent 60%), #070b1a;
  box-shadow: 0 20px 50px rgba(7, 11, 26, .25); margin-bottom: 1.25rem; }
.app-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: 2rem; padding: clamp(1.4rem, 3vw, 2.2rem); }
@media (max-width: 860px) { .app-hero-grid { grid-template-columns: 1fr; } }
.app-hero .app-hero-label { font-size: .95rem; font-weight: 600; color: var(--lp-m); margin: 0; }
.app-hero .big-number { font-size: clamp(2.4rem, 6vw, 3.6rem); font-weight: 800; letter-spacing: -.025em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin: .1rem 0 1rem; }
.app-hero .pipeline .step { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px; color: var(--lp-t); }
.app-hero .pipeline .step .l { color: var(--lp-m); }
.app-hero .pipeline .step.on { border-color: rgba(45, 212, 191, .6); background: rgba(45, 212, 191, .14); }
.app-hero-addr { background: rgba(255, 255, 255, .055); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; padding: 1.2rem 1.3rem; }
.app-hero-addr h2 { color: var(--lp-m); }
.app-hero .address-box code { background: rgba(255, 255, 255, .08); color: #ecfeff; border-radius: 10px; padding: .5rem .75rem; }
.app-hero .send-ways, .app-hero .send-ways span { color: var(--lp-m); }
.app-hero .send-ways strong { color: var(--lp-t); }
.app-hero .id-reminder { background: rgba(240, 192, 96, .12); color: #fde68a; border-color: #f0c060; }
.app-hero .notice { background: rgba(255, 255, 255, .07); color: var(--lp-t); border-color: #5eead4; }


/* Getting-started checklist (#75) */
.start-card { margin-bottom: 1.25rem; }
.start-head { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; }
.start-head h2 { margin: 0; font-size: 1.15rem; }
.start-head .btn.link { margin-left: auto; }
.start-bar { height: 6px; border-radius: 99px; background: var(--surface-2); margin: .8rem 0 1rem; overflow: hidden; }
.start-bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(120deg, #2dd4bf, #38bdf8 45%, #8b5cf6); }
.start-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.start-item { display: flex; gap: .8rem; align-items: center; padding: .65rem .8rem; border: 1px solid var(--border); border-radius: 14px; }
.start-item.done { opacity: .7; }
.start-item.done strong { text-decoration: line-through; text-decoration-color: rgba(45, 212, 191, .7); }
.start-tick { flex: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; display: grid; place-items: center; font-weight: 800;
  border: 2px solid var(--border); color: #04111f; }
.start-item.done .start-tick { border-color: transparent; background: linear-gradient(120deg, #2dd4bf, #8b5cf6); }
.start-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.start-text .muted { font-size: .9rem; }

/* Mission deadline countdown (#73) */
.deadline-card { margin-bottom: 1.25rem; }
.dl-head { display: flex; align-items: center; gap: .75rem; flex-wrap: wrap; }
.dl-head h2 { margin: 0; font-size: 1.2rem; }
.dl-pill { font-weight: 800; font-size: .85rem; padding: .3rem .75rem; border-radius: 999px; background: var(--surface-2); }
.dl-pill.dl-ok { background: var(--ok-soft); color: var(--ok); }
.dl-pill.dl-soon { background: var(--warn-soft); color: var(--warn); }
.dl-pill.dl-urgent, .dl-pill.dl-today { background: var(--danger-soft); color: var(--danger); }
.dl-date { font-size: 1.05rem; margin: .7rem 0 .3rem; }
.dl-ready { font-weight: 650; margin: 0 0 .5rem; }
.dl-more summary { cursor: pointer; font-weight: 600; margin-top: .5rem; }
.dl-table tr.dl-closed td { color: var(--muted); }
.dl-table tr.dl-open td { font-weight: 700; background: var(--accent-soft); }
.dl-expiring { margin: .9rem 0 0; }

/* Per-receipt expiry countdown (#73) */
.exp-note { display: flex; flex-direction: column; gap: .1rem; margin-top: .35rem; padding: .35rem .55rem; border-radius: 8px; font-size: .85rem; max-width: 26rem; }
.exp-note strong { font-size: .85rem; }
.exp-soon { background: var(--warn-soft); color: var(--warn); }
.exp-urgent, .exp-expired { background: var(--danger-soft); color: var(--danger); }

/* How each receipt was handled (#81) */
.hd-summary { margin: .4rem 0 .9rem; font-weight: 600; color: var(--muted); }
.hd-note { display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; }
.hd-why { font-size: .85rem; color: var(--muted); max-width: 26rem; }

/* My subscriptions: month maps (owner, 2026-10-23; portal-subscriptions.js) */
.sub-list { list-style: none; margin: 1rem 0 0; padding: 0; display: grid; gap: .7rem; }
.sub-row { padding: .7rem .85rem; border: 1px solid var(--border); border-radius: 14px; }
.sub-row.has-missing { border-color: var(--danger); }
.sub-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; }
.sub-head > div { display: flex; flex-direction: column; }
.sub-map { display: flex; flex-wrap: wrap; gap: 4px; margin-top: .6rem; }
.sub-m { position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  min-width: 2.4rem; height: 2.1rem; border-radius: 6px; font-size: .7rem; line-height: 1.05; text-decoration: none;
  color: #fff; border: 1px solid transparent; }
.sub-m .sub-y { font-size: .6rem; opacity: .85; }
.sub-ok { background: var(--ok); }
.sub-no_einvoice { background: var(--warn); }
.sub-missing { background: var(--danger); }
.sub-waiting { background: transparent; border-color: var(--border); color: var(--muted); }
a.sub-m:hover, a.sub-m:focus-visible { outline: 2px solid var(--text, currentColor); outline-offset: 1px; }
.sub-legend { list-style: none; padding: 0; margin: .4rem 0 .8rem; display: flex; flex-wrap: wrap; gap: .4rem 1rem; font-size: .85rem; }
.sub-legend li { display: inline-flex; align-items: center; gap: .35rem; }
.sub-legend .sub-m { min-width: 1rem; height: 1rem; }
.sub-form { margin: .5rem 0 1rem; display: grid; gap: .6rem; max-width: 34rem; }
.sub-form .field { display: grid; gap: .2rem; }
.sub-sugg { list-style: none; margin: .4rem 0 0; padding: 0; display: grid; gap: .4rem; }
.sub-sugg li { display: flex; align-items: center; justify-content: space-between; gap: .6rem; flex-wrap: wrap; }

/* Photo check tip under an upload (#71) */
.photo-tip { flex-basis: 100%; margin: .35rem 0 0; white-space: pre-line; font-size: .9rem; color: var(--warn); }

/* Store web-form kits (#82) */
.forms-card { margin-bottom: 1.25rem; }
.forms-card h2 { margin: 0 0 .2rem; font-size: 1.15rem; }
.kit { border: 1px solid var(--border); border-radius: 14px; padding: .8rem .9rem; margin-top: .8rem; }
.kit.is-done { opacity: .75; }
.kit-head { display: flex; flex-wrap: wrap; gap: .6rem; align-items: baseline; }
.kit-email-tip { margin: .55rem 0; padding: .5rem .7rem; border-radius: 10px; background: var(--warn-soft); color: var(--warn); font-weight: 600; }
.kit-fields { display: grid; gap: .35rem; margin: .4rem 0 .7rem; }
.kit-field { display: grid; grid-template-columns: minmax(7rem, 11rem) 1fr auto; gap: .5rem; align-items: center; }
.kit-field.is-email .kit-value { font-weight: 700; }
.kit-label { color: var(--muted); font-size: .9rem; }
.kit-value { overflow-wrap: anywhere; }
.kit-message { width: 100%; font: inherit; font-size: .92rem; margin: .25rem 0 .5rem; }
.kit-actions { gap: .5rem; flex-wrap: wrap; }
@media (max-width: 560px) { .kit-field { grid-template-columns: 1fr auto; } .kit-label { grid-column: 1 / -1; } }

/* Card details: own save button (the card is drawn from saved details) */
.vc-details-actions { align-items: center; gap: .75rem; margin-top: .5rem; }
.vc-details-status { font-size: .9rem; font-weight: 600; }
.vc-details-status.ok { color: var(--ok); }
.vc-details-status.warn { color: var(--warn); }

/* Correction request (name / ID typo) */
.fix-box { margin: .25rem 0 1rem; }
.fix-box summary { cursor: pointer; color: var(--accent); font-weight: 600; }
.fix-box form, .fix-box .notice { margin-top: .6rem; }

/* Upload: scan receipt QR codes (#92) */
.qr-card { margin-top: 1.25rem; }
.qr-head { display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: flex-start; justify-content: space-between; }
.qr-head > div:first-child { flex: 1 1 18rem; min-width: 0; }
.qr-scanner { margin-top: 1rem; display: grid; gap: .6rem; }
.qr-view { position: relative; width: 100%; max-width: 32rem; aspect-ratio: 4 / 3; background: #000; border-radius: 12px; overflow: hidden; }
.qr-view video { width: 100%; height: 100%; object-fit: cover; display: block; }
.qr-overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.qr-status { margin: 0; font-weight: 600; min-height: 1.4em; }
#qr-session li.qr-saved span:first-child { color: var(--ok); font-weight: 600; }
#qr-session li.qr-not_invoice span:first-child, #qr-session li.qr-error span:first-child { color: var(--danger); }

/* Settings: messages to the team (#51) */
.team-list { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: .6rem; }
.team-list li { border: 1px solid var(--border); border-radius: 10px; padding: .6rem .8rem; min-width: 0; }
.team-meta { display: flex; flex-wrap: wrap; gap: .4rem .75rem; align-items: center; font-size: .85rem; }
.team-text { margin: .3rem 0 0; overflow-wrap: anywhere; white-space: pre-line; }

/* Contact tips from users (#86) */
.tip-link { padding: 0; min-height: 0; font-size: .85rem; margin-top: .25rem; }
.tip-dialog { max-width: 32rem; width: calc(100% - 2rem); border: 1px solid var(--border); border-radius: 16px; padding: 1.2rem 1.3rem; background: var(--surface); color: var(--text); }
.tip-dialog::backdrop { background: rgba(7, 11, 26, .55); }
.tip-dialog h2 { margin: 0 0 .3rem; font-size: 1.15rem; }
.tip-known { margin: .2rem 0 .8rem; padding-inline-start: 1.1rem; font-size: .9rem; overflow-wrap: anywhere; }

/* Back links */
.back-link { display: inline-flex; align-items: center; gap: .35rem; margin: 0 0 .9rem; font-weight: 600; text-decoration: none; color: var(--accent); }
.back-link:hover { text-decoration: underline; }
.lp-dark .back-link { color: #5eead4; }
.lp-auth-intro .back-link { display: flex; width: max-content; }   /* its own line, above the kicker */
.lp-dark .rf-crumbs, .lp-dark .rf-crumbs a, .lp-dark .rf-more { color: var(--lp-m); }
@media print { .back-link { display: none; } }

/* Settings: one horizontal row per card — title + one line on the left, fields on the right */
.set-stack { display: grid; gap: 1rem; margin-bottom: 1rem; }
.set-row { display: grid; grid-template-columns: minmax(11rem, 15rem) 1fr; gap: .5rem 2rem; align-items: start; margin-bottom: 1rem; }
.set-stack .set-row { margin-bottom: 0; }
.set-head h3 { margin: 0 0 .25rem; }
.set-head .help { margin: 0; }
.set-body > :first-child { margin-top: 0; }
.set-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.25rem; }
.set-fields .field { margin-top: 0; }
.set-fields .set-wide, .set-fields > form, .set-fields > .field:has(#phone-form) { grid-column: 1 / -1; }
@media (max-width: 760px) {
  .set-row { grid-template-columns: minmax(0, 1fr); }     /* never wider than the phone (owner, 2026-10-20) */
  .set-fields { grid-template-columns: minmax(0, 1fr); }
}
.month-table { overflow-x: auto; }                       /* the export's months table scrolls on a phone */

/* Hero: how much of the total is ready */
.claim-split { margin: .2rem 0 0; font-size: .95rem; color: #a5b0cf; }
.claim-caps { margin: .2rem 0 0; font-size: .9rem; color: #a5b0cf; }     /* the yearly cap per year (Germany plan G7) */
.claim-caps .cap-line { display: block; }
.rc-notes { display: block; }
.rc-notes .limit-note { display: block; }
.rx-actions { display: flex; flex-wrap: wrap; gap: .1rem .6rem; }       /* vehicle, payment proof (Germany G14/G15) */
.rx-item { display: inline-flex; flex-direction: column; align-items: flex-start; }
.rx-on { font-weight: 600; }
.rx-form { display: flex; flex-direction: column; gap: .35rem; margin: .3rem 0; max-width: 16rem; }
.rx-form label { display: flex; flex-direction: column; font-size: .85rem; }
.rx-form input { max-width: 100%; }
.app-hero .big-number, .claim-usd-n { overflow-wrap: normal; }    /* break at the space, never inside the digits */
.claim-usd { margin: -.7rem 0 .9rem; }       /* the same VAT in USD, a second big number (owner, 2026-10-23) */
.claim-usd-n { display: block; font-size: clamp(1.9rem, 5vw, 2.8rem); font-weight: 800; letter-spacing: -.02em; line-height: 1.1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.claim-usd small { display: block; margin-top: .25rem; font-size: .85rem; font-weight: 400; color: #a5b0cf; }

/* Confirm box (V.confirm) */
.confirm-dialog { max-width: 26rem; width: calc(100% - 2rem); border: 1px solid var(--border); border-radius: 16px; padding: 1.2rem 1.3rem; background: var(--surface); color: var(--text); }
.confirm-dialog::backdrop { background: rgba(7, 11, 26, .55); }
.confirm-dialog h2 { margin: 0 0 .4rem; font-size: 1.1rem; }
.confirm-dialog p { margin: 0 0 1rem; color: var(--muted); }
.confirm-dialog .row { gap: .5rem; justify-content: flex-end; }

.kit-tickets { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.kit-ticket { display: inline-flex; gap: .3rem; }

/* Guide (/app/guide) */
.guide-head h1 { margin: 0 0 .3rem; }
.guide-search { width: 100%; max-width: 32rem; margin: .8rem 0 .4rem; }
.guide-layout { display: grid; grid-template-columns: minmax(12rem, 15rem) 1fr; gap: 1.5rem; align-items: start; margin-top: 1rem; }
.guide-toc { position: sticky; top: 1rem; }
.guide-toc summary { font-weight: 700; cursor: pointer; margin-bottom: .4rem; }
.guide-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.guide-toc a { display: block; padding: .3rem .55rem; border-radius: 8px; text-decoration: none; color: var(--text); }
.guide-toc a:hover, .guide-toc a.on { background: var(--accent-soft); color: var(--accent); }
.guide-body { display: grid; gap: 1rem; min-width: 0; }
.guide-sec { scroll-margin-top: 1rem; }
.guide-sec h2 { margin: 0 0 .35rem; font-size: 1.25rem; }
.guide-anchor { color: var(--muted); text-decoration: none; font-weight: 400; }
.guide-summary { font-size: 1.05rem; margin: 0 0 .8rem; }
.guide-steps { margin: 0 0 .8rem; padding-inline-start: 1.3rem; display: grid; gap: .35rem; }
.guide-actions-h { margin: .9rem 0 .4rem; font-size: .95rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.guide-actions { margin: 0; display: grid; gap: .5rem; }
.guide-action { display: grid; grid-template-columns: minmax(10rem, 16rem) 1fr; gap: .2rem 1rem; padding: .55rem .7rem; border: 1px solid var(--border); border-radius: 12px; }
.guide-action dt { font-weight: 700; }
.guide-action dd { margin: 0; }
.guide-tip { margin: .8rem 0 0; padding: .6rem .8rem; border-radius: 10px; background: var(--accent-soft); }
@media (max-width: 820px) {
  .guide-layout { grid-template-columns: 1fr; }
  .guide-toc { position: static; }
  .guide-toc details:not([open]) ol { display: none; }
  .guide-action { grid-template-columns: 1fr; }
}

/* Milestone badge (#68) */
.milestone-badge { display: inline-block; margin: .5rem 0 0; padding: .25rem .7rem; border-radius: 999px;
  background: rgba(45, 212, 191, .16); color: #5eead4; font-weight: 650; font-size: .9rem; }

/* Home-page live tally (#57) */
.lp-tally { background: linear-gradient(90deg, rgba(45,212,191,.16), rgba(56,189,248,.12), rgba(139,92,246,.16)), var(--ink, #070b1a);
  color: #eef2ff; font-size: .92rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.lp-tally-in { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1rem; padding: .45rem 20px; }
.lp-tally strong { color: #5eead4; font-variant-numeric: tabular-nums; }
.lp-tally-dot { color: #a5b0cf; }
.lp-tally-live { display: inline-block; width: .5rem; height: .5rem; margin-right: .5rem; border-radius: 50%;
  background: #5eead4; vertical-align: middle; box-shadow: 0 0 0 0 rgba(94,234,212,.7); animation: lp-live 2s infinite; }
@keyframes lp-live { 0% { box-shadow: 0 0 0 0 rgba(94,234,212,.7); } 70% { box-shadow: 0 0 0 .5rem rgba(94,234,212,0); }
  100% { box-shadow: 0 0 0 0 rgba(94,234,212,0); } }
@media (prefers-reduced-motion: reduce) { .lp-tally-live { animation: none; } }

/* Downloads (#58) */
.dl-receipt { padding: 0; min-height: 0; font-size: .85rem; margin-inline-start: .5rem; }
.dl-period { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid var(--border); }
.dl-period h4 { margin: 0 0 .2rem; }
.dl-period .row { align-items: center; gap: .5rem; flex-wrap: wrap; }
.dl-period input[type=date] { width: auto; }

/* Invite colleagues (#60) */
.invite-card { margin-bottom: 1.25rem; }
.invite-card h2 { margin: 0 0 .2rem; font-size: 1.15rem; }

/* Needs a look: compact rows and vendor-form cards */
#panel-review .help { margin: .2rem 0 .6rem; }
#review-list td { padding: .4rem .6rem; }
#review-list .hd-why { max-width: none; }
.forms-card { padding: .9rem 1rem; margin-bottom: .75rem; }
.forms-card .kit { padding: .5rem .75rem; margin-top: .5rem; border-radius: 10px; }
.forms-card .kit-email-tip { margin: .35rem 0; padding: .35rem .6rem; }
.forms-card .kit-fields { gap: .1rem; margin: .25rem 0 .4rem; }
.forms-card .kit-message { margin: .15rem 0 .35rem; }
@media (max-width: 640px) {
  #review-list table.stack tr, #missing-cufe table.stack tr { padding: .25rem 0; }
  #review-list table.stack td, #missing-cufe table.stack td { padding: .1rem .7rem; }
}
/* Needs a look: compact rows (owner, 2026-10-25: "less white space, reduce the height of the row a bit") */
#panel-review th, #panel-review td { padding: .35rem .6rem; vertical-align: middle; }
#panel-review td .btn.small { min-height: 1.75rem; padding: .1rem .55rem; font-size: .85rem; }
#panel-review td .badge { white-space: nowrap; }
@media (min-width: 641px) {
  #missing-cufe td.actions > .row { flex-wrap: nowrap; justify-content: flex-end; }
}
.qr-code-cell { display: flex; flex-direction: column; gap: .1rem; }

/* Receipts: a tight table — status, note and links flow on one line where they fit */
#receipts-list td { padding: .35rem .6rem; vertical-align: middle; }
#receipts-list th { padding: .4rem .6rem; }
#receipts-list .hd-cell { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .6rem; }
#receipts-list .hd-note { flex-direction: row; flex-wrap: wrap; align-items: center; gap: .1rem .5rem; }
#receipts-list .hd-why { font-size: .8rem; max-width: 46rem; }
#receipts-list .dl-receipt, #receipts-list .tip-link { margin: 0; font-size: .8rem; }
@media (max-width: 640px) {
  #receipts-list table.stack tr { padding: .3rem 0; }
  #receipts-list table.stack td { padding: .1rem .7rem; }
}
.qr-pop { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 2; width: min(86%, 22rem);
  display: flex; flex-direction: column; gap: .3rem; padding: 1rem 1.2rem; border-radius: 16px; text-align: center;
  background: #1e7a3f; color: #fff; font-size: 1.05rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); animation: qr-pop-in .18s ease-out; }
.qr-pop strong { font-size: 1.3rem; }
.qr-pop span { font-size: .9rem; opacity: .92; overflow-wrap: anywhere; }
.qr-pop[hidden] { display: none; }
.qr-pop-already_scanned { background: #1f5fbf; }
.qr-pop-not_invoice { background: #8a5a00; }
.qr-pop-error { background: #b42318; }
@keyframes qr-pop-in { from { transform: translate(-50%, -50%) scale(.85); opacity: 0; } to { transform: translate(-50%, -50%) scale(1); opacity: 1; } }
.qr-cufe { overflow-wrap: anywhere; word-break: break-all; }

/* Store web forms: field tiles in columns, one-line header, message folded away */
.forms-card .kit > summary { list-style: none; cursor: pointer; }
.forms-card .kit > summary::-webkit-details-marker { display: none; }
.forms-card .kit > summary::before { content: "▸"; color: var(--muted); margin-right: .2rem; }
.forms-card .kit[open] > summary::before { content: "▾"; }
.forms-card .kit-email-tip { font-size: .85rem; font-weight: 600; }
.forms-card .kit-fields { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .35rem; margin: .35rem 0 .5rem; }
.forms-card .kit-field { grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 0 .4rem; padding: .25rem .5rem;
  border: 1px solid var(--surface-2); border-radius: 8px; background: var(--surface-2); }
.forms-card .kit-field .kit-label { grid-column: 1 / -1; font-size: .72rem; text-transform: uppercase; letter-spacing: .04em; }
.forms-card .kit-field .kit-value { font-size: .9rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.forms-card .kit-field .btn.small { padding: .1rem .5rem; min-height: 0; font-size: .75rem; }
.forms-card .kit-actions { align-items: center; gap: .35rem; }
.forms-card .kit-msg { margin-top: .35rem; font-size: .85rem; }
.forms-card .kit-msg summary { cursor: pointer; color: var(--muted); }
@media (max-width: 560px) { .forms-card .kit-field { grid-template-columns: 1fr auto; } .forms-card .kit-field .kit-label { grid-column: 1 / -1; } }
.qr-state { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 .5rem; padding: .25rem .75rem; border-radius: 999px;
  background: var(--surface-2); font-weight: 650; font-size: .9rem; }
.qr-dot { width: .65rem; height: .65rem; border-radius: 50%; background: #9ca3af; }
.qr-state.is-scanning .qr-dot { background: #16a34a; }
.qr-state.is-detected .qr-dot { background: #f59e0b; }
.qr-state.is-captured .qr-dot { background: #2563eb; }
.qr-state.is-offline .qr-dot { background: #dc2626; }
.qr-candidate { margin: .25rem 0 0; font-size: .8rem; color: var(--muted); overflow-wrap: anywhere; min-height: 1.2em; }
/* The WhatsApp scan link (/scan/<token>, owner 2026-10-24): the camera fills the screen; nothing else. */
.scan-page { margin: 0; min-height: 100vh; min-height: 100dvh; background: #000; color: #fff; }
.scan-app { display: grid; gap: .75rem; max-width: 40rem; margin: 0 auto;
  padding: max(12px, env(safe-area-inset-top, 0px)) max(12px, env(safe-area-inset-right, 0px))
           max(16px, env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px)); }
.scan-page .qr-view { max-width: none; aspect-ratio: auto; height: 72vh; height: min(72dvh, 46rem); border-radius: 16px; }
.scan-page .qr-state { position: absolute; top: .75rem; left: .75rem; z-index: 2; margin: 0; background: rgba(0, 0, 0, .6); color: #fff; }
.scan-count { position: absolute; top: .75rem; right: .75rem; z-index: 2; margin: 0; padding: .25rem .75rem; border-radius: 999px;
  background: #16a34a; color: #fff; font-weight: 700; font-size: .9rem; }
.scan-count[hidden] { display: none; }
.scan-page .qr-status { text-align: center; color: #fff; }
.scan-actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; }
.scan-page .scan-done { min-width: 10rem; }
.scan-count-done { font-weight: 700; color: #4ade80; }
.scan-page .result-list { margin: 0; }
.scan-page .result-list li { border-bottom-color: #222; }
.scan-page .muted { color: #b8c0d8; }
.scan-problem-box { max-width: 30rem; margin: 18vh auto 0; padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px)); }
.inbox-row { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .5rem 0 0; }
/* "Check my email now" stands out on the dark box (owner, 2026-10-23) */
.inbox-check-btn { background: #5eead4; border-color: #5eead4; color: #062b26; font-weight: 700; }
.inbox-check-btn:hover { background: #99f6e4; border-color: #99f6e4; color: #062b26; }
.live-home { margin-top: 1rem; }
.missing-cufe { margin-top: 1rem; }
.missing-cufe h3 { margin: 0 0 .25rem; font-size: 1.05rem; }
.live-home h3 { margin: 0 0 .25rem; font-size: 1rem; }
.live-home .live-mini { margin-top: 0; }
.qr-list-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem; margin-top: 1rem; }
.qr-list-head h4 { margin: 0; }
.locked-help { margin-bottom: .75rem; } .locked-help ol { margin: .4rem 0 .6rem; padding-left: 1.3rem; } .locked-help li { margin: .15rem 0; }
.kit-mine { border: 1px solid var(--border); border-radius: 12px; padding: .6rem .8rem; margin: .5rem 0 .75rem; } .kit-mine h3 { margin: 0 0 .3rem; font-size: 1rem; } .forms-card .kit-msg { display: flex; flex-direction: column; gap: .2rem; margin: .25rem 0 .4rem; }

/* Store emails */
/* Emails to vendors (owner, 2026-10-24): one color per kind — e-invoice requests blue-green, corrections purple. */
.kind-pill { display: inline-block; font-size: .8rem; font-weight: 700; padding: .1rem .55rem; border-radius: 999px; white-space: nowrap; }
.kind-einv { background: #cffafe; color: #155e75; }
.kind-fix { background: #ede9fe; color: #5b21b6; }
.kind-dot { display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; margin-right: .35rem; vertical-align: middle; }
.kind-dot.kind-einv { background: #06b6d4; }
.kind-dot.kind-fix { background: #8b5cf6; }
.vendor-kinds { margin-top: .4rem; }
.vendor-table tr.vendor-kind-einv > td:first-child { box-shadow: inset 4px 0 0 #06b6d4; }
.vendor-table tr.vendor-kind-fix > td:first-child { box-shadow: inset 4px 0 0 #8b5cf6; }
@media (prefers-color-scheme: dark) {
  .kind-einv { background: rgba(34, 211, 238, .16); color: #67e8f9; }
  .kind-fix { background: rgba(167, 139, 250, .18); color: #c4b5fd; }
}
.vendor-card { border: 1px solid var(--border); border-radius: 12px; padding: .6rem .8rem; margin: 0 0 .6rem; background: var(--surface); }
.vendor-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: .6rem; align-items: start; }
.vendor-grid .vendor-card { margin: 0; padding: .5rem .7rem; }
.vendor-head { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .6rem; }
.vendor-grid .vendor-head .badge { margin-left: auto; }
.vendor-foot { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .2rem .6rem; }
.vendor-foot .vendor-more { flex-basis: auto; }
.vendor-foot .vendor-more[open] { flex-basis: 100%; }
.vendor-more summary { cursor: pointer; color: var(--accent); }
.vendor-grid .vendor-timeline time { min-width: 0; }
.vendor-meta { margin: .25rem 0; overflow-wrap: anywhere; }
.vendor-timeline { list-style: none; margin: .2rem 0; padding: 0; font-size: .85rem; }
.vendor-timeline li { display: flex; gap: .8rem; padding: .1rem 0; }
.vendor-timeline time { flex: none; color: var(--muted); font-family: var(--mono); font-size: .8rem; min-width: 10.5rem; }
.vendor-letter summary { cursor: pointer; color: var(--accent); font-size: .85rem; }
.vendor-letter-text { white-space: pre-wrap; font-size: .82rem; background: var(--surface-2); padding: .6rem; border-radius: 8px; max-height: 24rem; overflow: auto; }
.vendor-filters { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 .75rem; }
.vendor-filters .pill { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: .4rem .85rem; font: inherit; font-size: .88rem; cursor: pointer; min-height: 36px; }
.vendor-filters .pill.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); font-weight: 650; }

/* Live activity (portal-live.js, owner 2026-10-19): one plain line per file, grouped by arrival. */
.live-actions { gap: .5rem; flex-wrap: wrap; }
.live-status { font-weight: 600; min-height: 1.4em; }
.live-group { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); margin: 0 0 1rem; overflow: hidden; }
.live-group-h { font-size: 1rem; margin: 0; padding: .6rem .9rem; border-bottom: 1px solid var(--border); }
.live-lines { list-style: none; margin: 0; padding: 0; }
.live-line { display: grid; grid-template-columns: 1.6rem 1fr auto; gap: .6rem; align-items: start;
  padding: .55rem .9rem; border-top: 1px solid var(--border); }
.live-lines .live-line:first-child { border-top: 0; }
.live-ico { font-size: 1.1rem; line-height: 1.4; text-align: center; }
.live-body { min-width: 0; }
.live-name { overflow-wrap: anywhere; }
.live-line.live-reading .live-ico, .live-line.live-received .live-ico, .live-line.live-dian .live-ico { animation: live-pulse 1.4s ease-in-out infinite; }
.live-line.live-help, .live-line.live-locked { background: var(--warn-soft); }
.live-line.live-not_receipt, .live-line.live-error, .live-line.live-cannot { background: var(--danger-soft); }
.live-line.live-done strong { color: var(--ok); }
.live-mini { margin-top: .75rem; }
.live-mini .live-lines { background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius); margin: .4rem 0; }
@keyframes live-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .live-line .live-ico { animation: none !important; } }

/* "Why create an account" (/why, templates/public/why.html): the landing look, plus a few parts. */
.lp-why-late-sec { padding: clamp(2rem, 5vw, 3rem) 0 0; }
.lp-why-late {
  display: flex; gap: 1rem; align-items: flex-start; padding: clamp(1.25rem, 3vw, 1.75rem); border-radius: 20px;
  background: linear-gradient(140deg, rgba(45, 212, 191, .14), rgba(139, 92, 246, .14)), var(--lp-card); border: 1px solid rgba(45, 212, 191, .45);
}
.lp-why-late .lp-ico-badge { background: var(--grad); color: #04111f; }
.lp-why-late-t { font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.25; margin: 0 0 .4rem; }
.lp-why-late p { color: var(--lp-m); margin: 0 0 1rem; }
.lp-why-dian { background: radial-gradient(1100px 560px at 50% 0%, #0e1d48, var(--ink)); }
.lp-why-flow { list-style: none; padding: 0; margin: 0 auto 2rem; max-width: 60rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.lp-why-flow li { display: flex; gap: .8rem; align-items: center; padding: 1rem; border-radius: 16px; background: var(--lp-card); border: 1px solid var(--lp-line); position: relative; }
.lp-why-flow li:not(:last-child)::after { content: "→"; position: absolute; right: -.85rem; top: 50%; transform: translateY(-50%); color: #5eead4; font-weight: 800; }
.lp-why-flow h3 { font-size: 1rem; margin: 0 0 .15rem; }
.lp-why-flow p { color: var(--lp-m); margin: 0; font-size: .9rem; }
.lp-why-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; max-width: 56rem; margin: 0 auto; }
.lp-why-price { background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: 20px; padding: 1.5rem; }
.lp-why-price h3 { margin: 0 0 .5rem; font-size: 1.1rem; }
.lp-why-price > p { color: var(--lp-m); margin: .75rem 0 0; font-size: .93rem; }
.lp-why-price-hl { background: linear-gradient(140deg, rgba(45, 212, 191, .12), rgba(139, 92, 246, .12)), var(--lp-card); border-color: rgba(45, 212, 191, .45); }
.lp-why-amount { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; margin: 0; color: var(--lp-t); }
.lp-why-price > .lp-why-amount { color: var(--lp-t); margin: 0; font-size: 2rem; }
.lp-why-price > .lp-why-amount-2 { font-size: 1.4rem; margin-top: .3rem; }
.lp-why-amount small { font-size: .9rem; font-weight: 550; color: var(--lp-m); letter-spacing: 0; }
/* The promotion (#215): the normal price struck through, and the percent off. */
.lp-why-price > .lp-why-was { margin: .15rem 0 0; font-size: .95rem; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.lp-why-was s, .lp-chip-price s { color: var(--lp-m); text-decoration-thickness: 2px; }
.lp-off { display: inline-block; font-size: .8rem; font-weight: 750; padding: .1rem .55rem; border-radius: 999px;
  color: #042f2e; background: #5eead4; }
.lp-why-price > .lp-why-promo { font-size: .85rem; }
.lp-chip-price a { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .3rem .45rem; color: inherit; text-decoration: none; }
.lp-chip-price strong { font-weight: 750; }
.lp-chip-price strong, .lp-chip-price s, .lp-off, .price-now strong, .price-was, .price-off { white-space: nowrap; }
.price-was { color: var(--muted); }
.price-off { margin-left: .1rem; }
/* The promotion band on /pricing (owner, 2026-10-26): one slim line that scrolls the offer (CSS only). 4 equal
   copies; the track moves by one copy (-25 %), so the loop has no jump. It stops on hover and focus. Reduced motion:
   one static line, the copies are hidden. overflow: hidden = no sideways page scroll at 320 px. */
.lp { --lp-promo-bg: #5eead4; --lp-promo-t: #042f2e; }
@media (prefers-color-scheme: dark) { .lp { --lp-promo-bg: #134e4a; --lp-promo-t: #ccfbf1; } }
.lp-promo-band { overflow: hidden; background: var(--lp-promo-bg); color: var(--lp-promo-t); font-size: .9rem;
  font-weight: 650; line-height: 1.4; padding: .45rem 0; position: relative; z-index: 2; }
.lp-promo-track { display: flex; width: max-content; animation: lp-promo-run 32s linear infinite; }
.lp-promo-band:hover .lp-promo-track, .lp-promo-band:focus-within .lp-promo-track { animation-play-state: paused; }
.lp-promo-item { flex: none; white-space: nowrap; padding: 0 1.25rem; color: inherit; text-decoration: none; }
.lp-promo-item::after { content: "✦"; content: "✦" / ""; margin-left: 2.5rem; opacity: .6; }
.lp a.lp-promo-item:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
@keyframes lp-promo-run { to { transform: translateX(-25%); } }
@media (prefers-reduced-motion: reduce) {
  .lp-promo-track { width: auto; animation: none; justify-content: center; }
  .lp-promo-item { flex: 1 1 auto; min-width: 0; white-space: normal; text-align: center; padding: 0 16px; }
  .lp-promo-item[aria-hidden="true"], .lp-promo-item::after { display: none; }
}
.lp-why-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .5rem; }
.lp-why-list li { display: flex; gap: .5rem; align-items: flex-start; }
.lp-why-list .ico { flex: none; width: 1.15rem; height: 1.15rem; margin-top: .15rem; color: var(--lp-badge-t); }
.lp-why-cta { margin-top: 1.5rem; }
.lp-why-center { text-align: center; max-width: 46rem; margin-left: auto; margin-right: auto; }
.lp-final .lp-sub { max-width: 40rem; }
.lp-final .lp-note { margin: 0; }
.lp-see-all { text-align: center; margin: 1.5rem 0 0; }
/* /pricing and the home page's "Your AI team" (owner, 2026-10-24). */
@media (min-width: 761px) { .lp-feat-grid.lp-team-3 { grid-template-columns: repeat(3, 1fr); } }
.lp-feat .lp-team-save { display: flex; gap: .4rem; align-items: center; margin: .8rem 0 0; font-size: .85rem; font-weight: 650; color: var(--lp-badge-t); }
.lp-team-save .ico { width: 1rem; height: 1rem; flex: none; }
.lp-team-cta { justify-content: center; margin-top: 1.75rem; }
.lp-why-price .lp-price-ways-t { margin: 1.1rem 0 0; font-size: .95rem; }
.lp-price-ways { margin-top: .5rem; font-size: .93rem; }
.lp-cmp { list-style: none; padding: 0; margin: 0 auto; max-width: 64rem; display: grid; gap: .6rem; }
.lp-cmp-head, .lp-cmp-row { display: grid; grid-template-columns: 1fr 1.25fr; gap: .6rem; }
.lp-cmp-head span { font-size: .8rem; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; color: var(--lp-m); padding: 0 1.1rem; }
.lp-cmp-head span:last-child { color: var(--lp-badge-t); }
.lp-cmp-row p { margin: 0; border-radius: 16px; padding: 1rem 1.1rem; font-size: .95rem; }
.lp-cmp-before { color: var(--lp-m); border: 1px dashed var(--lp-line); }
.lp-cmp-after { display: flex; gap: .8rem; align-items: center; color: var(--lp-t); font-weight: 550;
  background: linear-gradient(140deg, rgba(45, 212, 191, .12), rgba(139, 92, 246, .12)), var(--lp-card); border: 1px solid rgba(45, 212, 191, .45); }
.lp-cmp-after .lp-ico-badge { background: var(--grad); color: #04111f; width: 2.3rem; height: 2.3rem; }
.lp-cmp-tag { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 760px) {
  .lp-cmp-head { display: none; }
  .lp-cmp-row { grid-template-columns: 1fr; gap: .35rem; }
  .lp-cmp-tag { position: static; width: auto; height: auto; overflow: visible; clip: auto; display: block;
    font-size: .72rem; font-weight: 750; text-transform: uppercase; letter-spacing: .06em; margin-bottom: .2rem; }
  .lp-cmp-after .lp-cmp-tag { color: var(--lp-badge-t); }
  .lp-team-cta .lp-btn { width: 100%; }
}
@media (max-width: 760px) {
  .lp-why-flow, .lp-why-prices { grid-template-columns: 1fr; }
  .lp-why-flow li:not(:last-child)::after { content: "↓"; right: auto; left: 50%; top: auto; bottom: -1.05rem; transform: translateX(-50%); }
  .lp-why-late { flex-direction: column; }
  .lp-why-cta .lp-btn { width: 100%; }
}
/* The public top bar has two rows since 2026-10-30 (owner, approved mock-up): row 1 = brand + buttons (the VAT
   Atlas, the country, Log in, Sign up), row 2 = all 10 links (.lp-nav-row, below). No menu button. A link never wraps;
   the wider padding only above 2200px. The signed-in bar (.app-top: 4 links,
   no menu) keeps its links down to 1100px. */
.lp-nav a { white-space: nowrap; }
@media (max-width: 2200px) { .lp-nav a { padding: .45rem .45rem; font-size: .93rem; } }
@media (max-width: 1100px) { .app-top .lp-nav { display: none; } .app-top .lp-top-cta { margin-left: auto; } }

/* The country picker (owner, 2026-10-25, approved mock-ups; templates/public/_pickers.html, static/js/pickers.js):
   a <details> button in the top bar, the menu below it, tiles in the phone menu, links in the footer. */
.lp-pick { position: relative; }
.lp-pick-btn { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px;
  border-radius: 10px; border: 1px solid rgba(255, 255, 255, .2); color: var(--lp-t); font-size: .93rem; white-space: nowrap; }
.lp-pick-btn::-webkit-details-marker { display: none; }
.lp-pick-btn:hover { background: rgba(255, 255, 255, .06); }
.lp-pick-chev { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--lp-m); stroke-width: 2; transition: transform .15s; }
.lp-pick[open] .lp-pick-chev { transform: rotate(180deg); }
.lp-pick-panel { position: absolute; right: 0; top: calc(100% + .5rem); z-index: 900; width: 300px; max-width: calc(100vw - 32px);
  padding: 8px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .16); background: #111a3a;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .4); }
.lp-pick-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.lp-pick-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; padding: 0 12px;
  border-radius: 10px; color: var(--lp-t); text-decoration: none; }
.lp-pick-item:hover { background: rgba(255, 255, 255, .08); }
.lp-pick-item[aria-current] { background: rgba(94, 234, 212, .12); font-weight: 700; }
.lp-pick-note { margin: 6px 12px 4px; font-size: .82rem; color: var(--lp-m); line-height: 1.45; }
/* The footer: the country links. */
.lp-foot-place { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.75rem; color: var(--lp-m); }
.lp-foot-place a { color: var(--lp-t); text-decoration: none; }
.lp-foot-place a:hover { text-decoration: underline; }
.lp-foot-place a[aria-current] { font-weight: 700; color: #5eead4; }
/* The country picker (Main.dc.html "C"): small SVG flags, never emoji; "Coming soon" for a country not enabled yet. */
.lp-flag { width: 24px; height: 16px; flex: none; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.lp-flag-s { width: 21px; height: 14px; border-radius: 2px; }
.lp-flag-m { width: 27px; height: 18px; }
.lp-flag-l { width: 54px; height: 36px; border-radius: 6px; }
.lp-pick-panel-wide { width: 340px; }
.lp-pick-cc { justify-content: flex-start; }
.lp-pick-cc-name { flex-grow: 1; }
.lp-pick-cc.is-soon { color: #c9d1e6; }
.lp-pick-url { font-size: .75rem; color: var(--lp-m); font-weight: 400; }
.lp-soon { font-size: .75rem; font-weight: 700; color: #ddd6fe; background: rgba(139, 92, 246, .22); padding: 2px 9px;
  border-radius: 999px; white-space: nowrap; }
.lp-foot-countries { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem .75rem; }
/* The chooser at "/" (Choose.dc.html) and the "Coming soon" page /<cc>/. */
.lp-top-bare .lp-top-cta { margin-left: auto; }
.lp-top.lp-top-bare:not(.app-top) .lp-top-cta > .lp-pick { display: block; }
.lp-choose { position: relative; overflow: hidden; color: var(--lp-t); background: var(--lp-bg); padding: clamp(2.5rem, 7vw, 5rem) 0;
  min-height: calc(100vh - 4rem); display: flex; align-items: center; }
.lp-choose-in { display: flex; flex-direction: column; align-items: center; gap: 2.1rem; }
.lp-choose-head { text-align: center; max-width: 40rem; display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.lp-choose-head .lp-lead { margin: 0; }
.lp-choose-grid { list-style: none; margin: 0; padding: 0; width: 100%; max-width: 860px; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 24px; }
.lp-choose-card { height: 100%; box-sizing: border-box; display: flex; flex-direction: column; gap: 14px; padding: 28px;
  border-radius: 20px; text-decoration: none; color: var(--lp-t); border: 1px solid rgba(94, 234, 212, .45);
  background: rgba(255, 255, 255, .055); transition: border-color .15s, background .15s; }
.lp-choose-card.is-soon { border-color: rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .035); }
.lp-choose-card:hover { border-color: #5eead4; background: rgba(255, 255, 255, .08); }
.lp-choose-name { display: flex; align-items: center; flex-wrap: wrap; gap: 14px; }
.lp-choose-name strong { font-size: 1.75rem; font-weight: 800; }
.lp-choose-text { font-size: 1rem; color: #c9d1e6; line-height: 1.5; flex-grow: 1; }
.lp-choose-go { align-self: flex-start; background: #5eead4; color: #062b26; font-weight: 700; padding: 11px 18px; border-radius: 12px; }
.lp-choose-card.is-soon .lp-choose-go { background: transparent; color: #5eead4; border: 1px solid #5eead4; padding: 10px 18px; }
.lp-choose-url { font-size: .82rem; color: var(--lp-m); }
.lp-choose-note { margin: 0; text-align: center; color: var(--lp-m); font-size: .9rem; max-width: 40rem; }
.lp-linkbtn { background: none; border: 0; padding: 0; font: inherit; color: #5eead4; text-decoration: underline; cursor: pointer; }
.lp-soon-h1 { display: flex; align-items: center; flex-wrap: wrap; gap: .5em; }
.lp-soon-list { list-style: none; margin: 1.25rem 0 1.75rem; padding: 0; display: grid; gap: .7rem; font-size: 1.05rem; }
.lp-soon-list li { display: flex; align-items: flex-start; gap: .6rem; }
.lp-soon-list .ico { width: 1.2rem; height: 1.2rem; flex: none; margin-top: .2rem; color: #5eead4; }
.lp-soon-now { font-size: 1.15rem; margin: 0 0 1rem; }
.lp-soon-live { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
/* Row 1 holds only the buttons since the two-row bar (2026-10-30): the picker fits down to 640px. */
@media (max-width: 640px) { .lp-top:not(.app-top) .lp-top-cta > .lp-pick { display: none; } }   /* phones: the footer's country links */
/* A phone never scrolls sideways (2026-10-25): a long "Sign up free" (Kostenlos registrieren …) takes two lines. */
@media (max-width: 520px) { .lp-top-in { gap: .75rem; }
  .lp-top-cta .lp-btn-primary { white-space: normal; text-align: center; line-height: 1.15; max-width: 10.5rem; padding: .45rem .9rem; } }
@media (max-width: 360px) { .lp-top-cta .lp-btn-primary { max-width: 8.5rem; font-size: .85rem; padding: .4rem .7rem; } }
@media (max-width: 760px) { .app-top .lp-pick-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } }

/* /crew "Meet the crew" (owner, 2026-10-25, the approved mock-ups): hero art, cards, the relay strip, the "people stay
   in charge" panel. The hero, the cards and the final call stay dark (.lp-dark); the relay follows the theme. */
.crew-hero-in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.crew-hero-art { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; justify-items: center; align-items: center; }
.crew-hero-art svg { max-width: 100%; height: auto; filter: drop-shadow(0 18px 36px rgba(56, 189, 248, .18)); }
.crew-av { display: block; flex: none; }
.crew-list { --lp-bg: var(--ink-2); }
.crew-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); gap: 1.25rem; }
.crew-card { display: flex; flex-direction: column; gap: .75rem; padding: 1.5rem; border-radius: 18px; background: var(--lp-card); border: 1px solid var(--lp-line); }
.crew-card-head { display: flex; align-items: center; gap: .9rem; }
.crew-card .crew-av { width: 80px; height: 80px; }   /* 2026-10-31: room for the name and a one-line role pill */
.crew-card-head > div { display: flex; flex-direction: column; align-items: flex-start; gap: .4rem; min-width: 0; }
.crew-card h3 { margin: 0; font-size: 1.5rem; }
.crew-card p { margin: 0; color: #c9d1e6; line-height: 1.55; }
.crew-role, .crew-soon { font-size: .8rem; font-weight: 700; padding: .2rem .65rem; border-radius: 999px; color: #062b26; white-space: nowrap; }
.crew-sky { background: #38bdf8; } .crew-teal { background: #2dd4bf; } .crew-mint { background: #5eead4; }
.crew-violet { background: #7c4dee; color: #fff; }
.crew-amber { background: #fbbf24; color: #3a2a05; }
.crew-rose { background: #fb7185; color: #3b0a14; }
.crew-card .crew-skip { display: flex; gap: .4rem; align-items: center; margin-top: auto; font-size: .9rem; font-weight: 700; color: #5eead4; }
.crew-soon { align-self: flex-start; color: #ddd6fe; background: rgba(139, 92, 246, .22); }
.crew-relay { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 1rem; }
.crew-relay li { display: flex; flex-direction: column; align-items: center; gap: .6rem; text-align: center; padding: 1.1rem .75rem; border-radius: 16px; background: var(--lp-card); border: 1px solid var(--lp-line); }
.crew-relay p { margin: 0; }
.crew-relay-t { font-weight: 700; }
.crew-relay .crew-relay-d { color: var(--lp-m); font-size: .9rem; margin-top: .2rem; }
.crew-badge { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; flex: none; font-weight: 800; }
.crew-you { background: #1b2547; color: #eef2ff; border: 3px solid var(--lp-t); font-size: .95rem; }
.crew-done { background: #5eead4; color: #062b26; }
.crew-done .ico { width: 1.9rem; height: 1.9rem; stroke-width: 2.6; }
.crew-people { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 1.5rem; margin-top: clamp(2.5rem, 5vw, 4rem); padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: 20px; border: 1px solid rgba(94, 234, 212, .35); background: rgba(45, 212, 191, .08); }
.crew-people > div { flex: 1 1 380px; min-width: 0; }
.crew-people h2 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); font-weight: 800; margin: 0 0 .6rem; }
.crew-people p { margin: 0; color: var(--lp-m); line-height: 1.55; }
.crew-people-link { color: var(--lp-badge-t); border-color: currentColor; white-space: normal; text-align: center; }
.crew-people-link:hover { background: rgba(45, 212, 191, .12); }
@media (max-width: 760px) {
  .crew-hero-in { grid-template-columns: 1fr; }
  .crew-hero-cta .lp-btn, .crew-people-link { width: 100%; white-space: normal; }
}
@media (max-width: 560px) {
  .crew-hero-art { display: flex; justify-content: center; gap: 4px; }
  .crew-hero-art svg { width: 84px; height: 84px; }
  .crew-hero-art svg:nth-child(2) { width: 100px; height: 100px; }
  .crew-hero-art svg:nth-child(n+4) { display: none; }
  .crew-card { padding: 1.1rem; gap: .6rem; }
  .crew-card .crew-av { width: 72px; height: 72px; }
  .crew-card h3 { font-size: 1.3rem; }
  .crew-card p { font-size: .95rem; }
  .crew-relay li { flex-direction: row; text-align: left; padding: .85rem; gap: .9rem; }
}

/* Home "Security and privacy": the AI providers card (owner, 2026-10-25, mock-up "A"): names in words, simple icons,
   never a provider's logo. */
.lp-ai-card { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem; margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.25rem, 3vw, 2rem); border-radius: 20px; background: var(--lp-card); border: 1px solid var(--lp-line); }
.lp-ai-card > div { flex: 1 1 420px; min-width: 0; }
.lp-ai-card h3 { font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 800; margin: 0 0 .6rem; }
.lp-ai-card p { margin: 0; color: #c9d1e6; line-height: 1.55; }
.lp-ai-badges { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 1rem; }
.lp-ai-badge { display: flex; align-items: center; gap: .85rem; padding: 1rem 1.25rem; border-radius: 16px; background: var(--ink-2);
  border: 1px solid rgba(56, 189, 248, .45); min-width: min(250px, 100%); }
.lp-ai-violet { border-color: rgba(139, 92, 246, .55); }
.lp-ai-ico { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 14px; flex: none; background: rgba(56, 189, 248, .16); color: #38bdf8; }
.lp-ai-violet .lp-ai-ico { background: rgba(139, 92, 246, .18); color: #a78bfa; }
.lp-ai-ico svg { width: 1.75rem; height: 1.75rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lp-ai-badge small { display: block; font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lp-m); }
.lp-ai-badge strong { display: block; font-size: 1.25rem; font-weight: 800; }
@media (max-width: 560px) { .lp-ai-badges, .lp-ai-badge { width: 100%; } }

/* The home page in 8 sections (owner, 2026-10-25): How it works holds the notifications; the AI team holds the AI facts,
   Johnny#5 and the crew's heads. #features (the grid in #why) and #johnny (the Johnny#5 line) stay as anchors; the old
   address #carlos is an empty span in that line (#176: no flex gap, as it is absolute). */
.lp-how-notify { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 1.5rem; padding: 1.25rem 1.5rem;
  border-radius: 20px; background: var(--lp-card); border: 1px solid var(--lp-line); }
.lp-how-notify > div:first-child { flex: 1 1 26rem; min-width: 0; }
.lp-how-notify h3 { margin: 0; font-size: 1.15rem; }
.lp-ticks-row { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin-top: .8rem; }
.lp-ticks-row li { font-size: .93rem; }
.lp-how-notify .wa-contact { margin: 0; flex: 1 1 22rem; }
.lp-how-notify .wa-contact-qr { max-width: 9.5rem; }        /* the QR stays beside the buttons, its caption wraps */
.lp-team-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; margin-top: 1.75rem; }
.lp-team-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; flex: 1 1 28rem; min-width: 0; }
.lp-team-facts li { display: flex; gap: .6rem; align-items: flex-start; color: var(--lp-m); }
.lp-team-facts li > .ico { color: var(--lp-badge-t); margin-top: .2rem; }
.lp-team-facts strong { color: var(--lp-t); }
.lp-team-chat { font: inherit; font-weight: 650; color: var(--lp-badge-t); background: none; border: 0; padding: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; }
.lp-team-crew { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.lp-team-heads { display: flex; flex-wrap: wrap; row-gap: 6px; }
.lp-team-heads .crew-av + .crew-av { margin-left: -10px; }
#features, #johnny, #carlos { scroll-margin-top: 5.5rem; }
.lp-anchor { position: absolute; width: 0; height: 0; overflow: hidden; }
@media (max-width: 600px) { .lp-team-crew { width: 100%; justify-content: center; } .lp-team-crew .lp-btn { width: 100%; }
  .lp-team-heads { justify-content: center; } .lp-team-heads .crew-av { width: 34px; height: 34px; } .lp-team-heads .crew-av + .crew-av { margin-left: -8px; } }

/* Verify information = the buyer check (owner, 2026-10-20; classes buyer-* since #176): one block per receipt — date and total, what the invoice shows, the problems */
.buyer-receipts { list-style: none; padding: 0; margin: .5rem 0 0; }
.buyer-receipt { display: flex; flex-direction: column; gap: .25rem; padding: .65rem 0; border-top: 1px solid var(--border); }
.buyer-receipt:first-child { border-top: 0; }
.buyer-receipt > span:last-child { display: flex; flex-wrap: wrap; gap: .3rem; }
.buyer-receipt .mono { overflow-wrap: anywhere; }
.buyer-editor { margin-top: .75rem; }
.buyer-editor textarea, .buyer-editor input { width: 100%; }

/* Account status (owner, 2026-10-20) */
.acct-summary { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; font-weight: 600; }
.acct-btns { display: flex; flex-wrap: wrap; gap: .35rem; justify-content: flex-end; }   /* in the cell: a flex td breaks the row lines */

/* Admin: WhatsApp link (QR code on white, so phones read it in dark mode too) */
.wa-qr img { display: block; margin: 1rem 0; background: #fff; padding: 8px; border-radius: 8px; max-width: 100%; height: auto; }
.wa-code strong { font-size: 1.5rem; letter-spacing: .15em; font-family: ui-monospace, monospace; }

/* Settings > Verify by WhatsApp: the wa.me QR code for a computer (owner, 2026-10-21); phones use the button. */
.wa-verify-qr img { display: block; background: #fff; padding: 6px; border-radius: 8px; max-width: 100%; height: auto; }
@media (pointer: coarse) and (max-width: 700px) { .wa-verify-qr { display: none; } }

/* Landing FAQ answers come from the knowledge base as plain text with line breaks. */
.lp-faq-a { white-space: pre-line; }

/* Admin WhatsApp link: the step-by-step console (owner, 2026-10-22) */
.wa-console { background: #0f172a; color: #d1fae5; font: 12px/1.5 ui-monospace, monospace; padding: .6rem .8rem; border-radius: 8px; max-height: 14rem; overflow: auto; white-space: pre-wrap; margin: .75rem 0; }

/* VATRS on WhatsApp: QR code + Open WhatsApp + Save contact (owner, 2026-10-22) */
.wa-contact { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; margin-top: 1rem; }
.wa-contact-main { flex: 1 1 16rem; min-width: 0; }
.wa-contact-number { font-weight: 700; font-size: 1.1rem; margin: .25rem 0 .6rem; }
.wa-contact-qr { margin: 0; text-align: center; }
.wa-contact-qr img { display: block; background: #fff; padding: 6px; border-radius: 10px; }
.wa-contact-compact { margin-top: .5rem; }
.wa-contact-compact .wa-contact-qr img { width: 112px; height: 112px; }
@media (pointer: coarse) and (max-width: 700px) { .wa-contact-qr { display: none; } }
/* Verify information: one compact table (owner, 2026-10-22) */
.buyer-table th, .buyer-table td { padding: .12rem .5rem; font-size: .88rem; line-height: 1.3; }   /* tighter (owner, 2026-10-23) */
.buyer-table tr.buyer-vendor td { background: var(--surface-2); border-top: 2px solid var(--border); padding: .2rem .5rem; }
.buyer-vendor-line { display: flex; flex-wrap: wrap; gap: .3rem .8rem; align-items: center; justify-content: space-between; }
.buyer-action { display: inline-flex; flex-wrap: wrap; gap: .35rem; align-items: center; }
.buyer-table td .badge { margin: 0 .25rem 0 0; }
.buyer-editor-row td { background: var(--surface-2); }
.buyer-group { margin: 0 0 1.4rem; }
.buyer-history { margin-top: .05rem; line-height: 1.25; }
.buyer-hide { display: inline-flex; gap: .2rem; margin-left: .3rem; }
.buyer-hidden { margin-top: .8rem; }
/* Vendor emails as a table (owner, 2026-10-23) */
.vendor-table td { vertical-align: top; }
.vendor-table td.actions { text-align: right; white-space: nowrap; }
.vendor-detail td { background: var(--surface-2); }
.vendor-detail-in { display: flex; flex-direction: column; gap: .6rem; }
@media (max-width: 720px) { .vendor-table thead { display: none; } .vendor-table tr, .vendor-table td { display: block; } .vendor-table td.actions { text-align: left; } }
/* My receipts quick filters (owner, 2026-10-23) */
.receipts-quick { margin: .5rem 0 .25rem; }
.qf-rows { display: flex; flex-direction: column; gap: .35rem; }
.qf-group { display: flex; flex-wrap: wrap; gap: .35rem; }
.qf { background: var(--surface); color: var(--text, inherit); border: 1px solid var(--border); border-radius: 999px;
  padding: .4rem .85rem; font: inherit; font-size: .88rem; cursor: pointer; min-height: 36px; }      /* as .vendor-filters .pill */
.qf:hover { border-color: var(--accent); }
.qf.on { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); font-weight: 650; }
.qf-group { align-items: center; }
.buyer-group h3 { margin: 0 0 .15rem; font-size: 1.05rem; }
.buyer-group > p { margin: 0 0 .5rem; }
/* My receipts: the vendor gets room, the status stays narrow; delete with a confirmation (owner, 2026-10-22) */
td.rc-vendor { min-width: 14rem; }
td.rc-status { max-width: 17rem; }
td.rc-status .hd-why { display: block; font-size: .82rem; }
.rc-confirm { display: inline-flex; flex-wrap: wrap; gap: .4rem; align-items: center; justify-content: flex-end; white-space: normal; max-width: 22rem; text-align: right; }
.rc-del-btn { color: var(--danger, #b42318); }
tr.rc-novat td { background: var(--surface-2); color: var(--muted); }
.badge.novat { background: var(--surface-2); color: var(--muted); border: 1px dashed var(--border); }
.rc-novat-help .badge { margin-right: .3rem; }
@media (max-width: 720px) { td.rc-vendor { min-width: 0; } td.rc-status { max-width: none; } }

/* Possible duplicates (owner, 2026-10-22) */
.dup-table th[scope="row"] { width: 8rem; }
.dup-table td { width: 45%; padding: .35rem .6rem; }
.dup-cufe { font-size: .78rem; word-break: break-all; }
.dup-table .dup-keep { background: var(--ok-soft); }     /* the one "keep the better one" keeps (owner, 2026-10-23) */
.dup-table thead .dup-keep { box-shadow: inset 0 3px 0 var(--ok); }
.dup-better { margin-right: .3rem; }
.dup-date-hint { margin: .5rem 0 0; }
.dup-ai { margin: .4rem 0; } .dup-ai p { margin: .15rem 0; }      /* the duplicates agent's answer (#229) */
.dup-cufe mark { background: var(--warn-soft, #fde68a); color: var(--danger, #b42318); font-weight: 700; }
/* Receipt months on VAT export: tight rows (owner, 2026-10-22) */
.acct-months h4 { margin: .6rem 0 .2rem; }
.acct-months .acct-summary { margin: .2rem 0 .4rem; }
.acct-table th, .acct-table td { padding: .22rem .55rem; font-size: .9rem; line-height: 1.3; }
.acct-table td .badge { padding: .05rem .45rem; font-size: .78rem; }
.acct-table td.acct-actions { text-align: right; }
.acct-table td.acct-actions .btn { padding: .15rem .5rem; min-height: 0; }
.acct-months > p.muted.small { margin: .35rem 0 0; }
.buyer-contact { display: inline-flex; flex-wrap: wrap; gap: .35rem; align-items: center; justify-content: flex-end; }
.buyer-contact input { min-width: 14rem; padding: .25rem .5rem; }

/* The VAT Atlas in sight (owner, 2026-10-30, approved mock-up): the button next to Log in (every public page) and the
   home hero link. The home section #atlas has its own file: static/css/home-atlas.css. */
.lp-top-cta a.lp-nav-atlas { display: inline-flex; align-items: center; gap: .35rem; color: #5eead4;
  font-weight: 700; background: rgba(45, 212, 191, .14); border-radius: 999px; }
.lp-nav-atlas .ico { width: 1rem; height: 1rem; }
.lp-top-atlas { min-height: 40px; padding: 0 .8rem; white-space: nowrap; text-decoration: none; }
.lp-top-atlas:hover { background: rgba(45, 212, 191, .24); }
.lp-hero-atlas { margin: -.6rem 0 1.4rem; }
.lp-hero-atlas a { display: inline-flex; align-items: center; gap: .45rem; color: #7dd3fc; font-weight: 600; text-decoration: none; }
.lp-hero-atlas a:hover { color: #bae6fd; text-decoration: underline; }

/* Row 2 of the public top bar (owner, 2026-10-30): all links in sight, never a menu button, never a scroll bar. */
.lp-top:not(.app-top) .lp-top-cta { margin-left: auto; }
.lp-nav-row { margin: 0; background: rgba(255, 255, 255, .03); border-top: 1px solid rgba(255, 255, 255, .06); }
.lp-nav-in { display: flex; flex-wrap: wrap; align-items: center; gap: .15rem .25rem; min-height: 2.9rem; padding-top: .2rem; padding-bottom: .2rem; }
.lp-nav-row a { color: var(--lp-t); font-weight: 600; padding: .4rem .6rem; font-size: .92rem; }
.lp-nav-row a.lp-nav-sec { color: var(--lp-m); font-weight: 550; }
.lp-nav-sep { width: 1px; height: 1.2rem; background: rgba(255, 255, 255, .18); margin: 0 .5rem; }
.lp-nav-on { color: var(--lp-m); font-size: .85rem; margin-right: .1rem; }
@media (max-width: 640px) {        /* a phone: option B's look with all links, wrapped */
  .lp-nav-in { gap: 6px; padding-top: .5rem; padding-bottom: .7rem; }
  .lp-nav-row a, .lp-nav-row a.lp-nav-sec { padding: .5rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .06); font-size: .88rem; }
  .lp-nav-sep, .lp-nav-on { display: none; }
}

/* The VAT Atlas reminder while a country is chosen (owner, 2026-10-30): the picker menu and the chooser page. */
.lp-pick-atlas { display: flex; align-items: flex-start; gap: 8px; margin: 4px 6px 4px; padding: 10px 12px; border-radius: 10px;
  background: rgba(45, 212, 191, .1); color: #99f6e4; font-size: .84rem; line-height: 1.4; text-decoration: none; }
.lp-pick-atlas:hover { background: rgba(45, 212, 191, .18); color: #ccfbf1; }
.lp-pick-atlas .ico, .lp-choose-atlas .ico { width: 1.1rem; height: 1.1rem; flex: none; margin-top: .1rem; }
.lp-choose-atlas { display: flex; align-items: center; gap: 12px; max-width: 40rem; margin: 0 auto; padding: 14px 18px; border-radius: 14px;
  border: 1px solid rgba(45, 212, 191, .35); background: rgba(45, 212, 191, .08); color: var(--lp-t); text-decoration: none; line-height: 1.45; }
.lp-choose-atlas strong { color: #5eead4; }
.lp-choose-atlas:hover { background: rgba(45, 212, 191, .14); }
.lp-choose-atlas-go { margin-left: auto; color: #5eead4; font-weight: 700; }

/* A phone: "Log in" never breaks into two lines in the top bar (found by the screenshot check, 2026-10-30). */
@media (max-width: 520px) { .lp-top-cta .lp-btn-ghost { white-space: nowrap; padding-left: .7rem; padding-right: .7rem; } }
