/* Vitrina, "night gallery": near-black, ivory type, one champagne accent, serif display, photography first.
   Dark is the default (index.html sets <html data-theme>); light is warm paper. Components read tokens only. */

/* Instrument Serif (SIL Open Font License), self-hosted latin subset: no third-party request, no render blocking. */
@font-face { font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/instrument-serif.woff2") format("woff2"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("fonts/instrument-serif-italic.woff2") format("woff2"); }

:root, :root[data-theme="dark"] {
  --bg: #0a0a0b;
  --card: #141416;
  --card-2: #1b1b1e;
  --raise: #242428;
  --ink: #f5f2ec;
  --ink-2: #bbb6ae;
  --muted: #8f8a82;
  --line: rgba(255, 255, 255, .11);
  --line-2: rgba(255, 255, 255, .065);
  --primary: #f5f2ec;
  --on-primary: #0a0a0b;
  --accent: #e7c98f;
  --accent-2: #f0d8a9;
  --accent-ink: #e7c98f;
  --on-accent: #1a1408;
  --accent-soft: rgba(231, 201, 143, .13);
  --accent-ring: rgba(231, 201, 143, .5);
  --wa: #25d366;
  --warn: #f3b562;
  --warn-soft: rgba(243, 181, 98, .13);
  --warn-ink: #f6cd94;
  --danger: #ff6b5f;
  --danger-soft: rgba(255, 107, 95, .13);
  --overlay: rgba(0, 0, 0, .62);
  --glass: rgba(10, 10, 11, .72);
  --glass-card: rgba(20, 20, 22, .82);
  --badge-bg: rgba(10, 10, 11, .55);
  --badge-ink: #f5f2ec;
  --toast-bg: #f5f2ec;
  --toast-ink: #0a0a0b;
  --sk-a: #17171a;
  --sk-b: #202024;
  --glow: rgba(231, 201, 143, .09);
  --shadow: 0 1px 2px rgba(0, 0, 0, .35), 0 8px 24px rgba(0, 0, 0, .28);
  --shadow-lg: 0 24px 64px rgba(0, 0, 0, .6);
  --inset: inset 0 1px 0 rgba(255, 255, 255, .05);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f4f1eb;
  --card: #fbf9f5;
  --card-2: #ece8e0;
  --raise: #e4dfd5;
  --ink: #141210;
  --ink-2: #49443d;
  --muted: #6d675e;
  --line: rgba(20, 18, 16, .13);
  --line-2: rgba(20, 18, 16, .07);
  --primary: #141210;
  --on-primary: #f7f4ee;
  --accent: #dcbb7c;
  --accent-2: #d1ad69;
  --accent-ink: #7a5b24;
  --on-accent: #1a1408;
  --accent-soft: rgba(176, 134, 58, .14);
  --accent-ring: rgba(150, 112, 44, .45);
  --wa: #1fa855;
  --warn: #9a5a08;
  --warn-soft: rgba(154, 90, 8, .1);
  --warn-ink: #6b3f05;
  --danger: #b42318;
  --danger-soft: rgba(180, 35, 24, .09);
  --overlay: rgba(20, 18, 16, .42);
  --glass: rgba(244, 241, 235, .78);
  --glass-card: rgba(251, 249, 245, .9);
  --badge-bg: rgba(251, 249, 245, .82);
  --badge-ink: #141210;
  --toast-bg: #141210;
  --toast-ink: #f7f4ee;
  --sk-a: #e6e1d8;
  --sk-b: #efebe4;
  --glow: rgba(176, 134, 58, .1);
  --shadow: 0 1px 2px rgba(20, 18, 16, .06), 0 8px 24px rgba(20, 18, 16, .07);
  --shadow-lg: 0 24px 64px rgba(20, 18, 16, .2);
  --inset: inset 0 1px 0 rgba(255, 255, 255, .7);
  color-scheme: light;
}
:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI Variable Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --tabbar-h: 66px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --d1: 120ms;
  --d2: 200ms;
  --d3: 320ms;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; scroll-padding-bottom: calc(var(--tabbar-h) + 96px); }
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.5 var(--font);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; letter-spacing: -.005em;
}
body.noscroll { overflow: hidden; }
::selection { background: var(--accent-soft); }
img { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { text-decoration-color: currentColor; }
h1, h2, h3 { margin: 0; line-height: 1.15; letter-spacing: -.02em; font-weight: 650; }
h1 { font-size: 28px; }
h2 { font-size: 19px; }
h3 { font-size: 16px; letter-spacing: -.01em; }
p { margin: 0; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.display { font-family: var(--serif); font-weight: 400; letter-spacing: -.01em; line-height: 1.02; }
.display em, .display i { font-style: italic; }
.i { width: 18px; height: 18px; flex: none; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.center { text-align: center; }
.pad { padding: 18px 4px; }
.row { display: flex; align-items: center; }
.gap { gap: 8px; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; }
.center-row { justify-content: center; }
.eyebrow { font-size: 11.5px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 560px) { .hide-sm { display: none !important; } }

/* ---------- buttons: primary (ivory pill), secondary (surface), quiet ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--card-2); color: var(--ink);
  font-weight: 620; font-size: 15px; cursor: pointer; text-decoration: none; white-space: nowrap; letter-spacing: -.01em;
  transition: background var(--d1), border-color var(--d1), transform var(--d1), opacity var(--d1);
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
@media (hover: hover) { .btn:hover { background: var(--raise); } }
.btn.sm { min-height: 36px; padding: 0 14px; font-size: 14px; }
.btn.lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.btn.block { width: 100%; }
.btn.primary, .btn.wa { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
@media (hover: hover) { .btn.primary:hover, .btn.wa:hover { background: var(--primary); opacity: .9; } }
.btn.wa .i { color: var(--wa); }
.btn.ghost { background: transparent; }
@media (hover: hover) { .btn.ghost:hover { background: var(--card-2); } }
.btn.danger { background: var(--danger-soft); border-color: transparent; color: var(--danger); }
.btn-col { display: grid; gap: 10px; margin-top: 16px; }
.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 999px; border: 0;
  background: transparent; cursor: pointer; color: var(--ink-2); transition: background var(--d1), transform var(--d1);
}
.icon-btn:active { transform: scale(.94); }
@media (hover: hover) { .icon-btn:hover { background: var(--card-2); color: var(--ink); } }
.icon-btn .i { width: 20px; height: 20px; }

.spinner { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); border-top-color: var(--ink); animation: spin .7s linear infinite; display: inline-block; }
.spinner.sm { width: 16px; height: 16px; border-color: rgba(127, 127, 127, .35); border-top-color: currentColor; }
@keyframes spin { to { transform: rotate(360deg); } }
.center-load { min-height: 60vh; display: grid; place-items: center; }
.center-load.small { min-height: 160px; }

/* ---------- inputs ---------- */
.field { display: grid; gap: 7px; margin-top: 16px; }
.label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.label em { font-style: normal; font-weight: 500; color: var(--muted); }
.hint { font-size: 13px; color: var(--muted); margin-top: 6px; display: flex; gap: 6px; align-items: flex-start; }
.hint .i { width: 15px; height: 15px; margin-top: 2px; }
.input {
  width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 12px; border: 1px solid transparent;
  background: var(--card-2); color: var(--ink); font: inherit; font-size: 16px; outline: none;
  transition: border-color var(--d1), box-shadow var(--d1), background var(--d1);
}
.input::placeholder { color: var(--muted); }
textarea.input { resize: vertical; line-height: 1.5; }
.input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
select.input {
  appearance: none; padding-right: 32px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat;
}
.input.sm { min-height: 40px; padding: 6px 30px 6px 12px; font-size: 15px; width: auto; }
.money { display: grid; grid-template-columns: 1fr 100px; gap: 8px; }
.budget { display: grid; grid-template-columns: 1fr auto 1fr 96px; gap: 6px; align-items: center; }
.budget > span { color: var(--muted); }
.two { display: grid; gap: 0 12px; }
@media (min-width: 640px) { .two { grid-template-columns: 1fr 1fr; } }
.slug { display: flex; align-items: center; border-radius: 12px; background: var(--card-2); overflow: hidden; border: 1px solid transparent; }
.slug span { padding-left: 14px; color: var(--muted); white-space: nowrap; font-size: 15px; }
.slug .input { background: transparent; padding-left: 2px; box-shadow: none !important; border: 0; }
.slug:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.form-err { color: var(--danger); background: var(--danger-soft); border-radius: 12px; padding: 10px 14px; font-size: 14px; margin-top: 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips.scroll { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.chips.scroll::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 5px; min-height: 38px; padding: 0 15px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--ink-2); font-size: 14px; font-weight: 560;
  cursor: pointer; white-space: nowrap; transition: background var(--d1), color var(--d1), border-color var(--d1), transform var(--d1);
}
.chip:active { transform: scale(.96); }
@media (hover: hover) { .chip:hover { border-color: var(--muted); color: var(--ink); } }
.chip .i { width: 14px; height: 14px; }
.chip.on { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.chip.static { cursor: default; min-height: 28px; padding: 0 11px; font-size: 13px; background: var(--card-2); border-color: transparent; color: var(--ink-2); }
.chips.small { gap: 6px; }
.chips.seg { gap: 0; background: var(--card-2); border-radius: 999px; padding: 3px; flex-wrap: nowrap; }
.chips.seg .chip { border: 0; background: transparent; min-height: 34px; }
.chips.seg .chip.on { background: var(--primary); color: var(--on-primary); }

.switch { display: flex; align-items: center; gap: 12px; margin-top: 16px; cursor: pointer; font-size: 15px; font-weight: 520; }
.switch input { position: absolute; opacity: 0; pointer-events: none; }
.switch span { flex: none; width: 46px; height: 28px; border-radius: 999px; background: var(--raise); position: relative; transition: background var(--d2); }
.switch span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 2px 4px rgba(0, 0, 0, .25); transition: transform var(--d2) var(--spring); }
.switch input:checked + span { background: var(--accent); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- surfaces ---------- */
.card { background: var(--card); border-radius: var(--r-lg); box-shadow: var(--inset); padding: 20px; border: 1px solid var(--line-2); }
.card > h2 { display: flex; align-items: baseline; gap: 6px; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 34px 0 14px; }
.sec-head.tight { margin: 0 0 10px; }
.count { color: var(--muted); font-weight: 500; }
.intro { margin: 10px 0 22px; display: grid; gap: 8px; }
.intro h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 7vw, 46px); letter-spacing: -.01em; line-height: 1.02; }
.intro p { max-width: 560px; }
.empty { text-align: center; padding: 44px 20px; display: grid; justify-items: center; gap: 12px; }
.empty.small { padding: 28px 12px; grid-column: 1 / -1; }
.empty h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; letter-spacing: 0; }
.empty p { color: var(--muted); max-width: 380px; }
.empty-art { width: 72px; height: 72px; border-radius: 24px; display: grid; place-items: center; background: var(--card-2); color: var(--accent-ink); box-shadow: var(--inset); }
.empty-art .i { width: 32px; height: 32px; }

/* ---------- brand ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--serif); font-size: 24px; letter-spacing: -.01em; }
.logo-mark { width: 30px; height: 30px; }

/* ---------- agent shell ---------- */
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 12px; justify-content: space-between;
  padding: 10px 16px; background: var(--glass); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  border-bottom: 1px solid var(--line-2);
}
.topnav { display: none; gap: 2px; }
.topnav-item { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; color: var(--muted); font-weight: 560; font-size: 14px; text-decoration: none; transition: color var(--d1), background var(--d1); }
@media (hover: hover) { .topnav-item:hover { color: var(--ink); } }
.topnav-item.on { color: var(--ink); background: var(--card-2); }
.topnav-item .i { width: 17px; height: 17px; }
.page { max-width: 1040px; margin: 0 auto; padding: 18px 16px calc(var(--tabbar-h) + 104px); }
.tabbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 20; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
  background: var(--glass); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-top: 1px solid var(--line-2);
}
.tab { position: relative; display: grid; justify-items: center; align-content: center; gap: 4px; color: var(--muted); font-size: 11px; font-weight: 600; text-decoration: none; transition: color var(--d1); }
.tab .i { width: 23px; height: 23px; transition: transform var(--d2) var(--spring); }
.tab.on { color: var(--ink); }
.tab.on .i { color: var(--accent-ink); transform: translateY(-1px); }
.nav-dot { position: absolute; top: 7px; right: calc(50% - 22px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--danger); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.topnav-item .nav-dot { position: static; margin-left: 2px; }
@media (min-width: 900px) {
  .topnav { display: flex; }
  .tabbar { display: none; }
  .page { padding-bottom: 120px; }
}

.demo-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 10px 16px;
  background: var(--accent-soft); color: var(--ink); font-size: 13.5px; font-weight: 560; border-bottom: 1px solid var(--line-2);
}
.demo-bar > span { display: inline-flex; align-items: center; gap: 8px; }
.demo-bar > span .i { color: var(--accent-ink); }

/* ---------- agent home ---------- */
.hello { display: grid; gap: 16px; margin-top: 8px; }
.hello h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 8vw, 52px); letter-spacing: -.01em; line-height: 1; }
.glance { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.glance > :first-child:nth-last-child(3) { grid-column: span 2; }
@media (min-width: 760px) { .glance { grid-template-columns: repeat(3, 1fr); } .glance > :first-child:nth-last-child(3) { grid-column: auto; } }
.g-tile { display: grid; gap: 4px; padding: 14px 16px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line-2); text-decoration: none; color: var(--ink); min-width: 0; }
.g-tile span { font-size: 12px; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.g-tile b { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.05; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-tile em { font-style: normal; font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
a.g-tile { transition: border-color var(--d1), transform var(--d1); }
a.g-tile:active { transform: scale(.98); }
@media (hover: hover) { a.g-tile:hover { border-color: var(--line); } }
.nudge { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r); background: var(--accent-soft); color: var(--ink); font-size: 14px; font-weight: 520; text-decoration: none; }
.nudge span { flex: 1; }
.nudge .i { color: var(--accent-ink); }
.linkcard {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; padding: 16px;
  border-radius: var(--r-lg); background: radial-gradient(120% 140% at 0% 0%, var(--glow), transparent 60%), var(--card);
  border: 1px solid var(--line); overflow: hidden;
}
.collage { display: grid; grid-template-columns: 54px 38px; grid-template-rows: 38px 38px; gap: 4px; }
.collage img, .collage span { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; background: var(--card-2); }
.collage img:first-child, .collage span:first-child { grid-row: span 2; }
.linkcard-text { min-width: 0; display: grid; gap: 2px; }
.linkcard-url { font-weight: 620; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.linkcard .row { grid-column: 1 / -1; }
@media (min-width: 640px) { .linkcard { grid-template-columns: auto 1fr auto; } .linkcard .row { grid-column: auto; } }
.toolbar { display: grid; gap: 12px; margin-bottom: 14px; }
.plist { display: grid; gap: 2px; background: var(--card); border-radius: var(--r-lg); border: 1px solid var(--line-2); padding: 6px; }
.prow { position: relative; display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; align-items: center; padding: 8px; border-radius: 14px; transition: background var(--d1); }
@media (hover: hover) { .prow:hover { background: var(--card-2); } }
.prow + .prow::before { content: ""; position: absolute; top: -1px; left: 98px; right: 8px; height: 1px; background: var(--line-2); }
.prow-img { width: 76px; height: 76px; border-radius: 12px; overflow: hidden; background: var(--card-2); display: grid; place-items: center; color: var(--muted); }
.prow-img img { width: 100%; height: 100%; object-fit: cover; }
.prow-body { min-width: 0; display: grid; gap: 1px; }
.prow-title { font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-decoration: none; }
.stretch::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.prow-price { font-family: var(--serif); font-size: 21px; line-height: 1.2; }
.prow-price small, .card-price small { font-family: var(--font); font-size: 13px; color: var(--muted); margin-left: 3px; font-weight: 500; }
.prow-meta { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 4px; white-space: nowrap; overflow: hidden; }
.prow-meta .i { width: 14px; height: 14px; }
.prow-side { display: grid; justify-items: end; gap: 8px; }
.raise { position: relative; z-index: 2; }
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3ecf8e; }
.pill.st-reserved::before { background: var(--warn); }
.pill.st-closed::before, .pill.st-hidden::before { background: var(--muted); }
.pill.st-closed, .pill.st-hidden { color: var(--muted); }
.tour { display: grid; gap: 12px; border-color: var(--accent-ring); }
.tour h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: 0; }
.tour ol { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-2); }
.tour b { color: var(--ink); }
.tour .btn { justify-self: start; }

/* ---------- editor: grouped like system settings ---------- */
.editor { display: grid; gap: 16px; }
.ed-head { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; gap: 8px; }
.ed-head h1 { font-size: 17px; text-align: center; font-weight: 650; }
.editor .card > h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 650; }
.photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
@media (min-width: 640px) { .photos { grid-template-columns: repeat(5, 1fr); } }
.ph { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--card-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph-loading { display: grid; place-items: center; }
.ph-add { border: 1.5px dashed var(--line); background: transparent; display: grid; place-items: center; align-content: center; gap: 6px; cursor: pointer; color: var(--ink-2); font-size: 12.5px; font-weight: 600; text-align: center; padding: 6px; }
.ph-add .i { width: 26px; height: 26px; color: var(--accent-ink); }
.ph-cover { position: absolute; top: 6px; left: 6px; display: inline-flex; align-items: center; gap: 3px; padding: 3px 8px; border-radius: 999px; background: var(--badge-bg); color: var(--badge-ink); backdrop-filter: blur(8px); font-size: 11px; font-weight: 650; }
.ph-cover .i { width: 11px; height: 11px; color: var(--accent-ink); }
.ph-tools { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; padding: 5px; background: linear-gradient(transparent, rgba(0, 0, 0, .55)); }
.ph-tools button { width: 30px; height: 30px; border-radius: 999px; border: 0; background: var(--badge-bg); color: var(--badge-ink); backdrop-filter: blur(8px); display: grid; place-items: center; cursor: pointer; padding: 0; }
.ph-tools button:disabled { opacity: .3; cursor: default; }
.ph-tools .i { width: 15px; height: 15px; }
.opgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.optoggle { position: relative; cursor: pointer; }
.optoggle input { position: absolute; opacity: 0; }
.optoggle span { display: grid; place-items: center; min-height: 54px; border-radius: 14px; border: 1px solid var(--line); font-weight: 620; color: var(--ink-2); transition: all var(--d1); }
.optoggle input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
.optoggle input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.steppers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stepper { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; height: 48px; border-radius: 12px; background: var(--card-2); overflow: hidden; }
.stepper button { height: 100%; border: 0; background: transparent; font-size: 22px; cursor: pointer; color: var(--ink); }
.stepper button:active { background: var(--raise); }
.stepper output { text-align: center; font-weight: 650; font-size: 17px; font-variant-numeric: tabular-nums; }
.savebar {
  position: fixed; left: 0; right: 0; bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom)); z-index: 15; display: flex; gap: 10px;
  padding: 12px 16px; background: var(--glass); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-top: 1px solid var(--line-2);
}
@media (min-width: 900px) { .savebar { bottom: 0; justify-content: center; } .savebar .grow { flex: 0 1 440px; } }

/* ---------- share builder ---------- */
.paste-hero { display: grid; gap: 12px; margin-bottom: 16px; background: radial-gradient(120% 120% at 100% 0%, var(--glow), transparent 55%), var(--card); border-color: var(--line); }
.paste-hero h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 6vw, 36px); letter-spacing: -.01em; line-height: 1.05; }
.paste-hero textarea { min-height: 112px; font-size: 16px; background: var(--card-2); }
.paste-out { display: inline-flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 600; color: var(--accent-ink); }
.paste-out .i { width: 16px; height: 16px; }
.sb-grid { display: grid; gap: 16px; }
@media (min-width: 900px) {
  .sb-grid { grid-template-columns: 1fr 1fr; align-items: start; }
  .sb-grid [data-role="results-card"] { position: sticky; top: 80px; }
}
.sb-grid .card > h2 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 650; }
.sb-grid .btn.ghost.sm { margin-top: 16px; }
.sb-grid [data-role="rcount"] { font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: 0; text-transform: none; color: var(--ink); }
.picklist { display: grid; gap: 8px; max-height: 480px; overflow: auto; margin: 0 -4px; padding: 0 4px; }
.pick { display: grid; grid-template-columns: 22px 60px 1fr; gap: 12px; align-items: center; padding: 8px; border-radius: 14px; border: 1px solid var(--line-2); cursor: pointer; transition: border-color var(--d1), background var(--d1); }
.pick:has(input:checked) { border-color: var(--accent-ring); background: var(--accent-soft); }
.pick.locked { cursor: default; }
.pick input { width: 20px; height: 20px; accent-color: var(--accent); margin: 0; }
.pick-img { width: 60px; height: 60px; border-radius: 10px; overflow: hidden; background: var(--card-2); display: grid; place-items: center; color: var(--muted); }
.pick-img img { width: 100%; height: 100%; object-fit: cover; }
.pick-body { display: grid; gap: 1px; min-width: 0; font-size: 14px; }
.pick-body b, .pick-body span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-opts { border-top: 1px solid var(--line-2); margin-top: 16px; padding-top: 2px; }

/* ---------- links ---------- */
.slist { display: grid; gap: 10px; }
.srow { display: grid; grid-template-columns: 1fr auto; gap: 12px 16px; padding: 18px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line-2); }
.srow-main { display: grid; gap: 6px; min-width: 0; }
.srow-title { font-family: var(--serif); font-size: 26px; line-height: 1.05; }
.srow-meta { font-size: 13px; color: var(--muted); }
.srow-views { display: grid; justify-items: end; align-content: start; text-align: right; }
.srow-views b { font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1; font-variant-numeric: tabular-nums; color: var(--muted); }
.srow-views.seen b { color: var(--accent-ink); }
.srow-views span { font-size: 12px; color: var(--muted); max-width: 130px; }
.srow > .row { grid-column: 1 / -1; }

/* ---------- profile ---------- */
.pr-photo { display: flex; align-items: center; gap: 16px; }
.pr-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
form.card + form.card { margin-top: 16px; }
form.card .btn.primary.block { margin-top: 20px; }
form.card .btn.ghost { margin-top: 16px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; background: var(--card-2); }
.avatar.lg { width: 72px; height: 72px; }
.avatar.xl { width: 92px; height: 92px; }
.avatar-ph { display: inline-grid; place-items: center; color: var(--accent-ink); font-family: var(--serif); font-size: 20px; }
.avatar.lg.avatar-ph { font-size: 30px; }
.avatar.xl.avatar-ph { font-size: 38px; }

/* ---------- overlays ---------- */
.overlay { position: fixed; inset: 0; z-index: 50; background: transparent; display: grid; place-items: center; padding: 16px; transition: background var(--d3) var(--ease), backdrop-filter var(--d3); }
.overlay.open { background: var(--overlay); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal {
  width: 100%; max-width: 480px; max-height: calc(100dvh - 32px); overflow: auto; background: var(--card); border-radius: var(--r-xl);
  padding: 20px; box-shadow: var(--shadow-lg), var(--inset); border: 1px solid var(--line-2);
  transform: translateY(14px) scale(.985); opacity: 0; transition: transform var(--d3) var(--spring), opacity var(--d2) var(--ease);
}
.overlay.open .modal { transform: none; opacity: 1; }
.overlay.sheet { align-items: end; padding: 0; }
.overlay.sheet .modal { max-width: 560px; border-radius: 26px 26px 0 0; padding-bottom: calc(20px + env(safe-area-inset-bottom)); transform: translateY(48px); }
.overlay.sheet.open .modal { transform: none; }
.overlay.sheet .modal::before { content: ""; display: block; width: 38px; height: 5px; border-radius: 99px; background: var(--line); margin: -8px auto 12px; }
@media (min-width: 640px) {
  .overlay.sheet { align-items: center; padding: 16px; }
  .overlay.sheet .modal { border-radius: var(--r-xl); }
  .overlay.sheet .modal::before { display: none; }
}
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.modal-head h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: 0; line-height: 1.1; }
.modal-foot { margin-top: 18px; position: sticky; bottom: -20px; background: var(--card); padding: 12px 0 4px; }
.linkbox { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px; border-radius: 999px; background: var(--card-2); margin-bottom: 16px; }
.linkbox span { flex: 1; min-width: 0; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toasts { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tabbar-h) + 88px); z-index: 80; display: grid; gap: 8px; justify-items: center; pointer-events: none; width: calc(100% - 32px); max-width: 420px; }
.toast { background: var(--toast-bg); color: var(--toast-ink); padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; box-shadow: var(--shadow-lg); animation: toastIn var(--d3) var(--spring); transition: opacity .3s; text-align: center; }
.toast.err { background: var(--danger); color: #fff; }
.toast.out { opacity: 0; }
@keyframes toastIn { from { transform: translateY(10px) scale(.96); opacity: 0; } }

/* ---------- public top / auth ---------- */
.pub-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 20px; max-width: 1200px; margin: 0 auto; }
.langs { display: inline-flex; background: var(--card-2); border-radius: 999px; padding: 3px; }
.langs button { border: 0; background: transparent; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 650; color: var(--muted); cursor: pointer; }
.langs button.on { background: var(--primary); color: var(--on-primary); }
.theme-btn .i { width: 19px; height: 19px; }
.auth-main { display: grid; place-items: center; padding: 24px 16px 64px; min-height: calc(100dvh - 70px); }
.auth-card { width: 100%; max-width: 420px; display: grid; gap: 4px; padding: 28px; }
.auth-card h1 { font-family: var(--serif); font-weight: 400; font-size: 40px; letter-spacing: -.01em; line-height: 1; margin-bottom: 6px; }
.auth-card .btn.block { margin-top: 20px; }
.auth-card p.center { margin-top: 14px; font-size: 14px; }

/* ---------- landing ---------- */
.landing { position: relative; overflow-x: clip; }
.landing::before { content: ""; position: absolute; inset: -20% -10% auto; height: 900px; background: radial-gradient(50% 50% at 70% 30%, var(--glow), transparent 70%); pointer-events: none; }
.landing .pub-top { position: sticky; top: 0; z-index: 10; background: var(--glass); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); max-width: none; }
.landing .pub-top > * { position: relative; }
.l-wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; position: relative; }
.hero { display: grid; gap: 40px; align-items: center; padding: 40px 0 72px; }
@media (min-width: 960px) { .hero { grid-template-columns: 1.15fr .85fr; padding: 72px 0 96px; } }
.hero-text { display: grid; gap: 22px; justify-items: start; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(52px, 10vw, 104px); line-height: .95; letter-spacing: -.02em; }
.hero h1 em { font-style: italic; color: var(--accent-ink); }
.lead { font-size: clamp(17px, 2.2vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 540px; }
.trust { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13.5px; color: var(--muted); }
.trust a { color: var(--ink-2); }
.rise > * { animation: rise .8s var(--ease) both; }
.rise > *:nth-child(2) { animation-delay: 60ms; }
.rise > *:nth-child(3) { animation-delay: 120ms; }
.rise > *:nth-child(4) { animation-delay: 180ms; }
.rise > *:nth-child(5) { animation-delay: 240ms; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* phone with a live selection page */
.stage { position: relative; display: grid; place-items: center; padding: 10px 0 30px; }
.phone {
  position: relative; width: min(320px, 80vw); aspect-ratio: 9 / 19; border-radius: 46px; padding: 11px; background: #050505;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .14), 0 40px 90px rgba(0, 0, 0, .55), inset 0 0 0 2px #1a1a1a;
  animation: rise 1s var(--ease) .15s both;
}
.phone-screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: #0a0a0b; color: #f5f2ec; display: grid; align-content: start; gap: 10px; padding: 46px 14px 14px; }
.phone-screen::before { content: ""; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 92px; height: 26px; border-radius: 99px; background: #000; }
.m-cover { display: grid; gap: 4px; padding: 4px 4px 6px; }
.m-cover span { font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: #8f8a82; font-weight: 700; }
.m-cover b { font-family: var(--serif); font-weight: 400; font-size: 38px; line-height: 1; }
.m-cover i { font-family: var(--serif); font-size: 13px; color: #bbb6ae; }
.m-card { display: grid; gap: 4px; }
.m-card img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: 16px; }
.m-price { font-family: var(--serif); font-size: 22px; line-height: 1; }
.m-price small { font-family: var(--font); font-size: 10px; color: #8f8a82; margin-left: 2px; }
.m-meta { font-size: 10.5px; color: #8f8a82; }
.float {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 18px; font-size: 13px; line-height: 1.3;
  background: var(--glass-card); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  animation: rise .9s var(--ease) both;
}
.float b { display: block; font-weight: 650; }
.float span { color: var(--muted); font-size: 12px; }
.float .i { width: 22px; height: 22px; color: var(--accent-ink); }
.float.f1 { top: 47%; left: max(-6%, -28px); animation-delay: .7s; }
.float.f2 { bottom: 14%; right: max(-4%, -20px); animation-delay: 1s; }
.float.f2 .i { color: var(--wa); }
@media (max-width: 520px) { .float.f1 { left: 0; } .float.f2 { right: 0; } }

/* the paste moment */
.moment { display: grid; gap: 36px; padding: 72px 0; border-top: 1px solid var(--line-2); }
@media (min-width: 960px) { .moment { grid-template-columns: .9fr 1.1fr; align-items: center; padding: 110px 0; } }
.moment h2, .section-title { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 6vw, 64px); line-height: 1; letter-spacing: -.015em; }
.moment p { color: var(--ink-2); font-size: 17px; max-width: 480px; margin-top: 16px; }
.flow { display: grid; gap: 14px; padding: 22px; border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--inset); }
.bubble-in { justify-self: start; max-width: 88%; padding: 12px 15px; border-radius: 18px 18px 18px 6px; background: var(--card-2); font-size: 15px; line-height: 1.45; }
.bubble-in small { display: block; color: var(--muted); font-size: 11px; margin-top: 4px; }
.flow-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.flow-chips .chip { pointer-events: none; }
.flow-link { justify-self: end; display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 10px; border-radius: 18px 18px 6px 18px; background: var(--primary); color: var(--on-primary); max-width: 92%; }
.flow-link img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; }
.flow-link b { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.1; }
.flow-link span { font-size: 12px; opacity: .65; }
.flow .step { opacity: 1; transform: none; }
.flow.armed .step { opacity: 0; transform: translateY(10px) scale(.98); transition: opacity .5s var(--ease), transform .5s var(--spring); }
.flow.armed.in .step { opacity: 1; transform: none; }
.flow.armed.in .step:nth-child(2) { transition-delay: .5s; }
.flow.armed.in .step:nth-child(3) { transition-delay: 1.3s; }
.flow.armed.in .flow-chips .chip { animation: pop .4s var(--spring) both; }
.flow-chips .chip:nth-child(1) { animation-delay: .6s; } .flow-chips .chip:nth-child(2) { animation-delay: .7s; }
.flow-chips .chip:nth-child(3) { animation-delay: .8s; } .flow-chips .chip:nth-child(4) { animation-delay: .9s; }
.flow-chips .chip:nth-child(5) { animation-delay: 1s; } .flow-chips .chip:nth-child(6) { animation-delay: 1.1s; }
@keyframes pop { from { opacity: 0; transform: scale(.85); } }

/* bento */
.bento-wrap { padding: 72px 0; border-top: 1px solid var(--line-2); display: grid; gap: 32px; }
.bento { display: grid; gap: 14px; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(6, 1fr); } .tile.w3 { grid-column: span 3; } .tile.w2 { grid-column: span 2; } .tile.w4 { grid-column: span 4; } }
.tile { position: relative; display: grid; align-content: space-between; gap: 18px; min-height: 260px; padding: 24px; border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line-2); overflow: hidden; box-shadow: var(--inset); }
.tile h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; line-height: 1.05; letter-spacing: 0; }
.tile p { color: var(--ink-2); font-size: 15px; margin-top: 8px; max-width: 420px; }
.t-art { display: grid; place-items: center; }
.t-status { width: 120px; aspect-ratio: 9 / 16; border-radius: 16px; overflow: hidden; position: relative; box-shadow: var(--shadow); transform: rotate(-4deg); }
.t-status img { width: 100%; height: 100%; object-fit: cover; }
.t-status b { position: absolute; left: 10px; bottom: 30px; font-family: var(--serif); font-weight: 400; font-size: 20px; color: #f5f2ec; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); }
.t-status span { position: absolute; left: 10px; bottom: 12px; font-size: 9px; color: #e7c98f; }
.t-cal { width: 100%; max-width: 380px; }
.t-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; width: 100%; }
.t-week span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px; background: var(--card-2); font-weight: 650; font-size: 14px; color: var(--muted); }
.t-week span.has { color: var(--ink); background: var(--accent-soft); }
.t-week span.sel { background: var(--accent); color: var(--on-accent); }
.t-slots { display: flex; gap: 6px; justify-content: center; margin-top: 8px; }
.t-slots span { padding: 6px 12px; border-radius: 10px; background: var(--card-2); font-size: 13px; font-weight: 650; }
.t-slots span.on { background: var(--primary); color: var(--on-primary); }
.t-big { font-family: var(--serif); font-size: 112px; line-height: .85; color: var(--accent-ink); }
.t-big + span { color: var(--muted); font-size: 14px; }
.t-cmp { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; }
.t-cmp div { display: grid; gap: 6px; }
.t-cmp img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.t-cmp i { height: 7px; border-radius: 4px; background: var(--card-2); }
.t-cmp i:nth-child(3) { width: 70%; }
.t-langs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.t-langs span { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); font-weight: 650; }
.t-langs span.on { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.t-co { display: grid; gap: 8px; width: 100%; max-width: 320px; }
.t-co div { display: flex; justify-content: space-between; padding: 10px 12px; border-radius: 12px; background: var(--card-2); font-size: 13.5px; }
.t-co div b { color: var(--accent-ink); }

/* pricing */
.plans-wrap { padding: 72px 0 24px; border-top: 1px solid var(--line-2); display: grid; gap: 28px; }
.plans-title { font-family: var(--serif); font-weight: 400; font-size: clamp(38px, 6vw, 60px); line-height: 1; letter-spacing: -.015em; text-align: center; }
.plans { display: grid; gap: 14px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; } }
@media (max-width: 899px) { .plan.featured { order: -1; } }
.plan { position: relative; display: grid; gap: 16px; align-content: start; padding: 26px; border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line-2); box-shadow: var(--inset); }
.plan h3 { font-size: 15px; font-weight: 650; color: var(--ink-2); letter-spacing: 0; }
.plan.featured { border-color: var(--accent-ring); background: radial-gradient(120% 90% at 50% 0%, var(--glow), transparent 70%), var(--card); }
.plan-badge { justify-self: start; padding: 5px 11px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 700; }
.plan-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.plan-price b { font-family: var(--serif); font-weight: 400; font-size: 56px; line-height: .9; letter-spacing: -.02em; }
.plan-price span { color: var(--muted); font-size: 14px; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.plan li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.plan li .i { color: var(--accent-ink); margin-top: 2px; }
.plans-note { text-align: center; color: var(--muted); max-width: 620px; margin: 0 auto; }
.guarantee { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line-2); max-width: 720px; margin: 0 auto; width: 100%; }
.guarantee .feature-ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.guarantee h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: 0; }
.guarantee p { color: var(--ink-2); margin-top: 6px; }
.cta-band { padding: 96px 0 72px; text-align: center; display: grid; gap: 26px; justify-items: center; }
.cta-band h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 7vw, 76px); line-height: 1; letter-spacing: -.015em; max-width: 880px; }
.pub-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 28px 20px 44px; max-width: 1200px; margin: 0 auto; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line-2); }
.made { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 560; text-decoration: none; }
.made .logo-mark { width: 22px; height: 22px; }

/* ---------- public catalog ---------- */
.pub { max-width: 1200px; margin: 0 auto; padding: 0 0 24px; }
.owner-banner { display: flex; align-items: center; gap: 8px; margin: 12px 20px 0; padding: 11px 16px; border-radius: 14px; background: var(--accent-soft); color: var(--ink); font-size: 13.5px; text-decoration: none; }
.owner-banner span { flex: 1; }
.owner-banner b { color: var(--accent-ink); font-weight: 650; }
.demo-public { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 12px 20px 0; padding: 8px 8px 8px 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line-2); font-size: 14px; font-weight: 560; }

.cover { display: grid; gap: 22px; padding: 22px 20px 10px; }
@media (min-width: 760px) { .cover { grid-template-columns: 240px 1fr; gap: 40px; align-items: end; padding: 40px 20px 18px; } }
.cover-media { width: 132px; aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; background: var(--card-2); box-shadow: var(--shadow); }
@media (min-width: 760px) { .cover-media { width: 100%; } }
.cover-media img { width: 100%; height: 100%; object-fit: cover; }
.cover-media .mono { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--serif); font-size: 64px; color: var(--accent-ink); }
.cover-text { display: grid; gap: 14px; justify-items: start; }
.cover h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 10vw, 88px); line-height: .95; letter-spacing: -.02em; }
.cover-bio { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2.6vw, 24px); line-height: 1.3; color: var(--ink-2); max-width: 620px; }
.cover.compact { grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line-2); }
.cover.compact .cover-media { width: 44px; border-radius: 50%; aspect-ratio: 1; box-shadow: none; }
.cover.compact .cover-media .mono { font-size: 20px; }
.cover.compact .cover-text { gap: 0; }
.cover.compact h1 { font-family: var(--font); font-weight: 650; font-size: 16px; letter-spacing: -.01em; line-height: 1.2; }
.cover.compact .eyebrow { font-size: 10.5px; letter-spacing: .1em; }
.cover.compact .row .ghost { display: none; }
.sel-cover { display: grid; gap: 14px; padding: 34px 20px 20px; }
.sel-cover h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 13vw, 120px); line-height: .9; letter-spacing: -.02em; }
.sel-criteria { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2.6vw, 26px); color: var(--ink-2); line-height: 1.3; max-width: 760px; }
.sel-sign { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.sel-sign .avatar { width: 30px; height: 30px; }
.pub-toolbar {
  position: sticky; top: 0; z-index: 12; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 20px; background: var(--glass); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
}
.pub-toolbar .btn { position: relative; }
@media (max-width: 380px) { .pub-toolbar .lbl { display: none; } .pub-toolbar .btn.sm { padding: 0 11px; } }
.dot { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 12px; font-weight: 700; display: inline-grid; place-items: center; }
.result-line { padding: 14px 20px 10px; font-size: 12px; color: var(--muted); font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.grid { display: grid; gap: 34px 20px; padding: 0 20px; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }
.grid .card { display: block; padding: 0; border: 0; background: transparent; box-shadow: none; border-radius: 0; color: var(--ink); text-decoration: none; }
.card-img { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--card-2); }
@media (min-width: 640px) { .card-img { aspect-ratio: 4 / 4.4; } }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
@media (hover: hover) { .grid .card:hover .card-img img { transform: scale(1.035); } }
.grid .card:active .card-img { transform: scale(.99); }
.noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }
.noimg .i { width: 40px; height: 40px; }
.badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.badges.inline { position: static; }
.badge { font-size: 12px; font-weight: 650; padding: 5px 10px; border-radius: 999px; background: var(--badge-bg); color: var(--badge-ink); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.badges.inline .badge { background: var(--card-2); backdrop-filter: none; }
.badge.warn { color: var(--warn-ink); }
.card-img .badge.warn { background: rgba(243, 181, 98, .9); color: #2a1702; }
.pcount { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: var(--badge-bg); color: var(--badge-ink); backdrop-filter: blur(12px); font-size: 12px; font-weight: 650; }
.pcount .i { width: 13px; height: 13px; }
.cmp-btn {
  position: absolute; top: 12px; right: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px;
  border-radius: 999px; border: 0; background: var(--badge-bg); color: var(--badge-ink); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: 12px; font-weight: 650; cursor: pointer; transition: background var(--d1), transform var(--d1);
}
.cmp-btn:active { transform: scale(.94); }
.cmp-btn .i { width: 14px; height: 14px; }
.cmp-btn.on { background: var(--accent); color: var(--on-accent); }
.card-body { padding: 14px 2px 0; display: grid; gap: 3px; }
.card-price { font-family: var(--serif); font-size: 30px; line-height: 1.05; letter-spacing: -.01em; }
.card-sec, .card-fx { font-size: 13px; color: var(--muted); }
.card-title { font-weight: 560; color: var(--ink); margin-top: 4px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-meta { font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sk-card .card-img { background: linear-gradient(90deg, var(--sk-a), var(--sk-b), var(--sk-a)); background-size: 200% 100%; animation: sk 1.4s infinite; }
.sk-card b, .sk-lines b { display: block; height: 12px; border-radius: 6px; background: var(--sk-a); margin: 6px 0; }
.sk-card b:last-child, .sk-lines b:last-child { width: 60%; }
.sk-lines { flex: 1; max-width: 260px; }
.cover.skeleton { display: flex; align-items: center; gap: 16px; }
@keyframes sk { to { background-position: -200% 0; } }
.see-all { margin: 18px 20px 0; width: auto; }
.cmp-bar {
  position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; display: flex; gap: 8px;
  width: calc(100% - 32px); max-width: 420px; padding: 8px; border-radius: 999px; background: var(--glass-card);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); border: 1px solid var(--line); box-shadow: var(--shadow-lg);
  animation: toastIn var(--d3) var(--spring);
}

/* scroll reveal: progressive, content is visible where unsupported */
@supports (animation-timeline: view()) {
  .grid .card, .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 40%; }
  @keyframes reveal { from { opacity: .35; transform: translateY(28px); } }
}

/* ---------- property detail ---------- */
.modal.detail { max-width: 940px; padding: 0; position: relative; }
.overlay:has(.modal.detail) { padding: 0; }
@media (max-width: 759px) { .modal.detail { max-height: 100dvh; height: 100dvh; border-radius: 0; border: 0; } }
@media (min-width: 760px) { .overlay:has(.modal.detail) { padding: 24px; } }
.d-close { position: absolute; top: 14px; right: 14px; z-index: 6; background: var(--badge-bg); color: var(--badge-ink); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.gallery { position: relative; background: #000; }
.g-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 4 / 4.3; max-height: 72vh; }
@media (min-width: 760px) { .g-track { aspect-ratio: 16 / 10; } }
.g-track::-webkit-scrollbar { display: none; }
.g-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: center; scroll-snap-stop: always; }
.g-empty { flex: 0 0 100%; display: grid; place-items: center; color: #555; }
.g-empty .i { width: 48px; height: 48px; }
.g-bars { position: absolute; top: 12px; left: 14px; right: 64px; display: flex; gap: 4px; z-index: 4; }
.g-bars i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .35); overflow: hidden; }
.g-bars i.done, .g-bars i.on { background: rgba(255, 255, 255, .95); }
.g-zone { position: absolute; top: 0; bottom: 0; width: 30%; z-index: 3; border: 0; background: transparent; cursor: pointer; }
.g-zone.prev { left: 0; cursor: w-resize; }
.g-zone.next { right: 0; cursor: e-resize; }
.g-count { display: none; }
.g-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--badge-bg); color: var(--badge-ink); backdrop-filter: blur(12px); display: none; place-items: center; cursor: pointer; }
.g-nav.prev { left: 14px; }
.g-nav.next { right: 14px; }
@media (hover: hover) and (min-width: 760px) { .g-nav { display: grid; } }
.detail-body { padding: 22px 20px 12px; display: grid; gap: 14px; }
@media (min-width: 760px) { .detail-body { padding: 30px 36px 16px; } .detail-body > .prices, .detail-body > .commission, .detail-body > .stats { max-width: 520px; } }
.detail-loc { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; }
.detail-loc .i { width: 15px; height: 15px; }
.detail-title { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 6vw, 48px); line-height: 1.02; letter-spacing: -.015em; }
.prices { display: grid; gap: 8px; padding: 6px 0 4px; }
.price-line { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.price-line > span:first-child { color: var(--muted); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.price-line strong { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1; letter-spacing: -.01em; }
.price-line strong small { font-family: var(--font); font-size: 14px; color: var(--muted); margin-left: 3px; }
.price-line.sub { font-size: 14px; color: var(--ink-2); }
.price-fx { font-size: 12.5px; color: var(--muted); text-align: right; margin-top: -4px; }
.price-fx a { color: var(--muted); }
.commission { padding: 12px 14px; border-radius: 14px; background: var(--accent-soft); color: var(--ink); font-size: 14px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(80px, 1fr)); gap: 1px; background: var(--line-2); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line-2); }
.stats div { background: var(--card); padding: 14px 12px; display: grid; gap: 2px; }
.stats b { font-family: var(--serif); font-weight: 400; font-size: 32px; line-height: 1; font-variant-numeric: tabular-nums; }
.stats span { font-size: 12px; color: var(--muted); font-weight: 600; }
.factline { font-size: 14px; color: var(--ink-2); }
.factgrid { display: none; }
.detail-body h3 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 650; margin-top: 10px; }
.amen { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 14px; }
@media (min-width: 640px) { .amen { grid-template-columns: repeat(3, 1fr); } }
.amen span { display: flex; align-items: center; gap: 9px; font-size: 15px; }
.amen .i { width: 17px; height: 17px; color: var(--accent-ink); }
.desc { white-space: pre-line; color: var(--ink-2); font-size: 16.5px; line-height: 1.6; max-width: 66ch; }
.ref { font-size: 12.5px; color: var(--muted); padding-bottom: 8px; }
.detail-cta {
  position: sticky; bottom: 0; z-index: 5; display: flex; gap: 8px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: var(--glass-card); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-top: 1px solid var(--line-2);
}
.detail-cta .btn.ghost { flex: none; }
.detail-cta .btn.sq { width: 46px; padding: 0; }
.page-detail { margin: 16px 20px 0; background: var(--card); border-radius: var(--r-xl); overflow: hidden; border: 1px solid var(--line-2); }
.page-detail .g-track { max-height: 72vh; }
.filter-form .field:first-child { margin-top: 0; }

/* ---------- compare ---------- */
.modal.cmp-modal { max-width: 940px; }
.cmp-wrap { overflow-x: auto; margin: 0 -20px; padding: 0 20px; }
.cmp-table { border-collapse: separate; border-spacing: 0; width: 100%; min-width: calc(84px + var(--n, 2) * 128px); table-layout: fixed; font-size: 14px; }
.cmp-table th, .cmp-table td { padding: 10px 8px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.cmp-table tbody th { color: var(--muted); font-weight: 600; font-size: 12.5px; position: sticky; left: 0; background: var(--card); z-index: 1; }
.cmp-table thead th { border-bottom: 0; }
.cmp-table thead th:first-child { width: 84px; position: sticky; left: 0; background: var(--card); z-index: 1; }
.cmp-table td b { font-family: var(--serif); font-weight: 400; font-size: 20px; }
.cmp-head { display: grid; gap: 6px; padding: 0; border: 0; background: none; color: var(--ink); text-align: left; cursor: pointer; font-weight: 600; font-size: 13.5px; width: 100%; }
.cmp-head img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.cmp-head em { font-style: normal; font-size: 12.5px; color: var(--accent-ink); }
.cmp-table .yes { color: var(--accent-ink); }

/* ---------- calendar (booking + agenda) ---------- */
.bk-prop { display: flex; align-items: center; gap: 6px; margin: -6px 0 12px; }
.bk-prop .i { width: 15px; height: 15px; }
.cal { display: grid; gap: 10px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; }
.cal-head b { font-family: var(--serif); font-weight: 400; font-size: 24px; }
.cal-head .icon-btn:disabled { opacity: .25; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-wd { text-align: center; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; padding: 4px 0; }
.cal-day {
  position: relative; aspect-ratio: 1; max-height: 50px; border-radius: 50%; border: 0; background: transparent; color: var(--muted);
  font-weight: 560; font-size: 16px; cursor: pointer; display: grid; place-items: center; font-variant-numeric: tabular-nums;
  transition: background var(--d1), color var(--d1), transform var(--d1);
}
.cal-day:active { transform: scale(.92); }
.cal-day:disabled { opacity: .3; cursor: default; }
.cal-day:not(:disabled):not(.has) { color: var(--ink-2); }
.cal-day.has { color: var(--ink); font-weight: 650; }
.cal-day.has::after { content: ""; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }
@media (hover: hover) { .cal-day:not(:disabled):hover { background: var(--card-2); } }
.cal-day.today { color: var(--accent-ink); }
.cal-day.sel { background: var(--primary); color: var(--on-primary); }
.cal-day.sel::after { background: var(--on-primary); }
.cal-day i { position: absolute; top: 1px; right: 1px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 10.5px; font-style: normal; font-weight: 800; display: grid; place-items: center; }
.slot-head { margin-top: 18px; font-weight: 650; }
.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); gap: 8px; margin-top: 10px; }
.slot { min-height: 44px; border-radius: 12px; border: 1px solid var(--line); background: transparent; color: var(--ink); font-weight: 650; cursor: pointer; font-variant-numeric: tabular-nums; transition: all var(--d1); }
.slot:active { transform: scale(.96); }
@media (hover: hover) { .slot:hover { border-color: var(--ink-2); } }
.slot.on { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.bk-form { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-2); animation: rise .35s var(--ease) both; }
.bk-summary { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 12px 14px; border-radius: 14px; background: var(--accent-soft); }
.bk-summary .i { color: var(--accent-ink); }
.bk-summary span { color: var(--muted); font-size: 13px; margin-left: auto; }
.bk-form .btn.block { margin-top: 18px; }
.bk-done { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 12px 0 4px; animation: rise .4s var(--ease) both; }
.bk-done h3 { font-family: var(--serif); font-weight: 400; font-size: 34px; letter-spacing: 0; }
.bk-done .empty-art { background: var(--accent); color: var(--on-accent); border-radius: 50%; }
.bk-done .btn-col { width: 100%; }
.ag-setup { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.ag-sum { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; color: var(--ink-2); font-size: 14px; }
.ag-sum .pill .i { display: none; }
.ag-grid { display: grid; gap: 16px; }
@media (min-width: 900px) { .ag-grid { grid-template-columns: 380px 1fr; align-items: start; } .ag-grid > .card:first-child { position: sticky; top: 80px; } }
.ag-grid [data-role="list-title"] { font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: 0; }
.bk-list { display: grid; gap: 8px; }
.bk-date { font-size: 12px; color: var(--muted); margin: 12px 0 2px; letter-spacing: .1em; text-transform: uppercase; font-weight: 650; }
.bk-row { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 14px; background: var(--card-2); border: 1px solid transparent; }
.bk-row.new { border-color: var(--accent-ring); }
.bk-time { display: grid; text-align: center; }
.bk-time b { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1; font-variant-numeric: tabular-nums; }
.bk-time span { font-size: 11.5px; color: var(--muted); }
.bk-main { display: grid; gap: 2px; min-width: 0; }
.bk-main > * { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk-main .pill { font-size: 11px; color: var(--accent-ink); }
.bk-main .pill::before { background: var(--accent); }
.bk-acts { display: flex; gap: 2px; }
.bk-acts .icon-btn { width: 38px; height: 38px; }
.bk-past { margin-top: 16px; }
.bk-past summary { cursor: pointer; color: var(--muted); font-weight: 600; font-size: 14px; padding: 6px 0; }
.bk-past .bk-row { opacity: .65; }
.av-days { display: grid; gap: 4px; margin: 14px 0 4px; }
.av-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; flex-wrap: wrap; }
.av-row .switch { margin-top: 0; min-width: 130px; }
.av-row.pause { border-top: 1px solid var(--line-2); padding-top: 10px; margin-top: 6px; }
.av-times { display: flex; align-items: center; gap: 6px; }
.av-times span { color: var(--muted); }

/* Netlify's injected free-tier badge sits on top of the call-to-action buttons. */
#nl-badge-frame { display: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .flow.armed .step { opacity: 1; transform: none; }
}

/* ---------- agent panel, calm version: one obvious action per screen ---------- */
.home, .flow-step { max-width: 620px; margin: 0 auto; display: grid; gap: 14px; }
.home-hi { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 9vw, 54px); line-height: 1; letter-spacing: -.01em; margin: 6px 0 10px; }
.action-main {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 20px; border-radius: var(--r-xl);
  background: var(--primary); color: var(--on-primary); text-decoration: none; box-shadow: var(--shadow); transition: transform var(--d1), opacity var(--d1);
}
.action-main:active { transform: scale(.985); }
@media (hover: hover) { .action-main:hover { opacity: .94; } }
.am-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--on-primary); color: var(--primary); }
.am-ic .i { width: 24px; height: 24px; }
.am-text { display: grid; gap: 3px; min-width: 0; }
.am-text b { font-size: 19px; font-weight: 650; letter-spacing: -.015em; line-height: 1.2; }
.am-text span { font-size: 14px; opacity: .65; }
.action-main > .i { opacity: .5; }
.action-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.action-sub {
  display: grid; gap: 10px; align-content: start; padding: 16px; min-height: 96px; border-radius: var(--r-lg); background: var(--card);
  border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; font: inherit; font-weight: 600; text-align: left; cursor: pointer;
  transition: transform var(--d1), border-color var(--d1);
}
.action-sub:active { transform: scale(.98); }
@media (hover: hover) { .action-sub:hover { border-color: var(--line); } }
.action-sub .i { width: 22px; height: 22px; color: var(--accent-ink); }
.home-label { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); font-weight: 650; margin: 22px 0 0; }
.feed, .pr-links { display: grid; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--r-lg); overflow: hidden; }
.pr-links { margin-top: 16px; }
.feed-item {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; color: var(--ink); text-decoration: none;
  border: 0; background: transparent; font: inherit; text-align: left; cursor: pointer; width: 100%; transition: background var(--d1);
}
.feed-item + .feed-item { border-top: 1px solid var(--line-2); }
@media (hover: hover) { .feed-item:hover { background: var(--card-2); } }
.feed-item > .i { color: var(--muted); width: 16px; height: 16px; }
.fi-ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.fi-ic .i { width: 20px; height: 20px; }
.fi-text { display: grid; gap: 2px; min-width: 0; }
.fi-text b { font-weight: 620; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fi-text span { font-size: 13.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fi-new { font-style: normal; font-size: 11px; font-weight: 700; color: var(--on-accent); background: var(--accent); padding: 2px 7px; border-radius: 999px; margin-left: 4px; vertical-align: 2px; }
.feed-more { padding: 14px 16px; border-top: 1px solid var(--line-2); color: var(--accent-ink); font-weight: 600; text-decoration: none; font-size: 14px; }
.feed-empty { padding: 20px; color: var(--muted); font-size: 14.5px; line-height: 1.5; }
.home .nudge { margin-top: 2px; }

.row-intro { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.prow { grid-template-columns: 76px 1fr auto; }
.prow-meta .pill { font-size: 12.5px; }

/* the center "send" tab is the one thing to do; on desktop it is the pill in the top bar */
.tab.send { color: var(--ink); }
.send-dot { width: 46px; height: 46px; margin-top: -18px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); box-shadow: var(--shadow); transition: transform var(--d2) var(--spring); }
.tab.send .send-dot .i { color: var(--on-primary); width: 21px; height: 21px; transform: none; }
.tab.send:active .send-dot { transform: scale(.92); }
.top-send { display: none; }
@media (min-width: 900px) { .top-send { display: inline-flex; } }

.demo-bar { padding: 8px 16px; font-size: 13px; gap: 10px; flex-wrap: nowrap; }
.demo-bar > span { color: var(--ink-2); }

/* send flow */
.step-top { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; }
.step-n { text-align: center; font-size: 12px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.step-title { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 8vw, 50px); line-height: 1.02; letter-spacing: -.01em; margin-top: 8px; }
.step-sub { color: var(--ink-2); font-size: 16px; margin-top: -4px; }
.paste-box { position: relative; }
.paste-box textarea { min-height: 190px; font-size: 17px; line-height: 1.5; padding: 16px 16px 56px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.paste-box .btn { position: absolute; right: 10px; bottom: 10px; }
.flow-step .btn.block + .btn.block { margin-top: -4px; }
.crit-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.crit { font-family: var(--serif); font-style: italic; font-size: 19px; line-height: 1.3; color: var(--ink-2); }
.for-field { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; padding: 4px 4px 4px 16px; border-radius: 14px; background: var(--card-2); }
.for-field span { font-weight: 650; color: var(--muted); }
.for-field .input { background: transparent; border: 0; box-shadow: none; padding-left: 0; }
.more-opts summary, .ed-more summary { cursor: pointer; font-weight: 600; color: var(--ink-2); list-style: none; display: flex; align-items: center; justify-content: space-between; }
.more-opts summary::-webkit-details-marker, .ed-more summary::-webkit-details-marker { display: none; }
.more-opts summary::after, .ed-more summary::after { content: "+"; font-size: 20px; color: var(--muted); }
.more-opts[open] summary::after, .ed-more[open] summary::after { content: "−"; }
.more-opts { padding: 14px 4px; border-top: 1px solid var(--line-2); }
.flow-step .picklist { max-height: none; overflow: visible; }

/* editor: numbered steps, extras folded */
.ed-status { display: flex; justify-content: center; }
.ed-status .chips { justify-content: center; }
.ed-n { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--card-2); color: var(--ink); font-size: 12px; letter-spacing: 0; margin-right: 8px; }
.ed-more summary { font-size: 15px; }
.ed-more[open] summary { margin-bottom: 4px; }

/* the top "send" pill would repeat the main action on Home and inside the send flow */
.shell[data-tab="home"] .top-send, .shell[data-tab="share"] .top-send { display: none !important; }

/* ---------- beta: alerts, help, legal ---------- */
.nudge.al { padding: 10px 10px 10px 16px; }
.nudge.al .icon-btn { width: 36px; height: 36px; flex: none; }
.al-row { cursor: default; }
.al-row .fi-text span { white-space: normal; }
.al-row .switch { margin-top: 0; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.steps-list { padding-left: 22px; display: grid; gap: 10px; line-height: 1.45; margin: 4px 0 8px; }
.legal { max-width: 720px; margin: 0 auto; padding: 28px 20px 80px; line-height: 1.6; }
.legal h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 8vw, 56px); line-height: 1; margin: 18px 0 8px; }
.legal h2 { font-size: 18px; margin: 28px 0 6px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 20px; }
.legal .langs-nav { display: flex; gap: 8px; margin: 14px 0 6px; }
.legal section + section { margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line-2); }

/* ---------- landing: explainer video ---------- */
.explainer { display: grid; justify-items: center; gap: 18px; padding: 56px 20px 8px; }
.explainer h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 6vw, 48px); line-height: 1; letter-spacing: -.01em; text-align: center; }
.ex-frame { position: relative; width: min(100%, 360px); aspect-ratio: 9 / 16; border-radius: 28px; overflow: hidden; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.ex-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.ex-sound {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px;
  min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--badge-bg); color: var(--badge-ink);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); font: inherit; font-size: 14px; font-weight: 620; cursor: pointer; white-space: nowrap;
}
.ex-sound .i { width: 18px; height: 18px; }
.ex-frame video[controls] + .ex-sound { display: none; }

/* ---------- listing location ---------- */
.loc-row { display: flex; gap: 8px; }
.loc-row .input { flex: 1; min-width: 0; }
.loc-ok { display: grid; gap: 10px; }
.loc-line { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.loc-line > span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.loc-line .i { color: var(--accent-ink); flex: none; }
.loc-ok .switch { margin-top: 2px; }
.minimap { position: relative; display: block; height: 180px; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--card-2); }
.mm-tiles { position: absolute; left: 50%; top: 50%; width: 640px; height: 320px; transform: translate(-50%, -50%); }
.mm-tiles img { position: absolute; width: 256px; height: 256px; max-width: none; }
[data-theme="dark"] .mm-tiles { filter: invert(.92) hue-rotate(180deg) saturate(.6) brightness(.95); }
.mm-pin { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -88%); color: var(--accent); filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .45)); }
.mm-pin .i { width: 34px; height: 34px; fill: var(--accent); stroke: var(--on-accent); stroke-width: 1.4; }
.mm-attr { position: absolute; right: 6px; bottom: 4px; font-size: 10px; color: var(--muted); background: var(--badge-bg); padding: 1px 6px; border-radius: 6px; }
.detail-body .minimap { margin-top: 6px; }
.loc-dir { margin-top: 10px; }
/* small phones: visit actions get their own row so 4 icons never push the page sideways */
@media (max-width: 420px) {
  .bk-row { grid-template-columns: 56px 1fr; }
  .bk-acts { grid-column: 1 / -1; justify-content: flex-end; margin-top: -4px; }
}

/* ---------- landing v3: video in the hero, booking moment, travel tile, trust row ---------- */
.stage .ex-frame { width: min(100%, 340px); }
@media (min-width: 960px) { .moment.rev > div:first-child { order: 2; } }
.flow-cover { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 18px; background: var(--card-2); }
.flow-cover img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.flow-cover span { display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 650; }
.flow-cover b { display: block; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.05; }
.flow .t-cal { max-width: none; }
.t-slots span.off { opacity: .35; text-decoration: line-through; }
.flow-link > .i { width: 26px; height: 26px; flex: none; }
.t-route { display: flex; align-items: center; gap: 10px; width: 100%; max-width: 360px; }
.t-route .pin { color: var(--accent-ink); }
.t-route .pin .i { width: 30px; height: 30px; }
.t-route i { flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 14px); }
.t-route b { font-family: var(--serif); font-weight: 400; font-size: 34px; color: var(--ink); white-space: nowrap; }
@media (min-width: 900px) { .plans:has(> .plan:nth-child(2):last-child) { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; } }
.trust-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; color: var(--ink-2); font-size: 15px; font-weight: 560; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; }
.trust-row .i { color: var(--accent-ink); }

/* ---------- landing v4: bigger hero video, WhatsApp-style moment, real feature mockups ---------- */
@media (min-width: 960px) { .hero { grid-template-columns: 1fr 1fr; } }
.stage .ex-frame { width: min(100%, 470px); border: 0; background: transparent; box-shadow: none; border-radius: 22px; }
@media (max-width: 959px) { .stage { margin: 0 -20px; padding: 0; } .stage .ex-frame { width: 100%; max-width: 560px; border-radius: 0; } }

.wa-mock { padding: 0; gap: 0; overflow: hidden; --wa-bg: #0b141a; --wa-in: #202c33; --wa-out: #005c4b; --wa-ink: #e9edef; --wa-sub: #8696a0; --wa-head: #1f2c34; }
:root[data-theme="light"] .wa-mock { --wa-bg: #efeae2; --wa-in: #ffffff; --wa-out: #d9fdd3; --wa-ink: #111b21; --wa-sub: #667781; --wa-head: #f0f2f5; }
.wa-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--wa-head); color: var(--wa-ink); }
.wa-head img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.wa-head b { display: block; font-size: 15px; }
.wa-head span { font-size: 12px; color: var(--wa-sub); }
.wa-body {
  display: grid; gap: 10px; padding: 16px 14px 18px; color: var(--wa-ink); font-size: 14.5px; line-height: 1.4;
  background-color: var(--wa-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' fill='none' stroke='%23ffffff' stroke-opacity='.045' stroke-width='1.4'%3E%3Cpath d='M14 30l10-8 10 8v12H14z'/%3E%3Ccircle cx='86' cy='22' r='7'/%3E%3Cpath d='M70 84h22M81 73v22'/%3E%3Cpath d='M18 92c6-8 14-8 20 0'/%3E%3Crect x='92' y='64' width='14' height='10' rx='3'/%3E%3C/svg%3E");
}
:root[data-theme="light"] .wa-body { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' fill='none' stroke='%23000000' stroke-opacity='.05' stroke-width='1.4'%3E%3Cpath d='M14 30l10-8 10 8v12H14z'/%3E%3Ccircle cx='86' cy='22' r='7'/%3E%3Cpath d='M70 84h22M81 73v22'/%3E%3Cpath d='M18 92c6-8 14-8 20 0'/%3E%3Crect x='92' y='64' width='14' height='10' rx='3'/%3E%3C/svg%3E"); }
.wa-in, .wa-out { position: relative; max-width: 86%; padding: 7px 10px 18px; border-radius: 10px; box-shadow: 0 1px .5px rgba(0, 0, 0, .25); }
.wa-in { justify-self: start; background: var(--wa-in); border-top-left-radius: 2px; }
.wa-out { justify-self: end; background: var(--wa-out); border-top-right-radius: 2px; }
.wa-in small, .wa-out small { position: absolute; right: 9px; bottom: 4px; font-size: 10.5px; color: var(--wa-sub); }
.wa-out small em { font-style: normal; color: #53bdeb; letter-spacing: -2px; margin-left: 2px; }
.wa-magic { justify-self: center; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--accent-ring); max-width: 96%; }
.wa-magic .logo-mark { width: 26px; height: 26px; flex: none; }
.wa-magic .chip { font-size: 12px; padding: 4px 9px; min-height: 0; }
.wa-card { display: flex; gap: 10px; align-items: center; padding: 6px; margin: 0 -4px 6px; border-radius: 8px; background: rgba(0, 0, 0, .18); }
:root[data-theme="light"] .wa-card { background: rgba(0, 0, 0, .05); }
.wa-card > img { width: 64px; height: 64px; border-radius: 6px; object-fit: cover; flex: none; }
.wa-card b { display: block; font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.1; }
.wa-card span { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--wa-sub); margin-top: 2px; }
.wa-card span img { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; }
.wa-card i { display: block; font-style: normal; font-size: 11.5px; color: var(--wa-sub); margin-top: 2px; }

.tile.w6 { min-height: 0; }
@media (min-width: 720px) { .tile.w6 { grid-column: span 6; grid-template-columns: auto 1fr; align-items: center; } }

.t-page { width: 100%; max-width: 360px; display: grid; gap: 10px; padding: 12px; border-radius: 18px; background: var(--bg); border: 1px solid var(--line-2); }
.tp-cover { display: flex; align-items: center; gap: 10px; }
.tp-cover img { width: 44px; height: 52px; border-radius: 12px; object-fit: cover; }
.tp-cover b { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1; }
.tp-cover span { font-size: 11.5px; color: var(--muted); }
.tp-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.tp-chips span { font-size: 11.5px; font-weight: 650; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.tp-chips span.on { background: var(--primary); color: var(--on-primary); border-color: var(--primary); }
.tp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tp-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
.tp-grid b { display: block; font-family: var(--serif); font-weight: 400; font-size: 17px; margin-top: 4px; }
.tp-grid span { font-size: 11px; color: var(--muted); }

.t-compare { width: 100%; max-width: 380px; display: grid; grid-template-columns: 64px repeat(3, 1fr); gap: 7px 8px; align-items: center; font-size: 13px; }
.t-compare img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; }
.t-compare > span { color: var(--muted); font-size: 12px; font-weight: 600; }
.t-compare > b { text-align: center; padding: 6px 4px; border-radius: 8px; background: var(--card-2); font-weight: 650; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t-compare > b.yes { color: var(--accent-ink); }
.t-compare > b.no { color: var(--muted); }

.t-colleague { width: 100%; max-width: 380px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.t-colleague > div { display: grid; gap: 5px; padding: 10px; border-radius: 14px; background: var(--card-2); border: 1px solid transparent; }
.t-colleague > div.on { border-color: var(--accent-ring); }
.t-colleague small { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.t-colleague img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 9px; }
.t-colleague b { font-family: var(--serif); font-weight: 400; font-size: 17px; }
.t-colleague span { font-size: 12px; color: var(--ink-2); }
.t-colleague span.hid { color: var(--muted); }
.t-colleague em { font-style: normal; font-weight: 700; color: var(--accent-ink); }

.t-story { position: relative; width: 168px; aspect-ratio: 9 / 16; border-radius: 18px; overflow: hidden; background: #0a0a0b; box-shadow: var(--shadow-lg); transform: rotate(-3deg); color: #f5f2ec; }
.t-story > img { width: 100%; height: 58%; object-fit: cover; display: block; }
.ts-body { display: grid; gap: 4px; padding: 10px 12px; }
.ts-body b { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1; }
.ts-body > span { font-size: 10.5px; color: #bbb6ae; }
.ts-agent { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 10.5px; }
.ts-agent img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.ts-body i { font-style: normal; font-size: 9.5px; color: #e7c98f; }

/* ---------- plans in the app ---------- */
.pro-pill { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-size: 10.5px; font-weight: 750; letter-spacing: .02em; vertical-align: 2px; }
.switch.locked { opacity: .7; cursor: default; }
.plan-now { display: grid; gap: 10px; }
.plan-now h2 { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1; }
.plan-now .pill { justify-self: start; }
.plan-pro { margin-top: 16px; max-width: 620px; }
.usage { display: grid; gap: 6px; }
.usage > div { display: flex; justify-content: space-between; font-size: 14px; color: var(--ink-2); }
.usage i { display: block; height: 8px; border-radius: 99px; background: var(--card-2); overflow: hidden; }
.usage em { display: block; height: 100%; border-radius: 99px; background: var(--accent); }
.ag-setup a.hint { display: block; margin-top: 6px; color: var(--muted); text-decoration: none; }

/* explainer cuts: desktop 4:5 beside the headline, mobile 9:16 edge to edge */
.ex-frame.cut-desktop { aspect-ratio: 4 / 5; width: min(100%, 560px); }
.ex-frame.cut-mobile { aspect-ratio: 9 / 16; }
@media (min-width: 960px) { .hero { grid-template-columns: .95fr 1.05fr; } }
.ex-frame.cut-mobile .ex-sound span { display: none; }
.ex-frame.cut-mobile { aspect-ratio: 1080 / 1820; }

/* ---------- demo chooser, "are you an agent?" card ---------- */
.demo-opts { margin-top: 4px; }
.demo-public { gap: 8px; flex-wrap: wrap; }
.agent-cta { display: flex; align-items: center; gap: 14px; margin: 28px 16px 0; padding: 16px 18px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--accent-ring); color: var(--ink); text-decoration: none; }
.agent-cta .logo-mark { width: 34px; height: 34px; flex: none; }
.agent-cta .ac-text { flex: 1; display: grid; gap: 2px; }
.agent-cta b { font-weight: 650; }
.agent-cta .ac-text span { font-size: 14px; color: var(--ink-2); }
.agent-cta > .i { color: var(--muted); }
@media (min-width: 760px) { .agent-cta { max-width: 620px; margin: 36px auto 0; } }

/* ---------- invites ---------- */
.invite-card { display: grid; gap: 12px; margin-top: 16px; max-width: 620px; }
.invite-card h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1; }
.inv-link { display: flex; gap: 8px; }
.inv-link .input { flex: 1; min-width: 0; font-size: 14px; }
.inv-stats b { font-size: 28px; }
.invite-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--accent-soft); color: var(--ink); font-size: 14px; font-weight: 600; }
.invite-pill .i { color: var(--accent-ink); width: 16px; height: 16px; }

/* ---------- tours ---------- */
.tour-layer { position: fixed; inset: 0; z-index: 200; }
.tour-spot { position: fixed; border-radius: 16px; box-shadow: 0 0 0 9999px rgba(0, 0, 0, .62); outline: 2px solid var(--accent); transition: left .25s var(--ease), top .25s var(--ease), width .25s var(--ease), height .25s var(--ease); pointer-events: none; }
.tour-tip { position: fixed; display: grid; gap: 6px; padding: 16px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--accent-ring); box-shadow: var(--shadow-lg); color: var(--ink); transition: left .25s var(--ease), top .25s var(--ease); }
.tour-tip b { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.05; }
.tour-tip p { color: var(--ink-2); font-size: 14.5px; line-height: 1.45; }
.tour-foot { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.tour-n { flex: 1; font-size: 12px; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .tour-spot, .tour-tip { transition: none; } }
.cmp-acts { display: grid; gap: 6px; }
.cmp-acts .btn { width: 100%; padding: 0 8px; }

/* ---------- explainer: pulsing play, small mute toggle ---------- */
.ex-frame.cut-desktop { margin: 0 auto; }
.ex-play { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 12px; border: 0; background: radial-gradient(circle at 50% 50%, rgba(10,10,11,.15), rgba(10,10,11,.35)); color: var(--on-primary); cursor: pointer; font: inherit; }
.ex-play-btn { position: relative; width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); box-shadow: 0 10px 40px rgba(0,0,0,.45); transition: transform var(--d1); }
.ex-play-btn .i { width: 34px; height: 34px; margin-left: 5px; color: var(--on-primary); }
.ex-play-btn i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--primary); animation: exPulse 1.8s var(--ease) infinite; }
.ex-play:hover .ex-play-btn { transform: scale(1.06); }
.ex-play-lbl { padding: 6px 14px; border-radius: 999px; background: var(--badge-bg); color: var(--badge-ink); font-weight: 650; font-size: 14px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
@keyframes exPulse { 0% { transform: scale(1); opacity: .75; } 100% { transform: scale(1.7); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .ex-play-btn i { animation: none; opacity: 0; } }
.ex-frame .ex-sound { left: auto; right: 12px; top: 12px; bottom: auto; transform: none; width: 42px; padding: 0; justify-content: center; }
.ex-frame .ex-sound[hidden] { display: none; }

/* ---------- 2026-10-17: explainer mute toggle, tour while scrolling, mobile hero strip, agent page map ---------- */
.ex-frame .ex-sound { left: auto; right: 12px; top: 12px; bottom: auto; width: 40px; height: 40px; min-height: 0; padding: 0; justify-content: center; border-radius: 50%; opacity: .8; transition: opacity var(--d1); }
.ex-frame .ex-sound:hover, .ex-frame .ex-sound:focus-visible { opacity: 1; }
.tour-layer.scrolling .tour-spot, .tour-layer.scrolling .tour-tip { transition: none; }
/* mobile hero: a short WhatsApp conversation with numbered tags saying what happens (desktop has the video instead) */
.hero-chat { display: none; }
@media (max-width: 639px) {
  .hero-chat { display: grid; width: 100%; border-radius: 20px; border: 1px solid var(--line-2); box-shadow: var(--shadow-lg); }
  .hero-chat .wa-head { padding: 8px 12px; }
  .hero-chat .wa-head img { width: 30px; height: 30px; }
  .hero-chat .wa-head b { font-size: 14px; }
  .hero-chat .wa-body { gap: 16px; padding: 18px 12px 12px; }
  .hero-chat .wa-in, .hero-chat .wa-out { font-size: 13.5px; line-height: 1.35; }
  .hero-chat .wa-in { max-width: 88%; }
  .hero-chat .wa-out { max-width: 84%; }
  .hero-chat .wa-card > img { width: 46px; height: 46px; }
  .hero-chat .wa-card b { font-size: 18px; }
  .hero-chat .wa-magic { padding: 8px 10px; gap: 8px; }
  .hero-chat .wa-magic .logo-mark { width: 22px; height: 22px; }
  .hero-chat .wa-magic .chip { font-size: 11.5px; padding: 3px 8px; }
}
.hc-step { position: relative; display: grid; }
.hc-step.c { justify-items: center; }
.hc-step.c .wa-magic { max-width: 100%; }
.hc-step.e { justify-items: end; }
.hc-tag { position: absolute; top: -11px; z-index: 1; padding: 3px 9px; border-radius: 999px; background: var(--accent); color: var(--on-accent);
  font-size: 11px; font-weight: 750; letter-spacing: .01em; white-space: nowrap; box-shadow: 0 3px 10px rgba(0, 0, 0, .35); }
.hc-tag.r { right: 4px; }
.hc-tag.l { left: 4px; }
.hc-step.e .hc-tag { left: auto; right: 6px; }
.hc-booked { justify-self: center; display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--accent-ring); color: var(--ink); font-size: 12.5px; }
.hc-booked .i { width: 16px; height: 16px; color: var(--accent-ink); }
.hc-booked b { font-weight: 700; }
.pub-map { display: grid; gap: 6px; margin: 34px 0 8px; }
.pub-map h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.05; }
.pub-map p { color: var(--muted); font-size: 14px; margin-bottom: 8px; }
.bigmap { position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--card-2); }
.bigmap .mm-tiles { left: 0; top: 0; transform: none; }
.mm-tag { position: absolute; transform: translate(-50%, -100%); display: inline-flex; align-items: center; gap: 4px; padding: 5px 10px; border-radius: 999px;
  background: var(--primary); color: var(--on-primary); font-size: 13px; font-weight: 700; white-space: nowrap; text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .4); transition: transform var(--d1); font-variant-numeric: tabular-nums; }
.mm-tag::after { content: ""; position: absolute; left: 50%; bottom: -5px; width: 10px; height: 10px; background: inherit; transform: translateX(-50%) rotate(45deg); border-radius: 2px; z-index: -1; }
.mm-tag .i { width: 16px; height: 16px; }
.mm-tag:hover, .mm-tag:focus-visible { transform: translate(-50%, -100%) scale(1.08); z-index: 2; }
.mm-dot { position: absolute; width: 18px; height: 18px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--primary); border: 3px solid var(--accent); box-shadow: 0 2px 8px rgba(0, 0, 0, .45); }
.mm-dot::before { content: ""; position: absolute; inset: -12px; }
.mm-dot:hover, .mm-dot:focus-visible { transform: translate(-50%, -50%) scale(1.2); z-index: 2; }
.you-act { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 14px; background: var(--card); border: 1px solid var(--accent-ring); font-size: 12.5px; color: var(--ink-2); max-width: 100%; }
.you-act .logo-mark { width: 24px; height: 24px; flex: none; }
.you-act b { color: var(--ink); }
.you-act .ok { margin-left: auto; color: var(--accent-ink); font-weight: 700; white-space: nowrap; }
/* longer two-part headline (2026-10-17): pain line, then the gold payoff on its own line */
.hero h1 { font-size: clamp(46px, 9vw, 88px); line-height: .98; }
.hero h1 em { display: block; margin-top: .12em; }

/* ---------- WhatsApp page (agent) ---------- */
.wa-reminder { display: grid; gap: 10px; }
.wa-reminder h2, .wa-log h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.1; }
.wa-tpl { display: flex; align-items: center; gap: 10px; color: var(--ink-2); font-size: 14px; }
.wa-log { display: grid; gap: 10px; margin: 8px 0; }
.wa-item { display: grid; gap: 6px; padding: 14px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line-2); }
.wa-meta { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; color: var(--muted); }
.wa-meta b { color: var(--ink); font-weight: 650; font-variant-numeric: tabular-nums; }
.wa-q { color: var(--ink); font-size: 15px; line-height: 1.4; }
.wa-a { display: flex; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--accent-soft); color: var(--ink-2); font-size: 14px; line-height: 1.4; white-space: pre-line; overflow-wrap: anywhere; }
.wa-a .i { flex: none; width: 18px; height: 18px; color: var(--accent-ink); }
.wa-quiet { font-size: 13px; color: var(--muted); }

/* ---------- owner stats (/admin) ---------- */
.admin { max-width: 980px; margin: 0 auto; padding: 32px 20px 64px; display: grid; gap: 18px; }
.admin h1 { font-family: var(--serif); font-weight: 400; font-size: 40px; }
.admin h2 { font-family: var(--serif); font-weight: 400; font-size: 26px; margin-top: 10px; }
.adm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.adm-tile { display: grid; gap: 2px; padding: 14px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line-2); }
.adm-tile b { font-family: var(--serif); font-weight: 400; font-size: 34px; line-height: 1; font-variant-numeric: tabular-nums; }
.adm-tile span { color: var(--ink-2); font-size: 14px; }
.adm-tile small { color: var(--muted); font-size: 12px; }
.adm-table { overflow-x: auto; }
.adm-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.adm-table th, .adm-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.adm-table td small { display: block; color: var(--muted); font-size: 12px; }
.adm-table a { color: var(--ink); }
.adm-err { display: grid; gap: 6px; font-size: 13px; color: var(--ink-2); list-style: none; padding: 0; }
.adm-err code { color: var(--accent-ink); }
