/* Afterours group v7: one social thread, one shared board, one simple plan. */

.group-themed-shell.group-shell {
  width: 100%;
  max-width: none;
  min-height: 100svh;
  margin: 0;
  padding: 0 18px calc(108px + env(safe-area-inset-bottom));
  color: #1c1b18;
  background: #faf8f3;
}

.group-themed-shell.group-shell > :is(.afterours-topbar, .group-v7-header, .group-v7-tabs, .group-v7-panel) {
  width: min(100%, 720px);
  margin-inline: auto;
}

.group-v7-header {
  position: relative;
  display: flex;
  min-height: 72px;
  padding: 10px 0 16px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.group-v7-identity {
  display: grid;
  min-width: 0;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.group-v7-emblem {
  display: grid;
  width: 48px;
  height: 48px;
  overflow: hidden;
  place-items: center;
  border: 1px solid #d9d9d2;
  border-radius: 15px;
  color: #355646;
  background: #e6eee8;
  font: 800 15px/1 system-ui, sans-serif;
}

.group-v7-emblem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.group-v7-title {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.group-v7-title h1 {
  overflow: hidden;
  margin: 0;
  color: #171713;
  font: 750 23px/1.06 Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.group-v7-title > span {
  color: #777973;
  font-size: 11px;
}

.group-v7-header-actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
}

.group-v7-member-stack {
  display: flex;
  min-width: 0;
  align-items: center;
}

.group-v7-member-avatar,
.group-v7-member-more {
  display: grid;
  width: 29px;
  height: 29px;
  margin-left: -7px;
  overflow: hidden;
  place-items: center;
  border: 2px solid #faf8f3;
  border-radius: 50%;
  color: #354a40;
  background: #e4ebe6;
  font-size: 9px;
  font-weight: 800;
}

.group-v7-member-avatar:first-child { margin-left: 0; }
.group-v7-member-avatar img { width: 100%; height: 100%; object-fit: cover; }
.group-v7-member-more { color: #696b65; background: #efefea; }

.group-v7-settings {
  display: grid;
  width: 42px;
  height: 42px;
  padding: 0;
  place-items: center;
  border: 1px solid #d9d9d2;
  border-radius: 50%;
  color: #565851;
  background: #fff;
  font-size: 18px;
}

.group-themed-shell .section-tabs.group-v7-tabs {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  margin: 0 auto;
  padding: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid #deded7;
  background: rgb(250 248 243 / 96%);
  backdrop-filter: blur(14px);
}

.group-themed-shell .section-tabs.group-v7-tabs .toggle-button {
  display: flex;
  min-height: 48px;
  padding: 0 8px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  color: #7a7c75;
  background: transparent;
  font-size: 12px;
  font-weight: 720;
}

.group-themed-shell .section-tabs.group-v7-tabs .toggle-button .tab-icon {
  font-size: 17px;
}

.group-themed-shell .section-tabs.group-v7-tabs .toggle-button.active {
  border-color: #356aef;
  color: #2f62e9;
  background: transparent;
}

.group-themed-shell .tab-panel.group-v7-panel {
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.group-social-v6 :is(button, input) {
  -webkit-tap-highlight-color: transparent;
}

/* Thread */

.group-thread-v7 {
  padding: 28px 0 0;
}

.group-thread-v7-head,
.group-board-v7-head,
.group-plan-v7-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.group-thread-v7-head > div,
.group-board-v7-head > div:first-child {
  display: grid;
  gap: 4px;
}

.group-thread-v7-head h2,
.group-board-v7-head h2 {
  margin: 0;
  color: #171713;
  font: 720 31px/1 Georgia, "Times New Roman", serif;
  letter-spacing: -.045em;
}

.group-board-v7-head h2 { font-size: 29px; }

.group-thread-v7-head p,
.group-board-v7-head p {
  margin: 0;
  color: #777973;
  font-size: 11px;
}

.group-thread-v7-head > button,
.group-board-v7-head > div:last-child button,
.group-plan-v7-head > button {
  display: flex;
  min-height: 40px;
  padding: 0 13px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #d8d8d1;
  border-radius: 13px;
  color: #2f62e9;
  background: #fff;
  font-size: 11px;
  font-weight: 760;
}

.group-thread-v7-head > button .ph,
.group-board-v7-head button .ph,
.group-plan-v7-head > button .ph {
  font-size: 17px;
}

.group-thread-v7-pinned {
  display: grid;
  width: 100%;
  min-height: 84px;
  margin: 21px 0 5px;
  padding: 14px 15px;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  border: 1px solid #cfd9f6;
  border-radius: 18px;
  color: #1e315f;
  background: #eef3ff;
  text-align: left;
}

.group-thread-v7-pin-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: #2f62e9;
  background: #fff;
  font-size: 20px;
}

.group-thread-v7-pinned > span:nth-child(2) {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.group-thread-v7-pinned small {
  color: #2f62e9;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.group-thread-v7-pinned strong {
  overflow: hidden;
  color: #171713;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.group-thread-v7-pinned em {
  color: #6f7380;
  font-size: 10px;
  font-style: normal;
}

.group-thread-chat-v7 {
  display: grid;
  padding-bottom: 78px;
  gap: 14px;
}

.group-thread-v7-stream {
  display: grid;
  gap: 0;
}

.group-thread-v7-feature {
  display: grid;
  margin: 14px 0 2px;
  overflow: hidden;
  border: 1px solid #deded8;
  border-radius: 18px;
  background: #fff;
}

.group-thread-v7-feature > header {
  display: grid;
  min-height: 54px;
  padding: 9px 11px;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
}

.group-thread-v7-feature-avatar {
  display: grid;
  width: 34px;
  height: 34px;
  overflow: hidden;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--member-color, #567065);
  font-size: 9px;
  font-weight: 800;
}

.group-thread-v7-feature-avatar img { width: 100%; height: 100%; object-fit: cover; }

.group-thread-v7-feature > header > span {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 4px;
}

.group-thread-v7-feature > header strong { font-size: 10px; }
.group-thread-v7-feature > header em {
  overflow: hidden;
  color: #777973;
  font-size: 9px;
  font-style: normal;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.group-thread-v7-feature > header small { color: #92938d; font-size: 8px; }

.group-thread-v7-feature-main {
  display: grid;
  width: 100%;
  padding: 0;
  border: 0;
  color: #171713;
  background: transparent;
  text-align: left;
}

.group-thread-v7-feature-main > img {
  width: 100%;
  height: 164px;
  object-fit: cover;
}

.group-thread-v7-feature-main > span {
  display: grid;
  padding: 11px 12px 8px;
  gap: 3px;
}

.group-thread-v7-feature-main strong {
  font: 700 18px/1.08 Georgia, "Times New Roman", serif;
  letter-spacing: -.025em;
}

.group-thread-v7-feature-main small { color: #777973; font-size: 9px; }

.group-thread-v7-feature > footer {
  display: grid;
  padding: 0 8px 8px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.group-thread-v7-feature > footer button {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: 11px;
  color: #62645f;
  background: #f1f1ed;
  font-size: 9px;
  font-weight: 740;
}

.group-thread-v7-feature > footer button:first-child {
  color: #2f62e9;
  background: #edf2ff;
}

.group-thread-v7-feed {
  display: grid;
  margin: 0;
  padding: 6px 0 0;
  list-style: none;
}

.group-thread-v7-feed .hub-feed-item-shell,
.group-thread-v7-feed .hub-feed-item {
  margin: 0;
  padding: 0;
  list-style: none;
}

.group-thread-v7-feed .hub-feed-item {
  display: grid;
  width: 100%;
  min-height: 76px;
  padding: 13px 0;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  border: 0;
  border-bottom: 1px solid #e2e1db;
  color: #171713;
  background: transparent;
  text-align: left;
}

.group-thread-v7-feed .hub-feed-avatar {
  width: 36px;
  height: 36px;
  border: 1px solid #d7d8d2;
  border-radius: 50%;
  font-size: 10px;
}

.group-thread-v7-feed .hub-feed-body {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.group-thread-v7-feed .hub-feed-line {
  min-width: 0;
  font-size: 11px;
  line-height: 1.35;
}

.group-thread-v7-feed .hub-feed-line strong { font-weight: 780; }
.group-thread-v7-feed .hub-feed-verb { color: #686a64; }
.group-thread-v7-feed .hub-feed-title { color: #171713; font-weight: 680; }
.group-thread-v7-feed .hub-feed-meta { color: #82837e; font-size: 9px; }

.group-thread-v7-feed .hub-feed-side {
  display: flex;
  min-width: 44px;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.group-thread-v7-feed .hub-feed-thumb {
  display: grid;
  width: 38px;
  height: 38px;
  overflow: hidden;
  place-items: center;
  border: 0;
  border-radius: 11px;
  color: #2f62e9;
  background: #edf2ff;
  font-size: 15px;
}

.group-thread-v7-feed .hub-feed-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.group-thread-v7-feed .hub-feed-time {
  color: #94958f;
  font-size: 8px;
}

.group-thread-v7-message {
  display: grid;
  max-width: 92%;
  margin: 14px 0 0;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: flex-start;
  gap: 9px;
}

.group-thread-v7-message.is-me {
  justify-self: end;
  grid-template-columns: minmax(0, 1fr);
}

.group-thread-v7-avatar {
  width: 34px;
  height: 34px;
  border: 1px solid #d7d8d2;
  border-radius: 50%;
  font-size: 9px;
}

.group-thread-v7-message > div {
  padding: 11px 13px;
  border: 1px solid #dfded8;
  border-radius: 4px 15px 15px 15px;
  background: #fff;
}

.group-thread-v7-message.is-me > div {
  border-color: #2f62e9;
  border-radius: 15px 4px 15px 15px;
  color: #fff;
  background: #2f62e9;
}

.group-thread-v7-message header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.group-thread-v7-message header strong { font-size: 10px; }
.group-thread-v7-message header small { color: #92938e; font-size: 8px; }
.group-thread-v7-message.is-me header small { color: rgb(255 255 255 / 70%); }
.group-thread-v7-message p { margin: 4px 0 0; font-size: 12px; line-height: 1.45; }

.group-thread-v7-form {
  position: fixed;
  right: auto;
  bottom: calc(84px + env(safe-area-inset-bottom));
  left: 50%;
  z-index: 15;
  display: grid;
  width: min(calc(100vw - 32px), 720px);
  margin-top: 12px;
  padding: 7px;
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 4px;
  border: 1px solid #d9d9d2;
  border-radius: 18px;
  background: rgb(255 255 252 / 97%);
  box-shadow: 0 10px 30px rgb(25 26 21 / 9%);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
}

.group-thread-v7-form input {
  width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 0 7px;
  border: 0;
  outline: 0;
  color: #171713;
  background: transparent;
  font-size: 16px;
}

.group-thread-v7-form button {
  display: grid;
  width: 40px;
  height: 40px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 13px;
  color: #2f62e9;
  background: #edf2ff;
  font-size: 18px;
}

.group-thread-v7-form button:last-child {
  color: #fff;
  background: #2f62e9;
}

.group-thread-v7-empty {
  display: grid;
  min-height: 260px;
  place-items: center;
  align-content: center;
  gap: 6px;
  color: #7e807a;
  text-align: center;
}

.group-thread-v7-empty .ph { font-size: 30px; }
.group-thread-v7-empty strong { color: #171713; font-size: 13px; }
.group-thread-v7-empty small { max-width: 240px; font-size: 10px; }
.group-thread-v7-sending { padding: 8px 0; color: #777973; font-size: 10px; text-align: center; }

/* Shared board */

.group-board-v7 {
  padding: 28px 0 0;
}

.group-board-v7-head > div:last-child {
  display: flex;
  align-items: center;
  gap: 7px;
}

.group-board-v7-head > div:last-child button.primary {
  border-color: #2f62e9;
  color: #fff;
  background: #2f62e9;
}

.group-board-v7-search {
  display: grid;
  min-height: 50px;
  margin-top: 20px;
  padding: 0 8px 0 14px;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  border: 1px solid #d9d9d2;
  border-radius: 16px;
  background: #fff;
}

.group-board-v7-search > .ph {
  color: #7c7e77;
  font-size: 18px;
}

.group-board-v7-search input {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0;
  border: 0;
  outline: 0;
  color: #171713;
  background: transparent;
  font-size: 16px;
}

.group-board-v7-search button {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #6b6d67;
  background: #efefeb;
}

.group-board-v7-filters {
  display: flex;
  margin: 12px -18px 16px;
  padding: 0 18px 2px;
  gap: 7px;
  overflow-x: auto;
  scrollbar-width: none;
}

.group-board-v7-filters::-webkit-scrollbar { display: none; }

.group-board-v7-filters button {
  display: flex;
  min-height: 34px;
  padding: 0 12px;
  align-items: center;
  gap: 5px;
  flex: 0 0 auto;
  border: 1px solid #deded8;
  border-radius: 999px;
  color: #6f716b;
  background: #fff;
  font-size: 10px;
  font-weight: 720;
}

.group-board-v7-filters button.active {
  border-color: #c9d5f6;
  color: #2f62e9;
  background: #edf2ff;
}

.group-board-v7-filters button span {
  display: grid;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  place-items: center;
  border-radius: 999px;
  color: inherit;
  background: rgb(255 255 255 / 75%);
  font-size: 8px;
}

.group-board-v7-grid {
  columns: 2;
  column-gap: 10px;
}

.group-board-v7-card {
  display: inline-grid;
  width: 100%;
  margin: 0 0 10px;
  overflow: hidden;
  break-inside: avoid;
  border: 1px solid #deded8;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 1px 0 rgb(20 20 18 / 2%);
}

.group-board-v7-card-main {
  display: grid;
  width: 100%;
  padding: 0;
  border: 0;
  color: #171713;
  background: transparent;
  text-align: left;
}

.group-board-v7-media {
  display: grid;
  width: 100%;
  height: 126px;
  overflow: hidden;
  place-items: center;
  color: #315fcb;
  background: #dfe9ff;
  font-size: 32px;
}

.group-board-v7-card:nth-child(3n + 2) .group-board-v7-media { height: 156px; }
.group-board-v7-card:nth-child(4n) .group-board-v7-media { height: 106px; }
.group-board-v7-card.tone-sand .group-board-v7-media { color: #8b5b38; background: #f1e5d4; }
.group-board-v7-card.tone-lilac .group-board-v7-media { color: #6853a5; background: #e9e2f6; }
.group-board-v7-card.tone-green .group-board-v7-media { color: #38624d; background: #ddeae1; }

.group-board-v7-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.group-board-v7-copy {
  display: grid;
  min-width: 0;
  padding: 12px 12px 8px;
  gap: 3px;
}

.group-board-v7-copy small {
  color: #777973;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.group-board-v7-copy strong {
  overflow: hidden;
  color: #171713;
  font: 700 17px/1.12 Georgia, "Times New Roman", serif;
  letter-spacing: -.025em;
}

.group-board-v7-copy em {
  overflow: hidden;
  color: #777973;
  font-size: 9px;
  font-style: normal;
  line-height: 1.35;
}

.group-board-v7-card > footer {
  display: flex;
  min-height: 43px;
  padding: 6px 9px 9px 12px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.group-board-v7-signal {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 6px;
}

.group-board-v7-signal small {
  overflow: hidden;
  color: #777973;
  font-size: 8px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.group-board-v7-card .group-field-guide-faces {
  display: flex;
  align-items: center;
}

.group-board-v7-card .group-field-guide-face,
.group-board-v7-card .group-field-guide-face-more {
  display: grid;
  width: 22px;
  height: 22px;
  margin-left: -5px;
  overflow: hidden;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  background: #e8ede8;
  font-size: 7px;
}

.group-board-v7-card .group-field-guide-face:first-child { margin-left: 0; }

.group-board-v7-card-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 4px;
}

.group-board-v7-card-actions button {
  display: grid;
  width: 31px;
  height: 31px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 10px;
  color: #666862;
  background: #f0f0ec;
  font-size: 15px;
}

.group-board-v7-card-actions button.active {
  color: #d24c69;
  background: #fff0f3;
}

.group-board-v7-card > :is(.group-field-guide-private-take, .group-field-guide-add-take) {
  display: flex;
  min-height: 36px;
  margin: 0 10px 10px;
  padding: 0;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  border: 0;
  border-top: 1px solid #e7e6e1;
  border-radius: 0;
  color: #2f62e9;
  background: transparent;
  font-size: 8px;
  text-align: left;
}

.group-board-v7-card > .group-field-guide-shared-take {
  display: flex;
  min-height: 34px;
  margin: 0 10px 10px;
  align-items: center;
  gap: 5px;
  border-top: 1px solid #e7e6e1;
  color: #4e665a;
  font-size: 8px;
}

.group-board-v7-empty {
  display: grid;
  min-height: 300px;
  column-span: all;
  place-items: center;
  align-content: center;
  gap: 6px;
  color: #7c7e78;
  text-align: center;
}

.group-board-v7-empty .ph { font-size: 30px; }
.group-board-v7-empty strong { color: #171713; font-size: 13px; }
.group-board-v7-empty small { max-width: 240px; font-size: 10px; }
.group-board-v7-empty button { min-height: 40px; margin-top: 5px; padding: 0 13px; border: 0; border-radius: 12px; color: #fff; background: #2f62e9; font-size: 10px; font-weight: 760; }

.group-board-v7 > .group-field-guide-capture {
  margin-top: 16px;
  border-color: #d6d9e1;
  background: #f5f7fd;
}

/* Plan */

.group-plan-v7 {
  padding: 28px 0 0;
}

.group-plan-v7-head > div {
  display: grid;
  gap: 3px;
}

.group-plan-v7-head small {
  color: #2f62e9;
  font-size: 9px;
  font-weight: 820;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.group-plan-v7-head h2 {
  margin: 0;
  color: #171713;
  font: 730 31px/1.02 Georgia, "Times New Roman", serif;
  letter-spacing: -.045em;
}

.group-plan-v7-head p {
  margin: 3px 0 0;
  color: #777973;
  font-size: 11px;
}

.group-plan-v7-primary {
  margin-top: 20px;
  border-top: 1px solid #deded7;
}

.group-plan-v7 .proposal-card {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.group-plan-v7 .proposal-card-head,
.group-plan-v7 .proposal-notes {
  display: none;
}

.group-plan-v7 .proposal-section {
  margin: 0;
  padding: 24px 0;
  border: 0;
  border-bottom: 1px solid #deded7;
  background: transparent;
}

.group-plan-v7 .proposal-section-label {
  margin: 0 0 13px;
  color: #171713;
  font: 700 23px/1.05 Georgia, "Times New Roman", serif;
  letter-spacing: -.035em;
  text-transform: none;
}

.group-plan-v7 .proposal-slot-strip {
  display: grid;
  gap: 9px;
}

.group-plan-v7 .proposal-slot-compact,
.group-plan-v7 .proposal-option-row {
  position: relative;
  display: grid;
  min-height: 66px;
  padding: 11px 12px;
  gap: 9px;
  border: 1px solid #deded7;
  border-radius: 15px;
  background: #fff;
}

.group-plan-v7 .proposal-slot-compact-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.group-plan-v7 .proposal-slot-compact-when,
.group-plan-v7 .proposal-option-main {
  display: grid;
  gap: 2px;
}

.group-plan-v7 .proposal-slot-compact-when strong,
.group-plan-v7 .proposal-option-main strong {
  color: #171713;
  font-size: 12px;
}

.group-plan-v7 .proposal-slot-compact-when span,
.group-plan-v7 .proposal-option-main > span {
  color: #777973;
  font-size: 9px;
}

.group-plan-v7 .proposal-slot-compact-badges {
  display: flex;
  align-items: center;
  gap: 5px;
}

.group-plan-v7 .proposal-signal-pill,
.group-plan-v7 .proposal-slot-pill-likes {
  padding: 4px 6px;
  border-radius: 999px;
  color: #4e665a;
  background: #e8f0ea;
  font-size: 8px;
  font-weight: 720;
}

.group-plan-v7 .proposal-pref-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 4px;
}

.group-plan-v7 .proposal-pref-chip {
  display: flex;
  min-width: 0;
  min-height: 34px;
  padding: 3px 4px;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 0;
  border-radius: 9px;
  color: #6e706a;
  background: #f0f0ec;
  font-size: 8px;
  font-weight: 740;
}

.group-plan-v7 .proposal-pref-chip.active {
  color: #fff;
  background: #2f62e9;
}

.group-plan-v7 .proposal-pref-chip-count {
  display: grid;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  place-items: center;
  border-radius: 999px;
  color: inherit;
  background: rgb(255 255 255 / 22%);
  font-size: 7px;
}

.group-plan-v7 .proposal-slot-remove,
.group-plan-v7 .proposal-option-remove {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 24px;
  min-width: 24px;
  min-height: 24px;
  padding: 0;
  border: 0;
  color: #8a8c86;
  background: transparent;
}

.group-plan-v7 .proposal-option-row {
  grid-template-columns: minmax(0, 1fr);
}

.group-plan-v7 .proposal-option-toolbar {
  display: grid;
  gap: 5px;
}

.group-plan-v7 .proposal-option-group {
  display: grid;
  gap: 9px;
}

.group-plan-v7 .proposal-category-banner {
  display: flex;
  padding: 8px 0 0;
  align-items: center;
  gap: 8px;
  background: transparent;
}

.group-plan-v7 .proposal-category-glyph {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 10px;
  color: #2f62e9;
  background: #edf2ff;
}

.group-plan-v7 .proposal-category-copy { display: grid; gap: 1px; }
.group-plan-v7 .proposal-category-copy strong { font-size: 10px; }
.group-plan-v7 .proposal-category-copy span { color: #777973; font-size: 8px; }

.group-plan-v7 .proposal-actions {
  display: grid;
  padding: 18px 0 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.group-plan-v7 .proposal-actions button {
  width: 100%;
  min-height: 39px;
  padding: 0 11px;
  border: 1px solid #d8d8d1;
  border-radius: 12px;
  color: #2f62e9;
  background: #fff;
  font-size: 9px;
  font-weight: 740;
}

.group-plan-v7 .proposal-actions .proposal-finalize-action {
  grid-column: 1 / -1;
  border-color: #2f62e9;
  color: #fff;
  background: #2f62e9;
}

.group-plan-v7 .proposal-actions .proposal-cancel-action {
  width: auto;
  min-height: 34px;
  grid-column: 1 / -1;
  justify-self: center;
  border-color: transparent;
  background: transparent;
  color: #9b4b45;
}

.group-plan-v7-empty {
  display: grid;
  min-height: 330px;
  margin-top: 20px;
  place-items: center;
  align-content: center;
  gap: 7px;
  border-top: 1px solid #deded7;
  border-bottom: 1px solid #deded7;
  text-align: center;
}

.group-plan-v7-empty > span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 17px;
  color: #2f62e9;
  background: #edf2ff;
  font-size: 25px;
}

.group-plan-v7-empty strong { font: 700 21px/1 Georgia, "Times New Roman", serif; }
.group-plan-v7-empty p { max-width: 260px; margin: 0; color: #777973; font-size: 10px; line-height: 1.45; }
.group-plan-v7-empty button { min-height: 42px; margin-top: 7px; padding: 0 14px; border: 0; border-radius: 13px; color: #fff; background: #2f62e9; font-size: 11px; font-weight: 760; }

.group-plan-v7-more {
  padding: 24px 0;
  border-bottom: 1px solid #deded7;
}

.group-plan-v7-more h3 {
  margin: 0 0 10px;
  font: 700 19px/1 Georgia, "Times New Roman", serif;
}

.group-plan-v7-availability {
  display: grid;
  width: 100%;
  min-height: 78px;
  padding: 14px 0;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 11px;
  border: 0;
  border-bottom: 1px solid #deded7;
  color: #171713;
  background: transparent;
  text-align: left;
}

.group-plan-v7-availability > span:first-child {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  color: #315143;
  background: #e5eee8;
  font-size: 19px;
}

.group-plan-v7-availability > span:nth-child(2) { display: grid; gap: 3px; }
.group-plan-v7-availability strong { font-size: 12px; }
.group-plan-v7-availability small { color: #777973; font-size: 9px; }

.group-plan-v7-details {
  border-bottom: 1px solid #deded7;
}

.group-plan-v7-details > summary {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  color: #686a64;
  font-size: 10px;
  font-weight: 730;
  list-style: none;
  cursor: pointer;
}

.group-plan-v7-details > summary::-webkit-details-marker { display: none; }
.group-plan-v7-details[open] > summary .ph { transform: rotate(180deg); }
.group-plan-v7-details > div { padding: 0 0 18px; }

@media (max-width: 480px) {
  .group-themed-shell.group-shell { padding-inline: 16px; }
  .group-v7-member-stack { display: none; }
  .group-v7-header { min-height: 68px; }
  .group-v7-identity { grid-template-columns: 44px minmax(0, 1fr); gap: 10px; }
  .group-v7-emblem { width: 44px; height: 44px; border-radius: 14px; }
  .group-v7-title h1 { font-size: 21px; }
  .group-themed-shell .section-tabs.group-v7-tabs { display: grid; margin-inline: 0; }
  .group-thread-v7,
  .group-board-v7,
  .group-plan-v7 { padding-top: 24px; }
  .group-thread-v7-head h2,
  .group-board-v7-head h2,
  .group-plan-v7-head h2 { font-size: 29px; }
  .group-board-v7-filters { margin-inline: -16px; padding-inline: 16px; }
}

@media (min-width: 760px) {
  .group-board-v7-grid { columns: 3; }
}
