@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&family=DM+Sans:ital,wght@0,400;0,500;0,600;1,400&display=swap');
/* NIDO PWA — Design System v4 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* ── LIGHT TOKENS ─────────────────────────────────────── */
:root {
  --color-primary: #1A1B41;
  --color-accent: #00D4A3;
  --indigo:     #0D2B1F;
  --indigo-mid: #174d38;
  --indigo-lt:  #2a7a58;
  --mint:       #f0a85a;
  --mint-dark:  #E8933A;
  --mint-glow:  rgba(232,147,58,0.12);
  --terra:      #E2725B;
  --terra-lt:   rgba(226,114,91,0.1);
  --bg:         #F0F2F4;
  --bg-2:       #E4E7EC;
  --surface:    #FFFFFF;
  --surface-2:  #F7F8FA;
  --text:       #1A1B41;
  --text-2:     #374151;
  --text-muted: #6B7280;
  --text-light: #9CA3AF;
  --border:     rgba(26,27,65,0.09);
  --border-mid: rgba(26,27,65,0.15);
  --sidebar-w:  260px;
  --safe-b:     env(safe-area-inset-bottom, 0px);
  --safe-t:     env(safe-area-inset-top, 0px);
  --r:          14px;
  --r-sm:       10px;
  --sh:         0 1px 3px rgba(26,27,65,0.06), 0 2px 8px rgba(26,27,65,0.04);
  --sh-lg:      0 8px 28px rgba(26,27,65,0.10);

  --primary:    #0D2B1F;
  --accent:     #E8933A;
  --brand:      #0D2B1F;
}

/* ── DARK TOKENS ──────────────────────────────────────── */
[data-theme="dark"] {
  --bg:         #0D0F1A;
  --bg-2:       #161829;
  --surface:    #181C2E;
  --surface-2:  #1E2236;
  --text:       #E8EAF4;
  --text-2:     #B0B4C8;
  --text-muted: #6B7494;
  --text-light: #454970;
  --border:     rgba(255,255,255,0.07);
  --border-mid: rgba(255,255,255,0.13);
  --sh:         0 1px 3px rgba(0,0,0,0.3), 0 2px 8px rgba(0,0,0,0.2);
  --sh-lg:      0 8px 28px rgba(0,0,0,0.4);
}

/* ── RESET ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg); color: var(--text);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none; overflow-x: hidden;
  transition: background .25s, color .25s;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea {
  font-family: inherit; font-size: 15px;
  background: var(--surface); border: 1.5px solid var(--border-mid);
  border-radius: var(--r-sm); padding: 12px 14px;
  width: 100%; color: var(--text); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(26,27,65,0.08);
}
[data-theme="dark"] input:focus,
[data-theme="dark"] select:focus,
[data-theme="dark"] textarea:focus {
  border-color: var(--mint-dark);
  box-shadow: 0 0 0 3px rgba(0,212,163,0.12);
}
textarea { resize: vertical; min-height: 90px; }
svg { color: inherit; flex-shrink: 0; }

/* ── APP SHELL ────────────────────────────────────────── */

/* ── Layout shell (body is the flex container) ──────────── */
html { height: 100% !important; }
body {
  display: flex !important;
  flex-direction: column !important;
  width: 100%;
  height: 100% !important;
  min-height: 100dvh;
  overflow: hidden;
}
@media (min-width: 481px) {
  body { flex-direction: row !important; }
}
#content {
  flex: 1;
  order: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  background: var(--bg);
  min-height: 0;
}
#app {
  width: 100%; height: 100dvh;
  display: flex; flex-direction: column;
  background: var(--bg); overflow: hidden;
}
#content {
  flex: 1; order: 1;
  overflow-y: auto; overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  background: var(--bg);
}

/* ── LOADER ───────────────────────────────────────────── */
.screen-loader { display: flex; align-items: center; justify-content: center; min-height: 50vh; }
.sl-ring {
  width: 32px; height: 32px;
  border: 3px solid var(--border-mid);
  border-top-color: var(--mint-dark);
  border-radius: 50%;
  animation: spin .65s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── BOTTOM NAV (mobile) ──────────────────────────────── */
.app-nav {
  order: 2; flex-shrink: 0; display: flex;
  background: var(--surface); border-top: 1px solid var(--border);
  padding-bottom: var(--safe-b); z-index: 100;
  transition: background .25s;
}
/* Hide sidebar toggle on mobile bottom nav */
.sb-toggle-btn { display: none; }
.an-btn {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: 2px; padding: 9px 4px 7px;
  font-size: 10px; font-weight: 500; color: var(--text-muted);
  transition: color .2s;
}
.an-btn.active { color: var(--indigo); font-weight: 700; }
[data-theme="dark"] .an-btn.active { color: var(--mint-dark); }

/* ── BUTTONS ──────────────────────────────────────────── */
.btn-primary {
  background: var(--indigo); color: #fff;
  padding: 13px 20px; border-radius: var(--r-sm);
  font-weight: 600; font-size: 15px;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  transition: background .2s, transform .15s;
  width: 100%; border: none; cursor: pointer;
}
.btn-primary:hover  { background: var(--indigo-mid); }
.btn-primary:active { transform: scale(.98); }
[data-theme="dark"] .btn-primary { background: var(--mint-dark); color: var(--indigo); }
[data-theme="dark"] .btn-primary:hover { background: var(--mint); }

.btn-mint {
  background: var(--mint-dark); color: var(--indigo);
  padding: 13px 20px; border-radius: var(--r-sm);
  font-weight: 700; font-size: 15px;
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  width: 100%; border: none; cursor: pointer;
  transition: background .2s, transform .15s;
}
.btn-mint:hover  { background: var(--mint); }
.btn-mint:active { transform: scale(.98); }

.btn-outline {
  background: none; border: 1.5px solid var(--indigo); color: var(--indigo);
  padding: 11px 18px; border-radius: var(--r-sm);
  font-weight: 600; font-size: 14px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  transition: background .15s;
}
.btn-outline:hover { background: rgba(26,27,65,.05); }
[data-theme="dark"] .btn-outline { border-color: var(--mint-dark); color: var(--mint-dark); }

.btn-outline-light {
  background: rgba(255,255,255,.1); color: #fff;
  border: 1.5px solid rgba(255,255,255,.25);
  padding: 13px 20px; border-radius: var(--r-sm);
  font-weight: 500; font-size: 15px; width: 100%;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .15s;
}
.btn-outline-light:hover { background: rgba(255,255,255,.18); }

.btn-outline-danger {
  background: none; border: 1.5px solid var(--terra); color: var(--terra);
  padding: 11px 18px; border-radius: var(--r-sm);
  font-weight: 600; font-size: 14px; width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer;
}
.btn-ghost-sm { background: none; color: var(--text-muted); font-size: 14px; padding: 8px; width: 100%; margin-top: 8px; cursor: pointer; }

.icon-btn {
  background: none; border: none; cursor: pointer;
  padding: 6px; border-radius: 8px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: background .15s, color .15s;
}
.icon-btn:hover { background: var(--bg-2); color: var(--text); }

.spinner {
  width: 17px; height: 17px;
  border: 2px solid rgba(255,255,255,.3); border-top-color: #fff;
  border-radius: 50%; display: inline-block;
  animation: spin .6s linear infinite;
}
[data-theme="dark"] .btn-primary .spinner { border-top-color: var(--indigo); border-color: rgba(26,27,65,.3); }

/* ── FORMS ────────────────────────────────────────────── */
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block; font-size: 11px; font-weight: 700;
  color: var(--text-muted); margin-bottom: 5px;
  letter-spacing: .4px; text-transform: uppercase;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pw-wrap { position: relative; }
.pw-wrap input { padding-right: 46px; }
.pw-toggle {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: none; color: var(--text-muted);
  cursor: pointer; padding: 4px; display: flex; align-items: center;
  border: none; transition: color .2s;
}
.pw-toggle:hover { color: var(--indigo); }

/* ── AVATAR ───────────────────────────────────────────── */
.avatar-placeholder {
  border-radius: 50%; background: var(--indigo);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--mint-dark); flex-shrink: 0;
}
[data-theme="dark"] .avatar-placeholder { background: var(--indigo-lt); }
.avatar-img { border-radius: 50%; object-fit: cover; flex-shrink: 0; }

/* ── ONBOARDING ───────────────────────────────────────── */
.onboard-screen { min-height: 100dvh; display: flex; flex-direction: column; padding-top: var(--safe-t); }
.ob-skip { align-self: flex-end; padding: 16px 24px; color: rgba(255,255,255,.45); font-size: 14px; cursor: pointer; border: none; background: none; }
.ob-skip:hover { color: #fff; }
.ob-body { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 32px; text-align: center; }
.ob-icon { color: rgba(255,255,255,.9); margin-bottom: 28px; }
.ob-title { font-family: 'Inter', sans-serif; font-size: 27px; font-weight: 700; color: #fff; letter-spacing: -.5px; margin-bottom: 14px; }
.ob-desc  { font-size: 15px; color: rgba(255,255,255,.55); line-height: 1.7; max-width: 320px; }
.ob-footer { padding: 24px 28px calc(24px + var(--safe-b)); display: flex; align-items: center; justify-content: space-between; }
.ob-dots { display: flex; gap: 8px; }
.ob-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.2); transition: all .2s; }
.ob-dot.active { background: var(--mint); width: 22px; border-radius: 4px; }
.btn-ob-next, .btn-ob-start {
  background: rgba(255,255,255,.12); color: #fff;
  border: 1.5px solid rgba(255,255,255,.25);
  padding: 11px 20px; border-radius: var(--r-sm);
  font-weight: 600; font-size: 15px; cursor: pointer;
  display: flex; align-items: center; gap: 6px;
  transition: background .2s;
}
.btn-ob-start { background: var(--mint-dark); color: var(--indigo); border-color: var(--mint-dark); }
.btn-ob-next:hover  { background: rgba(255,255,255,.22); }
.btn-ob-start:hover { background: var(--mint); }

/* ── LANDING PAGE ─────────────────────────────────────── */
.landing-page { background: var(--bg); }
.lp-hero { background: var(--indigo); padding: 60px 24px 52px; padding-top: calc(60px + var(--safe-t)); }
.lp-hero-inner { max-width: 560px; margin: 0 auto; }
.lp-logo { font-family: 'Inter', sans-serif; font-weight: 900; font-size: 26px; color: #fff; margin-bottom: 32px; letter-spacing: -0.3px; }
.lp-logo span { color: var(--mint); }
.lp-hero h1 { font-family: 'Inter', sans-serif; font-size: clamp(30px,8vw,50px); font-weight: 900; color: #fff; line-height: 1.08; letter-spacing: -0.5px; margin-bottom: 16px; }
.lp-hero h1 em { color: var(--mint); font-style: italic; }
.lp-hero-inner > p { font-size: 15px; color: rgba(255,255,255,.5); line-height: 1.7; margin-bottom: 28px; }
.lp-hero-btns { display: flex; flex-direction: column; gap: 11px; margin-bottom: 22px; }
.lp-cta { font-size: 16px; font-weight: 700; }
.lp-trust-row { display: flex; gap: 16px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); }
.lp-trust-row span { font-size: 12px; color: rgba(255,255,255,.4); display: flex; align-items: center; gap: 5px; }
.lp-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 1px; background: var(--border); }
.lp-stat { background: var(--surface); padding: 20px 16px; text-align: center; }
.lp-stat-n { font-family: 'Inter', sans-serif; font-size: 24px; font-weight: 900; color: var(--indigo); letter-spacing: -.5px; }
.lp-stat-l { font-size: 11px; color: var(--text-muted); margin-top: 3px; font-weight: 500; }
[data-theme="dark"] .lp-stat-n { color: var(--mint-dark); }
.lp-section { padding: 44px 24px; }
.lp-section-dark { background: var(--indigo); padding: 44px 24px; }
.lp-section-title { font-family: 'Inter', sans-serif; font-size: 22px; font-weight: 700; letter-spacing: -.5px; margin-bottom: 22px; color: var(--text); }
.lp-steps { display: flex; flex-direction: column; gap: 12px; }
.lp-step { background: var(--surface); border-radius: var(--r); padding: 18px; border: 1px solid var(--border); }
.lp-step-icon { color: var(--mint-dark); margin-bottom: 10px; }
.lp-step h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.lp-step p  { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.lp-features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); }
.lp-feat-card { background: var(--surface); padding: 22px 18px; }
.lp-feat-icon { color: var(--text-muted); margin-bottom: 10px; }
.lp-feat-card h3 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.lp-feat-card p  { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.lp-feat-dark { background: var(--indigo); }
.lp-feat-dark .lp-feat-icon { color: rgba(255,255,255,.5); }
.lp-feat-dark h3 { color: #fff; }
.lp-feat-dark p  { color: rgba(255,255,255,.5); }
.lp-feat-mint { background: var(--mint-glow); }
.lp-feat-mint .lp-feat-icon { color: var(--mint-dark); }
.lp-compare-table { border-radius: var(--r); overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.lp-compare-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr; padding: 11px 14px; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 12px; gap: 8px; align-items: center; }
.lp-compare-row:last-child { border: none; }
.lp-compare-head { font-weight: 700; color: rgba(255,255,255,.4); font-size: 10px; text-transform: uppercase; letter-spacing: .5px; }
.lp-compare-row > div:first-child { color: rgba(255,255,255,.75); }
.bad  { color: rgba(255,255,255,.3); }
.good { color: var(--mint); font-weight: 600; display: flex; align-items: center; gap: 4px; }
.lp-final-cta { padding: 44px 24px; text-align: center; background: var(--surface); }
.lp-final-cta h2 { font-family: 'Inter', sans-serif; font-size: 24px; font-weight: 700; color: var(--text); letter-spacing: -.5px; margin-bottom: 8px; }
.lp-final-cta > p { font-size: 14px; color: var(--text-muted); margin-bottom: 22px; }
.lp-final-cta .btn-mint { max-width: 340px; margin: 0 auto; }
.lp-small { margin-top: 14px; font-size: 13px; color: var(--text-muted); }
.lp-small a { color: var(--mint-dark); font-weight: 600; cursor: pointer; }
.lp-footer { background: var(--indigo); padding: 28px 24px; text-align: center; }
.lp-footer-logo { font-family: 'Inter', sans-serif; font-weight: 900; font-size: 20px; color: #fff; margin-bottom: 14px; }
.lp-footer-logo span { color: var(--mint); }
.lp-footer-links { display: flex; flex-wrap: wrap; gap: 10px 18px; justify-content: center; margin-bottom: 14px; }
.lp-footer-links a { font-size: 13px; color: rgba(255,255,255,.4); cursor: pointer; transition: color .2s; }
.lp-footer-links a:hover { color: #fff; }
.lp-footer-copy { font-size: 12px; color: rgba(255,255,255,.2); }

/* ── AUTH ─────────────────────────────────────────────── */
.screen-auth { min-height: 100dvh; display: flex; flex-direction: column; background: var(--bg); }
.auth-panel-left { display: none; }
.auth-panel-right { flex: 1; display: flex; align-items: center; justify-content: center; padding: 40px 24px; background: var(--bg); overflow-y: auto; }
.auth-form-wrap { width: 100%; max-width: 400px; }
.auth-logo-sm { font-family: 'Inter', sans-serif; font-weight: 900; font-size: 23px; color: var(--indigo); margin-bottom: 26px; display: inline-block; cursor: pointer; letter-spacing: -0.3px; }
.auth-logo-sm span { color: var(--mint-dark); }
.auth-logo-lg { font-family: 'Inter', sans-serif; font-weight: 900; font-size: 26px; color: #fff; margin-bottom: 32px; letter-spacing: -0.3px; }
.auth-logo-lg span { color: var(--mint); }
.auth-form-title { font-family: 'Inter', sans-serif; font-size: 24px; font-weight: 700; color: var(--text); letter-spacing: -.5px; margin-bottom: 5px; }
.auth-form-sub   { font-size: 14px; color: var(--text-muted); margin-bottom: 22px; }
.auth-switch { text-align: center; margin-top: 18px; font-size: 14px; color: var(--text-muted); }
.auth-switch a { color: var(--indigo); font-weight: 600; cursor: pointer; }
[data-theme="dark"] .auth-switch a { color: var(--mint-dark); }
.auth-error { background: rgba(226,114,91,.1); border: 1px solid rgba(226,114,91,.25); color: var(--terra); font-size: 13px; padding: 10px 13px; border-radius: var(--r-sm); margin-bottom: 12px; line-height: 1.5; }
.apl-headline { font-family: 'Inter', sans-serif; font-size: 24px; font-weight: 700; color: #fff; line-height: 1.2; letter-spacing: -.5px; margin-bottom: 12px; }
.apl-sub { font-size: 14px; color: rgba(255,255,255,.48); line-height: 1.7; margin-bottom: 28px; }
.apl-features { display: flex; flex-direction: column; gap: 11px; }
.apl-feat { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,.6); font-weight: 500; }
.apl-feat-dot { color: var(--mint); display: flex; align-items: center; }

/* ── HOME ─────────────────────────────────────────────── */
.home-scroll { padding-bottom: 16px; }
.home-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 12px; padding-top: calc(14px + var(--safe-t)); gap: 10px; }
.home-header-left { display: flex; align-items: center; gap: 10px; cursor: pointer; flex: 1; min-width: 0; }
.home-greet { font-size: 14px; color: var(--text-2); font-weight: 400; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-greet strong { color: var(--text); font-weight: 600; }
.home-header-right { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.notif-badge { position: absolute; top: 2px; right: 2px; background: var(--terra); color: #fff; font-size: 9px; font-weight: 700; width: 16px; height: 16px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid var(--surface); }

.wallet-card-wrap { padding: 0 16px 14px; }
.wallet-card { background: var(--indigo); border-radius: var(--r); padding: 20px; position: relative; overflow: hidden; }
[data-theme="dark"] .wallet-card { background: var(--surface-2); border: 1px solid var(--border-mid); }
.wc-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 5px; }
.wc-label { font-family: 'Inter', sans-serif; font-size: 10px; letter-spacing: 2px; color: rgba(255,255,255,.4); text-transform: uppercase; }
.wc-balance { font-family: 'Inter', sans-serif; font-size: 30px; font-weight: 900; color: #fff; letter-spacing: -0.3px; margin-bottom: 18px; }
[data-theme="dark"] .wc-balance { color: var(--mint-dark); }
.wc-actions { display: flex; gap: 7px; }
.wc-btn { flex: 1; background: rgba(255,255,255,.09); border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.7); border-radius: 8px; padding: 8px 6px; font-size: 12px; font-weight: 500; cursor: pointer; transition: background .2s; display: flex; align-items: center; justify-content: center; gap: 4px; }
.wc-btn:hover { background: rgba(255,255,255,.16); }
.bal-eye { color: rgba(255,255,255,.45) !important; }
.bal-eye:hover { color: rgba(255,255,255,.8) !important; }
[data-theme="dark"] .bal-eye { color: var(--text-muted) !important; }

.vault-banner { margin: 0 16px 14px; background: var(--indigo-mid); border-radius: var(--r); padding: 17px; display: flex; justify-content: space-between; align-items: flex-start; cursor: pointer; }
[data-theme="dark"] .vault-banner { background: var(--surface-2); border: 1px solid var(--border-mid); }
.vb-label  { font-size: 10px; letter-spacing: 1px; color: rgba(255,255,255,.45); margin-bottom: 4px; text-transform: uppercase; display: flex; align-items: center; gap: 5px; }
.vb-amount { font-family: 'Inter', sans-serif; font-size: 22px; font-weight: 700; color: #fff; letter-spacing: -.5px; }
[data-theme="dark"] .vb-amount { color: var(--mint-dark); }
.vb-yield  { font-size: 12px; color: var(--mint); margin-top: 3px; font-weight: 500; display: flex; align-items: center; gap: 4px; }
.vb-right  { text-align: right; }
.vb-goal   { font-size: 11px; color: rgba(255,255,255,.45); margin-bottom: 5px; }
.vb-bar    { width: 100px; height: 4px; background: rgba(255,255,255,.14); border-radius: 2px; overflow: hidden; }
.vb-fill   { height: 100%; background: var(--mint); border-radius: 2px; transition: width 1s ease; }
.vb-target { font-size: 10px; color: rgba(255,255,255,.3); margin-top: 3px; }

.quick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(64px, 1fr)); gap: 8px; padding: 0 16px 16px; }
.qa { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 12px 4px; text-align: center; cursor: pointer; font-size: 10px; font-weight: 500; color: var(--text-muted); display: flex; flex-direction: column; align-items: center; gap: 5px; box-shadow: var(--sh); transition: all .15s; }
.qa > span { color: var(--text-muted); display: flex; }
.qa:hover { border-color: var(--indigo); color: var(--text); }
.qa:hover > span { color: var(--indigo); }
[data-theme="dark"] .qa:hover { border-color: var(--mint-dark); }
[data-theme="dark"] .qa:hover > span { color: var(--mint-dark); }
.qa:active { transform: scale(.97); }

.section-head { display: flex; justify-content: space-between; align-items: center; padding: 6px 16px 10px; font-size: 15px; font-weight: 600; color: var(--text); }
.section-head a { font-size: 13px; color: var(--mint-dark); cursor: pointer; font-weight: 500; display: flex; align-items: center; gap: 4px; }
.listings-row { display: flex; gap: 12px; overflow-x: auto; padding: 0 16px 8px; scroll-snap-type: x mandatory; }
.listings-row::-webkit-scrollbar { display: none; }
.listings-row .listing-card { min-width: 210px; scroll-snap-align: start; }
.empty-hint { color: var(--text-muted); font-size: 14px; padding: 20px 16px; }

/* ── LISTINGS ─────────────────────────────────────────── */
.screen-listings-inner { padding-top: var(--safe-t); }
.listings-header { padding: 12px 16px 8px; position: sticky; top: 0; background: var(--bg); z-index: 10; border-bottom: 1px solid var(--border); }
.search-bar-wrap { display: flex; gap: 8px; margin-bottom: 8px; }
.search-bar-wrap input { flex: 1; height: 44px; padding: 0 14px; }
.filter-btn { flex-shrink: 0; background: var(--indigo); color: #fff; padding: 0 14px; border-radius: var(--r-sm); font-weight: 600; font-size: 13px; white-space: nowrap; height: 44px; cursor: pointer; display: flex; align-items: center; gap: 6px; border: none; }
[data-theme="dark"] .filter-btn { background: var(--mint-dark); color: var(--indigo); }
.filter-chips { display: flex; gap: 6px; overflow-x: auto; min-height: 28px; }
.filter-chips::-webkit-scrollbar { display: none; }
.chip { background: var(--indigo); color: #fff; padding: 3px 10px; border-radius: 100px; font-size: 11px; white-space: nowrap; cursor: pointer; flex-shrink: 0; display: inline-flex; align-items: center; gap: 4px; }
.tier-chip { background: var(--mint-dark); color: var(--indigo); }
.listings-count { padding: 8px 16px 4px; font-size: 12px; color: var(--text-muted); }

/* Grid: 2 mobile / 3 tablet / 4 desktop */
.listings-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 10px;
  padding: 6px 16px 16px;
  align-items: start;
}
@media (min-width: 580px)  { .listings-grid { grid-template-columns: repeat(3,1fr); gap: 12px; } }
@media (min-width: 900px)  { .listings-grid { grid-template-columns: repeat(4,1fr); gap: 14px; } }
@media (min-width: 1200px) { .listings-grid { grid-template-columns: repeat(5,1fr); } }

.pagination { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 16px; }
.pagination button { background: var(--indigo); color: #fff; padding: 8px 16px; border-radius: 8px; font-weight: 600; font-size: 13px; cursor: pointer; display: flex; align-items: center; gap: 5px; border: none; }
[data-theme="dark"] .pagination button { background: var(--mint-dark); color: var(--indigo); }
.pagination span { font-size: 13px; color: var(--text-muted); }

/* ── LISTING CARD ─────────────────────────────────────── */
.listing-card {
  background: var(--surface);
  border-radius: var(--r);
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--sh);
  border: 1px solid var(--border);
  transition: transform .2s, box-shadow .2s;
  display: flex;
  flex-direction: column;
  /* fixed total height so all cards are same size */
  height: 260px;
}
@media (min-width:580px)  { .listing-card { height: 280px; } }
@media (min-width:900px)  { .listing-card { height: 290px; } }
.listing-card:hover  { transform: translateY(-2px); box-shadow: var(--sh-lg); }
.listing-card:active { transform: scale(.97); }
.lc-image {
  position: relative;
  flex-shrink: 0;
  height: 140px;
  overflow: hidden;
  background: var(--primary);
}
@media (min-width:580px) { .lc-image { height: 155px; } }
@media (min-width:900px) { .lc-image { height: 160px; } }
.lc-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.listing-card:hover .lc-image img { transform: scale(1.04); }
.lc-type { position: absolute; top: 8px; left: 8px; background: rgba(26,27,65,.78); color: #fff; font-size: 10px; padding: 3px 8px; border-radius: 100px; text-transform: uppercase; letter-spacing: .5px; backdrop-filter: blur(4px); }
.lc-save { position: absolute; bottom: 8px; right: 8px; background: rgba(255,255,255,.92); width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: none; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.12); transition: transform .2s; color: var(--text-muted); }
.lc-save:hover { transform: scale(1.1); }
.lc-save.saved { color: var(--terra); }
.lc-body {
  padding: 10px 12px 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 0;
  overflow: hidden;
}
.lc-price { font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 700; letter-spacing: -.5px; color: var(--text); }
.lc-price span { font-size: 11px; font-family: 'Inter', sans-serif; color: var(--text-muted); font-weight: 400; }
.lc-title { font-size: 12px; font-weight: 600; margin: 3px 0 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); line-height: 1.3; }
.lc-loc   { font-size: 11px; color: var(--text-muted); margin-bottom: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: flex; align-items: center; gap: 3px; }
.lc-meta  { display: flex; gap: 5px; flex-wrap: wrap; }
.lc-meta span { font-size: 10px; color: var(--text-muted); background: var(--bg); padding: 2px 6px; border-radius: 5px; display: flex; align-items: center; gap: 3px; }
.tier-badge { font-size: 10px; padding: 3px 7px; border-radius: 100px; font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 3px; margin-top: 3px; }
.tier-badge.t1 { background: rgba(107,114,128,.12); color: #6B7280; }
.tier-badge.t2 { background: rgba(226,114,91,.12);  color: var(--terra); }
.tier-badge.t3 { background: var(--mint-glow);       color: var(--mint-dark); }

/* ── LISTING DETAIL ───────────────────────────────────── */
.screen-detail { padding-bottom: 100px; }
.detail-header { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; background: var(--bg); border-bottom: 1px solid var(--border); gap: 8px; }
.detail-gallery { position: relative; }
.detail-gallery #main-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 6px; overflow-x: auto; padding: 7px 16px; }
.gallery-thumbs::-webkit-scrollbar { display: none; }
.gallery-thumbs img { width: 60px; height: 46px; border-radius: 6px; object-fit: cover; cursor: pointer; opacity: .55; transition: opacity .2s; flex-shrink: 0; }
.gallery-thumbs img.active, .gallery-thumbs img:hover { opacity: 1; }
.gallery-badges { position: absolute; bottom: 54px; left: 10px; display: flex; gap: 6px; }
.flood-badge { font-size: 10px; padding: 3px 8px; border-radius: 100px; font-weight: 600; display: flex; align-items: center; gap: 3px; }
.flood-badge.flood-low    { background: var(--mint-glow);            color: var(--mint-dark); }
.flood-badge.flood-medium { background: rgba(226,114,91,.12);        color: var(--terra); }
.flood-badge.flood-high   { background: rgba(220,38,38,.1);          color: #DC2626; }
.detail-body { padding: 16px; }
.detail-price { font-family: 'Inter', sans-serif; font-size: 26px; font-weight: 900; letter-spacing: -0.3px; color: var(--text); margin-bottom: 3px; }
.detail-price span { font-size: 13px; font-family: 'Inter', sans-serif; color: var(--text-muted); }
.detail-title    { font-family: 'Inter', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 5px; color: var(--text); letter-spacing: -.5px; }
.detail-location { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; display: flex; align-items: center; gap: 4px; }
.detail-specs    { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 14px; }
.spec { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 7px 11px; font-size: 12px; display: flex; align-items: center; gap: 5px; font-weight: 500; color: var(--text); }
.detail-desc, .detail-features { margin-bottom: 14px; }
.detail-desc h3, .detail-features h3, .cost-breakdown h3, .reviews-section h3 { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--text); display: flex; align-items: center; gap: 6px; }
.detail-desc p  { font-size: 14px; color: var(--text-muted); line-height: 1.7; }
.features-grid  { display: flex; flex-wrap: wrap; gap: 6px; }
.feat-tag { background: var(--mint-glow); color: var(--mint-dark); font-size: 12px; padding: 4px 10px; border-radius: 100px; font-weight: 500; display: flex; align-items: center; gap: 4px; }
.cost-breakdown { background: var(--surface); border-radius: var(--r); padding: 14px; margin-bottom: 13px; border: 1px solid var(--border); }
.cb-row { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text); }
.cb-row:last-child { border: none; }
.cb-total { font-weight: 700; font-family: 'Inter', sans-serif; font-size: 15px; }
.escrow-note { background: var(--mint-glow); border: 1px solid rgba(0,212,163,.2); border-radius: 8px; padding: 11px 13px; font-size: 13px; line-height: 1.6; margin-bottom: 14px; color: var(--mint-dark); display: flex; align-items: flex-start; gap: 7px; }
.agent-card { background: var(--surface); border-radius: var(--r); padding: 14px; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; border: 1px solid var(--border); }
.ac-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--indigo); display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: var(--mint-dark); flex-shrink: 0; }
.ac-name { font-weight: 600; font-size: 14px; color: var(--text); }
.ac-role { font-size: 12px; color: var(--text-muted); }
.review-card { background: var(--surface); border-radius: 10px; padding: 12px; margin-bottom: 8px; border: 1px solid var(--border); }
.rv-header { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; }
.rv-avatar { width: 28px; height: 28px; border-radius: 50%; background: var(--indigo); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 11px; color: var(--mint-dark); flex-shrink: 0; }
.rv-name { font-size: 13px; font-weight: 600; color: var(--text); }
.rv-stars { font-size: 11px; color: var(--terra); }
.review-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }
.detail-cta { position: fixed; bottom: 0; left: 0; right: 0; z-index: 40; background: var(--bg); border-top: 1px solid var(--border); padding: 10px 16px calc(10px + var(--safe-b)); display: flex; align-items: center; gap: 10px; }
/* On mobile, push CTA above the bottom nav (nav is ~56px + safe area) */
@media(max-width:860px) {
  .detail-cta { bottom: calc(56px + var(--safe-b, 0px)); padding-bottom: 10px; }
  .screen-detail { padding-bottom: calc(56px + 80px + var(--safe-b, 0px)); }
}
.cta-price { font-family: 'Inter', sans-serif; font-size: 17px; font-weight: 700; flex-shrink: 0; color: var(--text); }
.cta-price span { font-size: 11px; font-family: 'Inter', sans-serif; color: var(--text-muted); }
.cta-btns { flex: 1; display: flex; gap: 7px; justify-content: flex-end; }
.cta-btns button { flex: 1; font-size: 12px; padding: 10px 7px; }

/* ── WALLET ───────────────────────────────────────────── */
.screen-wallet-inner { padding-bottom: 16px; }
.wallet-hero { background: var(--indigo); padding: 26px 20px 22px; padding-top: calc(26px + var(--safe-t)); }
[data-theme="dark"] .wallet-hero { background: var(--surface-2); border-bottom: 1px solid var(--border-mid); }
.wh-top    { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.wh-label  { font-family: 'Inter', sans-serif; font-size: 10px; letter-spacing: 2px; color: rgba(255,255,255,.4); text-transform: uppercase; }
.wh-amount { font-family: 'Inter', sans-serif; font-size: 34px; font-weight: 900; color: #fff; letter-spacing: -0.5px; margin-bottom: 18px; }
[data-theme="dark"] .wh-amount { color: var(--mint-dark); }
.wh-actions { display: flex; gap: 7px; }
.wh-btn { flex: 1; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.11); color: rgba(255,255,255,.7); border-radius: 8px; padding: 9px 6px; font-size: 12px; font-weight: 600; cursor: pointer; transition: all .2s; display: flex; align-items: center; justify-content: center; gap: 4px; }
.wh-btn:hover  { background: rgba(255,255,255,.14); }
.wh-btn.active { background: var(--mint-dark); color: var(--indigo); border-color: var(--mint-dark); font-weight: 700; }
.wallet-form { padding: 20px 16px; }
.wallet-form h3 { font-family: 'Inter', sans-serif; font-size: 18px; font-weight: 700; margin-bottom: 5px; color: var(--text); }
.wallet-form p  { font-size: 13px; color: var(--text-muted); margin-bottom: 14px; }
.amount-presets { display: flex; gap: 7px; flex-wrap: wrap; margin-bottom: 14px; }
.preset-btn { background: var(--surface); border: 1.5px solid var(--border-mid); border-radius: 8px; padding: 7px 12px; font-size: 12px; font-weight: 600; color: var(--text); cursor: pointer; transition: all .2s; }
.preset-btn:hover { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.fee-note { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; display: flex; align-items: center; gap: 5px; }
.wallet-overview { padding: 16px; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.wo-stat  { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 14px 12px; }
.wo-label { font-size: 10px; color: var(--text-muted); margin-bottom: 5px; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; }
.wo-val   { font-family: 'Inter', sans-serif; font-size: 17px; font-weight: 700; color: var(--text); }
.wo-val.mint { color: var(--mint-dark); }
.tx-list  { padding: 0 16px; }
.tx-item  { display: flex; align-items: center; gap: 11px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.tx-item:last-child { border: none; }
.tx-icon  { width: 36px; height: 36px; border-radius: 9px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tx-icon.credit { background: var(--mint-glow);  color: var(--mint-dark); }
.tx-icon.debit  { background: var(--terra-lt);    color: var(--terra); }
.tx-desc  { font-size: 13px; font-weight: 500; color: var(--text); }
.tx-date  { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.tx-amount { margin-left: auto; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.tx-amount.credit { color: var(--mint-dark); }
.tx-amount.debit  { color: var(--terra); }

/* ── VAULT ────────────────────────────────────────────── */
.screen-vault-inner { padding-bottom: 16px; }
.vault-hero { background: var(--indigo-mid); padding: 26px 20px 22px; padding-top: calc(26px + var(--safe-t)); }
[data-theme="dark"] .vault-hero { background: var(--surface-2); border-bottom: 1px solid var(--border-mid); }
.vh-top    { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.vh-label  { font-size: 10px; letter-spacing: 1.5px; color: rgba(255,255,255,.45); text-transform: uppercase; display: flex; align-items: center; gap: 5px; }
.vh-amount { font-family: 'Inter', sans-serif; font-size: 34px; font-weight: 900; color: #fff; letter-spacing: -0.5px; margin-bottom: 3px; }
[data-theme="dark"] .vh-amount { color: var(--mint-dark); }
.vh-yield  { font-size: 13px; color: var(--mint); margin-bottom: 14px; font-weight: 500; display: flex; align-items: center; gap: 5px; }
.vh-bar    { height: 5px; background: rgba(255,255,255,.14); border-radius: 3px; overflow: hidden; margin-bottom: 5px; }
.vh-fill   { height: 100%; background: var(--mint); border-radius: 3px; transition: width 1s ease; }
.vh-goal   { font-size: 11px; color: rgba(255,255,255,.38); }
.yield-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; padding: 14px 16px; }
.yc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 13px 10px; text-align: center; }
.yc-label { font-size: 10px; color: var(--text-muted); margin-bottom: 4px; font-weight: 600; text-transform: uppercase; letter-spacing: .3px; }
.yc-val   { font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 700; color: var(--mint-dark); }
.vault-transfer-card { margin: 0 16px 12px; background: var(--surface); border-radius: var(--r); padding: 17px; border: 1px solid var(--border); }
.vtc-label { font-size: 10px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 13px; }
.vtc-row   { display: flex; align-items: center; gap: 10px; margin-bottom: 13px; }
.vtc-source, .vtc-dest { flex: 1; }
.vtc-title { font-size: 11px; color: var(--text-muted); margin-bottom: 2px; }
.vtc-bal   { font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 700; color: var(--text); }
.vtc-flip  { width: 36px; height: 36px; border-radius: 50%; background: var(--indigo); color: var(--mint-dark); display: flex; align-items: center; justify-content: center; flex-shrink: 0; cursor: pointer; transition: transform .2s; border: none; }
[data-theme="dark"] .vtc-flip { background: var(--mint-dark); color: var(--indigo); }
.vtc-flip:active { transform: scale(.9); }
.vault-transfer-card input { margin-bottom: 10px; }
.set-goal-card { margin: 0 16px 12px; background: var(--surface); border-radius: var(--r); padding: 17px; border: 1px solid var(--border); }
.set-goal-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 4px; color: var(--text); display: flex; align-items: center; gap: 6px; }
.set-goal-card p  { font-size: 13px; color: var(--text-muted); margin-bottom: 11px; }
.auto-save-card { margin: 0 16px 12px; background: var(--surface); border-radius: var(--r); padding: 17px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border: 1px solid var(--border); }
.auto-save-card > div { flex: 1; }
.auto-save-card h3 { font-size: 14px; font-weight: 700; margin-bottom: 4px; color: var(--text); display: flex; align-items: center; gap: 6px; }
.auto-save-card p  { font-size: 13px; color: var(--text-muted); }
.toggle-switch { position: relative; width: 46px; height: 26px; flex-shrink: 0; cursor: pointer; }
.toggle-switch input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-track { position: absolute; inset: 0; border-radius: 100px; background: var(--bg-2); cursor: pointer; transition: background .3s; }
.toggle-track::after { content: ''; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; transition: transform .3s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
input:checked ~ .toggle-track { background: var(--mint-dark); }
input:checked ~ .toggle-track::after { transform: translateX(20px); }

/* ── ESCROW ───────────────────────────────────────────── */
.screen-escrow-inner { padding-bottom: 16px; }
.page-header { padding: 22px 16px 10px; padding-top: calc(22px + var(--safe-t)); }
.page-header h2 { font-family: 'Inter', sans-serif; font-size: 24px; font-weight: 900; letter-spacing: -.5px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.page-header p  { font-size: 13px; color: var(--text-muted); margin-top: 3px; }
.escrow-card { margin: 0 16px 10px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 14px; box-shadow: var(--sh); cursor: pointer; transition: all .15s; }
.escrow-card:hover  { box-shadow: var(--sh-lg); transform: translateY(-1px); }
.escrow-card:active { transform: scale(.98); }
.ec-header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.ec-icon   { color: var(--text-muted); display: flex; flex-shrink: 0; }
.ec-title  { font-size: 14px; font-weight: 600; color: var(--text); }
.ec-ref    { font-family: 'Inter', sans-serif; font-size: 10px; color: var(--text-muted); }
.ec-amount { margin-left: auto; font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 700; flex-shrink: 0; color: var(--text); }
.ec-footer { display: flex; align-items: center; justify-content: space-between; }
.ec-type   { font-size: 12px; color: var(--text-muted); text-transform: capitalize; }
.status-badge { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 100px; text-transform: capitalize; white-space: nowrap; }
.status-badge.warn    { background: rgba(226,114,91,.1);   color: var(--terra); }
.status-badge.info,
.status-badge.success { background: var(--mint-glow);       color: var(--mint-dark); }
.status-badge.error   { background: rgba(220,38,38,.08);    color: #DC2626; }
.status-badge.muted   { background: var(--bg-2);            color: var(--text-muted); }
.screen-escrow-detail { padding-top: var(--safe-t); }
.ed-card { margin: 16px; background: var(--surface); border-radius: var(--r); padding: 20px; border: 1px solid var(--border); box-shadow: var(--sh); }
.ed-status-row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 13px; }
.ed-icon   { color: var(--text-muted); display: flex; }
.ed-amount { font-family: 'Inter', sans-serif; font-size: 32px; font-weight: 900; letter-spacing: -0.3px; color: var(--text); margin-bottom: 3px; }
.ed-ref    { font-family: 'Inter', sans-serif; font-size: 11px; color: var(--text-muted); margin-bottom: 18px; }
.edd-row   { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.edd-row:last-child { border: none; margin-bottom: 18px; }
.edd-row span:first-child { color: var(--text-muted); }
.edd-row span:last-child  { font-weight: 500; color: var(--text); }
.dual-lock-progress { margin-bottom: 18px; }
.dlp-step  { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-muted); }
.dlp-step.done { color: var(--mint-dark); font-weight: 500; }
.dlp-icon  { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--border-mid); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--text-muted); }
.dlp-step.done .dlp-icon { background: var(--mint-dark); border-color: var(--mint-dark); color: #fff; }
.dlp-line  { width: 2px; height: 16px; background: var(--border); margin: 3px 0 3px 11px; }
.ed-actions { display: flex; flex-direction: column; gap: 9px; }
.confirm-done { font-size: 13px; color: var(--mint-dark); text-align: center; padding: 8px; }
.escrow-breakdown { background: var(--bg); border-radius: var(--r-sm); padding: 12px; margin-bottom: 14px; }
.eb-row    { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text); }
.eb-row:last-child { border: none; }
.eb-total  { font-weight: 700; font-family: 'Inter', sans-serif; font-size: 15px; }

/* ── PROFILE ──────────────────────────────────────────── */
.screen-profile-inner { padding-bottom: 24px; }
.profile-hero { background: var(--indigo); padding: 28px 20px 22px; padding-top: calc(28px + var(--safe-t)); }
[data-theme="dark"] .profile-hero { background: var(--surface-2); border-bottom: 1px solid var(--border-mid); }
.profile-hero-top { display: flex; align-items: center; gap: 14px; }
.ph-avatar-wrap { position: relative; flex-shrink: 0; cursor: pointer; }
.ph-avatar-edit { position: absolute; bottom: 0; right: 0; background: var(--mint-dark); color: var(--indigo); width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.ph-info  { flex: 1; min-width: 0; }
.ph-name  { font-family: 'Inter', sans-serif; font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
[data-theme="dark"] .ph-name { color: var(--text); }
.ph-role  { font-size: 12px; color: rgba(255,255,255,.4); margin-bottom: 7px; text-transform: capitalize; }
[data-theme="dark"] .ph-role { color: var(--text-muted); }
.ph-badges { display: flex; gap: 5px; flex-wrap: wrap; align-items: center; }
.badge-green { background: var(--mint-glow);           color: var(--mint-dark); font-size: 11px; padding: 3px 10px; border-radius: 100px; font-weight: 600; }
.badge-grey  { background: rgba(255,255,255,.08);       color: rgba(255,255,255,.3); font-size: 11px; padding: 3px 10px; border-radius: 100px; }
.badge-gold  { background: rgba(226,114,91,.2);         color: var(--terra); font-size: 11px; padding: 3px 10px; border-radius: 100px; font-weight: 600; }

.trust-score-card { margin: 16px; background: var(--surface); border-radius: var(--r); padding: 20px; box-shadow: var(--sh); border: 1px solid var(--border); }
.tsc-label    { font-family: 'Inter', sans-serif; font-size: 10px; letter-spacing: 2px; color: var(--text-muted); margin-bottom: 6px; text-transform: uppercase; }
.tsc-score    { font-family: 'Inter', sans-serif; font-size: 44px; font-weight: 900; letter-spacing: -2px; line-height: 1; color: var(--text); }
.tsc-score span { font-size: 15px; color: var(--text-muted); font-weight: 400; }
.tsc-label-sub { font-size: 13px; color: var(--mint-dark); font-weight: 600; margin: 4px 0 11px; }
.tsc-bar   { height: 7px; background: var(--bg-2); border-radius: 4px; overflow: hidden; margin-bottom: 13px; }
.tsc-fill  { height: 100%; background: var(--mint-dark); border-radius: 4px; transition: width 1s ease; }
.tsc-benefits { display: flex; flex-direction: column; gap: 5px; }
.tsc-unlock { font-size: 13px; color: var(--mint-dark); }
.tsc-locked { font-size: 13px; color: var(--text-muted); }

.profile-settings-section { margin: 0 16px 12px; background: var(--surface); border-radius: var(--r); border: 1px solid var(--border); overflow: hidden; }
.pss-label { font-size: 10px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .5px; padding: 10px 16px 6px; display: block; }
.pss-item  { display: flex; align-items: center; justify-content: space-between; padding: 13px 16px; border-top: 1px solid var(--border); }
.pss-item-left { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--text); }

.profile-links { margin: 0 16px 16px; background: var(--surface); border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); }
.pl-item { padding: 14px 16px; font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--border); cursor: pointer; transition: background .15s; color: var(--text); display: flex; align-items: center; gap: 10px; }
.pl-item:last-child { border: none; }
.pl-item:hover  { background: var(--bg); }
.pl-item:active { background: var(--bg-2); }
.pl-item.danger { color: var(--terra); }

/* ── NOTIFICATIONS ────────────────────────────────────── */
.notif-list { padding: 0 16px; }
.notif-item { display: flex; align-items: flex-start; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.notif-item:last-child { border: none; }
.notif-item.unread { margin: 0 -16px; padding: 14px 16px; background: var(--mint-glow); }
.notif-icon  { color: var(--text-muted); display: flex; flex-shrink: 0; margin-top: 2px; }
.notif-item.unread .notif-icon { color: var(--mint-dark); }
.notif-title { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.notif-sub   { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.notif-time  { font-size: 11px; color: var(--text-light); margin-top: 4px; }

/* ── REFERRAL ─────────────────────────────────────────── */
.referral-hero { margin: 16px; background: var(--surface); border-radius: var(--r); padding: 28px 20px; text-align: center; border: 1px solid var(--border); }
.rh-icon { color: var(--text-muted); display: flex; justify-content: center; margin-bottom: 14px; }
.referral-hero h3 { font-family: 'Inter', sans-serif; font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 7px; }
.referral-hero p  { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.referral-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; padding: 0 16px 12px; }
.rs-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 14px 10px; text-align: center; }
.rs-card.mint { background: var(--mint-glow); border-color: rgba(0,212,163,.2); }
.rs-val   { font-family: 'Inter', sans-serif; font-size: 20px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.rs-card.mint .rs-val { color: var(--mint-dark); }
.rs-label { font-size: 11px; color: var(--text-muted); font-weight: 500; }
.referral-code-card { margin: 0 16px 12px; background: var(--indigo); border-radius: var(--r); padding: 20px; text-align: center; }
[data-theme="dark"] .referral-code-card { background: var(--surface-2); border: 1px solid var(--border-mid); }
.rcc-label { font-family: 'Inter', sans-serif; font-size: 10px; letter-spacing: 2px; color: rgba(255,255,255,.4); margin-bottom: 10px; text-transform: uppercase; display: block; }
.rcc-code  { font-family: 'Inter', sans-serif; font-size: 26px; font-weight: 700; color: var(--mint-dark); letter-spacing: 3px; margin-bottom: 14px; }
.referral-share { margin: 0 16px 12px; background: var(--surface); border-radius: var(--r); padding: 18px; border: 1px solid var(--border); }
.rs-title  { font-size: 13px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 12px; }
.share-link-row { display: flex; gap: 8px; margin-bottom: 12px; }
.share-link-row input { flex: 1; font-size: 12px; font-family: 'Inter', sans-serif; background: var(--bg); padding: 10px 12px; }
.share-btns { display: flex; gap: 10px; }
.share-channel-btn { flex: 1; background: var(--bg-2); border: 1px solid var(--border-mid); color: var(--text); padding: 11px 10px; border-radius: var(--r-sm); font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 7px; transition: background .15s; }
.share-channel-btn:hover { background: var(--indigo); color: #fff; border-color: var(--indigo); }
.referral-how { margin: 0 16px 16px; background: var(--surface); border-radius: var(--r); padding: 18px; border: 1px solid var(--border); }
.rh-title  { font-size: 13px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 14px; }
.rh-step   { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; font-size: 14px; color: var(--text-2); }
.rh-step:last-child { margin: 0; }
.rh-num    { width: 24px; height: 24px; border-radius: 50%; background: var(--indigo); color: var(--mint-dark); font-size: 11px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-family: 'Inter', sans-serif; }
[data-theme="dark"] .rh-num { background: var(--mint-dark); color: var(--indigo); }

/* ── STATIC PAGES ─────────────────────────────────────── */
.static-page { max-width: 720px; margin: 0 auto; padding-bottom: 40px; }
.sp-header   { display: flex; align-items: center; gap: 12px; padding: 14px 16px 0; padding-top: calc(14px + var(--safe-t)); margin-bottom: 10px; }
.sp-header h1 { font-family: 'Inter', sans-serif; font-size: 20px; font-weight: 700; color: var(--text); letter-spacing: -.5px; }
.sp-body { padding: 0 16px; }
.sp-section { margin-bottom: 24px; }
.sp-section h2 { font-family: 'Inter', sans-serif; font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 10px; letter-spacing: -.5px; }
.sp-card { background: var(--surface); border-radius: var(--r-sm); padding: 14px; border: 1px solid var(--border); margin-bottom: 8px; }
.sp-card-header { display: flex; align-items: center; gap: 8px; margin-bottom: 7px; color: var(--text-muted); }
.sp-card-header h3 { font-size: 14px; font-weight: 700; color: var(--text); }
.sp-card p, .sp-body-text { font-size: 13px; color: var(--text-muted); line-height: 1.7; margin: 0; }
.sp-contact-box { background: var(--mint-glow); border: 1px solid rgba(0,212,163,.2); border-radius: var(--r); padding: 18px; margin-top: 14px; text-align: center; }
.sp-contact-box h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.sp-contact-box p  { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.sp-faq { margin-bottom: 24px; }
.sp-faq h2 { font-family: 'Inter', sans-serif; font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.faq-item  { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); margin-bottom: 7px; overflow: hidden; cursor: pointer; }
.faq-q     { padding: 13px 14px; font-size: 14px; font-weight: 600; color: var(--text); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.faq-arrow { color: var(--text-muted); display: flex; transition: transform .2s; flex-shrink: 0; }
.faq-a     { max-height: 0; overflow: hidden; font-size: 13px; color: var(--text-muted); line-height: 1.7; padding: 0 14px; transition: max-height .3s, padding .3s; }
.faq-item.open .faq-a { max-height: 200px; padding: 0 14px 13px; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 16px; text-align: center; cursor: pointer; transition: box-shadow .2s; text-decoration: none; display: block; }
.contact-card:hover { box-shadow: var(--sh-lg); }
.cc-icon  { color: var(--text-muted); display: flex; justify-content: center; margin-bottom: 8px; }
.cc-label { font-size: 10px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 4px; }
.cc-val   { font-size: 12px; color: var(--text); font-weight: 500; }
.sp-hero-text { background: var(--indigo); border-radius: var(--r); padding: 22px 18px; margin-bottom: 20px; }
.sp-hero-text h2 { font-family: 'Inter', sans-serif; font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 7px; }
.sp-hero-text p  { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.7; }
.sp-values { display: grid; grid-template-columns: 1fr; gap: 8px; margin-bottom: 20px; }
.spv-item  { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 14px; }
.spv-icon  { color: var(--text-muted); margin-bottom: 8px; display: flex; }
.spv-item h3 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.spv-item p  { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ── MY LISTINGS ──────────────────────────────────────── */
.my-listings-list { padding: 0 16px; }
.my-listing-card  { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; margin-bottom: 12px; box-shadow: var(--sh); }
.mlc-image { position: relative; aspect-ratio: 16/7; overflow: hidden; }
.mlc-image img { width: 100%; height: 100%; object-fit: cover; }
.mlc-body  { padding: 13px; }
.mlc-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.mlc-loc   { font-size: 12px; color: var(--text-muted); margin-bottom: 5px; display: flex; align-items: center; gap: 3px; }
.mlc-price { font-family: 'Inter', sans-serif; font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 7px; }
.mlc-price span { font-size: 12px; font-family: 'Inter', sans-serif; color: var(--text-muted); }
.mlc-stats { display: flex; gap: 12px; font-size: 12px; color: var(--text-muted); margin-bottom: 11px; align-items: center; }
.mlc-stats span { display: flex; align-items: center; gap: 4px; }
.mlc-actions { display: flex; gap: 7px; }

/* ── ADD/EDIT LISTING ─────────────────────────────────── */
.listing-form { padding: 0 16px 40px; }
.lf-section { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 17px; margin-bottom: 12px; }
.lf-section-title { font-size: 11px; font-weight: 700; color: var(--mint-dark); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 13px; }
.lf-grid-4 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (min-width: 500px) { .lf-grid-4 { grid-template-columns: repeat(4, 1fr); } }
.features-picker { display: flex; flex-wrap: wrap; gap: 7px; }
.feat-check { background: var(--bg-2); border: 1.5px solid var(--border-mid); color: var(--text-muted); font-size: 12px; font-weight: 500; padding: 5px 11px; border-radius: 100px; cursor: pointer; transition: all .15s; user-select: none; }
.feat-check.checked { background: var(--mint-glow); border-color: var(--mint-dark); color: var(--mint-dark); font-weight: 600; }

/* ── PHOTO UPLOAD ─────────────────────────────────────── */
.photo-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-bottom: 13px; }
.photo-thumb { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--bg-2); }
.photo-thumb img { width: 100%; height: 100%; object-fit: cover; }
.photo-cover-badge { position: absolute; bottom: 4px; left: 4px; background: var(--mint-dark); color: var(--indigo); font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 100px; text-transform: uppercase; letter-spacing: .5px; }
.photo-upload-area { border: 2px dashed var(--border-mid); border-radius: var(--r); padding: 22px 16px; text-align: center; cursor: pointer; transition: border-color .2s, background .2s; margin-bottom: 11px; }
.photo-upload-area:hover { border-color: var(--mint-dark); background: var(--mint-glow); }
.pua-icon { color: var(--text-muted); display: flex; justify-content: center; margin-bottom: 7px; }
.pua-text { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 3px; }
.pua-sub  { font-size: 12px; color: var(--text-muted); }

/* ── ADMIN ────────────────────────────────────────────── */
.admin-stats-grid  { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 16px 16px; }
.admin-stat-card   { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-sm); padding: 15px; }
.admin-stat-card.warn { border-color: rgba(226,114,91,.3); background: var(--terra-lt); }
.asc-icon  { color: var(--text-muted); margin-bottom: 8px; display: flex; }
.asc-label { font-size: 11px; color: var(--text-muted); margin-bottom: 4px; font-weight: 500; }
.asc-val   { font-family: 'Inter', sans-serif; font-size: 19px; font-weight: 700; color: var(--text); }
.admin-links { margin: 0 16px 14px; background: var(--surface); border-radius: var(--r); overflow: hidden; border: 1px solid var(--border); }
.admin-table { padding: 0 16px; }
.admin-row  { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--border); gap: 12px; }
.admin-row:last-child { border: none; }
.admin-row-actions { display: flex; gap: 6px; flex-shrink: 0; }

/* ── MODAL ────────────────────────────────────────────── */
.modal-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(10,12,28,.6); backdrop-filter: blur(6px); display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity .25s; pointer-events: none; }
.modal-overlay.show { opacity: 1; pointer-events: all; }
.modal-box { background: var(--surface); border-radius: 20px 20px 0 0; padding: 22px 18px calc(22px + var(--safe-b)); width: 100%; max-width: 480px; max-height: 88dvh; overflow-y: auto; transform: translateY(28px); transition: transform .28s cubic-bezier(.34,1.2,.64,1); }
.modal-overlay.show .modal-box { transform: translateY(0); }
.modal-title { font-family: 'Inter', sans-serif; font-size: 19px; font-weight: 700; margin-bottom: 9px; letter-spacing: -.5px; color: var(--text); display: flex; align-items: center; gap: 8px; }
.modal-box > p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }
.qr-display { text-align: center; padding: 14px 0; }
.qr-code-box { font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 700; background: var(--indigo); color: var(--mint-dark); padding: 18px 22px; border-radius: var(--r); display: inline-block; letter-spacing: 2px; margin-bottom: 9px; word-break: break-all; }

/* ── TOAST ────────────────────────────────────────────── */
.toast { position: fixed; top: calc(16px + var(--safe-t)); left: 50%; transform: translateX(-50%) translateY(-14px); background: var(--indigo); color: #fff; padding: 10px 18px; border-radius: 100px; font-size: 13px; font-weight: 500; z-index: 999; white-space: nowrap; opacity: 0; transition: opacity .25s, transform .25s; max-width: calc(100vw - 28px); text-align: center; box-shadow: var(--sh-lg); }
.toast.show          { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.toast-success { background: var(--mint-dark); color: var(--indigo); font-weight: 700; }
.toast.toast-error   { background: var(--terra); }
.toast.toast-warn    { background: #F59E0B; color: var(--indigo); }

/* ── EMPTY STATE ──────────────────────────────────────── */
.empty-state { text-align: center; padding: 48px 20px; }
.es-icon  { color: var(--text-light); display: flex; justify-content: center; margin-bottom: 13px; }
.es-title { font-family: 'Inter', sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 7px; color: var(--text); }
.es-sub   { font-size: 14px; color: var(--text-muted); margin-bottom: 18px; line-height: 1.6; }

/* ── INSTALL / OFFLINE ────────────────────────────────── */
.install-banner { position: fixed; bottom: calc(60px + var(--safe-b) + 10px); left: 50%; transform: translateX(-50%); width: calc(100% - 24px); max-width: 440px; z-index: 60; background: var(--indigo); border-radius: var(--r); padding: 12px 15px; display: flex; align-items: center; gap: 10px; box-shadow: var(--sh-lg); animation: slideUp .35s ease; }
@keyframes slideUp { from { opacity: 0; transform: translateX(-50%) translateY(14px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }
.ib-icon    { color: rgba(255,255,255,.6); display: flex; flex-shrink: 0; }
.ib-title   { font-size: 13px; font-weight: 600; color: #fff; }
.ib-sub     { font-size: 11px; color: rgba(255,255,255,.38); }
.ib-install { background: var(--mint-dark); color: var(--indigo); padding: 7px 12px; border-radius: 7px; font-weight: 700; font-size: 12px; flex-shrink: 0; cursor: pointer; border: none; }
.ib-close   { background: none; color: rgba(255,255,255,.28); font-size: 18px; padding: 4px; flex-shrink: 0; cursor: pointer; border: none; display: flex; align-items: center; }
.offline-banner { position: fixed; top: 0; left: 0; right: 0; z-index: 90; background: var(--terra); color: #fff; text-align: center; padding: 9px; font-size: 13px; font-weight: 500; display: none; }

/* ═══════════════════════════════════════════════════════
   DESKTOP — Sidebar (481px+)
   ═══════════════════════════════════════════════════════ */
@media (min-width: 481px) {
  html, body { height: 100dvh; overflow: hidden; }
  #app { flex-direction: row; height: 100dvh; }
  #content { order: 1; flex: 1; min-width: 0; height: 100dvh; overflow-y: auto; }

  /* Fixed sidebar */
  .app-nav { order: -1; flex-direction: column; align-items: flex-start; flex-shrink: 0; width: var(--sidebar-w); height: 100dvh; border-top: none; border-right: 1px solid var(--border); border-bottom: none; padding: 0; box-shadow: none; background: var(--surface); overflow-y: auto; }
  .app-nav::before { content: 'Nido.'; font-family: 'Inter', sans-serif; font-weight: 900; font-size: 21px; letter-spacing: -0.3px; color: var(--indigo); display: block; padding: 20px 22px 17px; border-bottom: 1px solid var(--border); width: 100%; }
  [data-theme="dark"] .app-nav::before { color: var(--mint-dark); }
  .an-btn { flex-direction: row; gap: 11px; padding: 13px 22px; width: 100%; font-size: 14px; font-weight: 500; justify-content: flex-start; color: var(--text-muted); border-radius: 0; border-right: 3px solid transparent; transition: all .15s; }
  .an-btn:hover { background: var(--bg); color: var(--text); }
  .an-btn span:first-child { font-size: 18px; }
  .an-btn.active { background: rgba(26,27,65,.05); color: var(--indigo); font-weight: 700; border-right-color: var(--mint-dark); }
  [data-theme="dark"] .an-btn.active { background: rgba(0,212,163,.06); color: var(--mint-dark); }

  /* Auth split panel */
  .screen-auth { flex-direction: row; min-height: 100dvh; overflow: hidden; display: flex; }
  .auth-panel-left { display: flex; width: 44%; min-width: 300px; background: var(--indigo); align-items: center; justify-content: center; padding: 56px 40px; position: relative; overflow: hidden; flex-shrink: 0; }
  .auth-panel-right { flex: 1; overflow-y: auto; height: 100dvh; padding: 56px 44px; display: flex; align-items: center; justify-content: flex-start; }
  .auth-logo-sm { display: none; }

  /* Detail CTA sticks within scroll */
  .detail-cta { position: sticky; bottom: 0; width: 100%; max-width: 100%; transform: none; }

  /* Modal: centred */
  .modal-overlay { align-items: center; }
  .modal-box { border-radius: 18px; max-width: 500px; padding-bottom: 26px; transform: scale(.95); }
  .modal-overlay.show .modal-box { transform: scale(1); }

  /* Listings */
  .listings-grid { grid-template-columns: repeat(3,1fr); }
  .listings-row .listing-card { min-width: unset; }

  /* Landing desktop layouts */
  .lp-hero-inner { max-width: 680px; }
  .lp-hero-btns  { flex-direction: row; max-width: 380px; }
  .lp-stats      { grid-template-columns: repeat(4,1fr); }
  .lp-steps      { display: grid; grid-template-columns: 1fr 1fr; }
  .lp-features-grid { grid-template-columns: repeat(3,1fr); }
  .sp-values    { grid-template-columns: repeat(3,1fr); }
  .contact-grid { grid-template-columns: repeat(4,1fr); }

  /* Install banner offset */
  .install-banner { bottom: 16px; left: calc(var(--sidebar-w) + 16px); transform: none; width: calc(100vw - var(--sidebar-w) - 32px); max-width: 580px; }
  @keyframes slideUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
}

@media (min-width: 1024px) {
  :root { --sidebar-w: 280px; }
  .listings-grid { grid-template-columns: repeat(4,1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ── TRANSACTION PIN ──────────────────────────────────────── */
.pin-input-row {
  display: flex; gap: 12px; justify-content: center; margin-bottom: 8px;
}
.pin-digit {
  width: 52px; height: 56px;
  text-align: center; font-size: 20px; font-weight: 700;
  border: 2px solid var(--border-mid); border-radius: var(--r-sm);
  background: var(--surface); color: var(--text);
  outline: none; transition: border-color .2s, box-shadow .2s;
  padding: 0;
}
.pin-digit:focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(26,27,65,0.1);
}
[data-theme="dark"] .pin-digit:focus {
  border-color: var(--mint-dark);
  box-shadow: 0 0 0 3px rgba(0,212,163,0.12);
}
.pin-digit:not(:placeholder-shown) { border-color: var(--mint-dark); }

/* ═══════════════════════════════════════════════════════
   LP2 — FINTECH LANDING PAGE
   ═══════════════════════════════════════════════════════ */

/* ── BASE ──────────────────────────────────────────── */
.lp2 { background:var(--bg); color:var(--text); }

/* ── NAV ───────────────────────────────────────────── */
.lp2-nav { position:sticky; top:0; z-index:100; background:rgba(255,255,255,.85); backdrop-filter:blur(12px); border-bottom:1px solid var(--border); }
[data-theme=dark] .lp2-nav { background:rgba(15,17,26,.85); }
.lp2-nav-inner { max-width:1100px; margin:0 auto; padding:0 24px; height:64px; display:flex; align-items:center; gap:32px; }
.lp2-logo { font-size:22px; font-weight:800; color:var(--indigo); letter-spacing:-.5px; flex-shrink:0; }
.lp2-logo span { color:var(--mint-dark); }
[data-theme=dark] .lp2-logo { color:#fff; }
.lp2-nav-links { display:flex; gap:24px; flex:1; }
.lp2-nav-links a { font-size:14px; font-weight:500; color:var(--text-muted); cursor:pointer; transition:color .15s; }
.lp2-nav-links a:hover { color:var(--text); }
.lp2-nav-cta { display:flex; gap:8px; flex-shrink:0; }
.lp2-btn-ghost { background:none; border:1.5px solid var(--border-mid); color:var(--text); padding:8px 16px; border-radius:8px; font-size:13px; font-weight:600; cursor:pointer; transition:all .15s; }
.lp2-btn-ghost:hover { background:var(--bg-2); }
.lp2-btn-solid { background:var(--indigo); color:#fff; padding:8px 16px; border-radius:8px; font-size:13px; font-weight:600; cursor:pointer; border:none; transition:all .15s; }
.lp2-btn-solid:hover { background:var(--indigo-mid); }
[data-theme=dark] .lp2-btn-solid { background:var(--mint-dark); color:var(--indigo); }
.lp2-hamburger { display:none; background:none; border:none; cursor:pointer; color:var(--text); padding:4px; }
.lp2-mobile-menu { display:none; position:absolute; top:64px; left:0; right:0; background:var(--surface); border-bottom:1px solid var(--border); padding:16px 24px; flex-direction:column; gap:12px; }
.lp2-mobile-menu.open { display:flex; }
.lp2-mobile-menu a { font-size:15px; font-weight:500; color:var(--text-2); cursor:pointer; padding:8px 0; }

/* ── HERO ──────────────────────────────────────────── */
.lp2-hero { padding:72px 24px 64px; overflow:hidden; }
.lp2-hero-inner { max-width:1100px; margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
.lp2-pill { display:inline-flex; align-items:center; gap:6px; background:var(--mint-glow); color:var(--mint-dark); border:1px solid rgba(0,212,163,.25); padding:6px 14px; border-radius:100px; font-size:12px; font-weight:600; margin-bottom:20px; }
.lp2-h1 { font-size:clamp(34px,5vw,58px); font-weight:800; line-height:1.08; letter-spacing:-1.5px; color:var(--indigo); margin-bottom:20px; }
.lp2-h1 span { color:var(--mint-dark); }
[data-theme=dark] .lp2-h1 { color:#fff; }
.lp2-hero-sub { font-size:16px; color:var(--text-muted); line-height:1.7; margin-bottom:28px; max-width:480px; }
.lp2-hero-actions { display:flex; gap:12px; margin-bottom:24px; flex-wrap:wrap; }
.lp2-btn-accent { background:var(--mint-dark); color:var(--indigo); padding:13px 22px; border-radius:10px; font-size:15px; font-weight:700; border:none; cursor:pointer; display:inline-flex; align-items:center; gap:7px; transition:all .15s; }
.lp2-btn-accent:hover { background:var(--mint); transform:translateY(-1px); }
.lp2-btn-ghost-dark { background:none; border:1.5px solid var(--border-mid); color:var(--text); padding:13px 22px; border-radius:10px; font-size:15px; font-weight:600; cursor:pointer; transition:all .15s; }
.lp2-btn-ghost-dark:hover { background:var(--bg-2); }
.lp2-hero-trust { display:flex; gap:16px; flex-wrap:wrap; }
.lp2-trust-item { font-size:13px; color:var(--text-muted); display:flex; align-items:center; gap:5px; font-weight:500; }
.lp2-trust-item svg { color:var(--mint-dark); }

/* ── HERO IMAGE ────────────────────────────────────── */
.lp2-hero-img-wrap { position:relative; }
.lp2-hero-img { width:100%; aspect-ratio:4/5; border-radius:20px; background:linear-gradient(135deg,var(--indigo) 0%,var(--indigo-mid) 100%); overflow:hidden; position:relative; min-height:400px; }
.lp2-img-placeholder { display:flex; align-items:center; justify-content:center; height:100%; }
.lp2-img-placeholder-inner { text-align:center; padding:32px; }
.lp2-img-placeholder-inner svg { color:rgba(255,255,255,.25); margin-bottom:20px; }
.lp2-img-upload-btn { background:var(--mint-dark); color:var(--indigo); border:none; padding:12px 20px; border-radius:9px; font-size:13px; font-weight:700; cursor:pointer; display:inline-flex; align-items:center; gap:6px; margin-bottom:12px; transition:all .15s; }
.lp2-img-upload-btn:hover { background:var(--mint); }
.lp2-img-hint { font-size:12px; color:rgba(255,255,255,.35); line-height:1.5; }

/* ── FLOATING CARDS ────────────────────────────────── */
.lp2-float { position:absolute; background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:12px 16px; display:flex; align-items:center; gap:10px; box-shadow:0 8px 24px rgba(0,0,0,.12); }
.lp2-float-icon { color:var(--indigo); display:flex; }
.lp2-float-val { font-size:18px; font-weight:800; color:var(--indigo); letter-spacing:-.3px; }
[data-theme=dark] .lp2-float-val { color:var(--text); }
.lp2-float-lbl { font-size:11px; color:var(--text-muted); font-weight:500; }
.lp2-float-tl { top:-16px; left:-16px; }
.lp2-float-br { bottom:-16px; right:-16px; }

/* ── STATS BAR ─────────────────────────────────────── */
.lp2-stats-bar { background:var(--indigo); padding:28px 24px; }
.lp2-stats-inner { max-width:900px; margin:0 auto; display:flex; align-items:center; justify-content:center; gap:0; flex-wrap:wrap; }
.lp2-stat-item { flex:1; min-width:120px; text-align:center; padding:8px 24px; }
.lp2-stat-n { display:block; font-size:26px; font-weight:800; color:#fff; letter-spacing:-.5px; }
.lp2-stat-l { display:block; font-size:12px; color:rgba(255,255,255,.45); margin-top:3px; font-weight:500; }
.lp2-stat-div { width:1px; height:40px; background:rgba(255,255,255,.1); flex-shrink:0; }

/* ── SECTIONS ──────────────────────────────────────── */
.lp2-section { padding:80px 24px; }
.lp2-section-inner { max-width:1100px; margin:0 auto; }
.lp2-section-label { font-size:12px; font-weight:700; color:var(--mint-dark); text-transform:uppercase; letter-spacing:1.5px; margin-bottom:12px; }
.lp2-h2 { font-size:clamp(28px,4vw,42px); font-weight:800; letter-spacing:-1px; color:var(--indigo); line-height:1.15; margin-bottom:48px; }
[data-theme=dark] .lp2-h2 { color:#fff; }

/* ── FEATURES GRID ─────────────────────────────────── */
.lp2-features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.lp2-feat { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:28px; transition:box-shadow .2s, transform .2s; }
.lp2-feat:hover { box-shadow:0 8px 32px rgba(0,0,0,.08); transform:translateY(-2px); }
.lp2-feat-icon { color:var(--indigo); margin-bottom:16px; display:flex; }
[data-theme=dark] .lp2-feat-icon { color:var(--mint-dark); }
.lp2-feat h3 { font-size:16px; font-weight:700; color:var(--text); margin-bottom:8px; }
.lp2-feat p { font-size:13px; color:var(--text-muted); line-height:1.7; margin-bottom:14px; }
.lp2-feat-tag { display:inline-block; background:var(--mint-glow); color:var(--mint-dark); font-size:11px; font-weight:700; padding:3px 10px; border-radius:100px; text-transform:uppercase; letter-spacing:.5px; }
.lp2-feat-accent { background:var(--mint-glow); border-color:rgba(0,212,163,.2); }
.lp2-feat-accent .lp2-feat-icon { color:var(--mint-dark); }
.lp2-feat-dark { background:var(--indigo); border-color:transparent; }
.lp2-feat-dark h3 { color:#fff; }
.lp2-feat-dark p { color:rgba(255,255,255,.55); }
.lp2-feat-dark .lp2-feat-icon { color:var(--mint-dark); }
.lp2-feat-tag-light { background:rgba(255,255,255,.1); color:rgba(255,255,255,.7); }

/* ── HOW IT WORKS ──────────────────────────────────── */
.lp2-how { background:var(--indigo); padding:80px 24px; }
.lp2-steps { display:flex; align-items:flex-start; gap:0; }
.lp2-step { flex:1; }
.lp2-step-num { font-size:48px; font-weight:800; color:rgba(255,255,255,.12); letter-spacing:-2px; margin-bottom:12px; line-height:1; }
.lp2-step h3 { font-size:16px; font-weight:700; color:#fff; margin-bottom:8px; }
.lp2-step p { font-size:13px; color:rgba(255,255,255,.5); line-height:1.7; }
.lp2-step-arrow { color:rgba(255,255,255,.2); padding:0 16px; margin-top:16px; flex-shrink:0; align-self:flex-start; }

/* ── COMPARE ───────────────────────────────────────── */
.lp2-compare { border:1px solid var(--border); border-radius:16px; overflow:hidden; }
.lp2-compare-head { display:grid; grid-template-columns:2fr 1fr 1fr; background:var(--bg-2); padding:12px 20px; }
.lp2-compare-col-lbl { font-size:12px; font-weight:700; color:var(--text-muted); text-transform:uppercase; letter-spacing:.5px; text-align:center; }
.lp2-col-nido { color:var(--mint-dark) !important; }
.lp2-compare-row { display:grid; grid-template-columns:2fr 1fr 1fr; padding:14px 20px; border-top:1px solid var(--border); align-items:center; gap:8px; }
.lp2-compare-row:hover { background:var(--bg); }
.lp2-compare-feat { font-size:14px; font-weight:500; color:var(--text); }
.lp2-compare-bad { font-size:13px; color:var(--text-muted); text-align:center; display:flex; align-items:center; justify-content:center; gap:4px; }
.lp2-compare-bad svg { color:var(--terra); flex-shrink:0; }
.lp2-compare-good { font-size:13px; color:var(--mint-dark); font-weight:600; text-align:center; display:flex; align-items:center; justify-content:center; gap:4px; }
.lp2-compare-good svg { flex-shrink:0; }

/* ── FINAL CTA ─────────────────────────────────────── */
.lp2-cta-section { background:var(--indigo); padding:80px 24px; text-align:center; }
.lp2-cta-inner { max-width:600px; margin:0 auto; }
.lp2-cta-badge { display:inline-block; background:rgba(255,255,255,.08); color:rgba(255,255,255,.7); padding:6px 14px; border-radius:100px; font-size:13px; font-weight:600; margin-bottom:20px; }
.lp2-cta-h2 { font-size:clamp(28px,5vw,44px); font-weight:800; color:#fff; letter-spacing:-1px; margin-bottom:12px; }
.lp2-cta-sub { font-size:15px; color:rgba(255,255,255,.5); margin-bottom:32px; line-height:1.7; }
.lp2-cta-btns { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.lp2-btn-lg { padding:15px 28px; font-size:15px; }

/* ── FOOTER ────────────────────────────────────────── */
/* footer v1 removed */

/* ── RESPONSIVE ────────────────────────────────────── */
@media(max-width:900px) {
  .lp2-hero-inner { grid-template-columns:1fr; gap:40px; }
  .lp2-hero-right { order:-1; }
  .lp2-hero-img { aspect-ratio:16/9; min-height:260px; }
  .lp2-features-grid { grid-template-columns:1fr 1fr; }
  .lp2-steps { flex-direction:column; gap:24px; }
  .lp2-step-arrow { transform:rotate(90deg); padding:8px 0; align-self:center; }
  .lp2-footer-inner { grid-template-columns:1fr; gap:32px; }
  .lp2-stats-bar .lp2-stat-div { display:none; }
  .lp2-nav-links { display:none; }
  .lp2-hamburger { display:flex; }
  .lp2-nav-cta { display:none; }
}
@media(max-width:600px) {
  .lp2-features-grid { grid-template-columns:1fr; }
  .lp2-compare-row, .lp2-compare-head { grid-template-columns:1.5fr 1fr 1fr; gap:4px; }
  .lp2-compare-feat { font-size:12px; }
  .lp2-compare-bad, .lp2-compare-good { font-size:11px; }
  .lp2-float { display:none; }
}

/* ── LP2 CENTERED HERO (no image) ─────────────────────────── */
.lp2-hero-centered { padding:96px 24px 80px; text-align:center; background:linear-gradient(180deg,rgba(26,27,65,.04) 0%,transparent 100%); }
.lp2-hero-center { max-width:760px; margin:0 auto; }
.lp2-h1-center { margin-left:auto; margin-right:auto; }
.lp2-hero-sub-center { margin-left:auto; margin-right:auto; max-width:580px; }
.lp2-hero-actions-center { justify-content:center; }
.lp2-hero-trust-center { justify-content:center; }

/* ── VIRTUAL ACCOUNT CARD ──────────────────────────────────── */
.va-card{background:var(--surface);border:1.5px solid var(--mint-dark);border-radius:14px;padding:20px;margin-bottom:16px}
.va-card-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:2px}
.va-card-title{font-size:14px;font-weight:700;color:var(--text);display:flex;align-items:center;gap:7px}
.va-divider{height:1px;background:var(--border);margin:12px 0}
.va-detail-row{display:flex;justify-content:space-between;align-items:center;padding:8px 0;font-size:13px}
.va-detail-row span{color:var(--text-muted)}
.va-detail-row strong{color:var(--text)}
.va-acct-num{font-size:20px;font-weight:800;color:var(--indigo);letter-spacing:2px}
[data-theme=dark] .va-acct-num{color:var(--accent)}
.va-note{font-size:12px;color:var(--text-muted);display:flex;align-items:flex-start;gap:6px;line-height:1.5}
.va-how{background:var(--bg-2);border-radius:10px;padding:16px;margin-top:4px}
.va-how-title{font-size:13px;font-weight:700;color:var(--text);margin-bottom:12px}
.va-how-step{display:flex;align-items:flex-start;gap:10px;margin-bottom:8px;font-size:13px;color:var(--text-2)}
.va-step-n{width:22px;height:22px;border-radius:50%;background:var(--mint-dark);color:var(--indigo);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;flex-shrink:0}
/* Wallet cards */
.wallet-cards-row{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-bottom:16px}
.wallet-bal-card{background:var(--indigo);border-radius:12px;padding:16px;position:relative;cursor:default}
.wallet-bal-card--vault{background:var(--mint-glow);border:1px solid rgba(0,212,163,.2);cursor:pointer}
.wbc-label{font-size:10px;font-weight:700;color:rgba(255,255,255,.5);letter-spacing:.5px;margin-bottom:8px;display:flex;align-items:center;gap:5px}
.wallet-bal-card--vault .wbc-label{color:var(--mint-dark)}
.wbc-amount{font-size:22px;font-weight:800;color:#fff;letter-spacing:-.5px}
.wallet-bal-card--vault .wbc-amount{color:var(--indigo)}
.wbc-sub{font-size:11px;color:var(--mint-dark);margin-top:4px}
.wbc-eye{position:absolute;top:12px;right:12px;color:rgba(255,255,255,.4);background:none;border:none;cursor:pointer}
.wallet-tabs{display:flex;gap:4px;background:var(--bg-2);border-radius:10px;padding:4px;margin-bottom:16px}
.wt-btn{flex:1;padding:9px;border-radius:7px;font-size:13px;font-weight:500;color:var(--text-muted);background:none;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:5px;transition:all .15s}
.wt-btn.on{background:var(--surface);color:var(--text);font-weight:600;box-shadow:var(--sh)}

/* ── FEATURE PICKER BUTTONS ────────────────────────────────── */
.features-picker{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.feat-check{padding:7px 13px;border-radius:100px;font-size:13px;font-weight:500;cursor:pointer;border:1.5px solid var(--border);background:var(--surface);color:var(--text-muted);transition:all .15s;user-select:none}
.feat-check:hover{border-color:var(--accent);color:var(--text)}
.feat-check.checked{background:var(--mint-glow);border-color:var(--mint-dark);color:var(--mint-dark);font-weight:600}

/* ── BADGE GREEN ───────────────────────────────────────────── */
.badge-green{background:var(--success-2);color:var(--success);font-size:11px;font-weight:700;padding:2px 8px;border-radius:100px}

/* ── CONVERSATIONS LIST ─────────────────────────────────────── */
.conv-item{display:flex;align-items:center;gap:12px;padding:14px;border-bottom:1px solid var(--border);cursor:pointer;transition:background .15s}
.conv-item:hover{background:var(--bg-2)}
.conv-avatar{width:42px;height:42px;border-radius:50%;background:var(--indigo);color:var(--accent);display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:700;flex-shrink:0}
.conv-avatar--sm{width:32px;height:32px;font-size:13px;flex-shrink:0}
.conv-info{flex:1;min-width:0}
.conv-name-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:2px}
.conv-name{font-size:14px;font-weight:600;color:var(--text)}
.conv-time{font-size:11px;color:var(--text-muted);flex-shrink:0;margin-left:8px}
.conv-listing{font-size:11px;color:var(--text-muted);margin-bottom:2px;display:flex;align-items:center;gap:4px}
.conv-preview{font-size:13px;color:var(--text-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.conv-preview--unread{color:var(--text);font-weight:600}
.conv-badge{background:var(--terra);color:#fff;font-size:11px;font-weight:700;padding:2px 7px;border-radius:100px;flex-shrink:0;min-width:20px;text-align:center}

/* ── CHAT THREAD ────────────────────────────────────────────── */
.thread-wrap{display:flex;flex-direction:column;height:100vh;overflow:hidden}
.thread-header{display:flex;align-items:center;gap:10px;padding:12px 16px;background:var(--surface);border-bottom:1px solid var(--border);flex-shrink:0}
.thread-header-info{display:flex;align-items:center;gap:8px;flex:1;min-width:0}
.thread-name{font-size:14px;font-weight:700;color:var(--text);display:flex;align-items:center;gap:5px}
.thread-listing{font-size:11px;color:var(--text-muted);display:flex;align-items:center;gap:3px}
.thread-listing-bar{background:var(--mint-glow);padding:8px 16px;display:flex;justify-content:space-between;font-size:12px;color:var(--mint-dark);font-weight:500;flex-shrink:0}
.thread-messages{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:12px}
.thread-empty{text-align:center;color:var(--text-muted);font-size:13px;padding:32px 16px}
.msg-row{display:flex;align-items:flex-end;gap:8px}
.msg-row--mine{flex-direction:row-reverse}
.msg-avatar{width:28px;height:28px;border-radius:50%;background:var(--indigo);color:var(--accent);display:flex;align-items:center;justify-content:center;font-size:11px;font-weight:700;flex-shrink:0;margin-bottom:2px}
.msg-bubble{max-width:72%;background:var(--surface);border:1px solid var(--border);border-radius:16px 16px 16px 4px;padding:10px 14px;box-shadow:var(--sh)}
.msg-bubble--mine{background:var(--indigo);border-color:transparent;border-radius:16px 16px 4px 16px}
.msg-body{font-size:14px;line-height:1.5;color:var(--text);word-break:break-word}
.msg-bubble--mine .msg-body{color:#fff}
.msg-time{font-size:10px;color:var(--text-muted);margin-top:4px}
.msg-bubble--mine .msg-time{color:rgba(255,255,255,.5)}
.thread-input-bar{display:flex;align-items:flex-end;gap:10px;padding:12px 16px;background:var(--surface);border-top:1px solid var(--border);flex-shrink:0}
.thread-textarea{flex:1;border:1.5px solid var(--border);border-radius:20px;padding:10px 16px;font-size:14px;font-family:inherit;color:var(--text);background:var(--bg-2);resize:none;line-height:1.4;max-height:120px;overflow-y:auto;outline:none;transition:border-color .15s}
.thread-textarea:focus{border-color:var(--accent)}
.thread-send-btn{width:40px;height:40px;border-radius:50%;background:var(--indigo);color:var(--accent);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;flex-shrink:0;transition:all .15s}
.thread-send-btn:hover{background:var(--accent);color:var(--indigo)}
.verified-check{background:var(--mint-glow);color:var(--mint-dark);width:16px;height:16px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center}

/* ── UPLOAD DROP ZONE ───────────────────────────────────────── */
.upload-drop-zone{border:2px dashed var(--border);border-radius:12px;padding:32px;text-align:center;cursor:pointer;color:var(--text-muted);transition:all .2s}
.upload-drop-zone:hover{border-color:var(--accent);background:var(--mint-glow);color:var(--mint-dark)}

/* ── FORM ROW VARIANTS ─────────────────────────────────────── */
/* 4-column grid for room fields — fills width, collapses gracefully */
.form-row-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
}
@media (max-width: 600px) {
  .form-row-4 { grid-template-columns: repeat(2, 1fr); }
}

/* ── COLLAPSIBLE DESKTOP SIDEBAR ─────────────────────────── */
@media (min-width: 481px) {
  .sb-toggle-btn {
    display: flex; align-items: center; justify-content: center;
    width: 32px; height: 32px; border-radius: 8px; cursor: pointer;
    background: none; border: 1px solid var(--border); color: var(--text-muted);
    position: absolute; top: 18px; right: -16px; z-index: 10;
    transition: all .2s; box-shadow: var(--sh);
    background: var(--surface);
  }
  .sb-toggle-btn:hover { color: var(--indigo); border-color: var(--indigo); }

  /* Collapsed state */
  body.sb-collapsed .app-nav {
    width: 64px; overflow: visible;
  }
  body.sb-collapsed .app-nav::before {
    content: 'N'; font-size: 18px; text-align: center;
    padding: 20px 0; width: 64px;
  }
  body.sb-collapsed .an-btn {
    padding: 13px 0; justify-content: center; gap: 0;
  }
  body.sb-collapsed .an-btn span:last-child { display: none; }
  body.sb-collapsed .an-btn span:first-child { font-size: 20px; }
  body.sb-collapsed .an-btn { position: relative; }
  body.sb-collapsed .an-btn:hover::after {
    content: attr(data-label);
    position: absolute; left: 64px; top: 50%; transform: translateY(-50%);
    background: var(--indigo); color: #fff; padding: 6px 12px;
    border-radius: 8px; font-size: 13px; font-weight: 600;
    white-space: nowrap; z-index: 100; pointer-events: none;
    box-shadow: var(--sh-lg);
  }
}

/* ── PUBLIC LISTINGS ON LANDING ─────────────────────────── */
.lp-listings-section {
  padding: 60px 24px 80px;
  background: var(--bg);
}
.lp-listings-section .section-head {
  max-width: 1100px; margin: 0 auto 24px;
}
.lp-listings-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
@media (max-width: 600px) {
  .lp-listings-grid { grid-template-columns: 1fr; }
}

/* ── DESKTOP SIDEBAR COLLAPSE ────────────────────────────── */
@media(min-width:481px){
  .sb-toggle-btn{position:absolute;top:16px;right:-14px;width:28px;height:28px;border-radius:50%;background:var(--surface);border:1px solid var(--border);cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--text-muted);box-shadow:var(--sh);z-index:20;transition:all .2s;}
  .sb-toggle-btn:hover{color:var(--indigo);border-color:var(--indigo);}
  body.sb-collapsed .app-nav{width:64px;}
  body.sb-collapsed .nav-label{display:none;}
  body.sb-collapsed .an-btn{padding:14px 0;justify-content:center;}
  body.sb-collapsed .an-btn span:first-child{font-size:22px;}
  body.sb-collapsed #content{margin-left:64px;}
  body.sb-collapsed .sb-toggle-btn svg polyline{transform:rotate(180deg);transform-origin:center;}
  .an-btn{position:relative;}
  body.sb-collapsed .an-btn:hover::after{content:attr(data-label);position:absolute;left:68px;top:50%;transform:translateY(-50%);background:var(--indigo);color:#fff;padding:5px 10px;border-radius:7px;font-size:12px;font-weight:600;white-space:nowrap;z-index:100;pointer-events:none;}
}

/* ── LANDING PAGE LISTING CARDS ──────────────────────────── */
.lp-listings-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:16px;max-width:1100px;margin:0 auto;}
.lp-card{background:var(--surface);border:1px solid var(--border);border-radius:14px;overflow:hidden;cursor:pointer;transition:box-shadow .2s,transform .2s;}
.lp-card:hover{box-shadow:var(--sh-lg);transform:translateY(-2px);}
.lp-card-img{height:180px;background:var(--bg-2);position:relative;overflow:hidden;}
/* lp-card-badge consolidated below */
.lp-card-body{padding:14px;}
.lp-card-title{font-size:14px;font-weight:700;color:var(--text);margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.lp-card-loc{font-size:12px;color:var(--text-muted);margin-bottom:8px;}
.lp-card-price{font-size:18px;font-weight:800;color:var(--indigo);letter-spacing:-.3px;}
.lp-card-price span{font-size:12px;font-weight:500;color:var(--text-muted);}
.lp-card-meta{display:flex;gap:8px;margin-top:6px;flex-wrap:wrap;}
.lp-card-meta span{font-size:11px;color:var(--text-muted);background:var(--bg-2);padding:2px 8px;border-radius:100px;}
@media(max-width:600px){.lp-listings-grid{grid-template-columns:1fr 1fr;gap:10px;}.lp-card-img{height:130px;}}
@media(max-width:380px){.lp-listings-grid{grid-template-columns:1fr;}}

/* Landing page styles consolidated below */

/* ── PROFILE TABS ─────────────────────────────────────────────────────── */
.profile-tab{padding:10px 16px;font-size:13px;font-weight:600;color:var(--text-muted);border-bottom:2px solid transparent;margin-bottom:-2px;cursor:pointer;white-space:nowrap;background:none;border-left:none;border-right:none;border-top:none;flex-shrink:0;}
.profile-tab.active{color:var(--accent);border-bottom-color:var(--accent);}
.profile-tab:hover:not(.active){color:var(--text);}

/* ── MISSING UTILITY CLASSES ──────────────────────────────────────────────── */

/* Screen containers */
.screen { padding-bottom: 100px; }
.screen-header { display: flex; align-items: center; gap: 12px; padding: 16px 16px 8px; background: var(--bg); position: sticky; top: 0; z-index: 10; }
.screen-header h1, .screen-header h2 { font-size: 17px; font-weight: 700; flex: 1; margin: 0; }

/* Back button */
.back-btn { width: 36px; height: 36px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; color: var(--text); }
.back-btn:hover { background: var(--bg-2); }

/* Button variants */
.btn-full { width: 100%; justify-content: center; }
.btn-sm   { padding: 7px 14px; font-size: 13px; }
.btn-xs   { padding: 4px 10px; font-size: 12px; border-radius: 6px; }
.btn-accent { background: var(--accent); color: #fff; padding: 12px 20px; border-radius: var(--radius); font-size: 14px; font-weight: 600; border: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.btn-accent:hover { opacity: .9; }
.btn-disabled { opacity: .45; cursor: not-allowed; pointer-events: none; }

/* Form inputs */
.form-input { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--r-sm); background: var(--surface); color: var(--text); font-size: 14px; font-family: inherit; outline: none; transition: border-color .15s; }
.form-input:focus { border-color: var(--accent); }
.form-input[type=select], select.form-input { cursor: pointer; }
.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 12px; font-weight: 600; color: var(--text-muted); margin-bottom: 5px; text-transform: uppercase; letter-spacing: .4px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media(max-width:400px){ .form-row { grid-template-columns: 1fr; } }

/* Modal close button */
.modal-close { background: none; border: 1.5px solid var(--border); color: var(--text-muted); padding: 10px 16px; border-radius: 8px; font-size: 13px; cursor: pointer; width: 100%; margin-top: 8px; }
.modal-close:hover { background: var(--bg-2); }

/* Danger text/button */
.danger { color: var(--error) !important; }
.btn-danger-text { background: none; border: none; color: var(--error); font-size: 13px; cursor: pointer; padding: 4px 0; }

/* Completion nudge */
.completion-nudge { cursor: pointer; transition: opacity .15s; }
.completion-nudge:hover { opacity: .9; }

/* Boost cards */
.boost-plan-card:hover { border-color: var(--accent) !important; }
.boost-day-btn:hover { border-color: var(--accent) !important; cursor: pointer; }

/* Notification body */
.notif-body { font-size: 13px; color: var(--text-muted); margin-top: 2px; line-height: 1.5; }

/* Wallet tab body */
.wallet-tab-body { padding: 16px; }

/* Share button */
.share-btn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 12px; border-radius: 10px; border: 1.5px solid var(--border); background: var(--surface); cursor: pointer; font-size: 13px; font-weight: 500; color: var(--text); transition: all .15s; }
.share-btn:hover { border-color: var(--accent); color: var(--accent); }

/* Install app */
.install-app-btn { display: flex; align-items: center; gap: 8px; }

/* sp-body-text */
.sp-body-text { font-size: 14px; color: var(--text); line-height: 1.7; padding: 0 16px 16px; }

/* Listing detail */
.detail-features { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 16px; }
.reviews-section { padding: 0 16px 16px; }

/* Vault */
.vh-progress { height: 8px; background: var(--border); border-radius: 100px; overflow: hidden; }
.vtc-dest { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* Escrow detail */
.ec-body { padding: 16px; }
.ed-details { display: flex; flex-direction: column; gap: 10px; padding: 16px; }

/* Transaction info */
.tx-info { font-size: 12px; color: var(--text-muted); }

/* lp2 steps */
.lp2-step-body h3 { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.lp2-step-body p  { font-size: 13px; color: rgba(255,255,255,.6); }

/* ── LANDING PAGE FIXES ───────────────────────────────────────────────────── */

/* Nav — hamburger to the right */
.lp2-nav-inner { display:flex; align-items:center; gap:12px; padding:0 20px; height:58px; max-width:1200px; margin:0 auto; }
.lp2-logo { font-size:20px; font-weight:800; color:var(--primary); letter-spacing:-.5px; margin-right:auto; flex-shrink:0; }
.lp2-logo span { color:var(--accent); }
.lp2-nav-links { display:flex; gap:20px; }
.lp2-nav-links a { font-size:14px; font-weight:500; color:var(--text-mid); cursor:pointer; white-space:nowrap; }
.lp2-nav-links a:hover { color:var(--accent); }
.lp2-nav-cta { display:flex; gap:8px; flex-shrink:0; }
.lp2-hamburger { display:none; background:none; border:1.5px solid var(--border); border-radius:8px; padding:8px 10px; cursor:pointer; color:var(--text); flex-shrink:0; }
.lp2-mobile-menu { display:none; padding:12px 20px 16px; border-top:1px solid var(--border); background:var(--surface); }
.lp2-mobile-menu.open { display:block; }

@media(max-width:700px) {
  .lp2-nav-links { display:none; }
  .lp2-nav-cta   { display:none; }
  .lp2-hamburger { display:flex; align-items:center; justify-content:center; margin-left:auto; }
  .lp2-logo      { margin-right:0; }
}

/* Hero section fonts */
.lp-hs-title { font-size:clamp(20px,5vw,34px); font-weight:800; color:#fff; text-align:center; margin-bottom:8px; line-height:1.25; }
.lp-hs-sub   { font-size:clamp(13px,2vw,15px); color:rgba(255,255,255,.75); text-align:center; margin-bottom:20px; line-height:1.5; }

/* Search box adjustments */
.lp-search-row { display:flex; gap:8px; flex-wrap:wrap; }
.lp-search-input-wrap { flex:1; min-width:160px; }
@media(max-width:500px){
  .lp-search-row { flex-direction:column; gap:8px; }
  .lp-sel { width:100% !important; }
  .lp-search-btn { width:100%; }
}

/* Advanced filters grid */
.lp-adv-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:10px; }
.lp-adv-label { display:block; font-size:11px; font-weight:700; color:var(--text-muted); margin-bottom:4px; text-transform:uppercase; letter-spacing:.4px; }
@media(max-width:480px){ .lp-adv-grid { grid-template-columns:1fr 1fr; } }

/* Stats bar */
.lp2-stats-bar   { background:var(--primary); padding:18px 20px; }
.lp2-stats-inner { display:flex; justify-content:center; align-items:center; gap:12px; flex-wrap:wrap; max-width:900px; margin:0 auto; }
.lp2-stat-item   { text-align:center; }
.lp2-stat-n      { display:block; font-size:clamp(16px,3vw,22px); font-weight:800; color:#fff; line-height:1.1; }
.lp2-stat-l      { display:block; font-size:clamp(10px,1.5vw,12px); color:rgba(255,255,255,.55); margin-top:2px; white-space:nowrap; }
.lp2-stat-div    { width:1px; height:28px; background:rgba(255,255,255,.2); flex-shrink:0; }

/* Features section */
.lp2-section { padding:56px 20px; background:var(--bg); }
.lp2-section-inner { max-width:1100px; margin:0 auto; }
.lp2-section-label { font-size:12px; font-weight:700; color:var(--accent); text-transform:uppercase; letter-spacing:1.5px; margin-bottom:10px; }
.lp2-h2 { font-size:clamp(22px,4vw,34px); font-weight:800; color:var(--text); line-height:1.2; margin-bottom:32px; }
.lp2-features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
@media(max-width:780px){ .lp2-features-grid { grid-template-columns:1fr 1fr; } }
@media(max-width:480px){ .lp2-features-grid { grid-template-columns:1fr; } }
.lp2-feat { background:var(--surface); border:1px solid var(--border); border-radius:16px; padding:24px; }
.lp2-feat h3 { font-size:16px; font-weight:700; margin:12px 0 6px; color:var(--text); }
.lp2-feat p  { font-size:13px; color:var(--text-muted); line-height:1.6; margin-bottom:12px; }
.lp2-feat-icon { color:var(--accent); }
.lp2-feat-tag { display:inline-block; font-size:11px; font-weight:700; padding:3px 10px; border-radius:100px; background:var(--accent-lt); color:var(--accent); text-transform:uppercase; letter-spacing:.5px; }
.lp2-feat-accent { background:var(--accent); border-color:var(--accent); }
.lp2-feat-accent h3,.lp2-feat-accent p { color:#fff; }
.lp2-feat-accent .lp2-feat-icon { color:#fff; }
.lp2-feat-accent .lp2-feat-tag { background:rgba(255,255,255,.2); color:#fff; }
.lp2-feat-dark { background:var(--primary); border-color:var(--primary); }
.lp2-feat-dark h3,.lp2-feat-dark p { color:#fff; }
.lp2-feat-dark .lp2-feat-icon { color:var(--accent); }
.lp2-feat-tag-light { background:rgba(255,255,255,.15); color:#fff; }

/* HOW IT WORKS — 2 per row on mobile */
.lp2-how { background:var(--primary); padding:56px 20px; }
.lp2-steps { display:grid; grid-template-columns:repeat(4,1fr); gap:12px; align-items:start; }
.lp2-step  { background:rgba(255,255,255,.07); border-radius:14px; padding:18px 14px; text-align:center; }
.lp2-step-num  { font-size:28px; font-weight:800; color:var(--accent); line-height:1; margin-bottom:8px; }
.lp2-step-body h3 { font-size:14px; font-weight:700; color:#fff; margin-bottom:4px; }
.lp2-step-body p  { font-size:12px; color:rgba(255,255,255,.55); line-height:1.5; }
.lp2-step-arrow { display:none; } /* arrows hidden, grid handles layout */
@media(max-width:650px){
  .lp2-steps { grid-template-columns:repeat(2,1fr); gap:10px; }
}
@media(max-width:400px){
  .lp2-step-body h3 { font-size:13px; }
  .lp2-step-body p  { font-size:11px; }
  .lp2-step-num     { font-size:22px; }
}

/* CTA section */
.lp2-cta-section { background:linear-gradient(135deg,var(--accent),#00a882); padding:56px 20px; text-align:center; }
.lp2-cta-inner   { max-width:640px; margin:0 auto; }
.lp2-cta-badge   { display:inline-block; background:rgba(255,255,255,.2); color:#fff; font-size:13px; font-weight:600; padding:5px 14px; border-radius:100px; margin-bottom:16px; }
.lp2-cta-h2  { font-size:clamp(20px,4vw,30px); font-weight:800; color:#fff; margin-bottom:10px; }
.lp2-cta-sub { font-size:14px; color:rgba(255,255,255,.8); margin-bottom:24px; }
.lp2-cta-btns { display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }
.lp2-btn-accent { background:#fff; color:var(--accent); padding:13px 24px; border-radius:10px; font-size:15px; font-weight:700; border:none; cursor:pointer; display:inline-flex; align-items:center; gap:6px; }
.lp2-btn-lg { padding:13px 24px; font-size:15px; }

/* Footer */
/* footer v2 removed */
@media(max-width:600px){
  .lp2-footer-inner { grid-template-columns:1fr; gap:24px; }
  .lp2-cta-btns { flex-direction:column; align-items:stretch; }
}

/* Nav buttons */
.lp2-btn-ghost { background:none; border:1.5px solid var(--border); color:var(--text); padding:8px 16px; border-radius:8px; font-size:13px; font-weight:600; cursor:pointer; transition:all .15s; white-space:nowrap; }
.lp2-btn-ghost:hover { border-color:var(--accent); color:var(--accent); }
.lp2-btn-solid { background:var(--accent); color:#fff; padding:8px 16px; border-radius:8px; font-size:13px; font-weight:700; border:none; cursor:pointer; white-space:nowrap; }
.lp2-btn-solid:hover { opacity:.9; }

/* Listings section */
.lp-listings-section { padding:28px 16px 32px; max-width:1200px; margin:0 auto; }
.lp-listings-inner   { max-width:1200px; margin:0 auto; }
.lp-listings-topbar  { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; flex-wrap:wrap; gap:8px; }
.lp-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:14px; }
@media(max-width:540px){ .lp-grid { grid-template-columns:1fr 1fr; gap:10px; } }
@media(max-width:340px){ .lp-grid { grid-template-columns:1fr; } }
.lp-card { background:var(--surface); border-radius:12px; overflow:hidden; cursor:pointer; border:1px solid var(--border); transition:transform .15s,box-shadow .15s; }
.lp-card:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(0,0,0,.1); }
.lp-card-img  { height:160px; position:relative; overflow:hidden; background:var(--bg-2); }
.lp-card-body { padding:12px; }
.lp-card-title { font-size:13px; font-weight:700; color:var(--text); margin-bottom:3px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.lp-card-loc   { font-size:11px; color:var(--text-muted); margin-bottom:5px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.lp-card-price { font-size:15px; font-weight:800; color:var(--accent); margin-bottom:5px; }
.lp-card-price span { font-size:11px; font-weight:400; color:var(--text-muted); }
.lp-card-meta  { display:flex; gap:6px; flex-wrap:wrap; }
.lp-card-meta span { font-size:11px; color:var(--text-muted); background:var(--bg); padding:2px 6px; border-radius:4px; white-space:nowrap; }
.lp-card-skeleton { background:var(--surface); border-radius:12px; height:220px; border:1px solid var(--border); animation:skel-pulse 1.5s ease-in-out infinite; }

/* ── LANDING PAGE — CONSOLIDATED (overrides all previous LP rules) ─────────── */

/* Filter panel — CSS-only toggle, no inline style conflict */
.lp-adv-filters-panel { display:none; padding:16px 0 4px; }
.lp-adv-filters-panel.open { display:block !important; }

/* Also support old ID in case anything still uses it */
#lp-adv-filters { display:none; }
#lp-adv-filters.open { display:block !important; }

/* Search box full */
.lp-search-box { background:var(--surface); border-radius:14px; padding:16px; box-shadow:0 8px 40px rgba(0,0,0,.25); }
.lp-search-row { display:flex; gap:8px; flex-wrap:wrap; }
.lp-search-input-wrap { flex:1; min-width:180px; position:relative; display:flex; align-items:center; }
.lp-search-input-wrap > svg { position:absolute; left:10px; top:50%; transform:translateY(-50%); color:var(--text-muted); pointer-events:none; z-index:1; }
.lp-search-input-wrap input { width:100%; padding:11px 12px 11px 34px; border:1.5px solid var(--border); border-radius:8px; font-size:14px; background:var(--surface); color:var(--text); outline:none; font-family:inherit; }
.lp-search-input-wrap input:focus { border-color:var(--accent); }
.lp-sel { padding:11px 12px; border:1.5px solid var(--border); border-radius:8px; background:var(--surface); color:var(--text); font-size:13px; outline:none; cursor:pointer; font-family:inherit; }
.lp-sel:focus { border-color:var(--accent); }
.lp-search-btn { background:var(--accent); color:#fff; padding:11px 22px; border-radius:8px; font-size:14px; font-weight:700; border:none; cursor:pointer; white-space:nowrap; flex-shrink:0; }
.lp-search-btn:hover { opacity:.9; }

/* Filter toggle row */
.lp-filter-toggle-row { display:flex; align-items:center; gap:10px; margin-top:10px; flex-wrap:wrap; }
.lp-filter-toggle-btn { display:inline-flex; align-items:center; gap:6px; font-size:13px; font-weight:600; color:var(--text-mid,#555); background:none; border:1.5px solid var(--border); padding:7px 13px; border-radius:8px; cursor:pointer; transition:all .15s; }
.lp-filter-toggle-btn:hover { border-color:var(--accent); color:var(--accent); }

/* Hero */
.lp-hero-search { background:var(--primary); padding:36px 20px 44px; }
.lp-hs-inner { max-width:820px; margin:0 auto; }
.lp-hs-title { font-size:clamp(20px,5vw,34px); font-weight:800; color:#fff; text-align:center; margin-bottom:8px; line-height:1.25; }
.lp-hs-sub { font-size:clamp(13px,2vw,15px); color:rgba(255,255,255,.72); text-align:center; margin-bottom:22px; line-height:1.5; }

/* AJAX Suggestions dropdown */
.lp-suggestions { position:absolute; top:calc(100% + 4px); left:0; right:0; background:var(--surface); border:1.5px solid var(--border); border-radius:10px; box-shadow:0 8px 32px rgba(0,0,0,.15); z-index:9999; overflow:hidden; max-height:320px; overflow-y:auto; }
.lp-suggestions:empty { display:none; }
.lp-sug-item { display:flex; align-items:center; gap:10px; padding:11px 14px; cursor:pointer; transition:background .1s; }
.lp-sug-item:hover, .lp-sug-item.active { background:var(--accent-lt,rgba(0,212,163,.08)); }
.lp-sug-icon { width:28px; height:28px; border-radius:8px; background:var(--bg); display:flex; align-items:center; justify-content:center; color:var(--text-muted); flex-shrink:0; }
.lp-sug-text { flex:1; min-width:0; }
.lp-sug-label { font-size:13px; font-weight:600; color:var(--text); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.lp-sug-sub { font-size:11px; color:var(--text-muted); margin-top:1px; }
.lp-sug-more { padding:10px 14px; font-size:13px; color:var(--accent); cursor:pointer; border-top:1px solid var(--border); display:flex; align-items:center; gap:6px; }
.lp-sug-more:hover { background:var(--accent-lt); }

/* Listings */
.lp-listings-section { padding:28px 16px 32px; }
.lp-listings-inner   { max-width:1200px; margin:0 auto; }
.lp-listings-topbar  { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; flex-wrap:wrap; gap:8px; }
.lp-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:14px; }
@media(max-width:540px){ .lp-grid { grid-template-columns:1fr 1fr; gap:10px; } }
@media(max-width:320px){ .lp-grid { grid-template-columns:1fr; } }
.lp-card { background:var(--surface); border-radius:12px; overflow:hidden; cursor:pointer; border:1px solid var(--border); transition:transform .15s,box-shadow .15s; }
.lp-card:hover { transform:translateY(-2px); box-shadow:0 8px 24px rgba(0,0,0,.1); }
.lp-card-img  { height:160px; position:relative; overflow:hidden; background:var(--bg-2,#e8ede8); flex-shrink:0; }
.lp-card-body { padding:12px; }
.lp-card-title { font-size:13px; font-weight:700; color:var(--text); margin-bottom:3px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.lp-card-loc   { font-size:11px; color:var(--text-muted); margin-bottom:5px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.lp-card-price { font-size:15px; font-weight:800; color:var(--accent); margin-bottom:5px; }
.lp-card-price span { font-size:11px; font-weight:400; color:var(--text-muted); }
.lp-card-meta  { display:flex; gap:6px; flex-wrap:wrap; }
.lp-card-meta span { font-size:11px; color:var(--text-muted); background:var(--bg); padding:2px 6px; border-radius:4px; white-space:nowrap; }
.lp-card-skeleton { background:var(--surface); border-radius:12px; height:220px; border:1px solid var(--border); animation:skel-pulse 1.4s ease-in-out infinite; }
@keyframes skel-pulse { 0%,100%{opacity:1;} 50%{opacity:.45;} }
.lp-pag-btn { padding:7px 13px; border:1.5px solid var(--border); border-radius:8px; background:var(--surface); color:var(--text); font-size:13px; cursor:pointer; }
.lp-pag-btn:hover { border-color:var(--accent); color:var(--accent); }
.lp-pag-btn.active { background:var(--accent); border-color:var(--accent); color:#fff; }

/* Advanced filters grid */
.lp-adv-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(155px,1fr)); gap:10px; }
.lp-adv-label { display:block; font-size:11px; font-weight:700; color:var(--text-muted); margin-bottom:4px; text-transform:uppercase; letter-spacing:.4px; }
@media(max-width:480px){ .lp-adv-grid { grid-template-columns:1fr 1fr; } }
@media(max-width:320px){ .lp-adv-grid { grid-template-columns:1fr; } }

@media(max-width:500px){
  .lp-search-row { flex-direction:column; }
  .lp-sel,.lp-search-btn { width:100% !important; }
}

/* ── SUPPORT SCREEN ──────────────────────────────────────────────────────── */
.support-chat-card { display:flex; align-items:center; gap:14px; background:var(--surface); border:1.5px solid var(--accent-glow,rgba(0,212,163,.25)); border-radius:14px; padding:16px; cursor:pointer; margin-bottom:20px; transition:all .15s; }
.support-chat-card:hover { border-color:var(--accent); box-shadow:0 4px 20px rgba(0,212,163,.12); }
.scc-left  { position:relative; flex-shrink:0; }
.scc-avatar { width:44px; height:44px; border-radius:50%; background:var(--accent); color:#fff; font-size:18px; font-weight:800; display:flex; align-items:center; justify-content:center; }
.scc-status-dot { position:absolute; bottom:1px; right:1px; width:11px; height:11px; border-radius:50%; background:var(--success); border:2px solid var(--surface); }
.scc-body  { flex:1; min-width:0; }
.scc-title { font-size:14px; font-weight:700; color:var(--text); }
.scc-sub   { font-size:12px; color:var(--text-muted); margin-top:2px; }
.scc-online { font-size:11px; font-weight:700; color:var(--success); margin-top:4px; }
.scc-arrow { color:var(--text-hint); flex-shrink:0; }

/* WhatsApp card keep same colour as others but use real icon */
.contact-card-whatsapp .cc-icon-whatsapp { color:var(--accent); }

/* ── LEGAL PAGES (Privacy Policy, Terms of Service) ─────────────────────── */
.legal-page .sp-body { padding-bottom: 40px; }
.legal-intro { background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:20px; margin-bottom:8px; }
.legal-intro p { font-size:14px; color:var(--text); line-height:1.7; margin-bottom:10px; }
.legal-intro p:last-child { margin-bottom:0; }
.legal-updated { font-size:12px; color:var(--text-muted); font-style:italic; margin-top:12px !important; }
.legal-badge { display:inline-block; background:var(--success-bg,rgba(16,185,129,.1)); color:var(--success); font-size:11px; font-weight:700; padding:4px 10px; border-radius:100px; margin-bottom:10px; text-transform:uppercase; letter-spacing:.5px; border:1px solid rgba(16,185,129,.2); }

.legal-section { margin-bottom:4px; }
.legal-section-title { font-size:16px; font-weight:700; color:var(--text); padding:16px 16px 0; margin-bottom:0; }
.legal-section-body { padding:10px 16px 16px; font-size:13px; color:var(--text); line-height:1.7; }
.legal-section-body p { margin-bottom:10px; }
.legal-section-body p:last-child { margin-bottom:0; }

.legal-list { padding-left:18px; margin:8px 0; }
.legal-list li { margin-bottom:8px; font-size:13px; line-height:1.6; }

.legal-table { width:100%; border-collapse:collapse; font-size:12px; margin:10px 0; }
.legal-table th { background:var(--bg); padding:8px 12px; text-align:left; font-size:11px; font-weight:700; color:var(--text-muted); text-transform:uppercase; letter-spacing:.3px; border-bottom:2px solid var(--border); }
.legal-table td { padding:10px 12px; border-bottom:1px solid var(--border); vertical-align:top; line-height:1.5; }
.legal-table tr:last-child td { border-bottom:none; }
.legal-table tr:hover td { background:var(--bg); }
@media(max-width:480px){ .legal-table { font-size:11px; } .legal-table th,.legal-table td { padding:8px 8px; } }

.legal-note { background:var(--accent-lt,rgba(0,212,163,.08)); border-left:3px solid var(--accent); padding:10px 14px; border-radius:0 8px 8px 0; font-size:12px; color:var(--text-muted); margin-top:12px; line-height:1.6; }

.legal-contact-box { background:var(--bg); border:1px solid var(--border); border-radius:10px; padding:16px; font-size:13px; line-height:1.8; color:var(--text); }
.legal-contact-box a { color:var(--accent); }

.legal-processor-grid { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin:12px 0; }
@media(max-width:500px){ .legal-processor-grid { grid-template-columns:1fr; } }
.legal-processor-card { background:var(--surface); border:1px solid var(--border); border-radius:10px; overflow:hidden; }
.lpc-header { background:var(--bg); padding:10px 14px; display:flex; align-items:center; justify-content:space-between; gap:8px; flex-wrap:wrap; border-bottom:1px solid var(--border); }
.lpc-name { font-size:13px; font-weight:700; color:var(--text); }
.lpc-badge { font-size:10px; font-weight:700; padding:2px 8px; border-radius:100px; background:var(--accent-lt); color:var(--accent); white-space:nowrap; }
.lpc-body { padding:12px 14px; display:flex; flex-direction:column; gap:6px; font-size:12px; color:var(--text-muted); line-height:1.5; }
.lpc-body a { color:var(--accent); }

.legal-rights-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:12px 0; }
@media(max-width:500px){ .legal-rights-grid { grid-template-columns:1fr; } }
.legal-right-item { background:var(--surface); border:1px solid var(--border); border-radius:8px; padding:12px; }
.lri-title { font-size:12px; font-weight:700; color:var(--accent); margin-bottom:4px; }
.lri-body  { font-size:12px; color:var(--text-muted); line-height:1.5; }

/* footer v3 removed - see final below */



/* ════════════════════════════════════════════════════
   LANDING PAGE FOOTER — v4 FINAL
   ════════════════════════════════════════════════════ */

.lp2-footer { background:#071810; position:relative; overflow:hidden; }
.lp2-footer-wave { line-height:0; }
.lp2-footer-wave svg { display:block; width:100%; height:44px; }
.lp2-footer-body { max-width:1140px; margin:0 auto; padding:0 28px; }

/* ─── BRAND ROW — centred ─── */
.lp2-foot-brand-row {
  padding:52px 0 36px;
  border-bottom:1px solid rgba(255,255,255,.06);
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:0;
}
.lp2-footer-logo { font-size:30px; font-weight:800; color:#fff; letter-spacing:-1px; margin-bottom:12px; }
.lp2-footer-logo span { color:var(--accent,#E8933A); }
.lp2-foot-tagline { font-size:13.5px; color:rgba(255,255,255,.4); line-height:1.75; max-width:540px; margin-bottom:22px; }

/* Contact pills — centred, wrapping */
.lp2-foot-contact {
  display:flex; flex-wrap:wrap; justify-content:center; gap:8px; margin-bottom:20px;
}
.lp2-foot-pill {
  display:inline-flex; align-items:center; gap:7px;
  font-size:12px; color:rgba(255,255,255,.5);
  text-decoration:none; padding:8px 14px;
  border-radius:100px; background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.1); transition:all .15s; white-space:nowrap;
}
.lp2-foot-pill:hover { color:#fff; background:rgba(255,255,255,.11); border-color:rgba(255,255,255,.2); }
.lp2-foot-pill-wa:hover { color:#25D366; border-color:rgba(37,211,102,.4); background:rgba(37,211,102,.08); }
.lp2-foot-pill-addr { cursor:default; color:rgba(255,255,255,.35); }

/* Social icons row */
.lp2-foot-socials {
  display:flex; align-items:center; justify-content:center; gap:8px; margin-bottom:20px;
}
.lp2-foot-social {
  width:36px; height:36px; border-radius:10px;
  background:rgba(255,255,255,.07); border:1px solid rgba(255,255,255,.1);
  display:flex; align-items:center; justify-content:center;
  color:rgba(255,255,255,.5); text-decoration:none; transition:all .15s; flex-shrink:0;
}
.lp2-foot-social:hover { background:rgba(255,255,255,.14); color:#fff; border-color:rgba(255,255,255,.2); }
.lp2-foot-social-wa:hover { background:rgba(37,211,102,.12); color:#25D366; border-color:rgba(37,211,102,.35); }

/* Trust badges — full row desktop, 2×2 mobile */
.lp2-foot-badges {
  display:flex; flex-wrap:wrap; justify-content:center; gap:8px;
}
.lp2-foot-badge {
  font-size:11px; font-weight:600;
  color:rgba(255,255,255,.3);
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
  padding:6px 14px; border-radius:100px; white-space:nowrap;
}

/* ─── LINKS ROW — 4 equal cols ─── */
.lp2-foot-links-row {
  display:grid; grid-template-columns:repeat(4,1fr); gap:0;
  padding:40px 0 44px;
}
.lp2-foot-col {
  padding:0 22px;
  border-right:1px solid rgba(255,255,255,.05);
}
.lp2-foot-col:first-child { padding-left:0; }
.lp2-foot-col:last-child  { padding-right:0; border-right:none; }

.lp2-foot-col-head {
  display:flex; align-items:center; justify-content:space-between;
  font-size:10.5px; font-weight:700; color:rgba(255,255,255,.32);
  text-transform:uppercase; letter-spacing:1.1px;
  padding-bottom:12px; margin-bottom:14px;
  border-bottom:1px solid rgba(255,255,255,.06);
  user-select:none;
}
.lp2-foot-chev { display:none; } /* hidden on desktop */
.lp2-foot-col-body a {
  display:block; font-size:13px; color:rgba(255,255,255,.48);
  margin-bottom:11px; cursor:pointer; transition:color .15s; text-decoration:none;
}
.lp2-foot-col-body a:last-child { margin-bottom:0; }
.lp2-foot-col-body a:hover { color:var(--accent,#E8933A); }

/* Divider */
.lp2-footer-rule {
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(255,255,255,.08) 15%,rgba(255,255,255,.08) 85%,transparent);
  margin:0 28px;
}

/* Bottom bar */
.lp2-footer-bottom { max-width:1140px; margin:0 auto; padding:0 28px; }
.lp2-footer-bottom-inner {
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 0 22px; gap:12px; flex-wrap:wrap;
}
.lp2-footer-copy   { font-size:12px; color:rgba(255,255,255,.2); }
.lp2-footer-country{ font-size:12px; color:rgba(255,255,255,.18); }
.lp2-footer-bottom-links { display:flex; gap:18px; }
.lp2-footer-bottom-links a {
  font-size:12px; color:rgba(255,255,255,.28);
  cursor:pointer; transition:color .15s; text-decoration:none;
}
.lp2-footer-bottom-links a:hover { color:rgba(255,255,255,.7); }

/* ── TABLET ≤960px: 2×2 link grid ── */
@media(max-width:960px){
  .lp2-foot-links-row { grid-template-columns:1fr 1fr; }
  .lp2-foot-col {
    padding:24px 20px;
    border-right:none;
    border-bottom:1px solid rgba(255,255,255,.05);
  }
  .lp2-foot-col:nth-child(odd)  { border-right:1px solid rgba(255,255,255,.05); padding-left:0; }
  .lp2-foot-col:nth-child(even) { padding-right:0; }
  .lp2-foot-col:nth-last-child(-n+2){ border-bottom:none; }
}

/* ── MOBILE ≤640px: accordion ── */
@media(max-width:640px){
  .lp2-footer-body { padding:0 20px; }

  /* Brand — left align */
  .lp2-foot-brand-row {
    align-items:center; text-align:center;
    padding:36px 0 28px;
  }
  .lp2-foot-contact   { justify-content:center; }
  .lp2-foot-socials   { justify-content:center; }
  .lp2-foot-badges    { justify-content:center; }
  .lp2-foot-tagline   { max-width:100%; font-size:13px; }

  /* Trust badges → 2 per row on mobile */
  .lp2-foot-badges {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:8px;
  }
  .lp2-foot-badge { text-align:center; white-space:normal; }

  /* Accordion link cols */
  .lp2-foot-links-row {
    grid-template-columns:1fr 1fr;
    padding:8px 0 16px;
    gap:0;
  }
  .lp2-foot-col {
    padding:0;
    border-right:none !important;
    border-bottom:1px solid rgba(255,255,255,.05) !important;
  }
  /* Col 1 & 2 in same row — add right border to odd */
  .lp2-foot-col:nth-child(odd)  { border-right:1px solid rgba(255,255,255,.05) !important; }
  .lp2-foot-col:nth-last-child(-n+2){ border-bottom:none !important; }

  .lp2-foot-col-head {
    padding:14px 12px;
    margin-bottom:0;
    font-size:11px;
    color:rgba(255,255,255,.45);
    cursor:pointer;
  }
  .lp2-foot-chev { display:flex; opacity:.4; transition:transform .22s; }
  .lp2-foot-col-body { display:none; padding:0 12px 14px; }

  /* Open state */
  .lp2-foot-col.open .lp2-foot-chev { transform:rotate(180deg); opacity:.7; }
  .lp2-foot-col.open .lp2-foot-col-body { display:block; }
  .lp2-foot-col-body a { font-size:12.5px; margin-bottom:10px; }

  /* Bottom bar */
  .lp2-footer-rule { margin:0; }
  .lp2-footer-bottom { padding:0 20px; }
  .lp2-footer-bottom-inner {
    flex-direction:column; align-items:center;
    text-align:center; padding:16px 0 20px; gap:10px;
  }
  .lp2-footer-country { display:none; }
  .lp2-footer-bottom-links { gap:16px; justify-content:center; }
  .lp2-footer-copy { font-size:11px; }
}

/* ── VERY SMALL ≤360px ── */
@media(max-width:360px){
  .lp2-footer-body { padding:0 14px; }
  .lp2-foot-pill { font-size:11px; padding:7px 10px; }
  .lp2-footer-logo { font-size:26px; }
  .lp2-foot-col-head { font-size:10px; padding:12px 10px; }
  .lp2-foot-col-body { padding:0 10px 12px; }
}

/* ── ADMIN TABS & NOTIFICATION CARDS ─────────────────────────────────────── */
.admin-tabs {
  display:flex; gap:0; overflow-x:auto; padding:0 16px;
  border-bottom:1px solid var(--border); margin-bottom:4px;
  scrollbar-width:none;
}
.admin-tabs::-webkit-scrollbar { display:none; }
.admin-tab {
  flex-shrink:0; padding:10px 14px; font-size:13px; font-weight:600;
  color:var(--text-muted); background:none; border:none; cursor:pointer;
  border-bottom:2px solid transparent; transition:all .15s; white-space:nowrap;
}
.admin-tab:hover  { color:var(--text); }
.admin-tab.active { color:var(--accent); border-bottom-color:var(--accent); }

.admin-stats-grid {
  display:grid; grid-template-columns:repeat(3,1fr); gap:8px;
}
.admin-stat-card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:10px; padding:12px; text-align:center;
}
.asc-icon  { color:var(--accent); margin-bottom:4px; display:flex; justify-content:center; }
.asc-val   { font-size:17px; font-weight:800; color:var(--text); }
.asc-label { font-size:10px; color:var(--text-muted); margin-top:2px; }

.notif-card {
  background:var(--surface); border:1px solid var(--border);
  border-radius:12px; padding:16px;
}
.notif-card-head {
  display:flex; align-items:flex-start; justify-content:space-between;
  gap:10px; margin-bottom:14px;
}
.notif-card-title {
  display:flex; align-items:center; gap:6px;
  font-size:14px; font-weight:700; color:var(--text);
}
.notif-card-sub { font-size:12px; color:var(--text-muted); margin-top:3px; }

.notif-events-grid {
  display:flex; flex-direction:column; gap:2px;
}
.notif-event-row {
  display:flex; align-items:center; gap:8px; padding:8px 0;
  border-bottom:1px solid var(--border); flex-wrap:wrap;
}
.notif-event-row:last-child { border-bottom:none; }
.notif-event-key   { font-size:11px; font-weight:700; font-family:monospace; color:var(--accent); min-width:160px; }
.notif-event-label { font-size:12px; color:var(--text-muted); flex:1; }

.alert-notif {
  display:flex; align-items:center; gap:8px;
  padding:10px 14px; border-radius:8px; font-size:13px; font-weight:500;
}
.alert-notif-success { background:rgba(16,185,129,.1); color:var(--success); border:1px solid rgba(16,185,129,.2); }
.alert-notif-error   { background:rgba(239,68,68,.08); color:var(--error);   border:1px solid rgba(239,68,68,.2); }

.section-head {
  font-size:11px; font-weight:700; text-transform:uppercase;
  letter-spacing:.8px; color:var(--text-muted); padding:8px 0 10px;
  border-bottom:1px solid var(--border); margin-bottom:10px;
}

.admin-table { display:flex; flex-direction:column; gap:8px; }
.admin-row {
  display:flex; align-items:center; justify-content:space-between;
  gap:10px; padding:10px 12px; background:var(--bg);
  border:1px solid var(--border); border-radius:8px;
}
.admin-row-actions { display:flex; align-items:center; gap:6px; flex-shrink:0; }

/* Status badges */
.status-badge {
  display:inline-block; padding:2px 8px; border-radius:100px;
  font-size:11px; font-weight:700; text-transform:capitalize;
}
.status-badge.success { background:rgba(16,185,129,.12); color:var(--success); }
.status-badge.error   { background:rgba(239,68,68,.1);   color:var(--error);   }
.status-badge.warn    { background:rgba(245,158,11,.1);   color:#D97706; }
.status-badge.b-info  { background:rgba(59,130,246,.1);   color:#2563EB; }
.status-badge.b-warn  { background:rgba(245,158,11,.1);   color:#D97706; }
.status-badge.b-muted { background:var(--bg); color:var(--text-muted); border:1px solid var(--border); }

/* ── LISTING CARD UNIFORMITY FIXES ─────────────────────────────────────────── */
.lc-price { font-size: 14px; font-weight: 800; color: var(--accent); line-height: 1.2; }
.lc-price span { font-size: 10px; font-weight: 400; color: var(--text-muted); }
.lc-loc  { font-size: 11px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-bottom: 3px; display: flex; align-items: center; gap: 3px; }
.lc-meta { display: flex; gap: 6px; flex-wrap: nowrap; overflow: hidden; }
.lc-meta span { font-size: 10px; color: var(--text-muted); background: var(--bg); padding: 2px 6px; border-radius: 4px; white-space: nowrap; flex-shrink: 0; }
.lc-type { position: absolute; top: 8px; left: 8px; background: rgba(0,0,0,.55); color: #fff; font-size: 9px; font-weight: 700; padding: 3px 7px; border-radius: 100px; text-transform: uppercase; letter-spacing: .4px; }
.lc-save { position: absolute; top: 7px; right: 7px; width: 28px; height: 28px; border-radius: 50%; background: rgba(0,0,0,.45); border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; color: #fff; transition: background .15s; }
.lc-save:hover { background: rgba(0,0,0,.7); }
.lc-save.saved  { background: var(--accent); }

/* Screen listings (listings page) — same grid */
.screen-listings-inner { padding-bottom: 80px; }
.listings-header { padding: 12px 16px 8px; }
.search-bar-wrap { display: flex; gap: 8px; margin-bottom: 8px; }
.search-bar-wrap input { flex: 1; padding: 9px 12px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 14px; background: var(--surface); color: var(--text); outline: none; font-family: inherit; }
.search-bar-wrap input:focus { border-color: var(--accent); }
.filter-btn { display: flex; align-items: center; gap: 5px; padding: 9px 14px; background: var(--surface); border: 1.5px solid var(--border); border-radius: 8px; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--text); flex-shrink: 0; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 4px; background: var(--accent-lt); border: 1px solid var(--accent-glow, rgba(0,212,163,.2)); color: var(--accent); font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 100px; cursor: pointer; }
.listings-count { font-size: 12px; color: var(--text-muted); padding: 0 16px 6px; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 20px; }
.pagination button { padding: 8px 16px; border: 1.5px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text); font-size: 13px; cursor: pointer; }

/* ── LISTING DETAIL — CONTACT CARD ──────────────────────────────────────────── */
.agent-contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}
.acc-left {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  flex: 1;
  min-width: 0;
}
.acc-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.acc-name { font-size: 14px; font-weight: 700; color: var(--text); }
.acc-role { font-size: 11px; color: var(--text-muted); margin-top: 2px; display: flex; align-items: center; gap: 3px; }

/* Contact action button — matches platform icon-btn style */
.acc-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.acc-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  text-decoration: none;
  transition: background .15s, border-color .15s;
  flex-shrink: 0;
}
.acc-btn:hover { background: var(--bg-2); border-color: var(--text-muted); }

/* Detail page layout */
.detail-price-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 16px 4px;
}
.prop-type-pill {
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: .6px;
  flex-shrink: 0;
  margin-top: 4px;
}
.prop-badge {
  background: rgba(255,255,255,.85);
  color: var(--text);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
}
.detail-section {
  padding: 0 16px 16px;
}
.detail-section h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.detail-desc-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}
.detail-specs {
  display: flex;
  gap: 8px;
  padding: 10px 16px 14px;
  flex-wrap: wrap;
}
.spec {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 14px;
  min-width: 54px;
}
.spec-icon { color: var(--accent); }
.spec-val  { font-size: 15px; font-weight: 800; color: var(--text); line-height: 1; }
.spec-lbl  { font-size: 10px; color: var(--text-muted); }

.detail-body .detail-price { font-size: 22px; font-weight: 800; color: var(--accent); line-height: 1.1; }
.detail-body .detail-price span { font-size: 12px; font-weight: 400; color: var(--text-muted); }
.detail-body .detail-title { font-size: 17px; font-weight: 700; color: var(--text); margin: 6px 0 4px; line-height: 1.3; }
.detail-body .detail-location { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 4px; }

/* Fraud disclaimer */
.fraud-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  margin: 0 16px 16px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}
.fraud-disclaimer svg { flex-shrink: 0; margin-top: 1px; color: var(--text-muted); }
.fraud-disclaimer strong { color: var(--text); }

/* Cost breakdown diaspora note */
.cb-diaspora-note {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  padding: 8px 0 0;
  border-top: 1px dashed var(--border);
  margin-top: 4px;
}
.cb-diaspora-note svg { flex-shrink: 0; }

/* Cost breakdown extras */
.cb-separator { height:1px; background:var(--border); margin:8px 0; }
.cb-inspect { color:var(--text-muted) !important; }
.cb-inspect span:first-child { display:flex; align-items:center; gap:5px; }
.cb-refund-badge { font-size:9px; font-weight:700; padding:2px 6px; border-radius:100px; background:rgba(16,185,129,.12); color:var(--success); border:1px solid rgba(16,185,129,.2); }
.cb-inspect-note { font-size:11px; color:var(--text-muted); padding:4px 0 4px 20px; line-height:1.5; }

/* ── WALLET BANK ACCOUNT SELECT ─────────────────────────────────────────────── */
.bank-select-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 13px 14px;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.bank-select-row:hover    { border-color: var(--accent); }
.bank-sel-active          { border-color: var(--accent) !important; background: var(--accent-lt, rgba(0,212,163,.04)); }
.bank-sel-icon { color: var(--text-muted); flex-shrink: 0; }
.bank-sel-body { flex: 1; min-width: 0; }
.bank-sel-name { font-size: 13px; font-weight: 700; color: var(--text); }
.bank-sel-num  { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.bank-sel-badge {
  font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 100px;
  background: var(--accent-lt); color: var(--accent); border: 1px solid var(--accent-glow, rgba(0,212,163,.2));
  flex-shrink: 0; white-space: nowrap;
}

/* ── VERIFICATION TAB ────────────────────────────────────────────────────────── */
.verif-card { background:var(--surface); border:1px solid var(--border); border-radius:12px; padding:16px; }
.verif-card-head { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; margin-bottom:4px; }
.verif-card-title { font-size:14px; font-weight:700; color:var(--text); }
.verif-card-sub   { font-size:12px; color:var(--text-muted); margin-top:2px; }
.verif-badge { display:inline-flex; align-items:center; gap:4px; font-size:11px; font-weight:700; padding:4px 10px; border-radius:100px; flex-shrink:0; }
.verif-done    { background:rgba(16,185,129,.1); color:var(--success); border:1px solid rgba(16,185,129,.2); }
.verif-pending { background:var(--bg); color:var(--text-muted); border:1px solid var(--border); }

/* Listing card — verified badge absolutely positioned, never covers image */
.lc-tier-badge {
  position: absolute;
  bottom: 7px;
  left: 8px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  backdrop-filter: blur(4px);
  white-space: nowrap;
  pointer-events: none;
}

/* Landing page listing card — verified badge (single definition) */
.lp-card-badge {
  position: absolute;
  bottom: 7px;
  left: 8px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
  pointer-events: none;
  white-space: nowrap;
}