    @media (max-width: 640px) {
      /* Mobile pie: stable fixed size - does NOT change when sections expand/collapse */
      #holdings-table-container.ds-overview--table-legend
        .ds-overview-charts--single
        .ds-composition-layout--overview
        .ds-composition-chart-wrap,
      .ds-overview-charts--single .ds-composition-layout--overview .ds-composition-chart-wrap {
        width: 12rem !important;
        height: 12rem !important;
        min-width: 12rem !important;
        max-width: 12rem !important;
        flex: 0 0 12rem !important;
        aspect-ratio: 1;
        margin: 0 auto;
      }
      #holdings-table-container.ds-overview--table-legend .ds-composition-layout--overview,
      .ds-overview-charts--single .ds-composition-layout--overview {
        width: 100%;
        justify-content: center;
      }
    }
    .ds-overview-pie-card {
      margin: 0;
      min-width: 0;
      width: 100%;
      position: relative;
    }
    /* #214 house button: top right on the shared right margin, 44x44 tap target. */
    .ds-overview-real-estate-toggle {
      position: absolute;
      top: 0;
      right: 0;
      z-index: 2;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 44px;
      height: 44px;
      padding: 0;
      border: 0;
      background: transparent;
      color: inherit;
      cursor: pointer;
    }
    .ds-overview-real-estate-toggle[aria-pressed="true"] .ds-overview-real-estate-toggle-strike {
      display: none;
    }
