:root {
  --bg: #F8FAFC;
  --card: #FFFFFF;
  --ink: #1E293B;
  --muted: #64748B;
  --line: #E2E8F0;
  --accent: #0284C7;
  --accent-ink: #FFFFFF;
  --accent-soft: #E0F2FE;
  --rose: #F43F5E;
  --star: #F59E0B;
  --danger: #DC2626;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --topbar: 64px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { background: var(--bg); font-size: 15px; line-height: 1.45; }
[hidden] { display: none !important; }
a { color: var(--accent); }
h1, h2, h3 { margin: 0; }
button { font: inherit; color: inherit; }

/* ---------- top bar ---------- */
.topbar {
  height: var(--topbar); display: flex; align-items: center; gap: 16px;
  padding: 0 20px; background: var(--card); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
}
.brand { display: flex; align-items: center; gap: 8px; color: var(--accent); text-decoration: none;
  font-family: Inter, system-ui, sans-serif; font-weight: 800; letter-spacing: -.02em; font-weight: 700; font-size: 22px; letter-spacing: -.01em; }
.brand svg { width: 28px; height: 28px; }
.tagline { color: var(--muted); font-size: 14px; }
.topbar .btn { margin-left: auto; }
body:not(.view-mode) .view-only { display: none !important; }
.view-mode .view-only { display: revert; }
.view-mode .btn.view-only { display: inline-flex; }
.view-mode .edit-only { display: none !important; }

/* ---------- layout ---------- */
.app { display: grid; grid-template-columns: minmax(360px, 440px) 1fr; height: calc(100vh - var(--topbar)); }
.panel { overflow-y: auto; padding: 20px; border-right: 1px solid var(--line); display: flex; flex-direction: column; gap: 16px; }
.map-wrap { position: relative; min-height: 300px; background: #F1F5F9; }
#map { position: absolute; inset: 0; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.card h2 { font-family: Inter, system-ui, sans-serif; font-weight: 800; letter-spacing: -.02em; font-size: 22px; margin-bottom: 6px; }
.card p { margin: 0 0 12px; }
.muted { color: var(--muted); }

/* ---------- form ---------- */
.form { display: flex; flex-direction: column; gap: 14px; }
.form-title { font-family: Inter, system-ui, sans-serif; font-weight: 800; letter-spacing: -.02em; font-size: 28px; line-height: 1.15; letter-spacing: -.01em; }
.form-sub { color: var(--muted); margin: -4px 0 4px; font-size: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; border: 0; padding: 0; margin: 0; min-width: 0; }
.field > span, .field > legend, .field > label { font-size: 13px; font-weight: 600; padding: 0; margin-bottom: 0; }
.field-help { color: var(--muted); font-size: 12.5px; }
.field legend { margin-bottom: 8px; }
.field em { font-style: normal; font-weight: 400; color: var(--muted); }
input[type=text], input:not([type]), select, textarea {
  font: inherit; color: var(--ink); background: #fff; width: 100%;
  border: 1px solid #CBD5E1; border-radius: 10px; padding: 10px 12px; min-height: 44px;
}
textarea { resize: vertical; min-height: 72px; line-height: 1.4; }
input:focus, select:focus, textarea:focus, .btn:focus-visible, .chip input:focus-visible + span {
  outline: 3px solid rgba(2, 132, 199, .25); outline-offset: 1px; border-color: var(--accent);
}
.row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 10px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px;
  border: 1px solid #CBD5E1; background: #fff; font-size: 13px; font-weight: 500; cursor: pointer; user-select: none; color: var(--muted); }
.chip span i { width: 9px; height: 9px; border-radius: 50%; background: #CBD5E1; }
.chip input:checked + span { border-color: var(--c); color: var(--ink); background: color-mix(in srgb, var(--c) 9%, #fff); }
.chip input:checked + span i { background: var(--c); }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--accent); flex: none; }
.check small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.check.compact { font-size: 13px; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 42px;
  padding: 0 16px; border-radius: 10px; border: 1px solid #CBD5E1; background: #fff; font-weight: 600; font-size: 14px;
  cursor: pointer; text-decoration: none; color: var(--ink); white-space: nowrap; }
.btn:hover { background: #F1F5F9; }
.btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: #0369A1; }
.btn.ghost { background: transparent; }
.btn.small { min-height: 34px; padding: 0 12px; font-size: 13px; }
.btn.block { width: 100%; min-height: 48px; font-size: 15px; }
.btn:disabled { opacity: .65; cursor: progress; }
.icon-btn { border: 0; background: none; padding: 4px 6px; font-size: 12.5px; font-weight: 600; color: var(--muted); cursor: pointer; border-radius: 6px; }
.icon-btn:hover { background: #F1F5F9; color: var(--ink); }
.icon-btn.danger:hover { color: var(--danger); background: #FCEDEB; }
.linklike { border: 0; background: none; padding: 0; text-align: left; cursor: pointer; font: inherit; }
.linklike:hover { text-decoration: underline; }

/* ---------- setup ---------- */
.setup ol { padding-left: 20px; margin: 0 0 14px; font-size: 14px; }
.setup li { margin-bottom: 6px; }
.setup code { background: #F1F5F9; padding: 1px 5px; border-radius: 4px; }
.inline-form { display: flex; gap: 8px; }

/* ---------- results ---------- */
.results { display: flex; flex-direction: column; gap: 12px; }
.results-card { display: flex; flex-direction: column; gap: 12px; }
.results-top h2 { margin-bottom: 2px; }
.results-top p { margin: 0; font-size: 14px; }
.share { display: flex; gap: 8px; }
.share input { font-size: 13px; color: var(--muted); background: #F8FAFC; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.actions .btn { flex: 1; }
.hint { font-size: 12.5px; color: var(--muted); margin: 0 !important; background: var(--accent-soft); padding: 10px 12px; border-radius: 10px; }

.view-header { padding: 4px 2px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 12px; font-weight: 700; color: var(--accent); margin: 0 0 4px; }
.view-header h1 { font-family: Inter, system-ui, sans-serif; font-weight: 800; letter-spacing: -.02em; font-size: 30px; line-height: 1.15; }
.view-header p.muted { margin: 6px 0 0; }

.list-head { display: flex; align-items: flex-start; gap: 8px; justify-content: space-between; }
.legend { display: flex; flex-wrap: wrap; gap: 6px; }
.legend-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff;
  border-radius: 999px; padding: 4px 10px; font-size: 12.5px; cursor: pointer; }
.legend-chip i { width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.legend-chip b { color: var(--muted); font-weight: 600; }
.legend-chip.off { opacity: .45; text-decoration: line-through; }

.place-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.group-head { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--muted);
  margin-top: 8px; display: flex; align-items: center; gap: 8px; }
.group-head::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.place { display: flex; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 12px;
  transition: border-color .15s, box-shadow .15s; }
.place.active { border-color: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent); }
.place-badge { flex: none; width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--c); color: #fff;
  font-weight: 700; font-size: 13px; cursor: pointer; }
.place-body { min-width: 0; flex: 1; }
.place h3 { font-size: 15.5px; font-weight: 600; line-height: 1.3; }
.place-rating { font-size: 13px; margin-top: 2px; color: var(--ink); }
.dot { color: #94A3B8; }
.stars { letter-spacing: 1px; font-size: 13px;
  background: linear-gradient(90deg, var(--star) var(--pct), #E2E8F0 var(--pct));
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.place-blurb { font-size: 13.5px; color: #475569; margin: 6px 0 8px; }
.host-tip { display: inline-block; font-size: 11px; font-weight: 700; color: var(--accent); background: var(--accent-soft);
  padding: 1px 6px; border-radius: 999px; margin-left: 4px; vertical-align: 1px; }
.place-foot { display: flex; align-items: center; gap: 4px 12px; font-size: 12.5px; flex-wrap: wrap; }
.place-tools { margin-left: auto; display: flex; gap: 2px; margin-right: -6px; }
.place-foot a { font-weight: 600; text-decoration: none; }
.spacer { flex: 1; }
.edit-box { margin: 8px 0; }
.edit-actions { display: flex; gap: 6px; align-items: center; margin-top: 6px; }
.attribution { font-size: 12px; color: var(--muted); margin: 4px 0 8px; }

/* ---------- map overlays ---------- */
.map-empty { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--muted); text-align: center; padding: 20px; }
.map-empty svg { width: 240px; max-width: 70vw; }
.map-empty p { margin: 0; font-weight: 500; }
.status { position: absolute; left: 50%; top: 18px; transform: translateX(-50%); z-index: 5; max-width: min(520px, calc(100% - 32px));
  display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px;
  box-shadow: var(--shadow); font-size: 14px; font-weight: 500; }
.status.error { border-color: #F3C2BC; background: #FFF6F5; color: #7A1D14; }
.spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--accent-soft); border-top-color: var(--accent); animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.map-toggle { position: absolute; left: 12px; top: 12px; z-index: 4; background: #fff; border-radius: 8px; padding: 7px 11px;
  font-size: 13px; font-weight: 600; display: flex; gap: 7px; align-items: center; box-shadow: 0 1px 4px rgba(0,0,0,.25); cursor: pointer; }
.map-toggle input { accent-color: var(--accent); margin: 0; }

/* ---------- pins (rendered inside Google Maps advanced markers) ---------- */
.pin { position: relative; padding-bottom: 7px; font: 600 12px/1.25 Inter, system-ui, sans-serif; color: var(--ink); cursor: pointer; }
.pin-card { display: flex; flex-wrap: nowrap; width: max-content; align-items: center; gap: 6px; background: #fff; border: 2px solid var(--c);
  border-radius: 12px; padding: 3px 9px 3px 3px; box-shadow: 0 2px 6px rgba(0,0,0,.28); max-width: 260px; }
.pin-text { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.pin-sub { font-size: 10.5px; font-weight: 600; white-space: nowrap; }
.pin-cat { color: var(--c); }
.pin-sub .dot { color: #9AA5B1; margin: 0 2px; }
.pin-badge { width: 20px; height: 20px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; font-size: 11px; font-weight: 700; flex: none; }
.pin-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 160px; font-size: 12px; }
.pin-rating { color: #9A6700; white-space: nowrap; }
.pin-more { display: none; flex-basis: 100%; padding: 2px 6px 6px; font-weight: 400; }
.pin.open .pin-card { flex-wrap: wrap; width: 260px; padding: 6px 8px 4px 6px; }
.pin.open .pin-name { white-space: normal; max-width: 190px; font-size: 13px; }
.pin.open .pin-more { display: block; }
.pin-more .pin-meta { font-size: 12px; margin-top: 2px; }
.pin-blurb { margin: 6px 0; font-size: 12.5px; line-height: 1.4; color: #475569; }
.pin-more a { font-weight: 600; font-size: 12px; text-decoration: none; }
.pin-tip { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 0; height: 0;
  border: 7px solid transparent; border-top-color: var(--c); border-bottom: 0; }

.home-pin { position: relative; padding-bottom: 7px; display: flex; align-items: center; gap: 6px; --c: var(--accent); }
.home-dot { width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center;
  border: 3px solid #fff; box-shadow: 0 2px 8px rgba(0,0,0,.35); }
.home-dot svg { width: 18px; height: 18px; }
.home-label { background: var(--accent); color: #fff; font: 700 12px/1 Inter, system-ui, sans-serif; padding: 6px 9px; border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0,0,0,.25); white-space: nowrap; }
.home-pin .pin-tip { left: 17px; }
.home-pin.approx { padding-bottom: 0; transform: translateY(50%); }

/* ---------- toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 50; background: var(--ink); color: #fff;
  padding: 12px 16px; border-radius: 12px; font-size: 14px; display: flex; gap: 14px; align-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25);
  max-width: calc(100% - 32px); }
.toast button { background: none; border: 0; color: #9FE0EC; font-weight: 700; cursor: pointer; padding: 0; }

/* ---------- mobile ---------- */
@media (max-width: 860px) {
  .app { display: flex; flex-direction: column; height: auto; }
  .panel { border-right: 0; overflow: visible; padding: 16px; order: 2; }
  .map-wrap { order: 1; height: 55vh; position: sticky; top: var(--topbar); z-index: 2; border-bottom: 1px solid var(--line); }
  .app:not(.has-results) .map-wrap { display: none; }
  .tagline { display: none; }
  .row { grid-template-columns: 1fr 1fr; }
  .row .field:first-child { grid-column: 1 / -1; }
  .topbar { padding: 0 16px; }
}

/* ---------- printable guide ---------- */
.print-sheet { display: none; }

@page { size: letter portrait; margin: 0.45in; }

@media print {
  body { background: #fff; }
  body > *:not(.print-sheet) { display: none !important; }
  .print-sheet { display: block; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

.ps { font-family: Inter, system-ui, sans-serif; color: var(--ink); font-size: 9.5pt; line-height: 1.35; }
.ps-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; border-bottom: 2.5pt solid var(--accent); padding-bottom: 8pt; margin-bottom: 10pt; }
.ps-eyebrow { margin: 0; text-transform: uppercase; letter-spacing: .1em; font-size: 8pt; font-weight: 700; color: var(--accent); }
.ps-head h1 { font-family: Inter, system-ui, sans-serif; font-weight: 800; letter-spacing: -.02em; font-size: 24pt; line-height: 1.1; margin: 2pt 0; }
.ps-sub { margin: 0; color: var(--muted); font-size: 10pt; }
.ps-brand { display: flex; align-items: center; gap: 5pt; font-family: Inter, system-ui, sans-serif; font-weight: 800; letter-spacing: -.02em; font-weight: 700; font-size: 13pt; color: var(--accent); white-space: nowrap; }
.ps-brand svg { width: 18pt; height: 18pt; }
.ps-map { border-radius: 8pt; overflow: hidden; border: 1pt solid var(--line); }
.ps-map img { display: block; width: 100%; height: auto; }
.ps-map-fallback { padding: 40pt; text-align: center; color: var(--muted); background: #F1F5F9; }
.ps-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4pt 12pt; font-size: 8pt; color: var(--muted); margin: 6pt 0 10pt; }
.ps-li { display: inline-flex; align-items: center; gap: 4pt; white-space: nowrap; }
.ps-key, .ps-home { display: inline-block; width: 8pt; height: 8pt; border-radius: 50%; background: var(--c); }
.ps-home { background: var(--accent); }
.ps-home.approx { background: rgba(2, 132, 199, .25); border: 1pt solid var(--accent); }
.ps-list { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 18pt; }
.ps-list li { break-inside: avoid; display: flex; gap: 7pt; margin-bottom: 8pt; }
.ps-badge { flex: none; width: 15pt; height: 15pt; border-radius: 50%; background: var(--c); color: #fff; font-weight: 700; font-size: 8pt;
  display: grid; place-items: center; margin-top: 1pt; }
.ps-name b { font-size: 10pt; }
.ps-rating { color: #9A6700; font-weight: 700; }
.ps-count { color: var(--muted); font-size: 8pt; }
.ps-meta { color: var(--muted); font-size: 8pt; }
.ps-list p { margin: 2pt 0 0; color: #475569; }
.ps.dense { font-size: 8.5pt; }
.ps.dense .ps-list li { margin-bottom: 5pt; }
.ps-foot { display: flex; align-items: center; gap: 12pt; border-top: 1pt solid var(--line); padding-top: 8pt; margin-top: 6pt; break-inside: avoid; }
.ps-qr { width: 0.95in; height: 0.95in; flex: none; }
.ps-qr svg { width: 100%; height: 100%; display: block; }
.ps-foot-text { font-size: 9.5pt; }
.ps-foot-text small { color: var(--muted); font-size: 8pt; }

/* ---------- checkout ---------- */
.unlock { border-top: 1px solid var(--line); padding-top: 14px; display: flex; flex-direction: column; gap: 10px; }
.unlock-head { display: flex; align-items: baseline; gap: 8px; }
.unlock-price { font-family: Inter, system-ui, sans-serif; font-weight: 800; letter-spacing: -.02em; font-weight: 700; font-size: 30px; line-height: 1; color: var(--accent); }
.unlock-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.unlock-list li { position: relative; padding-left: 24px; }
.unlock-list li::before { content: ""; position: absolute; left: 2px; top: 4px; width: 12px; height: 7px;
  border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
.fine { font-size: 12px; color: var(--muted); margin: 0 !important; text-align: center; }
.paid-banner { border-color: #9CCFB4; background: #F2FAF5; display: flex; flex-direction: column; gap: 12px; }
.paid-banner h2 { margin: 0; }
.paid-banner p { margin: 0; }
.preview-badge { position: absolute; right: 60px; top: 12px; z-index: 4; background: rgba(15, 23, 42, .86); color: #fff;
  font-size: 12.5px; font-weight: 600; padding: 7px 11px; border-radius: 8px; pointer-events: none; }
.ps-locked { font: 600 14pt Inter, system-ui, sans-serif; text-align: center; margin-top: 3in; color: #64748B; }
@media (max-width: 860px) { .preview-badge { right: 12px; top: auto; bottom: 12px; } }

/* ---------- address autocomplete ---------- */
.address-box gmp-place-autocomplete { display: block; width: 100%; color-scheme: light; }
.picked { margin: 0; font-size: 13px; color: var(--muted); }
.picked.ok { color: #12663B; font-weight: 600; }
.picked.ok::before { content: "✓ "; }

/* ---------- embedded payment form ---------- */
.checkout-box { display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--line); border-radius: 12px; padding: 14px; background: #fff; }
.checkout-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 14px; }
.checkout-head .linklike { color: var(--accent); font-size: 13px; font-weight: 600; }
#checkout-form { min-height: 120px; }

/* ---------- watermarked guide preview ---------- */
.sheet-dialog { width: min(920px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 0; border: 0; border-radius: 16px;
  background: var(--bg); color: var(--ink); box-shadow: 0 20px 60px rgba(0, 0, 0, .3); overflow: hidden; }
.sheet-dialog[open] { display: flex; flex-direction: column; }
.sheet-dialog::backdrop { background: rgba(15, 23, 42, .55); }
.sheet-dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 16px 20px; background: var(--card); border-bottom: 1px solid var(--line); }
.sheet-dialog-head h2 { font-size: 18px; }
.sheet-dialog-head p { margin: 2px 0 0; font-size: 13px; }
.close-btn { font-size: 18px; line-height: 1; padding: 6px 9px; }
.sheet-scroller { flex: 1; overflow: auto; padding: 20px; display: flex; justify-content: center; align-items: flex-start; }
.sheet-frame { position: relative; flex: none; width: 816px; padding: 43px; background: #fff; box-shadow: 0 2px 12px rgba(15, 23, 42, .15);
  user-select: none; -webkit-user-select: none; overflow: hidden; }
.sheet-frame img { pointer-events: none; -webkit-user-drag: none; }
.sheet-watermark { position: absolute; inset: 0; z-index: 2; pointer-events: none; display: grid; place-items: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='160'%3E%3Ctext x='130' y='90' text-anchor='middle' transform='rotate(-28 130 80)' font-family='Inter,Arial,sans-serif' font-size='17' font-weight='700' fill='%230F4C5C' fill-opacity='.16'%3EPREVIEW %C2%B7 bnb-map.com%3C/text%3E%3C/svg%3E"); }
.sheet-watermark span { transform: rotate(-28deg); font: 800 150px/1 Inter, Arial, sans-serif; letter-spacing: .06em; color: rgba(2, 132, 199, .13);
  border: 10px solid rgba(2, 132, 199, .13); border-radius: 24px; padding: 10px 34px; }
.ps-qr.sample { display: grid; place-items: center; border: 1.5pt dashed #9AA5B1; border-radius: 6pt; color: #64748B; font-size: 7.5pt; font-weight: 700; text-align: center; line-height: 1.2; }
.sheet-dialog-foot { display: flex; justify-content: flex-end; gap: 10px; padding: 14px 20px; background: var(--card); border-top: 1px solid var(--line); }
@media (max-width: 860px) {
  .sheet-dialog { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; border-radius: 0; }
  .sheet-scroller { padding: 12px; }
  .sheet-dialog-foot { flex-direction: column-reverse; }
  .sheet-dialog-foot .btn { width: 100%; }
}

/* ---------- listing photo ---------- */
.head-btns { display: inline-flex; gap: 6px; }
.seg { display: flex; gap: 4px; margin: 12px 20px 0; padding: 4px; background: #F1F5F9; border-radius: 10px; align-self: flex-start; }
.seg button { border: 0; background: none; padding: 8px 14px; border-radius: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); cursor: pointer; }
.seg button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }
.image-scroller { align-items: center; }
.image-scroller img { display: block; width: 100%; max-width: 1200px; height: auto; border-radius: 8px; box-shadow: 0 2px 12px rgba(15, 23, 42, .15);
  user-select: none; -webkit-user-select: none; pointer-events: none; }
@media (max-width: 860px) { .seg { margin: 10px 12px 0; align-self: stretch; } .seg button { flex: 1; } }
.paid-banner .actions { flex-direction: column; }

/* ---------- generate rules ---------- */
.rules-note { margin: -4px 0 0; font-size: 12.5px; color: var(--muted); background: var(--accent-soft); padding: 10px 12px; border-radius: 10px; }
.rules-note b { color: var(--ink); }
.rules-note ul { margin: 4px 0 0; padding-left: 18px; }
.rules-note li { margin: 2px 0; }

/* ---------- sections, featured cards, badges ---------- */
.group-head small { display: block; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 12px; margin-top: 1px; color: var(--muted); }
.place { flex-direction: column; gap: 0; padding: 0; overflow: hidden; }
.place-row { display: flex; gap: 12px; padding: 12px; }
.place-photo { position: relative; flex: none; height: 150px; overflow: hidden; cursor: pointer; background: color-mix(in srgb, var(--c) 10%, #fff); }
.place-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.place-photo .icon-tile { position: absolute; inset: 0; font-size: 56px; }
.feat-ribbon { position: absolute; left: 10px; top: 10px; background: var(--c); color: #fff; font-size: 11.5px; font-weight: 700; padding: 4px 9px; border-radius: 999px; box-shadow: 0 1px 4px rgba(0,0,0,.25); }
.photo-by { position: absolute; right: 6px; bottom: 5px; font-size: 10px; color: #fff; background: rgba(0,0,0,.45); padding: 1px 6px; border-radius: 6px; }
.photo-by a { color: #fff; }
.icon-tile { display: grid; place-items: center; width: 100%; height: 100%; font-size: 40px; background: color-mix(in srgb, var(--c) 10%, #fff); }
.place-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 4px; }
.award-tag { font-size: 12px; font-weight: 700; color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); padding: 2px 8px; border-radius: 999px; }
.tag { font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); background: #fff; }
.tag.ai { color: #6D28D9; border-color: #DDD6FE; background: #F5F3FF; }
.tag.local { color: #12663B; border-color: #B7E1C8; background: #F1FAF4; }
.tag.walk { color: #0284C7; border-color: #BFD9DF; background: #EEF6F7; }
.place-foot .dist b { color: var(--ink); }
.pin-mi { color: var(--muted); }
.pin.feat .pin-card { box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 25%, transparent), 0 2px 6px rgba(0,0,0,.28); }
.pin.air .pin-badge { font-size: 12px; }
.pin-photo { margin: 4px -2px 8px; height: 130px; border-radius: 8px; overflow: hidden; position: relative; background: color-mix(in srgb, var(--c) 10%, #fff); }
.pin-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pin-more .place-tags { margin: 0 0 4px; }
.pin-more a { display: inline-block; margin-right: 12px; }
.ps-award { color: var(--c); }
.ps-air { display: flex; flex-wrap: wrap; gap: 2pt 12pt; align-items: baseline; font-size: 8.5pt; margin: 0 0 4pt; }
.ps-air b { color: var(--accent); }

/* ---------- airport signpost on the route ---------- */
.air-sign { display: flex; align-items: center; gap: 8px; background: #1E293B; color: #fff; padding: 7px 12px 7px 8px; border-radius: 12px;
  border: 2px solid #fff; box-shadow: 0 3px 10px rgba(0,0,0,.35); font: 500 12.5px/1.25 Inter, system-ui, sans-serif; cursor: pointer;
  max-width: 300px; }
.air-sign.below { transform: translateY(calc(100% + 6px)); }
.air-sign.above { transform: translateY(-6px); }
.air-arrow { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: #1E293B; display: grid; place-items: center; }
.air-arrow svg { width: 20px; height: 20px; }
.air-text { display: flex; flex-direction: column; min-width: 0; }
.air-text b { font-size: 14px; font-weight: 700; white-space: normal; }
.air-text span { color: #CBD5E1; font-weight: 600; }

/* ---------- guided steps ---------- */
.stepper ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.stepper button { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 4px; border: 0; background: none; cursor: pointer;
  padding: 6px 2px; border-radius: 10px; color: var(--muted); font-size: 12.5px; font-weight: 600; }
.stepper button b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #F1F5F9; color: var(--muted); font-size: 13px; }
.stepper button[aria-current="step"] { color: var(--ink); }
.stepper button[aria-current="step"] b { background: var(--accent); color: #fff; box-shadow: 0 0 0 4px var(--accent-soft); }
.stepper button.done b { background: #DCEFE4; color: #12663B; }
.stepper button.done b::after { content: "✓"; }
.stepper button.done b { font-size: 0; }
.stepper button.done b::after { font-size: 14px; }
.stepper button:disabled { opacity: .5; cursor: default; }
.stepper button:not(:disabled):hover { background: #F1F5F9; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step h2 { font-family: Inter, system-ui, sans-serif; font-weight: 800; letter-spacing: -.02em; font-size: 24px; line-height: 1.15; }
.step-eyebrow { margin: 0 0 -8px; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.step-nav { display: flex; gap: 8px; justify-content: space-between; flex-wrap: wrap; }
.step-nav .btn.primary { flex: 1; }
details.rules-note summary { cursor: pointer; list-style-position: inside; }
details.rules-note[open] summary { margin-bottom: 4px; }

.choice { display: flex; flex-direction: column; gap: 8px; }
.choice-opt { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px; cursor: pointer; background: #fff; }
.choice-opt input { margin-top: 3px; accent-color: var(--accent); width: 17px; height: 17px; flex: none; }
.choice-opt b { display: block; font-size: 14.5px; }
.choice-opt small { display: block; color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.choice-opt:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.pick-count { margin: 0; font-size: 13px; font-weight: 600; color: var(--accent); }

.pick-box { display: flex; align-items: center; gap: 8px; padding: 9px 12px; font-size: 13px; font-weight: 600; cursor: pointer;
  background: color-mix(in srgb, var(--c) 8%, #fff); border-bottom: 1px solid var(--line); }
.pick-box input { width: 18px; height: 18px; accent-color: var(--c); margin: 0; }
.place.unsel { opacity: .55; }
.place.unsel:hover { opacity: .85; }
.pin.unsel { opacity: .4; }
.pin.unsel:hover, .pin.unsel.open { opacity: 1; }

.preview-thumb { position: relative; display: grid; place-items: center; min-height: 180px; padding: 0; border: 1px solid var(--line); border-radius: 12px;
  overflow: hidden; background: #F1F5F9; cursor: zoom-in; }
.preview-thumb img { display: block; width: 100%; height: auto; }
.thumb-msg { color: var(--muted); font-size: 13.5px; padding: 20px; }
.thumb-cta { position: absolute; right: 8px; bottom: 8px; background: rgba(15,23,42,.82); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 9px; border-radius: 8px; }
.fit-warn { margin: 0; font-size: 13px; color: #8A4B00; background: #FFF5E0; border: 1px solid #F1D49B; padding: 10px 12px; border-radius: 10px; }
.ps-qr-note { font-style: normal; color: var(--muted); font-size: 8pt; }

/* ---------- discount code ---------- */
.promo summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--accent); width: max-content; }
.promo[open] summary { margin-bottom: 8px; }
.promo-msg { margin: 6px 0 0; font-size: 13px; font-weight: 600; }
.promo-msg.ok { color: #12663B; }
.promo-msg.err { color: var(--danger); }

/* ---------- soft refresh: buttons, cards, top bar ---------- */
.btn { border-radius: 12px; border-color: var(--line); }
.btn.primary { background: #0EA5E9; border-color: #0EA5E9; box-shadow: 0 6px 16px rgba(14, 165, 233, .25); }
.btn.primary:hover { background: #0284C7; border-color: #0284C7; }
.btn.soft { background: #F1F5F9; border-color: #F1F5F9; color: var(--ink); }
.btn.soft:hover { background: #E2E8F0; }
.btn.lg { min-height: 54px; padding: 0 26px; font-size: 16.5px; border-radius: 14px; }
.card { border-color: #EEF2F6; }
.topbar { box-shadow: 0 1px 0 rgba(15, 23, 42, .02); }
.topbar-spacer { flex: 1; }
.brand { color: var(--ink); }
.brand svg { color: var(--rose); }
.form-title, .step h2 { letter-spacing: -.025em; }
.stepper button[aria-current="step"] b { background: #0EA5E9; box-shadow: 0 0 0 4px #E0F2FE; }
.choice-opt:has(input:checked) { border-color: #7DD3FC; background: #F0F9FF; }
.hint { background: #F0F9FF; color: #475569; }
.rules-note { background: #F8FAFC; border: 1px solid var(--line); }

/* landing vs. app */
body.landing-mode .app, body.landing-mode .app-only { display: none !important; }
body:not(.landing-mode):not(.site-page) .landing, body:not(.landing-mode) .landing-only { display: none !important; }
body.landing-mode { background: #fff; }

/* ---------- landing page ---------- */
.landing { max-width: 1160px; margin: 0 auto; padding: 0 24px 40px; }
.hero { text-align: center; padding: 56px 0 24px; }
.pill { display: inline-block; background: #F1F5F9; color: var(--ink); font-weight: 600; font-size: 14px; padding: 8px 16px; border-radius: 999px; }
.hero h1 { font-size: clamp(36px, 6vw, 68px); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; margin: 22px 0 18px; color: var(--ink); }
.hero .hl { color: var(--rose); }
.lede { max-width: 640px; margin: 0 auto; color: var(--muted); font-size: clamp(16px, 2vw, 19px); line-height: 1.55; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin: 30px 0 8px; }

.hero-art { margin: 40px auto 0; max-width: 860px; }
.art-map { position: relative; height: 300px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(#EEF2F7 1px, transparent 1px) 0 0 / 44px 44px, linear-gradient(90deg, #EEF2F7 1px, transparent 1px) 0 0 / 44px 44px, #F8FAFC;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .10); }
.art-road { position: absolute; background: #fff; box-shadow: 0 0 0 1px #E2E8F0; }
.art-road.r1 { left: -5%; right: -5%; top: 55%; height: 16px; transform: rotate(-6deg); }
.art-road.r2 { top: -10%; bottom: -10%; left: 30%; width: 14px; transform: rotate(8deg); }
.art-road.r3 { top: -10%; bottom: -10%; left: 72%; width: 12px; }
.art-home { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; background: #0EA5E9; color: #fff; font-size: 26px; font-weight: 700; box-shadow: 0 0 0 10px rgba(14, 165, 233, .15), 0 8px 18px rgba(14, 165, 233, .35); }
.art-card { position: absolute; display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 10px 14px 10px 10px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .10); text-align: left; animation: floaty 6s ease-in-out infinite; }
.art-card b { display: block; font-size: 14px; }
.art-card small { color: var(--muted); font-size: 12.5px; font-weight: 600; }
.art-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: color-mix(in srgb, var(--c) 14%, #fff); }
.art-card.a1 { left: 7%; top: 14%; }
.art-card.a2 { right: 8%; top: 10%; animation-delay: -1.5s; }
.art-card.a3 { left: 12%; bottom: 10%; animation-delay: -3s; }
.art-card.a4 { right: 6%; bottom: 14%; animation-delay: -4.5s; }
@keyframes floaty { 50% { transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .art-card { animation: none; } }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 56px 0 24px; }
.feature, .get-grid article { background: #fff; border: 1px solid #EEF2F6; border-radius: 20px; padding: 28px; box-shadow: 0 10px 30px rgba(15, 23, 42, .06); }
.f-ico { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; color: var(--c); font-size: 24px;
  background: color-mix(in srgb, var(--c) 12%, #fff); margin-bottom: 18px; }
.f-ico svg { width: 26px; height: 26px; }
.feature h3, .get-grid h3, .how-steps h3 { font-size: 21px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 8px; }
.feature p, .get-grid p, .how-steps p { margin: 0; color: var(--muted); font-size: 15.5px; line-height: 1.55; }

.how, .get { margin: 72px 0 0; text-align: center; scroll-margin-top: 90px; }
.how h2, .get h2, .cta-band h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.03em; margin: 0 0 28px; }
.how-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: left; }
.how-steps li { background: #F8FAFC; border-radius: 20px; padding: 24px; }
.how-steps li > b { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: #0EA5E9; color: #fff; font-weight: 800; margin-bottom: 14px; }
.get-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; text-align: left; }
.cta-band { margin: 80px 0 0; text-align: center; padding: 56px 24px; border-radius: 28px; background: linear-gradient(135deg, #F0F9FF, #FFF1F2); }
.cta-band p { color: var(--muted); font-size: 17px; margin: -14px 0 26px; }
.site-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; color: var(--muted); font-size: 13px; padding: 36px 4px 0; }

@media (max-width: 860px) {
  .features, .get-grid { grid-template-columns: 1fr; gap: 16px; margin-top: 36px; }
  .how-steps { grid-template-columns: 1fr 1fr; }
  .hero { padding-top: 36px; }
  .art-map { height: 260px; }
  .art-card { padding: 7px 10px 7px 7px; gap: 8px; }
  .art-card b { font-size: 12.5px; }
  .art-card small { font-size: 11px; }
  .art-ico { width: 30px; height: 30px; font-size: 16px; }
  .art-card.a1 { left: 3%; top: 6%; } .art-card.a2 { right: 3%; top: 26%; } .art-card.a3 { left: 3%; bottom: 6%; } .art-card.a4 { right: 3%; bottom: 26%; }
}
@media (max-width: 520px) { .how-steps { grid-template-columns: 1fr; } .btn.lg { width: 100%; } }

.ps-brand { color: var(--ink); }

.brand .tld { color: var(--muted); font-weight: 600; }

/* ---------- pages: landing / app / bulk ---------- */
.bulk { display: none; }
body.bulk-mode .bulk { display: block; }
body.bulk-mode .app, body.bulk-mode .landing, body.bulk-mode .landing-only { display: none !important; }
body.bulk-mode .app-only { display: none !important; }
body.bulk-mode { background: #fff; }

.top-nav { display: flex; gap: 18px; margin-right: 8px; }
.top-nav a { color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; }
.top-nav a:hover { color: var(--accent); }
.view-mode .top-nav { display: none; }
@media (max-width: 720px) { .top-nav { display: none; } }
.bulk-hint { margin: 10px 0 0; color: var(--muted); font-size: 15px; }
.bulk-hint a { font-weight: 700; }
.site-foot { align-items: flex-start; }
.foot-cities { display: flex; flex-wrap: wrap; gap: 6px 14px; max-width: 620px; }
.site-foot a { color: var(--muted); text-decoration: none; }
.site-foot a:hover { color: var(--accent); }

/* save for later (step 4) */
.save-later summary { cursor: pointer; font-size: 13px; font-weight: 600; color: var(--accent); }
.save-later[open] summary { margin-bottom: 8px; }
.save-form { display: flex; flex-direction: column; gap: 8px; }
.save-form input[type=email] { font: inherit; border: 1px solid #CBD5E1; border-radius: 10px; padding: 10px 12px; min-height: 44px; width: 100%; }

/* ---------- bulk page ---------- */
.bulk { max-width: 1160px; margin: 0 auto; padding: 0 24px 60px; }
.bulk-head { text-align: center; padding: 44px 0 24px; }
.bulk-head h1 { font-size: clamp(32px, 5vw, 54px); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; margin: 18px 0 14px; }
.bulk-head .hl { color: var(--rose); }
.bulk-input { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.bulk-input textarea { min-height: 160px; font-size: 15px; }
.bulk-results { display: grid; grid-template-columns: 1fr 320px; gap: 24px; align-items: start; }
.bulk-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.bulk-card { position: relative; background: #fff; border: 1px solid #EEF2F6; border-radius: 18px; overflow: hidden; box-shadow: 0 8px 24px rgba(15, 23, 42, .06); }
.bulk-card.err { border-color: #FECACA; }
.bulk-thumb { aspect-ratio: 3 / 2; background: #F1F5F9; display: grid; place-items: center; }
.bulk-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bulk-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.bulk-body p { margin: 0; font-size: 13px; }
.bulk-title { font: 700 15px Inter, system-ui, sans-serif; border: 1px solid transparent; border-radius: 8px; padding: 4px 6px; margin: -4px -6px 0; min-height: 0; }
.bulk-title:hover, .bulk-title:focus { border-color: #CBD5E1; }
.bulk-status { color: #12663B; font-weight: 600; }
.bulk-status.err { color: var(--danger); }
.bulk-remove { position: absolute; top: 8px; right: 8px; background: rgba(255,255,255,.92); }
.bulk-pay { position: sticky; top: calc(var(--topbar) + 16px); display: flex; flex-direction: column; gap: 10px; }
.bulk-pay h2 { margin: 0; font-size: 20px; }
.bulk-line { margin: 0; color: var(--muted); }
.bulk-total { margin: 0; font-size: 40px; font-weight: 800; letter-spacing: -.03em; }
.bulk-save { margin: 0; font-size: 13px; font-weight: 600; color: #12663B; background: #F0FDF4; padding: 8px 10px; border-radius: 10px; }
@media (max-width: 900px) { .bulk-results { grid-template-columns: 1fr; } .bulk-pay { position: static; } }

/* ---------- server-rendered pages ---------- */
body.site-page { background: #fff; }
.city-search { position: relative; z-index: 5; display: flex; gap: 10px; max-width: 720px; margin: 28px auto 6px; }
.city-ac { flex: 1; }
.city-ac input, .city-ac gmp-place-autocomplete { width: 100%; display: block; font: inherit; font-size: 16px; min-height: 54px; border: 1px solid #CBD5E1; border-radius: 14px; padding: 0 16px; }
.city-help { color: var(--muted); font-size: 13px; margin: 0; }
.city-map { margin: 28px auto 0; max-width: 960px; height: 380px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line);
  background: linear-gradient(#EEF2F7 1px, transparent 1px) 0 0 / 44px 44px, linear-gradient(90deg, #EEF2F7 1px, transparent 1px) 0 0 / 44px 44px, #F8FAFC; }
@media (max-width: 640px) { .city-search { flex-direction: column; } .city-map { height: 280px; } }

.examples { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 22px; margin-top: 24px; }
.example { background: #fff; border: 1px solid #EEF2F6; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(15, 23, 42, .06); display: flex; flex-direction: column; }
.ex-frame { position: relative; aspect-ratio: 4 / 3; background: #F8FAFC; display: grid; place-items: center; }
.ex-frame { overflow: hidden; }
/* Render the live map at desktop size, scaled down to fit the card */
.ex-frame iframe { position: absolute; top: 0; left: 0; width: 250%; height: 250%; border: 0; transform: scale(.4); transform-origin: 0 0; }
.bulk-err-icon { width: 40px; height: 40px; border-radius: 50%; background: #FEE2E2; color: #B91C1C; font-weight: 800; font-size: 20px; display: grid; place-items: center; }
.ex-art { position: absolute; inset: 0; background: linear-gradient(#EEF2F7 1px, transparent 1px) 0 0 / 34px 34px, linear-gradient(90deg, #EEF2F7 1px, transparent 1px) 0 0 / 34px 34px; }
.ex-home { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #0EA5E9; color: #fff; font-weight: 800; box-shadow: 0 0 0 8px rgba(14,165,233,.15); }
.ex-dot { position: absolute; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; box-shadow: 0 4px 12px rgba(15,23,42,.12); font-size: 17px; }
.ex-dot.d0 { left: 18%; top: 20%; } .ex-dot.d1 { right: 16%; top: 16%; } .ex-dot.d2 { left: 12%; bottom: 18%; }
.ex-dot.d3 { right: 20%; bottom: 14%; } .ex-dot.d4 { left: 42%; top: 10%; } .ex-dot.d5 { right: 40%; bottom: 10%; }
.ex-load { position: relative; z-index: 1; }
.ex-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; }
.ex-body h3 { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -.015em; }
.ex-body p { margin: 0; font-size: 14px; }
.ex-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0; }
.ex-tags span { font-size: 12px; font-weight: 600; background: #F1F5F9; padding: 3px 8px; border-radius: 999px; }
.ex-body a { font-weight: 600; font-size: 14px; text-decoration: none; }
.ex-empty { text-align: center; grid-column: 1 / -1; padding: 30px; }

.batch { max-width: 860px; margin: 0 auto; }
.batch-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.batch-list li { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; background: #fff; border: 1px solid #EEF2F6; border-radius: 16px; padding: 14px 16px; box-shadow: 0 6px 18px rgba(15,23,42,.05); }
.batch-list li > div { display: flex; flex-direction: column; }
.batch-actions { display: flex; gap: 8px; align-items: center; }
.batch-actions input { font: inherit; font-size: 13px; color: var(--muted); border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; width: 260px; background: #F8FAFC; }

/* ---------- affiliates ---------- */
.aff-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 30px; text-align: left; }
.aff-card { background: #fff; border: 1px solid #EEF2F6; border-radius: 20px; padding: 26px; box-shadow: 0 10px 30px rgba(15, 23, 42, .06); display: flex; flex-direction: column; gap: 12px; }
.aff-card h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.aff-card input { font: inherit; border: 1px solid #CBD5E1; border-radius: 10px; padding: 10px 12px; min-height: 44px; width: 100%; }
.aff-result { background: #F0F9FF; border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.aff-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.aff-stats div { background: #F8FAFC; border-radius: 12px; padding: 12px; text-align: center; }
.aff-stats b { display: block; font-size: 24px; font-weight: 800; }
.aff-stats span { font-size: 12px; color: var(--muted); }
@media (max-width: 760px) { .aff-grid { grid-template-columns: 1fr; } }

.offer-banner { margin: 0 0 12px; padding: 10px 14px; border-radius: 12px; background: #ECFDF5; color: #065F46; font-size: 14px; }
.offer-banner s { color: #64748B; margin-left: 4px; }
.save-note { margin: 6px 0 0; color: var(--muted); font-size: 12px; }
