.activity-date-filter {
  margin: 20px 0 14px;
}
.invitation-email-context {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 16px;
  margin-bottom: 24px;
}
.invitation-email-context strong {
  font-size: 15px;
}
.invitation-email-context > span {
  color: var(--muted);
  font-size: 12px;
}
.invitation-email-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.invitation-email-section-heading h3 {
  margin: 0;
  font-family: inherit;
  font-size: 17px;
}
.recipient-count {
  flex-shrink: 0;
  border-radius: 20px;
  background: #eaf0e9;
  color: #254b3c;
  padding: 5px 10px;
  font-size: 12px;
}
.recipient-count.over-limit {
  background: #fbe8e3;
  color: #9b3027;
}
.invitation-email-form .field {
  margin-bottom: 12px;
}
.invitation-email-form .field > span {
  font-size: 13px;
  font-weight: 600;
}
.invitation-email-form textarea {
  background: #fff;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
}
.invitation-email-form .field small {
  font-size: 12px;
  line-height: 1.5;
}
.invitation-email-privacy {
  margin: 0 0 24px;
  color: #446450;
  font-size: 12px;
  line-height: 1.6;
}
.invitation-email-summary {
  margin-top: 20px;
  padding: 16px 18px;
  background: #f2f3ed;
  border: 1px solid #e2e5da;
  border-radius: 10px;
}
.invitation-email-summary dl {
  margin: 0;
  display: grid;
  gap: 12px;
}
.invitation-email-summary dl > div {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  font-size: 13px;
}
.invitation-email-summary dt {
  color: var(--muted);
}
.invitation-email-summary dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.invitation-email-summary dd span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--muted);
  margin-top: 2px;
}
.invitation-email-summary p {
  margin: 14px 0 0;
  padding-top: 12px;
  border-top: 1px solid #dce1d7;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}
.invitation-email-form .invitation-email-actions {
  position: sticky;
  bottom: -30px;
  background: #fffefa;
  padding-bottom: 18px;
  z-index: 1;
  justify-content: flex-end;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  gap: 10px;
}
@media (max-width: 480px) {
  .invitation-email-form .invitation-email-actions {
    bottom: -22px;
  }
  .invitation-email-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
  .invitation-email-actions > button {
    flex: 1;
  }
}
.activity-date-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 4px 10px;
  scrollbar-width: thin;
}
.activity-date-chip {
  flex: 0 0 auto;
  min-width: 92px;
  min-height: 82px;
  display: grid;
  grid-template-rows: 16px 20px 16px;
  align-items: center;
  justify-items: center;
  align-content: center;
  gap: 3px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  color: var(--ink);
}
.activity-date-chip[aria-pressed='true'] {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.activity-date-weekday,
.activity-date-count {
  font-size: 12px;
  white-space: nowrap;
}
.activity-date-weekday {
  grid-row: 1;
}
.activity-date-count {
  grid-row: 3;
}
.activity-date-number,
.activity-date-placeholder {
  grid-row: 2;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}
.activity-date-placeholder {
  line-height: 1.25;
  text-align: center;
}
.activity-date-chip.all-dates .activity-date-number,
.activity-date-chip.undated .activity-date-placeholder {
  grid-row: 1 / 3;
  align-self: center;
}
/* Shared site styles. Layered base/components define defaults; later unlayered rules
   record approved UI refinements and intentionally override those defaults.
   Preserve selector order when reviewing: moving rules between layers changes precedence. */
@layer base,components;
@layer base {
  :root {
    font-family: Arial, Helvetica, sans-serif;
    color: #263d35;
    background: #f6f5ef;
    font-synthesis: none;
    --green: #254b3c;
    --ink: #253a32;
    --muted: #6b756f;
    --cream: #f6f5ef;
    --line: #dce1d7;
    --orange: #bf6e46;
  }
  * {
    box-sizing: border-box;
  }
  body {
    margin: 0;
  }
  button,
  input,
  select,
  textarea {
    font: inherit;
  }
  button,
  a,
  input,
  select,
  textarea {
    touch-action: manipulation;
  }
  button,
  a {
    -webkit-tap-highlight-color: transparent;
  }
  button {
    cursor: pointer;
  }
  button:disabled {
    opacity: 0.55;
    cursor: wait;
  }
  a {
    color: inherit;
    text-underline-offset: 4px;
  }
  button:focus-visible,
  a:focus-visible,
  input:focus-visible,
  select:focus-visible,
  textarea:focus-visible,
  [contenteditable]:focus-visible {
    outline: 3px solid #d28d50;
    outline-offset: 3px;
  }
  h1,
  h2,
  h3,
  p {
    margin-top: 0;
  }
  h1,
  h2,
  h3 {
    font-weight: 400;
  }
  h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(2.5rem, 4.3vw, 4.8rem);
    line-height: 1.08;
    letter-spacing: -0.045em;
    margin-bottom: 20px;
  }
  h2 {
    font-family: Georgia, serif;
    font-size: 2rem;
    line-height: 1.2;
    letter-spacing: -0.025em;
  }
  h3 {
    font-family: Georgia, serif;
    font-size: 1.5rem;
    line-height: 1.2;
  }
  p {
    line-height: 1.7;
  }
  small,
  .fine {
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--muted);
  }
  table {
    border-collapse: collapse;
    width: 100%;
    text-align: left;
  }
  th {
    font-size: 0.72rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: var(--muted);
    font-weight: 600;
  }
  th,
  td {
    padding: 18px 12px;
    border-bottom: 1px solid var(--line);
  }
  td {
    font-size: 0.9rem;
    vertical-align: top;
  }
  hr {
    border: 0;
    border-top: 1px solid var(--line);
    margin: 28px 0;
  }
  blockquote {
    border-left: 3px solid #bdcbb6;
    padding: 12px 20px;
    margin: 20px 0;
    line-height: 1.8;
    white-space: pre-wrap;
  }
  code {
    overflow-wrap: anywhere;
  }
  dt {
    font-size: 0.8rem;
    color: var(--muted);
  }
  dd {
    margin: 4px 0 16px;
  }
  .preserve {
    white-space: pre-wrap;
  }
  .muted {
    color: var(--muted);
  }
  .block {
    display: block;
  }
  .long {
    display: block;
    padding: 20px;
    background: var(--cream);
    margin-bottom: 20px;
  }
  .skip {
    position: absolute;
    top: -60px;
    left: 15px;
    background: white;
    z-index: 100;
    padding: 12px;
  }
  .skip:focus {
    top: 10px;
  }
}
@layer components {
  /* Site shell and public landing sections. */
  .site-header {
    height: 100px;
    max-width: 1600px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5vw;
    border-bottom: 1px solid var(--line);
  }
  .brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 0.93rem;
    font-weight: 700;
    letter-spacing: 0.19em;
  }
  .brand small {
    display: block;
    color: inherit;
    font-size: 0.59rem;
    letter-spacing: 0.32em;
    margin-top: 5px;
  }
  .brand-mark {
    display: block;
    width: 47px;
    height: 47px;
    object-fit: contain;
    flex-shrink: 0;
  }
  .site-header nav {
    display: flex;
    align-items: center;
    gap: 32px;
    font-size: 0.86rem;
  }
  .site-header nav > a:not(.button) {
    text-decoration: none;
  }
  .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    border: 1px solid var(--green);
    border-radius: 6px;
    padding: 14px 23px;
    background: var(--green);
    color: white;
    font-size: 0.84rem;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    min-height: 45px;
    transition:
      background 0.2s,
      transform 0.2s;
  }
  .button:hover {
    background: #183d2d;
    transform: translateY(-1px);
  }
  .button.secondary {
    background: transparent;
    color: var(--green);
    border-color: #bac8bb;
  }
  .button.secondary:hover {
    background: #e8eee3;
  }
  .button.cream {
    background: #f6f2e7;
    color: var(--ink);
    border-color: #f6f2e7;
  }
  .button.small {
    padding: 11px 20px;
    min-height: 40px;
  }
  .button.danger {
    background: #8b423b;
    border-color: #8b423b;
  }
  .text-button {
    border: 0;
    background: none;
    color: var(--green);
    padding: 8px 0;
    text-decoration: underline;
    text-underline-offset: 4px;
    font-size: 0.84rem;
  }
  .danger-text {
    color: #923f33;
  }
  .actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
  }
  .actions.vertical {
    align-items: flex-end;
    flex-direction: column;
  }
  .hero {
    position: relative;
    min-height: 640px;
    margin: 20px 25px 0;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #354e3e;
    color: white;
  }
  .hero-photo {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(
        90deg,
        rgba(15, 35, 25, 0.87),
        rgba(19, 32, 25, 0.32) 65%,
        rgba(19, 32, 25, 0.08)
      ),
      url('/hero.png') center/cover;
  }
  .hero-content {
    position: relative;
    max-width: 750px;
    padding: 80px 5.5vw 105px;
  }
  .hero h1 {
    font-size: clamp(3.6rem, 5.4vw, 6rem);
    letter-spacing: -0.05em;
    line-height: 1.04;
  }
  .hero-content > p:not(.eyebrow) {
    max-width: 480px;
    color: #edece2;
    font-size: 1rem;
    margin: 28px 0;
  }
  .hero .actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    margin-top: 35px;
  }
  .hero-link {
    font-size: 0.8rem;
    color: #f2f0e5;
  }
  .eyebrow {
    letter-spacing: 0.18em;
    font-size: 0.66rem;
    font-weight: 700;
    color: #8c674b;
    margin-bottom: 24px;
  }
  .eyebrow.light {
    color: #dbdfc9;
  }
  .hero-caption {
    position: absolute;
    right: 30px;
    bottom: 28px;
    font-size: 0.75rem;
    color: #f5f1e7;
  }
  .intro {
    text-align: center;
    max-width: 680px;
    margin: 100px auto 65px;
    padding: 0 24px;
  }
  .intro h2 {
    font-size: clamp(2.3rem, 3.3vw, 3.5rem);
  }
  .intro p:last-child {
    color: var(--muted);
    max-width: 510px;
    margin: auto;
  }
  .feature-grid {
    max-width: 1280px;
    margin: 0 auto 95px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 0 4vw;
  }
  .feature-grid article {
    padding: 15px 38px;
    border-right: 1px solid var(--line);
  }
  .feature-grid article:last-child {
    border: 0;
  }
  .feature-number {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.16em;
    color: #8a725c;
    margin-bottom: 28px;
  }
  .feature-grid p {
    font-size: 0.9rem;
    color: var(--muted);
  }
  .invite-band {
    background: #e7ebdf;
    padding: 60px 8vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
  }
  .invite-band h2 {
    font-size: 2.6rem;
  }
  .invite-band p:last-child {
    margin-bottom: 0;
    color: #637366;
  }
  /* Authenticated workspace, reusable forms and list/card layouts. */
  .workspace {
    max-width: 1440px;
    min-height: 60vh;
    margin: 0 auto;
    padding: 54px 5vw 80px;
  }
  .heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin: 20px 0 38px;
  }
  .heading h1 {
    font-size: clamp(2.2rem, 3.5vw, 3.8rem);
    max-width: 850px;
  }
  .heading .eyebrow {
    margin-bottom: 16px;
  }
  .lede {
    color: var(--muted);
    max-width: 660px;
    font-size: 0.95rem;
  }
  .panel {
    padding: 30px;
    border: 1px solid var(--line);
    background: #fffefa;
    border-radius: 9px;
    margin-bottom: 22px;
  }
  .narrow {
    max-width: 740px;
    margin: 10px auto 40px;
  }
  .form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 22px 0;
  }
  .field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.81rem;
    text-align: left;
    min-width: 0;
  }
  .field:has(textarea),
  .field.check {
    grid-column: 1/-1;
  }
  .field > span:first-child {
    font-weight: 600;
  }
  .field input:not([type='checkbox']),
  .field select,
  .field textarea {
    width: 100%;
    border: 1px solid #c9d2c5;
    border-radius: 5px;
    background: #fff;
    padding: 12px;
    color: var(--ink);
    min-height: 45px;
  }
  .field textarea {
    resize: vertical;
    min-height: 100px;
  }
  .field.check {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    font-weight: 400;
    gap: 10px;
    line-height: 1.6;
  }
  .field.check input {
    margin-top: 4px;
    accent-color: var(--green);
  }
  .form-actions {
    display: flex;
    gap: 18px;
    align-items: center;
    margin-top: 25px;
    flex-wrap: wrap;
  }
  .notice {
    padding: 16px 20px;
    background: #e9eee0;
    border: 1px solid #c9d5bd;
    border-radius: 6px;
    line-height: 1.55;
    font-size: 0.88rem;
    margin: 16px 0;
  }
  .notice.error {
    background: #fff0e8;
    color: #873e2d;
    border-color: #e9c6b3;
  }
  .notice.success {
    background: #e7efdf;
  }
  .auth-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7vw;
    align-items: center;
    max-width: 1140px;
    margin: 40px auto 90px;
  }
  .auth-layout h1 {
    font-size: clamp(2.7rem, 4.4vw, 4.6rem);
  }
  .auth-layout .panel {
    max-width: 480px;
    width: 100%;
  }
  .auth-layout .form-grid {
    grid-template-columns: 1fr;
  }
  .auth-note {
    font-family: Georgia, serif;
    font-style: italic;
    color: #8b755f;
    margin-top: 50px;
  }
  .policy h2 {
    margin-top: 35px;
    font-size: 1.6rem;
  }
  .policy p {
    color: #536158;
  }
  .cookie-panel {
    position: fixed;
    bottom: 22px;
    left: 50%;
    transform: translateX(-50%);
    width: min(1000px, calc(100% - 35px));
    background: #fffefa;
    border: 1px solid #c5d0bf;
    box-shadow: 0 8px 50px #1e33252b;
    border-radius: 9px;
    padding: 22px 28px;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
  }
  .cookie-panel p {
    font-size: 0.8rem;
    max-width: 480px;
    margin: 5px 0 0;
    color: var(--muted);
  }
  .cookie-panel .actions {
    flex-shrink: 0;
  }
  .breadcrumbs {
    display: flex;
    gap: 10px;
    color: var(--muted);
    font-size: 0.78rem;
  }
  /* Group overview and activity planning cards. */
  .card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 25px;
  }
  .group-card {
    padding: 32px;
    border: 1px solid var(--line);
    background: #fffefa;
    border-radius: 9px;
    max-width: 600px;
  }
  .group-card .group-monogram {
    display: grid;
    place-items: center;
    width: 70px;
    height: 70px;
    background: #e5ebdd;
    color: #536950;
    border-radius: 50%;
    font-family: Georgia, serif;
    font-size: 2rem;
    margin-bottom: 25px;
  }
  .group-card h2 {
    margin-top: 22px;
  }
  .group-card > p {
    color: var(--muted);
    font-size: 0.9rem;
  }
  .group-card > .actions {
    margin-top: 28px;
  }
  .badge {
    display: inline-flex;
    font-size: 0.63rem;
    letter-spacing: 0.06em;
    padding: 6px 9px;
    border-radius: 4px;
    background: #e8ecdf;
    color: #526244;
    font-weight: 600;
  }
  .badge.canceled,
  .badge.removed,
  .badge.closed {
    background: #f2e5dc;
    color: #8a5941;
  }
  .badge.draft,
  .badge.suggested {
    background: #f4ecdb;
    color: #8b6a36;
  }
  .tabs {
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 30px;
    overflow-x: auto;
  }
  .tabs button {
    white-space: nowrap;
    background: none;
    border: 0;
    border-bottom: 2px solid transparent;
    color: var(--muted);
    padding: 15px 18px;
    font-size: 0.85rem;
  }
  .tabs button.active {
    border-color: var(--green);
    color: var(--green);
    font-weight: 600;
  }
  .section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
  }
  .section-head h2 {
    margin: 0;
  }
  .section-head p {
    margin: 8px 0 0;
  }
  .meeting-list {
    display: grid;
    gap: 18px;
  }
  .meeting-card {
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fffefa;
  }
  .date-tile {
    background: #e9eddf;
    border-radius: 6px;
    text-align: center;
    width: 76px;
    flex-shrink: 0;
    padding: 13px;
  }
  .date-tile span {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
  }
  .date-tile strong {
    font-family: Georgia, serif;
    display: block;
    font-size: 2.5rem;
    font-weight: 400;
    margin-top: 5px;
  }
  .meeting-info {
    flex: 1;
  }
  .meeting-info h3 {
    margin: 12px 0 8px;
  }
  .meeting-info p {
    margin: 0;
    font-size: 0.88rem;
  }
  .empty {
    text-align: center;
    padding: 60px 25px;
    border: 1px dashed #c9d2c2;
    border-radius: 8px;
    color: var(--muted);
    margin: 25px 0;
  }
  .empty h3 {
    color: var(--green);
    margin: 18px 0 12px;
  }
  .empty p {
    max-width: 500px;
    margin: 0 auto;
  }
  .empty-icon {
    font-size: 2rem;
    font-weight: 200;
    color: #9baa91;
  }
  .list-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
  }
  .list-row:last-child {
    border: 0;
  }
  .list-row h3 {
    margin-bottom: 7px;
  }
  .list-row small {
    display: inline-block;
    margin-left: 5px;
  }
  .table-wrap {
    overflow-x: auto;
  }
  .phone-reveal {
    font-size: 1.8rem;
    font-family: Georgia, serif;
  }
  .qr-share {
    text-align: center;
  }
  .qr-share img {
    display: block;
    max-width: 100%;
    margin: auto;
  }
  .qr-share code {
    display: block;
    margin: 20px 0;
    font-size: 0.8rem;
  }
  .two-column {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 28px;
    align-items: start;
  }
  /* Native modal frame; fixed-header refinements appear later in this file. */
  dialog {
    border: 1px solid var(--line);
    background: #fffefa;
    border-radius: 12px;
    padding: 30px;
    max-width: 650px;
    width: calc(100% - 30px);
    max-height: 90vh;
    color: var(--ink);
    box-shadow: 0 20px 100px #16281e44;
  }
  dialog.wide {
    max-width: 950px;
  }
  dialog::backdrop {
    background: #12281daf;
    backdrop-filter: blur(3px);
  }
  .dialog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 15px;
  }
  .dialog-head h2 {
    margin: 0;
  }
  .icon-button {
    border: 0;
    background: none;
    font-size: 2rem;
    color: var(--muted);
    padding: 5px 12px;
  }
  .day-section {
    margin-bottom: 40px;
  }
  .day-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 20px;
  }
  .day-heading h2 {
    font-size: 1.6rem;
    margin: 0;
  }
  .day-heading span {
    font-size: 0.8rem;
    color: var(--muted);
  }
  .activity-cover {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin: 12px 0;
  }
  .activity-meeting-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    max-width: 100%;
  }
  .activity-meeting-heading > span {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .activity-meeting-heading .meeting-action-icon {
    flex-shrink: 0;
  }
  .activity-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
  }
  .activity-card {
    background: #fffefa;
    border: 1px solid var(--line);
    border-radius: 9px;
    padding: 26px;
    max-width: 650px;
  }
  .activity-card.canceled {
    background: #f1eee6;
  }
  .activity-card h3 {
    font-size: 1.7rem;
  }
  .activity-card p {
    font-size: 0.88rem;
  }
  .activity-footer {
    border-top: 1px solid var(--line);
    padding: 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-top: 18px;
  }
  .activity-card > .actions {
    margin-top: 12px;
  }
  .segmented {
    display: flex;
    background: #ebeee5;
    border-radius: 7px;
    padding: 5px;
    margin-bottom: 25px;
  }
  .segmented button {
    flex: 1;
    border: 0;
    padding: 15px;
    border-radius: 5px;
    background: none;
    color: var(--muted);
  }
  .segmented button.selected {
    background: #fffefa;
    color: var(--green);
    box-shadow: 0 2px 4px #0001;
  }
  .search-results {
    margin-top: 30px;
    border-top: 1px solid var(--line);
    padding-top: 22px;
  }
  .result-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid var(--line);
  }
  .result-card h3 {
    margin: 12px 0;
  }
  .result-card small {
    display: block;
    max-width: 500px;
  }
  .result-card p {
    margin-bottom: 8px;
    font-size: 0.85rem;
  }
  .map {
    width: 100%;
    height: 320px;
    border: 1px solid var(--line);
    border-radius: 6px;
  }
  /* Shared footer and privacy navigation. */
  footer {
    padding: 24px 5vw 20px;
    border-top: 1px solid var(--line);
    background: #f0f0e7;
  }
  .footer-tagline {
    font-family: Georgia, serif;
    font-size: 1.15rem;
    color: #697363;
    margin: 0 0 0 auto;
    text-align: right;
  }
  .footer-links {
    display: flex;
    gap: 12px 20px;
    flex-wrap: wrap;
    align-items: center;
    font-size: 0.8rem;
    margin-bottom: 12px;
  }
  .footer-links .text-button {
    font-size: 0.8rem;
  }
  footer > small {
    font-size: 0.66rem;
  }
  .platform {
    background: #e9ede3;
  }
  .platform nav a {
    font-size: 0.85rem;
  }
  altcha-widget {
    display: block;
    margin: 22px 0;
    --altcha-max-width: 100%;
    --altcha-color-base: #fffefa;
    --altcha-color-border: #c9d2c5;
  }
  @media (min-width: 1600px) {
    .hero {
      max-width: 1550px;
      margin: 20px auto 0;
    }
  }
  @media (max-width: 900px) {
    .site-header {
      height: 85px;
      padding: 0 24px;
    }
    .site-header nav {
      gap: 17px;
    }
    .hero {
      min-height: 600px;
      margin: 12px;
    }
    .hero-content {
      padding: 65px 35px 90px;
    }
    .hero-photo {
      background-position: 60% center;
    }
    .hero-caption {
      left: 35px;
    }
    .feature-grid {
      padding: 0 20px;
    }
    .feature-grid article {
      padding: 10px 20px;
    }
    .workspace {
      padding: 35px 25px 60px;
    }
    .heading {
      align-items: flex-start;
      flex-direction: column;
      gap: 12px;
    }
    .heading h1 {
      max-width: 650px;
    }
    .auth-layout {
      gap: 35px;
    }
    .two-column {
      grid-template-columns: 1fr;
    }
    .cookie-panel {
      align-items: flex-start;
      flex-direction: column;
      gap: 16px;
    }
    .meeting-card {
      flex-wrap: wrap;
    }
    .meeting-card > .actions {
      flex-basis: 100%;
      align-items: flex-start;
      margin-left: 102px;
    }
    .auth-layout .panel {
      padding: 25px;
    }
  }
  /* Narrow-screen defaults; subsequent component-specific rules may refine them. */
  @media (max-width: 600px) {
    .brand {
      font-size: 0.72rem;
      gap: 8px;
      letter-spacing: 0.13em;
    }
    .brand small {
      font-size: 0.48rem;
    }
    .brand-mark {
      display: block;
      width: 47px;
      height: 47px;
      object-fit: contain;
      flex-shrink: 0;
    }
    .site-header nav {
      gap: 15px;
    }
    .site-header nav > a:first-child {
      display: none;
    }
    .site-header nav a {
      font-size: 0.76rem;
    }
    .site-header nav .button {
      padding: 10px 15px;
    }
    .hero {
      min-height: 610px;
    }
    .hero-content {
      padding: 55px 25px 85px;
    }
    .hero h1 {
      font-size: 3.5rem;
    }
    .hero-content > p:not(.eyebrow) {
      font-size: 0.9rem;
      max-width: 340px;
    }
    .hero-photo {
      background-image:
        linear-gradient(90deg, rgba(15, 35, 25, 0.87), rgba(19, 32, 25, 0.45)), url('/hero.png');
      background-position: 60%;
    }
    .hero .eyebrow {
      font-size: 0.58rem;
    }
    .hero-caption {
      left: 25px;
      font-size: 0.65rem;
    }
    .intro {
      margin: 65px auto 40px;
    }
    .feature-grid {
      grid-template-columns: 1fr;
      margin-bottom: 50px;
      gap: 25px;
    }
    .feature-grid article {
      border: 0;
      border-bottom: 1px solid var(--line);
      padding: 15px 15px 25px;
    }
    .feature-number {
      margin-bottom: 15px;
    }
    .invite-band {
      flex-direction: column;
      align-items: flex-start;
      padding: 40px 30px;
    }
    .invite-band h2 {
      font-size: 2.2rem;
    }
    .auth-layout {
      grid-template-columns: 1fr;
      margin: 20px auto;
    }
    .auth-layout > div:first-child h1 {
      font-size: 2.8rem;
    }
    .auth-note {
      display: none;
    }
    .auth-layout .panel {
      max-width: none;
    }
    .form-grid {
      grid-template-columns: 1fr;
    }
    .panel {
      padding: 22px;
    }
    .workspace {
      padding: 30px 20px 50px;
    }
    .heading h1 {
      font-size: 2.5rem;
    }
    .heading .actions {
      width: 100%;
    }
    .section-head {
      align-items: flex-start;
    }
    .section-head h2 {
      font-size: 1.7rem;
    }
    .meeting-card {
      padding: 20px;
      gap: 16px;
    }
    .meeting-card > .actions {
      margin-left: 0;
    }
    .date-tile {
      width: 65px;
    }
    .date-tile strong {
      font-size: 2rem;
    }
    .meeting-info {
      min-width: 160px;
    }
    .meeting-info h3 {
      font-size: 1.4rem;
    }
    .meeting-info .actions {
      gap: 8px;
    }
    .activity-grid {
      grid-template-columns: 1fr;
    }
    .result-card {
      align-items: flex-start;
      flex-direction: column;
    }
    .cookie-panel {
      bottom: 12px;
      padding: 20px;
      width: calc(100% - 24px);
    }
    .cookie-panel .button {
      padding: 12px 15px;
      font-size: 0.76rem;
    }
    .cookie-panel .actions {
      gap: 8px;
    }
    .card-grid {
      grid-template-columns: 1fr;
    }
    .tabs button {
      padding: 14px 12px;
    }
    .dialog-head h2 {
      font-size: 1.65rem;
    }
    dialog {
      padding: 22px;
    }
    .day-heading {
      flex-wrap: wrap;
    }
    .form-actions {
      gap: 12px;
    }
    footer {
      padding: 20px 25px;
    }
    .footer-links {
      gap: 10px 16px;
    }
  }
}

.address-field {
  position: relative;
}
.address-options {
  list-style: none;
  margin: 0;
  padding: 4px;
  border: 1px solid #849487;
  border-radius: 6px;
  background: #fff;
  max-height: 220px;
  overflow: auto;
}
.address-options li {
  padding: 10px;
  cursor: pointer;
  font-size: 0.85rem;
}
.address-options li:hover,
.address-options li.active {
  background: #e8eee3;
}
.address-field > label {
  display: block;
}
/* Authenticated account avatar/menu. */
.user-menu {
  position: relative;
}
.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--green);
  color: #fff;
  border: 2px solid #d6b26b;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
}
.user-avatar:focus-visible {
  outline: 3px solid #a77417;
  outline-offset: 3px;
}
.user-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 12px);
  width: 230px;
  max-width: calc(100vw - 32px);
  z-index: 100;
  background: #fffdf8;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px;
  box-shadow: 0 12px 32px #183d2d26;
}
.user-menu-name {
  padding: 10px;
  margin: 0;
  border-bottom: 1px solid var(--line);
  font-weight: 600;
  overflow-wrap: anywhere;
}
.user-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: none;
  padding: 12px 10px;
  border-radius: 5px;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
}
.user-dropdown button:hover,
.user-dropdown button:focus-visible {
  background: #e8eee3;
  outline: none;
}

.activity-description {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.venue-details {
  margin: 16px 0;
}
.venue-details dt {
  font-weight: 600;
  margin-top: 10px;
}
.venue-details dd {
  margin: 3px 0 0;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
/* Geoapify result cards and provider metadata presentation. */
.place-card {
  border: 1px solid #d4dccf;
  border-radius: 10px;
  background: #fffefa;
  margin: 12px 0;
  padding: 18px 20px 14px;
  min-width: 0;
}
.place-card-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}
.place-card h3 {
  font-size: 1.35rem;
  line-height: 1.25;
  margin: 0 0 5px;
  overflow-wrap: anywhere;
}
.place-categories {
  margin: 0;
  color: var(--muted);
  font-size: 0.75rem;
}
.place-distance {
  white-space: nowrap;
  border-radius: 20px;
  background: #edf1e8;
  color: var(--green);
  padding: 5px 10px;
  font-size: 0.78rem;
  font-weight: 600;
}
.place-tabs {
  display: flex;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  margin-top: 14px;
}
.place-tabs button {
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--muted);
  padding: 9px 0;
  font-size: 0.77rem;
  cursor: pointer;
}
.place-tabs button[aria-selected='true'] {
  color: var(--green);
  border-bottom-color: var(--green);
  font-weight: 600;
}
.place-tabs button:focus-visible {
  outline: 2px solid #9a773c;
  outline-offset: 2px;
}
.place-panel {
  padding: 12px 0 4px;
  font-size: 0.83rem;
  overflow-wrap: anywhere;
}
.place-panel p {
  margin: 0 0 8px;
}
.place-address {
  color: var(--muted);
}
.place-website {
  font-size: 0.79rem;
  text-underline-offset: 3px;
}
.place-description {
  white-space: pre-wrap;
}
.place-facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  margin: 0;
  font-size: 0.81rem;
}
.place-facts dt {
  font-weight: 600;
}
.place-facts dd {
  margin: 0;
  white-space: pre-wrap;
}
.place-card-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}
.place-card-footer .button {
  padding: 8px 13px;
  min-height: 36px;
  font-size: 0.77rem;
}
@media (max-width: 600px) {
  .place-card {
    padding: 15px;
  }
  .place-tabs {
    gap: 16px;
  }
  .place-facts {
    gap: 6px 10px;
  }
}

.place-card-title {
  min-width: 0;
}
.place-card-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}
.place-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid #d4dccf;
  border-radius: 7px;
  background: transparent;
  color: var(--green);
  cursor: pointer;
}
.place-action-icon:hover {
  background: #edf1e8;
}
.place-yelp-link,
.place-source-link {
  width: auto;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  text-decoration: none;
}
.place-source-link {
  gap: 6px;
}
.place-action-icon:focus-visible {
  outline: 2px solid #9a773c;
  outline-offset: 2px;
}
.place-action-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.place-panel {
  min-height: 45px;
}
@media (max-width: 420px) {
  .place-card-heading {
    flex-wrap: wrap;
  }
  .place-card-actions {
    margin-left: auto;
  }
}

.place-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 7px;
}
.place-category-pill {
  display: inline-block;
  border: 1px solid #dce3d5;
  border-radius: 999px;
  background: #f0f3eb;
  color: #53634e;
  padding: 3px 9px;
  font-size: 0.7rem;
  line-height: 1.4;
}

.place-compact-details {
  margin-top: 10px;
  font-size: 0.79rem;
  overflow-wrap: anywhere;
}
.place-compact-details p {
  margin: 5px 0 0;
}
.place-contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.76rem;
}
.place-compact-details .place-description {
  line-height: 1.45;
}
.place-card {
  padding: 14px 16px;
  margin: 10px 0;
}

.category-picker-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}
.discovery-search-fields > .field > span:first-child,
.discovery-search-fields .category-picker-label {
  display: flex;
  align-items: center;
  min-height: 28px;
}
.discovery-destination-action {
  display: flex;
  align-items: flex-end;
}
.discovery-search-fields > .fine {
  grid-column: 1 / -1;
}
.category-clear-pill {
  border: 1px solid #d4dccf;
  border-radius: 999px;
  padding: 3px 10px;
  background: white;
  color: var(--green);
  font-size: 0.75rem;
  cursor: pointer;
}
.category-clear-pill:hover {
  background: #edf1e8;
}
.category-picker details {
  position: relative;
  border: 1px solid #c9d2c5;
  border-radius: 6px;
  background: white;
}
.category-picker summary {
  padding: 12px;
  min-height: 43px;
  cursor: pointer;
  font-size: 0.85rem;
}
.category-picker-panel {
  position: absolute;
  z-index: 20;
  top: calc(100% + 5px);
  left: -1px;
  right: -1px;
  max-height: min(340px, 45dvh);
  border: 1px solid #c9d2c5;
  border-radius: 6px;
  background: white;
  box-shadow: 0 8px 24px #00000026;
  overflow: auto;
  padding: 0 12px 12px;
  overscroll-behavior: contain;
}
.category-picker-panel section {
  border-top: 1px solid var(--line);
  padding: 10px 0;
}
.category-group-check,
.category-picker-items label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.category-group-check small {
  margin-left: auto;
}
.category-picker input[type='checkbox'] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin: 0;
  accent-color: var(--green);
}
.category-picker-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}
.category-picker-items label {
  font-size: 0.77rem;
}
.category-group-check {
  font-size: 0.83rem;
}

dialog.scroll-body {
  padding: 0;
  overflow: hidden;
  max-height: 90vh;
  max-height: 90dvh;
}
dialog.scroll-body[open] {
  display: flex;
  flex-direction: column;
}
dialog.scroll-body > .dialog-head {
  flex-shrink: 0;
  margin: 0;
  padding: 20px 30px;
  border-bottom: 1px solid var(--line);
  background: #fffefa;
}
.dialog-scroll-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 20px 30px 30px;
  scrollbar-gutter: stable;
}
@media (max-width: 600px) {
  dialog.scroll-body > .dialog-head {
    padding: 16px 22px;
  }
  .dialog-scroll-body {
    padding: 16px 22px 22px;
  }
}
/* Compact group overview cards. */
.group-cards {
  gap: 16px;
  align-items: start;
}
.group-cards .group-card {
  padding: 18px;
  min-width: 0;
}
.group-card-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.group-card-heading > div:last-child {
  min-width: 0;
}
.group-card .group-monogram {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  font-size: 1.35rem;
  margin: 0;
}
.group-card h2 {
  font-size: 1.4rem;
  line-height: 1.2;
  margin: 0 0 6px;
  overflow-wrap: anywhere;
}
.group-card > p {
  font-size: 0.84rem;
  margin: 0 0 8px;
  overflow-wrap: anywhere;
}
.group-card > small {
  display: block;
  font-size: 0.74rem;
  line-height: 1.5;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.group-card > .actions {
  margin-top: 16px;
  gap: 8px;
}
.group-card > .actions .button {
  padding: 10px 14px;
  min-height: 40px;
  font-size: 0.78rem;
}
.meeting-date-actions {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.meeting-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: var(--green);
  cursor: pointer;
}
.meeting-action-icon svg {
  width: 20px;
  height: 20px;
}
.meeting-action-icon:hover {
  background: #e5ebdd;
  border-color: var(--line);
}
.meeting-action-icon:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}
.meeting-action-icon:disabled {
  opacity: 0.5;
  cursor: wait;
}
/* Consistent primary action width across both sites. */
.button:not(.secondary):not(.danger):not(.cream) {
  width: 180px;
  max-width: 100%;
  flex-shrink: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  text-align: center;
}
.activity-title-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 16px;
}
.activity-title-row h3 {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.activity-title-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.activity-attendance-actions {
  width: 100%;
  gap: 10px;
}
.activity-attendance-actions .activity-delete {
  background: white;
}
.activity-attendance-actions {
  flex-wrap: nowrap;
}
.activity-attendance-actions > .button {
  min-width: 0;
  padding-left: 10px;
  padding-right: 10px;
}
.activity-attendance-actions > .button:not(.secondary) {
  flex-shrink: 1;
}
.activity-attendance-actions > .activity-delete {
  flex-shrink: 1;
}
.activity-votes {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}
.vote-button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--ink);
  font-size: 0.85rem;
  min-height: 40px;
}
.vote-button.selected {
  border-color: var(--green);
  background: #e5ebdd;
  box-shadow: inset 0 0 0 1px var(--green);
}
.vote-button:disabled {
  opacity: 1;
  cursor: default;
}
.badge.open-for-voting {
  background: #e4edf5;
  color: #315875;
}
.activity-address {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}
.activity-address > span {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}
.activity-address > .meeting-action-icon {
  flex-shrink: 0;
  margin-top: -6px;
}
.activity-card {
  min-width: 0;
}
.activity-address-lines {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.activity-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 0;
}
.activity-card .button {
  width: auto;
  min-height: 38px;
  padding: 9px 14px;
  gap: 6px;
  font-size: 0.8rem;
}
.activity-more {
  position: relative;
  flex-shrink: 0;
}
.activity-more-trigger {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: white;
  color: var(--green);
  font-size: 1.6rem;
  line-height: 1;
}
.activity-more-trigger:hover,
.activity-more-trigger[aria-expanded='true'] {
  background: #e5ebdd;
}
.activity-more-panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 6px);
  z-index: 10;
  width: 190px;
  padding: 5px;
  background: #fffefa;
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: 0 6px 22px #183d2d26;
}
.activity-more-panel button {
  display: block;
  width: 100%;
  border: 0;
  border-radius: 4px;
  background: none;
  padding: 11px 12px;
  text-align: left;
  color: var(--ink);
  font-size: 0.82rem;
}
.activity-more-panel button:hover {
  background: #e8eee3;
}
.activity-more-panel button.danger-text {
  color: #923f33;
  border-top: 1px solid var(--line);
  border-radius: 0;
  margin-top: 3px;
}
.activity-card .activity-footer {
  padding-bottom: 0;
}
.activity-card .button:not(.secondary):not(.danger):not(.cream) {
  width: auto;
}
.meeting-card .meeting-state-button {
  width: 180px;
  max-width: 100%;
  flex-shrink: 0;
  background: white;
}
.meeting-card .meeting-secondary-actions {
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  width: 180px;
  max-width: 100%;
}
.meeting-card > .actions.vertical {
  gap: 10px;
}
.activity-card .member-approved-footer {
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  padding: 12px 0;
  margin-top: 16px;
  text-align: right;
}
.member-attending-total {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
  font-size: 0.85rem;
  text-align: right;
}
.activity-card .member-approved-footer {
  margin-top: 12px;
}
/* Secondary actions use white buttons instead of underlined link styling. */
.text-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  max-width: 100%;
  padding: 9px 14px;
  border: 1px solid #bac8bb;
  border-radius: 6px;
  background: white;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
}
.text-button:hover {
  background: #e8eee3;
}
.text-button.danger-text {
  color: #923f33;
  border-color: #d4b6b0;
}
.text-button.danger-text:hover {
  background: #faefec;
}
.button.secondary {
  background: white;
}
/* Match primary and secondary actions on member meeting cards. */
.meeting-card > .actions.vertical > .button,
.meeting-card > .actions.vertical > .text-button {
  width: 180px;
  max-width: 100%;
  min-height: 45px;
  padding: 12px 16px;
  font-size: 0.84rem;
  line-height: 1.3;
  flex-shrink: 0;
}
.member-activity-actions {
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: 100%;
  text-align: center;
}
.member-activity-actions > .button,
.member-activity-actions > .text-button {
  min-width: 0;
  flex-shrink: 1;
  padding: 9px 10px;
  font-size: 0.8rem;
}
.member-activity-actions > .text-button {
  margin-left: auto;
}
/* Footer actions share the same plain-link presentation as footer navigation. */
.footer-links .text-button {
  display: inline;
  min-height: 0;
  width: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: inherit;
  font-size: 0.8rem;
  font-weight: 400;
  line-height: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.footer-links .text-button:hover {
  background: none;
}

/* Cards size their own content independently to prevent text overlap. */
.activity-grid {
  /* Fit one to three columns, accounting for the two 16px gutters. */
  grid-template-columns: repeat(
    auto-fit,
    minmax(min(100%, max(300px, calc((100% - 32px) / 3))), 1fr)
  );
  /* Keep card gutters independent of content spacing. */
  column-gap: 16px;
  row-gap: 0;
}
.activity-grid > .activity-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 18px;
  margin-bottom: 16px;
}
.activity-grid > .activity-card > * {
  flex-shrink: 0;
}
.activity-card > .section-head {
  margin-bottom: 10px;
}
.activity-card > .activity-title-row {
  margin-bottom: 8px;
}
.activity-card h3 {
  font-size: 1.4rem;
  line-height: 1.2;
}
.activity-card > p {
  margin: 0 0 6px;
  line-height: 1.4;
}
.activity-card > .activity-address {
  margin-bottom: 8px;
  line-height: 1.4;
}
.activity-card > .activity-description {
  font-size: 0.88rem;
  line-height: 1.45;
}
.activity-card > .activity-description:not(:empty) {
  margin-bottom: 8px;
}
.activity-card > .activity-votes {
  margin-top: 8px;
}
.activity-card > .member-attending-total {
  margin-top: 8px;
}
.activity-card > .activity-footer {
  align-self: stretch;
  margin-top: auto;
  padding: 10px 0 0;
}

.activity-card > .activity-cover {
  min-width: 0;
}

/* Attendance actions keep equal dimensions without wrapping into separate rows. */
.attendance-form-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}
.attendance-form-actions > .button,
.attendance-form-actions > .text-button {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  margin: 0;
  justify-content: center;
  text-align: center;
  font-size: 0.85rem;
  line-height: 1.3;
}

.meeting-type-choices {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  min-width: 0;
}
.meeting-type-choices legend {
  padding: 0 6px;
  font-weight: 600;
}

.meeting-type-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.meeting-type-choices .check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
}
.meeting-type-choices input {
  width: auto;
  flex: 0 0 auto;
}
.experience-card-body {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 12px;
}
.experience-card-body > .place-compact-details {
  flex: 1;
  min-width: 0;
}
.discovery-card-content {
  flex: 1;
  min-width: 0;
}
.experience-cover {
  width: 150px;
  height: 112px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.experience-cover[hidden] {
  display: none;
}
.experience-description {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: var(--muted);
}
.experience-rating {
  font-size: 0.85rem;
}
.experience-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 0.85rem;
  margin-top: 10px;
}
@media (max-width: 650px) {
  .experience-card-body {
    flex-direction: column;
  }
  .experience-cover {
    width: 100%;
    height: 170px;
  }
  .experience-card .place-card-heading {
    flex-wrap: wrap;
  }
}
/* Keep the labeled navigation control outside the base layer, alongside icon styles. */
.activity-meeting-heading .activity-back-link {
  width: auto;
  height: auto;
  min-height: 36px;
  flex: 0 0 auto;
  gap: 6px;
  padding: 6px 8px;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
}
.activity-back-link svg {
  flex-shrink: 0;
}
.heading > div:first-child {
  min-width: 0;
}
/* Platform workspace: scoped so public and member pages retain their styling. */
.platform-site {
  background: #f5f6f3;
}
.platform-site .site-header {
  height: auto;
  min-height: 88px;
  padding: 20px max(24px, calc((100vw - 1280px) / 2));
  gap: 24px;
  background: #fffefa;
  border-bottom: 1px solid var(--line);
}
.platform-site .site-header nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.platform-site .site-header nav a,
.platform-site .site-header nav .text-button {
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 0.85rem;
  text-decoration: none;
}
.platform-site .site-header nav a[aria-current='page'] {
  background: #e8eee5;
  color: var(--green);
  font-weight: 700;
}
.platform-site .site-header nav a:hover {
  background: #eef2ea;
}
.platform-site .workspace {
  max-width: 1280px;
  padding: 32px 28px 64px;
}
.platform-site .heading {
  margin: 0 0 28px;
  align-items: flex-start;
  gap: 24px;
}
.platform-site .heading h1 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.15;
  margin: 0;
  overflow-wrap: anywhere;
}
.platform-site .heading .eyebrow {
  margin: 0 0 10px;
  font-size: 0.65rem;
}
.platform-site .heading .lede {
  margin: 12px 0 0;
  line-height: 1.6;
}
.platform-site .heading > .actions {
  flex-shrink: 0;
  margin-top: 4px;
}
.platform-site h2 {
  font-size: 1.4rem;
  line-height: 1.3;
  margin: 0 0 16px;
}
.platform-site h3 {
  font-size: 1.15rem;
  line-height: 1.35;
  margin: 12px 0 8px;
}
.platform-site p {
  line-height: 1.55;
}
.platform-site .panel,
.platform-site .group-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffefa;
  box-shadow: 0 2px 8px #263d3505;
  min-width: 0;
}
.platform-site .two-column {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  gap: 24px;
  align-items: start;
}
.platform-site .section-head {
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 16px;
}
.platform-site .section-head h2 {
  margin: 0;
}
.platform-site .platform-history > .panel {
  margin: 0 0 16px;
}
.platform-site .platform-history .preserve {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 8px 0 16px;
}
.platform-site .platform-history small {
  color: var(--muted);
}
.platform-site .platform-back-link {
  display: inline-flex;
  margin: 0 0 20px;
  padding: 6px 0;
  font-size: 0.85rem;
  font-weight: 600;
  text-underline-offset: 4px;
}
.platform-site .actions {
  gap: 10px;
  flex-wrap: wrap;
}
.platform-site .button {
  min-height: 40px;
  padding: 10px 16px;
  font-size: 0.83rem;
  border-radius: 6px;
}
.platform-site .form-grid {
  gap: 18px;
  margin: 20px 0;
}
.platform-site .field {
  min-width: 0;
  gap: 7px;
}
.platform-site input,
.platform-site select,
.platform-site textarea {
  border-radius: 6px;
  min-width: 0;
}
.platform-site .table-wrap {
  padding: 0;
  overflow-x: auto;
}
.platform-site table {
  margin: 0;
  width: 100%;
  border-collapse: collapse;
}
.platform-site th {
  padding: 14px 20px;
  background: #edf1e9;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.platform-site td {
  padding: 18px 20px;
  vertical-align: middle;
  font-size: 0.88rem;
  line-height: 1.45;
}
.platform-site td small {
  margin-top: 4px;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.platform-site tbody tr:last-child td {
  border-bottom: 0;
}
.platform-site tbody tr:hover {
  background: #f6f8f2;
}
.platform-site .card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 20px;
}
.platform-site .group-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.platform-site .group-card h2 {
  margin: 16px 0 8px;
  overflow-wrap: anywhere;
}
.platform-site .group-card > p {
  margin: 0 0 24px;
  color: var(--muted);
}
.platform-site .group-card > .button {
  margin-top: auto;
}
.platform-site .list-row {
  padding: 16px 0;
  gap: 16px;
  flex-wrap: wrap;
}
.platform-site .list-row > span {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
  overflow-wrap: anywhere;
}
.platform-site blockquote {
  margin: 20px 0;
  padding: 14px 18px;
  border-left: 3px solid #becbb5;
  background: #f3f5ee;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.platform-site dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 20px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.platform-site dt {
  color: var(--muted);
  font-size: 0.85rem;
}
.platform-site dd {
  margin: 0;
  font-weight: 600;
}
.platform-site dialog {
  border-radius: 12px;
}
.platform-site dialog h2 {
  margin-bottom: 0;
}
.platform-site .auth-layout {
  display: block;
  max-width: 760px;
  margin: 60px 0;
}
.platform-site .auth-layout h1 {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.12;
}
.platform-site .auth-layout p:not(.eyebrow) {
  max-width: 520px;
  color: var(--muted);
  margin-top: 24px;
}
.platform-site a:focus-visible,
.platform-site button:focus-visible {
  outline: 2px solid #8c674b;
  outline-offset: 3px;
}
@media (max-width: 900px) {
  .platform-site .two-column {
    grid-template-columns: minmax(0, 1fr);
  }
  .platform-site .heading {
    flex-wrap: wrap;
  }
}
@media (max-width: 600px) {
  .platform-site .site-header {
    padding: 18px 20px;
    flex-wrap: wrap;
    gap: 14px;
  }
  .platform-site .workspace {
    padding: 24px 18px 48px;
  }
  .platform-site .panel,
  .platform-site .group-card {
    padding: 20px;
  }
  .platform-site .table-wrap {
    padding: 0;
  }
  .platform-site table {
    min-width: 620px;
  }
  .platform-site .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .platform-site .auth-layout {
    margin: 36px 0;
  }
}
.platform-site .opportunity-actions {
  gap: 10px;
}
.platform-site .opportunity-actions > .button {
  min-width: 0;
  flex: 0 1 auto;
}
.platform-site .platform-breadcrumb {
  margin: 0 0 28px;
}
.platform-site .platform-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.platform-site .platform-breadcrumb li {
  min-width: 0;
}
.platform-site .platform-breadcrumb a {
  font-size: 0.9rem;
  font-weight: 600;
  text-underline-offset: 4px;
}
.platform-site .breadcrumb-separator {
  color: var(--muted);
}
.platform-site .platform-breadcrumb h1 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.4;
  overflow-wrap: anywhere;
}
.help-workspace {
  max-width: 1100px;
  margin: 0 auto;
}
.help-breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 24px;
  font-size: 0.85rem;
}
.help-layout {
  display: grid;
  grid-template-columns: minmax(200px, 260px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.help-contents h2 {
  font-size: 1.2rem;
  margin: 0 0 16px;
}
.help-contents .text-button {
  display: block;
  text-align: left;
  width: 100%;
  margin: 8px 0;
  line-height: 1.5;
}
.help-section {
  margin-bottom: 20px;
}
.help-section h2 {
  font-size: 1.5rem;
  scroll-margin-top: 24px;
}
.help-section p {
  line-height: 1.7;
  margin: 14px 0 0;
}
.help-guide {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.help-guide h2 {
  font-size: 1.5rem;
}
.help-guide p {
  line-height: 1.6;
  margin: 12px 0 24px;
}
.help-guide .button {
  margin-top: auto;
}
@media (max-width: 760px) {
  .help-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* Keep the public-site footer at the bottom on short pages. */
body:not(.platform-site) > #root {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}
body:not(.platform-site) > #root > main {
  flex: 1 0 auto;
  width: 100%;
}
body:not(.platform-site) > #root > header,
body:not(.platform-site) > #root > footer {
  flex-shrink: 0;
}
body:not(.platform-site) > #root > .site-header {
  width: 100%;
  margin: 0 auto;
}
/* Phone refinements for the public/member site. */
@media (max-width: 600px) {
  body:not(.platform-site) .site-header {
    height: auto;
    min-height: 0;
    padding: 16px 20px 12px;
    flex-wrap: wrap;
    gap: 12px;
  }
  body:not(.platform-site) .site-header .brand {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  body:not(.platform-site) .site-header nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
  }
  body:not(.platform-site) .site-header nav > a:first-child {
    display: inline-flex;
  }
  body:not(.platform-site) .site-header nav > a {
    min-height: 44px;
    align-items: center;
    display: inline-flex;
    white-space: nowrap;
  }
  body:not(.platform-site) #root .site-header nav .button {
    min-width: 0;
    width: auto;
    padding: 10px 14px;
    gap: 8px;
  }
  body:not(.platform-site) .hero-content {
    padding: 42px 24px 72px;
  }
  body:not(.platform-site) .hero h1 {
    font-size: clamp(2.6rem, 11vw, 3.5rem);
  }
  body:not(.platform-site) .hero .button {
    min-width: 0;
    max-width: 100%;
  }
  body:not(.platform-site) .field input,
  body:not(.platform-site) .field select,
  body:not(.platform-site) .field textarea {
    font-size: 16px;
    min-width: 0;
  }
  body:not(.platform-site) .field input:not([type='checkbox']),
  body:not(.platform-site) .field select {
    min-height: 44px;
  }
  body:not(.platform-site) .form-actions > .button {
    min-width: 0;
    max-width: 100%;
  }
  body:not(.platform-site) .footer-links > a,
  body:not(.platform-site) .footer-links > .text-button {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  body:not(.platform-site) .footer-links {
    gap: 2px 16px;
  }
  body:not(.platform-site) .footer-tagline {
    flex-basis: 100%;
    font-size: 1rem;
  }
  body:not(.platform-site) .cookie-panel {
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
  }
  body:not(.platform-site) .cookie-panel .actions {
    width: 100%;
  }
  body:not(.platform-site) .cookie-panel .button {
    min-width: 0;
    flex: 1 1 110px;
    min-height: 44px;
  }
  body:not(.platform-site) .help-contents .text-button {
    min-height: 44px;
  }
  body:not(.platform-site) .meeting-info {
    min-width: 0;
  }
  body:not(.platform-site) .section-head {
    flex-wrap: wrap;
    gap: 12px;
  }
  body:not(.platform-site) .activity-title-row h3 {
    overflow-wrap: anywhere;
  }
}
@media (min-width: 601px) and (max-width: 900px) {
  body:not(.platform-site) .field input,
  body:not(.platform-site) .field select,
  body:not(.platform-site) .field textarea {
    font-size: 16px;
  }
}
