/* Account panel: the settings-style menu behind the avatar and its pages
   (recipes to rate, members & requests, your details). */

/* Menu header: avatar, name, role, email. */
.account-id { display: flex; align-items: center; gap: 12px; min-width: 0; }
.account-avatar {
  width: 48px; height: 48px; border-radius: 50%; flex: none;
  background: var(--accent); color: var(--accent-ink);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700;
}
.account-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.account-who .name { font-family: var(--serif); font-weight: 600; font-size: 21px; line-height: 1.2; }
.account-who .meta { font-size: 13px; color: var(--ink-faint); overflow-wrap: anywhere; }

/* Page header: "‹ Back" above the page title. */
.panel-head-stack { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.back-btn {
  border: none; background: none; padding: 0; cursor: pointer;
  color: var(--accent); font: inherit; font-size: 14px; font-weight: 600;
}

/* Grouped rows, iOS-settings style: an inset card per group, hairlines
   between rows. */
.settings-group {
  list-style: none; margin: 0 0 18px; padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.settings-group li + li { border-top: 1px solid var(--line); }
.settings-row {
  width: 100%;
  display: flex; align-items: center; gap: 12px;
  padding: 13px 14px;
  border: none; background: none; cursor: pointer;
  color: var(--ink); font: inherit; font-size: 15px; text-align: left;
}
.settings-row:hover { background: var(--surface-sunk); }
.settings-row:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.settings-icon { display: flex; color: var(--ink-soft); flex: none; }
.settings-label { flex: 1; min-width: 0; }
.settings-count {
  min-width: 22px; padding: 2px 7px; border-radius: 999px;
  background: var(--danger); color: #FFFFFF;
  font-size: 12px; font-weight: 700; text-align: center;
}
.settings-chevron { color: var(--ink-faint); font-size: 20px; line-height: 1; }
.settings-row.danger, .settings-row.danger .settings-icon { color: var(--danger); }

/* Recipes to rate. */

.notif-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.notif-item {
  width: 100%;
  display: flex; flex-direction: column; gap: 4px;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius);
  padding: 12px 14px;
  cursor: pointer;
  color: var(--ink);
}
.notif-item:hover { border-color: var(--ink-faint); }
.notif-item .title { font-family: var(--serif); font-weight: 600; font-size: 17px; }
.notif-item .meta { font-size: 13px; color: var(--ink-faint); }
.notif-empty { color: var(--ink-faint); font-size: 14px; }

/* Members & requests. */
.member-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.member-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 10px 12px;
}
.member-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.member-who .name { font-weight: 600; font-size: 14.5px; }
.member-who .meta { font-size: 12.5px; color: var(--ink-faint); overflow-wrap: anywhere; }
.member-actions { display: flex; gap: 6px; flex: none; }
.member-you { font-size: 12.5px; color: var(--ink-faint); }
