/* =====================================================================
   INVESTOR LUXURY BROCHURE THEME  –  Navy / Champagne Gold / Warm Cream
   Applies ONLY to the investor-facing interface (body.investor-theme).
   The admin interface (body.admin-view-active) is 100% untouched.
   Zero card frames, full-bleed images fading into text & sculpted icons,
   and uniform Rubik typography across every single element.
   ===================================================================== */

body.investor-theme {
  --lx-navy: #0b192e;
  --lx-navy-2: #11223d;
  --lx-navy-3: #1b3254;
  --lx-gold: #b8892e;
  --lx-gold-2: #e2c074;
  --lx-gold-dark: #8f6619;
  --lx-gold-soft: rgba(184, 137, 46, 0.14);
  --lx-cream: #f6f0e4;
  --lx-cream-2: #ede3cf;
  --lx-paper: #faf6ee;
  --lx-ink: #0f1e36;
  --lx-text: #2c3a4f;
  --lx-muted: #6e6656;
  --lx-line: rgba(184, 137, 46, 0.28);
  --lx-line-dashed: rgba(184, 137, 46, 0.45);
  --lx-green: #1f7a4c;
  --lx-green-soft: rgba(31, 122, 76, 0.12);
  --lx-rose: #a84236;
  --lx-rose-soft: rgba(168, 66, 54, 0.12);
  --lx-font: 'Rubik', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  background: var(--lx-cream) !important;
  background-image: none !important;
  color: var(--lx-ink);
  font-family: var(--lx-font) !important;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

/* Force ONE unified font (Rubik) across 100% of investor elements */
body.investor-theme,
body.investor-theme *:not(svg):not(path) {
  font-family: var(--lx-font) !important;
}

body.investor-theme .app-shell {
  background: var(--lx-cream) !important;
  overflow-x: hidden;
}

body.investor-theme .lx-ico {
  flex-shrink: 0;
  display: inline-block;
  vertical-align: middle;
}

body.investor-theme .ltr-num {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

/* ---------- Loading ---------- */
.lx-loading {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #6e6656;
  font-size: 14px;
  background: #f6f0e4;
}
.lx-spinner {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2.5px solid #ede3cf;
  border-top-color: #b8892e;
  animation: lx-spin 0.9s linear infinite;
}
@keyframes lx-spin {
  to { transform: rotate(360deg); }
}

/* ---------- Top bar (Clean, frameless brochure header) ---------- */
body.investor-theme .lx-topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(246, 240, 228, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(184, 137, 46, 0.22);
}
body.investor-theme .lx-topbar-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
body.investor-theme .lx-icon-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  color: var(--lx-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s;
}
body.investor-theme .lx-icon-btn:hover {
  color: var(--lx-gold);
}
body.investor-theme .lx-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  cursor: pointer;
  min-width: 0;
  flex: 1;
  justify-content: center;
}
body.investor-theme .lx-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--lx-gold);
  background: none;
  box-shadow: none;
}
body.investor-theme .lx-brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}
body.investor-theme .lx-brand-name {
  font-weight: 800;
  font-size: 17px;
  color: var(--lx-navy);
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 54vw;
}
body.investor-theme .lx-brand-sub {
  font-size: 11px;
  color: var(--lx-gold-dark);
  font-weight: 500;
}
body.investor-theme .lx-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  font-weight: 700;
  color: var(--lx-gold-2);
  background: var(--lx-navy);
  border: 1.5px solid var(--lx-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Page Canvas (Edge-to-edge brochure flow, zero outer box margins) ---------- */
body.investor-theme .lx-page {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 0 calc(110px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 0;
  animation: lx-fade 0.35s ease;
}
@keyframes lx-fade {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Diamond Gold Divider (──── ◆ ────) ---------- */
body.investor-theme .lx-diamond-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 240px;
  margin: 10px auto 14px;
}
body.investor-theme .lx-dr-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--lx-gold), transparent);
}
body.investor-theme .lx-dr-gem {
  color: var(--lx-gold);
  font-size: 11px;
  line-height: 1;
}

/* ---------- Standalone Sculpted Brochure Icons (NO background boxes!) ---------- */
body.investor-theme .lx-badge {
  width: auto !important;
  height: auto !important;
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--lx-gold);
  filter: drop-shadow(0 2px 5px rgba(184, 137, 46, 0.2));
}
body.investor-theme .lx-badge-gold { color: var(--lx-gold); }
body.investor-theme .lx-badge-navy { color: var(--lx-gold-dark); }
body.investor-theme .lx-badge-green { color: var(--lx-green); }
body.investor-theme .lx-badge-rose { color: var(--lx-rose); }

body.investor-theme .lx-hero-icon,
body.investor-theme .lx-hero-crest {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--lx-gold);
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  margin-bottom: 6px;
  filter: drop-shadow(0 3px 8px rgba(184, 137, 46, 0.25));
}

/* ---------- Top Brochure Hero: Full-bleed image fading seamlessly into cream & icons ---------- */
body.investor-theme .lx-hero {
  position: relative;
  width: 100%;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  overflow: hidden;
  color: var(--lx-ink);
  background-color: var(--lx-cream);
  padding: 0;
}
body.investor-theme .lx-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 430px;
  background:
    linear-gradient(180deg,
      rgba(246, 240, 228, 0.10) 0%,
      rgba(246, 240, 228, 0.48) 42%,
      rgba(246, 240, 228, 0.88) 76%,
      #f6f0e4 100%),
    linear-gradient(90deg,
      rgba(246, 240, 228, 0.05) 0%,
      rgba(246, 240, 228, 0.55) 52%,
      rgba(246, 240, 228, 0.86) 100%),
    var(--lx-hero-img) center top / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}
body.investor-theme .lx-hero::after {
  display: none !important;
}
body.investor-theme .lx-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: 36px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
body.investor-theme .lx-hero-greet {
  font-size: 20px;
  font-weight: 700;
  color: var(--lx-gold-dark);
  margin-bottom: 4px;
}
body.investor-theme .lx-hero-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--lx-text);
}
body.investor-theme .lx-hero-amount {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin: 4px 0 4px;
  color: var(--lx-navy);
}
body.investor-theme .lx-hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--lx-navy);
  margin-bottom: 18px;
}
body.investor-theme .lx-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
body.investor-theme .lx-hero-meta .lx-ico {
  color: var(--lx-gold);
}
body.investor-theme .lx-meta-sep {
  width: 1px;
  height: 14px;
  background: var(--lx-line-dashed);
}

/* Open Join Date & Next Interest Payout Columns (no boxes!) */
body.investor-theme .lx-hero-dates {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 460px;
  margin: 0 auto 22px;
  padding: 12px 0;
  border-top: 1px solid var(--lx-line);
  border-bottom: 1px solid var(--lx-line);
}
body.investor-theme .lx-hero-date-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-align: center;
}
body.investor-theme .lx-hero-date-col .lx-ico {
  color: var(--lx-gold);
  margin-bottom: 2px;
}
body.investor-theme .lx-hero-date-col span {
  font-size: 12px;
  color: var(--lx-muted);
}
body.investor-theme .lx-hero-date-col strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--lx-navy);
}
body.investor-theme .lx-hero-date-sep {
  width: 1px;
  height: 44px;
  border-left: 1px dashed var(--lx-line-dashed);
}

body.investor-theme .lx-hero-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 400px;
}
body.investor-theme .lx-hero-actions .lx-btn {
  flex: 1;
}

/* ---------- Brochure Strip & Section Titles ---------- */
body.investor-theme .lx-brochure-strip {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 26px auto 0;
  padding: 24px 16px 46px;
}
body.investor-theme .lx-section-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 8px auto 18px;
}
body.investor-theme .lx-section-title h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--lx-navy);
  line-height: 1.25;
}
body.investor-theme .lx-section-title p {
  font-size: 14px;
  color: var(--lx-muted);
  margin-top: 4px;
  max-width: 520px;
}

/* ---------- 4 Open Brochure Columns (No Card Boxes! Only Vertical/Horizontal Gold Hairlines) ---------- */
body.investor-theme .lx-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  max-width: 980px;
  margin: 0 auto;
  border-top: 1px solid var(--lx-line);
  border-bottom: 1px solid var(--lx-line);
}
body.investor-theme .lx-stat {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  min-width: 0;
  position: relative;
}
/* Mobile 2x2 grid internal dashed gold hairlines (RTL: odd is right col, even is left col) */
body.investor-theme .lx-stat:nth-child(odd) {
  border-left: 1px dashed var(--lx-line-dashed) !important;
}
body.investor-theme .lx-stat:nth-child(1),
body.investor-theme .lx-stat:nth-child(2) {
  border-bottom: 1px dashed var(--lx-line-dashed) !important;
}
body.investor-theme .lx-stat .lx-badge {
  margin-bottom: 6px;
}
body.investor-theme .lx-stat-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--lx-navy);
  line-height: 1.3;
}
body.investor-theme .lx-stat-value {
  font-size: 22px;
  font-weight: 800;
  color: var(--lx-navy);
  letter-spacing: -0.3px;
  white-space: nowrap;
}
body.investor-theme .lx-stat-sub {
  font-size: 12px;
  color: var(--lx-muted);
  line-height: 1.35;
}
body.investor-theme .lx-pos { color: var(--lx-green) !important; }
body.investor-theme .lx-neg { color: var(--lx-rose) !important; }

/* 3-column stat grid on Balances page */
body.investor-theme .lx-stat-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: 100%;
}
body.investor-theme .lx-stat-grid-3 .lx-stat {
  border-bottom: none !important;
  border-left: 1px dashed var(--lx-line-dashed) !important;
}
body.investor-theme .lx-stat-grid-3 .lx-stat:last-child {
  border-left: none !important;
}

/* ---------- Full-bleed Sunset Villa Forecast Section ---------- */
body.investor-theme .lx-villa-section {
  position: relative;
  width: 100%;
  background-color: var(--lx-cream);
  overflow: hidden;
  padding-top: 195px;
  margin-top: 22px;
}
body.investor-theme .lx-villa-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 360px;
  background:
    linear-gradient(180deg,
      #f6f0e4 0%,
      rgba(246, 240, 228, 0.12) 22%,
      rgba(246, 240, 228, 0.25) 55%,
      rgba(246, 240, 228, 0.90) 84%,
      #f6f0e4 100%),
    var(--lx-hero-img) center center / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}
body.investor-theme .lx-villa-fade {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 18px 54px;
}
body.investor-theme .lx-villa-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 16px;
}
body.investor-theme .lx-villa-head h3 {
  font-size: 25px;
  font-weight: 800;
  color: var(--lx-navy);
}
body.investor-theme .lx-villa-head p {
  font-size: 14px;
  color: var(--lx-text);
  margin-top: 4px;
}

/* ---------- 3 Open Brochure Calendar Columns (Matches Bottom of Brochure!) ---------- */
body.investor-theme .lx-milestones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 8px 0 24px;
  padding: 18px 0;
  border-top: 1px solid var(--lx-line);
  border-bottom: 1px solid var(--lx-line);
}
body.investor-theme .lx-milestone {
  background: transparent !important;
  border: none !important;
  border-left: 1px dashed var(--lx-line-dashed) !important;
  border-radius: 0 !important;
  padding: 6px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
body.investor-theme .lx-milestone:last-child {
  border-left: none !important;
}
body.investor-theme .lx-milestone .lx-ico {
  color: var(--lx-gold);
  margin-bottom: 4px;
  filter: drop-shadow(0 2px 4px rgba(184, 137, 46, 0.2));
}
body.investor-theme .lx-ms-lbl {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--lx-navy);
}
body.investor-theme .lx-milestone strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--lx-gold-dark);
  white-space: nowrap;
}
body.investor-theme .lx-milestone-final strong {
  color: var(--lx-green);
}
body.investor-theme .lx-milestone small {
  font-size: 11px;
  color: var(--lx-muted);
}

/* ---------- Open Frameless Chart ---------- */
body.investor-theme .lx-chart-open {
  margin-top: 34px;
}
body.investor-theme .lx-chart-open,
body.investor-theme .regular-chart-container {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 4px 0 0 !important;
}
body.investor-theme .chart-axis-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding: 0 4px;
}
body.investor-theme .lx-chart-title {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--lx-navy);
}
body.investor-theme .lx-chart-sub {
  font-weight: 500;
  font-size: 12.5px;
  color: var(--lx-gold-dark);
}
body.investor-theme .chart-selection-box {
  background: transparent !important;
  border: none !important;
  border-top: 1px solid var(--lx-line) !important;
  border-radius: 0 !important;
  padding: 12px 4px 0 !important;
  margin-top: 10px !important;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
body.investor-theme .chart-selection-box .csb-badge {
  background: transparent !important;
  color: var(--lx-gold-dark) !important;
  font-weight: 700 !important;
  padding: 0 !important;
  font-size: 14px !important;
}
body.investor-theme .chart-selection-box .csb-row {
  color: var(--lx-text) !important;
  font-size: 14px !important;
}

/* ---------- Full-bleed Deep Navy + Vault Band (Matches Middle Band of Brochure!) ---------- */
body.investor-theme .lx-navy-vault-section {
  position: relative;
  width: 100%;
  background-color: var(--lx-navy);
  color: #fff;
  overflow: hidden;
  padding: 210px 0 42px;
}
body.investor-theme .lx-navy-vault-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 340px;
  background:
    linear-gradient(180deg,
      #f6f0e4 0%,
      rgba(11, 25, 46, 0.25) 18%,
      rgba(11, 25, 46, 0.68) 62%,
      #0b192e 100%),
    var(--lx-hero-img) center center / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}
body.investor-theme .lx-navy-inner {
  position: relative;
  z-index: 1;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}
body.investor-theme .lx-navy-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 22px;
}
body.investor-theme .lx-navy-head .lx-hero-icon {
  color: var(--lx-gold-2);
}
body.investor-theme .lx-navy-head h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--lx-gold-2);
}
body.investor-theme .lx-navy-head p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
  margin-top: 4px;
}

body.investor-theme .lx-navy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  padding: 20px 0;
  border-top: 1px solid rgba(226, 192, 116, 0.28);
  border-bottom: 1px solid rgba(226, 192, 116, 0.28);
  margin-bottom: 18px;
}
body.investor-theme .lx-navy-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 8px 10px;
  gap: 4px;
  border-left: 1px dashed rgba(226, 192, 116, 0.35);
}
body.investor-theme .lx-navy-col:last-child {
  border-left: none;
}
body.investor-theme .lx-navy-col .lx-ico {
  color: var(--lx-gold-2);
  margin-bottom: 6px;
  filter: drop-shadow(0 2px 6px rgba(226, 192, 116, 0.28));
}
body.investor-theme .lx-navy-lbl {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.8);
}
body.investor-theme .lx-navy-val {
  font-size: 20px;
  font-weight: 800;
  color: var(--lx-gold-2);
}
body.investor-theme .lx-navy-col small {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.62);
}

body.investor-theme .lx-navy-kv {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
}
body.investor-theme .lx-navy-kv .lx-kv {
  border-top-color: rgba(226, 192, 116, 0.18);
}
body.investor-theme .lx-navy-kv .lx-kv-ico {
  background: none !important;
  color: var(--lx-gold-2) !important;
}
body.investor-theme .lx-navy-kv .lx-kv-label {
  color: rgba(255, 255, 255, 0.78);
}
body.investor-theme .lx-navy-kv .lx-kv-value {
  color: #fff;
}

/* ---------- Open Investment Simulator Section ---------- */
body.investor-theme .lx-sim-section {
  width: 100%;
  background: var(--lx-cream);
  padding: 58px 20px 36px;
}
body.investor-theme .lx-sim-inner {
  max-width: 640px;
  margin: 0 auto;
}
body.investor-theme .lx-sim-group { margin-bottom: 16px !important; }
body.investor-theme .lx-sim-label {
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: var(--lx-navy) !important;
  display: block;
  margin-bottom: 8px;
  text-align: center;
}
body.investor-theme .lx-sim-input {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--lx-gold);
}
body.investor-theme .lx-sim-input .sim-amount-input {
  font-size: 28px !important;
  font-weight: 800 !important;
  color: var(--lx-navy) !important;
  text-align: center !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  width: 100%;
}
body.investor-theme .lx-sim-currency {
  font-size: 24px;
  color: var(--lx-gold-dark);
  font-weight: 700;
}
body.investor-theme .lx-sim-results,
body.investor-theme .calc-preview {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin-bottom: 20px !important;
}
body.investor-theme .calc-preview-row {
  font-size: 14.5px !important;
  color: var(--lx-text) !important;
  padding: 9px 2px !important;
  border-bottom: 1px solid var(--lx-line);
}
body.investor-theme .calc-preview-row strong {
  font-weight: 700;
  color: var(--lx-navy);
}
body.investor-theme .calc-preview-divider {
  border-top: none !important;
}
body.investor-theme .lx-sim-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-top: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--lx-line);
  border-bottom: 1px solid var(--lx-line);
}
body.investor-theme .lx-sim-hl {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3px;
}
body.investor-theme .lx-sim-hl:first-child {
  border-left: 1px dashed var(--lx-line-dashed);
}
body.investor-theme .lx-sim-hl span {
  font-size: 12px;
  color: var(--lx-muted);
}
body.investor-theme .lx-sim-hl strong {
  font-size: 20px;
  font-weight: 800;
  color: var(--lx-green);
}
body.investor-theme .lx-sim-hl small {
  font-size: 11.5px;
  color: var(--lx-muted);
}
body.investor-theme .lx-sim-hl-gold strong {
  color: var(--lx-gold-dark);
}

/* ---------- Buttons ---------- */
body.investor-theme .lx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s, opacity 0.2s;
}
body.investor-theme .lx-btn:active { transform: scale(0.97); }
body.investor-theme .lx-btn-gold {
  background: linear-gradient(135deg, var(--lx-gold-2), var(--lx-gold) 55%, var(--lx-gold-dark));
  color: var(--lx-navy);
}
body.investor-theme .lx-btn-glass,
body.investor-theme .lx-btn-navy {
  background: var(--lx-navy);
  color: var(--lx-gold-2);
  border-color: rgba(226, 192, 116, 0.4);
}

body.investor-theme .btn-primary,
body.investor-theme .lx-btn-cta {
  background: var(--lx-navy) !important;
  border: 1px solid rgba(226, 192, 116, 0.4) !important;
  color: var(--lx-gold-2) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px !important;
  font-size: 15px !important;
  width: 100%;
}
body.investor-theme .btn-secondary {
  background: transparent !important;
  color: var(--lx-navy) !important;
  border: 1px solid var(--lx-line-dashed) !important;
  border-radius: 999px !important;
}

/* ---------- Inner Page Heroes (Balances, Transactions, Requests, Profile) — Full-bleed fading into Cream ---------- */
body.investor-theme .lx-page-hero,
body.investor-theme .lx-profile-hero {
  position: relative;
  width: 100%;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
  overflow: hidden;
  color: var(--lx-ink);
  background-color: var(--lx-cream);
  padding: 0;
  text-align: center;
}
body.investor-theme .lx-page-hero::before,
body.investor-theme .lx-profile-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 340px;
  background:
    linear-gradient(180deg,
      rgba(246, 240, 228, 0.14) 0%,
      rgba(246, 240, 228, 0.56) 45%,
      rgba(246, 240, 228, 0.92) 80%,
      #f6f0e4 100%),
    var(--lx-hero-img) center top / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}
body.investor-theme .lx-page-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: 36px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
body.investor-theme .lx-profile-hero {
  padding: 36px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}
body.investor-theme .lx-profile-hero > * {
  position: relative;
  z-index: 1;
}
body.investor-theme .lx-page-hero h2,
body.investor-theme .lx-profile-hero h2 {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--lx-navy);
}
body.investor-theme .lx-page-hero p {
  font-size: 14px;
  color: var(--lx-text);
  line-height: 1.55;
  max-width: 540px;
}
body.investor-theme .lx-hero-mini {
  margin-top: 6px;
  padding: 10px 0 4px;
  background: transparent !important;
  border: none !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
body.investor-theme .lx-hero-mini span {
  font-size: 13px;
  font-weight: 600;
  color: var(--lx-text);
}
body.investor-theme .lx-hero-mini strong {
  font-size: 34px;
  font-weight: 800;
  color: var(--lx-navy);
}
body.investor-theme .lx-hero-mini small {
  font-size: 12px;
  color: var(--lx-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

body.investor-theme .lx-profile-avatar {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  color: var(--lx-gold-2);
  background: var(--lx-navy);
  border: 2px solid var(--lx-gold);
}

/* ---------- Open Sections (Replaces .lx-card / .lx-dash-grid — NO borders or card boxes!) ---------- */
body.investor-theme .lx-dash-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
}
body.investor-theme .lx-card {
  background: transparent !important;
  border: none !important;
  border-top: 1px solid var(--lx-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 34px 20px !important;
  max-width: 980px;
  width: 100%;
  margin: 34px auto 0;
}
body.investor-theme .lx-topic-block {
  margin-top: 42px !important;
  padding-top: 34px !important;
}
body.investor-theme .lx-card-flush {
  padding: 32px 18px 24px !important;
}
body.investor-theme .lx-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
body.investor-theme .lx-card-head-pad {
  padding: 0 0 12px !important;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--lx-line);
}
body.investor-theme .lx-card-head h3 {
  font-size: 21px;
  font-weight: 800;
  color: var(--lx-navy);
  line-height: 1.25;
}
body.investor-theme .lx-card-head p {
  font-size: 13.5px;
  color: var(--lx-muted);
  margin-top: 2px;
}

/* ---------- Key-Value List (Frameless with gold icons) ---------- */
body.investor-theme .lx-kv-list {
  display: flex;
  flex-direction: column;
}
body.investor-theme .lx-kv {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--lx-line);
}
body.investor-theme .lx-kv:first-child {
  border-top: none;
}
body.investor-theme .lx-kv-ico {
  width: auto;
  height: auto;
  background: transparent !important;
  color: var(--lx-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
body.investor-theme .lx-kv-label {
  flex: 1;
  font-size: 14px;
  color: var(--lx-text);
}
body.investor-theme .lx-kv-value {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--lx-navy);
  text-align: left;
}

/* ---------- Action Grid on Requests Page (Open 2-Column Brochure Strip, No Card Boxes!) ---------- */
body.investor-theme .lx-action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
  border-top: 1px solid var(--lx-line);
  border-bottom: 1px solid var(--lx-line);
}
body.investor-theme .lx-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  padding: 20px 14px;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
}
body.investor-theme .lx-action:first-child {
  border-left: 1px dashed var(--lx-line-dashed) !important;
}
body.investor-theme .lx-action strong {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--lx-navy);
}
body.investor-theme .lx-action span {
  font-size: 12.5px;
  color: var(--lx-muted);
}
body.investor-theme .lx-action[disabled] {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ---------- Toolbar: Clean Underlined Search + Filter Tabs (Inside Section Below Title) ---------- */
body.investor-theme .lx-toolbar {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 980px;
  width: 100%;
  margin: 6px auto 16px;
  padding: 8px 0 4px;
}
body.investor-theme .lx-search {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 4px;
  height: 44px;
  background: transparent !important;
  border: none !important;
  border-bottom: 1.5px solid var(--lx-line-dashed) !important;
  border-radius: 0 !important;
  color: var(--lx-gold-dark);
}
body.investor-theme .lx-search:focus-within {
  border-bottom-color: var(--lx-navy) !important;
}
body.investor-theme .lx-search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 14.5px;
  color: var(--lx-ink);
  min-width: 0;
}
body.investor-theme .lx-search input::placeholder {
  color: var(--lx-muted);
}
body.investor-theme .lx-chips {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
}
body.investor-theme .lx-chips::-webkit-scrollbar { display: none; }
body.investor-theme .lx-chip-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 6px 4px;
  background: transparent !important;
  color: var(--lx-muted);
  border: none !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
body.investor-theme .lx-chip-btn .lx-ico {
  color: var(--lx-gold);
}
body.investor-theme .lx-chip-btn.active {
  color: var(--lx-navy);
  border-bottom-color: var(--lx-gold) !important;
  font-weight: 800;
}

/* ---------- Open List Rows & Deposit Milestones (No Boxes!) ---------- */
body.investor-theme .lx-table-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 6px 10px;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--lx-gold-dark);
  border-bottom: 1.5px solid var(--lx-line-dashed);
}
body.investor-theme .lx-list {
  display: flex;
  flex-direction: column;
  padding: 0;
}
body.investor-theme .lx-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 4px;
  border-top: 1px solid var(--lx-line);
}
body.investor-theme .lx-row > .lx-badge {
  margin-top: 2px;
}
body.investor-theme .lx-list > .lx-row:first-child,
body.investor-theme .lx-list > div:first-child {
  border-top: none;
}
body.investor-theme .lx-row-plain {
  border-top: none;
  padding: 0;
}
body.investor-theme .lx-row-main {
  flex: 1;
  min-width: 0;
}
body.investor-theme .lx-row-title {
  font-size: 15.5px;
  font-weight: 800;
  color: var(--lx-navy);
  line-height: 1.35;
}
body.investor-theme .lx-row-lines {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 5px;
  font-size: 13px;
  color: var(--lx-muted);
  font-weight: 400;
  line-height: 1.45;
}
body.investor-theme .lx-row-lines strong {
  color: var(--lx-navy);
  font-weight: 400 !important;
}
body.investor-theme .lx-row-track {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--lx-gold-dark);
}
body.investor-theme .lx-row-sub {
  font-size: 12.5px;
  color: var(--lx-muted);
  font-weight: 400;
  margin-top: 3px;
  text-align: right;
  line-height: 1.45;
}
body.investor-theme .lx-row-sub strong,
body.investor-theme .lx-row-sub span[dir="ltr"] {
  color: var(--lx-navy);
  font-weight: 400 !important;
}
body.investor-theme .lx-row-end {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  text-align: left;
  flex-shrink: 0;
}
body.investor-theme .lx-amt {
  font-size: 16px;
  font-weight: 800;
  color: var(--lx-navy);
  white-space: nowrap;
}
body.investor-theme .lx-amt-rem {
  font-size: 12px;
  color: var(--lx-muted);
  font-weight: 400;
  white-space: nowrap;
}
body.investor-theme .lx-amt-rem strong {
  color: var(--lx-navy);
  font-weight: 400 !important;
}
body.investor-theme .lx-muted-amt {
  color: var(--lx-muted);
  text-decoration: line-through;
}

body.investor-theme .lx-dep,
body.investor-theme .lx-req {
  padding: 16px 4px;
  border-top: 1px solid var(--lx-line);
}
body.investor-theme .lx-dep-dates {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--lx-line);
}
body.investor-theme .lx-dep-date {
  background: transparent !important;
  border: none !important;
  border-left: 1px dashed var(--lx-line-dashed) !important;
  border-radius: 0 !important;
  padding: 4px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
body.investor-theme .lx-dep-date:last-child {
  border-left: none !important;
}
body.investor-theme .lx-dep-date .lx-ico {
  color: var(--lx-gold);
}
body.investor-theme .lx-dep-date span {
  font-size: 11px;
  color: var(--lx-muted);
}
body.investor-theme .lx-dep-date strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--lx-navy);
}

body.investor-theme .lx-req-notes {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-right: 40px;
}
body.investor-theme .lx-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 12.5px;
  color: var(--lx-text);
  background: transparent !important;
  padding: 2px 0;
}
body.investor-theme .lx-note .lx-ico {
  color: var(--lx-gold);
  margin-top: 2px;
}
body.investor-theme .lx-note-admin {
  color: var(--lx-gold-dark);
  font-weight: 600;
}

/* ---------- Status Labels (Clean inline icon + text, no heavy box) ---------- */
body.investor-theme .lx-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  background: transparent !important;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
body.investor-theme .lx-pill-green { color: var(--lx-green); }
body.investor-theme .lx-pill-navy { color: var(--lx-navy-3); }
body.investor-theme .lx-pill-gold { color: var(--lx-gold-dark); }
body.investor-theme .lx-pill-rose { color: var(--lx-rose); }

/* ---------- Empty State ---------- */
body.investor-theme .lx-empty {
  padding: 40px 20px;
  text-align: center;
  color: var(--lx-muted);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
body.investor-theme .lx-empty .lx-ico {
  color: var(--lx-gold);
}

/* ---------- Logout Row ---------- */
body.investor-theme .lx-logout-card {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 980px;
  width: 100%;
  margin: 34px auto 0;
  text-align: right;
  padding: 24px 20px;
  background: transparent !important;
  border: none !important;
  border-top: 1px solid var(--lx-line) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  cursor: pointer;
  color: var(--lx-muted);
}
body.investor-theme .lx-logout-card div {
  flex: 1;
  display: flex;
  flex-direction: column;
}
body.investor-theme .lx-logout-card strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--lx-rose);
}
body.investor-theme .lx-logout-card span {
  font-size: 12.5px;
  color: var(--lx-muted);
}

/* ---------- Forms (Clean underlined inputs, no heavy boxes) ---------- */
body.investor-theme .form-group { margin-bottom: 18px; }
body.investor-theme .form-group label {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--lx-navy) !important;
  margin-bottom: 6px !important;
  display: block;
}
body.investor-theme .form-control {
  background: transparent !important;
  border: none !important;
  border-bottom: 1.5px solid var(--lx-line-dashed) !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 11px 6px !important;
  font-size: 15.5px !important;
  font-weight: 600 !important;
  color: var(--lx-navy) !important;
  width: 100%;
}
body.investor-theme .form-control:focus {
  border-bottom-color: var(--lx-gold) !important;
  outline: none;
}
body.investor-theme .form-control::placeholder {
  color: #9e9480 !important;
  font-weight: 400;
}
body.investor-theme .lx-input-icon { position: relative; }
body.investor-theme .lx-input-icon > .lx-ico {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--lx-gold);
  pointer-events: none;
}
body.investor-theme .lx-input-icon .form-control {
  padding-right: 32px !important;
}
body.investor-theme .lx-input-icon .form-control[dir="ltr"] { text-align: right; }
body.investor-theme .lx-input-icon .form-control[dir="ltr"]:not(:placeholder-shown) { text-align: left; }
body.investor-theme .lx-help {
  display: block;
  font-size: 12px;
  color: var(--lx-muted);
  margin-top: 7px;
  line-height: 1.45;
}

/* ---------- Bottom Navigation (Edge-to-Edge Navy Bar) ---------- */
body.investor-theme .lx-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background: var(--lx-navy);
  border-radius: 0;
  padding: 8px 6px calc(8px + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(226, 192, 116, 0.3);
}
body.investor-theme .lx-bn-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 5px 2px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
}
body.investor-theme .lx-bn-item.active {
  color: var(--lx-gold-2);
  font-weight: 700;
}

/* ---------- Sidebar Drawer ---------- */
body.investor-theme .lx-drawer {
  background: var(--lx-cream) !important;
  width: 300px !important;
  border-radius: 0 !important;
}
body.investor-theme .sidebar-overlay {
  background: rgba(11, 25, 46, 0.55) !important;
}
body.investor-theme .lx-drawer-head {
  position: relative;
  padding: 36px 22px 24px;
  color: var(--lx-navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  background:
    linear-gradient(180deg, rgba(246, 240, 228, 0.25) 0%, #f6f0e4 100%),
    url('/images/skyline-cream.jpg') center top / cover no-repeat;
  border-bottom: 1px solid var(--lx-line);
}
body.investor-theme .lx-drawer-close {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  color: var(--lx-navy);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
body.investor-theme .lx-drawer-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  font-size: 24px;
  font-weight: 800;
  color: var(--lx-gold-2);
  background: var(--lx-navy);
  border: 2px solid var(--lx-gold);
}
body.investor-theme .lx-drawer-head strong {
  font-size: 19px;
  font-weight: 800;
  color: var(--lx-navy);
}
body.investor-theme .lx-drawer-head span {
  font-size: 12.5px;
  color: var(--lx-gold-dark);
  font-weight: 600;
}
body.investor-theme .lx-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
}
body.investor-theme .lx-side-label {
  font-size: 11.5px;
  color: var(--lx-muted);
  padding: 6px 4px 8px;
  font-weight: 600;
}
body.investor-theme .lx-side-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 4px;
  border: none;
  border-bottom: 1px solid var(--lx-line);
  border-radius: 0;
  background: transparent;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--lx-navy);
  cursor: pointer;
  text-align: right;
}
body.investor-theme .lx-side-item > span:nth-child(2) { flex: 1; }
body.investor-theme .lx-side-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--lx-gold);
  background: none !important;
  border: none !important;
}
body.investor-theme .lx-side-chev { color: var(--lx-gold); }
body.investor-theme .lx-side-item.active {
  color: var(--lx-gold-dark);
  font-weight: 800;
}
body.investor-theme .lx-drawer-foot {
  padding: 14px 18px calc(18px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--lx-line);
}
body.investor-theme .lx-side-logout {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: transparent;
  color: var(--lx-rose);
  border: 1px solid rgba(168, 66, 54, 0.35);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* ---------- Modal ---------- */
body.investor-theme .modal-backdrop { background: rgba(11, 25, 46, 0.6) !important; }
body.investor-theme .modal-box {
  background: var(--lx-cream) !important;
  border: none !important;
  border-top: 3px solid var(--lx-gold) !important;
  border-radius: 0 !important;
  box-shadow: 0 24px 50px rgba(11, 25, 46, 0.45) !important;
}
body.investor-theme .lx-modal-head {
  justify-content: flex-start !important;
  gap: 12px;
  border-bottom: 1px solid var(--lx-line) !important;
}
body.investor-theme .lx-modal-head h3 {
  flex: 1;
  font-size: 20px !important;
  font-weight: 800;
  color: var(--lx-navy);
}
body.investor-theme .modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: none !important;
  color: var(--lx-navy) !important;
}
body.investor-theme .lx-modal-text {
  font-size: 14px;
  color: var(--lx-text);
  line-height: 1.6;
  margin-bottom: 16px;
}
body.investor-theme .lx-modal-available {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--lx-line);
  border-bottom: 1px solid var(--lx-line);
  background: transparent;
  color: var(--lx-navy);
  font-size: 14px;
  margin-bottom: 12px;
}
body.investor-theme .lx-modal-available strong {
  color: var(--lx-gold-dark);
  font-size: 20px;
  font-weight: 800;
}
body.investor-theme .lx-modal-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  background: transparent;
  font-size: 12.5px;
  color: var(--lx-muted);
  margin-bottom: 16px;
}
body.investor-theme .lx-modal-hint .lx-ico { color: var(--lx-gold); }
body.investor-theme .lx-modal-actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}
body.investor-theme .lx-modal-actions .btn {
  flex: 1;
  justify-content: center;
  padding: 13px !important;
}

/* ---------- Toast ---------- */
body.investor-theme .toast {
  background: var(--lx-navy) !important;
  color: #fff !important;
  border: 1px solid rgba(226, 192, 116, 0.35) !important;
  border-right: 4px solid #22c55e !important;
  border-radius: 8px !important;
}
body.investor-theme .toast.success { border-right-color: #22c55e !important; }
body.investor-theme .toast.error { border-right-color: #ef4444 !important; }
body.investor-theme .toast-container {
  bottom: calc(82px + env(safe-area-inset-bottom));
  left: 16px;
  right: 16px;
  align-items: center;
}

/* ---------- Admin preview banner on investor theme ---------- */
body.investor-theme .preview-banner {
  position: sticky;
  top: 0;
  z-index: 75;
  background: var(--lx-navy) !important;
  color: #fff !important;
  border-bottom: 1.5px solid var(--lx-gold) !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 8px 14px !important;
  gap: 10px !important;
}
body.investor-theme .preview-banner-text {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.9);
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body.investor-theme .preview-banner-text strong {
  color: var(--lx-gold-2);
  font-weight: 700;
}
body.investor-theme .preview-banner .lx-ico {
  color: var(--lx-gold-2);
  flex-shrink: 0;
}
body.investor-theme .lx-preview-back-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 6px 13px !important;
  width: auto !important;
  flex-shrink: 0 !important;
  border-radius: 999px !important;
  border: none !important;
  background: linear-gradient(135deg, #f3dca2, #d4a84f) !important;
  color: #0b192e !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28) !important;
  cursor: pointer;
}
body.investor-theme .lx-preview-back-btn svg {
  stroke: #0b192e !important;
  flex-shrink: 0;
}

/* =====================================================================
   LOGIN (Full-bleed golden skyline fading seamlessly into cream & gold)
   ===================================================================== */
body.investor-theme .lx-login {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--lx-cream);
}
body.investor-theme .lx-login-visual {
  position: relative;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background:
    linear-gradient(180deg,
      rgba(246, 240, 228, 0.08) 0%,
      rgba(246, 240, 228, 0.52) 52%,
      rgba(246, 240, 228, 0.94) 86%,
      #f6f0e4 100%),
    var(--lx-hero-img) center top / cover no-repeat;
  color: var(--lx-navy);
  padding: 48px 20px 14px;
}
body.investor-theme .lx-login-visual::before {
  display: none !important;
}
body.investor-theme .lx-login-brand {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
body.investor-theme .lx-login-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--lx-gold);
  background: none !important;
  border: none !important;
  margin-bottom: 4px;
  filter: drop-shadow(0 3px 8px rgba(184, 137, 46, 0.28));
}
body.investor-theme .lx-login-brand h1 {
  font-size: 32px;
  font-weight: 800;
  color: var(--lx-navy);
  line-height: 1.15;
}
body.investor-theme .lx-login-brand p {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--lx-gold-dark);
}
body.investor-theme .lx-login-card {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 440px;
  flex: 1;
  background: transparent;
  border-radius: 0;
  padding: 12px 24px 36px;
}
body.investor-theme .lx-login-welcome {
  text-align: center;
  margin-bottom: 18px;
}
body.investor-theme .lx-login-welcome h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--lx-navy);
}
body.investor-theme .lx-login-welcome p {
  font-size: 13.5px;
  color: var(--lx-muted);
  margin-top: 3px;
}
body.investor-theme .login-tabs {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid var(--lx-line) !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-bottom: 22px !important;
}
body.investor-theme .login-tab-btn {
  background: transparent !important;
  color: var(--lx-muted) !important;
  border: none !important;
  border-bottom: 2.5px solid transparent !important;
  border-radius: 0 !important;
  font-weight: 600 !important;
  padding: 11px 10px !important;
  box-shadow: none !important;
}
body.investor-theme .login-tab-btn.active {
  background: transparent !important;
  color: var(--lx-navy) !important;
  border-bottom-color: var(--lx-gold) !important;
  font-weight: 800 !important;
}
body.investor-theme .login-tab-btn .lx-ico {
  color: var(--lx-gold);
}
body.investor-theme .sms-code-input {
  letter-spacing: 10px;
  font-size: 28px !important;
  height: 56px;
  color: var(--lx-navy) !important;
  text-align: center !important;
}
body.investor-theme .lx-label-center { text-align: center !important; }
body.investor-theme .lx-otp-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 0 14px;
  margin-bottom: 16px;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px dashed var(--lx-line-dashed) !important;
}
body.investor-theme .lx-otp-note span {
  display: block;
  font-size: 13px;
  color: var(--lx-muted);
}
body.investor-theme .lx-otp-note strong {
  font-size: 17px;
  font-weight: 800;
  color: var(--lx-navy);
}
body.investor-theme .lx-login-timer {
  font-size: 13px;
  color: var(--lx-muted);
  text-align: center;
  margin-top: 16px;
}
body.investor-theme .lx-login-back {
  text-align: center;
  margin-top: 8px;
}
body.investor-theme .login-link-btn {
  color: var(--lx-gold-dark) !important;
  font-weight: 700 !important;
}
body.investor-theme .lx-login-foot {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--lx-line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
body.investor-theme .lx-login-foot-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12.5px;
  color: var(--lx-muted);
  line-height: 1.55;
}
body.investor-theme .lx-login-foot-row .lx-ico {
  color: var(--lx-gold);
  margin-top: 1px;
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 420px) {
  body.investor-theme .lx-hero-amount { font-size: 38px; }
  body.investor-theme .lx-stat-value { font-size: 19px; }
  body.investor-theme .lx-milestone strong { font-size: 15.5px; }
  body.investor-theme .lx-navy-grid { grid-template-columns: 1fr; }
  body.investor-theme .lx-navy-col {
    border-left: none;
    border-bottom: 1px dashed rgba(226, 192, 116, 0.3);
    padding: 12px 6px;
  }
  body.investor-theme .lx-navy-col:last-child { border-bottom: none; }
  body.investor-theme .lx-navy-kv { grid-template-columns: 1fr; }
  body.investor-theme .lx-req-notes { padding-right: 0; }
}

@media (min-width: 760px) {
  body.investor-theme .lx-hero-inner { padding: 48px 36px 28px; }
  body.investor-theme .lx-hero-amount { font-size: 56px; }
  body.investor-theme .lx-stat-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  body.investor-theme .lx-stat {
    border-bottom: none !important;
    border-left: 1px dashed var(--lx-line-dashed) !important;
  }
  body.investor-theme .lx-stat:last-child {
    border-left: none !important;
  }
  body.investor-theme .lx-stat-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.investor-theme .lx-dash-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
  body.investor-theme .lx-dash-grid > .lx-card:first-child {
    border-left: 1px dashed var(--lx-line-dashed) !important;
  }
  body.investor-theme .lx-toolbar {
    flex-direction: row;
    align-items: center;
  }
  body.investor-theme .lx-toolbar .lx-search { flex: 1; }
}

@media (min-width: 960px) {
  body.investor-theme .lx-bottom-nav { display: none; }
  body.investor-theme .lx-page { padding-bottom: 60px; }
  body.investor-theme .toast-container {
    bottom: 24px;
    left: 24px;
    right: auto;
    align-items: flex-start;
  }
}
