/* The profile keeps its existing image viewer, tabs and sheet footer. */
body #dialog .round7-profile-sheet > :is(.tonmio-photo-frame,.tonmio-profile-placeholder) {
  aspect-ratio: 16 / 10;
}
body #dialog .round7-profile-sheet-title {
  margin: 0;
  color: var(--ink);
  font: 700 1rem/1.2 var(--font-ui);
}
.round7-profile-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-block: 12px;
}
.round7-profile-status-badge {
  color: var(--ink);
  background: var(--surface-muted);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: var(--type-meta);
  font-weight: 650;
  padding: 7px 11px;
}
body #dialog #dialog-content .round7-profile-status .secondary { padding-inline: 12px; }
.round7-profile-facts { margin: 0; border-block-start: 1px solid var(--border-soft); }
.round7-profile-facts > div {
  display: grid;
  grid-template-columns: minmax(5.5rem, .7fr) minmax(0, 2fr);
  align-items: center;
  gap: var(--space-3);
  padding-block: var(--space-3);
  border-block-end: 1px solid var(--border-soft);
}
.round7-profile-facts dt { color: var(--text-secondary); font-size: var(--type-label); }
.round7-profile-facts dd { margin: 0; text-align: end; overflow-wrap: anywhere; color: var(--ink); font-weight: 700; font-variant-numeric: tabular-nums; }
.profile-genre-chips { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: var(--space-1); }
.profile-genre-chips > span {
  max-width: 100%;
  padding: 2px 8px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  font-size: var(--type-meta);
}
body #dialog #dialog-content .round7-profile-audio h3 { margin: 0 0 6px; font-size: var(--type-label); }
.round7-profile-audio { margin-block-end: 12px; }
.round7-profile-spotify {
  display: inline-flex;
  align-items: center;
  min-block-size: 44px;
  color: var(--accent-ink);
  text-underline-offset: 3px;
}
body #dialog #dialog-footer .tonmio-profile-actions > :is(.primary,.secondary) { min-height: 44px; }
