/* ══════════════════════════════════════════════════════════════
   POP/up — Vendor signup & setup flow
   Tokens follow the Stitch "POP/up Vendor Setup" design.
   ══════════════════════════════════════════════════════════════ */

:root {
  --mint: #17EBBD;
  --mint-soft: #E3FBF4;
  --mint-deep: #006B55;
  --mint-ink: #006550;
  --ink: #1B1C1A;
  --ink-2: #3B4A44;
  --muted: #6B7B74;
  --line: #E5E2DF;
  --line-2: #EAE8E5;
  --surface: #FCF9F6;
  --surface-2: #F6F3F0;
  --surface-3: #F0EDEB;
  --card: #FFFFFF;
  --dark: #1D1B20;
  --dark-2: #31302F;
  --error: #BA1A1A;
  --error-soft: #FFDAD6;
  --error-ink: #93000A;
  --success: #28A745;
  --radius-xl: 28px;
  --radius-lg: 24px;
  --radius: 16px;
  --radius-sm: 12px;
  --shadow: 0 8px 30px rgba(0, 0, 0, .06);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .14);
}

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body.vs-body {
  background: var(--surface);
  color: var(--ink);
  font-family: "Karla", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.vs-body h1, .vs-body h2, .vs-body h3, .vs-body h4, .vs-body h5, .vs-body h6,
.vs-body p, .vs-body li, .vs-body a, .vs-body span, .vs-body label,
.vs-body input, .vs-body textarea, .vs-body select, .vs-body button {
  font-family: "Karla", system-ui, sans-serif;
}

/* zero specificity so component colors (.vs-btn-dark etc.) always win */
:where(.vs-body a) { color: inherit; }
.vs-body img { max-width: 100%; display: block; }

.material-symbols-outlined {
  font-family: "Material Symbols Outlined" !important;
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  display: inline-block;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  font-variation-settings: "FILL" 0, "wght" 400;
}
.ms-fill { font-variation-settings: "FILL" 1, "wght" 400; }

.vs-script {
  font-family: "Sacramento", cursive !important;
  color: var(--mint);
  font-weight: 400;
  font-size: 1.35em;
  line-height: .8;
  letter-spacing: 0;
}

.vs-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mint-deep);
  margin-bottom: 10px;
}

/* ── Buttons ─────────────────────────────────────────────── */
.vs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  border: 0;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, opacity .2s ease;
  white-space: nowrap;
}
.vs-btn:active { transform: translateY(1px); }
.vs-btn-primary {
  background: var(--mint);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(23, 235, 189, .35);
}
.vs-btn-primary:hover { box-shadow: 0 12px 30px rgba(23, 235, 189, .5); color: var(--ink); }
.vs-btn-ghost {
  background: var(--surface-3);
  color: var(--ink);
}
.vs-btn-ghost:hover { background: var(--line); color: var(--ink); }
.vs-btn-dark { background: var(--dark); color: #fff; }
.vs-btn-dark:hover { background: #000; color: #fff; }
.vs-btn-block { width: 100%; }
.vs-btn-sm { height: 40px; padding: 0 18px; font-size: 13px; }
.vs-btn[disabled], .vs-btn.is-loading { opacity: .75; pointer-events: none; }
.vs-spinner {
  width: 18px; height: 18px;
  border-radius: 50%;
  border: 2.5px solid rgba(27, 28, 26, .25);
  border-top-color: var(--ink);
  animation: vs-spin .7s linear infinite;
}
@keyframes vs-spin { to { transform: rotate(360deg); } }

/* ── Form fields ─────────────────────────────────────────── */
.vs-field { margin-bottom: 22px; }
.vs-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.vs-label .req { color: var(--error); }
.vs-input-wrap { position: relative; display: flex; align-items: center; }
.vs-input-wrap > .material-symbols-outlined.lead {
  position: absolute;
  left: 16px;
  color: var(--muted);
  pointer-events: none;
}
.vs-input {
  width: 100%;
  height: 56px;
  padding: 0 16px 0 48px;
  background: var(--card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 16px;
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
  outline: none;
}
.vs-input.no-icon { padding-left: 16px; }
.vs-input::placeholder { color: #9AA59F; }
.vs-input:focus { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(23, 235, 189, .18); }
.vs-field.has-error .vs-input { border-color: var(--error); box-shadow: 0 0 0 4px rgba(186, 26, 26, .08); }
.vs-field.has-error .lead { color: var(--error); }
.vs-field.is-ok .vs-input { border-color: var(--mint); }
.vs-input-action {
  position: absolute;
  right: 10px;
  background: none;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
}
.vs-input-action:hover { color: var(--ink); background: var(--surface-2); }
.vs-field-msg {
  display: none;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  font-size: 13px;
  color: var(--error);
}
.vs-field-msg .material-symbols-outlined { font-size: 16px; }
.vs-field.has-error .vs-field-msg { display: flex; }
.vs-hint { font-size: 13px; color: var(--muted); margin-top: 6px; }

/* ── Alerts / toasts ─────────────────────────────────────── */
.vs-alert {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 26px;
}
.vs-alert .material-symbols-outlined { font-size: 22px; margin-top: 1px; }
.vs-alert-title { font-weight: 700; font-size: 16px; margin: 0 0 2px; }
.vs-alert-text { margin: 0; font-size: 14px; }
.vs-alert-error { background: var(--error-soft); color: var(--error-ink); }
.vs-alert-error .material-symbols-outlined, .vs-alert-error .vs-alert-title { color: var(--error); }
.vs-alert-success { background: var(--mint); color: var(--ink); }
.vs-alert-info { background: var(--surface-3); color: var(--ink); }
.vs-alert-close {
  margin-left: auto;
  background: none;
  border: 0;
  cursor: pointer;
  color: inherit;
  opacity: .7;
  padding: 0;
}
.vs-alert-close:hover { opacity: 1; }

/* ══════════════════════════════════════════════════════════════
   SIGNUP
   ══════════════════════════════════════════════════════════════ */
.su-wrap {
  max-width: 1440px;
  margin: 0 auto;
  padding: 40px;
  display: flex;
  gap: 40px;
  align-items: stretch;
  justify-content: center;
  min-height: 100vh;
}
.su-form-col { width: 100%; max-width: 760px; display: flex; flex-direction: column; justify-content: center; }
.su-narrow { max-width: 480px; }
.su-label-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.su-forgot { font-size: 13px; font-weight: 700; color: var(--mint-deep); text-decoration: none; margin-bottom: 8px; }
.su-forgot:hover { text-decoration: underline; }
.su-admin { margin-top: 14px !important; font-size: 13px; }
.su-links .su-admin a { color: var(--muted); font-weight: 600; }
.su-brand { display: inline-flex; align-items: center; gap: 10px; align-self: center; margin-bottom: 24px; font-weight: 800; font-size: 22px; color: var(--ink); text-decoration: none; }
.su-brand img { height: 44px; width: 44px; border-radius: 12px; object-fit: cover; }
.su-brand b { color: var(--mint-deep); }
.su-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow);
}
.su-card-head { margin-bottom: 28px; }
.su-card-head h2 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 4px; }
.su-card-head p { margin: 0; color: var(--muted); }
.su-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }

.su-types { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.su-type {
  position: relative;
  display: block;
  cursor: pointer;
  padding: 20px;
  border-radius: var(--radius);
  border: 2px solid var(--line-2);
  background: var(--card);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .15s ease;
}
.su-type:hover { border-color: #BFEFE2; transform: translateY(-1px); }
.su-type input { position: absolute; opacity: 0; pointer-events: none; }
.su-type-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--surface-3);
  color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.su-type-title { display: block; font-weight: 700; font-size: 17px; line-height: 1.35; margin-bottom: 6px; }
.su-type-desc { display: block; font-size: 13px; color: var(--muted); }
.su-type-check {
  position: absolute;
  top: 16px; right: 16px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--surface-3);
  display: flex; align-items: center; justify-content: center;
  color: transparent;
}
.su-type-check .material-symbols-outlined { font-size: 18px; }
.su-type.selected { border-color: var(--mint); background: var(--mint-soft); box-shadow: 0 6px 20px rgba(23, 235, 189, .18); }
.su-type.selected .su-type-icon { background: rgba(23, 235, 189, .25); color: var(--mint-deep); }
.su-type.selected .su-type-check { background: var(--mint); color: var(--ink); }

.su-actions { margin-top: 30px; }
.su-links { margin-top: 22px; text-align: center; font-size: 14px; color: var(--ink-2); }
.su-links p { margin: 0 0 8px; }
.su-links a { color: var(--mint-deep); font-weight: 700; }

/* ══════════════════════════════════════════════════════════════
   SETUP SHELL
   ══════════════════════════════════════════════════════════════ */
.vs-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(252, 249, 246, .9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, .04);
}
.vs-topbar-inner {
  max-width: 1440px;
  margin: 0 auto;
  height: 76px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.vs-brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 19px; color: var(--ink); text-decoration: none; }
.vs-brand img { height: 40px; width: 40px; border-radius: 11px; object-fit: cover; }
.vs-brand b { color: var(--mint-deep); }
.vs-user { display: flex; align-items: center; gap: 14px; }
.vs-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--ink);
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.vs-avatar img { width: 100%; height: 100%; object-fit: cover; }
.vs-user-name { font-weight: 700; font-size: 14px; line-height: 1.2; }
.vs-user-sub { font-size: 12px; color: var(--muted); }
.vs-logout { font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none; padding-left: 14px; border-left: 1px solid var(--line); }
.vs-logout:hover { color: var(--ink); }

.vs-main { max-width: 1440px; margin: 0 auto; padding: 28px 40px 60px; }

.vs-status-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
.vs-status {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 8px 8px 16px;
  border-radius: 999px;
  background: var(--card);
  box-shadow: var(--shadow);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.vs-status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--error); }
.vs-status.active .dot { background: var(--success); }
.vs-status.active { color: #1E7A34; padding-right: 16px; }
.vs-status a {
  text-transform: none;
  letter-spacing: .02em;
  text-decoration: none;
  color: var(--ink);
  background: var(--mint);
  padding: 6px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.vs-path-label { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.vs-path-label b { color: var(--ink); }

/* Progress bar */
.vs-progress {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 20px 28px 24px;
  margin-bottom: 28px;
}
.vs-progress-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 12px; flex-wrap: wrap; }
.vs-progress-title { font-size: 16px; font-weight: 600; color: var(--ink-2); }
.vs-progress-title b { font-size: 22px; font-weight: 800; color: var(--ink); }
.vs-progress-cheer { font-size: 13px; font-weight: 700; color: var(--mint-deep); }
.vs-progress-track { height: 12px; border-radius: 999px; background: var(--surface-3); overflow: hidden; }
.vs-progress-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #6FF3D6, var(--mint));
  box-shadow: 0 0 12px rgba(23, 235, 189, .5);
  animation: vs-grow .9s cubic-bezier(.2, .8, .2, 1);
}
@keyframes vs-grow { from { width: 0; } }

/* Layout */
.vs-single { max-width: 860px; margin: 0 auto; }
.vs-main > .vs-status-row, .vs-main > .vs-progress { max-width: 860px; margin-left: auto; margin-right: auto; }
.vs-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 40px;
}
.vs-card + .vs-card { margin-top: 24px; }
.vs-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 30px; }
.vs-card-head h1 { font-size: 40px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; margin: 0 0 10px; }
.vs-card-head p { margin: 0; color: var(--ink-2); font-size: 16px; }
.vs-count-pill { padding: 5px 12px; border-radius: 999px; background: var(--surface-3); font-size: 12px; font-weight: 700; white-space: nowrap; }

.vs-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }
.vs-fields .full { grid-column: 1 / -1; }

.vs-actionbar {
  margin-top: 24px;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
  position: sticky;
  bottom: 16px;
  z-index: 20;
}
.vs-actionbar-note { margin-right: auto; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-2); }
.vs-actionbar-note .material-symbols-outlined { color: var(--mint-deep); font-size: 18px; }

/* Map preview */
.vs-map {
  height: 180px;
  border-radius: var(--radius-sm);
  margin-top: 12px;
  background: var(--surface-3);
  overflow: hidden;
  display: none;
}
.vs-map.show { display: block; }

/* Rich text */
.vs-editor {
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--card);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.vs-editor:focus-within { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(23, 235, 189, .18); }
.vs-editor .ql-toolbar.ql-snow { border: 0; border-bottom: 1px solid var(--line-2); background: var(--surface-2); padding: 10px 12px; }
.vs-editor .ql-container.ql-snow { border: 0; font-family: "Karla", sans-serif; font-size: 15px; }
.vs-editor .ql-editor { min-height: 150px; padding: 16px; }
.vs-editor .ql-editor.ql-blank::before { color: #9AA59F; font-style: normal; }
.vs-editor-foot { display: flex; justify-content: flex-end; padding: 8px 14px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line-2); background: var(--surface-2); }
.ql-snow .ql-toolbar button.vs-link-btn, .ql-toolbar button.vs-link-btn { width: auto; padding: 3px 8px; display: inline-flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; color: var(--ink-2); }
.vs-link-btn .material-symbols-outlined { font-size: 16px; }

/* Categories */
.vs-cats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.vs-cat {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 16px;
  border-radius: var(--radius);
  background: var(--surface-2);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
  min-height: 76px;
}
.vs-cat:hover { transform: translateY(-1px); background: var(--surface-3); }
.vs-cat input { position: absolute; opacity: 0; pointer-events: none; }
.vs-cat-icon { color: var(--ink-2); flex-shrink: 0; }
.vs-cat-name { font-weight: 700; font-size: 14px; line-height: 1.3; flex: 1; min-width: 0; overflow-wrap: break-word; }
.vs-cat-check { color: transparent; flex-shrink: 0; }
.vs-cat.selected { background: var(--mint-soft); border-color: var(--mint); }
.vs-cat.selected .vs-cat-icon { color: var(--mint-deep); }
.vs-cat.selected .vs-cat-check { color: var(--mint-deep); }

/* Image upload */
.vs-img-frame {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3 / 2;
  background: var(--surface-3);
}
.vs-img-frame img { width: 100%; height: 100%; object-fit: cover; }
.vs-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(29, 27, 32, .55);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  opacity: 0;
  transition: opacity .2s ease;
}
.vs-img-overlay .material-symbols-outlined { font-size: 34px; }
.vs-img-frame:hover .vs-img-overlay { opacity: 1; }
.vs-img-badge {
  position: absolute;
  top: 14px; left: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  font-size: 12px;
  font-weight: 700;
}
.vs-img-badge .material-symbols-outlined { font-size: 16px; color: var(--mint-deep); }
.vs-img-badge.staged { background: var(--mint); }
.vs-img-badge.staged .material-symbols-outlined { color: var(--ink); }
.vs-img-empty {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  border: 2px dashed #BFEFE2;
  border-radius: var(--radius);
  text-align: center;
  padding: 20px;
}
.vs-img-empty .material-symbols-outlined { font-size: 40px; color: var(--mint-deep); }
.vs-chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 22px 0; }
.vs-chips-label { font-size: 12px; font-weight: 700; color: var(--ink-2); margin-right: 4px; }
.vs-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  font-size: 12px;
  font-weight: 700;
}
.vs-chip .material-symbols-outlined { font-size: 15px; color: var(--mint-deep); }

/* Menus */
.vs-section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 26px 0 12px;
}
.vs-section-label:first-child { margin-top: 0; }
.vs-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.vs-thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-3);
  transition: opacity .2s ease;
}
.vs-thumb img { width: 100%; height: 100%; object-fit: cover; }
.vs-thumb-label {
  position: absolute;
  left: 8px; bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  font-size: 11px;
  font-weight: 700;
}
.vs-thumb.staged .vs-thumb-label { background: var(--mint); }
.vs-thumb.removed { opacity: .35; }
.vs-thumb-x {
  position: absolute;
  top: 8px; right: 8px;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 0;
  background: rgba(29, 27, 32, .75);
  color: #fff;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.vs-thumb-x .material-symbols-outlined { font-size: 16px; }
.vs-thumb-x:hover { background: var(--error); }
.vs-drop {
  border: 2px dashed #9FE9D6;
  border-radius: var(--radius);
  background: var(--mint-soft);
  padding: 36px 20px;
  text-align: center;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease;
}
.vs-drop:hover, .vs-drop.drag { background: #D2F8EC; border-color: var(--mint); }
.vs-drop .material-symbols-outlined { font-size: 40px; color: var(--mint-deep); }
.vs-drop p { margin: 6px 0 0; color: var(--ink-2); }
.vs-drop p strong { color: var(--ink); }

/* Availability */
.vs-days { display: grid; gap: 12px; }
.vs-day {
  border-radius: var(--radius);
  border: 1.5px solid var(--line-2);
  background: var(--card);
  transition: background .15s ease, opacity .15s ease;
}
.vs-day-head { display: flex; align-items: center; gap: 14px; padding: 16px 20px; }
.vs-day-name { font-weight: 800; font-size: 16px; margin-right: auto; }
.vs-day-status { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mint-deep); min-width: 74px; text-align: right; }
.vs-day-body { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px; padding: 0 20px 20px; }
.vs-day.closed { background: var(--surface-2); }
.vs-day.closed .vs-day-body { display: none; }
.vs-day.closed .vs-day-name { color: var(--muted); }
.vs-day.closed .vs-day-status { color: var(--muted); }
.vs-mini-label { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.vs-day .vs-input { height: 48px; font-size: 15px; }
.vs-tp { display: flex; align-items: center; gap: 4px; }
.vs-tp select {
  height: 48px;
  flex: 1;
  min-width: 0;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  padding: 0 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  outline: none;
}
.vs-tp select:focus { border-color: var(--mint); }
.vs-tp span { font-weight: 800; }

.vs-switch { position: relative; width: 48px; height: 28px; flex-shrink: 0; }
.vs-switch input { opacity: 0; width: 0; height: 0; }
.vs-switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--line);
  cursor: pointer;
  transition: background .2s ease;
}
.vs-switch span::before {
  content: "";
  position: absolute;
  width: 22px; height: 22px;
  left: 3px; top: 3px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .2);
  transition: transform .2s ease;
}
.vs-switch input:checked + span { background: var(--mint); }
.vs-switch input:checked + span::before { transform: translateX(20px); }

/* ── Modals ──────────────────────────────────────────────── */
.vs-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(29, 27, 32, .55);
  backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.vs-modal.open { display: flex; }
.vs-modal-box {
  position: relative;
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 460px;
  padding: 32px;
  animation: vs-pop .25s ease;
}
.vs-modal-box.wide { max-width: 560px; }
@keyframes vs-pop { from { transform: scale(.96) translateY(8px); opacity: 0; } to { transform: none; opacity: 1; } }
.vs-modal-x {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 0;
  background: var(--surface-3);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}
.vs-modal-title { display: flex; align-items: center; gap: 8px; font-size: 18px; font-weight: 800; margin: 0 0 18px; }
.vs-modal-title .material-symbols-outlined { color: var(--mint-deep); }
.vs-modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 8px; }
.vs-modal-img { border-radius: var(--radius-sm); max-height: 50vh; width: 100%; object-fit: contain; background: var(--surface-2); margin-bottom: 16px; }

.vs-welcome { text-align: center; }
.vs-welcome-icon {
  width: 76px; height: 76px;
  margin: 4px auto 18px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 12px rgba(23, 235, 189, .18);
}
.vs-welcome-icon .material-symbols-outlined { font-size: 38px; }
.vs-welcome h2 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 10px; }
.vs-welcome h2 span { color: var(--mint-deep); }
.vs-welcome p { color: var(--ink-2); margin: 0 0 22px; }
.vs-welcome-meta { background: var(--surface-2); border-radius: var(--radius-sm); padding: 14px 16px; margin-bottom: 22px; text-align: left; display: grid; gap: 8px; font-size: 13px; font-weight: 600; }
.vs-welcome-meta div { display: flex; align-items: center; gap: 8px; }
.vs-welcome-meta .material-symbols-outlined { font-size: 18px; color: var(--mint-deep); }

/* Confetti */
.vs-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 300; overflow: hidden; }
.vs-confetti i {
  position: absolute;
  top: -12px;
  width: 9px; height: 14px;
  border-radius: 2px;
  opacity: .9;
  animation: vs-fall linear forwards;
}
@keyframes vs-fall { to { transform: translateY(105vh) rotate(720deg); opacity: .9; } }

/* Toast */
.vs-toast-wrap { position: fixed; top: 92px; right: 24px; z-index: 250; display: grid; gap: 10px; max-width: 420px; }
.vs-toast {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--mint);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  animation: vs-pop .25s ease;
}
.vs-toast.info { background: var(--card); }
.vs-toast .material-symbols-outlined { font-size: 22px; }
.vs-toast b { display: block; font-size: 15px; }
.vs-toast p { margin: 2px 0 0; font-size: 13px; }

/* ── Subscribe ───────────────────────────────────────────── */
/* Listing preview ("How customers will see you"): Business Image setup step */
.vs-ad-setup { max-width: none; margin: 20px 0 0; }
.vs-ad[hidden] { display: none; }
.vs-ad-reveal { animation: vsAdReveal .45s cubic-bezier(.34, 1.2, .64, 1) both; }
@keyframes vsAdReveal { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .vs-ad-reveal { animation: none; } }
/* Listing preview card */
.vs-ad { max-width: 520px; margin: 0 auto 28px; text-align: left; border: 2px solid var(--mint); border-radius: var(--radius); background: var(--card); overflow: hidden; box-shadow: 0 12px 32px rgba(23, 235, 189, .14); }
.vs-ad-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; background: var(--surface-2); border-bottom: 1px solid var(--line-2); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.vs-ad-tag { padding: 3px 9px; border-radius: 6px; background: var(--dark); color: var(--mint); font-size: 10px; letter-spacing: .06em; }
.vs-ad-body { display: flex; gap: 16px; padding: 16px; }
.vs-ad-img { width: 96px; height: 96px; flex-shrink: 0; border-radius: var(--radius-sm); overflow: hidden; display: grid; place-items: center; background: var(--mint-soft); color: var(--mint-deep); font-size: 36px; font-weight: 800; }
.vs-ad-img img { width: 100%; height: 100%; object-fit: cover; }
.vs-ad-info { min-width: 0; flex: 1; }
.vs-ad-name { font-size: 18px; font-weight: 800; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vs-ad-type { margin-top: 3px; color: var(--mint-deep); font-size: 12px; font-weight: 700; }
.vs-ad-desc { margin-top: 6px; color: var(--ink-2); font-size: 13px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.vs-ad-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.vs-ad-cats span { padding: 3px 10px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-2); font-size: 11px; font-weight: 700; color: var(--ink-2); }
.vs-ad-edit { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 9px; border-top: 1px solid var(--line-2); color: var(--mint-deep); font-size: 12px; font-weight: 700; text-decoration: none; }
.vs-ad-edit .material-symbols-outlined { font-size: 15px; }
.vs-ad-edit:hover { background: var(--surface-2); }
@media (max-width: 420px) { .vs-ad-img { width: 72px; height: 72px; font-size: 28px; } }
.vs-plans { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; margin: 10px 0 24px; }
.vs-plan {
  width: 100%;
  max-width: 360px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--mint);
  background: var(--card);
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(23, 235, 189, .18);
  text-align: center;
}
.vs-plan-head { background: var(--dark); color: #fff; padding: 18px; font-weight: 800; font-size: 18px; }
.vs-plan-body { padding: 28px 28px 30px; }
.vs-plan-badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--mint-soft); color: var(--mint-ink); font-weight: 800; font-size: 13px; margin-bottom: 14px; }
.vs-plan-badge .material-symbols-outlined { font-size: 16px; }
.vs-plan-price { font-size: 56px; font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.vs-plan-price sup { font-size: 24px; top: -1.2em; margin-right: 2px; }
.vs-plan-per { color: var(--muted); font-weight: 600; margin: 6px 0 24px; }
.vs-empty { padding: 30px 10px; border: 2px dotted #888; border-radius: var(--radius); text-align: center; color: var(--ink-2); }
.vs-legal { text-align: center; font-size: 12px; font-style: italic; color: var(--muted); }
.vs-legal a { color: var(--mint-deep); font-weight: 700; }

.vs-loading {
  position: fixed;
  inset: 0;
  z-index: 400;
  background: rgba(252, 249, 246, .92);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-weight: 700;
}
.vs-loading.open { display: flex; }
.vs-loading .vs-spinner { width: 44px; height: 44px; border-width: 4px; border-color: rgba(23, 235, 189, .25); border-top-color: var(--mint-deep); }

/* ── Result ──────────────────────────────────────────────── */
.vs-result { max-width: 640px; margin: 20px auto; text-align: center; }
.vs-result .vs-welcome-icon { width: 96px; height: 96px; }
.vs-result .vs-welcome-icon .material-symbols-outlined { font-size: 50px; }
.vs-result h1 { font-size: 40px; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 12px; }
.vs-result p { font-size: 17px; color: var(--ink-2); margin: 0 auto 28px; max-width: 520px; }
.vs-result-actions { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
/* "Next: finish your profile" on the result screen (menu + schedule come after subscribing) */
.vs-next { margin: 0 auto 26px; max-width: 480px; padding: 20px; border-radius: var(--radius); background: var(--surface-2); text-align: left; }
.vs-next h2 { font-size: 20px; font-weight: 800; margin: 0 0 14px; }
.vs-next-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vs-next-list a { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: var(--radius-sm); background: var(--card); border: 1.5px solid var(--line-2); color: var(--ink); text-decoration: none; transition: border-color .15s ease, transform .15s ease; }
.vs-next-list a:hover { border-color: var(--mint); transform: translateY(-1px); }
.vs-next-list a > .material-symbols-outlined { margin-left: auto; color: var(--muted); }
.vs-next-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 12px; display: grid; place-items: center; background: var(--mint-soft); color: var(--mint-deep); }
.vs-next-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vs-next-text b { font-size: 15px; }
.vs-next-text small { font-size: 13px; color: var(--muted); }

.vs-footer { max-width: 1440px; margin: 0 auto; padding: 22px 40px 30px; display: flex; justify-content: space-between; gap: 12px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.vs-footer nav { display: flex; gap: 20px; }
.vs-footer a { text-decoration: none; font-weight: 600; }
.vs-footer a:hover { color: var(--ink); }

/* ══════════════════════════════════════════════════════════════
   PUBLIC NAV (app/views/public_nav.php) — login / signup / choose-user
   ══════════════════════════════════════════════════════════════ */
.pn-top {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(252, 249, 246, .9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 8px rgba(0, 0, 0, .04);
}
.pn-top-inner {
  max-width: 1440px;
  margin: 0 auto;
  height: 68px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.pn-brand { margin: 0; font-size: 19px; }
.pn-brand img { width: 38px; height: 38px; }
.pn-links { display: flex; gap: 4px; margin-left: auto; }
.pn-links a, .pn-links button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-2);
  text-decoration: none;
}
.pn-links button { background: none; border: 0; cursor: pointer; font-family: inherit; }
.pn-links a:hover, .pn-links button:hover { background: var(--surface-3); color: var(--ink); }
.pn-heart {
  width: 40px; height: 40px;
  flex-shrink: 0;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #FF8FAB;
  text-decoration: none;
}
.pn-heart:hover { background: var(--surface-3); }
.pn-more-login { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 0 16px; }
.pn-more-login p { margin: 0; color: var(--ink-2); font-weight: 600; }
.pn-links .material-symbols-outlined { font-size: 18px; }

.pn-tabs { display: none; }
.pn-more-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 4px;
  border-top: 1px solid var(--line-2);
  font-weight: 700;
  text-decoration: none;
  color: var(--ink);
}
.pn-more-link .material-symbols-outlined { color: var(--mint-deep); }

/* The pages under the nav no longer need their own full-height centring offset */
.pn-top + .su-wrap, .pn-top ~ .su-wrap { min-height: calc(100vh - 68px); }

@media (max-width: 720px) {
  .pn-top-inner { height: 60px; padding: 0 16px; gap: 12px; }
  .pn-links { display: none; }
  .pn-heart { margin-left: auto; }
  .pn-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 60;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .06);
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  }
  .pn-tabs a, .pn-tabs button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 6px 0;
    background: none;
    border: 0;
    font-size: 11px;
    font-weight: 700;
    color: var(--ink-2);
    text-decoration: none;
    cursor: pointer;
  }
  .pn-tabs .material-symbols-outlined { font-size: 24px; }
  /* keep page content clear of the fixed tab bar */
  .vs-body.has-pn-tabs { padding-bottom: calc(72px + env(safe-area-inset-bottom)); }
  .pn-top ~ .su-wrap { min-height: 0; }
}

/* ══════════════════════════════════════════════════════════════
   FORGOT PASSWORD (forgot-password.php) — same shell as login
   ══════════════════════════════════════════════════════════════ */
.fp-progress { display: flex; justify-content: center; gap: 8px; margin-bottom: 26px; }
.fp-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--line); transition: width .3s ease, background .3s ease; }
.fp-dot.active { width: 28px; background: var(--mint); }
.fp-dot.done { background: var(--mint-deep); }

.fp-step { display: none; opacity: 0; transform: translateY(8px); transition: opacity .3s ease, transform .3s ease; }
.fp-step.active { display: block; }
.fp-step.visible { opacity: 1; transform: none; }

.fp-icon {
  width: 52px; height: 52px;
  border-radius: 16px;
  background: var(--mint-soft);
  color: var(--mint-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.fp-icon .material-symbols-outlined { font-size: 26px; }
.su-card-head p strong { color: var(--ink); overflow-wrap: anywhere; }

.field-hint { margin: 8px 0 0; font-size: 13px; min-height: 1em; color: var(--muted); }
.fp-input.error, .otp-box.error { border-color: var(--error); box-shadow: 0 0 0 4px rgba(186, 26, 26, .08); }
.fp-input.success { border-color: var(--mint); }

/* Loading state toggled by setBtnLoading() */
.fp-btn .spinner { display: none; }
.fp-btn.loading { pointer-events: none; opacity: .8; }
.fp-btn.loading .btn-text { display: none; }
.fp-btn.loading .spinner { display: inline-block; }

.otp-group { display: flex; justify-content: center; gap: 12px; margin: 4px 0 6px; }
.otp-box {
  width: 60px; height: 64px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  background: var(--card);
  text-align: center;
  font-size: 26px;
  font-weight: 800;
  color: var(--ink);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.otp-box:focus { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(23, 235, 189, .18); }
.otp-box.filled { border-color: var(--mint); background: var(--mint-soft); }
.otp-box.error { animation: fp-shake .35s ease; }
@keyframes fp-shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
#verifyOtpBtn { margin-top: 18px; }

.resend-row { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 18px; font-size: 14px; color: var(--ink-2); flex-wrap: wrap; }
.back-row { text-align: center; margin-top: 10px; }
.fp-link-btn {
  background: none;
  border: 0;
  padding: 4px 6px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: var(--mint-deep);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.fp-link-btn .material-symbols-outlined { font-size: 18px; }
.fp-link-btn:disabled { color: var(--muted); cursor: default; }
.countdown-badge { padding: 3px 10px; border-radius: 999px; background: var(--surface-3); font-size: 12px; font-weight: 800; color: var(--ink-2); }

.strength-bar-wrap { height: 6px; border-radius: 999px; background: var(--surface-3); margin-top: 10px; overflow: hidden; }
.strength-bar { height: 100%; width: 0; border-radius: 999px; transition: width .3s ease, background .3s ease; }

.fp-success { text-align: center; padding: 8px 0; }
.fp-success h2 { font-size: 28px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 8px; }
.fp-success p { color: var(--ink-2); margin: 0 0 24px; }

@media (max-width: 360px) {
  .otp-group { gap: 8px; }
  .otp-box { width: 54px; height: 58px; }
}
@media (prefers-reduced-motion: reduce) {
  .fp-step, .fp-dot, .strength-bar { transition: none; }
  .otp-box.error { animation: none; }
}

/* ══════════════════════════════════════════════════════════════
   CHOOSE USER (choose-user.php) — mobile first
   ══════════════════════════════════════════════════════════════ */
.cu-wrap { max-width: 1040px; margin: 0 auto; padding: 8px 16px 32px; }
.cu-head { text-align: center; margin: 8px 0 24px; }
.cu-head h1 { font-size: 32px; line-height: 1.15; font-weight: 800; letter-spacing: -.03em; margin: 0 0 8px; }
.cu-head p { margin: 0; color: var(--ink-2); font-size: 16px; }

.cu-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.cu-card {
  background: var(--card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 22px;
  display: flex;
  flex-direction: column;
  border: 2px solid transparent;
  transition: border-color .2s ease, transform .2s ease;
}
.cu-card-top { display: flex; gap: 14px; align-items: flex-start; }
.cu-icon {
  width: 52px; height: 52px;
  flex-shrink: 0;
  border-radius: 16px;
  background: var(--mint);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(23, 235, 189, .3);
}
.cu-icon .material-symbols-outlined { font-size: 28px; }
.cu-card h2 { font-size: 22px; font-weight: 800; letter-spacing: -.02em; margin: 2px 0 4px; }
.cu-sub { margin: 0; color: var(--ink-2); font-size: 15px; }
.cu-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.cu-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  font-size: 14px;
  font-weight: 600;
}
.cu-list .material-symbols-outlined { font-size: 20px; color: var(--mint-deep); }
.cu-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: auto; padding-top: 20px; }
.cu-actions .vs-btn { padding: 0 16px; white-space: normal; text-align: center; line-height: 1.2; }
.cu-note { text-align: center; font-size: 13px; color: var(--muted); margin: 22px 0 0; }
.cu-note a { color: var(--mint-deep); font-weight: 700; }

@media (hover: hover) {
  .cu-card:hover { border-color: var(--mint); transform: translateY(-3px); }
}
@media (min-width: 720px) {
  .cu-wrap { padding: 16px 32px 48px; }
  .cu-head { margin: 24px 0 36px; }
  .cu-head h1 { font-size: 46px; }
  .cu-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
  .cu-card { padding: 32px; }
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 1100px) {
  .vs-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vs-day-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .vs-day-body > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .su-wrap { padding: 16px; }
}
@media (max-width: 720px) {
  .vs-topbar-inner { height: 64px; }
  .vs-topbar-inner, .vs-main, .vs-footer { padding-left: 16px; padding-right: 16px; }
  .vs-main { padding-top: 16px; padding-bottom: 32px; }
  .vs-user-text, .vs-path-label { display: none; }
  .vs-brand { font-size: 17px; }
  .vs-brand img { width: 34px; height: 34px; }

  /* Status pill: let the subscribe button drop under the label instead of overflowing */
  .vs-status-row { margin-bottom: 12px; }
  .vs-status { flex-wrap: wrap; row-gap: 8px; border-radius: 18px; font-size: 11px; }
  .vs-progress { padding: 14px 16px 16px; margin-bottom: 16px; }
  .vs-progress-title { font-size: 14px; }
  .vs-progress-title b { font-size: 18px; }
  .vs-progress-cheer { font-size: 12px; }

  .vs-card, .su-card { padding: 22px 18px; border-radius: 20px; }
  .vs-card-head { flex-direction: column; margin-bottom: 22px; gap: 10px; }
  .vs-card-head h1 { font-size: 30px; }
  .vs-card-head p { font-size: 15px; }
  .vs-fields, .su-grid-2, .su-types { grid-template-columns: minmax(0, 1fr); }
  .vs-field { margin-bottom: 18px; }

  /* 16px+ text in form controls stops iOS Safari zooming in on focus */
  .vs-editor .ql-container.ql-snow, .vs-tp select { font-size: 16px; }
  .vs-editor .ql-editor { min-height: 120px; }

  .vs-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .vs-cat { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 12px; min-height: 0; }
  .vs-cat-name { font-size: 13px; }
  .vs-cat-check { position: absolute; top: 10px; right: 10px; }

  .vs-img-overlay { display: none; }
  .vs-chips { margin: 16px 0; }
  .vs-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vs-drop { padding: 26px 16px; }

  .vs-day-head { padding: 14px 16px; }
  /* One row each for address, opens and closes: three dropdowns per picker need the full width */
  .vs-day-body { grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 0 16px 16px; }
  .vs-tp { gap: 6px; }
  .vs-tp select { height: 46px; padding: 0 8px; }
  .vs-desktop-only { display: none; }

  /* Action bar: just the buttons, pinned above the home indicator */
  .vs-actionbar {
    bottom: 0;
    margin-left: -16px;
    margin-right: -16px;
    border-radius: 20px 20px 0 0;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    gap: 10px;
  }
  .vs-actionbar-note { display: none; }
  .vs-actionbar .vs-btn { flex: 1; padding: 0 16px; }
  .vs-actionbar .vs-btn-ghost { flex: 0 0 auto; }

  .vs-modal { padding: 12px; align-items: flex-end; }
  .vs-modal-box { padding: 24px 20px calc(20px + env(safe-area-inset-bottom)); border-radius: 24px; }
  .vs-welcome h2 { font-size: 24px; }
  .vs-modal-actions .vs-btn { flex: 1; }

  .vs-toast-wrap { left: 16px; right: 16px; top: 76px; }
  .vs-result h1 { font-size: 30px; }
  .vs-plan-price { font-size: 48px; }
  .vs-footer { flex-direction: column; align-items: center; text-align: center; }
}
@media (max-width: 360px) {
  .vs-cats { grid-template-columns: minmax(0, 1fr); }
}

/* ── Mobile polish for the business signup flow ──────────────
   signup-business → vendor-setup steps → subscribe */
@media (max-width: 720px) {
  /* 16px+ text in form controls stops iOS Safari zooming in on focus */
  .vs-day .vs-input { font-size: 16px; }

  /* Comfortable tap targets (~40px+) for small links and editor buttons */
  .vs-logout { display: inline-flex; align-items: center; min-height: 40px; padding-right: 4px; }
  .vs-status a { min-height: 36px; padding: 8px 14px; }
  .vs-editor .ql-toolbar.ql-snow { display: flex; align-items: center; gap: 4px; padding: 4px 6px; }
  .vs-editor .ql-toolbar.ql-snow .ql-formats { display: flex; margin-right: 0; }
  .vs-editor .ql-toolbar.ql-snow button { width: 38px; height: 38px; padding: 9px; }
  .vs-editor .ql-toolbar.ql-snow button.vs-link-btn { width: auto; height: 38px; padding: 0 8px; white-space: nowrap; }
  .vs-footer nav a { display: inline-block; padding: 8px 2px; }

  /* Subscribe page: the action bar is not sticky there, so keep it a normal rounded card */
  .vs-actionbar.vs-actionbar-static { margin-left: 0 !important; margin-right: 0 !important; border-radius: 20px; padding: 12px; }
  .vs-actionbar.vs-actionbar-static .vs-btn { flex: 1 1 0; padding: 0 12px; }

  /* Subscribe page listing preview */
  .vs-ad { margin-bottom: 22px; }
  .vs-ad-head { padding: 9px 12px; font-size: 10px; letter-spacing: .05em; }
  .vs-ad-head > span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .vs-ad-body { gap: 12px; padding: 12px; }
}

/* ── Mobile polish for login + password recovery ─────────────
   login.php, forgot-password.php */
@media (max-width: 720px) {
  /* Tap targets: small text links get a ~40px touch area without changing how they look */
  .su-label-row { align-items: center; }
  .su-label-row .vs-label { margin-bottom: 0; }
  .su-label-row { margin-bottom: 4px; }
  .su-forgot { display: inline-flex; align-items: center; min-height: 40px; margin: 0; padding-left: 8px; }
  .su-links p { margin: 0; }
  .su-links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 4px; }
  .su-admin { margin-top: 0 !important; }
  .fp-link-btn { min-height: 40px; }
}

/* Short phones (iPhone SE / mini, or a browser with toolbars showing): tighten vertical
   spacing so the main button is visible without scrolling or sitting under the tab bar */
@media (max-width: 720px) and (max-height: 760px) {
  .pn-top ~ .su-wrap, .su-wrap { padding-top: 12px; padding-bottom: 12px; }
  .su-card { padding: 18px 16px; }
  .su-card-head { margin-bottom: 16px; }
  .su-card-head h2 { font-size: 24px; }
  .su-card .vs-eyebrow { margin-bottom: 4px; }
  .su-card .vs-field { margin-bottom: 12px; }
  .su-card .vs-input { height: 50px; }
  .su-card .vs-alert { padding: 10px 12px; margin-bottom: 14px; gap: 10px; }
  .su-card .vs-alert-title { font-size: 15px; }
  .su-card .vs-alert-text { font-size: 13px; }
  .su-links { margin-top: 10px; }
  .fp-progress { margin-bottom: 14px; }
  .fp-icon { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 10px; }
  .fp-icon .material-symbols-outlined { font-size: 22px; }
  .su-card .field-hint { margin-top: 6px; }
  .su-card .field-hint:empty { min-height: 0; margin: 0; }
  .su-card .strength-bar-wrap { margin-top: 8px; }
}
@media (max-width: 720px) and (max-height: 620px) {
  .su-login-head .vs-eyebrow, .su-login-head p { display: none; }
  .fp-icon { display: none; }
}

@media (max-width: 720px) {
  .vs-next { padding: 16px; margin-bottom: 20px; }
  .vs-result-actions .vs-btn { width: 100%; }
}

/* ══════════════════════════════════════════════════════════════
   PAYWALL (subscribe.php), mobile-first, after the POP/up reference design
   ══════════════════════════════════════════════════════════════ */
.pw { position: relative; overflow: hidden; max-width: 540px; margin: 0 auto; padding: 30px 28px 24px; background: var(--card); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); }
.pw-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); text-decoration: none; }
.pw-close:hover { background: var(--surface-2); color: var(--ink); }
.pw-blob { position: absolute; top: 56px; right: -46px; width: 210px; height: 140px; border-radius: 52% 48% 46% 54% / 58% 50% 50% 42%; background: var(--mint-soft); display: grid; place-items: center; transform: rotate(-6deg); pointer-events: none; }
.pw-blob span { font-family: "Sacramento", cursive; font-size: 32px; line-height: 1; color: var(--mint-deep); text-align: center; transform: rotate(-8deg) translateX(-14px); }

.pw-brand { position: relative; display: inline-flex; align-items: center; gap: 8px; color: var(--mint-deep); font-weight: 800; font-size: 30px; letter-spacing: -.02em; margin-bottom: 18px; }
.pw-brand span { color: var(--ink); }
.pw-brand b { color: var(--mint-deep); }
.pw-title { position: relative; font-size: 30px; line-height: 1.1; font-weight: 800; letter-spacing: -.03em; margin: 0 0 10px; max-width: 330px; }
.pw-sub { position: relative; color: var(--ink-2); font-size: 16px; line-height: 1.45; margin: 0 0 20px; max-width: 380px; }

.pw-features { list-style: none; margin: 0 0 18px; padding: 16px; border-radius: var(--radius); background: var(--surface-2); display: grid; gap: 14px; }
.pw-features li { display: flex; gap: 14px; align-items: flex-start; }
.pw-ficon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--mint-soft); color: var(--mint-deep); }
.pw-ficon .material-symbols-outlined { font-size: 22px; }
.pw-features b { display: block; font-size: 15px; margin: 1px 0 2px; }
.pw-features div > span { display: block; font-size: 13px; line-height: 1.45; color: var(--ink-2); }

.pw-plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 14px 0 16px; }
.pw-plan { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 16px 16px 14px; min-height: 172px; text-align: left; font-family: inherit; color: var(--ink); background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease, background .15s ease; }
.pw-plan:hover { border-color: var(--mint); }
.pw-plan.is-selected { border: 2px solid var(--mint-deep); background: #F3FBF8; box-shadow: 0 10px 26px rgba(0, 107, 85, .12); }
.pw-plan:focus-visible { outline: 3px solid rgba(23, 235, 189, .45); outline-offset: 2px; }
/* Ribbon sitting on the card edge so it never crowds the plan name or the check */
.pw-fav { position: absolute; top: -12px; left: 14px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: var(--mint-deep); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 4px 10px rgba(0, 107, 85, .25); }
.pw-fav .material-symbols-outlined { font-size: 14px; }
.pw-plan-label { font-size: 17px; font-weight: 800; }
.pw-price { font-size: 36px; font-weight: 800; letter-spacing: -.03em; line-height: 1; white-space: nowrap; }
.pw-price small { font-size: 15px; font-weight: 600; letter-spacing: 0; color: var(--ink-2); }
.pw-off { padding: 4px 12px; border-radius: 999px; background: var(--mint-soft); color: var(--mint-ink); font-weight: 800; font-size: 14px; }
.pw-note { font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.pw-rule { width: 100%; height: 1px; background: var(--line-2); margin: 4px 0; }
.pw-check { position: absolute; top: 12px; right: 12px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); color: transparent; }
.pw-check .material-symbols-outlined { font-size: 16px; }
.pw-plan.is-selected .pw-check { background: var(--mint-deep); border-color: var(--mint-deep); color: #fff; }

.pw-cta { width: 100%; height: 56px; border: 0; border-radius: var(--radius); background: var(--mint-deep); color: #fff; font-family: inherit; font-size: 18px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer; box-shadow: 0 12px 28px rgba(0, 107, 85, .28); transition: transform .15s ease, background .15s ease; }
.pw-cta:hover { background: #005A48; transform: translateY(-1px); }
.pw-cta:disabled { opacity: .8; cursor: default; transform: none; }
.pw-cta .vs-spinner { border-color: rgba(255,255,255,.35); border-top-color: #fff; }
.pw-error { min-height: 0; margin: 8px 0 0; text-align: center; color: var(--error); font-size: 13px; font-weight: 600; }
.pw-error:empty { margin: 0; }
.pw-fine { display: flex; justify-content: center; gap: 8px; margin: 12px 0 0; font-size: 13px; color: var(--ink-2); }
.pw-dot { color: var(--muted); }
.pw-legal { margin: 8px auto 0; max-width: 420px; text-align: center; font-size: 11px; color: var(--muted); line-height: 1.5; }
.pw-legal .material-symbols-outlined { font-size: 13px; vertical-align: -2px; }
.pw-legal a { color: var(--mint-deep); font-weight: 700; }

.pw-preview { margin: 22px auto 0; max-width: 540px; }
.pw-back { max-width: 540px; margin: 18px auto 0; display: flex; justify-content: center; }
.pw-buy-title { display: none; }

/* Desktop: stretch to the same 860px width as the status row and progress card,
   with the pitch on the left and the plans + CTA on the right */
@media (min-width: 900px) {
  .pw, .pw-preview, .pw-back { max-width: 860px; }
  .pw { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 0 40px; padding: 40px 40px 34px; }
  .pw-intro { position: relative; z-index: 1; }
  .pw-buy { position: relative; z-index: 1; align-self: end; }
  .pw-buy-title { display: block; margin: 0 0 4px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
  .pw-blob { top: 34px; right: 48px; width: 240px; height: 150px; }
  .pw-blob span { font-size: 36px; transform: rotate(-8deg); }
  .pw-close { top: 16px; right: 16px; }
  .pw-title { font-size: 34px; max-width: 380px; }
  .pw-features { margin-bottom: 0; }
  .pw-plans { margin-top: 18px; }
  .pw-plan { min-height: 186px; }
  .pw-price { font-size: 32px; }
}

@media (max-width: 720px) {
  .pw { padding: 22px 18px 18px; border-radius: 24px; }
  .pw-brand { font-size: 26px; margin-bottom: 14px; }
  .pw-blob { top: 22px; right: -54px; width: 160px; height: 96px; }
  .pw-blob span { font-size: 22px; transform: rotate(-8deg) translateX(-18px); }
  .pw-title { font-size: 25px; max-width: 240px; }
  .pw-sub { font-size: 15px; margin-bottom: 16px; }
  .pw-features { padding: 14px 12px; gap: 12px; }
  .pw-ficon { width: 38px; height: 38px; }
  .pw-ficon .material-symbols-outlined { font-size: 20px; }
  .pw-plans { gap: 10px; }
  .pw-plan { padding: 14px 12px 12px; min-height: 0; }
  .pw-price { font-size: 30px; }
  .pw-fav { font-size: 9.5px; padding: 4px 8px; left: 10px; letter-spacing: .04em; }
  .pw-plan { padding-top: 18px; }
  .pw-cta { height: 54px; font-size: 17px; }
}
@media (max-width: 360px) {
  .pw-plans { grid-template-columns: 1fr; }
  .pw-blob { right: -78px; }
  .pw-title { max-width: 225px; }
}

/* ══════════════════════════════════════════════════════════════
   MARKETPLACE (marketplace.php): vendor directory, search by city / ZIP
   ══════════════════════════════════════════════════════════════ */
.mp-wrap { max-width: 1120px; margin: 0 auto; padding: 24px 24px 60px; }
.mp-hero { position: relative; padding: 34px 32px 26px; border-radius: var(--radius-xl); background: linear-gradient(135deg, #E3FBF4 0%, #F6FFFC 60%, #FFFFFF 100%); box-shadow: var(--shadow); margin-bottom: 18px; }
.mp-hero h1 { font-size: 40px; line-height: 1.05; font-weight: 800; letter-spacing: -.03em; margin: 4px 0 8px; }
.mp-hero > p { margin: 0 0 20px; color: var(--ink-2); font-size: 16px; }
.mp-search { max-width: 640px; }
.mp-search-box { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 16px; background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.06); transition: border-color .15s, box-shadow .15s; }
.mp-search-box:focus-within { border-color: var(--mint); box-shadow: 0 0 0 4px rgba(23,235,189,.18); }
.mp-search-box > .material-symbols-outlined { color: var(--mint-deep); }
.mp-search-box input[type=text] { flex: 1; min-width: 0; border: 0; outline: none; background: none; font: inherit; font-size: 17px; color: var(--ink); height: 46px; }
.mp-go { height: 46px; border-radius: 999px; padding: 0 20px; }
.mp-near { margin-top: 12px; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 4px; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--mint-deep); cursor: pointer; }
.mp-near .material-symbols-outlined { font-size: 20px; }
.mp-search-msg { margin: 4px 0 0; min-height: 0; font-size: 13px; color: var(--ink-2); }
.mp-search-msg:empty { display: none; }

.mp-filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.mp-seg { display: inline-flex; background: var(--card); border-radius: 12px; padding: 4px; box-shadow: var(--shadow); }
.mp-seg a { padding: 8px 14px; border-radius: 9px; font-size: 14px; font-weight: 700; color: var(--ink-2); text-decoration: none; white-space: nowrap; }
.mp-seg a:hover { background: var(--surface-2); }
.mp-seg a.on { background: var(--mint-soft); color: var(--mint-ink); }

.mp-summary { margin: 4px 2px 14px; }
.mp-summary h2 { font-size: 20px; font-weight: 800; margin: 0; }
.mp-summary p { margin: 4px 0 0; font-size: 14px; color: var(--ink-2); }

.mp-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mp-card { display: flex; flex-direction: column; height: 100%; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.mp-card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,.1); color: var(--ink); }
.mp-card:focus-visible { outline: 3px solid rgba(23,235,189,.5); outline-offset: 2px; }
.mp-img { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mint-soft); }
.mp-img img { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; object-fit: cover; display: block; }
.mp-initial { position: absolute; inset: 0; display: grid; place-items: center; font-size: 48px; font-weight: 800; color: var(--mint-deep); }
.mp-dist { position: absolute; z-index: 2; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(27,28,26,.82); color: #fff; font-size: 12px; font-weight: 800; }
.mp-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; }
.mp-type { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mint-deep); }
.mp-name { font-size: 18px; font-weight: 800; line-height: 1.2; }
.mp-where { display: flex; align-items: center; gap: 2px; font-size: 13px; color: var(--ink-2); }
.mp-where .material-symbols-outlined { font-size: 16px; color: var(--muted); }
.mp-desc { font-size: 13px; line-height: 1.45; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 2px; }
.mp-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.mp-cats span { padding: 3px 9px; border-radius: 999px; background: var(--surface-2); font-size: 11px; font-weight: 700; color: var(--ink-2); }
.mp-more { text-align: center; color: var(--muted); font-size: 13px; margin: 18px 0 0; }
.mp-empty { text-align: center; padding: 40px 20px; background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.mp-empty > .material-symbols-outlined { font-size: 40px; color: var(--mint-deep); }
.mp-empty h3 { margin: 8px 0 4px; font-size: 18px; font-weight: 800; }
.mp-empty p { margin: 0 0 14px; color: var(--ink-2); }
.mp-cta { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 26px; padding: 18px 20px; border-radius: var(--radius); background: var(--dark); color: #fff; }
.mp-cta b { display: block; font-size: 16px; }
.mp-cta span { font-size: 14px; color: rgba(255,255,255,.75); }

@media (max-width: 960px) { .mp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .mp-wrap { padding: 14px 12px 40px; }
  .mp-hero { padding: 22px 16px 16px; border-radius: 22px; }
  .mp-hero h1 { font-size: 30px; }
  .mp-hero > p { font-size: 15px; margin-bottom: 16px; }
  .mp-search-box { padding-left: 12px; }
  .mp-search-box input[type=text] { font-size: 16px; }
  .mp-go { padding: 0 14px; }
  .mp-go-text { display: none; }
  .mp-filters { flex-direction: column; }
  .mp-seg { width: 100%; }
  .mp-seg a { flex: 1 1 0; text-align: center; padding: 9px 4px; font-size: 13px; white-space: normal; line-height: 1.2; display: flex; align-items: center; justify-content: center; }
  .mp-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .mp-card { flex-direction: row; }
  .mp-img { flex: 0 0 120px; aspect-ratio: auto; min-height: 120px; }
  .mp-initial { font-size: 36px; }
  .mp-dist { left: 6px; bottom: 6px; font-size: 11px; padding: 3px 8px; }
  .mp-body { padding: 12px; min-width: 0; }
  .mp-name { font-size: 16px; }
  .mp-cats span:nth-child(n+3) { display: none; }
}
/* Google Places suggestion list above the sticky bits */
.pac-container { z-index: 500; border-radius: 12px; margin-top: 4px; box-shadow: 0 12px 30px rgba(0,0,0,.12); border: 0; font-family: inherit; }
.mp-type-marketplace { color: #5B2DB0; }

/* ══════════════════════════════════════════════════════════════
   MANAGE SUBSCRIPTION (manage-sub.php)
   ══════════════════════════════════════════════════════════════ */
.ms-wrap { max-width: 640px; margin: 0 auto; padding: 24px 16px 60px; }
.ms-back { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; font-size: 14px; font-weight: 700; color: var(--mint-deep); text-decoration: none; }
.ms-back .material-symbols-outlined { font-size: 18px; }
.ms-title { font-size: 30px; font-weight: 800; letter-spacing: -.02em; margin: 6px 0 16px; }
.ms-card { background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 24px; }
.ms-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line-2); }
.ms-label { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.ms-head h2 { font-size: 22px; font-weight: 800; margin: 4px 0 0; }
.ms-head h2 small { display: inline-block; white-space: nowrap; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.ms-chip { flex-shrink: 0; padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 800; background: var(--surface-2); color: var(--ink-2); }
.ms-chip.on { background: var(--mint-soft); color: var(--mint-ink); }
.ms-chip.trial { background: #E8F0FF; color: #1D4ED8; }
.ms-chip.warn { background: #FFF4E5; color: #7A4B00; }
.ms-facts { margin: 0; padding: 6px 0; }
.ms-facts > div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line-2); font-size: 15px; }
.ms-facts dt { color: var(--ink-2); font-weight: 600; }
.ms-facts dd { margin: 0; font-weight: 800; text-align: right; }
.ms-note { margin: 16px 0 0; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.ms-note a { color: var(--mint-deep); font-weight: 700; }
.ms-actions { margin-top: 18px; display: flex; justify-content: flex-end; }
.ms-cancel { background: #fff; color: var(--error); border: 1.5px solid #F2C4C0; }
.ms-cancel:hover { background: var(--error-soft); color: var(--error-ink); }
.ms-modal-text { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin: 0 0 18px; }
.ms-empty { text-align: center; padding: 12px 0; }
.ms-empty > .material-symbols-outlined { font-size: 40px; color: var(--mint-deep); }
.ms-empty h2 { font-size: 20px; font-weight: 800; margin: 6px 0 4px; }
.ms-empty p { color: var(--ink-2); margin: 0 0 16px; }
.ms-wrap .vs-alert { margin-bottom: 16px; }
@media (max-width: 560px) {
  .ms-card { padding: 18px 16px; }
  .ms-title { font-size: 24px; }
  .ms-actions .vs-btn { width: 100%; }
  .ms-facts > div { flex-direction: column; gap: 2px; }
  .ms-facts dd { text-align: left; }
}

/* ── Short Details step (vendor-setup.php?step=details) ───────── */
.vs-known { display: flex; align-items: center; gap: 12px; padding: 12px 14px; margin: -6px 0 22px; border-radius: var(--radius-sm); background: var(--surface-2); }
.vs-known > .material-symbols-outlined { color: var(--mint-deep); }
.vs-known div { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.vs-known b { font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vs-known small { font-size: 13px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vs-known-note { flex-shrink: 0; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.vs-opt { margin-left: 6px; font-size: 11px; font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--muted); }
.vs-textarea { height: auto; min-height: 92px; padding: 14px 16px; line-height: 1.5; resize: vertical; font-family: inherit; }
.vs-count { margin-top: 6px; text-align: right; font-size: 12px; color: var(--muted); }
.vs-map { margin-top: 12px; }
.vs-more { margin-top: 4px; border-top: 1px solid var(--line-2); padding-top: 14px; }
.vs-more summary { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; cursor: pointer; list-style: none; font-weight: 800; font-size: 15px; color: var(--mint-deep); }
.vs-more summary::-webkit-details-marker { display: none; }
.vs-more summary .material-symbols-outlined { font-size: 20px; transition: transform .2s ease; }
.vs-more[open] summary .material-symbols-outlined { transform: rotate(45deg); }
.vs-more[open] summary { margin-bottom: 12px; }
@media (max-width: 720px) {
  .vs-known { margin-top: -4px; }
  .vs-known-note { display: none; }
  .vs-textarea { font-size: 16px; }
}

/* Paywall trust row (Secure Payments · Cancel Anytime · Your Business. Your Control.) */
.pw-trust { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pw-trust li { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 2px 6px; text-align: center; font-size: 12px; font-weight: 700; line-height: 1.25; color: var(--ink-2); }
.pw-trust li + li { border-left: 1px solid var(--line); }
.pw-trust .material-symbols-outlined { font-size: 20px; color: var(--mint-deep); }
.pw .pw-legal { margin-top: 12px; }

/* ══════════════════════════════════════════════════════════════
   VENDOR CHALLENGE  (vendor-challenge.php)
   Pre-signup "what's your biggest challenge" picker + POP/up's answer.
   ══════════════════════════════════════════════════════════════ */
.vc-col { max-width: 720px; }
.vc-opts { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px; }
@media (min-width: 761px) {
  .vc-opts { grid-template-columns: repeat(3, minmax(0,1fr)); }
  /* roomier 3-up cards: icon on top, text below, check in the corner */
  .vc-opt { position: relative; flex-direction: column; align-items: flex-start; gap: 10px; padding: 16px 16px 18px; }
  .vc-opt-check { position: absolute; top: 12px; right: 12px; }
  .vc-opt-title { font-size: 14.5px; }
}
.vc-opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 2px solid var(--line-2);
  background: var(--card);
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease, transform .15s ease;
}
.vc-opt:hover { border-color: #BFEFE2; transform: translateY(-1px); }
.vc-opt:focus-within { outline: 2px solid var(--mint); outline-offset: 2px; }
.vc-opt input { position: absolute; opacity: 0; pointer-events: none; }
.vc-opt-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--surface-3);
  color: var(--ink-2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.vc-opt-text { flex: 1; min-width: 0; }
.vc-opt-title { display: block; font-weight: 700; font-size: 15px; line-height: 1.3; }
.vc-opt-desc { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }
.vc-opt-check {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--surface-3);
  display: flex; align-items: center; justify-content: center;
  color: transparent;
  flex-shrink: 0;
}
.vc-opt-check .material-symbols-outlined { font-size: 16px; }
.vc-opt.selected { border-color: var(--mint); background: var(--mint-soft); box-shadow: 0 6px 20px rgba(23, 235, 189, .18); }
.vc-opt.selected .vc-opt-icon { background: rgba(23, 235, 189, .25); color: var(--mint-deep); }
.vc-opt.selected .vc-opt-check { background: var(--mint); color: var(--ink); }

.vc-said {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--surface-3);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 700;
}
.vc-said .material-symbols-outlined { font-size: 18px; color: var(--mint-deep); }

.vc-benefits { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 14px; }
.vc-benefits li { display: flex; gap: 12px; align-items: flex-start; font-weight: 700; font-size: 15px; line-height: 1.45; }
.vc-benefits li .material-symbols-outlined {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--mint);
  color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  margin-top: 1px;
}

.vc-tagline {
  margin: 30px 0 0;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mint-deep);
  text-align: center;
}

.vc-skip { text-align: center; margin: 18px 0 0; font-size: 13px; }
.vc-skip a { color: var(--muted); font-weight: 600; }
.vc-skip a:hover { color: var(--ink-2); }

@media (max-width: 720px) {
  .vc-opts { grid-template-columns: minmax(0, 1fr); gap: 12px; }
}

@media (max-width: 560px) {
  .vc-opt { padding: 12px 14px; gap: 12px; }
  .vc-opt-icon { width: 38px; height: 38px; }
  .vc-opt-title { font-size: 14px; }
  .vc-benefits li { font-size: 14px; }
}

/* ══════════════════════════════════════════════════════════════
   VENDOR WELCOME — Screen A, "dream outcome" (vendor-welcome.php)
   ══════════════════════════════════════════════════════════════ */
.vw-col { max-width: 940px; }
.vw-card { padding: 40px; }

.vw-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }

.vw-hero h1 { font-size: clamp(22px, 5.2vw, 36px); font-weight: 800; line-height: 1.12; letter-spacing: -.02em; margin: 2px 0 10px; overflow-wrap: break-word; }
.vw-hero h1 span { display: block; }
.vw-hero h1 .vw-accent { color: var(--mint-deep); }
.vw-lead { margin: 0 0 22px; color: var(--muted); font-size: 15px; line-height: 1.5; }

.vw-platform {
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  text-align: center;
}
.vw-platform-label { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--mint); }
.vw-platform-eq { display: flex; align-items: stretch; justify-content: center; gap: 8px; margin: 14px 0 14px; }
.vw-chip { flex: 1; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 12px 6px; font-weight: 800; font-size: 14px; line-height: 1.1; }
.vw-chip small { display: block; font-weight: 600; font-size: 11px; color: rgba(255,255,255,.6); margin-top: 3px; }
.vw-op { display: flex; align-items: center; color: var(--mint); font-weight: 800; font-size: 18px; }
.vw-platform-sub { font-size: 12.5px; line-height: 1.55; color: rgba(255,255,255,.72); margin: 0; }

.vw-right-label { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.vw-outcomes { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.vw-outcomes li { display: flex; align-items: center; gap: 13px; padding: 14px 16px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); font-weight: 700; font-size: 15px; line-height: 1.25; }
.vw-outcomes li .material-symbols-outlined { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; background: var(--mint-soft); color: var(--mint-deep); display: flex; align-items: center; justify-content: center; font-size: 22px; }

.vw-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); }
.vw-proof > div { padding: 16px 8px; text-align: center; background: var(--surface-2); }
.vw-proof-n { display: block; font-size: 22px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); }
.vw-proof-l { display: block; font-size: 11px; color: var(--muted); margin-top: 3px; line-height: 1.3; }

.vw-cta { margin-top: 32px; max-width: 420px; margin-left: auto; margin-right: auto; }

@media (max-width: 760px) {
  .vw-card { padding: 26px 20px 16px; }
  .vw-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .vw-platform { padding: 20px 18px 18px; }
  .vw-right-label { margin-top: 0; }
  /* Compact outcome cards on mobile */
  .vw-outcomes { gap: 8px; margin-bottom: 18px; }
  .vw-outcomes li { padding: 10px 12px; gap: 10px; font-size: 13.5px; }
  .vw-outcomes li .material-symbols-outlined { width: 34px; height: 34px; font-size: 18px; border-radius: 10px; }
  .vw-right-label { margin-bottom: 8px; }

  /* Keep the primary CTA in view on a tall mobile page, above the bottom tab bar */
  .vw-cta {
    position: sticky;
    bottom: calc(76px + env(safe-area-inset-bottom));
    z-index: 40;
    margin: 18px -20px -16px;
    padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
    background: var(--card);
    border-top: 1px solid var(--line-2);
  }
  .vw-cta .vs-btn { font-size: clamp(14px, 3.6vw, 16px); white-space: normal; height: auto; min-height: 54px; line-height: 1.2; padding: 12px 18px; }
}

/* ══════════════════════════════════════════════════════════════
   VENDOR TYPE — Screen B, "what will you do" (vendor-type.php)
   ══════════════════════════════════════════════════════════════ */
.vt-cards { display: grid; gap: 14px; margin-bottom: 24px; }
.vt-card {
  position: relative;
  display: block;
  cursor: pointer;
  border: 2px solid var(--line-2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--card);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.vt-card:hover { border-color: #BFEFE2; transform: translateY(-1px); }
.vt-card input { position: absolute; opacity: 0; pointer-events: none; }
.vt-card-media { height: 120px; background-size: cover; background-position: center; position: relative; }
.vt-card-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.28)); }
.vt-card-body { padding: 16px 18px 18px; }
.vt-card-title { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; line-height: 1.25; margin-bottom: 6px; }
.vt-card-title .material-symbols-outlined { color: var(--mint-deep); }
.vt-card-desc { display: block; font-size: 13px; color: var(--muted); line-height: 1.5; }
.vt-card-check { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border-radius: 50%; background: rgba(255,255,255,.9); display: flex; align-items: center; justify-content: center; color: transparent; z-index: 1; }
.vt-card-check .material-symbols-outlined { font-size: 18px; }
.vt-card.selected { border-color: var(--mint); box-shadow: 0 8px 24px rgba(23,235,189,.2); }
.vt-card.selected .vt-card-check { background: var(--mint); color: var(--ink); }

/* ══════════════════════════════════════════════════════════════
   PAYWALL #4 — restyle (subscribe.php)
   ══════════════════════════════════════════════════════════════ */
.pw4-wrap { max-width: 480px; margin: 0 auto; padding: 0 16px 40px; }
.pw4-card { background: var(--card); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.pw4-hero { position: relative; height: 260px; background-size: cover; background-position: center 32%; display: flex; align-items: flex-start; justify-content: center; padding: 16px; }
.pw4-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.45)); }
.pw4-hero-brand { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 800; font-size: 18px; text-shadow: 0 1px 8px rgba(0,0,0,.4); }
.pw4-hero-brand .material-symbols-outlined { color: var(--mint); }
.pw4-hero-brand b { color: var(--mint); }
.pw4-body { padding: 24px 22px 26px; }
.pw4-title { font-size: 25px; font-weight: 800; line-height: 1.12; letter-spacing: -.02em; text-align: center; margin: 0 0 18px; }
.pw4-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 18px; }
.pw4-stat { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 12px; text-align: center; }
.pw4-stat small { display: block; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pw4-stat b { display: block; font-size: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin: 2px 0; }
.pw4-stat span { display: block; font-size: 11px; color: var(--muted); line-height: 1.25; }

.pw4-plans { display: grid; gap: 12px; margin-bottom: 18px; }
.pw4-plan { position: relative; display: block; width: 100%; text-align: left; cursor: pointer; border: 2px solid var(--line-2); border-radius: var(--radius); background: var(--card); padding: 16px 18px; transition: border-color .15s ease, background .15s ease, box-shadow .15s ease; }
.pw4-plan:hover { border-color: #BFEFE2; }
.pw4-plan-top { display: flex; align-items: center; gap: 10px; }
.pw4-radio { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0; display: flex; align-items: center; justify-content: center; color: transparent; }
.pw4-radio .material-symbols-outlined { font-size: 15px; }
.pw4-plan-name { font-weight: 800; font-size: 14px; }
.pw4-plan-price { margin: 8px 0 0 32px; font-size: 22px; font-weight: 800; letter-spacing: -.02em; }
.pw4-plan-price small { font-size: 13px; font-weight: 600; color: var(--muted); }
.pw4-plan-note { display: block; margin: 2px 0 0 32px; font-size: 12.5px; color: var(--muted); }
.pw4-free { position: absolute; top: 14px; right: 16px; background: var(--mint); color: var(--ink); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; }
.pw4-plan.is-selected { border-color: var(--mint); background: var(--mint-soft); box-shadow: 0 6px 20px rgba(23,235,189,.16); }
.pw4-plan.is-selected .pw4-radio { border-color: var(--mint); background: var(--mint); color: var(--ink); }

.pw4-cta { width: 100%; height: 54px; border: 0; border-radius: 999px; background: var(--mint); color: var(--ink); font-family: inherit; font-weight: 800; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 8px 24px rgba(23,235,189,.35); transition: box-shadow .15s ease; }
.pw4-cta:hover { box-shadow: 0 12px 30px rgba(23,235,189,.5); }
.pw4-cta[disabled] { opacity: .7; cursor: default; }
.pw4-fine { margin: 16px 0 0; font-size: 12px; color: var(--muted); text-align: center; line-height: 1.5; }
.pw4-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 14px 0 0; font-size: 12px; color: var(--muted); }
.pw4-secure .material-symbols-outlined { font-size: 15px; }
.pw4-error { margin: 10px 0 0; text-align: center; font-size: 13px; color: var(--error); min-height: 1em; }
.pw4-skip { display: block; text-align: center; margin: 14px 0 0; font-size: 13px; color: var(--muted); }

@media (min-width: 761px) {
  /* Keep the vendor funnel screens fitting the desktop viewport (no scroll) */
  .su-wrap { padding-top: 24px; padding-bottom: 24px; }
}
@media (min-width: 761px) {
  /* Desktop: hero becomes a tall side panel so the image stays big and the card still fits the screen */
  .pw4-wrap { max-width: 860px; }
  .pw4-card { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); align-items: stretch; }
  .pw4-hero { height: auto; min-height: 100%; align-items: flex-start; justify-content: flex-start; padding: 20px; }
  .pw4-body { padding: 26px 30px; display: flex; flex-direction: column; justify-content: center; }
  .pw4-title { text-align: left; font-size: 26px; }
}

@media (max-width: 480px) {
  .pw4-title { font-size: 22px; }
  .pw4-stat b { font-size: 22px; }
}
