/* Profile & settings */

.profile { max-width: 860px; gap: 22px; }

.profile__head { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.profile__avatar { width: 64px; height: 64px; font-size: 26px; }
.profile__who { flex: 1 1 200px; display: flex; flex-direction: column; gap: 2px; }
.profile__name { font-size: 28px; }
.profile__sub { font-size: 14px; color: var(--text-muted); }
.profile__plan-badge { padding: 8px 14px; font-weight: 700; text-decoration: none; }
.profile__plan-badge:hover { text-decoration: none; opacity: .9; }
.profile__plan-badge.chip--solid-clay:hover { color: var(--text-on-accent); }
.profile__plan-badge.chip--ink:hover { color: var(--peach); }

.profile__card { display: flex; flex-direction: column; gap: 14px; }
.profile__title { margin: 0; padding: 0; font-size: 15px; font-weight: 600; }
.profile__label { margin: 0; padding: 0; font-size: 13px; font-weight: 600; color: var(--text-muted); }
.profile__meta { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* Radio/checkbox chips: the input is visually hidden inside a .toggle-chip label. */
.profile__group { border: 0; margin: 0; padding: 0; min-width: 0; }
.profile__group legend { margin-bottom: 14px; }
.profile__choices { --row-gap: 6px; }
.profile__choice { cursor: pointer; gap: 8px; }
.profile__choice--ink { border-color: var(--ink); }
.profile__choice:has(input:checked) { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.profile__choice:has(input:focus-visible) { outline: 2px solid var(--green); outline-offset: 2px; }
.profile__choice-ar { font-size: 16px; line-height: 1; }

/* Reading defaults & notifications */
.profile__settings { padding-top: 8px; padding-bottom: 8px; gap: 0; }
.profile__setting {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}
.profile__setting-text { display: flex; flex-direction: column; gap: 2px; cursor: pointer; }
.profile__setting-label { font-size: 15px; font-weight: 600; }
.profile__setting-desc { font-size: 13px; color: var(--text-muted); }
.profile__settings-save { margin: 16px 0; }

/* Offline downloads */
.profile__offline { gap: 10px; }
.profile__offline-list { margin: 0; padding: 0; list-style: none; }
.profile__offline-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 15px;
}
.profile__remove { color: var(--clay); font-size: 14px; font-weight: 600; padding: 6px; }
.profile__empty { margin: 0; font-size: 14px; color: var(--text-muted); }

/* Account */
.profile__fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 16px;
}
.profile__field--wide { grid-column: 1 / -1; }

.profile__time-zone { max-width: 420px; }

/* Your data: delete account */
.profile__delete summary { cursor: pointer; font-weight: 600; color: var(--clay); }
.profile__delete-form { margin-top: 12px; max-width: 420px; }
