 :root {
      --navy: #0B1C2D;
      --navy-light: #122336;
      --gold: #C9A84C;
      --gold-light: #E8C97A;
      --white: #FFFFFF;
      --off-white: #F8F6F1;
      --gray: #8899AA;
      --gray-light: #E8EDF2;
      --text: #1A2B3C;
      --sidebar-w: 240px;
    }

    * { margin: 0; padding: 0; box-sizing: border-box; }

    body {
      font-family: 'DM Sans', sans-serif;
      background: var(--off-white);
      color: var(--text);
      overflow-x: hidden;
    }

    /* ── PAGE ROUTING ── */
    .page { display: none; }
    .page.active { display: block; }

    /* ── HEADER ── */
    .header {
      position: fixed; top: 0; left: 0; right: 0; z-index: 100;
      background: rgba(11,28,45,0.97);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(201,168,76,0.2);
      transition: all 0.3s;
    }
    .header-inner {
      max-width: 1200px; margin: 0 auto;
      padding: 0 24px;
      height: 72px;
      display: flex; align-items: center; justify-content: space-between;
    }
    .logo { display: flex; align-items: center; gap: 12px; cursor: pointer; text-decoration: none; }
    .logo img { height: 42px; width: auto; }
    .logo-text { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 700; color: var(--white); letter-spacing: 0.5px; }

    .nav { display: flex; gap: 32px; }
    .nav-link {
      color: rgba(255,255,255,0.75); font-size: 14px; font-weight: 500;
      text-decoration: none; transition: color 0.2s; letter-spacing: 0.3px;
    }
    .nav-link:hover { color: var(--gold); }

    .header-actions { display: flex; gap: 12px; align-items: center; }

    .btn {
      display: inline-flex; align-items: center; gap: 8px;
      padding: 10px 20px; border-radius: 6px;
      font-family: 'DM Sans', sans-serif; font-size: 14px; font-weight: 500;
      cursor: pointer; transition: all 0.2s; border: none; text-decoration: none;
    }
    .btn-primary { background: var(--gold); color: var(--navy); }
    .btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(201,168,76,0.4); }
    .btn-outline { background: transparent; color: var(--white); border: 1px solid rgba(255,255,255,0.35); }
    .btn-outline:hover { border-color: var(--gold); color: var(--gold); }
    .btn-ghost { background: transparent; color: var(--gray); border: 1px solid var(--gray-light); }
    .btn-ghost:hover { background: var(--gray-light); color: var(--text); }
    .btn-lg { padding: 14px 28px; font-size: 16px; }

    /* ── MOBILE TOGGLE ── */
    .mobile-toggle {
      display: none; flex-direction: column; gap: 5px;
      background: none; border: none; cursor: pointer; padding: 4px;
    }
    .mobile-toggle span {
      display: block; width: 24px; height: 2px;
      background: var(--white); border-radius: 2px; transition: all 0.3s;
    }
    .mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

    .mobile-menu {
      display: none; position: fixed; top: 72px; left: 0; right: 0;
      background: var(--navy); z-index: 99; padding: 24px;
      border-bottom: 1px solid rgba(201,168,76,0.2);
    }
    .mobile-menu.open { display: block; }
    .mobile-menu nav { display: flex; flex-direction: column; gap: 4px; margin-bottom: 20px; }
    .mobile-menu nav a {
      color: rgba(255,255,255,0.8); padding: 12px 0; font-size: 16px;
      text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.07);
      display: block;
    }
    .mobile-menu nav a:hover { color: var(--gold); }
    .mobile-menu-actions { display: flex; flex-direction: column; gap: 10px; }

    /* ── HOME PAGE ── */
    .hero {
      min-height: 100vh;
      background: linear-gradient(135deg, #0B1C2D 0%, #122336 50%, #0D2440 100%);
      display: flex; align-items: center; position: relative; overflow: hidden;
    }
    .hero::before {
      content: ''; position: absolute; inset: 0;
      background: radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.08) 0%, transparent 60%);
    }
    .hero-grid {
      position: absolute; inset: 0; opacity: 0.04;
      background-image: linear-gradient(rgba(201,168,76,0.5) 1px, transparent 1px),
                        linear-gradient(90deg, rgba(201,168,76,0.5) 1px, transparent 1px);
      background-size: 60px 60px;
    }
    .hero-content {
      max-width: 1200px; margin: 0 auto; padding: 120px 24px 80px;
      position: relative; z-index: 1;
    }
    .hero-badge {
      display: inline-flex; align-items: center; gap: 8px;
      background: rgba(201,168,76,0.15); border: 1px solid rgba(201,168,76,0.3);
      color: var(--gold); padding: 8px 16px; border-radius: 24px;
      font-size: 13px; font-weight: 500; letter-spacing: 0.5px; margin-bottom: 32px;
    }
    .hero-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(42px, 6vw, 80px); font-weight: 700;
      color: var(--white); line-height: 1.1; margin-bottom: 24px;
    }
    .hero-title .highlight { color: var(--gold); }
    .hero-subtitle {
      font-size: 18px; color: rgba(255,255,255,0.65); max-width: 560px;
      line-height: 1.7; margin-bottom: 40px;
    }
    .hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 64px; }
    .hero-stats {
      display: grid; grid-template-columns: repeat(3, 1fr);
      gap: 32px; max-width: 480px;
    }
    .hero-stat { border-top: 1px solid rgba(201,168,76,0.3); padding-top: 16px; }
    .hero-stat-num {
      font-family: 'Cormorant Garamond', serif;
      font-size: 36px; font-weight: 700; color: var(--gold); display: block;
    }
    .hero-stat-label { font-size: 12px; color: rgba(255,255,255,0.5); letter-spacing: 1px; text-transform: uppercase; }

    /* ── SECTIONS ── */
    .section { padding: 100px 24px; }
    .section-dark { background: var(--navy); }
    .section-light { background: var(--white); }
    .container { max-width: 1200px; margin: 0 auto; }
    .section-label {
      display: inline-block; font-size: 11px; font-weight: 600;
      letter-spacing: 3px; text-transform: uppercase;
      color: var(--gold); margin-bottom: 16px;
    }
    .section-title {
      font-family: 'Cormorant Garamond', serif;
      font-size: clamp(28px, 4vw, 48px); font-weight: 700;
      color: var(--text); margin-bottom: 16px; line-height: 1.2;
    }
    .section-dark .section-title { color: var(--white); }
    .section-subtitle { font-size: 17px; color: var(--gray); line-height: 1.7; max-width: 600px; }
    .section-dark .section-subtitle { color: rgba(255,255,255,0.55); }
    .section-header { margin-bottom: 56px; }

    /* About */
    .about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
    .about-text p { color: var(--gray); line-height: 1.8; margin-bottom: 16px; font-size: 16px; }
    .about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
    .about-feature {
      background: var(--off-white); border-radius: 12px; padding: 20px;
      border-left: 3px solid var(--gold);
    }
    .about-feature h4 { font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 4px; }
    .about-feature p { font-size: 13px; color: var(--gray); line-height: 1.5; margin: 0; }
    .about-visual {
      background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%);
      border-radius: 20px; padding: 48px; aspect-ratio: 1;
      display: flex; flex-direction: column; justify-content: center; gap: 24px;
    }
    .about-stat-row { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .about-stat-row:last-child { border-bottom: none; }
    .about-stat-val { font-family: 'Cormorant Garamond', serif; font-size: 32px; font-weight: 700; color: var(--gold); }
    .about-stat-desc { font-size: 13px; color: rgba(255,255,255,0.55); }

    /* Services */
    .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
    .service-card {
      background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.08);
      border-radius: 16px; padding: 36px; transition: all 0.3s;
    }
    .service-card:hover { background: rgba(201,168,76,0.08); border-color: rgba(201,168,76,0.3); transform: translateY(-4px); }
    .service-icon {
      width: 52px; height: 52px; border-radius: 12px;
      background: rgba(201,168,76,0.15); display: flex; align-items: center; justify-content: center;
      color: var(--gold); font-size: 22px; margin-bottom: 20px;
    }
    .service-card h3 { font-size: 18px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
    .service-card p { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7; }

    /* Portfolio */
    .portfolio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 28px; }
    .property-card {
      background: var(--white); border-radius: 16px; overflow: hidden;
      box-shadow: 0 4px 24px rgba(0,0,0,0.07); transition: all 0.3s;
    }
    .property-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0,0,0,0.12); }
    .property-img {
      height: 200px;
      background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%);
      display: flex; align-items: center; justify-content: center;
      position: relative; overflow: hidden;
    }
    .property-img-1 { background: linear-gradient(135deg, #0B1C2D, #1a3a5c); }
    .property-img-2 { background: linear-gradient(135deg, #1a2a1a, #2d4a2d); }
    .property-img-3 { background: linear-gradient(135deg, #2a1a0b, #4a2d1a); }
    .property-img i { font-size: 48px; color: rgba(255,255,255,0.2); }
    .property-badge {
      position: absolute; top: 16px; left: 16px;
      background: var(--gold); color: var(--navy);
      font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 4px;
      text-transform: uppercase; letter-spacing: 0.5px;
    }
    .property-body { padding: 24px; }
    .property-type { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
    .property-name { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
    .property-location { font-size: 13px; color: var(--gray); margin-bottom: 20px; display: flex; align-items: center; gap: 4px; }
    .property-meta { display: flex; justify-content: space-between; margin-bottom: 20px; }
    .property-meta-item label { font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--gray); display: block; margin-bottom: 4px; }
    .property-meta-item span { font-size: 16px; font-weight: 600; color: var(--text); }

    /* Contact */
    .contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
    .contact-info { display: flex; flex-direction: column; gap: 24px; }
    .contact-item { display: flex; gap: 16px; align-items: flex-start; }
    .contact-item-icon {
      width: 44px; height: 44px; border-radius: 10px; flex-shrink: 0;
      background: rgba(201,168,76,0.15); display: flex; align-items: center; justify-content: center;
      color: var(--gold); font-size: 18px;
    }
    .contact-item-text h4 { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
    .contact-item-text p { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.6; }
    .contact-form { display: flex; flex-direction: column; gap: 16px; }
    .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .form-group { display: flex; flex-direction: column; gap: 6px; }
    .form-group label { font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.7); }
   
    .form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
    .form-group textarea { resize: vertical; min-height: 100px; }
    .form-group select option { background: var(--navy); }

    /* Footer */
    footer {
      background: #060E18; padding: 56px 24px 32px;
      border-top: 1px solid rgba(255,255,255,0.06);
    }
    .footer-inner { max-width: 1200px; margin: 0 auto; }
    .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
    .footer-brand p { font-size: 14px; color: rgba(255,255,255,0.4); line-height: 1.7; margin-top: 16px; max-width: 280px; }
    .footer-links h4 { font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-bottom: 16px; }
    .footer-links a { display: block; font-size: 14px; color: rgba(255,255,255,0.45); text-decoration: none; margin-bottom: 10px; transition: color 0.2s; }
    .footer-links a:hover { color: var(--gold); }
    .footer-bottom {
      border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px;
      display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
    }
    .footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.3); }
    .disclaimer { font-size: 11px; color: rgba(255,255,255,0.2); margin-top: 20px; line-height: 1.6; max-width: 900px; }

    /* ── LOGIN PAGE ── */
    .login-wrap {
      min-height: 100vh; display: flex;
      background: linear-gradient(135deg, var(--navy) 0%, #0d2440 100%);
    }
    .login-left {
      flex: 1; display: flex; align-items: center; justify-content: center;
      padding: 60px 48px; position: relative; overflow: hidden;
    }
    .login-left::before {
      content: ''; position: absolute; inset: 0;
      background: radial-gradient(ellipse at center, rgba(201,168,76,0.06) 0%, transparent 70%);
    }
    .login-left-content { position: relative; z-index: 1; max-width: 380px; }
    .login-left-content h2 {
      font-family: 'Cormorant Garamond', serif; font-size: 42px; font-weight: 700;
      color: var(--white); line-height: 1.2; margin-bottom: 20px;
    }
    .login-left-content h2 span { color: var(--gold); }
    .login-left-content p { font-size: 16px; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 40px; }
    .login-feature { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
    .login-feature-icon {
      width: 36px; height: 36px; border-radius: 8px; flex-shrink: 0;
      background: rgba(201,168,76,0.15); display: flex; align-items: center; justify-content: center;
      color: var(--gold); font-size: 15px;
    }
    .login-feature-text h4 { font-size: 14px; font-weight: 600; color: var(--white); margin-bottom: 2px; }
    .login-feature-text p { font-size: 13px; color: rgba(255,255,255,0.45); }

    .login-right {
      width: 480px; background: var(--white); display: flex; align-items: center; justify-content: center;
      padding: 60px 48px;
    }
    .login-form-wrap { width: 100%; max-width: 360px; }
    .login-form-wrap .logo { margin-bottom: 32px; }
    .login-form-wrap .logo img { filter: invert(1) sepia(1) saturate(0); opacity: 0.7; }
    .tabs { display: flex; border-bottom: 2px solid var(--gray-light); margin-bottom: 28px; }
    .tab {
      flex: 1; padding: 12px; text-align: center; font-size: 14px; font-weight: 500;
      color: var(--gray); cursor: pointer; border-bottom: 2px solid transparent;
      margin-bottom: -2px; transition: all 0.2s;
    }
    .tab.active { color: var(--navy); border-bottom-color: var(--gold); }
    .tab-content { display: none; }
    .tab-content.active { display: block; }
    .login-form-group { margin-bottom: 16px; }
    .login-form-group label { display: block; font-size: 13px; font-weight: 500; color: var(--text); margin-bottom: 6px; }
    .login-form-group input {
      width: 100%; padding: 12px 14px; border: 1.5px solid var(--gray-light);
      border-radius: 8px; font-family: 'DM Sans', sans-serif; font-size: 14px;
      color: var(--text); outline: none; transition: border-color 0.2s;
    }
    .login-form-group input:focus { border-color: var(--gold); }
    .login-note { font-size: 12px; color: var(--gray); margin-bottom: 20px; line-height: 1.5; }
    .login-divider { text-align: center; color: var(--gray); font-size: 13px; margin: 20px 0; position: relative; }
    .login-divider::before, .login-divider::after {
      content: ''; position: absolute; top: 50%; width: 44%; height: 1px; background: var(--gray-light);
    }
    .login-divider::before { left: 0; }
    .login-divider::after { right: 0; }
    .login-back { font-size: 13px; color: var(--gray); text-align: center; margin-top: 16px; }
    .login-back a { color: var(--gold); text-decoration: none; font-weight: 500; cursor: pointer; }

    /* ── DASHBOARD ── */
    .dashboard-wrap { display: flex; min-height: 100vh; background: #F0F4F8; }

    .sidebar {
      width: var(--sidebar-w); background: var(--navy); position: fixed;
      top: 0; left: 0; bottom: 0; z-index: 50;
      display: flex; flex-direction: column; transition: transform 0.3s;
    }
    .sidebar-header {
      padding: 24px 20px; border-bottom: 1px solid rgba(255,255,255,0.08);
      display: flex; align-items: center; justify-content: space-between;
    }
    .sidebar-logo img { height: 36px; width: auto; cursor: pointer; }
    .sidebar-nav { flex: 1; padding: 16px 12px; overflow-y: auto; }
    .nav-item {
      display: flex; align-items: center; gap: 12px;
      padding: 11px 14px; border-radius: 8px; margin-bottom: 4px;
      color: rgba(255,255,255,0.55); font-size: 14px; font-weight: 500;
      cursor: pointer; transition: all 0.2s; user-select: none;
    }
    .nav-item:hover { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.85); }
    .nav-item.active { background: rgba(201,168,76,0.15); color: var(--gold); }
    .nav-item i { width: 18px; text-align: center; font-size: 15px; }
    .sidebar-footer {
      padding: 16px 12px; border-top: 1px solid rgba(255,255,255,0.08);
    }
    .sidebar-user {
      display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 8px;
      cursor: pointer; transition: background 0.2s;
    }
    .sidebar-user:hover { background: rgba(255,255,255,0.06); }
    .sidebar-avatar {
      width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
      background: var(--gold); display: flex; align-items: center; justify-content: center;
      font-size: 14px; font-weight: 700; color: var(--navy);
    }
    .sidebar-user-name { font-size: 13px; font-weight: 600; color: var(--white); }
    .sidebar-user-role { font-size: 11px; color: rgba(255,255,255,0.4); }

    .dashboard-main { margin-left: var(--sidebar-w); flex: 1; min-height: 100vh; }
    .dashboard-topbar {
      background: var(--white); height: 64px; padding: 0 32px;
      display: flex; align-items: center; justify-content: space-between;
      border-bottom: 1px solid var(--gray-light); position: sticky; top: 0; z-index: 10;
    }
    .topbar-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 700; color: var(--text); }
    .topbar-subtitle { font-size: 13px; color: var(--gray); }
    .topbar-right { display: flex; align-items: center; gap: 16px; }
    .topbar-icon {
      width: 36px; height: 36px; border-radius: 8px; background: var(--off-white);
      display: flex; align-items: center; justify-content: center;
      color: var(--gray); cursor: pointer; transition: background 0.2s; font-size: 16px;
    }
    .topbar-icon:hover { background: var(--gray-light); color: var(--text); }

    .dashboard-content { padding: 32px; }
    .dashboard-section { display: none; }
    .dashboard-section.active { display: block; }

    /* Dashboard Stats */
    .stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 28px; }
    .stat-card {
      background: var(--white); border-radius: 14px; padding: 24px;
      box-shadow: 0 2px 12px rgba(0,0,0,0.05); transition: transform 0.2s;
    }
    .stat-card:hover { transform: translateY(-2px); }
    .stat-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 16px; }
    .stat-icon {
      width: 44px; height: 44px; border-radius: 10px;
      display: flex; align-items: center; justify-content: center; font-size: 20px;
    }
    .stat-icon.gold { background: rgba(201,168,76,0.12); color: var(--gold); }
    .stat-icon.blue { background: rgba(59,130,246,0.12); color: #3B82F6; }
    .stat-icon.green { background: rgba(16,185,129,0.12); color: #10B981; }
    .stat-icon.purple { background: rgba(139,92,246,0.12); color: #8B5CF6; }
    .stat-badge { font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 20px; }
    .stat-badge.up { background: rgba(16,185,129,0.1); color: #10B981; }
    .stat-badge.down { background: rgba(239,68,68,0.1); color: #EF4444; }
    .stat-value { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
    .stat-label { font-size: 13px; color: var(--gray); }

    /* Dashboard Grid */
    .dash-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-bottom: 20px; }
    .dash-card {
      background: var(--white); border-radius: 14px; padding: 24px;
      box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    }
    .dash-card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
    .dash-card-title { font-size: 15px; font-weight: 600; color: var(--text); }

   
    .status-badge.active { background: rgba(16,185,129,0.1); color: #10B981; }
    .status-badge.pending { background: rgba(245,158,11,0.1); color: #F59E0B; }
    .status-badge.exited { background: rgba(107,114,128,0.1); color: #6B7280; }
    .status-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

    /* Activity Feed */
    .activity-list { display: flex; flex-direction: column; gap: 0; }
    .activity-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(0,0,0,0.04); }
    .activity-item:last-child { border-bottom: none; }
    .activity-dot {
      width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
      display: flex; align-items: center; justify-content: center; font-size: 14px;
    }
    .activity-dot.green { background: rgba(16,185,129,0.1); color: #10B981; }
    .activity-dot.blue { background: rgba(59,130,246,0.1); color: #3B82F6; }
    .activity-dot.gold { background: rgba(201,168,76,0.1); color: var(--gold); }
    .activity-text { flex: 1; }
    .activity-text p { font-size: 13px; color: var(--text); font-weight: 500; margin-bottom: 2px; }
    .activity-text span { font-size: 12px; color: var(--gray); }
    .activity-amount { font-size: 14px; font-weight: 600; color: var(--text); }

    /* Assets grid */
    .assets-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }

    /* ── ASSET CARD ── */
    .asset-card {
      background: var(--white); border-radius: 14px; overflow: hidden;
      box-shadow: 0 1px 10px rgba(0,0,0,0.07); transition: transform 0.2s, box-shadow 0.2s;
      display: flex; flex-direction: column; border: 1px solid var(--gray-light);
    }
    .asset-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,0.12); }

    /* Header band — replaces image area */
    .asset-card-header {
      padding: 16px 18px 14px;
      background: linear-gradient(135deg, var(--navy) 0%, #18375a 100%);
      display: flex; align-items: flex-start; justify-content: space-between; gap: 10px;
      border-bottom: 2px solid rgba(201,168,76,0.35);
    }
    .asset-card-header-left { flex: 1; min-width: 0; }
    .asset-type {
      font-size: 10px; font-weight: 700; letter-spacing: 2px;
      text-transform: uppercase; color: var(--gold); margin-bottom: 5px; display: block;
    }
    .asset-name {
      font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 700;
      color: var(--white); line-height: 1.2; margin-bottom: 5px;
      white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block;
    }
    .asset-loc {
      font-size: 11px; color: rgba(255,255,255,0.45);
      display: flex; align-items: center; gap: 4px;
    }
    .asset-card-icon {
      width: 36px; height: 36px; border-radius: 9px; flex-shrink: 0; margin-top: 2px;
      background: rgba(201,168,76,0.15); border: 1px solid rgba(201,168,76,0.25);
      display: flex; align-items: center; justify-content: center;
      color: var(--gold); font-size: 14px;
    }

    /* Card body */
    .asset-body { padding: 14px 16px 12px; flex: 1; display: flex; flex-direction: column; gap: 10px; }

    /* 3-col stat pills */
    .asset-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
    .asset-stat {
      text-align: center; background: var(--off-white); border-radius: 7px;
      padding: 8px 4px; border: 1px solid transparent; transition: border-color 0.15s;
    }
    .asset-stat:hover { border-color: rgba(201,168,76,0.2); }
    .asset-stat-val { font-size: 13px; font-weight: 700; color: var(--text); display: block; }
    .asset-stat-lbl { font-size: 9px; color: var(--gray); letter-spacing: 0.6px; text-transform: uppercase; margin-top: 2px; }

    /* Lease badge */
    .lease-badge { display:inline-flex; align-items:center; gap:5px; font-size:10px; font-weight:600; padding:3px 9px; border-radius:10px; width:fit-content; }
    .lease-badge.active { background:rgba(16,185,129,0.1); color:#059669; border:1px solid rgba(16,185,129,0.2); }
    .lease-badge.none { background:rgba(107,114,128,0.07); color:#9CA3AF; border:1px solid rgba(107,114,128,0.12); }

    /* Yield metrics strip */
    .lease-metrics-strip { display:none; grid-template-columns:repeat(4,1fr); gap:5px; }
    .lease-metrics-strip.visible { display:grid; }
    .lm-cell { background:var(--off-white); border:1px solid var(--gray-light); border-radius:7px; padding:7px 5px; text-align:center; }
    .lm-val { font-size:11px; font-weight:700; color:var(--navy); display:block; }
    .lm-lbl { font-size:8px; color:var(--gray); letter-spacing:0.3px; margin-top:2px; text-transform:uppercase; }

    /* Card footer */
    .asset-footer { border-top:1px solid var(--gray-light); padding:9px 14px; display:flex; gap:7px; }
    .asset-footer-btn { flex:1; padding:7px 0; border-radius:7px; border:1.5px solid var(--gray-light); font-size:11px; font-weight:600; cursor:pointer; background:var(--white); color:var(--text); font-family:'DM Sans',sans-serif; transition:all 0.15s; display:flex; align-items:center; justify-content:center; gap:5px; }
    .asset-footer-btn:hover { border-color:var(--gold); color:var(--navy); background:rgba(201,168,76,0.04); }
    .asset-footer-btn.primary { background:var(--navy); border-color:var(--navy); color:var(--white); }
    .asset-footer-btn.primary:hover { background:#1a3a5c; }

    /* ── LEASE MODAL ── */
    .lmodal-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.6); z-index:1100; align-items:center; justify-content:center; padding:20px; backdrop-filter:blur(3px); }
    .lmodal-overlay.open { display:flex; }
    .lmodal-box { background:var(--white); border-radius:18px; width:100%; max-width:860px; max-height:94vh; overflow-y:auto; box-shadow:0 24px 80px rgba(0,0,0,0.35); animation:modalIn 0.25s ease; }

    .lmodal-header { display:flex; align-items:center; justify-content:space-between; padding:22px 28px; border-bottom:1px solid var(--gray-light); position:sticky; top:0; background:var(--white); z-index:2; border-radius:18px 18px 0 0; }
    .lmodal-asset-chip { display:flex; align-items:center; gap:10px; }
    .lmodal-asset-icon { width:36px; height:36px; border-radius:8px; background:var(--navy); display:flex; align-items:center; justify-content:center; color:var(--gold); font-size:14px; }
    .lmodal-title { font-family:'Cormorant Garamond',serif; font-size:20px; font-weight:700; color:var(--navy); }
    .lmodal-subtitle { font-size:11px; color:var(--gray); margin-top:1px; }
    .lmodal-body { padding:24px 28px; }

    /* live metrics panel */
    .lm-panel { background:var(--navy); border-radius:14px; padding:20px 24px; margin-bottom:24px; }
    .lm-panel-title { font-size:11px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--gold); margin-bottom:14px; display:flex; align-items:center; gap:8px; }
    .lm-panel-grid { display:grid; grid-template-columns:repeat(6,1fr); gap:10px; }
    .lm-metric { background:rgba(255,255,255,0.05); border-radius:10px; padding:12px 8px; text-align:center; border:1px solid rgba(255,255,255,0.06); }
    .lm-metric-val { font-family:'Cormorant Garamond',serif; font-size:22px; font-weight:700; color:var(--gold); display:block; line-height:1; }
    .lm-metric-lbl { font-size:10px; color:rgba(255,255,255,0.4); margin-top:4px; letter-spacing:0.3px; }
    .lm-metric.good .lm-metric-val { color:#10B981; }
    .lm-metric.warn .lm-metric-val { color:#F59E0B; }
    .lm-metric.bad  .lm-metric-val { color:#EF4444; }

    /* NNN toggle */
    .lease-type-toggle { display:flex; gap:8px; margin-bottom:0; }
    .lt-btn { flex:1; padding:10px 8px; border-radius:9px; border:2px solid var(--gray-light); cursor:pointer; text-align:center; transition:all 0.15s; background:var(--white); }
    .lt-btn:hover { border-color:var(--gold); }
    .lt-btn.active { border-color:var(--navy); background:var(--navy); }
    .lt-btn-label { font-size:13px; font-weight:700; display:block; color:var(--gray); }
    .lt-btn.active .lt-btn-label { color:var(--white); }
    .lt-btn-desc { font-size:10px; color:var(--gray); margin-top:3px; display:block; }
    .lt-btn.active .lt-btn-desc { color:rgba(255,255,255,0.5); }

    /* NNN expense rows */
    .nnn-section { display:none; }
    .nnn-section.visible { display:block; }
    .nnn-expense-grid { display:grid; grid-template-columns:1fr 1fr 1fr; gap:12px; }
    .nnn-total-bar { background:rgba(59,130,246,0.06); border:1px solid rgba(59,130,246,0.2); border-radius:8px; padding:10px 16px; display:flex; justify-content:space-between; align-items:center; margin-top:10px; }

    /* lease terms comparison */
    .lease-vs-market { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:12px; }
    .lvm-cell { border-radius:10px; padding:14px; }
    .lvm-cell.yours { background:rgba(201,168,76,0.06); border:1px solid rgba(201,168,76,0.2); }
    .lvm-cell.market { background:rgba(107,114,128,0.05); border:1px solid var(--gray-light); }
    .lvm-label { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:1px; color:var(--gray); margin-bottom:8px; }
    .lvm-row { display:flex; justify-content:space-between; font-size:12px; padding:4px 0; border-bottom:1px solid rgba(0,0,0,0.04); }
    .lvm-row:last-child { border:none; }

    @media (max-width:640px) { .lm-panel-grid { grid-template-columns:repeat(3,1fr); } .nnn-expense-grid { grid-template-columns:1fr 1fr; } }


    .table-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; gap: 16px; }
    .search-input {
      display: flex; align-items: center; gap: 10px;
      background: var(--off-white); border: 1px solid var(--gray-light);
      border-radius: 8px; padding: 10px 14px; flex: 1; max-width: 300px;
    }
    .search-input i { color: var(--gray); font-size: 14px; }
    .search-input input { border: none; background: none; outline: none; font-family: 'DM Sans', sans-serif; font-size: 14px; color: var(--text); flex: 1; }

    /* Mobile sidebar toggle */
    .mobile-sidebar-btn {
      display: none; position: fixed; top: 16px; left: 16px; z-index: 200;
      width: 40px; height: 40px; border-radius: 8px; background: var(--navy);
      border: none; color: var(--white); font-size: 18px; cursor: pointer;
      align-items: center; justify-content: center;
    }
    .sidebar-overlay {
      display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 40;
    }

    /* ── LEGAL PAGES ── */
    .legal-header {
      background: var(--navy); padding: 100px 24px 48px;
      text-align: center;
    }
    .legal-header h1 { font-family: 'Cormorant Garamond', serif; font-size: 48px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
    .legal-header p { font-size: 14px; color: rgba(255,255,255,0.45); }
    .legal-content { max-width: 800px; margin: 0 auto; padding: 60px 24px; }
    .legal-back { margin-bottom: 32px; }
    .legal-section { margin-bottom: 40px; }
    .legal-section h2 { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 700; color: var(--text); margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--gray-light); }
    .legal-section h3 { font-size: 16px; font-weight: 600; color: var(--text); margin: 20px 0 8px; }
    .legal-section p { font-size: 15px; color: #4a5568; line-height: 1.8; margin-bottom: 12px; }
    .legal-section ul { padding-left: 20px; margin-bottom: 12px; }
    .legal-section li { font-size: 15px; color: #4a5568; line-height: 1.8; margin-bottom: 6px; }
    .legal-contact { background: var(--off-white); border-radius: 12px; padding: 24px; margin-top: 16px; border-left: 3px solid var(--gold); }
    .legal-contact p { margin-bottom: 6px; font-size: 14px; color: var(--text); }

    /* ── RESPONSIVE ── */
    @media (max-width: 1024px) {
      .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
      .footer-grid { grid-template-columns: 1fr 1fr; }
      .stats-grid { grid-template-columns: repeat(2, 1fr); }
      .dash-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 768px) {
      .nav { display: none; }
      .header-actions { display: none; }
      .mobile-toggle { display: flex; }
      .hero-stats { grid-template-columns: repeat(3, 1fr); }
      .services-grid { grid-template-columns: 1fr; }
      .portfolio-grid { grid-template-columns: 1fr; }
      .footer-grid { grid-template-columns: 1fr; gap: 32px; }
      .form-row { grid-template-columns: 1fr; }
      .login-wrap { flex-direction: column; }
      .login-left { padding: 40px 24px; min-height: auto; }
      .login-right { width: 100%; padding: 40px 24px; }
      /* .sidebar { transform: translateX(-100%); } */
      .sidebar.open { transform: translateX(0); }
      .sidebar-overlay.open { display: block; }
      .mobile-sidebar-btn { display: flex; }
      .dashboard-main { margin-left: 0; }
      .dashboard-topbar { padding-left: 64px; }
      .stats-grid { grid-template-columns: repeat(2, 1fr); }
      .assets-grid { grid-template-columns: 1fr; }
    }
    @media (max-width: 480px) {
      .hero-title { font-size: 36px; }
      .hero-stats { grid-template-columns: 1fr; }
      .hero-actions { flex-direction: column; }
      .stats-grid { grid-template-columns: 1fr; }
    }
    /* ── PERFORMANCE PAGE ── */
    .perf-pill { font-size:12px; font-weight:600; padding:3px 9px; border-radius:12px; display:inline-block; }
    .perf-pill.green { background:rgba(16,185,129,0.12); color:#10B981; }
    .perf-pill.amber { background:rgba(245,158,11,0.12); color:#F59E0B; }
    .perf-pill.red   { background:rgba(239,68,68,0.12);  color:#EF4444; }

    .rating-badge { font-size:12px; font-weight:600; padding:4px 10px; border-radius:12px; }
    .rating-badge.excellent { background:rgba(16,185,129,0.15); color:#10B981; border:1px solid rgba(16,185,129,0.3); }
    .rating-badge.good      { background:rgba(59,130,246,0.12); color:#3B82F6; border:1px solid rgba(59,130,246,0.25); }
    .rating-badge.review    { background:rgba(245,158,11,0.12); color:#F59E0B; border:1px solid rgba(245,158,11,0.25); }

    .perf-card { background:var(--white); border-radius:14px; overflow:hidden; box-shadow:0 2px 16px rgba(0,0,0,0.07); transition:transform 0.2s; }
    .perf-card:hover { transform:translateY(-3px); }
    .perf-card-header { padding:20px 22px; color:var(--white); }
    .pc-blue   { background:linear-gradient(135deg,#1e3a5f,#2c5282); }
    .pc-green  { background:linear-gradient(135deg,#1a3a2a,#276749); }
    .pc-navy   { background:linear-gradient(135deg,#0B1C2D,#1a3a5c); }
    .pc-purple { background:linear-gradient(135deg,#2d1f4a,#553c9a); }
    .pc-gold   { background:linear-gradient(135deg,#4a3010,#7a5a1e); }
    .perf-card-addr { font-family:'Cormorant Garamond',serif; font-size:22px; font-weight:700; }
    .perf-card-city { font-size:12px; color:rgba(255,255,255,0.6); margin-top:2px; }
    .perf-card-body { padding:18px 20px; }

    .perf-metrics-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-bottom:16px; }
    .pm { background:var(--off-white); border-radius:8px; padding:10px 8px; text-align:center; }
    .pm-val { display:block; font-size:15px; font-weight:700; color:var(--text); }
    .pm-val.green { color:#10B981; }
    .pm-val.amber { color:#F59E0B; }
    .pm-val.red   { color:#EF4444; }
    .pm-lbl { font-size:10px; color:var(--gray); letter-spacing:0.3px; margin-top:2px; display:block; }

    .perf-benchmarks { border-top:1px solid var(--gray-light); padding-top:12px; margin-bottom:12px; display:flex; flex-direction:column; gap:7px; }
    .bm-row { display:flex; justify-content:space-between; align-items:center; font-size:12px; }
    .bm-row span:first-child { color:var(--gray); }
    .bm-pass { color:#10B981; font-weight:600; }
    .bm-fail { color:#EF4444; font-weight:600; }

    .perf-uplift { background:rgba(201,168,76,0.08); border:1px solid rgba(201,168,76,0.2); border-radius:8px; padding:9px 12px; font-size:12px; color:#8a6a1a; }
    .perf-uplift i { margin-right:5px; }

    @media (max-width:768px) {
      #sec-performance .stats-grid { grid-template-columns:repeat(2,1fr) !important; }
    }
    @media (max-width:480px) {
      #sec-performance .stats-grid { grid-template-columns:1fr !important; }
    }
    /* ── SIGNALS DASHBOARD ── */
    .sig-engine-bar { display:flex; align-items:center; justify-content:space-between; background:linear-gradient(135deg,var(--navy),#1a3a5c); border-radius:14px; padding:18px 24px; margin-bottom:24px; flex-wrap:wrap; gap:12px; }
    .sig-engine-left { display:flex; align-items:center; gap:14px; }
    .sig-engine-pulse { width:10px; height:10px; border-radius:50%; background:#10B981; box-shadow:0 0 0 0 rgba(16,185,129,0.4); animation:sigpulse 2s infinite; }
    @keyframes sigpulse { 0%{box-shadow:0 0 0 0 rgba(16,185,129,0.4)} 70%{box-shadow:0 0 0 10px rgba(16,185,129,0)} 100%{box-shadow:0 0 0 0 rgba(16,185,129,0)} }
    .sig-engine-label { font-size:13px; font-weight:600; color:rgba(255,255,255,0.9); letter-spacing:0.3px; }
    .sig-engine-sub { font-size:11px; color:rgba(255,255,255,0.45); margin-top:2px; }
    .sig-engine-right { display:flex; gap:20px; flex-wrap:wrap; }
    .sig-engine-stat { text-align:center; }
    .sig-engine-stat-val { font-family:'Cormorant Garamond',serif; font-size:22px; font-weight:700; color:var(--gold); display:block; }
    .sig-engine-stat-lbl { font-size:10px; color:rgba(255,255,255,0.45); letter-spacing:0.5px; text-transform:uppercase; }

    /* property selector */
    .sig-prop-tabs { display:flex; gap:8px; flex-wrap:wrap; margin-bottom:24px; }
    .sig-prop-tab { background:var(--white); border:1.5px solid var(--gray-light); border-radius:10px; padding:10px 16px; cursor:pointer; transition:all 0.2s; min-width:140px; }
    .sig-prop-tab:hover { border-color:var(--gold); }
    .sig-prop-tab.active { background:var(--navy); border-color:var(--navy); }
    .sig-prop-tab-name { font-size:13px; font-weight:600; color:var(--text); display:block; }
    .sig-prop-tab.active .sig-prop-tab-name { color:var(--white); }
    .sig-prop-tab-score { font-size:11px; color:var(--gray); margin-top:2px; display:flex; align-items:center; gap:4px; }
    .sig-prop-tab.active .sig-prop-tab-score { color:rgba(255,255,255,0.55); }
    .score-dot { width:7px; height:7px; border-radius:50%; display:inline-block; }
    .score-dot.green { background:#10B981; }
    .score-dot.amber { background:#F59E0B; }
    .score-dot.red { background:#EF4444; }

    /* property view */
    .sig-prop-view { display:none; }
    .sig-prop-view.active { display:block; }

    /* health score banner */
    .sig-health-banner { display:grid; grid-template-columns:auto 1fr auto; align-items:center; gap:24px; background:var(--white); border-radius:14px; padding:20px 28px; margin-bottom:20px; box-shadow:0 2px 12px rgba(0,0,0,0.06); border-left:5px solid var(--gold); flex-wrap:wrap; }
    .sig-health-score { font-family:'Cormorant Garamond',serif; font-size:52px; font-weight:700; line-height:1; }
    .sig-health-score.score-green { color:#10B981; }
    .sig-health-score.score-amber { color:#F59E0B; }
    .sig-health-score.score-red { color:#EF4444; }
    .sig-health-info { }
    .sig-health-label { font-size:11px; font-weight:600; letter-spacing:2px; text-transform:uppercase; color:var(--gray); margin-bottom:4px; }
    .sig-health-status { font-size:20px; font-weight:700; color:var(--text); margin-bottom:4px; }
    .sig-health-desc { font-size:13px; color:var(--gray); }
    .sig-health-meta { text-align:right; }
    .sig-health-meta-item { font-size:12px; color:var(--gray); margin-bottom:4px; }
    .sig-health-meta-item strong { color:var(--text); }
    .sig-health-delta { display:inline-flex; align-items:center; gap:4px; font-size:13px; font-weight:600; padding:4px 10px; border-radius:20px; }
    .sig-health-delta.up { background:rgba(16,185,129,0.1); color:#10B981; }
    .sig-health-delta.down { background:rgba(239,68,68,0.1); color:#EF4444; }
    .sig-health-delta.flat { background:rgba(107,114,128,0.1); color:#6B7280; }

    /* signal columns */
    .sig-columns { display:grid; grid-template-columns:1fr 1fr; gap:20px; }
    .sig-column-header { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; padding-bottom:10px; border-bottom:2px solid; }
    .sig-col-upside .sig-column-header { border-color:#10B981; }
    .sig-col-downside .sig-column-header { border-color:#EF4444; }
    .sig-column-title { font-size:14px; font-weight:700; letter-spacing:0.5px; text-transform:uppercase; display:flex; align-items:center; gap:8px; }
    .sig-col-upside .sig-column-title { color:#10B981; }
    .sig-col-downside .sig-column-title { color:#EF4444; }
    .sig-column-count { font-size:12px; font-weight:600; padding:3px 9px; border-radius:12px; }
    .sig-col-upside .sig-column-count { background:rgba(16,185,129,0.1); color:#10B981; }
    .sig-col-downside .sig-column-count { background:rgba(239,68,68,0.1); color:#EF4444; }

    /* signal card */
    .sig-card { background:var(--white); border-radius:12px; padding:14px 16px; margin-bottom:10px; box-shadow:0 1px 6px rgba(0,0,0,0.05); border:1px solid var(--gray-light); transition:transform 0.15s, box-shadow 0.15s; position:relative; overflow:hidden; }
    .sig-card:hover { transform:translateY(-1px); box-shadow:0 4px 16px rgba(0,0,0,0.1); }
    .sig-card::before { content:''; position:absolute; left:0; top:0; bottom:0; width:4px; border-radius:12px 0 0 12px; }
    .sig-card.sig-strong::before { background:#10B981; }
    .sig-card.sig-good::before { background:#3B82F6; }
    .sig-card.sig-watch::before { background:#F59E0B; }
    .sig-card.sig-alert::before { background:#EF4444; }
    .sig-card.sig-critical::before { background:#7C2D12; }

    .sig-card-top { display:flex; align-items:flex-start; justify-content:space-between; gap:8px; margin-bottom:8px; }
    .sig-card-name { font-size:14px; font-weight:700; color:var(--text); line-height:1.3; }
    .sig-card-cat { font-size:10px; color:var(--gray); font-weight:500; letter-spacing:0.3px; margin-top:2px; text-transform:uppercase; }
    .sig-card-right { text-align:right; flex-shrink:0; }
    .sig-score-badge { font-family:'Cormorant Garamond',serif; font-size:28px; font-weight:700; line-height:1; }
    .sig-score-badge.sc-strong { color:#10B981; }
    .sig-score-badge.sc-good { color:#3B82F6; }
    .sig-score-badge.sc-watch { color:#F59E0B; }
    .sig-score-badge.sc-alert { color:#EF4444; }
    .sig-score-badge.sc-critical { color:#7C2D12; }
    .sig-score-label { font-size:9px; color:var(--gray); text-transform:uppercase; letter-spacing:0.5px; }

    .sig-card-insight { font-size:12px; color:#4B5563; line-height:1.6; margin-bottom:8px; background:var(--off-white); padding:7px 10px; border-radius:7px; }

    .sig-card-bottom { display:flex; align-items:center; justify-content:space-between; gap:8px; flex-wrap:wrap; }
    .sig-status-pill { font-size:11px; font-weight:600; padding:3px 10px; border-radius:12px; }
    .sig-status-pill.strong { background:rgba(16,185,129,0.1); color:#10B981; border:1px solid rgba(16,185,129,0.2); }
    .sig-status-pill.good { background:rgba(59,130,246,0.1); color:#3B82F6; border:1px solid rgba(59,130,246,0.2); }
    .sig-status-pill.watch { background:rgba(245,158,11,0.1); color:#F59E0B; border:1px solid rgba(245,158,11,0.2); }
    .sig-status-pill.alert { background:rgba(239,68,68,0.1); color:#EF4444; border:1px solid rgba(239,68,68,0.2); }
    .sig-status-pill.critical { background:rgba(124,45,18,0.1); color:#7C2D12; border:1px solid rgba(124,45,18,0.2); }

    .sig-delta { font-size:11px; font-weight:600; display:inline-flex; align-items:center; gap:3px; }
    .sig-delta.up { color:#10B981; }
    .sig-delta.down { color:#EF4444; }
    .sig-delta.flat { color:#9CA3AF; }

    .sig-source { font-size:10px; color:var(--gray); }

    @media (max-width:900px) { .sig-columns { grid-template-columns:1fr; } .sig-health-banner { grid-template-columns:auto 1fr; } .sig-health-meta { grid-column:1/-1; text-align:left; } }
    /* ── SIGNAL FEED VIEW ── */
    .sig-view-toggle { display:flex; gap:4px; background:var(--off-white); border-radius:10px; padding:4px; margin-bottom:24px; width:fit-content; }
    .sig-toggle-btn { padding:8px 18px; border-radius:7px; font-size:13px; font-weight:600; cursor:pointer; border:none; background:transparent; color:var(--gray); transition:all 0.2s; display:flex; align-items:center; gap:7px; }
    .sig-toggle-btn.active { background:var(--white); color:var(--navy); box-shadow:0 1px 6px rgba(0,0,0,0.1); }
    .sig-toggle-btn:hover:not(.active) { color:var(--text); }

    .sig-feed-wrap { display:none; }
    .sig-feed-wrap.active { display:block; }
    .sig-prop-wrap { display:none; }
    .sig-prop-wrap.active { display:block; }

    /* severity group headers */
    .sig-group { margin-bottom:28px; }
    .sig-group-header { display:flex; align-items:center; gap:10px; margin-bottom:12px; padding:10px 16px; border-radius:10px; }
    .sig-group-header.critical { background:rgba(124,45,18,0.08); border-left:4px solid #7C2D12; }
    .sig-group-header.alert    { background:rgba(239,68,68,0.07); border-left:4px solid #EF4444; }
    .sig-group-header.watch    { background:rgba(245,158,11,0.07); border-left:4px solid #F59E0B; }
    .sig-group-header.stable   { background:rgba(107,114,128,0.06); border-left:4px solid #9CA3AF; }
    .sig-group-header.upside-strong { background:rgba(16,185,129,0.07); border-left:4px solid #10B981; }
    .sig-group-header.upside-good   { background:rgba(59,130,246,0.07); border-left:4px solid #3B82F6; }
    .sig-group-title { font-size:13px; font-weight:700; letter-spacing:1px; text-transform:uppercase; }
    .sig-group-header.critical .sig-group-title { color:#7C2D12; }
    .sig-group-header.alert    .sig-group-title { color:#EF4444; }
    .sig-group-header.watch    .sig-group-title { color:#D97706; }
    .sig-group-header.stable   .sig-group-title { color:#6B7280; }
    .sig-group-header.upside-strong .sig-group-title { color:#059669; }
    .sig-group-header.upside-good   .sig-group-title { color:#2563EB; }
    .sig-group-count { font-size:11px; font-weight:700; padding:2px 8px; border-radius:10px; }
    .sig-group-header.critical .sig-group-count { background:rgba(124,45,18,0.12); color:#7C2D12; }
    .sig-group-header.alert    .sig-group-count { background:rgba(239,68,68,0.12); color:#EF4444; }
    .sig-group-header.watch    .sig-group-count { background:rgba(245,158,11,0.12); color:#D97706; }
    .sig-group-header.stable   .sig-group-count { background:rgba(107,114,128,0.1);  color:#6B7280; }
    .sig-group-header.upside-strong .sig-group-count { background:rgba(16,185,129,0.12); color:#059669; }
    .sig-group-header.upside-good   .sig-group-count { background:rgba(59,130,246,0.12);  color:#2563EB; }

    /* feed signal row */
    .sig-feed-row { background:var(--white); border-radius:12px; padding:16px 18px; margin-bottom:8px; box-shadow:0 1px 5px rgba(0,0,0,0.05); border:1px solid var(--gray-light); display:grid; grid-template-columns:52px 1fr auto; gap:16px; align-items:start; transition:transform 0.15s, box-shadow 0.15s; }
    .sig-feed-row:hover { transform:translateY(-1px); box-shadow:0 4px 14px rgba(0,0,0,0.09); }
    .sig-feed-score-col { text-align:center; }
    .sig-feed-score-num { font-family:'Cormorant Garamond',serif; font-size:30px; font-weight:700; line-height:1; display:block; }
    .sig-feed-score-num.sc-critical { color:#7C2D12; }
    .sig-feed-score-num.sc-alert    { color:#EF4444; }
    .sig-feed-score-num.sc-watch    { color:#D97706; }
    .sig-feed-score-num.sc-stable   { color:#9CA3AF; }
    .sig-feed-score-num.sc-upstrong { color:#10B981; }
    .sig-feed-score-num.sc-upgood   { color:#3B82F6; }
    .sig-feed-score-lbl { font-size:9px; color:var(--gray); text-transform:uppercase; letter-spacing:0.4px; }
    .sig-feed-body { }
    .sig-feed-top { display:flex; align-items:flex-start; gap:8px; flex-wrap:wrap; margin-bottom:6px; }
    .sig-feed-name { font-size:14px; font-weight:700; color:var(--text); }
    .sig-feed-cat  { font-size:10px; color:var(--gray); background:var(--off-white); padding:2px 8px; border-radius:8px; font-weight:500; letter-spacing:0.2px; align-self:center; }
    .sig-feed-insight { font-size:12px; color:#4B5563; line-height:1.65; margin-bottom:8px; }
    .sig-feed-meta { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
    .sig-prop-badge { font-size:11px; font-weight:600; padding:3px 10px; border-radius:20px; background:rgba(11,28,45,0.08); color:var(--navy); border:1px solid rgba(11,28,45,0.12); white-space:nowrap; }
    .sig-prop-badge.multi { background:rgba(201,168,76,0.1); color:#7a5a1e; border-color:rgba(201,168,76,0.2); }
    .sig-feed-source { font-size:10px; color:var(--gray); }
    .sig-feed-right { text-align:right; flex-shrink:0; min-width:90px; }
    .sig-feed-delta { font-size:12px; font-weight:700; display:block; margin-bottom:4px; }
    .sig-feed-delta.up   { color:#10B981; }
    .sig-feed-delta.down { color:#EF4444; }
    .sig-feed-delta.flat { color:#9CA3AF; }
    .sig-feed-pill { font-size:10px; font-weight:600; padding:3px 8px; border-radius:8px; display:inline-block; }
    .sig-feed-pill.critical { background:rgba(124,45,18,0.1);  color:#7C2D12; }
    .sig-feed-pill.alert    { background:rgba(239,68,68,0.1);   color:#EF4444; }
    .sig-feed-pill.watch    { background:rgba(245,158,11,0.1);  color:#D97706; }
    .sig-feed-pill.stable   { background:rgba(107,114,128,0.1); color:#6B7280; }
    .sig-feed-pill.upstrong { background:rgba(16,185,129,0.1);  color:#059669; }
    .sig-feed-pill.upgood   { background:rgba(59,130,246,0.1);  color:#2563EB; }

    @media (max-width:640px) { .sig-feed-row { grid-template-columns:44px 1fr; } .sig-feed-right { grid-column:2; } }
    /* ── ADD ASSET MODAL ── */
    .modal-overlay { display:none; position:fixed; inset:0; background:rgba(0,0,0,0.55); z-index:1000; align-items:center; justify-content:center; padding:20px; backdrop-filter:blur(3px); }
    .modal-overlay.open { display:flex; }
    .modal-box { background:var(--white); border-radius:18px; width:100%; max-width:780px; max-height:92vh; overflow-y:auto; box-shadow:0 24px 80px rgba(0,0,0,0.3); animation:modalIn 0.25s ease; }
    @keyframes modalIn { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }

    .modal-header { display:flex; align-items:center; justify-content:space-between; padding:24px 28px; border-bottom:1px solid var(--gray-light); position:sticky; top:0; background:var(--white); z-index:2; border-radius:18px 18px 0 0; }
    .modal-title { font-family:'Cormorant Garamond',serif; font-size:22px; font-weight:700; color:var(--navy); }
    .modal-subtitle { font-size:12px; color:var(--gray); margin-top:2px; }
    .modal-close { width:36px; height:36px; border-radius:8px; border:none; background:var(--off-white); cursor:pointer; display:flex; align-items:center; justify-content:center; color:var(--gray); font-size:16px; transition:all 0.15s; }
    .modal-close:hover { background:var(--gray-light); color:var(--text); }

    .modal-body { padding:28px; }
    .modal-section-label { font-size:11px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; color:var(--gold); margin-bottom:14px; display:flex; align-items:center; gap:8px; }
    .modal-section-label::after { content:''; flex:1; height:1px; background:rgba(201,168,76,0.2); }
    .modal-section { margin-bottom:28px; }

    .mform-grid-2 { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
    .mform-grid-3 { display:grid; grid-template-columns:1fr 1fr 1fr; gap:16px; }
    .mform-grid-1 { display:grid; grid-template-columns:1fr; gap:16px; }

    .mform-group { display:flex; flex-direction:column; gap:5px; }
    .mform-label { font-size:12px; font-weight:600; color:var(--text); }
    .mform-label span { color:#EF4444; margin-left:2px; }
    .mform-hint { font-size:11px; color:var(--gray); }
    .mform-input { padding:10px 13px; border:1.5px solid var(--gray-light); border-radius:8px; font-family:'DM Sans',sans-serif; font-size:13px; color:var(--text); background:var(--white); outline:none; transition:border-color 0.15s; }
    .mform-input:focus { border-color:var(--gold); box-shadow:0 0 0 3px rgba(201,168,76,0.1); }
    .mform-input::placeholder { color:#B0B8C4; }
    .mform-select { padding:10px 13px; border:1.5px solid var(--gray-light); border-radius:8px; font-family:'DM Sans',sans-serif; font-size:13px; color:var(--text); background:var(--white); outline:none; cursor:pointer; appearance:none; background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236C757D' stroke-width='1.5' fill='none'/%3E%3C/svg%3E"); background-repeat:no-repeat; background-position:right 12px center; padding-right:32px; }
    .mform-select:focus { border-color:var(--gold); box-shadow:0 0 0 3px rgba(201,168,76,0.1); }
    .mform-textarea { padding:10px 13px; border:1.5px solid var(--gray-light); border-radius:8px; font-family:'DM Sans',sans-serif; font-size:13px; color:var(--text); background:var(--white); outline:none; resize:vertical; min-height:80px; transition:border-color 0.15s; }
    .mform-textarea:focus { border-color:var(--gold); box-shadow:0 0 0 3px rgba(201,168,76,0.1); }

    .mform-prefix-wrap { position:relative; }
    .mform-prefix { position:absolute; left:12px; top:50%; transform:translateY(-50%); font-size:13px; font-weight:600; color:var(--gray); pointer-events:none; }
    .mform-prefix-wrap .mform-input { padding-left:26px; }
    .mform-suffix-wrap { position:relative; }
    .mform-suffix { position:absolute; right:12px; top:50%; transform:translateY(-50%); font-size:12px; color:var(--gray); pointer-events:none; }
    .mform-suffix-wrap .mform-input { padding-right:36px; }

    .mform-toggle-group { display:flex; gap:8px; flex-wrap:wrap; }
    .mform-toggle { padding:7px 14px; border-radius:20px; border:1.5px solid var(--gray-light); font-size:12px; font-weight:600; cursor:pointer; background:var(--white); color:var(--gray); transition:all 0.15s; }
    .mform-toggle:hover { border-color:var(--gold); color:var(--navy); }
    .mform-toggle.selected { background:var(--navy); border-color:var(--navy); color:var(--white); }

    .mform-checkbox-row { display:flex; align-items:center; gap:10px; cursor:pointer; }
    .mform-checkbox-row input[type=checkbox] { width:16px; height:16px; accent-color:var(--navy); cursor:pointer; }
    .mform-checkbox-row span { font-size:13px; color:var(--text); }

    .modal-progress { display:flex; align-items:center; gap:8px; padding:0 28px 0; margin-bottom:24px; }
    .mprog-step { display:flex; align-items:center; gap:6px; }
    .mprog-dot { width:28px; height:28px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:12px; font-weight:700; border:2px solid var(--gray-light); color:var(--gray); background:var(--white); transition:all 0.2s; }
    .mprog-dot.active { border-color:var(--gold); background:var(--gold); color:var(--navy); }
    .mprog-dot.done { border-color:#10B981; background:#10B981; color:var(--white); }
    .mprog-label { font-size:11px; font-weight:600; color:var(--gray); }
    .mprog-label.active { color:var(--navy); }
    .mprog-line { flex:1; height:2px; background:var(--gray-light); min-width:20px; }
    .mprog-line.done { background:#10B981; }

    .modal-step { display:none; }
    .modal-step.active { display:block; }

    .modal-footer { padding:20px 28px; border-top:1px solid var(--gray-light); display:flex; justify-content:space-between; align-items:center; gap:12px; background:var(--off-white); border-radius:0 0 18px 18px; }
    .modal-footer-note { font-size:11px; color:var(--gray); }

    .asset-preview-card { background:var(--off-white); border-radius:12px; padding:20px; border:1.5px dashed var(--gray-light); }
    .asset-preview-card.filled { background:var(--white); border:1.5px solid var(--gold); border-left:4px solid var(--gold); }

    @media (max-width:600px) { .mform-grid-2,.mform-grid-3 { grid-template-columns:1fr; } }
    /* ── DYNAMIC ROWS (capital stack) ── */
    .cap-stack-section { background:var(--off-white); border-radius:12px; padding:18px; margin-bottom:16px; }
    .cap-stack-section-hdr { display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
    .cap-stack-section-title { font-size:12px; font-weight:700; color:var(--navy); display:flex; align-items:center; gap:7px; text-transform:uppercase; letter-spacing:0.8px; }
    .cap-stack-section-title i { color:var(--gold); }

    .dynamic-rows { display:flex; flex-direction:column; gap:10px; }
    .dynamic-row { background:var(--white); border:1.5px solid var(--gray-light); border-radius:10px; padding:14px 14px 14px 16px; position:relative; transition:border-color 0.15s; }
    .dynamic-row:hover { border-color:rgba(201,168,76,0.4); }
    .dynamic-row-hdr { display:flex; align-items:center; justify-content:space-between; margin-bottom:12px; }
    .dynamic-row-num { font-size:11px; font-weight:700; color:var(--gold); background:rgba(201,168,76,0.1); padding:2px 8px; border-radius:6px; letter-spacing:0.5px; }
    .dynamic-row-remove { width:26px; height:26px; border-radius:6px; border:none; background:var(--off-white); cursor:pointer; color:var(--gray); font-size:12px; display:flex; align-items:center; justify-content:center; transition:all 0.15s; }
    .dynamic-row-remove:hover { background:#FEE2E2; color:#EF4444; }

    .add-row-btn { display:inline-flex; align-items:center; gap:7px; background:none; border:1.5px dashed var(--gray-light); border-radius:8px; padding:8px 14px; font-size:12px; font-weight:600; color:var(--gray); cursor:pointer; width:100%; justify-content:center; transition:all 0.2s; margin-top:4px; font-family:'DM Sans',sans-serif; }
    .add-row-btn:hover { border-color:var(--gold); color:var(--navy); background:rgba(201,168,76,0.04); }

    .equity-total-bar { background:var(--navy); border-radius:8px; padding:10px 16px; display:flex; align-items:center; justify-content:space-between; margin-top:12px; }
    .equity-total-bar span { font-size:12px; color:rgba(255,255,255,0.6); }
    .equity-total-val { font-family:'Cormorant Garamond',serif; font-size:20px; font-weight:700; }
    .equity-total-val.ok { color:#10B981; }
    .equity-total-val.over { color:#EF4444; }
    .equity-total-val.under { color:#F59E0B; }

    