.account {
  cursor: pointer;
  border-radius: 12px;
  padding: 12px 7px 0;
  margin-left: -7px;
  margin-right: -7px;
  transition: background .2s;
}

.rule-catalog { display: grid; gap: 26px; padding: 20px; background: #f7f7f8; }
.rule-category { display: grid; gap: 12px; }
.rule-category-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; }
.rule-category-head h3 { margin: 0 0 3px; font-size: 17px; }
.rule-category-head p { margin: 0; color: #86868b; font-size: 10px; }
.rule-category-head > span { color: #86868b; font-size: 9px; white-space: nowrap; }
.rule-groups { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.rule-group { min-width: 0; padding: 15px; border: 1px solid #e1e1e4; border-radius: 14px; background: #fff; }
.rule-group-title { display: flex; align-items: start; justify-content: space-between; gap: 10px; margin-bottom: 11px; }
.rule-group-title b { min-width: 0; font-size: 12px; line-height: 1.35; }
.rule-group-title small { flex: none; color: #929297; font-size: 8px; white-space: nowrap; }
.rule-variants { display: flex; flex-wrap: wrap; gap: 7px; }
.rule-variants > span { min-height: 30px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 5px 4px 9px; border-radius: 980px; font-size: 9px; }
.rule-variants > span.bonus { background: #e9f8ef; color: #15743b; }
.rule-variants > span.penalty { background: #fff0f0; color: #b52b2b; }
.rule-variants em { max-width: 180px; overflow: hidden; text-overflow: ellipsis; font-style: normal; white-space: nowrap; }
.rule-variants strong { font-size: 10px; }
.rule-variants .row-delete { width: 22px; height: 22px; display: grid; place-items: center; padding: 0; border-radius: 50%; color: currentColor; }
.rule-variants .row-delete:hover { background: #fff8; }

@media (max-width: 850px) {
  .rule-catalog { padding: 13px; gap: 22px; }
  .rule-groups { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .rule-category-head { align-items: start; flex-direction: column; gap: 5px; }
  .rule-group { padding: 13px; }
  .rule-variants { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .rule-variants > span { min-width: 0; justify-content: space-between; border-radius: 9px; }
  .rule-variants em { min-width: 0; max-width: none; }
}

.account:hover { background: #f7f7f8; }

.team-card,
.data-surface,
.overview,
.empty { border-radius: 12px; box-shadow: none; }

.team-card { animation: none; }
.team-card:hover { transform: none; box-shadow: none; border-color: #d2d2d7; }
.dialog { animation: none; border-radius: 14px; }
.primary:hover { transform: none; box-shadow: none; }
.page-header { flex-wrap: wrap; gap: 8px; }
.secondary-action {
  height: 40px;
  border: 1px solid #d2d2d7;
  border-radius: 9px;
  background: #fff;
  padding: 0 14px;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 650;
}
.secondary-action svg { width: 15px; }
.daily-toolbar {
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid #e8e8ea;
}
.daily-toolbar label { display: grid; gap: 5px; font-size: 9px; color: #6e6e73; }
.daily-toolbar input { height: 36px; border: 1px solid #d2d2d7; border-radius: 8px; padding: 0 10px; }
.day-state { padding: 8px 11px; border-radius: 7px; font-size: 10px; font-weight: 650; }
.day-state.open { background: #eaf6ee; color: #176c37; }
.day-state.closed { background: #ededf0; color: #555; }
.close-day { margin-left: auto; height: 36px; border: 1px solid #d2d2d7; background: #fff; border-radius: 8px; font-size: 10px; font-weight: 650; padding: 0 12px; }
.daily-totals { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid #e8e8ea; }
.daily-totals div { padding: 18px 20px; border-right: 1px solid #e8e8ea; display: grid; gap: 5px; }
.daily-totals div:last-child { border: 0; }
.daily-totals span { font-size: 9px; color: #86868b; }
.daily-totals b { font-size: 21px; }
.entry-title { padding: 24px 20px 10px; display: flex; justify-content: space-between; align-items: center; border-top: 8px solid #f5f5f7; }
.entry-title h3 { margin: 0; font-size: 14px; }
.entry-title span { font-size: 9px; color: #86868b; }
.member-list > div { grid-template-columns: 32px minmax(0, 1fr) auto auto; }
.member-list small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.member-edit { color: #4f3477 !important; }
.penalty-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border: 1px solid #e1e1e3; border-radius: 10px; padding: 12px; margin-bottom: 10px; position: relative; }
.penalty-row label:last-of-type { grid-column: 1 / -1; }
.remove-penalty { position: absolute; right: 6px; top: 6px; width: 25px; height: 25px; border: 0; border-radius: 50%; background: #f2f2f4; color: #a22; }
.danger-action { background: #8d2020 !important; }

@media (max-width: 720px) {
  .daily-toolbar { align-items: stretch; flex-wrap: wrap; }
  .daily-toolbar label { width: 100%; }
  .close-day { margin-left: 0; flex: 1; }
  .daily-totals { grid-template-columns: 1fr; }
  .daily-totals div { border-right: 0; border-bottom: 1px solid #e8e8ea; }
  .member-list > div { grid-template-columns: 32px minmax(0, 1fr) auto; }
  .member-list [data-remove] { grid-column: 3; }
  .member-list .member-edit { grid-column: 3; }
  .penalty-row { grid-template-columns: 1fr; }
  .penalty-row label:last-of-type { grid-column: auto; }
}

.score-list-head,
.score-team {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) 70px 90px 90px 90px 80px 170px;
  align-items: center;
  gap: 12px;
}
.score-section-title { padding: 17px 18px; border-bottom: 1px solid #e5e5e7; }
.score-section-title h3 { margin: 0 0 3px; font-size: 15px; }
.score-section-title span { color: #86868b; font-size: 9px; }
.score-team { cursor: pointer; transition: background .18s, box-shadow .18s; }
.score-team:hover, .score-team.history-open { background: #faf8fc; }
.score-team.history-open { box-shadow: inset 3px 0 #5b388d; }
.team-score-history { border-bottom: 1px solid #dedee1; background: #fafafa; }
.team-score-history > .spinner { margin: 24px 8px 24px 20px; }
.team-history-head { display: flex; justify-content: space-between; padding: 13px 20px; border-bottom: 1px solid #e5e5e7; }
.team-history-head b { font-size: 11px; }
.team-history-head span { color: #86868b; font-size: 9px; }
.team-history-list { display: grid; }
.team-history-list article { display: grid; grid-template-columns: 52px 1fr; gap: 12px; padding: 13px 20px; border-bottom: 1px solid #ebebed; }
.team-history-list article:last-child { border-bottom: 0; }
.history-points { align-self: start; padding: 6px 7px; border-radius: 8px; background: #fff; font-size: 12px; font-weight: 750; text-align: center; }
.team-history-list article > div { min-width: 0; }
.team-history-list b { font-size: 11px; }
.team-history-list p { margin: 3px 0; color: #555; font-size: 10px; }
.team-history-list small { color: #929297; font-size: 9px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #e5e5e7; }
.stats-grid article { min-height: 130px; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; background: #fff; }
.stats-grid span { color: #86868b; font-size: 10px; }
.stats-grid b { font-size: 30px; letter-spacing: -.8px; }
.stats-grid .stats-total { grid-column: 1 / -1; min-height: 110px; background: #faf8fc; }
.score-list-head { padding: 11px 18px; background: #f7f7f8; border-bottom: 1px solid #dedee1; color: #86868b; font-size: 9px; text-transform: uppercase; letter-spacing: .5px; }
.score-list-head span:last-child { grid-column: 6; }
.score-list-head.leader-score-head,
.score-team.leader-score-row {
  grid-template-columns: minmax(170px, 1fr) minmax(150px, 1fr) 90px 90px 90px 120px;
}
.score-list-head.leader-score-head span:last-child { grid-column: auto; }
.score-team { padding: 15px 18px; border-bottom: 1px solid #e8e8ea; font-size: 11px; }
.score-team:last-child { border-bottom: 0; }
.score-team-name { display: flex; align-items: center; gap: 10px; }
.score-team-name > span { width: 34px; height: 34px; display: grid; place-items: center; background: #eeeaf4; border-radius: 8px; color: #513573; font-weight: 750; }
.score-team-name b { font-size: 12px; }
.score-team strong { font-size: 13px; }
.lock-state { color: #6e6e73; font-size: 9px; }
.score-actions { display: flex; justify-content: flex-end; gap: 6px; }
.score-actions button { height: 32px; padding: 0 11px; border: 1px solid #d2d2d7; background: #fff; border-radius: 7px; font-size: 9px; font-weight: 650; }
.score-actions .write-score { background: #1d1d1f; border-color: #1d1d1f; color: #fff; }
.reverse-score, .delete-score { border: 1px solid #d2d2d7; background: #fff; border-radius: 7px; padding: 6px 8px; font-size: 9px; color: #a12424; }
.reversed { color: #86868b !important; text-decoration: line-through; }
.log-filters { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 18px; border-bottom: 1px solid #e5e5e7; }
.log-filters label { display: flex; align-items: center; gap: 5px; border: 1px solid #d2d2d7; border-radius: 7px; padding: 7px 9px; font-size: 9px; cursor: pointer; background: #fff; }
.log-filters input { accent-color: #513573; }

@media (max-width: 850px) {
  .score-list-head { display: none; }
  .score-team { grid-template-columns: 1fr auto auto; gap: 9px; padding: 15px; }
  .score-team.leader-score-row {
    width: 100%;
    min-width: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 8px;
    overflow: hidden;
  }
  .score-team-name { grid-column: 1 / -1; }
  .score-team > span:nth-of-type(1) { min-width: 0; overflow-wrap: anywhere; }
  .score-team > span:nth-of-type(1)::before { content: 'Team leader: '; color: #86868b; }
  .leader-score-row > span:nth-of-type(1) { grid-column: 1 / -1; }
  .leader-score-row > strong {
    min-width: 0;
    display: grid;
    justify-items: center;
    gap: 4px;
    padding: 9px 4px;
    border-radius: 9px;
    background: #f7f7f8;
    text-align: center;
  }
  .leader-score-row > strong::before {
    color: #86868b;
    font-size: 8px;
    font-weight: 650;
    letter-spacing: .35px;
    text-transform: uppercase;
  }
  .leader-score-row > strong:nth-of-type(1)::before { content: 'Bonus'; }
  .leader-score-row > strong:nth-of-type(2)::before { content: 'Cərimə'; }
  .leader-score-row > strong:nth-of-type(3)::before { content: 'Net bal'; }
  .score-team .lock-state { grid-column: 3; }
  .score-actions { grid-column: 1 / -1; justify-content: stretch; }
  .score-actions button { flex: 1; min-height: 40px; }
  .score-section-title { padding: 14px; }
  .team-history-head { padding: 12px 14px; }
  .team-history-list article { grid-template-columns: 48px minmax(0, 1fr); padding: 13px 14px; }
  .team-history-list p { line-height: 1.4; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid article { min-height: 105px; padding: 17px; }
  .stats-grid b { font-size: 25px; }
  .stats-grid .stats-total { grid-column: 1 / -1; min-height: 95px; }
}

@media (max-width: 420px) {
  .score-team.leader-score-row { padding: 13px 11px; }
  .leader-score-row > strong { font-size: 12px; }
  .score-team-name { gap: 8px; }
}

.data-surface:has(.user-accordion) { min-height: 0; }
.user-accordion { display: grid; align-content: start; }
.user-item { border-bottom: 1px solid #e5e5e7; align-self: start; }
.user-item:last-child { border-bottom: 0; }
.user-details[hidden] { display: none !important; }
.user-summary {
  width: 100%;
  height: 54px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 7px 14px;
  border: 0;
  background: #fff;
  text-align: left;
}
.user-summary:hover { background: #f8f8f9; }
.user-avatar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #efebf4; color: #513573; font-size: 8px; font-weight: 750; }
.user-summary b { font-size: 12px; }
.user-team-group { display: inline-flex; align-items: center; justify-content: flex-end; gap: 9px; min-width: 0; }
.user-team { font-size: 10px; color: #48484a; white-space: nowrap; justify-self: end; }
.user-chevron { width: 18px; font-size: 17px; color: #86868b; text-align: center; transition: transform .2s; line-height: 1; }
.user-item.open .user-chevron { transform: rotate(180deg); }
.user-details { padding: 4px 24px 18px 68px; background: #fafafa; border-top: 1px solid #efeff1; }
.user-details dl { margin: 0; display: grid; }
.user-details dl > div { min-height: 43px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #ebebed; }
.user-details dt { color: #86868b; font-size: 9px; text-transform: uppercase; letter-spacing: .55px; }
.user-details dd { margin: 0; font-size: 11px; text-align: right; }
.user-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 14px; }
.user-actions button { height: 34px; padding: 0 12px; border: 1px solid #d2d2d7; background: #fff; border-radius: 7px; font-size: 9px; font-weight: 650; }
.user-actions .delete-user { color: #b42323; }
.user-actions button:disabled { color: #aaa; background: #f2f2f4; }
.confirm-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 22px; }
.confirm-actions button { min-height: 42px; }
.page-header > button.primary { line-height: 0; }
.page-header > button.primary svg { display: block; margin: 0; transform: none !important; }
.dialog,
.dialog form,
.dialog label {
  min-width: 0;
  max-width: 100%;
}
.dialog input,
.dialog select {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.dialog select {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 720px) {
  .user-summary { grid-template-columns: 30px minmax(0, 1fr) auto; height: 48px; min-height: 48px; padding: 5px 9px; gap: 7px; }
  .user-avatar { width: 28px; height: 28px; }
  .user-summary b { font-size: 11px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .user-team-group { gap: 5px; }
  .user-team { font-size: 9px; }
  .user-details { padding: 3px 14px 15px; }
  .user-details dl > div { min-height: 47px; }
  .user-actions button { min-height: 42px; flex: 1; }
  main { padding: 14px 10px 24px; }
  header, .page-header { margin-bottom: 14px; }
  .page-header h1 { font-size: 23px; line-height: 1.1; }
  .page-header p { line-height: 1.3; max-width: 250px; }
  .page-header > button.primary { position: relative; width: 40px !important; height: 40px !important; min-width: 40px; padding: 0 !important; display: block !important; border-radius: 50% !important; }
  .page-header > button.primary svg { position: absolute; left: 50%; top: 50%; width: 17px !important; height: 17px !important; transform: translate(-50%, -50%) !important; }
  .data-surface { min-height: 0; }
  .dialog { padding: 22px 17px; }
  .dialog h2 { font-size: 21px; }
  .dialog input, .dialog select { height: 40px; }
  .overview article { padding: 13px; }
  .overview b { font-size: 20px; }
  .team-card { padding: 15px; }
  .entry-title { padding: 17px 14px 8px; }
  .daily-toolbar { padding: 12px; gap: 8px; }
  .daily-totals { grid-template-columns: repeat(3, 1fr); }
  .daily-totals div { min-width: 0; padding: 11px 9px; border-right: 1px solid #e8e8ea; border-bottom: 0; }
  .daily-totals span { font-size: 8px; }
  .daily-totals b { font-size: 17px; }
  .team-card { padding: 13px; }
  .team-card h3 { margin: 10px 0 13px; }
  .count { margin-top: 14px; }
  .capacity { margin: 9px; }
  .log-list article { padding: 12px; }
  .table-wrap tr { padding: 7px 10px; border-bottom-width: 4px; }
  .table-wrap td { padding: 8px 1px; }
  .dialog { padding: 22px 17px 20px; }
  .dialog > p { margin-bottom: 15px; }
}

/* Mobile WebView shell */
@media (max-width: 720px) {
  html { background: #f5f5f7; overscroll-behavior: none; }
  body {
    min-height: 100dvh;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    -webkit-tap-highlight-color: transparent;
    overscroll-behavior-y: none;
  }
  button, input, select { font-size: 16px; }
  button { touch-action: manipulation; }
  main { min-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom)); }
  main > header, .page-header {
    position: sticky;
    top: 0;
    z-index: 12;
    margin: -14px -10px 14px;
    padding: 12px 10px 11px;
    background: rgba(245,245,247,.92);
    border-bottom: 1px solid rgba(210,210,215,.8);
    backdrop-filter: saturate(180%) blur(18px);
    -webkit-backdrop-filter: saturate(180%) blur(18px);
  }
  main > header h1 { font-size: 23px; }
  main > header small, .page-header small { font-size: 8px; }
  main > header > .primary {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    font-size: 0;
  }
  main > header > .primary svg { width: 18px; height: 18px; }
  .mobile-menu { width: 42px; height: 42px; }
  aside {
    width: min(86vw, 330px);
    padding: calc(20px + env(safe-area-inset-top)) 18px calc(18px + env(safe-area-inset-bottom));
  }
  aside .logo { width: 72px; height: 72px; margin-bottom: 20px; }
  nav button { min-height: 48px; font-size: 14px; }
  .account { min-height: 58px; }
  .overview { margin-bottom: 24px; border-radius: 16px; }
  .section-head h2 { font-size: 19px; }
  .actions { display: grid; grid-template-columns: 1fr 1fr; }
  .actions .search { grid-column: 1 / -1; width: 100%; }
  .actions > button, .actions > .file-button { justify-content: center; min-width: 0; }
  .team-card, .data-surface, .empty { border-radius: 16px; }
  .team-card .members { min-height: 46px; }
  .backdrop { padding-top: env(safe-area-inset-top); }
  .dialog {
    width: 100%;
    max-height: calc(94dvh - env(safe-area-inset-top));
    overflow-x: hidden;
    padding-bottom: calc(20px + env(safe-area-inset-bottom));
    border-radius: 22px 22px 0 0;
  }
  .dialog input, .dialog select, .dialog form .primary, .secondary { min-height: 48px; }
  #toast {
    left: 12px;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    text-align: center;
    border-radius: 12px;
    font-size: 12px;
  }
  .login { padding: 14px 14px calc(14px + env(safe-area-inset-bottom)); }
  .login section { border-radius: 22px; }
  .login input, .login .primary { min-height: 50px; }
}

.member-sheet-head { padding-right: 38px; }
.member-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 18px 0 12px;
  overflow: hidden;
  border: 1px solid #e4e4e7;
  border-radius: 11px;
  background: #e4e4e7;
}
.member-summary span { padding: 11px; background: #f8f8fa; color: #777; font-size: 9px; text-align: center; }
.member-summary b { display: block; margin-bottom: 2px; color: #1d1d1f; font-size: 17px; }
.member-row .member-info { min-width: 0; display: grid; gap: 3px; }
.member-info > span { display: flex; gap: 6px; align-items: center; min-width: 0; font-size: 9px; }
.member-info a { color: #5b388d; text-decoration: none; white-space: nowrap; }
.member-info i { color: #bbb; font-style: normal; }
.member-row-actions { display: none !important; }
.member-row-actions button { min-height: 34px; padding: 0 7px; }
.member-more { display: grid; place-items: center; }
.member-row.actions-open > .member-row-actions { display: grid !important; }
.member-add-bar { padding-top: 14px; }
.member-add-bar .primary { width: 100%; min-height: 46px; }
.member-locked { padding: 13px; border-radius: 10px; background: #f1f1f3; color: #777; font-size: 10px; text-align: center; }
.no-members b, .no-members span { display: block; }
.no-members b { margin-bottom: 5px; color: #333; font-size: 12px; }
.sheet-handle { display: none; }

@media (max-width: 720px) {
  body, main, aside, .dialog { -webkit-overflow-scrolling: touch; }
  aside, .backdrop, .dialog, .team-card, .user-details { will-change: transform, opacity; }
  .members-dialog {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: min(88dvh, 760px);
    max-height: calc(94dvh - env(safe-area-inset-top));
    overflow: hidden;
    padding: 22px 0 0;
  }
  .sheet-handle {
    display: grid;
    place-items: center;
    position: absolute;
    z-index: 4;
    top: 0;
    left: 50%;
    width: 84px;
    height: 26px;
    transform: translateX(-50%);
    touch-action: none;
    cursor: grab;
  }
  .sheet-handle i { width: 38px; height: 4px; border-radius: 4px; background: #c7c7cc; }
  .dialog.dragging { transition: none !important; }
  .dialog.sheet-dismiss { transform: translateY(105%) !important; transition: transform .18s ease-in !important; }
  .members-dialog .close { top: 17px; right: 14px; }
  .member-sheet-head { flex: none; padding: 5px 17px 0; }
  .member-sheet-head h2 { margin-top: 4px; }
  .members-dialog .member-list {
    display: block;
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    align-content: start;
    overscroll-behavior: contain;
    margin: 0;
    padding: 0 12px 10px;
    border-top: 0;
  }
  .members-dialog .member-row {
    grid-template-columns: 42px minmax(0, 1fr) 38px;
    gap: 10px;
    margin-bottom: 8px;
    padding: 12px;
    position: relative;
    overflow: visible;
    border: 1px solid #e7e7e9;
    border-radius: 13px;
    background: #fff;
  }
  .members-dialog .person { width: 42px; height: 42px; font-size: 11px; }
  .members-dialog .member-info b { font-size: 13px; }
  .members-dialog .member-info small { font-size: 10px; }
  .member-info > span { flex-wrap: wrap; font-size: 10px; }
  .member-more {
    display: grid;
    place-items: center;
    align-self: center;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #f2f2f4;
    color: #666;
    letter-spacing: 2px;
  }
  .member-row.actions-open .member-more { background: #e9e2f1; color: #5b388d; }
  .member-row-actions {
    position: absolute;
    z-index: 8;
    top: 53px;
    right: 10px;
    display: none;
    width: 145px;
    padding: 6px;
    gap: 3px;
    border: 1px solid #dedee2;
    border-radius: 12px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 12px 30px rgba(0,0,0,.16);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
  .member-row.actions-open { z-index: 9; }
  .member-row.actions-open .member-row-actions { display: grid !important; }
  .member-row-actions button { min-height: 42px; padding: 0 11px; border: 0; border-radius: 8px; background: transparent; text-align: left; }
  .member-row-actions button:hover, .member-row-actions button:active { background: #f2f2f4; }
  .member-row-actions button[data-remove] { color: #b42323; }
  .member-add-bar {
    flex: none;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid #e2e2e5;
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }
  .member-locked { margin: 10px 12px calc(10px + env(safe-area-inset-bottom)); }
}
