/* The "VAT Atlas" page (templates/public/atlas.html; owner, 2026-10-29, approved mock-up). Page-only styles on the
   landing classes of app.css (.lp-dark, .lp-kicker, .lp-h2 …) and their tokens (--lp-t, --lp-m, --lp-card,
   --lp-line, --grad). The hero, the globe and the help band stay ink (dark); the register follows the site theme. */
.lp {
  --atlas-refund: #2dd4bf; --atlas-point_of_sale_exemption: #38bdf8; --atlas-both: #8b5cf6;
  --atlas-none: #64748b; --atlas-unknown: #1e2a44;
}
.atlas-h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); line-height: 1.02; letter-spacing: -.03em; }
.atlas-hero .lp-eyebrow { margin-bottom: .5rem; }
.atlas-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin-top: 1.6rem; max-width: 900px; }
.atlas-stat { background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: 14px; padding: 12px 16px; color: var(--lp-m); font-size: .9rem; display: grid; }
.atlas-stat b { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; color: var(--lp-t); font-variant-numeric: tabular-nums; line-height: 1.1; }
.atlas-stat-gives b, .atlas-stat-help b { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Filters and the globe */
.atlas-world { color: var(--lp-t); background: var(--lp-bg); position: relative; padding-bottom: 3rem; }
.atlas-controls { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 1.2rem 0 .9rem; }
.atlas-chip { display: inline-flex; align-items: center; gap: 8px; font: 600 .9rem var(--font); padding: .45rem .9rem; border-radius: 999px; border: 1px solid var(--lp-line); background: var(--lp-card); color: var(--lp-t); cursor: pointer; }
.atlas-chip[aria-pressed="false"] { opacity: .45; }
.atlas-chip b { font-family: var(--mono); font-weight: 500; color: var(--lp-m); font-variant-numeric: tabular-nums; }
.atlas-chip-help { border-color: rgba(45, 212, 191, .45); opacity: 1 !important; }
.atlas-chip-help[aria-pressed="true"] { background: var(--grad); color: #04111f; border-color: transparent; }
.atlas-chip-help[aria-pressed="true"] b { color: #04111f; }
.atlas-chip .atlas-dot { width: 10px; height: 10px; box-shadow: 0 0 10px currentColor; }
.atlas-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; flex: none; }
.atlas-dot.atlas-refund { background: var(--atlas-refund); color: var(--atlas-refund); }
.atlas-dot.atlas-point_of_sale_exemption { background: var(--atlas-point_of_sale_exemption); color: var(--atlas-point_of_sale_exemption); }
.atlas-dot.atlas-both { background: var(--atlas-both); color: var(--atlas-both); }
.atlas-dot.atlas-none { background: var(--atlas-none); color: var(--atlas-none); }
.atlas-dot.atlas-unknown { background: transparent; color: transparent; outline: 1px solid var(--lp-line); }
.atlas-search { margin-left: auto; min-width: 0; }
.atlas-search input { font: .95rem var(--font); padding: .55rem 1rem; border-radius: 999px; border: 1px solid var(--lp-line); background: var(--lp-card); color: var(--lp-t); width: 240px; max-width: 100%; }
.atlas-search input::placeholder { color: var(--lp-m); }
.atlas-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; align-items: start; }
.atlas-mapbox { background: radial-gradient(ellipse at 50% 45%, #0e1736, var(--ink) 70%); border: 1px solid var(--lp-line); border-radius: 16px; overflow: hidden; position: relative; min-width: 0; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
#atlas-globe { display: block; width: 100%; aspect-ratio: 5 / 4; touch-action: none; cursor: grab; }
.atlas-status { position: absolute; inset: 45% 0 auto; text-align: center; margin: 0; color: var(--lp-m); }
.atlas-hint { position: absolute; left: 14px; bottom: 12px; margin: 0; font-size: .75rem; color: var(--lp-m); letter-spacing: .02em; }
.atlas-tip { position: absolute; pointer-events: none; background: rgba(7, 11, 26, .92); color: var(--lp-t); border: 1px solid var(--lp-line); font-size: .82rem; padding: 4px 10px; border-radius: 8px; white-space: nowrap; transform: translate(-50%, -130%); }
.atlas-zoom { position: absolute; right: 12px; bottom: 12px; display: grid; gap: 6px; }
.atlas-zoom button { width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--lp-line); background: rgba(255, 255, 255, .08); color: var(--lp-t); font: 700 16px var(--font); cursor: pointer; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* The country card */
.atlas-card { background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: 16px; padding: 22px; display: grid; gap: 12px; min-width: 0; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.atlas-card .lp-kicker { margin: 0; }
.atlas-card h2 { font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; margin: 0; line-height: 1.1; }
.atlas-card .lp-btn { width: fit-content; }
.atlas-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.atlas-badge { display: inline-flex; align-items: center; font: 700 .75rem var(--font); padding: .2rem .65rem; border-radius: 999px; color: #04111f; width: fit-content; }
.atlas-badge.atlas-refund { background: var(--atlas-refund); }
.atlas-badge.atlas-point_of_sale_exemption { background: var(--atlas-point_of_sale_exemption); }
.atlas-badge.atlas-both { background: var(--atlas-both); color: #fff; }
.atlas-badge.atlas-none { background: var(--atlas-none); color: #fff; }
.atlas-badge.atlas-unknown { background: rgba(255, 255, 255, .12); color: var(--lp-t); }
.atlas-badge-help { background: var(--grad); }
.atlas-facts { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 7px 14px; font-size: .92rem; }
.atlas-facts dt { color: var(--lp-m); font: 600 .7rem var(--mono); text-transform: uppercase; letter-spacing: .08em; padding-top: 3px; }
.atlas-facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.atlas-how { font-size: .93rem; margin: 0; }
.atlas-how strong { color: #7dd3fc; }
.atlas-srcs { display: grid; gap: 7px; padding: 0; margin: 0; list-style: none; font-size: .85rem; }
.atlas-srcs a { color: #a5f3fc; overflow-wrap: anywhere; text-decoration-color: rgba(165, 243, 252, .35); }
.atlas-v { font: 600 .66rem var(--mono); padding: 1px 6px; border-radius: 4px; margin-right: 6px; border: 1px solid currentColor; text-transform: uppercase; letter-spacing: .04em; color: var(--lp-m); }
.atlas-v-ok { color: #5eead4; }
.atlas-note { font-size: .78rem; color: var(--lp-m); margin: 0; }
.atlas-link { background: none; border: 0; padding: 0; font: inherit; color: #a5f3fc; text-decoration: underline; cursor: pointer; }

/* The A-Z register: the site's light / dark theme */
.atlas-letters { columns: 5 210px; column-gap: 26px; }
.atlas-grp { break-inside: avoid; margin-bottom: 14px; }
.atlas-letter { font-weight: 800; font-size: 1.1rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 2px; }
.atlas-row { display: flex; align-items: center; gap: 8px; width: 100%; text-align: left; background: none; border: 0; padding: 4px 6px; border-radius: 8px; color: var(--lp-t); font: .92rem var(--font); cursor: pointer; }
.atlas-row:hover, .atlas-row.is-sel { background: var(--surface); box-shadow: var(--shadow); }
.atlas-row em { font: normal 700 .6rem var(--font); color: #04111f; background: var(--grad); border-radius: 999px; padding: 1px 6px; }
.atlas-row small { margin-left: auto; color: var(--lp-m); font-family: var(--mono); font-size: .7rem; }
.atlas-row .atlas-dot.atlas-unknown { outline-color: var(--border); }
.atlas-empty { color: var(--lp-m); }

/* Help us fill the map */
.atlas-help { color: var(--lp-t); background: var(--lp-bg); position: relative; overflow: hidden; padding: 3.5rem 0 4rem; }
.atlas-help .lp-h2 { margin-bottom: .6rem; }
.atlas-help .lp-lead { max-width: 44rem; margin-bottom: 1.2rem; }
.atlas-helpgrid { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1.4rem; }
.atlas-helpgrid a { text-decoration: none; font: .85rem var(--font); padding: .3rem .75rem; border-radius: 999px; border: 1px solid var(--lp-line); background: var(--lp-card); color: var(--lp-t); cursor: pointer; }
.atlas-helpgrid a:hover { border-color: rgba(45, 212, 191, .6); color: #ccfbf1; }
.atlas-foot { color: var(--lp-m); font-size: .85rem; max-width: 80ch; margin: 2rem 0 0; }

@media (max-width: 960px) { .atlas-grid { grid-template-columns: 1fr; } .atlas-search { margin-left: 0; } }
@media (prefers-reduced-motion: reduce) { .atlas-chip, .atlas-row { transition: none; } }

/* "Notify me" on a country card where VATRS does not work yet (owner, 2026-10-30; static/js/atlas-notify.js). */
.atlas-notify { margin-top: 14px; padding: 16px; border-radius: 14px; background: rgba(56, 189, 248, .08); border: 1px solid rgba(56, 189, 248, .28); display: grid; gap: 10px; }
.atlas-notify p { margin: 0; }
.atlas-notify-title { font-weight: 700; font-size: 1.02rem; }
.atlas-notify-text, .atlas-notify-note { color: var(--lp-m); font-size: .9rem; line-height: 1.5; }
.atlas-notify-note { font-size: .8rem; }
.atlas-notify-row { display: flex; flex-wrap: wrap; gap: 8px; }
.atlas-notify-input { flex: 1 1 200px; min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--lp-line); background: var(--lp-card); color: var(--lp-t); font: inherit; }
.atlas-notify-err { color: #fca5a5; font-size: .88rem; }
.atlas-notify-done { color: #99f6e4; font-weight: 600; }
