
    .net-worth-val {
      font-size: 2.15rem;
      font-weight: 900;
      letter-spacing: -0.03em;
      color: #FFF;
      line-height: 1.1;
      margin-bottom: 0.5rem;
    }

    .stat-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.35rem;
      padding: 4px 10px;
      border-radius: 8px;
      font-size: 0.78rem;
      font-weight: 700;
    }

    .stat-badge.positive {
      background: rgba(16, 185, 129, 0.15);
      color: var(--emerald);
      border: 1px solid rgba(16, 185, 129, 0.3);
    }

    .stat-badge.negative {
      background: rgba(244, 63, 94, 0.15);
      color: var(--rose);
      border: 1px solid rgba(244, 63, 94, 0.3);
    }

    .after-hours-pill {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 0.4rem;
      font-size: 0.73rem;
      font-weight: 600;
      padding: 4px 10px;
      border-radius: 8px;
      background: rgba(30, 41, 59, 0.7);
      border: 1px solid rgba(148, 163, 184, 0.2);
      cursor: pointer;
      transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
      user-select: none;
      width: fit-content;
    }
    .after-hours-pill:hover {
      background: rgba(51, 65, 85, 0.85);
      border-color: rgba(56, 189, 248, 0.4);
      transform: translateY(-1px);
    }
    .after-hours-pill:active {
      transform: translateY(0);
    }

    /* Metrics Grid */
    .metric-grid-2 {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.75rem;
    }

    .metric-grid-3 {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 0.6rem;
    }

    .mini-stat-card {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.05);
      border-radius: 12px;
      padding: 0.75rem 0.85rem;
    }

    .mini-stat-label {
      font-size: 0.68rem;
      color: var(--text-dim);
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.04em;
    }

    .mini-stat-val {
      font-size: 1.05rem;
      font-weight: 800;
      color: #FFF;
      margin-top: 0.2rem;
    }

    /* Donut Chart SVG */
    .donut-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 1rem;
      margin: 0.5rem 0;
    }

    .donut-svg {
      width: 200px;
      height: 200px;
      transform: rotate(-90deg);
    }

    .donut-hole-text {
      text-anchor: middle;
      dominant-baseline: central;
      transform: rotate(90deg);
      transform-origin: center;
      fill: #FFF;
      font-weight: 800;
    }

    /* Asset Allocation List */
    .asset-list {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
      width: 100%;
    }

    .asset-row {
      display: flex;
      flex-direction: column;
      gap: 0.25rem;
      padding: 0.5rem 0.6rem;
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.02);
      border: 1px solid rgba(255, 255, 255, 0.04);
    }

    .asset-row-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 0.82rem;
    }

    .asset-name {
      display: flex;
      align-items: center;
      gap: 0.45rem;
      font-weight: 600;
      color: var(--text-main);
    }

    .color-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
    }

    .asset-val {
      font-weight: 700;
      color: #FFF;
    }

    .asset-bar-bg {
      height: 4px;
      background: rgba(255, 255, 255, 0.06);
      border-radius: 999px;
      overflow: hidden;
    }

    .asset-bar-fill {
      height: 100%;
      border-radius: 999px;
      transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

    /* Account Cards */
    .account-card {
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      border-radius: 16px;
      padding: 1rem;
      cursor: pointer;
      transition: all 0.2s ease;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
    }

    .account-card:active {
      transform: scale(0.99);
      border-color: rgba(56, 189, 248, 0.3);
    }

    .acc-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
    }

    .acc-brand {
      display: flex;
      gap: 0.65rem;
      align-items: center;
    }

    .acc-icon-box {
      width: 38px;
      height: 38px;
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--border-subtle);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
    }

    .acc-name {
      font-size: 0.95rem;
      font-weight: 700;
      color: #FFF;
    }

    .acc-inst {
      font-size: 0.72rem;
      color: var(--text-dim);
    }

    .acc-val-box {
      text-align: right;
    }

    .acc-val {
      font-size: 1.12rem;
      font-weight: 800;
      color: #FFF;
    }

    .acc-gain {
      font-size: 0.75rem;
      font-weight: 700;
    }

    .acc-details {
      display: none;
      border-top: 1px solid rgba(255, 255, 255, 0.06);
      padding-top: 0.75rem;
      margin-top: 0.25rem;
      flex-direction: column;
      gap: 0.5rem;
    }

    .account-card.expanded .acc-details {
      display: flex;
    }

    .holdings-table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.75rem;
    }

    .holdings-table th {
      text-align: left;
      padding: 0.3rem 0.4rem;
      color: var(--text-dim);
      font-weight: 600;
      text-transform: uppercase;
      font-size: 0.65rem;
    }

    .holdings-table td {
      padding: 0.45rem 0.4rem;
      border-top: 1px solid rgba(255, 255, 255, 0.04);
    }

    /* Stress Testing & Range Sliders */
    .slider-group {
      display: flex;
      flex-direction: column;
      gap: 0.35rem;
      margin-bottom: 0.85rem;
    }
    .slider-header {
      display: flex;
      justify-content: space-between;
      font-size: 0.78rem;
      font-weight: 600;
    }
    .range-slider {
      width: 100%;
      accent-color: var(--cyan);
      cursor: pointer;
      height: 6px;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 4px;
    }

    /* Safe Withdrawal Rate Buttons */
    .swr-btn-group {
      display: flex;
      gap: 0.4rem;
      margin: 0.5rem 0;
    }
    .swr-btn {
      flex: 1;
      padding: 0.45rem 0.3rem;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid var(--border-subtle);
      border-radius: 8px;
      color: var(--text-muted);
      font-size: 0.75rem;
      font-weight: 700;
      cursor: pointer;
      text-align: center;
    }
    .swr-btn.active {
      background: var(--cyan-glow);
      border-color: var(--cyan);
      color: var(--cyan);
    }

    /* Performance / Analysis */
    .highlight-card {
      background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(15, 23, 42, 0.8));
      border: 1px solid rgba(16, 185, 129, 0.25);
    }

    .stat-row-flex {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.45rem 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      font-size: 0.82rem;
    }
