    /* Level 1 — panels sit flush on the page (no floating card / dark field) */
    .ds-panel,
    .ds-section {
      background: transparent;
      border: none;
      border-radius: 0;
      box-shadow: none;
      overflow: hidden;
    }
    .ds-panel-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: var(--ds-space-4);
      padding: var(--ds-space-4) var(--ds-space-5);
    }
    #portfolio-panel .ds-panel-header {
      /* Less air under app header — hero total is the next focal line */
      padding-top: var(--ds-space-2);
      padding-bottom: var(--ds-space-3);
    }
    .ds-panel-header .ds-summary-label {
      font-size: var(--ds-text-title);
      font-weight: var(--ds-weight-semibold);
      letter-spacing: -0.022em;
      color: var(--ds-text);
    }
    .ds-panel-header .ds-summary-total {
      font-size: var(--ds-text-headline);
      font-weight: var(--ds-weight-medium);
      color: var(--ds-text-secondary);
    }
    #portfolio-panel {
      background: transparent;
      /* Date menu is position:absolute under the header — must not clip */
      overflow: visible;
    }
    #portfolio-panel .ds-panel-header--portfolio {
      overflow: visible;
      position: relative;
      z-index: 20;
    }
    #portfolio-panel .ds-portfolio-header-date-control {
      z-index: 30;
    }
    #portfolio-panel .ds-panel-header,
    #portfolio-panel .ds-section-body {
      background: transparent;
    }
