.attendance-launch { margin-top: 1.5rem; }
.attendance-launch ul { list-style: none; padding: 0; margin: 0; }
.attendance-launch li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0; border-top: 1px solid #cbd4c5; }
.attendance-launch li span { flex: 1 1 240px; font-weight: 700; }

.signup,
.organizer-identity {
  text-align: center;
  overflow-wrap: anywhere;
}

.organizer-identity h2 {
  margin: 4px 0 0;
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  line-height: 1.15;
}

.organizer-identity .organizer-label {
  margin: 0;
  color: #415a48;
  font-size: .95rem;
  font-weight: 650;
}

.organizer-identity .group-symbol {
  display: block;
  width: min(100%, 190px);
  max-height: 144px;
  object-fit: contain;
  margin: 14px auto 0;
  border-radius: 12px;
}

.organizer-identity .organizer-person {
  padding-top: 16px;
  margin-top: 16px;
  border-top: 2px solid #b99a50;
  border-radius: 14px;
  background: #faf6e9;
}

.organizer-person .organizer-portrait {
  display: block;
  width: min(100%, 240px);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border: 4px solid #b99a50;
  padding: 3px;
  background: #fffdf5;
  border-radius: 50%;
  box-shadow: 0 4px 16px #785e2620;
  margin: 12px auto 10px;
}

.organizer-person p:last-child {
  margin: 6px 0 0;
}

.signup > p {
  margin: 14px 0 0;
}

.signup > .button {
  margin-top: 14px;
}

.signup .signup-capacity {
  margin-top: 16px;
  padding: 12px 6px;
  border: 1px solid #cbd6c8;
  border-radius: 12px;
  background: #fbfcf8;
}

.signup-capacity h3 {
  margin: 0 0 8px;
  font: 650 1rem/1.2 system-ui, sans-serif;
}

.signup .signup-capacity dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
}

.signup .signup-capacity dl div {
  padding: 0 3px;
  border-radius: 0;
  background: transparent;
}

.signup-capacity dl div + div {
  border-left: 1px solid #cbd6c8;
}

.signup .signup-capacity dt {
  color: #415a48;
  font-size: .94rem;
}

.signup .signup-capacity dd {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.organizer-profile-link {
  font-size: .94rem;
}

.participation-button, .signup > .participation-button { display:inline-flex; align-items:center; justify-content:center; box-sizing:border-box; width:auto; max-width:100%; min-height:56px; background:#315b41; color:#fff; border:3px solid #b99a50; border-radius:10px; padding:14px 25px; font:700 1.05rem/1.4 system-ui,sans-serif; text-align:center; white-space:normal; text-decoration:none; box-shadow:0 4px 12px #785e2629; }
.participation-button:hover, .signup > .participation-button:hover { background:#254833; color:#fff; }

.member-admin-list { width: min(100%, 1240px); margin-inline: auto; }
.member-admin-search { display: flex; align-items: end; flex-wrap: wrap; gap: 12px; margin: 22px 0 12px; }
.member-admin-search label { flex: 1 1 340px; margin: 0; }
.member-admin-search input { margin-bottom: 0; }
.member-admin-search button { flex: 0 0 auto; }
.member-admin-summary { color: #415a48; }
.member-admin-table table { width: 100%; min-width: 1100px; table-layout: fixed; }
.member-admin-table th:first-child { width: 100px; }
.member-admin-table th:nth-child(2) { width: 25%; }
.member-admin-table th:nth-child(3) { width: 20%; }
.member-admin-table th:nth-child(4) { width: 22%; }
.member-admin-app { line-height: 1.4; overflow-wrap: anywhere; }
.member-admin-app strong { color: #31593c; }
.member-admin-app-note { max-width: 90ch; color: #52634f; font-size: .9rem; line-height: 1.5; }
.member-admin-table td { vertical-align: middle; padding-block: 16px; }
.member-admin-photo img { display: block; width: 84px; height: 84px; object-fit: contain; border-radius: 10px; background: #edf1e7; }
.member-admin-name { display: block; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.member-admin-email { display: block; margin-top: 8px; font-size: .93rem; line-height: 1.4; overflow-wrap: anywhere; }
.member-admin-role { display: block; margin-top: 4px; color: #52634f; font-size: .9rem; font-weight: 600; line-height: 1.4; }
.member-admin-identity small { display: block; margin-top: 4px; }
.member-admin-details span, .member-admin-registrations span { display: block; line-height: 1.5; overflow-wrap: anywhere; }
.member-admin-registered { margin-top: 8px; font-size: .93rem; }
.member-admin-registered time { white-space: nowrap; font-variant-numeric: tabular-nums; }
.member-admin-message.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  min-height: 32px;
  margin-top: 8px;
  padding: 4px 8px;
  font-size: .95rem;
  line-height: 1.35;
  white-space: normal;
  text-align: center;
}
.member-admin-message.button::after {
  content: "";
  position: absolute;
  inset: -7px 0;
}
.member-admin-pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 18px; margin-top: 22px; }
@media (max-width: 700px) {
  .member-admin-table table { min-width: 1000px; }
  .member-admin-table th:first-child { width: 78px; }
  .member-admin-photo img { width: 64px; height: 64px; }
  .member-admin-search { align-items: stretch; }
}

.walk-date { display: inline-block; }
.walk-date .walk-weekday, .walk-date .walk-calendar-date { display: block; }
.walk-date .walk-weekday { color: inherit; font-weight: 700; line-height: 1.35; margin-bottom: 3px; }
.walk-date .walk-calendar-date { color: inherit; line-height: 1.45; }

/* The current account stays visible without exposing it on an anonymous page. */
.session-identity { display:flex; align-items:center; justify-content:flex-end; gap:10px; min-width:0; max-width:100%; color:inherit; text-decoration:none; text-align:left; }
.session-identity > img { flex:0 0 48px; width:48px; height:48px; object-fit:cover; border-radius:50%; border:2px solid #b7c6b1; background:#edf1e7; }
.session-identity-copy { display:grid; gap:2px; min-width:0; max-width:220px; }
.session-identity-copy strong { font-size:1rem; line-height:1.25; font-weight:750; overflow-wrap:anywhere; }
.session-identity-role { font-size:.88rem; line-height:1.3; font-weight:600; color:#45624c; }
.session-identity:has(.session-identity-role) { text-underline-offset:4px; }
.session-identity:focus-visible { outline:3px solid #315d3f; outline-offset:4px; border-radius:6px; }
.header-account { display:grid; justify-items:end; align-content:center; gap:6px; min-width:0; max-width:100%; }
.work-account-nav.has-account { display:grid; justify-items:end; gap:8px; max-width:360px; }
.header-account .account-menu { display:flex; flex-wrap:wrap; align-items:center; justify-content:flex-end; gap:4px 16px; max-width:100%; }
.header-account .account-menu a, .header-account .account-menu button { min-height:40px; display:flex; align-items:center; font:600 .9rem/1.3 system-ui,sans-serif; color:inherit; }
.header-account .account-menu a { text-underline-offset:4px; }
.header-account .navigation-signout { display:flex; align-items:center; margin:0; }
.header-account .navigation-signout button { padding:8px 0; border:0; border-radius:0; background:transparent; text-decoration:underline; text-underline-offset:4px; cursor:pointer; }
.header-account .account-menu a:focus-visible, .header-account .account-menu button:focus-visible { outline:3px solid #315d3f; outline-offset:4px; }

.header-inner.has-session { grid-template-columns:auto minmax(0,1fr) minmax(240px,360px); gap:20px; padding-block:10px; }
.header-inner.has-session .site-nav { justify-content:center; flex-wrap:wrap; align-content:center; gap:6px 22px; min-height:60px; }
.header-inner.has-session .site-nav a { min-height:38px; }
.bar.has-session { height:auto; min-height:94px; gap:12px 24px; padding-block:10px; }
.bar.has-session .header-account { max-width:70%; }
.bar.has-session .account-menu { justify-content:flex-end; }
@media (max-width:1050px) {
  .header-inner.has-session { grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:8px 16px; }
  .header-inner.has-session .site-nav { grid-row:2; grid-column:1 / -1; border-top:1px solid #d8dfd1; min-height:44px; padding-top:6px; }
}
@media (max-width:650px) {
  .header-inner.has-session .brand { min-width:0; max-width:100%; width:auto; }
  .header-inner.has-session .brand span { font-size:clamp(1.05rem,4.5vw,1.4rem); white-space:normal; }
  .header-inner.has-session .brand img { width:32px; height:32px; }
  .session-identity { gap:7px; }
  .session-identity > img { width:40px; height:40px; flex-basis:40px; }
  .session-identity-copy strong { font-size:.95rem; }
  .session-identity-role { font-size:.88rem; }
  .bar.has-session { display:grid; grid-template-columns:minmax(0,1fr); gap:10px; }
  .bar.has-session > .brand { font-size:22px; }
  .bar.has-session .header-account { width:100%; max-width:none; }
  .bar.has-session .account-menu { justify-content:flex-end; gap:4px 16px; }
  .bar.has-session .account-menu a, .bar.has-session .account-menu button { min-height:40px; display:flex; align-items:center; }
}

/* Event identity belongs to the main column, beside the compact signup rail. */
.information > section.organizer-event-identity {
  margin-top: 26px;
  margin-bottom: 26px;
  padding: 25px 24px;
  border: 1px solid #d4decb;
  border-radius: 20px;
  background: #e5eddf;
}

.organizer-event-identity .organizer-identity {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 22px;
}

.organizer-event-identity .organizer-group,
.organizer-event-identity .organizer-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.organizer-event-identity .organizer-identity .organizer-label {
  margin: 0 0 13px;
  font: 700 1rem/1.3 system-ui, sans-serif;
}

.organizer-event-identity .organizer-group h2 {
  margin: 0 0 18px;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  line-height: 1.2;
}

.organizer-event-identity .organizer-identity .group-symbol {
  width: min(100%, 286px);
  height: 165px;
  max-height: none;
  object-fit: contain;
  margin: 0;
}

.organizer-event-identity .organizer-group a.organizer-facebook-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-sizing: border-box;
  min-height: 44px;
  max-width: 100%;
  margin-top: 14px;
  padding: 8px 14px;
  border: 1px solid #6f8b70;
  border-radius: 8px;
  color: #263f32;
  font: 650 .9rem/1.35 system-ui, sans-serif;
  text-decoration: none;
  text-wrap: balance;
}

.organizer-facebook-icon {
  flex: none;
}

.organizer-event-identity .organizer-group a.organizer-facebook-link:hover {
  background: #d7e4d4;
}

.organizer-event-identity .organizer-group a.organizer-facebook-link:focus-visible {
  outline: 2px solid #263f32;
  outline-offset: 3px;
}

.organizer-event-identity .organizer-identity .organizer-person {
  margin: 0;
  padding: 0 0 0 22px;
  border: 0;
  border-left: 1px solid #bdc9b5;
  border-radius: 0;
  background: transparent;
}

.organizer-event-identity .organizer-person .organizer-portrait {
  flex: 0 0 auto;
  width: min(100%, 158px);
  height: auto;
  margin: 0 0 12px;
}

.organizer-event-identity .organizer-person p {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.4;
}

.organizer-event-identity .organizer-person .organizer-profile-link {
  margin: 6px 0 0;
  font-size: 1rem;
}

.layout > .event-sidebar {
  display: grid;
  align-content: start;
  gap: 23px;
  min-width: 0;
  width: 100%;
}

.event-sidebar > .signup {
  order: 0;
  min-width: 0;
  width: auto;
  margin: 0;
}

.event-sidebar > .event-recent-participants {
  min-width: 0;
  margin: 0;
  padding: 20px 14px;
  border: 1px solid #d4dacb;
  border-radius: 18px;
  background: #fffdf6;
}

.event-recent-participants h2 {
  margin: 0 0 16px;
  font-size: clamp(1.35rem, 2.3vw, 1.75rem);
  line-height: 1.2;
}

.event-sidebar .event-recent-participants .recent-walk-preview {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
}

.event-recent-participants .recent-walk-preview > li {
  min-width: 0;
}

.event-recent-participants .recent-participant-card {
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 4px;
  border: 1px solid #cbd3c4;
  border-radius: 9px;
  background: #fffef9;
}

.event-recent-participants .recent-participant-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 5px;
}

.event-recent-participants .recent-participant-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event-recent-participants .recent-participant-card figcaption {
  min-height: 0;
  padding: 8px 0 4px;
  text-align: center;
}

.event-recent-participants .recent-participant-name {
  display: block;
  min-width: 0;
  min-height: 2.7em;
  color: #263f32;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
  word-break: normal;
}

.event-recent-participants .recent-participant-points {
  display: block;
  margin: 4px 0 0;
  color: #52634f;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
  overflow-wrap: anywhere;
}

.event-recent-participants > .button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  text-align: center;
  white-space: normal;
}

@media (max-width: 650px) {
  .information > section.organizer-event-identity {
    padding: 22px 14px;
  }

  .organizer-event-identity .organizer-identity {
    gap: 12px;
  }

  .organizer-event-identity .organizer-identity .organizer-person {
    padding-left: 12px;
  }

  .organizer-event-identity .organizer-person .organizer-portrait {
    width: min(100%, 123px);
  }

  .event-sidebar > .event-recent-participants {
    padding: 20px 16px;
  }
}

@media (max-width: 420px) {
  .organizer-event-identity .organizer-identity {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .organizer-event-identity .organizer-identity .organizer-person {
    padding: 22px 0 0;
    border-left: 0;
    border-top: 1px solid #bdc9b5;
  }
}
.member-points,
.member-admin-points {
  display: block;
  margin-block: .25rem;
  color: #315c3f;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.4;
}
.personal-image-card .member-points,
.personal-page-identity .personal-points {
  text-align: center;
}
.recent-participant-card .recent-participant-points {
  display: block;
  margin-top: .35rem;
  color: #315c3f;
  font-size: .9rem;
  font-weight: 700;
  text-align: center;
}
