/* Veron Living member area. Shared styles for /signin, /signup, /account,
   /profile, /list-property.

   Colours key off the shared light tokens defined in site.css
   (loaded alongside this file), so the member area stays in lockstep with
   the rest of the site — change a colour once, there.

   Two visual modes coexist here:
   - m-nav / m-main / m-card: the small centered card, used ONLY by the
     signup + signin pages (fresh-visitor flows).
   - m-shell / m-side / m-content: the app-like sidebar layout used by
     the signed-in member area (account, profile, list-property). */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
  background: var(--page-bg);
  -webkit-font-smoothing: antialiased;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: 0; padding: 0; color: inherit; font: inherit; -webkit-appearance: none; appearance: none; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Force hidden attribute to win over display: grid / flex layout rules. */
[hidden] { display: none !important; }

/* ============================================================
   MODE A: standalone auth pages (signin / signup / setpassword)
   Small centered card on a soft, light haze background.
   ============================================================ */
body.mode-auth {
  background:
    radial-gradient(ellipse 100% 60% at 50% 0%, var(--haze) 0%, transparent 62%),
    var(--page-bg);
}
.m-nav {
  padding: clamp(20px, 3vw, 32px) clamp(20px, 5vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.m-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 400;
  font-size: clamp(19px, 2vw, 22px);
  letter-spacing: -0.01em;
  color: var(--ink);
}
.m-brand .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  transform: translateY(-2px);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.m-brand em { font-style: italic; }
.m-nav-link {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  transition: color .2s ease;
  font-weight: 500;
}
.m-nav-link:hover { color: var(--ink); }

.m-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 4vw, 40px);
}
.m-card {
  width: 100%;
  max-width: 460px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 12px;
  padding: clamp(28px, 5vw, 48px);
  box-shadow: 0 40px 100px -50px rgba(18, 36, 59, 0.28);
}
.m-title {
  font-family: 'EB Garamond', 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(32px, 4.5vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin: 0 0 12px;
}
.m-lead {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0 0 clamp(24px, 3vw, 32px);
  max-width: 60ch;
}

.m-foot {
  padding: 28px clamp(20px, 5vw, 48px);
  text-align: center;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
  /* This is a <footer>, so opt out of the marketing blue footer band
     that site.css paints on the element selector. */
  background: transparent;
}

/* ============================================================
   MODE B: app-like sidebar layout (member area)
   Sidebar left on desktop, top bar on mobile.
   ============================================================ */
.m-shell {
  --side-w: 260px;
  flex: 1;
  display: grid;
  grid-template-columns: var(--side-w) minmax(0, 1fr);
  min-height: 100dvh;
  background:
    radial-gradient(ellipse 60% 50% at 100% 0%, var(--haze) 0%, transparent 62%),
    var(--page-bg);
}
@media (min-width: 901px) {
  .m-shell.side-collapsed { --side-w: 78px; }
}
@media (max-width: 900px) {
  .m-shell { grid-template-columns: 1fr; }
}

/* ---- sidebar ---- */
.m-side {
  background: var(--surface);
  border-right: 1px solid var(--hairline);
  padding: clamp(20px, 2vw, 28px) 0;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 3vw, 32px);
  position: sticky; top: 0;
  height: 100dvh;
  overflow: hidden;
}
.m-side-brand {
  padding: 4px 26px 8px;
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.m-side-brand .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent);
  display: inline-block;
  transform: translateY(-2px);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 22%, transparent);
}
.m-side-brand em { font-style: italic; }
.m-side-eyebrow {
  display: none;
  padding: 0 26px;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
  margin: 0 0 8px;
}
.m-side-nav {
  display: flex; flex-direction: column;
  padding: 0 14px;
  gap: 2px;
  /* Only the nav list takes any overflow, so the brand and the user/sign-out
     stay pinned. On tall windows nothing scrolls; on short ones the scrollbar
     is hidden but the list can still scroll. */
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  scrollbar-width: none;
}
.m-side-nav::-webkit-scrollbar { display: none; }
.m-side-link {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  transition: background-color .18s ease, color .18s ease;
}
.m-side-link:hover {
  background: color-mix(in srgb, var(--accent) 7%, transparent);
  color: var(--ink);
}
.m-side-link.active {
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
}
.m-side-link svg {
  flex-shrink: 0;
  color: var(--ink-mute);
}
.m-side-link.active svg { color: var(--accent); }
.m-side-badge {
  margin-left: auto;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 20px;
  text-align: center;
}
.m-side-badge[hidden] { display: none; }
.m-side-spacer { flex: 0 0 0; }
.m-side-foot {
  padding: 0 14px;
  display: flex; flex-direction: column; gap: 6px;
}
.m-side-user {
  padding: 12px 14px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent) 5%, transparent);
  display: flex; align-items: center; gap: 12px;
  font-size: 13px;
}
.m-side-user .avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--haze);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 15px;
  overflow: hidden;
  flex-shrink: 0;
}
.m-side-user .avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.m-side-user .who {
  flex: 1;
  min-width: 0;
  color: var(--ink);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.m-side-signout {
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--ink-mute);
  font-size: 13px;
  text-align: left;
  transition: color .18s ease, background-color .18s ease;
}
.m-side-signout:hover {
  color: var(--ink);
  background: color-mix(in srgb, var(--accent) 6%, transparent);
}

/* ---- mobile top bar (injected by member.js) + off-canvas drawer ---- */
.m-topbar { display: none; }
.m-topbar-brand { padding: 0; font-size: 19px; flex: 0 0 auto; }
.m-nav-toggle { display: none; }
.m-backdrop { display: none; }

/* Back-to-website link: the first item inside the nav, so it shows in both
   the desktop sidebar and the mobile drawer. Muted, set apart from the
   section links. */
.m-back-site {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 14px;
  margin-bottom: 6px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-mute);
  transition: color .18s ease, background-color .18s ease;
}
.m-back-site:hover { color: var(--ink); background: color-mix(in srgb, var(--accent) 6%, transparent); }
.m-back-site svg { flex-shrink: 0; color: var(--ink-mute); }

@media (min-width: 901px) {
  .side-collapsed .m-back-site { justify-content: center; padding: 8px; gap: 0; }
  .side-collapsed .m-back-site > span { display: none; }
}

/* ---- mobile: slim sticky top bar + off-canvas drawer (≤900px) ---- */
@media (max-width: 900px) {
  /* Plain block flow (not grid) so a short page can't stretch a phantom
     sidebar row and leave white space above the content. */
  .m-shell { display: block; }

  .m-topbar {
    display: flex; align-items: center; justify-content: space-between;
    position: sticky; top: 0; z-index: 50;
    height: 56px; padding: 0 16px;
    background: var(--surface);
    border-bottom: 1px solid var(--hairline);
  }
  .m-nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; margin-right: -8px;
    border-radius: 8px;
    color: var(--ink);
  }
  .m-nav-toggle:hover { background: color-mix(in srgb, var(--accent) 8%, transparent); }

  /* The sidebar becomes an off-canvas drawer, keeping its full vertical nav,
     user card and sign-out. */
  .m-side {
    position: fixed; top: 0; left: 0; bottom: 0;
    height: 100dvh; width: 82%; max-width: 320px;
    transform: translateX(-100%);
    transition: transform .28s ease;
    overflow-y: auto;
    z-index: 60;
    border-right: 1px solid var(--hairline);
    box-shadow: 0 30px 80px -30px rgba(18, 36, 59, 0.5);
  }
  .m-shell.nav-open .m-side { transform: none; }

  .m-backdrop {
    display: block;
    position: fixed; inset: 0;
    z-index: 55;
    background: color-mix(in srgb, var(--ink) 45%, transparent);
    opacity: 0; visibility: hidden;
    transition: opacity .28s ease, visibility .28s ease;
  }
  .m-shell.nav-open .m-backdrop { opacity: 1; visibility: visible; }
}

/* ---- collapse toggle: a bare arrow at the right edge, above the user card ---- */
.m-side-toggle {
  align-self: flex-end;
  margin: 0 4px 8px 0;
  width: 26px; height: 26px;
  padding: 0;
  border: none;
  background: none;
  color: var(--ink-mute);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: color .16s ease;
}
.m-side-toggle:hover { color: var(--ink); }
.m-side-toggle svg { width: 20px; height: 20px; transition: transform .22s ease; }
@media (max-width: 900px) { .m-side-toggle { display: none; } }

@media (min-width: 901px) {
  .side-collapsed .m-side { gap: 18px; }
  .side-collapsed .m-side-brand { justify-content: center; padding: 4px 0 8px; }
  .side-collapsed .m-side-brand > span { display: none; }
  .side-collapsed .m-side-eyebrow { display: none; }
  .side-collapsed .m-side-nav { padding: 0 10px; }
  .side-collapsed .m-side-link { position: relative; justify-content: center; padding: 10px; gap: 0; }
  .side-collapsed .m-side-link > span:not(.m-side-badge) { display: none; }
  .side-collapsed .m-side-link svg { display: block; }
  .side-collapsed .m-side-badge { position: absolute; top: 3px; right: 8px; margin: 0; }
  .side-collapsed .m-side-foot { align-items: center; }
  .side-collapsed .m-side-user { padding: 8px; justify-content: center; }
  .side-collapsed .m-side-user .who { display: none; }
  .side-collapsed .m-side-signout { font-size: 0; padding: 8px; text-align: center; }
  .side-collapsed .m-side-signout::before {
    content: ''; display: inline-block; width: 18px; height: 18px; background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E") center/contain no-repeat;
            mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4'/%3E%3Cpolyline points='16 17 21 12 16 7'/%3E%3Cline x1='21' y1='12' x2='9' y2='12'/%3E%3C/svg%3E") center/contain no-repeat;
  }
  .side-collapsed .m-side-toggle { align-self: center; margin-right: 0; }
  .side-collapsed .m-side-toggle svg { transform: rotate(180deg); }
}

/* ---- content ---- */
.m-content {
  min-width: 0;
  padding: clamp(28px, 4vw, 48px) clamp(20px, 5vw, 56px) clamp(48px, 6vw, 96px);
}
.m-page-head {
  margin: 0 0 clamp(28px, 4vw, 40px);
  max-width: 720px;
}
.m-page-head h1 {
  font-family: 'EB Garamond', 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(34px, 5vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 12px;
}
.m-page-head p {
  color: var(--ink-soft);
  font-size: clamp(15px, 1.6vw, 17px);
  margin: 0;
  max-width: 62ch;
}

.m-panels { display: grid; gap: clamp(20px, 3vw, 28px); max-width: 900px; }
.m-panel {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  padding: clamp(24px, 3vw, 36px);
  box-shadow: 0 24px 60px -44px rgba(18, 36, 59, 0.22);
}
.m-panel-wide { max-width: none; }
.m-panel-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 20px; flex-wrap: wrap;
  margin: 0 0 clamp(18px, 2vw, 24px);
}
.m-panel-head h2 {
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: -0.015em;
  color: var(--ink);
  margin: 0;
}
.m-panel-head p {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--ink-mute);
}
.m-panel-actions { display: inline-flex; gap: 10px; flex-wrap: wrap; }

/* ============================================================
   Inputs, buttons, messages (shared across both modes)
   ============================================================ */

.m-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 18px; }
.m-label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-mute);
}
.m-input {
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
  width: 100%;
}
.m-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent);
}
.m-input::placeholder { color: var(--ink-mute); }
textarea.m-input { resize: vertical; min-height: 96px; font-family: inherit; }
select.m-input {
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e7c8d' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
  padding-right: 40px;
}

.m-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
  min-height: 44px;
  transition: background-color .18s ease, border-color .18s ease, transform .12s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}
.m-btn:active { transform: translateY(1px); }
.m-btn-block { width: 100%; }
.m-btn-primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.m-btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, #000); }
.m-btn-primary[disabled] { opacity: 0.55; cursor: default; }
.m-btn-ghost {
  background: transparent;
  color: var(--ink-soft);
  border-color: var(--hairline);
}
.m-btn-ghost:hover { background: color-mix(in srgb, var(--accent) 6%, transparent); color: var(--ink); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.m-btn-danger {
  background: transparent;
  color: var(--amber);
  border-color: color-mix(in srgb, var(--amber) 45%, transparent);
}
.m-btn-danger:hover { background: color-mix(in srgb, var(--amber) 10%, transparent); }

.m-alt {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
}
.m-alt a { color: var(--accent); border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); padding-bottom: 1px; }
.m-alt a:hover { color: var(--ink); border-bottom-color: var(--ink); }

/* Consent line under a signup form. */
.m-consent { margin: 14px 2px 0; font-size: 12.5px; line-height: 1.55; color: var(--ink-mute); text-align: center; }
.m-consent a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }
.m-consent a:hover { color: var(--ink); }

.m-msg {
  font-size: 13.5px;
  padding: 10px 14px;
  border-radius: 8px;
  margin: 0 0 18px;
  display: none;
}
.m-msg.on { display: block; }
.m-msg.error { background: color-mix(in srgb, var(--amber) 12%, transparent); color: var(--amber); border: 1px solid color-mix(in srgb, var(--amber) 40%, transparent); }
.m-msg.info  { background: color-mix(in srgb, var(--accent) 10%, transparent); color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }

/* rows for read-only overview */
.m-row {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline-soft);
}
.m-row:last-child { border-bottom: 0; }
.m-row-key { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-mute); }
.m-row-val { color: var(--ink); font-size: 15px; word-break: break-word; text-align: right; }

.m-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: clamp(20px, 3vw, 24px); }
@media (max-width: 500px) {
  .m-actions .m-btn { flex: 1 1 auto; }
}

/* two-column form grid */
.m-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 20px;
}
.m-grid .m-field { margin-bottom: 0; }
.m-grid .m-field.full { grid-column: 1 / -1; }
@media (max-width: 640px) {
  .m-grid { grid-template-columns: 1fr; }
}

/* ---- avatar upload (profile) ---- */
.avatar-wrap {
  display: flex; align-items: center; gap: 24px;
  margin-bottom: clamp(24px, 3vw, 32px);
}
.avatar-circle {
  width: 128px; height: 128px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--haze);
  border: 2px solid var(--hairline);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  cursor: pointer;
  transition: border-color .18s ease;
  flex-shrink: 0;
}
.avatar-circle:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.avatar-circle img { width: 100%; height: 100%; object-fit: cover; display: block; }
.avatar-circle .avatar-placeholder {
  color: var(--accent);
  font-family: 'EB Garamond', Georgia, serif;
  font-size: 44px;
  letter-spacing: -0.02em;
}
.avatar-side { display: flex; flex-direction: column; gap: 6px; }
.avatar-side h3 { margin: 0; font-family: 'EB Garamond', Georgia, serif; font-size: 18px; font-weight: 400; color: var(--ink); }
.avatar-hint { font-size: 13px; color: var(--ink-mute); }
.avatar-file { display: none; }
@media (max-width: 500px) {
  .avatar-wrap { flex-direction: column; align-items: flex-start; gap: 16px; }
}

/* ---- image list for property intake ---- */
.img-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
  margin: 12px 0 18px;
}
.img-list-item {
  aspect-ratio: 1 / 1;
  border-radius: 8px;
  overflow: hidden;
  background: var(--haze);
  border: 1px solid var(--hairline);
  position: relative;
}
.img-list-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.img-list-remove {
  position: absolute; top: 4px; right: 4px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(18, 36, 59, 0.62);
  color: #fff;
  font-size: 14px;
  display: inline-flex; align-items: center; justify-content: center;
  line-height: 1;
}
.img-list-remove:hover { background: rgba(18, 36, 59, 0.82); }
.img-add {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink-soft);
  font-size: 13px;
  padding: 10px 14px;
  border: 1px dashed var(--hairline);
  border-radius: 8px;
  transition: border-color .18s ease, color .18s ease;
  cursor: pointer;
}
.img-add:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); color: var(--accent); }
.img-file { display: none; }

.m-help {
  font-size: 12px;
  color: var(--ink-mute);
  margin: -6px 0 12px;
  letter-spacing: 0.02em;
}

/* ---- skeleton loader (subtle, replaces the old "Loading…" flash) ---- */
.m-sk {
  height: 14px; border-radius: 4px;
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--ink) 6%, transparent) 0%,
    color-mix(in srgb, var(--ink) 11%, transparent) 50%,
    color-mix(in srgb, var(--ink) 6%, transparent) 100%);
  background-size: 200% 100%;
  animation: m-sk 1.4s infinite ease-in-out;
  margin: 8px 0;
}
.m-sk-lg { height: 18px; max-width: 60%; }
.m-sk-sm { height: 12px; max-width: 40%; }
@keyframes m-sk {
  0%   { background-position: 200% 50%; }
  100% { background-position: -200% 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .m-sk { animation: none; }
}

/* ============================================================
   Split auth pages (/signin, /signup)
   A deep calm-navy story on the left with ivory text, and an
   ivory field on the right holding a light form. The blue lives
   only in the field borders, the focus ring and the button.
   ============================================================ */
.su-wrap{
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100dvh;
}
@media (max-width: 900px){ .su-wrap{ grid-template-columns: 1fr; } }

/* ---------- left: the story ---------- */
.su-left{
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: clamp(28px, 5vh, 52px);
  padding: clamp(28px, 5vw, 64px);
  overflow: hidden;
  color: var(--sand);
  /* Deep, calm ocean navy — stunning but easy on the eye (not klein). */
  background:
    radial-gradient(95% 85% at 15% 8%, color-mix(in srgb, var(--tide) 26%, var(--ink-mid)) 0%, transparent 62%),
    linear-gradient(158deg, var(--ink-mid) 0%, var(--ink-deep) 100%);
}
.su-brand{
  display: inline-flex; align-items: baseline; gap: 8px;
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 400; font-size: clamp(20px, 2vw, 24px);
  letter-spacing: -0.01em; color: var(--sand);
}
.su-brand .dot{
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--sand); display: inline-block; transform: translateY(-2px);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sand) 22%, transparent);
}
.su-brand em{ font-style: italic; }
/* Two brand lockups (Veron Blue + Veron Living), centred above the story so
   an owner sees this signup covers both sites. */
.su-brands{ display: flex; align-items: center; justify-content: center; gap: clamp(16px, 3vw, 28px); flex-wrap: wrap; }
.su-mid{ max-width: 34ch; margin: auto 0; }   /* centre the story below the brand */
.su-eyebrow{
  font-size: 11px; font-weight: 600; letter-spacing: 0.26em; text-transform: uppercase;
  color: color-mix(in srgb, var(--foam) 82%, transparent);
  margin: 0 0 clamp(16px, 2.6vh, 24px);
}
.su-headline{
  font-family: 'EB Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(38px, 5.2vw, 62px);
  line-height: 1.02; letter-spacing: -0.03em;
  color: var(--sand); margin: 0 0 clamp(16px, 2.4vh, 22px);
  text-wrap: balance;
}
.su-lead{
  font-size: clamp(16px, 1.4vw, 18px); line-height: 1.55;
  color: color-mix(in srgb, var(--sand) 82%, transparent);
  margin: 0; max-width: 46ch;
}
.su-parts{
  margin: clamp(26px, 4vh, 38px) 0 0;
  display: grid; gap: clamp(20px, 3.2vh, 30px); max-width: 46ch;
}
.su-part-h{
  font-family: 'EB Garamond', Georgia, serif; font-weight: 500;
  font-size: clamp(18px, 1.9vw, 22px); letter-spacing: -0.01em;
  color: var(--sand); margin: 0 0 6px;
}
.su-part-t{
  font-size: 15px; line-height: 1.5;
  color: color-mix(in srgb, var(--sand) 76%, transparent); margin: 0;
}

/* ---------- right: ivory field holding the light form ---------- */
.su-right{
  background: var(--page-bg);
  display: flex; align-items: center; justify-content: center;
  padding: clamp(28px, 5vw, 64px);
}
.su-card{ width: 100%; max-width: 440px; }
.su-card-eyebrow{
  font-size: 11px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink-mute); margin: 0 0 10px;
}
.su-card-title{
  font-family: 'EB Garamond', Georgia, serif; font-weight: 500;
  font-size: clamp(26px, 3vw, 34px); line-height: 1.05; letter-spacing: -0.02em;
  color: var(--ink); margin: 0 0 8px;
}
.su-card-desc{
  font-size: 14.5px; line-height: 1.5; color: var(--ink-soft);
  margin: 0 0 clamp(22px, 3vw, 28px);
}

/* blue only in the borders / focus / button */
.su-card .m-label{ color: var(--ink-mute); }
.su-card .m-input{
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--hairline));
  color: var(--ink);
}
.su-card .m-input::placeholder{ color: var(--ink-mute); }
.su-card .m-input:focus{
  border-color: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent);
}
.su-card .m-btn-primary{ background: var(--accent); color: #fff; border-color: var(--accent); }
.su-card .m-btn-primary:hover{ background: color-mix(in srgb, var(--accent) 88%, #000); }
.su-card .m-lead{ color: var(--ink-soft); }
.su-card .m-alt{ color: var(--ink-soft); border-top-color: var(--hairline); }
.su-card .m-alt a{ color: var(--accent); border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); }
.su-card .m-alt a:hover{ color: var(--ink); border-bottom-color: var(--ink); }
.su-card .m-msg.error{
  background: color-mix(in srgb, var(--amber) 12%, transparent);
  color: var(--amber);
  border: 1px solid color-mix(in srgb, var(--amber) 40%, transparent);
}
.su-card .m-msg.info{
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
  border: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
}

/* mobile: stack, left panel becomes a shorter top hero */
@media (max-width: 900px){
  .su-left{ gap: clamp(24px, 5vh, 36px); padding: clamp(26px, 7vw, 44px); }
  .su-right{ padding: clamp(26px, 7vw, 44px); }
}
@media (max-width: 520px){
  .su-headline{ font-size: clamp(34px, 9vw, 44px); }
  .su-parts{ max-width: none; }
}

/* Cross-links from the standard sign-up to the audience pages. */
.su-cross { margin: 16px 0 0; text-align: center; font-size: 13px; color: var(--ink-mute); }
.su-cross-links { margin: 6px 0 0; display: flex; gap: 14px; justify-content: center; align-items: center; font-size: 13.5px; }
.su-cross-links a { color: var(--accent); border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, transparent); padding-bottom: 1px; }
.su-cross-links a:hover { color: var(--ink); border-bottom-color: var(--ink); }
.su-cross-sep { color: var(--ink-mute); }

/* ---- list-property: rent/sell chooser + rent-kind toggle ---- */
.lp-choices { display: grid; gap: 12px; }
.lp-choice { text-align: left; width: 100%; background: var(--surface); border: 1px solid var(--hairline); border-radius: 12px; padding: 18px 20px; cursor: pointer; transition: border-color .16s ease, box-shadow .16s ease; display: block; font-family: inherit; }
.lp-choice:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 8%, transparent); }
.lp-choice-t { display: block; font-family: 'EB Garamond', Georgia, serif; font-weight: 500; font-size: 20px; color: var(--ink); }
.lp-choice-s { display: block; font-size: 14px; color: var(--ink-mute); margin-top: 4px; }
.lp-seg { display: inline-flex; background: var(--surface); border: 1px solid var(--hairline); border-radius: 999px; padding: 3px; }
.lp-seg-btn { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font: inherit; font-size: 14px; color: var(--ink-mute); cursor: pointer; transition: background-color .15s ease, color .15s ease; }
.lp-seg-btn.active { background: color-mix(in srgb, var(--accent) 12%, transparent); color: var(--accent); font-weight: 500; }

/* ---- listing agreement overlay ---- */
.agr-overlay {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: color-mix(in srgb, var(--ink) 55%, transparent);
  backdrop-filter: blur(3px);
}
.agr-modal {
  background: var(--surface); border: 1px solid var(--hairline);
  border-radius: 16px; width: 100%; max-width: 640px;
  max-height: min(88vh, 760px); display: flex; flex-direction: column;
  padding: clamp(22px, 3vw, 32px);
  box-shadow: 0 40px 90px -40px color-mix(in srgb, var(--ink) 60%, transparent);
}
.agr-title {
  font-family: 'EB Garamond', Georgia, serif; font-weight: 500;
  font-size: clamp(22px, 3vw, 28px); color: var(--ink); margin: 0 0 16px;
}
.agr-body {
  flex: 1 1 auto; overflow-y: auto; white-space: pre-wrap;
  font-size: 14.5px; line-height: 1.62; color: var(--ink-soft);
  background: var(--page-bg); border: 1px solid var(--hairline);
  border-radius: 12px; padding: 18px 20px; margin-bottom: 18px;
}
.agr-check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 15px; color: var(--ink); cursor: pointer; margin-bottom: 6px;
}
.agr-check input { width: 18px; height: 18px; margin-top: 1px; accent-color: var(--accent); cursor: pointer; flex: none; }
.agr-msg { font-size: 13.5px; color: var(--warn, #9a5b00); margin: 8px 0 0; }
.agr-actions { margin-top: 16px; display: flex; justify-content: flex-end; }

/* ---- iOS-style on/off switch (used for the Listed toggle) ---- */
.m-switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; user-select: none; min-height: 44px; }
.m-switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.m-switch-track { width: 44px; height: 26px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 22%, transparent); position: relative; transition: background-color .18s ease; flex: none; }
.m-switch-track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .18s ease; }
.m-switch input:checked + .m-switch-track { background: #35b46a; }
.m-switch input:checked + .m-switch-track::after { transform: translateX(18px); }
.m-switch input:disabled + .m-switch-track { opacity: .55; cursor: default; }
.m-switch-label { font-size: 14px; color: var(--ink); font-weight: 500; }


/* ™ on the member-area logo: half text size, raised (match Blue/Direct header). */
.m-side-brand sup { font-size: 0.5em; vertical-align: super; }


/* ---- Overview "Getting started" setup card ---- */
.ov-steps { display: flex; flex-direction: column; gap: 10px; }
.ov-step {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border: 1px solid var(--hairline); border-radius: 12px;
  color: var(--ink);
  transition: border-color .16s ease, background-color .16s ease;
}
.ov-step:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.ov-step-mark {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  border: 2px solid var(--hairline);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
}
.ov-step-mark svg { width: 15px; height: 15px; }
.ov-step.done .ov-step-mark { background: #35b46a; border-color: #35b46a; }
.ov-step-body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ov-step-t { font-weight: 500; font-size: 15px; }
.ov-step-s { font-size: 13px; color: var(--ink-mute); }
.ov-step.done .ov-step-s { color: #35b46a; }
.ov-step-go { flex: none; color: var(--ink-mute); font-size: 18px; }

/* ---- Overview feedback nudge (small standalone card) ---- */
.ov-feedback {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin-top: 4px; padding: 16px 18px;
  border: 1px solid var(--hairline); border-radius: 14px;
  background: var(--surface); color: var(--ink);
  font: inherit; text-align: left; cursor: pointer;
  transition: border-color .16s ease;
}
.ov-feedback:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
.ov-feedback-t { font-size: 14px; color: var(--ink-mute); }
.ov-feedback-cta { font-size: 14px; font-weight: 500; color: var(--accent); white-space: nowrap; }
