/* A component has one outer frame. Nested content uses spacing and separators.
   Keep focus/selection rings and the borders of actual controls intact. */

#iw-portal .ip-panel #ip-file-results>.iw-cv-browser, #iw-portal .ip-panel>.iw-cv-browser, #iw-portal .ip-panel>.ip-panel, #iw-portal .ip-panel :is(.iw-cv-empty,.iw-cv-summary) {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

#iw-portal .ip-panel #ip-file-results>.iw-cv-browser {
  border-radius: 0;
  overflow: hidden;
}

#iw-portal .iw-cv-file-selection {
  border-color: transparent;
}

#iw-portal .ip-panel :is(.iwst-card,.iwsg-preview) {
  border: 0;
  box-shadow: none;
}

#iw-portal .ip-profile-grid>.ip-panel {
  margin-block: 0;
  align-self: start;
}

#iw-portal #ip-activity-panel {
  margin-top: 22px;
}

#iw-portal #ip-main:has(>.ip-profile-grid)>section.ip-panel+section.ip-panel {
  margin-top: 22px;
}

/* Reusable single-frame contract, including components on public pages. */

:is(.iw-surface,.ip-panel)>[data-iw-surface-content] {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
