    /* Shared: no hairline between hero controls and content */
    #portfolio-panel.portfolio-mode-history .ds-panel-header,
    #portfolio-panel.portfolio-mode-overview .ds-panel-header {
      border-bottom: none;
      box-shadow: none;
    }
    #portfolio-panel.portfolio-mode-overview #holdings-table-container.ds-section-body {
      border-top: none;
      padding-top: 0;
    }
    #portfolio-panel.portfolio-mode-history #financial-overview-charts.ds-section-body {
      border-top: none;
      box-shadow: none;
      background: var(--ds-surface);
      padding-top: 0;
    }

    #portfolio-panel .ds-group-body table.data-table {
      border: 1px solid var(--ds-border);
      border-radius: 0;
      overflow: visible;
    }
    .ds-section-body {
      padding: 0 var(--ds-space-5) var(--ds-space-5);
      display: flex;
      flex-direction: column;
      gap: var(--ds-gap);
      background: var(--ds-surface-section);
    }
    .charts-slot {
      display: flex;
      flex-direction: column;
      gap: var(--ds-chart-row-gap);
    }

