#dialog[data-view="group-profile"] {
  --gp-blue:#0a84ff;
  --gp-surface:#1a1a1a;
  --gp-muted:#8e8e93;
  --gp-gutter:15px;
  width:min(589px,calc(100% - 24px));
  max-width:589px;
  max-height:min(94dvh,900px);
  padding:0;
  overflow-x:hidden;
  overflow-y:auto;
  color:#fff;
  color-scheme:dark;
  background:#000;
  border:0;
  border-radius:0;
  box-shadow:0 18px 60px #000a;
  font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Segoe UI",system-ui,sans-serif;
  overscroll-behavior:contain;
  scrollbar-width:none;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
#dialog[data-view="group-profile"]::-webkit-scrollbar { display:none; }
#dialog[data-view="group-profile"]::backdrop { background:#000c; }
#dialog[data-view="group-profile"] .dialog-header {
  position:sticky;
  z-index:20;
  top:0;
  height:calc(50px + env(safe-area-inset-top));
  min-height:calc(50px + env(safe-area-inset-top));
  margin:0 0 calc(-50px - env(safe-area-inset-top));
  padding:env(safe-area-inset-top) var(--gp-gutter) 0;
  border:0;
  background:linear-gradient(180deg,#0008 0,#0003 62%,transparent 100%);
  box-shadow:none;
  pointer-events:none;
}
#dialog[data-view="group-profile"] .dialog-header h2,
#dialog[data-view="group-profile"] .dialog-header > .icon-button { display:none; }
#dialog[data-view="group-profile"] .dialog-header > :is(button,.text-button) {
  position:relative;
  z-index:1;
  min-width:0;
  min-height:44px;
  padding:0;
  color:var(--gp-blue);
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  font-size:17px;
  font-weight:400;
  pointer-events:auto;
}
#dialog[data-view="group-profile"] .dialog-header > .text-button { margin-left:auto; }
#dialog[data-view="group-profile"] .group-profile-back { display:flex; align-items:center; gap:1px; margin-right:auto; }
#dialog[data-view="group-profile"] .group-profile-back .app-icon { margin-left:-7px; }
#dialog[data-view="group-profile"] .group-details-page { min-height:100%; background:#000; }
#dialog[data-view="group-profile"] .group-details-hero {
  position:relative;
  z-index:2;
  height:min(52.5dvh,114vw);
  min-height:350px;
  max-height:448px;
  isolation:isolate;
  background:linear-gradient(145deg,#963e32,#e0775f);
}
#dialog[data-view="group-profile"] .group-details-hero > .avatar.large {
  position:absolute;
  z-index:-2;
  inset:0;
  width:100%;
  height:100%;
  border-radius:0;
  background:linear-gradient(145deg,#963e32,#e0775f);
  font-size:90px;
}
#dialog[data-view="group-profile"] .group-details-hero > .avatar.large img { width:100%; height:100%; object-fit:cover; object-position:center; }
#dialog[data-view="group-profile"] .group-details-shade {
  position:absolute;
  z-index:-1;
  inset:0;
  background:linear-gradient(to bottom,#00000014 20%,transparent 44%,#00000017 66%,#00000066 100%);
  pointer-events:none;
}
#dialog[data-view="group-profile"] .group-details-identity {
  position:absolute;
  left:var(--gp-gutter);
  right:var(--gp-gutter);
  bottom:81px;
  display:grid;
  justify-items:start;
  gap:4px;
  text-align:left;
  text-shadow:0 1px 3px #0008;
}
#dialog[data-view="group-profile"] .group-details-title { max-width:100%; display:flex; align-items:center; gap:3px; }
#dialog[data-view="group-profile"] .group-details-title h2 {
  min-width:0;
  max-width:100%;
  margin:0;
  overflow:hidden;
  color:#fff;
  font-size:18px;
  font-weight:650;
  line-height:1.2;
  text-overflow:ellipsis;
  white-space:nowrap;
}
#dialog[data-view="group-profile"] .group-name-copy {
  width:28px;
  height:28px;
  flex:none;
  display:grid;
  place-items:center;
  padding:0;
  color:#fff;
  background:transparent;
  border:0;
  border-radius:7px;
  box-shadow:none;
}
#dialog[data-view="group-profile"] .group-name-copy:active { background:#ffffff1f; }
#dialog[data-view="group-profile"] .group-details-identity p { display:flex; align-items:center; gap:4px; margin:0; color:#fff; font-size:14px; line-height:1.25; }
#dialog[data-view="group-profile"] .group-type-badge {
  display:inline-flex;
  align-items:center;
  gap:3px;
  min-height:21px;
  padding:2px 7px;
  color:#ed994d;
  background:#fff;
  border-radius:2px;
  font-size:12px;
  line-height:1;
  text-shadow:none;
}
#dialog[data-view="group-profile"] .group-details-actions {
  position:absolute;
  z-index:2;
  left:var(--gp-gutter);
  right:var(--gp-gutter);
  bottom:15px;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
}
#dialog[data-view="group-profile"] .group-details-action {
  width:100%;
  height:55px;
  min-width:0;
  display:grid;
  place-items:center;
  align-content:center;
  gap:3px;
  padding:5px 3px;
  color:#fff;
  background:#17171766;
  border:0;
  border-radius:12px;
  box-shadow:none;
  -webkit-backdrop-filter:blur(10px) saturate(115%);
  backdrop-filter:blur(10px) saturate(115%);
}
#dialog[data-view="group-profile"] .group-details-action span { font-size:14px; line-height:1; white-space:nowrap; }
#dialog[data-view="group-profile"] .group-details-action:active { background:#20202099; transform:scale(.985); }
#dialog[data-view="group-profile"] .group-details-more-wrap { position:relative; min-width:0; }
#dialog[data-view="group-profile"] .group-details-menu {
  position:absolute;
  z-index:22;
  top:calc(100% + 5px);
  right:0;
  width:187px;
  min-width:0;
  padding:0;
  overflow:hidden;
  color:#fff;
  background:#1b1d1cf5;
  border:0;
  border-radius:7px;
  box-shadow:0 7px 22px #0009;
  -webkit-backdrop-filter:blur(16px);
  backdrop-filter:blur(16px);
}
#dialog[data-view="group-profile"] .group-details-menu-item {
  width:100%;
  height:41px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:0 14px;
  color:#fff;
  background:transparent;
  border:0;
  border-bottom:1px solid #ffffff12;
  border-radius:0;
  box-shadow:none;
  font-size:16px;
  text-align:left;
}
#dialog[data-view="group-profile"] .group-details-menu-item:last-child { border-bottom:0; }
#dialog[data-view="group-profile"] .group-details-menu-item.danger { height:37px; margin-top:4px; color:#ff453a!important; border-top:4px solid #000; }
#dialog[data-view="group-profile"] .group-details-menu-item:active { background:#ffffff14; }
#dialog[data-view="group-profile"] .group-details-body { min-height:405px; padding-bottom:max(12px,env(safe-area-inset-bottom)); background:#000; }
#dialog[data-view="group-profile"] .group-description-card {
  width:calc(100% - 30px);
  display:grid;
  gap:4px;
  margin:15px 15px 0;
  padding:13px 16px 12px;
  overflow:hidden;
  color:#fff;
  background:var(--gp-surface);
  border-radius:12px;
}
#dialog[data-view="group-profile"] .group-description-main { position:relative; min-width:0; display:grid; }
#dialog[data-view="group-profile"] .group-description-copy {
  min-width:0;
  margin:0;
  color:#fff;
  font-size:16px;
  line-height:1.35;
  overflow-wrap:anywhere;
  white-space:pre-wrap;
}
#dialog[data-view="group-profile"] .group-description-copy.is-collapsed {
  display:-webkit-box;
  overflow:hidden;
  padding-right:46px;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
}
#dialog[data-view="group-profile"] .group-description-highlight { color:var(--gp-blue); }
#dialog[data-view="group-profile"] .group-description-toggle {
  min-width:44px;
  min-height:36px;
  justify-self:end;
  margin:-2px -8px -2px 0;
  padding:0 8px;
  color:var(--gp-blue);
  background:transparent;
  border:0;
  border-radius:8px;
  box-shadow:none;
  font-size:15px;
}
#dialog[data-view="group-profile"] .group-description-copy.is-collapsed + .group-description-toggle {
  position:absolute;
  right:-8px;
  bottom:-4px;
  padding-left:10px;
  background:var(--gp-surface);
}
#dialog[data-view="group-profile"] .group-description-toggle:active { background:#ffffff12; }
#dialog[data-view="group-profile"] .group-description-label { color:var(--gp-muted); font-size:13px; line-height:1.2; }
#dialog[data-view="group-profile"] .group-profile-link-card {
  display:grid;
  grid-template-columns:minmax(0,1fr) 48px;
  align-items:center;
  gap:8px;
  margin:15px 15px 0;
  padding:7px 10px 7px 16px;
  color:#fff;
  background:var(--gp-surface);
  border-radius:12px;
}
#dialog[data-view="group-profile"] .group-profile-link-copy {
  display:grid;
  gap:4px;
  min-width:0;
  min-height:48px;
  padding:4px 0;
  color:var(--gp-blue);
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  text-align:start;
}
#dialog[data-view="group-profile"] .group-profile-link-label { color:var(--gp-muted); font-size:12px; line-height:1.3; }
#dialog[data-view="group-profile"] .group-profile-link-url { font-size:15px; line-height:1.35; overflow-wrap:anywhere; }
#dialog[data-view="group-profile"] .group-profile-qr {
  display:grid;
  place-items:center;
  width:48px;
  height:48px;
  padding:0;
  color:var(--gp-blue);
  background:transparent;
  border:0;
  border-radius:10px;
  box-shadow:none;
}
#dialog[data-view="group-profile"] .group-profile-qr:active { background:#ffffff12; }
#dialog[data-view="group-profile"] .group-profile-staff { margin:15px 15px 0; }
#dialog[data-view="group-profile"] .group-profile-staff h3 { margin:0 12px 7px; color:var(--gp-muted); font-size:13px; line-height:1.35; font-weight:400; }
#dialog[data-view="group-profile"] .group-profile-staff-list { padding:0 14px; background:var(--gp-surface); border-radius:12px; }
#dialog[data-view="group-profile"] .group-profile-staff-row { display:flex; align-items:center; min-height:62px; gap:10px; padding:10px 0; }
#dialog[data-view="group-profile"] .group-profile-staff-row + .group-profile-staff-row { border-top:1px solid #ffffff12; }
#dialog[data-view="group-profile"] .group-profile-staff-row .avatar.small { width:36px; height:36px; flex:none; }
#dialog[data-view="group-profile"] .group-profile-staff-copy { display:grid; flex:1; gap:3px; min-width:0; }
#dialog[data-view="group-profile"] .group-profile-staff-copy strong { color:#fff; font-size:15px; font-weight:500; line-height:1.3; overflow-wrap:anywhere; }
#dialog[data-view="group-profile"] .group-profile-staff-copy > span { color:var(--gp-muted); font-size:12px; overflow-wrap:anywhere; }
#dialog[data-view="group-profile"] .group-profile-staff-role { max-width:40%; color:var(--gp-blue); font-size:12px; line-height:1.3; text-align:end; overflow-wrap:anywhere; }
#dialog[data-view="group-profile"] .group-add-member {
  width:calc(100% - 30px);
  height:46px;
  display:flex;
  align-items:center;
  gap:13px;
  margin:15px;
  padding:0 18px;
  color:var(--gp-blue);
  background:var(--gp-surface);
  border:0;
  border-radius:10px;
  box-shadow:none;
  font-size:17px;
  text-align:left;
}
#dialog[data-view="group-profile"] .group-manager-controls {
  width:calc(100% - 30px);
  margin:0 15px 15px;
  overflow:hidden;
  background:var(--gp-surface);
  border-radius:10px;
}
#dialog[data-view="group-profile"] .group-manager-control {
  width:100%;
  min-height:46px;
  display:flex;
  align-items:center;
  gap:13px;
  padding:0 18px;
  color:var(--gp-blue);
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  font-size:17px;
  text-align:left;
}
#dialog[data-view="group-profile"] .group-manager-control + .group-manager-control { border-top:1px solid #ffffff12; }
.group-request-count {
  min-width:24px;
  height:22px;
  display:inline-grid;
  place-items:center;
  margin-left:auto;
  padding:0 7px;
  color:var(--muted);
  background:var(--hover);
  border-radius:999px;
  font-size:13px;
  font-variant-numeric:tabular-nums;
  line-height:1;
}
.group-request-count.has-requests { color:#fff; background:var(--accent,#0a84ff); }
#dialog[data-view="group-profile"] .group-request-count { color:var(--gp-muted); background:#ffffff12; }
#dialog[data-view="group-profile"] .group-request-count.has-requests { color:#fff; background:var(--gp-blue); }
#dialog[data-view="group-management"] .group-review-entry { width:100%; display:flex; align-items:center; gap:10px; text-align:left; }
#dialog[data-view="group-profile"] .group-shared-media { min-height:325px; }
#dialog[data-view="group-profile"] .group-shared-nav {
  position:sticky;
  z-index:1;
  top:calc(50px + env(safe-area-inset-top));
  background:var(--gp-surface);
  box-shadow:0 1px #000;
}
#dialog[data-view="group-profile"] .group-shared-tabs {
  height:52px;
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  align-items:stretch;
  padding:0 3px;
  background:var(--gp-surface);
}
#dialog[data-view="group-profile"] .group-shared-tab {
  position:relative;
  min-width:0;
  padding:0 2px;
  color:var(--gp-muted);
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  font-size:14px;
  white-space:nowrap;
}
#dialog[data-view="group-profile"] .group-shared-tab.active { color:var(--gp-blue); }
#dialog[data-view="group-profile"] .group-shared-tab.active::after {
  content:'';
  position:absolute;
  left:calc(50% - 16px);
  bottom:0;
  width:32px;
  height:3px;
  background:#29a9f6;
  border-radius:3px 3px 0 0;
}
#dialog[data-view="group-profile"] .group-shared-summary {
  min-height:27px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:0 10px;
  color:var(--gp-muted);
  background:var(--gp-surface);
  font-size:14px;
}
#dialog[data-view="group-profile"] .group-shared-results[data-category="Photos"],
#dialog[data-view="group-profile"] .group-shared-results[data-category="Video"] { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:1px; background:#000; }
#dialog[data-view="group-profile"] .group-media-tile {
  width:100%;
  aspect-ratio:1;
  min-width:0;
  padding:0;
  overflow:hidden;
  background:#171717;
  border:0;
  border-radius:0;
  box-shadow:none;
}
#dialog[data-view="group-profile"] .group-media-tile :is(img,video) { display:block; width:100%; height:100%; object-fit:cover; }
#dialog[data-view="group-profile"] .group-shared-results:not([data-category="Photos"]):not([data-category="Video"]) { display:grid; gap:1px; padding:0 15px 18px; background:#000; }
#dialog[data-view="group-profile"] .group-shared-results:not([data-category="Photos"]):not([data-category="Video"]) .shared-record { padding:12px 0; border-bottom:1px solid #ffffff18; }
#dialog[data-view="group-profile"] .group-shared-results .shared-record :is(audio,video,img) { max-width:100%; }
#dialog[data-view="group-profile"] .group-shared-results .list-more { grid-column:1/-1; margin:10px auto; }
#dialog[data-view="group-profile"] .group-shared-skeleton {
  min-height:58px;
  border-radius:8px;
  background:#242424;
  animation:group-shared-loading 1.2s ease-in-out infinite;
}
#dialog[data-view="group-profile"] .group-shared-results:is([data-category="Photos"],[data-category="Video"]) .group-shared-skeleton { aspect-ratio:1; min-height:0; border-radius:0; }
#dialog[data-view="group-profile"] .group-shared-state {
  grid-column:1/-1;
  min-height:235px;
  display:grid;
  place-content:center;
  justify-items:center;
  gap:8px;
  padding:32px 20px;
  color:var(--gp-muted);
  text-align:center;
}
#dialog[data-view="group-profile"] .group-shared-state strong { color:#e8e8ed; font-size:16px; font-weight:600; }
#dialog[data-view="group-profile"] .group-shared-state > span:last-child { max-width:250px; font-size:14px; }
#dialog[data-view="group-profile"] .group-shared-state-icon { width:46px; height:46px; display:grid; place-items:center; color:var(--gp-blue); background:#1c1c1e; border-radius:14px; }
#dialog[data-view="group-profile"] .group-shared-error .text-button { min-height:40px; color:var(--gp-blue); background:transparent; border:0; box-shadow:none; }
@keyframes group-shared-loading { 50% { opacity:.5; } }

.group-edit-photo { display:grid; place-items:center; margin-bottom:4px; }
.group-edit-photo .avatar.large { width:112px; height:112px; border-radius:50%; }
.group-edit-photo .avatar.large img { width:100%; height:100%; object-fit:cover; }
.group-media-viewer { display:grid; place-items:center; min-height:min(72dvh,700px); background:#000; }
.group-media-viewer .message-lightbox { max-height:calc(100dvh - 92px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); }
#dialog:is([data-view="group-edit"],[data-view="group-management"],[data-view="group-invite"],[data-view="group-media"],[data-view="group-action"],[data-view="group-requests"]) .dialog-header { display:grid; grid-template-columns:1fr auto 1fr; }
#dialog:is([data-view="group-edit"],[data-view="group-management"],[data-view="group-invite"],[data-view="group-media"],[data-view="group-action"],[data-view="group-requests"]) .dialog-header h2 { grid-column:2; margin:0; text-align:center; }
#dialog:is([data-view="group-edit"],[data-view="group-management"],[data-view="group-invite"],[data-view="group-media"],[data-view="group-action"],[data-view="group-requests"]) .group-profile-back { grid-column:1; grid-row:1; justify-self:start; display:flex; align-items:center; gap:1px; }

@media (min-width:761px) {
  #dialog[data-view="group-profile"] .group-details-hero { height:448px; }
}
[data-phone-app] #dialog[data-view="group-profile"] {
  inset:0;
  width:100%;
  height:100dvh;
  max-width:none;
  max-height:none;
  margin:0;
  overflow-x:hidden;
  overflow-y:auto;
  touch-action:pan-y;
}
[data-phone-app] #dialog[data-view="group-profile"] .group-details-hero { height:min(52.5dvh,114vw); min-height:0; max-height:none; }
[data-phone-app] #dialog:is([data-view="group-edit"],[data-view="group-management"],[data-view="group-invite"],[data-view="group-media"],[data-view="group-action"],[data-view="group-requests"]) {
  inset:0;
  width:100%;
  height:100dvh;
  max-width:none;
  max-height:none;
  margin:0;
  padding:0 0 max(16px,env(safe-area-inset-bottom));
  overflow-x:hidden;
  overflow-y:auto;
  color:var(--text);
  background:var(--bg,#000);
  border:0;
  border-radius:0;
  box-shadow:none;
  overscroll-behavior:contain;
}
[data-phone-app] #dialog:is([data-view="group-edit"],[data-view="group-management"],[data-view="group-invite"],[data-view="group-media"],[data-view="group-action"],[data-view="group-requests"]) .dialog-header {
  position:sticky;
  z-index:10;
  top:0;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  min-height:calc(56px + env(safe-area-inset-top));
  margin:0;
  padding:env(safe-area-inset-top) 15px 0;
  background:var(--surface,#171717);
  border-bottom:1px solid var(--line,#2c2c2e);
}
[data-phone-app] #dialog:is([data-view="group-edit"],[data-view="group-management"],[data-view="group-invite"],[data-view="group-media"],[data-view="group-action"],[data-view="group-requests"]) .dialog-header h2 { grid-column:2; margin:0; font-size:18px; text-align:center; }
[data-phone-app] #dialog:is([data-view="group-edit"],[data-view="group-management"],[data-view="group-invite"],[data-view="group-media"],[data-view="group-action"],[data-view="group-requests"]) .group-profile-back {
  grid-column:1;
  grid-row:1;
  justify-self:start;
  display:flex;
  align-items:center;
  gap:1px;
  min-height:44px;
  padding:0;
  color:var(--accent-text,#0a84ff);
  background:transparent;
  border:0;
  box-shadow:none;
  font-size:17px;
}
[data-phone-app] #dialog:is([data-view="group-edit"],[data-view="group-management"],[data-view="group-invite"],[data-view="group-action"],[data-view="group-requests"]) > :is(form,.stack) { margin:0; padding:16px; }
[data-phone-app] #dialog[data-view="group-management"] > [data-action="group-qr"] { width:calc(100% - 32px); margin:16px 16px 0; }
[data-phone-app] #dialog[data-view="group-media"] .group-media-viewer { min-height:calc(100dvh - 56px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); padding:12px; }

@media (orientation:landscape) and (max-height:520px) {
  [data-phone-app] #dialog[data-view="group-profile"] .group-details-hero { height:290px; min-height:290px; }
  [data-phone-app] #dialog[data-view="group-profile"] .group-details-identity { bottom:76px; }
  [data-phone-app] #dialog[data-view="group-profile"] .group-details-actions { bottom:12px; }
  [data-phone-app] #dialog[data-view="group-profile"] .group-details-action { height:52px; }
}
@media (prefers-reduced-motion:reduce) {
  #dialog[data-view="group-profile"] .group-shared-skeleton { animation:none; }
}
@media (prefers-reduced-transparency:reduce) {
  #dialog[data-view="group-profile"] .group-details-action { background:#252525d9; -webkit-backdrop-filter:none; backdrop-filter:none; }
  #dialog[data-view="group-profile"] .group-details-menu { background:#1b1d1c; -webkit-backdrop-filter:none; backdrop-filter:none; }
}

/* Group management shares the grouped rows and switches used by Settings. */
#dialog[data-view="group-management"] { width:min(620px,calc(100% - 24px)); padding:0; background:var(--bg); }
#dialog[data-view="group-management"] .dialog-header { position:sticky; z-index:10; top:0; margin:0; padding:8px 16px; min-height:60px; background:var(--bg); border-bottom:1px solid var(--line); }
#dialog[data-view="group-management"] .dialog-header h2 { font-size:18px; }
#dialog[data-view="group-management"] > .group-management { margin:0; padding:18px 16px max(20px,env(safe-area-inset-bottom)); gap:24px; }
.group-management-summary { display:flex; align-items:center; gap:12px; min-width:0; padding:0 4px; }
.group-management-summary .avatar { width:48px; height:48px; flex:none; }
.group-management-summary > div { display:grid; gap:4px; min-width:0; }
.group-management-summary strong { color:var(--text); font-size:18px; overflow-wrap:anywhere; }
.group-management-summary span { color:var(--muted); font-size:13px; }
.group-management .ios-settings-card { border:0; border-radius:18px; }
.group-management .ios-setting-row > .app-icon:first-child { flex:none; color:var(--accent-text); }
.group-management .ios-setting-label { line-height:1.35; }
.group-management .ios-setting-detail { line-height:1.4; }
.group-management-note { margin:0; padding:0 14px; color:var(--muted); font-size:13px; line-height:1.45; overflow-wrap:anywhere; }
.group-management .ios-settings-card > .group-management-note { padding:12px 16px; }
.group-management .group-management-fields { display:grid; gap:6px; padding:14px 16px; }
.group-management-fields .field { gap:8px; }
.group-management-fields :is(input,textarea) { width:100%; padding:11px 12px; color:var(--text); background:var(--bg); border:1px solid var(--line); border-radius:10px; font-size:16px; }
.group-management-fields textarea { min-height:100px; resize:vertical; }
.group-management-fields + .ios-setting-row::before { position:absolute; inset:0 16px auto; border-top:1px solid var(--line); content:''; }
.group-review-settings,.group-visibility-settings { min-width:0; margin:0; padding:0; border:0; }
:is(.group-review-settings,.group-visibility-settings) > legend { margin:0 0 8px; padding:0 14px; color:var(--muted); font-size:13px; font-weight:400; text-transform:uppercase; }
.group-review-settings > .group-management-note { margin-top:8px; }
.group-visibility-settings {
  --ios-component-card:var(--surface);
  --ios-component-line:var(--line);
  --ios-component-label:var(--text);
  --ios-component-secondary:var(--muted);
}
.group-visibility-option { cursor:pointer; min-height:80px; padding-block:14px; }
.group-visibility-option > .app-icon:first-child { color:var(--accent-text); flex:none; }
.group-visibility-option .ios-setting-copy { gap:5px; }
.group-visibility-option .ios-setting-detail { line-height:1.4; }
.group-visibility-option input { position:absolute; inset-inline-end:16px; width:28px; height:28px; margin:0; opacity:0; }
.group-visibility-check { display:grid; place-items:center; width:26px; height:26px; flex:none; border:1px solid var(--line); border-radius:50%; color:transparent; }
.group-visibility-option input:checked + .group-visibility-check { background:var(--accent,#0a84ff); color:#fff; border-color:transparent; }
.group-visibility-option:has(input:focus-visible) { background:var(--hover); }
.group-management .group-visibility-warning { margin-top:-16px; }
.group-management-save { position:sticky; z-index:5; bottom:0; padding:12px 0 max(8px,env(safe-area-inset-bottom)); background:var(--bg); }
.group-management-save .primary { width:100%; min-height:48px; border-radius:14px; font-size:16px; }
.new-group-details .group-visibility-settings { --ios-component-card:var(--group-fill); --ios-component-label:var(--group-ink); --ios-component-secondary:var(--group-muted); --ios-component-line:var(--group-line); }
.new-group-details .group-visibility-settings > legend { color:var(--group-muted); }
.new-group-details .group-visibility-settings .ios-settings-card { border-color:var(--group-line); border-radius:18px; }
@media (max-width:380px) {
  .group-management .ios-setting-row,.group-visibility-option { padding-inline:12px; gap:10px; }
  .group-management .ios-setting-label,.group-visibility-option .ios-setting-label { font-size:15px; }
}
[data-phone-app] #dialog[data-view="group-management"] { width:100%; padding:0; }
