:root {
  --forest: #173f35;
  --forest-deep: #0e2c25;
  --moss: #55755f;
  --sage: #dfe8da;
  --cream: #f5f1e7;
  --paper: #fffdf8;
  --clay: #ba6746;
  --gold: #d2a13a;
  --sky: #d9e9ea;
  --ink: #17312a;
  --muted: #63716b;
  --border: #d8d5c8;
  --danger: #9d352d;
  --danger-soft: #f7dfd8;
  --shadow: 0 18px 55px rgba(23, 49, 42, 0.09);
  --radius: 22px;
  --display: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root[data-theme="dark"] {
  --forest: #85bea3;
  --forest-deep: #d7efe3;
  --moss: #9fbaa9;
  --sage: #243d34;
  --cream: #101916;
  --paper: #18251f;
  --clay: #e08a68;
  --gold: #e7bc60;
  --sky: #233c3d;
  --ink: #f4f0e8;
  --muted: #b3c0ba;
  --border: #34483f;
  --danger: #ff9a8e;
  --danger-soft: #472621;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
  padding: 12px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid color-mix(in srgb, var(--border), transparent 15%);
  background: color-mix(in srgb, var(--cream), transparent 5%);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 16px 16px 16px 5px;
  background: var(--forest-deep);
  color: var(--cream);
  font-family: var(--display);
  font-size: 18px;
  font-weight: 900;
  letter-spacing: -1px;
}

:root[data-theme="dark"] .brand-mark { background: #d7efe3; color: #0e2c25; }

.brand-copy strong, .brand-copy small { display: block; }
.brand-copy strong { font-family: var(--display); font-size: 22px; line-height: 1.05; }
.brand-copy small { margin-top: 3px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }

.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }

.icon-button, .avatar-button {
  min-width: 42px;
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: var(--paper);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.avatar-button { border-color: var(--forest); background: var(--forest-deep); color: var(--cream); }
:root[data-theme="dark"] .avatar-button { color: #0e2c25; }

.primary-nav {
  position: sticky;
  top: 78px;
  z-index: 20;
  display: flex;
  justify-content: center;
  gap: 6px;
  padding: 8px 16px;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--cream), transparent 4%);
  backdrop-filter: blur(16px);
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 42px;
  padding: 8px 15px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
}

.nav-item span { font-size: 18px; }
.nav-item:hover, .nav-item.active { background: var(--sage); color: var(--forest-deep); }
.nav-unread-badge { position: absolute; top: 3px; right: 3px; display: grid; min-width: 18px; height: 18px; padding: 0 5px; place-items: center; border: 2px solid var(--cream); border-radius: 999px; background: var(--clay); color: #fff; font-size: 9px !important; font-weight: 950; line-height: 1; }

main { width: min(1180px, calc(100% - 32px)); min-height: 72vh; margin: 0 auto; }
.view { padding: clamp(26px, 5vw, 64px) 0 80px; }
.narrow-view { width: min(920px, 100%); margin: 0 auto; }

.welcome-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  gap: clamp(30px, 7vw, 90px);
  overflow: hidden;
  min-height: 500px;
  margin-bottom: clamp(52px, 8vw, 92px);
  padding: clamp(34px, 6vw, 76px);
  border-radius: 38px 38px 38px 10px;
  background:
    radial-gradient(circle at 88% 18%, rgba(210, 161, 58, 0.33) 0 4%, transparent 4.2%),
    radial-gradient(circle at 92% 25%, rgba(210, 161, 58, 0.18) 0 12%, transparent 12.2%),
    linear-gradient(135deg, #173f35, #204f41 54%, #345f4e);
  box-shadow: var(--shadow);
  color: #fffdf8;
}

.welcome-panel::before,
.welcome-panel::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
}
.welcome-panel::before { width: 420px; height: 420px; right: -170px; bottom: -230px; }
.welcome-panel::after { width: 250px; height: 250px; right: -80px; bottom: -110px; }

.welcome-copy { align-self: center; }
.eyebrow { margin: 0 0 8px; color: var(--clay); font-size: 12px; font-weight: 950; letter-spacing: .12em; text-transform: uppercase; }
.welcome-panel .eyebrow { color: #ecc774; }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.05; }
h1, h2 { font-family: var(--display); letter-spacing: -0.035em; }
h1 { margin-bottom: 20px; font-size: clamp(45px, 7vw, 78px); }
h1 em { color: #edc468; font-weight: 400; }
h2 { margin-bottom: 12px; font-size: clamp(27px, 4vw, 38px); }
h3 { margin-bottom: 8px; font-size: 20px; }
.welcome-copy > p:not(.eyebrow) { max-width: 690px; color: #e2eee8; font-size: clamp(17px, 2.2vw, 21px); }
.welcome-copy .free-access-note { margin: 16px 0 0; color: #d9e8e1; font-size: 13px; }
.free-access-note strong { color: #fffdf8; }

.welcome-actions, .card-actions, .moderation-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 17px;
  border: 1px solid transparent;
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
  font-weight: 900;
  line-height: 1.2;
}
.button.primary { background: var(--forest-deep); color: var(--cream); }
.welcome-panel .button.primary { background: #f3ce7b; color: #173f35; }
.button.secondary { border-color: var(--forest); background: var(--paper); color: var(--forest-deep); }
.button.quiet { border-color: var(--border); background: transparent; color: var(--forest-deep); }
.welcome-panel .button.quiet { border-color: rgba(255,255,255,.4); color: #fff; }
.button.danger { border-color: var(--danger); background: transparent; color: var(--danger); }
.button.small-button { min-height: 38px; padding: 8px 12px; font-size: 13px; }
.button.full { width: 100%; }
.button[disabled] { opacity: .52; cursor: not-allowed; }

.next-move {
  align-self: center;
  padding: 18px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 26px 26px 26px 8px;
  background: rgba(255,255,255,.09);
  backdrop-filter: blur(8px);
}
.next-move .eyebrow { padding: 5px 9px 8px; }
.next-move > button {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 13px 9px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.14);
  background: transparent;
  color: #fff;
  cursor: pointer;
  text-align: left;
}
.next-move > button:last-child { border-bottom: 0; }
.next-move > button:hover { border-radius: 14px; background: rgba(255,255,255,.08); }
.next-move > button > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 12px; background: rgba(255,255,255,.12); color: #f3ce7b; font-size: 18px; font-weight: 950; }
.next-move strong, .next-move small { display: block; }
.next-move small { margin-top: 2px; color: #d5e5dd; line-height: 1.35; }
.next-move b { color: #f3ce7b; font-size: 18px; }

.invitation-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  margin: -48px 0 clamp(52px, 8vw, 86px);
  padding: clamp(22px, 4vw, 32px);
  border: 1px solid var(--border);
  border-radius: 26px 26px 26px 8px;
  background: var(--paper);
  box-shadow: 0 16px 42px rgba(20, 55, 46, .09);
}
.invitation-strip h2 { margin-bottom: 7px; font-size: clamp(25px, 3vw, 33px); }
.invitation-strip p:last-child { margin-bottom: 0; color: var(--muted); }
.invitation-strip .button { min-width: 220px; }
.waymaker-landmark { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; margin: -24px 0 48px; padding: 18px 22px; border: 1px dashed var(--border); border-radius: 18px; background: color-mix(in srgb, var(--paper), transparent 12%); }
.waymaker-landmark h2 { margin-bottom: 4px; font-size: 24px; }
.waymaker-landmark p:last-child { max-width: 760px; margin: 0; color: var(--muted); font-size: 14px; }

.community-property { margin: -24px 0 56px; padding: clamp(24px, 5vw, 42px); border: 1px solid var(--border); border-radius: 30px 30px 30px 9px; background: var(--paper); }
.property-heading { max-width: 790px; margin-bottom: 24px; }
.property-heading > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 17px; }
.property-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 11px; }
.property-card { position: relative; padding: 20px; border: 1px solid var(--border); border-radius: 18px 18px 18px 6px; background: var(--cream); }
.property-card > span { display: grid; width: 40px; height: 40px; margin-bottom: 22px; place-items: center; border-radius: 13px; background: var(--sage); color: var(--forest-deep); font-weight: 950; }
.property-card h3 { font-family: var(--display); font-size: 24px; }
.property-card p:not(.eyebrow) { min-height: 100px; color: var(--muted); font-size: 13px; }
.property-card .text-link { padding: 0; border: 0; background: none; cursor: pointer; }
.cornerstone-card { border-color: var(--forest); background: var(--forest-deep); color: var(--cream); }
.cornerstone-card .eyebrow { color: var(--gold); }
.cornerstone-card > span { background: color-mix(in srgb, var(--cream), transparent 85%); color: var(--cream); }
.cornerstone-card p:not(.eyebrow), .cornerstone-card .text-link { color: color-mix(in srgb, var(--cream), transparent 12%); }

.work-intro { max-width: 820px; }
.work-path-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 24px; }
.work-path-grid button { display: grid; min-height: 190px; align-content: start; padding: 22px; color: var(--ink); cursor: pointer; text-align: left; }
.work-path-grid button:hover { transform: translateY(-2px); border-color: var(--moss); box-shadow: var(--shadow); }
.work-path-grid span { display: grid; width: 40px; height: 40px; margin-bottom: 28px; place-items: center; border-radius: 13px; background: var(--sage); color: var(--forest-deep); font-size: 19px; font-weight: 950; }
.work-path-grid strong, .work-path-grid small { display: block; }
.work-path-grid strong { font-family: var(--display); font-size: 22px; line-height: 1.1; }
.work-path-grid small { margin-top: 8px; color: var(--muted); line-height: 1.4; }
.work-marketplace-boundary { margin: 24px 0 54px; padding: clamp(24px, 5vw, 36px); border-left: 5px solid var(--gold); background: linear-gradient(135deg, var(--paper), var(--sage)); }
.work-marketplace-boundary h2 { font-size: clamp(30px, 4vw, 42px); }
.work-marketplace-boundary p:last-child { max-width: 900px; margin-bottom: 0; color: var(--muted); }
.work-list-heading { align-items: flex-end; margin-top: 10px; }
.work-form-note { display: grid; gap: 3px; margin-bottom: 14px; padding: 14px; border-left: 4px solid var(--clay); border-radius: 0 12px 12px 0; background: var(--sage); }
.work-form-note span { color: var(--muted); font-size: 13px; }

.stage-hero.panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
  gap: clamp(30px, 7vw, 74px);
  align-items: center;
  overflow: hidden;
  margin-bottom: 20px;
  padding: clamp(34px, 7vw, 72px);
  background:
    radial-gradient(circle at 83% 20%, rgba(231, 188, 96, .24), transparent 24%),
    linear-gradient(140deg, #0e2c25, #173f35 58%, #60402e);
  color: #fffdf8;
}
.stage-hero h1 { margin: 5px 0 18px; color: #fffdf8; font-size: clamp(52px, 8vw, 82px); line-height: .9; }
.stage-hero h1 em { color: #edc468; font-weight: 400; }
.stage-hero-copy > p:not(.eyebrow) { max-width: 620px; color: #dce9e2; font-size: 18px; }
.stage-hero .button.primary { background: #f3ce7b; color: #173f35; }
.stage-hero .button.quiet { border-color: rgba(255,255,255,.38); color: #fffdf8; }
.stage-hero-art {
  position: relative;
  display: flex;
  height: 260px;
  align-items: flex-end;
  justify-content: center;
  gap: 11px;
  padding: 42px 34px 34px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50% 50% 50% 14%;
  background: rgba(255,255,255,.06);
  rotate: 3deg;
}
.stage-hero-art span { position: absolute; top: 25px; left: 31px; color: #f3ce7b; font-family: var(--display); font-size: 62px; rotate: -3deg; }
.stage-hero-art i { width: 18px; min-height: 34px; border-radius: 999px 999px 4px 4px; background: linear-gradient(#f3ce7b, #d97855); }
.stage-hero-art i:nth-of-type(1) { height: 32%; }
.stage-hero-art i:nth-of-type(2) { height: 64%; }
.stage-hero-art i:nth-of-type(3) { height: 88%; }
.stage-hero-art i:nth-of-type(4) { height: 52%; }
.stage-hero-art i:nth-of-type(5) { height: 72%; }
.stage-hero-art b { position: absolute; right: 28px; bottom: 22px; padding: 5px 9px; border-radius: 999px; background: #d97855; color: #fff; font-size: 10px; letter-spacing: .12em; }

.stage-filter-panel { margin: 18px 0; padding: clamp(22px, 4vw, 32px); }
.stage-filter-panel .section-heading { align-items: flex-end; }
.stage-filter-panel .text-link { border: 0; background: transparent; cursor: pointer; }
.stage-profile-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.stage-profile-card { display: grid; overflow: hidden; border: 1px solid var(--border); border-radius: 24px 24px 24px 8px; background: var(--paper); }
.stage-card-header { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 17px; align-items: center; padding: 22px 22px 16px; }
.stage-avatar { display: grid; width: 72px; height: 72px; place-items: center; border-radius: 50% 50% 50% 16%; background: linear-gradient(145deg, var(--forest-deep), var(--forest)); color: var(--cream); font-family: var(--display); font-size: 30px; font-weight: 950; }
:root[data-theme="dark"] .stage-avatar { background: linear-gradient(145deg, #244c3f, #402f24); color: #f5f1e7; }
.stage-card-header h2, .stage-profile-heading h1 { margin: 2px 0 5px; }
.stage-card-header h2 { font-size: 29px; }
.stage-card-header p { margin: 0; color: var(--muted); font-size: 13px; }
.stage-chip-row { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 22px 17px; }
.stage-chip-row span { padding: 5px 8px; border-radius: 999px; background: var(--sage); color: var(--forest-deep); font-size: 10px; font-weight: 900; }
.stage-card-bio { padding: 0 22px 18px; color: var(--muted); font-size: 13px; }
.stage-track-list { display: grid; gap: 1px; margin-top: auto; border-top: 1px solid var(--border); background: var(--border); }
.stage-track-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 11px; align-items: center; padding: 13px 16px; background: color-mix(in srgb, var(--paper), var(--cream) 35%); }
.stage-track-row > span { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 50%; background: var(--forest-deep); color: var(--cream); font-weight: 950; }
:root[data-theme="dark"] .stage-track-row > span { background: #d7efe3; color: #0e2c25; }
.stage-track-row strong, .stage-track-row small { display: block; }
.stage-track-row small { margin-top: 2px; color: var(--muted); font-size: 10px; text-transform: capitalize; }
.stage-track-row button, .stage-track-row a { min-height: 36px; padding: 7px 10px; font-size: 11px; }
.stage-card-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 15px 18px 18px; }
.stage-empty { margin-top: 18px; padding: 34px; }

.stage-profile-feature { display: grid; gap: 18px; }
.stage-profile-feature > .text-link { justify-self: start; border: 0; background: transparent; cursor: pointer; }
.stage-profile-hero { padding: clamp(26px, 6vw, 58px); background: linear-gradient(145deg, color-mix(in srgb, var(--paper), var(--gold) 7%), var(--paper)); }
.stage-profile-heading { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 24px; align-items: center; }
.stage-profile-heading .stage-avatar { width: 112px; height: 112px; font-size: 46px; }
.stage-profile-heading h1 { font-size: clamp(42px, 7vw, 68px); }
.stage-profile-details { display: grid; grid-template-columns: 1.25fr .75fr; gap: 30px; margin-top: 28px; }
.stage-profile-details p { white-space: pre-wrap; }
.stage-profile-facts { display: grid; gap: 9px; align-content: start; padding: 18px; border-radius: 18px; background: var(--cream); }
.stage-profile-facts span { color: var(--muted); font-size: 12px; }
.stage-profile-tracks { display: grid; gap: 10px; }
.stage-profile-track { padding: 18px; }
.stage-profile-track h3 { margin: 4px 0; font-family: var(--display); font-size: 25px; }
.stage-profile-track p { margin: 7px 0; color: var(--muted); font-size: 13px; }

.stage-manager-tools { grid-column: 1 / -1; }
.stage-manager-tools > form { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border); }
.stage-manager-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 18px; margin-top: 22px; }
.stage-manager-grid > form { padding: 20px; border: 1px solid var(--border); border-radius: 18px; background: var(--cream); }
.managed-stage-list { display: grid; gap: 12px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--border); }
.managed-stage-card { padding: 18px; border: 1px solid var(--border); border-radius: 18px; background: color-mix(in srgb, var(--paper), var(--sage) 10%); }
.managed-stage-card h3 { margin: 4px 0 7px; font-family: var(--display); font-size: 27px; }
.managed-stage-card p { margin: 4px 0; color: var(--muted); }
.managed-stage-tracks { display: grid; gap: 7px; margin-top: 13px; }
.managed-stage-track { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 11px; border-radius: 12px; background: var(--cream); }
.managed-stage-track span { color: var(--muted); font-size: 11px; text-transform: capitalize; }

.stage-player {
  position: fixed;
  z-index: 55;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  grid-template-columns: minmax(210px, .9fr) minmax(280px, 1.2fr) auto;
  gap: 16px;
  align-items: center;
  width: min(1040px, calc(100% - 36px));
  margin: 0 auto;
  padding: 12px 14px;
  border: 1px solid #55755f;
  border-radius: 20px 20px 20px 7px;
  background: color-mix(in srgb, var(--paper), transparent 3%);
  box-shadow: 0 22px 70px rgba(0,0,0,.3);
  backdrop-filter: blur(20px);
}
.stage-player-copy { display: flex; min-width: 0; gap: 11px; align-items: center; }
.stage-player-mark { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; border-radius: 50% 50% 50% 12%; background: var(--forest-deep); color: var(--gold); font-size: 22px; }
:root[data-theme="dark"] .stage-player-mark { background: #0e2c25; }
.stage-player-copy div { min-width: 0; }
.stage-player-copy small, .stage-player-copy strong, .stage-player-copy div > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.stage-player-copy small { color: var(--clay); font-size: 9px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.stage-player-copy strong { font-family: var(--display); font-size: 20px; }
.stage-player-copy div > span { color: var(--muted); font-size: 11px; }
.stage-player-embed { min-width: 0; }
.stage-player-embed iframe { display: block; width: 100%; height: 80px; border: 0; border-radius: 10px; background: var(--cream); }
.stage-player-actions { display: flex; gap: 7px; align-items: center; }
.stage-player-actions .text-link { max-width: 92px; font-size: 11px; text-align: center; }
.stage-player-actions .icon-button { min-width: 42px; }
body.has-stage-player { padding-bottom: 120px; }

.resource-directory-intro { max-width: 850px; }
.resource-directory-intro h1 { font-size: clamp(40px, 6vw, 64px); }
.resource-filter-panel { margin-bottom: 18px; padding: clamp(20px, 4vw, 30px); }
.resource-directory-grid { display: grid; gap: 16px; }
.resource-service-card { padding: clamp(22px, 4vw, 34px); }
.resource-service-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.resource-service-heading h2 { margin-bottom: 5px; font-size: clamp(26px, 4vw, 34px); }
.verified-badge { flex: 0 0 auto; padding: 6px 10px; border-radius: 999px; background: var(--sage); color: var(--forest-deep); font-size: 11px; font-weight: 950; }
.resource-provider-name { margin-bottom: 18px; color: var(--forest-deep); font-weight: 900; }
.resource-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 20px 0; }
.resource-facts > div { padding: 13px 14px; border-radius: 13px; background: var(--cream); }
.resource-facts span, .resource-facts strong { display: block; }
.resource-facts span { margin-bottom: 2px; color: var(--muted); font-size: 10px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.resource-service-card details { margin: 14px 0; padding: 13px 15px; border: 1px solid var(--border); border-radius: 13px; background: var(--cream); }
.resource-service-card summary { cursor: pointer; font-weight: 950; }
.resource-service-card details p { margin: 10px 0 0; }
.resource-start { margin-top: 18px; padding: 16px; border-left: 4px solid var(--gold); border-radius: 0 12px 12px 0; background: var(--sage); color: var(--forest-deep); }
.resource-start p { margin: 4px 0 0; }

.board-toolbar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.filter-row { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.filter-chip { min-height: 40px; padding: 8px 13px; border: 1px solid var(--border); border-radius: 999px; background: var(--paper); color: var(--muted); cursor: pointer; font-size: 13px; font-weight: 900; }
.filter-chip.active { border-color: var(--forest); background: var(--sage); color: var(--forest-deep); }
.inline-status { padding: 12px 0; color: var(--muted); font-weight: 800; }
.inline-status.error { color: var(--danger); }

.board-glance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  margin: 6px 0 32px;
  border: 1px solid var(--border);
  border-radius: 18px 18px 18px 6px;
  background: var(--border);
}
.board-glance > div { padding: 17px 20px; background: var(--paper); }
.board-glance strong, .board-glance span { display: block; }
.board-glance strong { color: var(--forest-deep); font-family: var(--display); font-size: 28px; line-height: 1; }
.board-glance span { margin-top: 4px; color: var(--muted); font-size: 12px; font-weight: 800; }
.tune-commons-button { margin-top: 12px; }
.tune-commons-button span { margin-left: 5px; color: var(--muted); font-size: 11px; }

.community-sponsor-shelf { margin: 44px 0 62px; padding: clamp(22px, 4vw, 34px); border: 1px solid color-mix(in srgb, var(--gold), var(--border) 55%); border-radius: 28px 28px 28px 8px; background: color-mix(in srgb, var(--paper), var(--gold) 4%); }
.sponsor-shelf-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.sponsor-shelf-heading h2 { margin-bottom: 5px; font-size: clamp(28px, 4vw, 38px); }
.sponsor-shelf-heading p:last-child { margin: 0; color: var(--muted); }
.community-sponsor-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.community-sponsor-card { position: relative; display: grid; min-height: 245px; overflow: hidden; align-content: space-between; padding: 22px; border: 1px solid rgba(23, 63, 53, .12); border-radius: 21px 21px 21px 7px; background: var(--cream); isolation: isolate; }
.community-sponsor-card::after { position: absolute; top: -44px; right: -35px; z-index: -1; width: 150px; height: 150px; border-radius: 50%; background: rgba(255, 255, 255, .42); content: ""; }
.community-sponsor-card[data-tone="sun"] { background: linear-gradient(145deg, #f8e7ad, #fffaf0); }
.community-sponsor-card[data-tone="sage"] { background: linear-gradient(145deg, var(--sage), var(--paper)); }
.community-sponsor-card[data-tone="clay"] { background: linear-gradient(145deg, color-mix(in srgb, var(--clay), white 76%), var(--paper)); }
.sponsor-card-top { position: relative; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.sponsor-icon { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 15px 15px 15px 5px; background: var(--forest-deep); color: var(--cream); font-size: 20px; font-weight: 950; }
.sponsor-kind { padding: 5px 8px; border: 1px solid rgba(23, 63, 53, .16); border-radius: 999px; background: rgba(255, 255, 255, .52); color: var(--forest-deep); font-size: 9px; font-weight: 950; letter-spacing: .08em; text-transform: uppercase; }
.sponsor-card-copy { position: relative; margin-top: 32px; }
.sponsor-card-copy h3 { margin-bottom: 7px; font-family: var(--display); font-size: 25px; line-height: 1.05; }
.sponsor-card-copy p { margin-bottom: 18px; color: var(--muted); font-size: 13px; }
.sponsor-card-copy .text-link { padding: 0; border: 0; background: transparent; cursor: pointer; text-align: left; }
.sponsor-disclosure { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: color-mix(in srgb, var(--paper), transparent 20%); }
.sponsor-disclosure strong { display: block; margin-bottom: 2px; color: var(--forest-deep); }
.sponsor-disclosure p { margin: 0; color: var(--muted); font-size: 12px; }
.sponsor-disclosure .text-link { flex: 0 0 auto; border: 0; background: transparent; cursor: pointer; }
.giving-strip { display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; margin: 22px 0 58px; padding: 18px 22px; border: 1px solid color-mix(in srgb, var(--clay), var(--border) 55%); border-radius: 8px 26px 26px 26px; background: linear-gradient(110deg, color-mix(in srgb, var(--clay), white 84%), var(--paper)); }
.giving-strip h2 { margin: 1px 0 4px; font-family: var(--display); font-size: clamp(23px, 3vw, 31px); }
.giving-strip p { margin: 0; color: var(--muted); }
.giving-strip-art { position: relative; width: 62px; height: 62px; border-radius: 50% 50% 50% 12px; background: var(--forest-deep); color: var(--cream); }
.giving-strip-art span { position: absolute; top: 7px; left: 11px; font-size: 22px; font-weight: 900; }
.giving-strip-art b { position: absolute; right: 8px; bottom: 6px; color: var(--gold); font-size: 19px; }
.giving-strip-art i { position: absolute; left: 28px; top: 20px; width: 2px; height: 31px; rotate: 42deg; background: rgba(255,255,255,.4); }

/* Dark surfaces keep their accent color without turning into pale, low-contrast panels. */
:root[data-theme="dark"] .giving-strip {
  border-color: color-mix(in srgb, var(--clay), var(--border) 68%);
  background: linear-gradient(110deg, color-mix(in srgb, var(--clay), var(--paper) 78%), var(--paper));
}
:root[data-theme="dark"] .giving-strip-art { background: #0e2c25; color: #f5f1e7; }
:root[data-theme="dark"] .giving-strip-art i { background: rgba(245, 241, 231, .34); }

:root[data-theme="dark"] .cornerstone-card {
  border-color: #4b7563;
  background: linear-gradient(145deg, #173f35, #10251e);
  color: #f5f1e7;
}
:root[data-theme="dark"] .cornerstone-card > span { background: rgba(245, 241, 231, .12); color: #f5f1e7; }
:root[data-theme="dark"] .cornerstone-card p:not(.eyebrow),
:root[data-theme="dark"] .cornerstone-card .text-link { color: #dbe8e1; }
:root[data-theme="dark"] .works-card {
  border-color: #3b6261;
  background: linear-gradient(145deg, #172b29, #101916);
}
:root[data-theme="dark"] .works-card > span { background: #254845; color: #e3f2ec; }
:root[data-theme="dark"] .stage-card {
  border-color: #695742;
  background: linear-gradient(145deg, #30271e, #101916);
}
:root[data-theme="dark"] .stage-card > span { background: #4a3a25; color: #f3d58c; }

:root[data-theme="dark"] .community-sponsor-card {
  border-color: #43564d;
  color: var(--ink);
}
:root[data-theme="dark"] .community-sponsor-card::after { background: rgba(245, 241, 231, .07); }
:root[data-theme="dark"] .community-sponsor-card[data-tone="sun"] { background: linear-gradient(145deg, #4a3c1f, #1b2922); }
:root[data-theme="dark"] .community-sponsor-card[data-tone="sage"] { background: linear-gradient(145deg, #294238, #18251f); }
:root[data-theme="dark"] .community-sponsor-card[data-tone="clay"] { background: linear-gradient(145deg, #4a2f27, #1a2520); }
:root[data-theme="dark"] .sponsor-kind { border-color: #55675e; background: rgba(10, 19, 15, .58); color: #f4f0e8; }
:root[data-theme="dark"] .sponsor-card-copy p { color: #c1cec7; }
:root[data-theme="dark"] .sponsor-disclosure { background: #14211b; }

:root[data-theme="dark"] .work-path-grid .panel {
  border-color: #3b5147;
  background: linear-gradient(150deg, #1b2b24, #121c18);
}
:root[data-theme="dark"] .work-path-grid span { background: #29483c; color: #e4f2eb; }
:root[data-theme="dark"] .work-marketplace-boundary { background: linear-gradient(135deg, #18251f, #21382f); }
:root[data-theme="dark"] .giving-hero {
  background: linear-gradient(145deg, #173f35, #10251e);
  color: #f5f1e7;
}
:root[data-theme="dark"] .giving-hero h1 { color: #f5f1e7; }
:root[data-theme="dark"] .giving-hero p { color: #d5e5dd; }
:root[data-theme="dark"] .giving-hero .button.quiet { border-color: rgba(245, 241, 231, .38); color: #f5f1e7; }
:root[data-theme="dark"] .giving-art b { color: #0e2c25; }

.activity-section { margin: 44px 0 62px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-heading h2 { margin: 0; }
.count-pill { min-width: 32px; padding: 5px 10px; border-radius: 999px; background: var(--sage); color: var(--forest-deep); font-size: 13px; font-weight: 950; text-align: center; }
.activity-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }

.activity-card {
  position: relative;
  overflow: hidden;
  min-height: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius) var(--radius) var(--radius) 7px;
  background: var(--paper);
  box-shadow: 0 10px 34px rgba(23, 49, 42, 0.055);
}
.activity-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.activity-card, .activity-card:hover { transition: transform .18s ease, box-shadow .18s ease; }
.activity-card.has-cover { display: grid; grid-template-columns: minmax(190px, .55fr) minmax(0, 1.7fr); }
.cover-image { width: 100%; height: 100%; min-height: 250px; object-fit: cover; background: var(--sage); }
.card-color { height: 7px; background: var(--moss); }
.type-project .card-color { background: var(--clay); }
.type-exchange .card-color { background: var(--gold); }
.type-opportunity .card-color { background: #3e747b; }
.card-body { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(220px, .65fr); gap: clamp(20px, 4vw, 48px); padding: clamp(20px, 3vw, 30px); }
.card-main { min-width: 0; }
.card-side { display: flex; flex-direction: column; min-width: 0; }
.card-kicker { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 14px; }
.type-label { color: var(--forest-deep); font-size: 11px; font-weight: 950; letter-spacing: .09em; text-transform: uppercase; }
.status-label { padding: 4px 8px; border-radius: 999px; background: var(--sage); color: var(--forest-deep); font-size: 10px; font-weight: 950; text-transform: uppercase; }
.activity-card h3 { font-family: var(--display); font-size: 25px; }
.activity-card .summary { display: -webkit-box; overflow: hidden; color: var(--muted); -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.card-meta { display: grid; gap: 8px; margin: 0; color: var(--muted); font-size: 13px; }
.card-meta span { display: flex; align-items: center; gap: 8px; }
.card-meta b { color: var(--ink); }
.card-actions { margin-top: 18px; }
.card-actions .button { flex: 1; }
.card-menu { border: 0; background: transparent; color: var(--muted); cursor: pointer; font-weight: 900; }
.outcome-note { margin-top: 14px; padding: 12px; border-left: 3px solid var(--gold); border-radius: 0 8px 8px 0; background: var(--sage); color: var(--forest-deep); font-size: 13px; }
.faith-tag { display: inline-flex; align-items: center; gap: 5px; color: var(--moss); font-size: 12px; font-weight: 900; }

.good-section { padding: 32px; border-radius: 28px 28px 28px 8px; background: var(--sage); }
.good-section .count-pill { background: var(--paper); }
.good-section .activity-card { box-shadow: none; }

.panel { border: 1px solid var(--border); border-radius: var(--radius) var(--radius) var(--radius) 7px; background: var(--paper); box-shadow: 0 10px 32px rgba(23,49,42,.04); }
.empty-board { max-width: 650px; margin: 70px auto; padding: 44px; text-align: center; }
.empty-mark { display: grid; width: 62px; height: 62px; margin: 0 auto 18px; place-items: center; border-radius: 50%; background: var(--sage); color: var(--clay); font-size: 28px; }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 24px; }
.starter-board { margin: 56px 0 20px; }
.starter-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.starter-grid button { display: grid; align-content: start; min-height: 205px; padding: 24px; border: 1px solid var(--border); border-radius: 20px 20px 20px 7px; background: var(--paper); color: var(--ink); cursor: pointer; text-align: left; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.starter-grid button:hover { transform: translateY(-3px); border-color: var(--moss); box-shadow: var(--shadow); }
.starter-grid button > span { display: grid; width: 42px; height: 42px; margin-bottom: 28px; place-items: center; border-radius: 13px; background: var(--sage); color: var(--forest-deep); font-size: 20px; font-weight: 950; }
.starter-grid strong, .starter-grid small { display: block; }
.starter-grid strong { font-family: var(--display); font-size: 22px; line-height: 1.08; }
.starter-grid small { margin-top: 8px; color: var(--muted); line-height: 1.45; }
.caught-up { margin: 70px auto 0; text-align: center; color: var(--muted); }
.caught-up > span { display: grid; width: 44px; height: 44px; margin: 0 auto 12px; place-items: center; border: 1px solid var(--border); border-radius: 50%; color: var(--forest); font-weight: 950; }
.caught-up strong { display: block; color: var(--ink); font-family: var(--display); font-size: 25px; }

.page-intro { max-width: 750px; margin-bottom: 30px; }
.page-intro h1 { font-size: clamp(42px, 7vw, 68px); }
.page-intro > p:last-child { max-width: 660px; color: var(--muted); font-size: 18px; }
.form-card, .gate-card { padding: clamp(22px, 4vw, 38px); }
.join-card { border-color: color-mix(in srgb, var(--forest), transparent 35%); box-shadow: var(--shadow); }
.gate-card { margin-bottom: 24px; }
.gate-card h2 { font-size: 30px; }
.member-start-panel { display: grid; grid-template-columns: 1fr minmax(180px, 260px); gap: 24px; align-items: center; margin-bottom: 18px; padding: 24px clamp(22px, 4vw, 38px); background: linear-gradient(120deg, color-mix(in srgb, var(--sage), var(--paper) 26%), var(--paper)); }
.member-start-panel h2 { margin: 2px 0 6px; font-family: var(--display); font-size: clamp(25px, 4vw, 34px); }
.member-start-panel p { margin: 0; color: var(--muted); }
.setup-progress { display: grid; gap: 8px; }
.setup-progress strong { text-align: right; color: var(--forest-deep); font-size: 13px; }
.setup-progress span { height: 11px; overflow: hidden; border-radius: 999px; background: color-mix(in srgb, var(--forest-deep), transparent 87%); }
.setup-progress i { display: block; width: 25%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--forest), var(--gold)); transition: width .25s ease; }
.community-profile-card { margin-bottom: 18px; }
.profile-completeness { align-self: flex-start; padding: 6px 10px; border-radius: 999px; background: var(--sage); color: var(--forest-deep); font-size: 11px; font-weight: 950; text-transform: uppercase; letter-spacing: .04em; }
.contribution-fieldset { padding: 14px; border: 1px solid var(--border); border-radius: 14px; }
.contribution-fieldset legend { padding: 0 6px; color: var(--ink); font-weight: 900; }
.directory-privacy-fieldset { padding: 18px; border: 1px solid color-mix(in srgb, var(--forest), transparent 54%); border-radius: 16px; background: color-mix(in srgb, var(--sage), var(--paper) 58%); }
.directory-privacy-fieldset legend { padding: 0 7px; font-family: var(--display); font-size: 21px; font-weight: 900; }
.directory-privacy-fieldset p { margin: 6px 0 0 28px; font-size: 12px; font-weight: 500; }
.profile-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 10px; }
.profile-choice-grid .checkline { margin: 0; font-size: 13px; }
.participation-tools-note { margin-top: 20px; padding: 26px; border-style: dashed; }
.participation-tools-note h2 { margin: 3px 0 8px; font-family: var(--display); font-size: 28px; }

form { display: grid; gap: 18px; }
label { display: grid; gap: 7px; color: var(--ink); font-size: 14px; font-weight: 900; }
.field-label { margin: 0 0 8px; font-size: 14px; font-weight: 900; }
input, select, textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink);
  padding: 10px 12px;
}
.password-entry { position: relative; display: block; width: 100%; }
.password-entry input { padding-right: 70px; }
.password-visibility-toggle { position: absolute; top: 50%; right: 8px; min-width: 52px; min-height: 34px; translate: 0 -50%; border: 0; border-radius: 9px; background: color-mix(in srgb, var(--sage), var(--paper) 25%); color: var(--forest-deep); cursor: pointer; font-size: 12px; font-weight: 950; }
.password-visibility-toggle:hover { background: var(--sage); }
.username-status, .match-status { min-height: 18px; color: var(--muted); font-size: 11px; font-weight: 650; line-height: 1.4; }
.username-status.available, .match-status.available { color: var(--forest); }
.username-status.error, .match-status.error { color: var(--danger); }
.username-status.checking { color: var(--muted); }
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted), transparent 15%); }
.form-grid { display: grid; gap: 15px; }
.form-grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.type-picker { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-bottom: 8px; }
.type-picker label { cursor: pointer; }
.type-picker input, .segmented input { position: absolute; opacity: 0; pointer-events: none; }
.type-picker label > span { display: grid; min-height: 90px; align-content: center; padding: 13px; border: 1px solid var(--border); border-radius: 16px; background: var(--cream); color: var(--forest-deep); text-align: center; }
.type-picker label > span small { margin-top: 5px; color: var(--muted); font-weight: 600; }
.type-picker input:checked + span { border: 2px solid var(--forest); background: var(--sage); box-shadow: inset 0 0 0 2px var(--paper); }
.exchange-direction { padding: 20px; border-radius: 16px; background: var(--sage); }
.segmented { display: flex; gap: 8px; }
.segmented label { flex: 1; cursor: pointer; }
.segmented label > span { display: block; padding: 10px; border: 1px solid var(--border); border-radius: 12px; background: var(--paper); text-align: center; }
.segmented input:checked + span { border-color: var(--forest); background: var(--forest-deep); color: var(--cream); }
.safety-note { margin-top: 14px; padding: 14px; border-left: 4px solid var(--gold); background: var(--paper); color: var(--muted); font-size: 13px; font-weight: 600; }
.safety-note a { color: var(--forest-deep); font-weight: 900; }
.form-details { border: 1px solid var(--border); border-radius: 15px; background: var(--cream); }
.form-details summary { padding: 14px 16px; cursor: pointer; font-weight: 950; }
.form-details[open] { padding: 0 16px 16px; }
.form-details[open] summary { margin: 0 -16px 14px; }
.checkline { display: flex; align-items: flex-start; gap: 10px; font-weight: 700; }
.checkline input { width: 19px; min-height: 19px; flex: 0 0 19px; margin-top: 2px; accent-color: var(--forest); }
.form-status { min-height: 22px; margin: 0; color: var(--forest-deep); font-size: 13px; font-weight: 850; }
.form-status.error { color: var(--danger); }
.privacy-line { margin: 0; color: var(--muted); font-size: 12px; text-align: center; }
.privacy-page { display: block; }
.policy-summary { margin-bottom: 18px; padding: clamp(22px, 4vw, 34px); border-left: 5px solid var(--gold); }
.policy-summary h2 { font-size: clamp(28px, 4vw, 38px); }
.policy-summary > p:last-child { margin-bottom: 0; color: var(--muted); }
.policy-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; color: var(--muted); font-size: 12px; font-weight: 800; }
.policy-stack { display: grid; gap: 18px; }
.policy-section { padding: clamp(24px, 4vw, 38px); }
.policy-section h2 { font-size: clamp(28px, 4vw, 38px); }
.policy-section h3 { margin-top: 24px; font-family: var(--display); font-size: 22px; }
.policy-section li { margin-bottom: 9px; color: var(--muted); }
.policy-section li strong { color: var(--ink); }
.policy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.policy-callout { padding: 18px; border-radius: 15px; background: var(--sage); }
.policy-callout strong { display: block; margin-bottom: 6px; color: var(--forest-deep); }
.policy-callout p { margin: 0; color: var(--muted); font-size: 14px; }
.policy-contact { border-color: var(--forest); }
.general-location-row, .settings-location-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.general-location-row .muted, .settings-location-actions .muted { font-size: 12px; }
.general-location-row .error, .settings-location-actions .error { color: var(--danger); }
.settings-modal { width: min(760px, calc(100% - 24px)); }
.sponsor-preferences { margin: 20px 0; padding: 18px; border: 1px solid var(--border); border-radius: 16px; background: var(--cream); }
.sponsor-preferences legend { padding: 0 7px; color: var(--forest-deep); font-family: var(--display); font-size: 22px; font-weight: 900; }
.sponsor-preferences > .muted { margin: 12px 0; font-size: 13px; }
.sponsor-topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.sponsor-topic-grid .checkline { margin: 0; padding: 8px 10px; border-radius: 11px; background: var(--paper); font-size: 13px; }
.form-submit-row { display: grid; gap: .65rem; }
.text-link { color: var(--forest-deep); font-weight: 900; }
.handoff-link { display: block; margin-top: 8px; padding: 0; border: 0; background: transparent; cursor: pointer; text-align: left; text-decoration: underline; }

.auth-grid, .onboarding-grid, .account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.recovery-card { grid-column: 1 / -1; padding: 18px 24px; }
.recovery-card summary { cursor: pointer; color: var(--forest-deep); font-weight: 950; }
.recovery-card[open] summary { margin-bottom: 12px; }
.recovery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 18px; }
.onboarding-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step-card { position: relative; padding: 26px; }
.step-card.complete { opacity: .68; }
.step-card.complete::after { content: "Complete"; position: absolute; top: 18px; right: 18px; padding: 4px 8px; border-radius: 999px; background: var(--sage); color: var(--forest-deep); font-size: 10px; font-weight: 950; text-transform: uppercase; }
.step-number { display: grid; width: 34px; height: 34px; margin-bottom: 16px; place-items: center; border-radius: 50%; background: var(--forest-deep); color: var(--cream); font-weight: 950; }
.account-identity { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; padding: 22px; }
.profile-avatar { display: grid; width: 56px; height: 56px; flex: 0 0 56px; place-items: center; border-radius: 18px 18px 18px 5px; background: var(--forest-deep); color: var(--cream); font-family: var(--display); font-size: 24px; font-weight: 900; }
.avatar-button img, .profile-avatar img, .profile-photo-preview img { width: 100%; height: 100%; object-fit: cover; }
.avatar-button img { border-radius: inherit; }
.profile-avatar { overflow: hidden; }
.profile-avatar img { border-radius: inherit; }
.profile-photo-card { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: clamp(24px, 4vw, 42px); align-items: start; margin-bottom: 18px; }
.profile-photo-preview { display: grid; width: 190px; aspect-ratio: 1; overflow: hidden; place-items: center; border: 5px solid var(--paper); border-radius: 48% 48% 48% 14%; outline: 1px solid var(--border); background: linear-gradient(145deg, var(--forest-deep), var(--forest)); color: var(--cream); box-shadow: var(--shadow); font-family: var(--display); font-size: 64px; font-weight: 950; }
.profile-photo-fields { display: grid; gap: 14px; }
.profile-photo-fields .section-heading { margin: 0; }
.profile-photo-status { align-self: flex-start; padding: 6px 10px; border-radius: 999px; background: var(--sage); color: var(--forest-deep); font-size: 11px; font-weight: 950; text-transform: uppercase; }
.authority-badge { display: inline-flex; margin-top: 7px; padding: 5px 9px; border-radius: 999px; background: var(--forest-deep); color: var(--cream); font-size: 10px; font-weight: 950; letter-spacing: .05em; text-transform: uppercase; }
.profile-photo-checks { display: grid; gap: 7px; padding: 13px; border: 1px solid var(--border); border-radius: 14px; background: var(--cream); }
.account-identity h2 { margin-bottom: 3px; }
.account-identity .button { margin-left: auto; }
.account-grid { margin-top: 20px; }
.workspace-switcher { grid-column: 1 / -1; }
.workspace-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.workspace-card { padding: 16px; border: 1px solid var(--border); border-radius: 16px; background: color-mix(in srgb, var(--paper), var(--sage) 18%); }
.workspace-card.personal { background: color-mix(in srgb, var(--paper), var(--gold) 9%); }
.workspace-card h3 { margin: 4px 0; font-family: var(--display); font-size: 22px; }
.workspace-card p { margin: 0 0 12px; color: var(--muted); font-size: 12px; }
.workspace-actions { display: flex; flex-wrap: wrap; gap: 7px; }
#sponsor-partner-tools { grid-column: 1 / -1; }
#sponsor-partner-tools > form, #sponsor-partner-tools > div { padding-top: 22px; border-top: 1px solid var(--border); }
#sponsor-partner-tools > div:first-child { padding-top: 0; border-top: 0; }
.managed-sponsor-list { display: grid; gap: 10px; margin-top: 18px; }
#resource-partner-tools { grid-column: 1 / -1; }
#resource-partner-tools > form, #resource-partner-tools > div { padding-top: 22px; border-top: 1px solid var(--border); }
#resource-partner-tools > div:first-child { padding-top: 0; border-top: 0; }
.notice-list { display: grid; gap: 10px; }
.notice-item { padding: 12px 0; border-bottom: 1px solid var(--border); }
.notice-item:last-child { border-bottom: 0; }
.notice-item strong { display: block; }
.notice-item p, .notice-item time { margin: 3px 0 0; color: var(--muted); font-size: 12px; }

.connection-list { display: grid; gap: 14px; }
.connection-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 20px; }
.connection-card h2 { margin-bottom: 6px; font-size: 25px; }
.connection-card p { margin-bottom: 4px; color: var(--muted); }
.connection-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.message-center { display: grid; gap: 14px; margin-bottom: 34px; }
.message-center-banner { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: clamp(24px, 5vw, 36px); background: linear-gradient(135deg, color-mix(in srgb, var(--paper), var(--sage) 30%), var(--paper)); }
.message-center-banner h2 { margin: 4px 0 8px; font-family: var(--display); font-size: clamp(30px, 5vw, 42px); line-height: 1; }
.message-center-banner p:last-child { max-width: 660px; margin: 0; color: var(--muted); }
.message-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; border: 1px solid var(--border); border-radius: 19px 19px 19px 6px; background: var(--paper); }
.message-summary > div { padding: 16px 18px; border-right: 1px solid var(--border); }
.message-summary > div:last-child { border-right: 0; }
.message-summary strong, .message-summary span { display: block; }
.message-summary strong { color: var(--forest-deep); font-family: var(--display); font-size: 29px; line-height: 1; }
.message-summary span { margin-top: 5px; color: var(--muted); font-size: 10px; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; }
.message-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px; border-radius: 17px; }
.message-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.message-filters button { min-height: 38px; padding: 7px 12px; border: 1px solid transparent; border-radius: 12px; background: transparent; color: var(--muted); cursor: pointer; font-size: 12px; font-weight: 900; }
.message-filters button:hover, .message-filters button.active { border-color: var(--border); background: var(--sage); color: var(--forest-deep); }
.message-search { min-width: min(290px, 100%); }
.message-search input { min-height: 40px; margin: 0; background: var(--cream); }
.message-conversation-list { display: grid; gap: 9px; }
.message-conversation-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; width: 100%; align-items: center; padding: 17px 18px; border: 1px solid var(--border); border-radius: 19px 19px 19px 6px; background: var(--paper); color: var(--ink); cursor: pointer; text-align: left; transition: border-color .16s ease, transform .16s ease, background .16s ease; }
.message-conversation-card:hover { transform: translateY(-1px); border-color: var(--moss); }
.message-conversation-card.unread { border-color: color-mix(in srgb, var(--forest), transparent 20%); background: color-mix(in srgb, var(--paper), var(--sage) 30%); box-shadow: inset 4px 0 0 var(--forest); }
.message-kind-mark { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 16px 16px 16px 5px; background: var(--sage); color: var(--forest-deep); font-size: 20px; font-weight: 950; }
.message-conversation-card[data-kind="workroom"] .message-kind-mark { background: var(--forest-deep); color: var(--gold); }
.message-conversation-main { min-width: 0; }
.message-conversation-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.message-conversation-heading .message-title { overflow: hidden; margin: 0; font-family: var(--display); font-size: 22px; text-overflow: ellipsis; white-space: nowrap; }
.message-conversation-heading time { flex: 0 0 auto; color: var(--muted); font-size: 10px; font-weight: 800; }
.message-participants { margin: 3px 0; color: var(--forest-deep); font-size: 11px; font-weight: 900; }
.message-preview { overflow: hidden; margin: 3px 0 0; color: var(--muted); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.message-preview strong { color: var(--ink); }
.message-conversation-side { display: grid; justify-items: end; gap: 7px; }
.message-status { padding: 4px 7px; border-radius: 999px; background: var(--cream); color: var(--muted); font-size: 9px; font-weight: 950; text-transform: uppercase; }
.message-unread-count { display: grid; min-width: 23px; height: 23px; padding: 0 6px; place-items: center; border-radius: 999px; background: var(--clay); color: #fff; font-size: 10px; font-weight: 950; }
.message-empty { margin: 4px 0; }
.commitment-section { display: grid; gap: 14px; margin: 12px 0 34px; }
.commitment-section > .section-heading { align-items: flex-end; margin-bottom: 0; }
.commitment-section > .section-heading > p { max-width: 410px; color: var(--muted); font-size: 13px; }
.people-directory { margin-bottom: 30px; padding: clamp(22px, 4vw, 32px); border-color: color-mix(in srgb, var(--forest), transparent 48%); }
.people-directory > .section-heading { align-items: flex-end; }
.people-directory > .section-heading h2 { font-family: var(--display); font-size: clamp(27px, 4vw, 36px); }
.privacy-badge { flex: 0 0 auto; padding: 6px 10px; border-radius: 999px; background: var(--forest-deep); color: var(--cream); font-size: 10px; font-weight: 950; letter-spacing: .06em; text-transform: uppercase; }
.people-search-form { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; margin: 18px 0 0; }
.people-search-form label { min-width: 0; }
.people-search-form input { min-height: 50px; }
.people-results { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.people-results > .inline-status { grid-column: 1 / -1; }
.directory-person-card { display: grid; align-content: space-between; overflow: hidden; border: 1px solid var(--border); border-radius: 22px 22px 22px 7px; background: var(--paper); }
.directory-person-card .public-profile-snapshot { height: 100%; margin: 0; border: 0; border-radius: 0; background: transparent; }
.directory-person-action { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; border-top: 1px solid var(--border); background: color-mix(in srgb, var(--cream), var(--sage) 22%); }
.directory-person-action p { margin: 0; color: var(--muted); font-size: 11px; }
.directory-person-action .button { flex: 0 0 auto; }
.people-directory-privacy { display: flex; gap: 8px 12px; margin-top: 16px; padding: 13px 15px; border-radius: 13px; background: var(--cream); color: var(--muted); font-size: 11px; }
.people-directory-privacy strong { flex: 0 0 auto; color: var(--forest-deep); }
.workroom-section { margin-bottom: 30px; }
.workroom-section > .section-heading { align-items: end; }
.workroom-section > .section-heading > p { max-width: 430px; color: var(--muted); font-size: 13px; }
.workroom-list { display: grid; gap: 10px; }
.workroom-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 19px; border-color: color-mix(in srgb, var(--forest), transparent 48%); }
.workroom-card-mark { display: grid; width: 46px; height: 46px; place-items: center; border-radius: 15px 15px 15px 5px; background: var(--forest-deep); color: var(--gold); font-size: 22px; font-weight: 950; }
.workroom-card h3 { margin: 3px 0; font-family: var(--display); font-size: 24px; }
.workroom-card p { margin: 0; color: var(--muted); font-size: 13px; }

.community-portrait { width: 76px; height: 76px; flex: 0 0 76px; object-fit: cover; border-radius: 44% 44% 44% 12%; border: 2px solid var(--paper); outline: 1px solid var(--border); }
.community-portrait.mini { width: 28px; height: 28px; flex-basis: 28px; border-radius: 50%; }
.community-portrait.small { width: 48px; height: 48px; flex-basis: 48px; }
.portrait-initial { display: grid; place-items: center; background: var(--forest-deep); color: var(--cream); font-family: var(--display); font-size: 28px; font-weight: 950; }
.portrait-initial.mini { font-size: 12px; }
.portrait-initial.small { font-size: 19px; }
.activity-host { display: flex !important; align-items: center; gap: 7px; }
.activity-host > span { display: inline; }
.public-profile-snapshot { margin: 18px 0; padding: 18px; border: 1px solid var(--border); border-radius: 20px 20px 20px 7px; background: color-mix(in srgb, var(--sage), var(--paper) 48%); }
.profile-snapshot-heading { display: flex; gap: 15px; align-items: center; }
.profile-snapshot-heading h3 { margin: 2px 0; font-family: var(--display); font-size: 25px; }
.profile-snapshot-heading p { margin: 2px 0; }
.profile-bio { margin: 14px 0; color: var(--muted); white-space: pre-wrap; }
.profile-chip-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.profile-chip-row span { padding: 4px 8px; border-radius: 999px; background: var(--paper); color: var(--forest-deep); font-size: 11px; font-weight: 850; }
.profile-snapshot-facts { display: flex; flex-wrap: wrap; gap: 8px 15px; margin: 12px 0; color: var(--muted); font-size: 12px; font-weight: 800; }
.connection-card .public-profile-snapshot { margin-bottom: 8px; }
.moderation-portrait { width: 120px; height: 120px; object-fit: cover; border-radius: 44% 44% 44% 12%; }

.metric-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-bottom: 22px; }
.metric-card { padding: 18px; }
.metric-card strong { display: block; font-family: var(--display); font-size: 34px; }
.metric-card span { color: var(--muted); font-size: 12px; font-weight: 850; }
.steward-grid { display: grid; gap: 18px; }
.steward-grid > .panel { padding: 26px; }
.moderation-item { padding: 16px 0; border-bottom: 1px solid var(--border); }
.moderation-item:last-child { border-bottom: 0; }
.moderation-item h3 { font-family: var(--display); font-size: 23px; }
.moderation-item p { color: var(--muted); }
.moderation-actions { margin-top: 10px; }
.moderation-image-item { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; align-items: start; }
.moderation-image-item .cover-image { width: 180px; height: 112px; min-height: 112px; aspect-ratio: 16 / 10; border-radius: 16px; }
.review-boundary-note { padding: 10px 12px; border-left: 3px solid var(--gold); border-radius: 0 10px 10px 0; background: var(--cream); font-size: 12px; font-weight: 750; }

.safety-intro h1 { color: var(--danger); }
.urgent-card { margin-bottom: 20px; padding: 24px; border: 1px solid color-mix(in srgb, var(--danger), transparent 45%); border-radius: var(--radius); background: var(--danger-soft); color: var(--danger); }
.urgent-card strong { font-family: var(--display); font-size: 26px; }
.urgent-card p { margin: 6px 0 0; }
.safety-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.resource-card { position: relative; overflow: hidden; padding: 28px; }
.resource-card > span { position: absolute; top: 12px; right: 16px; color: var(--sage); font-family: var(--display); font-size: 58px; font-weight: 950; line-height: 1; }
.resource-card p, .resource-card a { position: relative; }
.resource-card .text-link { display: block; margin-top: 14px; font-size: 12px; }
.youth-boundary { margin-top: 20px; padding: clamp(26px, 5vw, 48px); }

.modal { width: min(650px, calc(100% - 24px)); max-height: min(88vh, 820px); overflow: auto; padding: 30px; border: 1px solid var(--border); border-radius: 24px 24px 24px 8px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.28); }
.toast { position: fixed; z-index: 90; right: 18px; bottom: 88px; max-width: min(420px, calc(100% - 36px)); padding: 14px 18px; border: 1px solid var(--forest); border-radius: 14px 14px 14px 5px; background: var(--forest-deep); color: var(--cream); box-shadow: var(--shadow); font-weight: 850; }
.toast.error { border-color: var(--danger); background: var(--danger); color: #fff; }
.modal::backdrop { background: rgba(8,25,20,.66); backdrop-filter: blur(4px); }
.modal-close { position: sticky; z-index: 2; top: 0; float: right; width: 38px; height: 38px; border: 1px solid var(--border); border-radius: 50%; background: var(--paper); cursor: pointer; font-size: 24px; line-height: 1; }
.modal h2 { padding-right: 42px; }
.detail-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 18px 0; }
.detail-list div { padding: 12px; border-radius: 12px; background: var(--cream); }
.detail-list span, .detail-list strong { display: block; }
.detail-list span { color: var(--muted); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.thread-messages { display: grid; gap: 10px; margin: 18px 0; }
.thread-message { max-width: 85%; padding: 12px 14px; border-radius: 16px 16px 16px 4px; background: var(--sage); }
.thread-message.mine { justify-self: end; border-radius: 16px 16px 4px 16px; background: var(--forest-deep); color: var(--cream); }
.thread-message.system { max-width: 100%; border: 1px dashed var(--border); background: var(--cream); color: var(--muted); }
.thread-message strong, .thread-message small { display: block; }
.thread-message p { margin: 4px 0; white-space: pre-wrap; }
.thread-message small { color: inherit; opacity: .7; }
.private-location { padding: 14px; border: 1px solid var(--gold); border-radius: 14px; background: color-mix(in srgb, var(--gold), transparent 85%); }
.workroom-modal { width: min(820px, calc(100% - 24px)); }
.workroom-purpose { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin: 16px 0; padding: 13px 15px; border-left: 4px solid var(--gold); background: var(--cream); }
.workroom-purpose span { color: var(--muted); font-size: 12px; font-weight: 800; }
.workroom-crew, .workroom-conversation { margin: 24px 0; }
.workroom-member-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.workroom-member { display: flex; gap: 11px; align-items: flex-start; padding: 13px; border: 1px solid var(--border); border-radius: 15px; background: var(--cream); }
.workroom-member strong, .workroom-member > div > span { display: block; }
.workroom-member > div > span { color: var(--muted); font-size: 11px; font-weight: 900; text-transform: uppercase; }
.workroom-member p { margin: 4px 0; color: var(--muted); font-size: 12px; }
.workroom-message-form { padding-top: 18px; border-top: 1px solid var(--border); }

.giving-hero { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(28px, 5vw, 70px); align-items: center; overflow: hidden; padding: clamp(30px, 7vw, 80px); background: linear-gradient(145deg, color-mix(in srgb, var(--forest-deep), black 2%), var(--forest)); color: var(--cream); }
.giving-hero h1 { margin: 4px 0 18px; color: var(--cream); font-family: var(--display); font-size: clamp(45px, 7vw, 78px); line-height: .94; }
.giving-hero h1 em { color: var(--gold); font-weight: inherit; }
.giving-hero p { color: rgba(255,255,255,.77); }
.giving-hero .button.quiet { color: var(--cream); border-color: rgba(255,255,255,.35); }
.giving-art { position: relative; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.35); border-radius: 50% 50% 50% 14%; rotate: 5deg; }
.giving-art span { position: absolute; left: 16%; top: 19%; font-family: var(--display); font-size: clamp(22px, 4vw, 39px); rotate: -5deg; }
.giving-art i { position: absolute; left: 47%; top: 9%; width: 2px; height: 79%; background: rgba(255,255,255,.3); rotate: 38deg; }
.giving-art b { position: absolute; right: 15%; bottom: 18%; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: var(--gold); color: var(--forest-deep); rotate: -5deg; }
.giving-art em { position: absolute; right: 11%; top: 10%; color: var(--gold); font-size: 42px; font-style: normal; }
.giving-use-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 18px 0; }
.giving-use-grid article { padding: 28px; }
.giving-use-grid span { color: var(--clay); font-weight: 950; }
.giving-use-grid h2 { margin: 10px 0 7px; font-family: var(--display); font-size: 27px; }
.giving-use-grid p { margin: 0; color: var(--muted); }
.giving-many-ways { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center; margin-bottom: 18px; padding: clamp(25px, 5vw, 46px); }
.giving-many-ways h2 { margin: 4px 0 10px; font-family: var(--display); font-size: clamp(30px, 4vw, 44px); }
.giving-way-actions { display: grid; gap: 9px; }

.site-footer { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 20px; align-items: center; padding: 38px clamp(18px, 5vw, 70px) 110px; border-top: 1px solid var(--border); background: var(--paper); color: var(--muted); }
.site-footer strong, .site-footer span { display: block; }
.site-footer strong { color: var(--ink); font-family: var(--display); font-size: 24px; }
.site-footer p { margin: 0; text-align: center; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px; }
.site-footer a, .site-footer button { border: 0; background: none; color: var(--forest-deep); cursor: pointer; font-size: 13px; font-weight: 900; text-decoration: none; }

@media (max-width: 920px) {
  .welcome-panel { grid-template-columns: 1fr; min-height: 0; }
  .next-move { max-width: 620px; }
  .invitation-strip { grid-template-columns: 1fr; }
  .invitation-strip .button { width: fit-content; }
  .waymaker-landmark { grid-template-columns: 1fr; }
  .property-grid, .work-path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .policy-grid { grid-template-columns: 1fr; }
  .activity-card.has-cover { grid-template-columns: minmax(160px, .45fr) minmax(0, 1.55fr); }
  .card-body { grid-template-columns: 1fr; gap: 20px; }
  .starter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .type-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .onboarding-grid { grid-template-columns: 1fr; }
  .metric-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .safety-grid { grid-template-columns: 1fr; }
  .resource-facts { grid-template-columns: 1fr; }
  .community-sponsor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .workspace-list, .giving-use-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .giving-hero, .giving-many-ways { grid-template-columns: 1fr; }
  .stage-hero { grid-template-columns: 1fr; }
  .stage-hero-art { height: 210px; }
  .stage-manager-grid, .stage-profile-details { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .site-footer nav { justify-content: center; }
}

@media (max-width: 680px) {
  body { padding-bottom: 72px; }
  .site-header { min-height: 68px; padding: 10px 14px; }
  .brand-mark { width: 42px; height: 42px; flex-basis: 42px; border-radius: 14px 14px 14px 5px; }
  .brand-copy strong { font-size: 19px; }
  .brand-copy small { display: none; }
  .icon-button { display: none; }
  .primary-nav { position: fixed; top: auto; right: 0; bottom: 0; left: 0; z-index: 40; justify-content: flex-start; gap: 0; overflow-x: auto; padding: 7px max(8px, env(safe-area-inset-right)) calc(7px + env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left)); border-top: 1px solid var(--border); border-bottom: 0; box-shadow: 0 -12px 32px rgba(23,49,42,.08); scrollbar-width: none; }
  .nav-item { display: grid; min-width: 52px; flex: 1 0 52px; gap: 0; justify-items: center; padding: 5px 5px; font-size: 9px; }
  .nav-item span { font-size: 20px; line-height: 1; }
  main { width: min(100% - 22px, 1180px); }
  .view { padding-top: 20px; padding-bottom: 38px; }
  .welcome-panel { gap: 24px; margin-bottom: 48px; padding: 30px 22px; border-radius: 28px 28px 28px 8px; }
  .welcome-copy h1 { font-size: 44px; }
  .welcome-actions .button { width: 100%; }
  .next-move { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 14px; }
  .next-move .eyebrow { grid-column: 1 / -1; }
  .next-move > button { display: grid; grid-template-columns: 34px 1fr; align-content: start; min-height: 92px; padding: 12px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; }
  .next-move > button > span { width: 34px; height: 34px; }
  .next-move > button strong { align-self: center; font-size: 13px; line-height: 1.2; }
  .next-move > button small, .next-move > button b { display: none; }
  .invitation-strip { margin-top: -24px; margin-bottom: 48px; }
  .invitation-strip .button { width: 100%; }
  .waymaker-landmark { margin-top: -30px; }
  .waymaker-landmark .button { width: 100%; }
  .community-property { margin-top: -30px; padding: 22px 16px; }
  .property-grid, .work-path-grid { grid-template-columns: 1fr; }
  .property-card p:not(.eyebrow) { min-height: 0; }
  .stage-profile-grid { grid-template-columns: 1fr; }
  .stage-hero { padding: 30px 22px; }
  .stage-hero-art { height: 175px; }
  .stage-profile-heading { grid-template-columns: 1fr; }
  .stage-profile-heading .stage-avatar { width: 88px; height: 88px; }
  .stage-player { right: 8px; bottom: calc(70px + env(safe-area-inset-bottom)); left: 8px; grid-template-columns: minmax(0, 1fr) auto; width: calc(100% - 16px); padding: 10px; }
  .stage-player-embed { grid-column: 1 / -1; grid-row: 2; }
  .stage-player-embed iframe { height: 76px; }
  .stage-player-actions .text-link { display: none; }
  .stage-player-actions .icon-button { display: inline-grid; place-items: center; }
  body.has-stage-player { padding-bottom: 240px; }
  .work-path-grid button { min-height: 0; grid-template-columns: 48px 1fr; column-gap: 12px; }
  .work-path-grid button span { grid-row: 1 / 3; margin: 0; }
  .work-list-heading { align-items: flex-start; }
  .work-list-heading .button { width: 100%; }
  .resource-service-heading { display: grid; }
  .verified-badge { width: fit-content; }
  .board-toolbar { align-items: flex-start; flex-direction: column; }
  .filter-row { justify-content: flex-start; overflow-x: auto; width: calc(100vw - 11px); margin-left: 0; padding-right: 18px; flex-wrap: nowrap; scrollbar-width: none; }
  .filter-chip { white-space: nowrap; }
  .board-glance { grid-template-columns: 1fr; }
  .board-glance > div { display: flex; align-items: baseline; gap: 8px; padding: 13px 16px; }
  .sponsor-shelf-heading, .sponsor-disclosure { align-items: flex-start; flex-direction: column; }
  .sponsor-shelf-heading .button { width: 100%; }
  .community-sponsor-grid, .sponsor-topic-grid { grid-template-columns: 1fr; }
  .giving-strip { grid-template-columns: auto 1fr; }
  .giving-strip .button { grid-column: 1 / -1; }
  .member-start-panel, .profile-photo-card, .workspace-list, .giving-use-grid { grid-template-columns: 1fr; }
  .profile-photo-preview { width: 142px; margin: 0 auto; }
  .profile-choice-grid { grid-template-columns: 1fr; }
  .setup-progress strong { text-align: left; }
  .giving-art { max-width: 240px; width: 100%; margin: 0 auto; }
  .community-sponsor-card { min-height: 220px; }
  .activity-card.has-cover { display: block; }
  .cover-image { height: auto; min-height: 0; aspect-ratio: 16 / 8.5; }
  .good-section { margin-inline: -11px; padding: 26px 11px; border-radius: 0; }
  .starter-grid { grid-template-columns: 1fr; }
  .starter-grid button { min-height: 0; grid-template-columns: 46px 1fr; column-gap: 14px; }
  .starter-grid button > span { grid-row: 1 / 3; margin: 0; }
  .form-grid.two, .auth-grid, .account-grid, .recovery-grid { grid-template-columns: 1fr; }
  .type-picker { grid-template-columns: 1fr 1fr; }
  .type-picker label > span { min-height: 82px; font-size: 13px; }
  .account-identity { align-items: flex-start; flex-wrap: wrap; }
  .account-identity .button { width: 100%; margin-left: 0; }
  .connection-card { grid-template-columns: 1fr; }
  .connection-actions { justify-content: flex-start; }
  .message-center-banner, .message-toolbar, .commitment-section > .section-heading { align-items: flex-start; flex-direction: column; }
  .message-summary { grid-template-columns: 1fr 1fr; }
  .message-summary > div:nth-child(2) { border-right: 0; }
  .message-summary > div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .message-toolbar, .message-search { width: 100%; }
  .message-filters { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .message-conversation-card { grid-template-columns: auto minmax(0, 1fr); padding: 15px; }
  .message-conversation-heading { display: block; }
  .message-conversation-heading time { display: block; margin-top: 3px; }
  .message-conversation-side { grid-column: 2; grid-row: 2; display: flex; justify-items: start; }
  .people-directory > .section-heading, .people-directory-privacy, .directory-person-action { align-items: flex-start; flex-direction: column; }
  .people-search-form, .people-results { grid-template-columns: 1fr; }
  .people-search-form .button, .directory-person-action .button { width: 100%; }
  .workroom-section > .section-heading { align-items: flex-start; }
  .workroom-card { grid-template-columns: auto 1fr; }
  .workroom-card .button { grid-column: 1 / -1; width: 100%; }
  .workroom-member-list { grid-template-columns: 1fr; }
  .profile-snapshot-heading { align-items: flex-start; }
  .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .moderation-image-item { grid-template-columns: 1fr; }
  .moderation-image-item .cover-image { width: 100%; height: auto; }
  .modal { padding: 22px 18px; }
  .detail-list { grid-template-columns: 1fr; }
  .site-footer { padding-bottom: 40px; }
  .toast { right: 12px; bottom: 86px; left: 12px; max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
