.club-announcements { display: grid; gap: 16px; padding-bottom: clamp(32px, 5vw, 58px); }
.club-announcements h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); letter-spacing: -.035em; }
.club-announcements article { display: grid; gap: 7px; padding: clamp(17px, 3vw, 25px); background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow-wrap: anywhere; }
.club-announcements time { font-size: .82rem; color: var(--muted); }
.club-announcements h3, .announcement-form h3, .announcement-list h3 { margin: 0; }
.club-announcements p { white-space: pre-wrap; line-height: 1.65; }
.announcement-form { padding: 16px 17px; border-top: 1px solid var(--line); }
.announcement-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.announcement-list { list-style: none; padding: 0; margin: 0; }
.announcement-list li { display: flex; gap: 14px; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding: 14px 17px; overflow-wrap: anywhere; }
.announcement-list li div { display: grid; gap: 5px; justify-items: start; }
.announcement-list h3 { font-size: .95rem; }
.announcement-feedback { margin: 0 17px 14px; }
.event-flyer {
  display: grid;
  justify-items: start;
  justify-self: start;
  gap: 7px;
  max-width: 100%;
  margin-top: 5px;
  color: var(--green);
  text-decoration: none;
}
.event-flyer img {
  display: block;
  max-width: min(100%, 420px);
  max-height: 360px;
  width: auto;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.event-flyer-label { display: inline-flex; align-items: center; gap: 6px; font-size: .82rem; font-weight: 700; }
.event-flyer:hover .event-flyer-label { text-decoration: underline; }
.club-calendar { display: grid; gap: 16px; padding-bottom: clamp(32px, 5vw, 58px); }
.club-calendar h2 { font-size: clamp(1.35rem, 3vw, 1.9rem); letter-spacing: -.035em; }
.club-calendar header .field-note { margin-top: 5px; }
.club-calendar article { display: grid; gap: 8px; padding: clamp(17px, 3vw, 25px); background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow-wrap: anywhere; }
.club-calendar h3, .calendar-form h3, .calendar-list h3 { margin: 0; }
.calendar-schedule { color: var(--muted); font-size: .82rem; line-height: 1.4; }
.calendar-location { display: flex; align-items: baseline; gap: 7px; color: var(--muted); font-size: .9rem; }
.calendar-location svg { align-self: center; }
.calendar-description { white-space: pre-wrap; line-height: 1.65; }
.calendar-form { padding: 16px 17px; border-top: 1px solid var(--line); }
.calendar-dates + .field-note { margin-top: -10px; }
.calendar-flyer-editor, .calendar-publication { display: grid; gap: 8px; }
.calendar-flyer-editor input[type='file'] { max-width: 100%; font-size: .83rem; }
.calendar-flyer-preview { display: block; max-width: 100%; max-height: 320px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; }
.calendar-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.calendar-list { list-style: none; padding: 0; margin: 0; }
.calendar-list > li { border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.calendar-event-row { display: flex; gap: 14px; justify-content: space-between; align-items: center; padding: 14px 17px; }
.calendar-event-summary { display: grid; gap: 5px; justify-items: start; }
.calendar-event-summary h3 { font-size: .95rem; }
.calendar-feedback { margin: 0 17px 14px; }

@media (max-width: 580px) {
  .calendar-dates { grid-template-columns: 1fr; }
  .calendar-event-row { align-items: flex-start; flex-wrap: wrap; }
}
.legal-footer, .legal-links { display: flex; flex-wrap: wrap; align-items: baseline; }
.legal-links { gap: 8px 18px; }
.legal-links a { text-underline-offset: 3px; }
.legal-content.site-container { width: min(730px, calc(100% - 36px)); padding-block: clamp(26px, 6vw, 66px); }
.legal-content h1 { margin-bottom: 14px; font-size: clamp(1.8rem, 4.8vw, 3rem); letter-spacing: -.04em; }
.legal-content > p, .legal-text { line-height: 1.65; overflow-wrap: anywhere; }
.legal-version { color: var(--muted); font-size: .87rem; }
.legal-provider { margin-block: 22px 26px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.legal-provider h2 { font-size: 1rem; }
.legal-provider dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 5px 13px; margin: 12px 0 0; font-size: .88rem; line-height: 1.5; }
.legal-provider dt { font-weight: 650; }
.legal-provider dd { margin: 0; white-space: pre-line; overflow-wrap: anywhere; }
.legal-text p { white-space: pre-line; }
.legal-text p + p { margin-top: 14px; }
.member-privacy, .login-card > .member-privacy { margin-top: 15px; color: var(--muted); font-size: .85rem; line-height: 1.5; }
.club-privacy-settings { margin-top: 17px; }
.club-privacy-settings > h2 { margin-bottom: 16px; font-size: 1.04rem; }
.club-privacy-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.club-privacy-actions a { color: var(--green); font-size: .87rem; }
.signup-page { background: #f7f7f6; }
.login-card.signup-card { width: min(100%, 580px); box-shadow: 0 12px 45px #19191b0c; }
.signup-card fieldset { min-width: 0; display: grid; gap: 12px; margin: 0; padding: 0; border: 0; }
.signup-card legend { padding: 0; margin-bottom: 9px; font-weight: 700; }
.signup-passwords { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.signup-card .signup-status { margin-top: 16px; }
.signup-card .field-note { line-height: 1.45; }
.signup-card input[type='file'] { max-width: 100%; font-size: .83rem; }
.signup-status-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.signup-submit { color: #fff; background: var(--range-red); }
.signup-submit:hover:enabled, a.signup-submit:hover { background: #981422; }

@media (max-width: 500px) {
  .signup-passwords { grid-template-columns: 1fr; }
}
.mailbox-heading { flex-wrap: wrap; }
.mailbox-address { display: flex; align-items: center; gap: 9px; min-width: 0; font-weight: 700; }
.mailbox-address span { overflow-wrap: anywhere; }
.mailbox-address svg { color: var(--green); }
.mailbox-note { padding: 0 17px 13px; color: var(--muted); font-size: .87rem; }
.mail-folders { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; padding: 9px 17px; background: var(--paper); border-block: 1px solid var(--line); }
.mail-folders .button { min-height: 39px; padding-inline: 10px; }
.mail-folders [aria-pressed="true"] { color: var(--green-dark); background: var(--mint); border-color: #bfd0c1; }
.mail-refresh { margin-left: auto; }
.mail-list { padding-inline: 17px; }
.mail-message + .mail-message { border-top: 1px solid var(--line); }
.mail-message summary { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 12px 5px; cursor: pointer; list-style: none; }
.mail-message summary::-webkit-details-marker { display: none; }
.mail-message summary:hover { color: var(--green); }
.mail-chevron { color: var(--muted); }
.mail-message[open] .mail-chevron { transform: rotate(90deg); }
.mail-summary-text { display: grid; gap: 3px; min-width: 0; font-size: .9rem; }
.mail-summary-text > span, .mail-message time { color: var(--muted); font-size: .82rem; }
.mail-summary-text > * { overflow-wrap: anywhere; }
.mail-message time { white-space: nowrap; }
.mail-message-content, .mail-draft { padding: 15px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.mail-message-content { display: grid; justify-items: start; gap: 12px; margin-bottom: 12px; }
.mail-message-body { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.6; font-size: .92rem; }
.mail-load-error { margin-bottom: 14px; }
.mail-composer { display: grid; gap: 14px; }
.mail-composer h2 { margin-top: 7px; font-size: 1.35rem; }
.mail-recipient { display: flex; flex-wrap: wrap; gap: 5px 9px; color: var(--muted); font-size: .88rem; overflow-wrap: anywhere; }
.mail-recipient strong { color: var(--ink); }
.mail-draft h3 { margin: 0 0 9px; overflow-wrap: anywhere; }

@media (max-width: 540px) {
  .mailbox-heading, .mailbox-note, .mail-folders, .mail-list { padding-inline: 12px; }
  .mail-message summary { grid-template-columns: auto minmax(0, 1fr) auto; gap: 5px 8px; }
  .mail-message time { grid-column: 2 / -1; }
}
.member-import-content { display: grid; gap: 16px; padding: 0 17px 17px; }
.member-import-form, .member-import-preview { display: grid; gap: 12px; justify-items: start; }
.member-import-form > p, .member-import-preview > p { margin: 0; }
.member-import-form label { display: grid; gap: 6px; width: min(100%, 28rem); font-weight: 600; }
.member-import-form input { width: 100%; min-width: 0; }
.member-import-preview .table-scroll { width: 100%; border: 1px solid var(--line); border-radius: 8px; }
.member-import-table td, .member-import-table th { white-space: normal; overflow-wrap: anywhere; }
.member-import-table ul { margin: 0; padding-inline-start: 1.15rem; }

@media (max-width: 650px) {
  .member-import-content { padding-inline: 12px; }
}
.renewal-review {
  display: grid;
  gap: 13px;
  min-width: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.renewal-review legend { padding: 0 6px; font-weight: 700; }
.renewal-review-items { display: grid; gap: 10px; }
.renewal-review-items h4 { margin: 4px 0 0; }
.renewal-review-line { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 5px 15px; margin: 0; }
.renewal-preview-lines { margin: 5px 0 0; padding-left: 16px; }
.renewal-blocked-list { margin: 0; padding: 0 0 0 20px; }
.renewal-blocked-list li + li { margin-top: 5px; }
.quota-form > .renewal-rule-settings { max-width: 760px; }
.renewal-rule-settings,
.renewal-rule-group,
.renewal-rule-card,
.renewal-option,
.renewal-options,
.renewal-rule-editor { display: grid; min-width: 0; }
.renewal-rule-settings { gap: 10px; margin: 0; padding: 13px 0 0; border: 0; border-top: 1px solid var(--line); }
.renewal-rule-settings legend { padding-right: 8px; font-weight: 700; }
.renewal-rule-editor { gap: 16px; }
.renewal-rule-editor > label { width: min(100%, 270px); }
.renewal-rule-group { gap: 9px; padding-top: 12px; border-top: 1px solid var(--line); }
.renewal-rule-group h4 { margin: 0; font-size: .92rem; }
.renewal-rule-group .field-note { margin: 0; }
.renewal-rule-card,
.renewal-option { gap: 10px; margin: 0; padding: 9px 11px 11px; border: 1px solid var(--line); border-radius: 8px; }
.renewal-rule-card > legend,
.renewal-option > legend { padding-inline: 5px; font-size: .8rem; }
.renewal-rule-card > label { max-width: 450px; }
.renewal-rule-card > label > .field-note { margin-top: 4px; }
.renewal-options { gap: 8px; }
.renewal-check-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; }
.renewal-check-row label { flex: 1 1 180px; }
.renewal-check-row button { padding-bottom: 9px; }
.renewal-add,
.renewal-remove,
.renewal-option > button { justify-self: start; min-height: 26px; }
.quota-workspace { display: grid; gap: 16px; min-width: 0; }
.quota-nav { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 1px solid var(--line); }
.quota-nav button { padding: 10px 12px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font: inherit; font-size: .88rem; font-weight: 650; }
.quota-nav button:hover { color: var(--ink); }
.quota-nav button[aria-pressed='true'] { color: var(--green); border-color: currentColor; }
.quota-surface { min-width: 0; }
.quota-heading { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.quota-heading .field-note { margin-top: 4px; }
.quota-form { border-top: 1px solid var(--line); max-width: none; padding: 17px; }
.quota-form > * { max-width: 590px; }
.quota-form textarea { min-height: 78px; }
.quota-day { width: 84px; }
.quota-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.quota-surface > .feedback { margin-inline: 17px; }
.quota-plan-name { min-width: 155px; overflow-wrap: anywhere; }
.quota-plan-name .field-note { display: block; margin-top: 3px; }
.quota-filter { padding: 12px 17px; border-top: 1px solid var(--line); }
.quota-filter label { display: block; max-width: 280px; font-size: .88rem; font-weight: 650; }
.quota-preview { border-top: 1px solid var(--line); }
.quota-preview-summary { padding: 13px 17px; }

@media (max-width: 540px) {
  .quota-nav { gap: 3px; }
  .quota-nav button { padding-inline: 8px; }
  .quota-form .form-columns { grid-template-columns: 1fr; }
}
.manager-guide { font-size: .9rem; line-height: 1.5; }
.manager-guide-overview { margin-bottom: 20px; }
.manager-guide summary { padding: 12px 17px; cursor: pointer; color: var(--ink); font-weight: 700; }
.manager-guide ol { margin: 0; padding: 0 17px 14px 38px; color: var(--muted); }
.manager-guide li + li { margin-top: 6px; }
.manager-guide a { font-weight: 700; }
.manager-field-help { margin-top: 5px; }
.member-dues { margin-bottom: 16px; }
.member-dues h3 { margin: 18px 0 6px; font-size: .98rem; }
.member-dues h4 { margin: 0; font-size: .91rem; overflow-wrap: anywhere; }
.member-dues .feedback { margin-top: 12px; }
.member-dues-empty { margin-top: 6px; color: var(--muted); font-size: .88rem; }
.member-dues-list { margin: 0; padding: 0; list-style: none; }
.member-dues-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding-block: 11px;
  border-top: 1px solid var(--line);
}
.member-dues-list p { margin-top: 4px; color: var(--muted); font-size: .82rem; overflow-wrap: anywhere; }
.member-dues-description { white-space: pre-line; }
.member-dues-value { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; white-space: nowrap; }
.member-dues-value strong { font-size: .89rem; font-variant-numeric: tabular-nums; }
.member-dues-breakdown { margin-top: 7px; font-size: .82rem; }
.member-dues-breakdown summary { cursor: pointer; width: fit-content; }
.member-dues-breakdown dl { display: grid; gap: 4px; margin: 6px 0 0; }
.member-dues-breakdown dl div { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.member-dues-breakdown dt { overflow-wrap: anywhere; }
.member-dues-breakdown dd { margin: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.member-events { display: grid; gap: 16px; margin-bottom: 16px; }
.member-events-heading, .member-events-list li { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.member-events-heading { align-items: center; flex-wrap: wrap; }
.member-events-heading + .field-note, .member-events-empty { margin-top: 8px; }
.member-events-preference { display: grid; gap: 5px; margin-block: 12px; }
.member-events-empty, .member-events-list li p { font-size: .9rem; }
.member-events-empty, .member-events-list time { color: var(--muted); }
.member-events-list { margin: 14px 0 0; padding: 0; list-style: none; }
.member-events-list li { padding-block: 13px; border-top: 1px solid var(--line); overflow-wrap: anywhere; }
.member-events-list li:last-child { padding-bottom: 0; }
.member-events-list li div { display: grid; gap: 5px; min-width: 0; }
.member-events-list li h3 { margin: 0; font-size: .96rem; }
.member-events-list li button { flex-shrink: 0; }
.member-event-link { justify-self: start; }
.member-events-list time { font-size: .82rem; }
.member-event-description { white-space: pre-wrap; }

@media (max-width: 520px) {
  .member-events-list li { flex-direction: column; gap: 8px; }
}
.operator-page, .platform-auth { --green: #a61725; --green-dark: #82121c; }
.operator-page { min-height: 100vh; }
.operator-content { padding-block: 34px 56px; }
.operator-account { display: flex; align-items: center; gap: 12px; min-width: 0; }
.operator-account span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: .85rem; }
.operator-page .metric-icon { background: #f9e8e9; }
.operator-section + .operator-section { margin-top: 18px; }
.operator-list, .operator-documents { margin: 0; padding: 0; list-style: none; }
.operator-list li {
  display: grid;
  grid-template-columns: minmax(0, 1.8fr) minmax(85px, .7fr) minmax(0, 1fr) 126px;
  gap: 14px;
  align-items: center;
  padding: 14px 17px;
  border-top: 1px solid var(--line);
}
.operator-list .pill { justify-self: start; }
.operator-record { display: grid; gap: 3px; overflow-wrap: anywhere; }
.operator-record span, .operator-record time, .operator-member-count { color: var(--muted); font-size: .84rem; }
.operator-item-action { justify-self: end; }
.operator-documents { display: grid; gap: 8px; }
.operator-documents a { justify-content: flex-start; white-space: normal; width: 100%; }
.operator-limit { padding: 10px 17px; border-top: 1px solid var(--line); }

@media (max-width: 690px) {
  .operator-content { padding-block: 22px 36px; }
  .operator-list li { grid-template-columns: minmax(0, 1fr) auto; align-items: start; gap: 9px 12px; padding-inline: 12px; }
  .operator-list .pill { justify-self: end; }
}

@media (max-width: 435px) {
  .operator-account span { display: none; }
}
:root {
  font-family: Inter, "Adwaita Sans", Arial, sans-serif;
  color: #192b23;
  background: #f6f7f3;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #192b23;
  --muted: #55665e;
  --line: #dde4dc;
  --white: #fff;
  --paper: #f6f7f3;
  --green: #25533e;
  --green-dark: #173c2c;
  --mint: #e8f1e7;
  --club-accent: #347d60;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-width: 280px; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .58; cursor: not-allowed; }
h1, h2, p { margin: 0; }
svg { flex-shrink: 0; }
:focus-visible { outline: 3px solid #43846c; outline-offset: 3px; }
html { scroll-behavior: smooth; }

.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus { position: fixed; z-index: 10; top: 12px; left: 12px; padding: 12px 16px; color: white; background: var(--green-dark); border-radius: 6px; }
.nowrap { white-space: nowrap; }
.tabular { font-variant-numeric: tabular-nums; }

.button {
  display: inline-flex;
  min-height: 43px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 15px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .15s, border-color .15s;
}
.button-primary { color: white; background: var(--green); }
.button-primary:hover:enabled, a.button-primary:hover { background: var(--green-dark); }
.button-outline { background: white; color: var(--ink); border-color: var(--line); }
.button-outline:hover { background: var(--mint); border-color: #c3d5ca; }
.button-light { color: #173c2c; background: #f4f8e9; padding: 11px 17px; }
.button-light:hover { background: #fff; }
.icon-button { display: inline-grid; flex-shrink: 0; place-items: center; width: 37px; height: 37px; border: 0; background: transparent; border-radius: 7px; color: var(--muted); }
.icon-button:hover { color: var(--ink); background: var(--mint); }
.text-button { display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; color: var(--green); background: transparent; font-size: .82rem; font-weight: 700; text-decoration: none; }
.text-button:hover, .back-link:hover { text-decoration: underline; }

.club-mark {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: inline-grid;
  place-items: center;
  border-radius: 11px;
  background: color-mix(in srgb, var(--club-accent) 45%, #122b21);
  color: #f4f8e9;
}
.club-mark svg { width: 23px; height: 23px; }

.public-site { min-height: 100vh; display: flex; flex-direction: column; background: #f7f7ef; }
.site-container { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.site-header { min-height: 83px; display: grid; align-items: center; border-bottom: 1px solid #e3e7db; }
.site-header-inner, .site-header nav, .club-brand { display: flex; align-items: center; }
.site-header-inner { justify-content: space-between; gap: 24px; }
.site-header nav { gap: 29px; }
.club-brand { gap: 11px; text-decoration: none; line-height: 1.15; }
.club-brand strong { max-width: 300px; overflow-wrap: anywhere; }
.site-nav-link { text-decoration: none; color: var(--muted); font-size: .91rem; font-weight: 600; white-space: nowrap; }
.site-nav-link:hover { color: var(--ink); text-decoration: underline; }
.site-header .button { background: transparent; }
.site-header .button:hover { background: white; }
.site-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(0, 1fr);
  min-height: 420px;
  margin-top: 30px;
  color: #f5f8ef;
  background: color-mix(in srgb, var(--club-accent) 32%, #132c23);
  border-radius: 21px;
  overflow: hidden;
}
.hero-copy { padding: clamp(35px, 6vw, 77px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.hero-location { display: flex; align-items: center; gap: 7px; margin-bottom: 18px; color: #e0ede0; font-size: .87rem; font-weight: 650; }
.hero-copy h1 { max-width: 13ch; font-size: clamp(2.3rem, 4.9vw, 4.6rem); line-height: .99; letter-spacing: -.062em; text-wrap: balance; overflow-wrap: anywhere; }
.hero-tagline { max-width: 37ch; margin: 19px 0 0; color: #e0ede0; line-height: 1.55; font-size: 1.04rem; overflow-wrap: anywhere; }
.hero-copy .button { margin-top: 26px; }
.hero-visual {
  isolation: isolate;
  display: grid;
  place-items: center;
  overflow: hidden;
  position: relative;
  min-height: 230px;
  background:
    repeating-linear-gradient(150deg, transparent 0 24px, #f4f8e913 25px, transparent 26px),
    radial-gradient(circle at 64% 38%, color-mix(in srgb, var(--club-accent) 70%, #d6e4a5), color-mix(in srgb, var(--club-accent) 60%, #162e25) 72%);
}
.hero-ring { position: absolute; aspect-ratio: 1; border-radius: 50%; border: 1px solid #f4f8e964; }
.hero-ring-outer { width: 82%; }
.hero-ring-middle { width: 66%; }
.hero-ring-inner { width: 50%; }
.hero-compass { width: 29%; height: auto; opacity: .73; }
.site-details { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(25px, 7vw, 92px); padding: 50px 0 60px; }
.about-section { padding: 11px 0; }
.about-section h2 { font-size: clamp(1.65rem, 3vw, 2.3rem); letter-spacing: -.045em; margin-bottom: 13px; }
.about-section p { max-width: 65ch; color: var(--muted); line-height: 1.7; white-space: pre-line; overflow-wrap: anywhere; }
.contact-panel { align-self: start; border: 1px solid #e0e6da; border-radius: 13px; padding: 24px; background: #fcfdf8; }
.contact-panel h2 { font-size: 1.16rem; margin-bottom: 14px; }
.contact-panel a, .contact-panel p { display: flex; align-items: center; gap: 10px; font-size: .9rem; line-height: 1.5; color: var(--muted); }
.contact-panel a + p { margin-top: 13px; }
.contact-panel a span, .contact-panel p span { overflow-wrap: anywhere; }
.contact-panel a { text-decoration: none; color: var(--green); }
.contact-panel a:hover { text-decoration: underline; }
.contact-panel a svg:last-child { margin-left: auto; }
.site-footer { margin-top: auto; border-top: 1px solid #e1e6d9; color: var(--muted); font-size: .87rem; }
.site-footer > div { display: flex; justify-content: space-between; gap: 15px; padding-block: 19px; }

.login-page, .standalone-state { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 24px; }
.login-page { background: radial-gradient(ellipse at 35% 10%, #e7eee1, var(--paper) 53%); }
.login-brand { display: flex; align-items: center; gap: 10px; text-align: center; }
.login-card { width: min(100%, 420px); padding: clamp(24px, 5vw, 39px); background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 12px 45px #223f2810; }
.login-card h1 { margin-bottom: 8px; font-size: 1.65rem; letter-spacing: -.045em; }
.login-card > p, .standalone-state p { color: var(--muted); font-size: .93rem; line-height: 1.5; }
.login-card form { margin-top: 23px; display: grid; gap: 17px; }
.login-card .button { justify-content: space-between; }
.login-card > .feedback, .auth-link { margin-top: 14px; }
.context-help { color: var(--muted); font-size: .86rem; line-height: 1.5; }
.context-help summary { width: fit-content; color: var(--green-dark); font-weight: 650; cursor: pointer; }
.context-help p, .context-help ul { margin-top: 8px; }
.context-help ul { margin-bottom: 0; padding-inline-start: 1.2rem; }
.context-help li + li { margin-top: 4px; }
.login-card .context-help { margin-top: 14px; }
.login-card .auth-recommendation { margin-bottom: 10px; }
.auth-recommendation strong { color: var(--ink); }
.member-help { margin-bottom: 18px; }
.member-dues .context-help { margin-top: 10px; }
.auth-options { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.auth-key { padding: 12px; margin-top: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; }
.auth-key code { display: block; margin: 6px 0 10px; overflow-wrap: anywhere; user-select: all; }
.auth-qr { display: grid; justify-items: center; gap: 5px; margin: 12px 0 0; }
.auth-qr svg { width: min(170px, 100%); height: auto; border: 1px solid var(--line); border-radius: 8px; }
.auth-copy { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.recovery-codes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 140px), 1fr)); gap: 8px; list-style: none; margin: 16px 0; padding: 12px; background: var(--paper); border-radius: 8px; }
.recovery-codes code { overflow-wrap: anywhere; user-select: all; }
.member-content { width: min(710px, calc(100% - 32px)); padding-block: 36px 48px; }
.member-content h2 { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; }
.member-settings { margin-top: 15px; display: grid; gap: 12px; }
.member-settings .feedback { margin: 0; }
.member-security { margin-top: 16px; }
.member-security > .field-note, .member-security > .context-help { margin-top: 9px; }
.back-link { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-size: .86rem; color: var(--muted); }
.standalone-state { gap: 12px; text-align: center; }
.standalone-state h1 { font-size: 1.7rem; }
.spinner { animation: rotate .8s linear infinite; }
@keyframes rotate { to { transform: rotate(360deg); } }

.dashboard { min-height: 100vh; display: grid; grid-template-columns: 236px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; height: 100dvh; display: flex; flex-direction: column; background: #fdfefa; border-right: 1px solid var(--line); }
.dashboard-brand { display: flex; align-items: center; min-height: 73px; gap: 11px; padding: 13px 17px; text-decoration: none; }
.dashboard-brand strong, .dashboard-brand small { display: block; }
.dashboard-brand strong { font-size: .94rem; line-height: 1.17; overflow-wrap: anywhere; }
.dashboard-brand small { margin-top: 4px; color: var(--muted); font-size: .75rem; }
.dashboard-nav { padding: 18px 12px; display: grid; gap: 6px; }
.dashboard-nav a { display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 8px; color: var(--muted); font-size: .9rem; text-decoration: none; white-space: nowrap; font-weight: 600; }
.dashboard-nav a:hover { background: #f0f4ed; color: var(--ink); }
.dashboard-nav a.selected { background: var(--mint); color: var(--green-dark); font-weight: 750; }
.sidebar-footer { display: flex; align-items: center; gap: 8px; margin-top: auto; padding: 15px 11px; border-top: 1px solid var(--line); }
.account-name { min-width: 0; flex: 1; text-overflow: ellipsis; overflow: hidden; white-space: nowrap; font-size: .83rem; font-weight: 650; }
.avatar { display: inline-grid; flex-shrink: 0; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: #23533c; background: #e8f1e7; font-size: .73rem; font-weight: 750; }
.dashboard-topbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 64px; padding: 12px clamp(18px, 4vw, 54px); background: #fdfefa; border-bottom: 1px solid var(--line); font-size: .87rem; color: var(--muted); }
.dashboard-topbar a { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 650; }
.dashboard-topbar a:hover { text-decoration: underline; }
.dashboard-content { max-width: 1410px; margin-inline: auto; padding: 33px clamp(18px, 4vw, 54px) 64px; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.page-heading h1 { font-size: clamp(1.85rem, 3.5vw, 2.65rem); letter-spacing: -.055em; line-height: 1.07; }
.page-heading p { margin-top: 8px; color: var(--muted); font-size: .94rem; line-height: 1.55; }
.metrics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 22px; }
.metric, .surface { background: white; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 1px 2px #23382807; }
.metric { padding: 18px; }
.metric-label { display: flex; align-items: center; gap: 9px; color: var(--muted); }
.metric-label h2 { font-size: .89rem; font-weight: 650; }
.metric-icon { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 9px; background: #edf4ec; color: var(--green); }
.metric-value { margin-top: 11px; font-weight: 750; font-size: clamp(1.5rem, 2.5vw, 2.15rem); letter-spacing: -.045em; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.metric-note { margin-top: 5px; color: var(--muted); font-size: .81rem; }
.surface-heading { min-height: 62px; padding: 13px 17px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.surface-heading h2 { display: flex; align-items: center; gap: 7px; font-size: 1.02rem; }
.invite-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 17px; border-top: 1px solid var(--line); }
.invite-toolbar p, .invite-recipients span { color: var(--muted); font-size: .84rem; }
.invite-feedback { margin: 10px 17px; }
.invite-recipients { display: grid; gap: 9px; max-height: min(240px, 34vh); overflow: auto; list-style: none; margin: 0; padding: 12px; border: 1px solid var(--line); border-radius: 8px; }
.invite-recipients li { display: grid; gap: 3px; overflow-wrap: anywhere; }
.row-actions { display: flex; align-items: center; gap: 13px; }
.select-cell { width: 1%; padding-inline-end: 0; }
.count { display: inline-grid; place-items: center; min-width: 24px; height: 22px; padding-inline: 6px; color: var(--muted); background: #eff3ed; border-radius: 9px; font-size: .75rem; }
.table-scroll { overflow: auto; }
.table-scroll:focus-visible { outline-offset: -3px; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: .86rem; }
thead { background: #f8faf6; color: var(--muted); }
thead th { font-weight: 650; }
td, th { padding: 13px 16px; border-top: 1px solid #e7ede6; }
tbody th { font-weight: 700; }
tbody td { color: var(--muted); }
tbody tr:last-child > :first-child { border-bottom-left-radius: 12px; }
tbody tr:last-child > :last-child { border-bottom-right-radius: 12px; }
.member-name { display: inline-flex; align-items: center; gap: 9px; min-width: 145px; overflow-wrap: anywhere; }
.pill { display: inline-block; border-radius: 6px; padding: 4px 7px; font-size: .75rem; font-weight: 700; white-space: nowrap; }
.pill-green { color: #23533c; background: #e5f1e6; }
.pill-neutral { color: #485750; background: #eef0ec; }
.pill-red { color: #8c3027; background: #f8eae7; }
.pill-amber { color: #714b0a; background: #f7efdb; }
.payment-date { font-size: .78rem; }
.empty { padding: 25px 17px; color: var(--muted); font-size: .91rem; }
.search { display: flex; gap: 7px; align-items: center; padding: 4px 9px; border: 1px solid var(--line); border-radius: 7px; color: var(--muted); }
.search input { border: 0; width: min(145px, 100%); min-width: 0; min-height: 28px; padding: 0; font-weight: 400; background: transparent; color: var(--ink); }
.search:focus-within { outline: 2px solid #43846c; outline-offset: 2px; }
.search input:focus { outline: 0; }

form label { display: block; min-width: 0; color: var(--ink); font-size: .88rem; font-weight: 700; }
input, select, textarea { display: block; width: 100%; min-height: 42px; margin-top: 5px; padding: 9px 10px; border: 1px solid #cbd7ce; border-radius: 7px; background: white; color: var(--ink); font-weight: 400; }
textarea { min-height: 95px; resize: vertical; }
input[type='checkbox'] { width: 18px; height: 18px; min-height: 0; margin: 0; flex: 0 0 18px; accent-color: var(--green); }
form label.checkbox-label, .member-events-preference .checkbox-label { display: flex; align-items: flex-start; gap: 8px; }
.search input { margin-top: 0; }
.field-note { font-size: .77rem; font-weight: 500; color: var(--muted); }
input + .field-note { display: block; margin-top: 5px; }
.form-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.feedback { display: flex; align-items: flex-start; gap: 7px; border: 1px solid; border-radius: 8px; margin: 0 0 14px; padding: 10px 12px; font-size: .88rem; line-height: 1.45; }
.feedback-error { color: #8c3027; background: #fff3ef; border-color: #f2d3ca; }
.feedback-success { color: #205538; background: #eef7ed; border-color: #d1e7d1; }
.settings-form .feedback, .modal-form .feedback, .login-card .feedback { margin: 0; }
.settings-surface { padding: 20px; }
.settings-form { max-width: 640px; display: grid; gap: 16px; }
.color-field input { width: 70px; height: 42px; padding: 4px 7px; cursor: pointer; }

dialog { width: min(calc(100% - 24px), 490px); max-height: calc(100% - 24px); margin: auto; padding: 0; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: white; box-shadow: 0 24px 60px #192b2350; }
dialog::backdrop { background: #112b23a3; }
.modal-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 19px 12px; border-bottom: 1px solid var(--line); }
.modal-header h2 { font-size: 1.2rem; letter-spacing: -.025em; }
.modal-form { display: grid; gap: 15px; padding: 19px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.payment-confirm { color: var(--muted); line-height: 1.55; }
.payment-confirm strong { color: var(--ink); }

@media (max-width: 840px) {
  .site-container { width: calc(100% - 40px); }
  .dashboard { grid-template-columns: 188px minmax(0, 1fr); }
  .dashboard-content { padding-inline: 21px; }
  .dashboard-topbar { padding-inline: 21px; }
  .metrics { gap: 8px; }
  .metric { padding: 12px; }
}

@media (max-width: 690px) {
  .site-header { min-height: 67px; }
  .site-header-inner { gap: 8px; }
  .site-nav-link { display: none; }
  .site-hero { grid-template-columns: 1fr; margin-top: 16px; border-radius: 15px; }
  .hero-copy { padding: 31px 26px; }
  .hero-copy h1 { max-width: 16ch; }
  .hero-visual { min-height: 165px; }
  .hero-compass { max-width: 108px; }
  .site-details { grid-template-columns: 1fr; gap: 23px; padding: 26px 0 30px; }
  .about-section { padding: 0; }
  .dashboard { display: block; }
  .sidebar { display: grid; position: relative; height: auto; grid-template-columns: 1fr auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .dashboard-brand { min-height: 65px; padding: 10px 13px; }
  .dashboard-nav { grid-column: 1 / -1; grid-row: 2; display: flex; gap: 5px; overflow: auto; padding: 0 10px 9px; }
  .dashboard-nav a { gap: 6px; padding: 9px; font-size: .82rem; }
  .dashboard-nav svg { width: 16px; height: 16px; }
  .sidebar-footer { align-self: center; margin-top: 0; padding: 6px 9px 6px 0; border: 0; }
  .sidebar-footer .avatar, .account-name { display: none; }
  .dashboard-topbar { min-height: 42px; padding: 6px 13px; }
  .dashboard-content { padding: 20px 13px 40px; }
  .page-heading { align-items: flex-start; margin-bottom: 17px; }
  .page-heading p { font-size: .87rem; }
}

@media (max-width: 435px) {
  .site-container { width: calc(100% - 26px); }
  .club-brand strong { font-size: .86rem; }
  .site-header .button { gap: 4px; padding-inline: 7px; font-size: .76rem; }
  .site-header .button svg { width: 14px; height: 14px; }
  .hero-copy { padding: 25px 19px; }
  .metrics { grid-template-columns: 1fr; }
  .metric { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 8px; align-items: center; }
  .metric-note { grid-column: 1 / -1; padding-left: 43px; margin-top: 0; }
  .metric-value { margin: 0; }
  .page-heading { flex-wrap: wrap; gap: 10px; }
  .surface-heading { padding-inline: 12px; }
  .surface-heading h2 { font-size: .94rem; }
  .search { max-width: 135px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

.club-mark img { display: block; width: 100%; height: 100%; object-fit: contain; border-radius: inherit; background: #f5f8ef; }
.hero-visual-banner { background: color-mix(in srgb, var(--club-accent) 18%, #132c23); }
.hero-image { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }

.button, .icon-button, .text-button, .dashboard-nav a { position: relative; isolation: isolate; }
.button::after, .icon-button::after, .text-button::after, .dashboard-nav a::after {
  position: absolute;
  z-index: -1;
  top: 50%;
  right: 9px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: repeating-radial-gradient(circle at center, transparent 0 3px, currentColor 4px 4.5px, transparent 5px 6px);
  content: "";
  opacity: 0;
  pointer-events: none;
  transform: translateY(-50%) scale(.8);
  transition: opacity .16s, transform .16s;
}
.icon-button::after { right: calc(50% - 15px); }
.button:not(:disabled):is(:focus-visible, :active)::after,
.icon-button:not(:disabled):is(:focus-visible, :active)::after,
.text-button:not(:disabled):is(:focus-visible, :active)::after,
.dashboard-nav a:is(:focus-visible, :active)::after { opacity: .17; transform: translateY(-50%); }
.button:not(:disabled):active, .icon-button:not(:disabled):active { box-shadow: inset 0 0 0 2px color-mix(in srgb, currentColor 18%, transparent); }
@media (hover: hover) {
  .button:not(:disabled):hover::after, .icon-button:not(:disabled):hover::after,
  .text-button:not(:disabled):hover::after, .dashboard-nav a:hover::after { opacity: .12; transform: translateY(-50%); }
}

.landing {
  --ink: #19191b;
  --muted: #55555c;
  --line: #dddddf;
  --mint: #f3f3f4;
  --range-red: #b61928;
  color: var(--ink);
  background: #f7f7f6;
}
.landing :focus-visible { outline-color: var(--range-red); }
.landing .skip-link:focus { background: #19191b; }
.landing .site-header, .landing .site-footer { border-color: var(--line); }
.landing-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 9px;
  background: #161618;
}
.landing-target {
  display: block;
  width: 26px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle closest-side,
    #e92e41 0 16%, #18181a 16.4% 30%, #f7f7f6 30.4% 44%,
    #18181a 44.4% 58%, #f7f7f6 58.4% 72%, #18181a 72.4% 86%, #f7f7f6 86.4% 100%);
}
.landing .site-hero { grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); color: #fff; background: #161618; }
.landing .hero-copy h1 { max-width: 15ch; font-size: clamp(2.25rem, 4.7vw, 4.25rem); line-height: 1.05; }
.landing .hero-tagline { color: #d5d5d9; }
.landing-cta { background: var(--range-red); color: #fff; }
.landing-cta:hover { background: #981422; }
.landing .landing-cta:focus-visible { outline-color: #fff; }
.landing-target-field {
  background:
    linear-gradient(90deg, #ffffff0b 1px, transparent 1px),
    linear-gradient(#ffffff0b 1px, transparent 1px),
    #202024;
  background-size: 28px 28px;
  background-position: center;
}
.landing-target-field .landing-target {
  width: min(74%, 328px);
  box-shadow: 0 12px 35px #0005;
}
.landing-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 30px 0; }
.landing-features article { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.landing-features article > svg { color: var(--range-red); }
.landing-features h2 { margin: 9px 0 5px; font-size: 1.08rem; }
.landing-features p, .landing-demo p { color: var(--muted); font-size: .91rem; line-height: 1.55; }
.landing-demo { padding: 22px 0 43px; }
.landing-demo h2 { margin-bottom: 5px; letter-spacing: -.03em; }
.demo-clubs { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 16px; }

.website-images { margin-top: 17px; }
.website-images > h2 { font-size: 1.04rem; margin-bottom: 16px; }
.image-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.image-setting { min-width: 0; border: 1px solid var(--line); border-radius: 9px; padding: 13px; }
.image-setting-preview { display: grid; place-items: center; aspect-ratio: 3 / 1; border-radius: 6px; margin-bottom: 12px; overflow: hidden; background: #edf2ec; color: var(--muted); }
.image-setting-preview img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.image-setting form > .field-note { margin-block: 5px 10px; }
.image-setting form > .feedback { margin-top: 8px; }
.image-setting-actions { display: flex; flex-wrap: wrap; gap: 7px; }

@media (max-width: 690px) {
  .landing .site-hero { grid-template-columns: 1fr; }
  .landing-target-field { min-height: 198px; }
  .landing-target-field .landing-target { width: clamp(134px, 38vw, 170px); }
  .landing-features, .image-grid { grid-template-columns: 1fr; }
  .landing-features { gap: 10px; padding-block: 18px; }
  .landing-demo { padding-block: 16px 28px; }
}
