:root {
  color-scheme: light;
  --canvas: #fbfaf7;
  --surface: #fff;
  --ink: #20342e;
  --muted: #77827c;
  --muted-dark: #5f6b65;
  --line: #eeede7;
  --green: #315c48;
  --green-dark: #254b39;
  --green-soft: #edf4ec;
  --sage: #e8eee4;
  --orange: #c98051;
  --yellow: #f4cb78;
  --yellow-soft: #fbf4e6;
  --pink: #f5e9e3;
  --blue-soft: #eaf0ef;
  --shadow: 0 12px 36px rgb(39 55 45 / 5%);
  --portal-sidebar-width: 224px;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--canvas); color: var(--ink); font-size: 16px; }
button, input, select { font: inherit; }
button, a, select, input { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
:focus-visible { outline: 3px solid #c98051; outline-offset: 3px; border-radius: 4px; }
.skip-link { position: fixed; top: -70px; left: 16px; z-index: 20; padding: 12px 18px; background: var(--green); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.app-shell { min-height: 100vh; }
.sidebar { font-size: 14px; width: 242px; height: 100dvh; position: fixed; inset: 0 auto 0 0; z-index: 5; display: flex; flex-direction: column; padding: 27px 17px 16px; background: #fff; border-right: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; margin: 1px 6px 28px; flex-shrink: 0; }
.brand-logo { display: block; width: 100%; max-width: 204px; height: auto; }
.sidebar-label { margin: 0 11px 12px; font-size: 10px; color: #9a9e95; letter-spacing: 1.5px; font-weight: 700; }
.nav-list { display: grid; gap: 4px; }
.nav-link { height: 43px; display: flex; align-items: center; gap: 12px; padding: 0 12px; border-radius: 8px; color: #6e7771; font-weight: 500; transition: color .16s, background .16s; }
.nav-link:hover { background: #f7f7f3; color: var(--green); }
.nav-link.active { color: var(--green-dark); background: var(--green-soft); font-weight: 700; }
.nav-icon { width: 20px; text-align: center; font-size: 18px; font-weight: 400; }
.nav-icon svg { display: block; width: 22px; height: 22px; }
.assistant-nav-link { display: none; color: var(--green); font-weight: 700; }
.assistant-launcher { position: fixed; right: 24px; bottom: 24px; z-index: 8; display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px; border-radius: 28px; background: var(--green); color: #fff; font-size: 13px; font-weight: 600; box-shadow: 0 5px 24px rgb(32 52 46 / 22%); }
.assistant-launcher svg { width: 24px; height: 24px; flex: 0 0 auto; }
.assistant-launcher:hover { background: var(--green-dark); }
.assistant-launcher ~ .toast-region { bottom: 90px; }
.sidebar-bottom { margin-top: auto; padding-top: 16px; }
.privacy-note { display: flex; align-items: center; gap: 9px; margin: 0 8px 14px; color: var(--muted); font-size: 10px; line-height: 1.55; }
.privacy-note > span:first-child { font-size: 17px; color: var(--green); }
.privacy-note strong { color: var(--muted-dark); }
.profile-button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 11px 7px 5px; border: 0; border-top: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; }
.avatar { display: grid; width: 32px; height: 32px; place-items: center; border-radius: 50%; color: #7f634e; background: #efe5da; font-size: 13px; }
.profile-button strong,.profile-button small { display: block; }
.profile-button strong { font-size: 11px; }
.profile-button small { padding-top: 3px; color: var(--muted); font-size: 10px; }
.profile-more { margin-left: auto; font-size: 18px; letter-spacing: 1px; color: var(--muted); }

.main-area { min-height: 100vh; margin-left: 242px; display: flex; flex-direction: column; }
.topbar { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; justify-content: space-between; height: 65px; padding: 0 48px; background: rgb(251 250 247 / 94%); border-bottom: 1px solid #f0eee9; backdrop-filter: blur(12px); }
.breadcrumb { display: flex; gap: 10px; align-items: center; font-size: 11px; font-weight: 600; }
.breadcrumb-muted,.breadcrumb-slash { color: #abb0a8; font-weight: 400; }
.topbar-actions { display: flex; align-items: center; gap: 19px; }
.language-select { appearance: none; min-height: 34px; max-width: 140px; padding: 6px 28px 6px 10px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='m3 4.5 3 3 3-3' fill='none' stroke='%235f6b65' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 10px center; color: var(--ink); font-size: .875rem; cursor: pointer; }
.language-select:disabled { cursor: wait; opacity: .65; }
.quick-exit { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid #e9e7df; border-radius: 20px; background: #fff; color: #66716a; cursor: pointer; font-size: 10px; }
.quick-exit:hover { border-color: var(--orange); color: #9d6038; }
.icon-button { position: relative; width: 34px; height: 34px; display: grid; place-items: center; border: 0; background: transparent; color: #758078; cursor: pointer; font-size: 18px; }
.notification-dot { position: absolute; width: 6px; height: 6px; top: 7px; right: 7px; border: 1px solid var(--canvas); border-radius: 50%; background: var(--orange); }
.mobile-menu { display: none; border: 0; background: transparent; font-size: 21px; }
.page-content { width: min(100%, 1110px); margin: 0 auto; padding: 36px 48px 25px; flex: 1; }
.site-footer { display: flex; justify-content: space-between; gap: 16px; width: 100%; padding: 18px 48px 20px; border-top: 1px solid var(--line); color: #939b94; font-size: 10px; }
.site-footer > span:last-child { display: flex; gap: 22px; }
.site-footer a:hover { color: var(--green); }

.eyebrow { color: #9a8066; font-size: 11px; font-weight: 700; letter-spacing: 1.7px; text-transform: uppercase; }
.page-heading { margin: 7px 0 8px; font: 700 27px/1.28 "Manrope", sans-serif; letter-spacing: -.9px; }
.page-subtitle { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.section-title { margin: 0; font: 700 16px "Manrope", sans-serif; letter-spacing: -.2px; }
.section-caption { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--green); font-size: 12px; font-weight: 700; }
.text-link:hover { color: var(--green-dark); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin: 0 0 13px; }
.card { border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: 0 2px 12px rgb(39 55 45 / 2%); }
.hero { position: relative; min-height: 184px; display: flex; justify-content: space-between; align-items: center; overflow: hidden; margin: 19px 0 22px; padding: 25px 29px; background: #edf2eb; border-radius: 13px; }
.hero::after { content: ""; position: absolute; width: 185px; height: 185px; right: 117px; top: -86px; border: 1px solid rgb(66 112 78 / 13%); border-radius: 50%; box-shadow: 0 0 0 18px rgb(66 112 78 / 4%), 0 0 0 37px rgb(66 112 78 / 4%); }
.hero-copy { max-width: 440px; z-index: 1; }
.hero-copy .eyebrow { color: #738b71; }
.hero h2 { max-width: 370px; margin: 9px 0 8px; font: 700 23px/1.35 "Manrope", sans-serif; letter-spacing: -.7px; }
.hero-copy > p { margin: 0 0 15px; color: #728078; font-size: 13px; line-height: 1.6; }
.hero-art { position: relative; width: 167px; height: 140px; z-index: 1; display: grid; place-items: center; flex-shrink: 0; }
.sun { position: absolute; top: 1px; right: 21px; width: 54px; height: 54px; border-radius: 50%; background: #f5d397; }
.hill { position: absolute; bottom: 5px; border-radius: 80% 80% 0 0; }
.hill-one { right: 0; width: 150px; height: 67px; background: #adc1a7; transform: rotate(-8deg); }
.hill-two { left: 0; width: 157px; height: 52px; background: #79977d; transform: rotate(8deg); }
.hero-building { position: absolute; bottom: 35px; left: 55px; width: 48px; height: 60px; background: #f1ece1; border-radius: 23px 23px 3px 3px; border: 3px solid #385d49; }
.hero-building::before { content: ""; position: absolute; left: 10px; top: 14px; width: 8px; height: 12px; background: #dbb984; box-shadow: 16px 0 #dbb984, 0 19px #dbb984, 16px 19px #dbb984; }
.hero-building::after { content: ""; position: absolute; width: 11px; height: 20px; bottom: 0; left: 15px; background: #748b70; border-radius: 9px 9px 0 0; }
.hero-plant { position: absolute; bottom: 17px; right: 13px; z-index: 2; color: #315c48; font-size: 36px; }
.btn { min-height: 35px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 0 13px; border: 1px solid transparent; border-radius: 7px; font-size: 12px; font-weight: 700; cursor: pointer; transition: background .16s, border-color .16s, transform .16s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }
.btn-secondary { border-color: #e7e8e0; background: #fff; color: #56685b; }
.btn-secondary:hover { border-color: #cdd8cd; background: #f7f9f5; }
.btn-small { min-height: 30px; padding: 0 10px; font-size: 11px; }
.btn-icon { width: 31px; height: 31px; padding: 0; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: #8d948b; cursor: pointer; font-size: 16px; }
.btn-icon.saved { color: #bd7950; border-color: #eedcd0; background: #fcf3ee; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.63fr) minmax(235px, .9fr); align-items: start; gap: 17px; }
.primary-column,.secondary-column { display: grid; gap: 20px; min-width: 0; }
.plan-card { padding: 19px 19px 16px; }
.plan-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.plan-date { color: #8a928b; font-size: 11px; }
.plan-progress { display: flex; align-items: center; gap: 9px; margin-top: 13px; }
.progress-track { flex: 1; height: 5px; overflow: hidden; border-radius: 10px; background: #eff0ea; }
.progress-fill { width: 27%; height: 100%; background: #82a080; border-radius: inherit; transition: width .2s; }
.progress-value { color: #748179; font-size: 11px; }
.task-list { margin-top: 9px; }
.task-row { display: flex; align-items: center; gap: 11px; min-height: 46px; border-bottom: 1px solid #f3f1ed; }
.task-row:last-child { border-bottom: 0; }
.task-checkbox { appearance: none; width: 16px; height: 16px; margin: 0; flex: 0 0 auto; display: grid; place-items: center; border: 1.5px solid #d8ddd4; border-radius: 5px; background: white; cursor: pointer; }
.task-checkbox:checked { border-color: var(--green); background: var(--green); }
.task-checkbox:checked::after { content: "✓"; color: white; font-size: 10px; font-weight: 700; }
.task-text { flex: 1; font-size: 12px; }
.task-row.is-done .task-text { color: #a0a59f; text-decoration: line-through; }
.task-tag { padding: 4px 7px; border-radius: 10px; background: #f3f0e8; color: #9b805f; font-size: 10px; }
.task-tag.urgent { background: #f8ece5; color: #ac7048; }
.task-arrow { color: #b0b5ae; font-size: 13px; }
.plan-footer { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px solid #f2f0ec; }
.plan-footer span { color: var(--muted); font-size: 11px; }
.support-card { padding: 17px 17px 13px; }
.support-banner { display: flex; align-items: flex-start; gap: 10px; margin: 13px 0 7px; padding: 11px; border-radius: 8px; background: #f6f4ed; }
.support-symbol { width: 27px; height: 27px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: #eee5d3; color: #92724c; }
.support-banner strong { font-size: 12px; }
.support-banner p { margin: 3px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.support-link { display: flex; align-items: center; justify-content: space-between; padding: 10px 1px; border-bottom: 1px solid #f1efeb; color: #56645b; font-size: 12px; }
.support-link:last-child { border: 0; }
.support-link .arrow { color: #a0a69d; }
.event-card { padding: 17px; }
.mini-event { display: flex; align-items: center; gap: 11px; padding: 11px 0; border-bottom: 1px solid #f2f0ed; }
.mini-event:last-child { border-bottom: 0; }
.event-date { width: 38px; height: 42px; display: grid; align-content: center; justify-items: center; flex: 0 0 auto; border-radius: 7px; background: #f7f2e9; color: #9b734c; }
.event-date strong { font: 700 17px "Manrope", sans-serif; }
.event-date span { font-size: 9px; letter-spacing: .6px; text-transform: uppercase; }
.mini-event-copy { min-width: 0; flex: 1; }
.mini-event-copy strong,.mini-event-copy small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mini-event-copy strong { font-size: 12px; }
.mini-event-copy small { margin-top: 4px; color: var(--muted); font-size: 11px; }
.event-dot { width: 7px; height: 7px; border-radius: 50%; background: #90aa86; }
.event-dot.blue { background: #879f9a; }
.event-dot.gold { background: #d2a66e; }
.welcome-note { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 18px; padding: 12px 14px; border: 1px solid #ece9df; border-radius: 8px; background: #fffefa; }
.welcome-note > span { color: #7a8178; font-size: 12px; line-height: 1.5; }
.welcome-note strong { color: #45544b; }
.welcome-note button { flex: 0 0 auto; padding: 4px; border: 0; background: none; color: #9ea39c; cursor: pointer; }

.page-toolbar { display: flex; flex-wrap: wrap; gap: 9px; margin: 20px 0 17px; }
.search-field { width: min(100%, 305px); min-height: 37px; display: flex; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid #e9e8e1; border-radius: 7px; background: #fff; color: #9ba198; }
.search-field input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); font-size: 12px; }
.search-field input::placeholder { color: #a5aaa2; }
.filter-select { min-height: 37px; padding: 0 28px 0 10px; border: 1px solid #e9e8e1; border-radius: 7px; background: #fff; color: #657168; font-size: 12px; cursor: pointer; }
.results-count { margin-left: auto; align-self: center; color: #969e96; font-size: 12px; }
.listing-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.listing-card { min-width: 0; padding: 15px; }
.listing-top { display: flex; align-items: flex-start; gap: 11px; }
.listing-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; background: #edf2eb; color: #4b7158; font-size: 18px; }
.listing-icon.blue { background: #eaf1ef; color: #5c847b; }
.listing-icon.gold { background: #f7f0e3; color: #af8656; }
.listing-icon.pink { background: #f5ece8; color: #a77761; }
.listing-title { flex: 1; min-width: 0; }
.listing-title h3 { margin: 1px 0 5px; font: 700 14px "Manrope", sans-serif; line-height: 1.45; }
.listing-title p { margin: 0; color: var(--muted); font-size: 11px; }
.verified { display: inline-flex; align-items: center; gap: 3px; margin-top: 6px; color: #63826a; font-size: 10px; }
.listing-meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0; }
.meta-chip { padding: 5px 7px; border-radius: 5px; background: #f6f5f1; color: #768077; font-size: 10px; }
.listing-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid #f1efeb; }
.listing-bottom > span { color: #849087; font-size: 11px; }
.listing-bottom strong { color: var(--green); font-size: 12px; }
.empty-state { grid-column: 1 / -1; padding: 35px 20px; border: 1px dashed #dedfd6; border-radius: 9px; color: var(--muted); text-align: center; font-size: 13px; }
.feature-strip { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 17px; }
.feature-mini { padding: 13px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.feature-mini span { display: block; margin-bottom: 8px; color: #78917a; font-size: 17px; }
.feature-mini strong { display: block; font-size: 12px; }
.feature-mini p { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.guide-list { display: grid; gap: 9px; margin-top: 18px; }
.guide-item { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border: 1px solid var(--line); border-radius: 9px; background: #fff; }
.guide-symbol { width: 35px; height: 35px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; background: var(--green-soft); color: var(--green); font-size: 16px; }
.guide-copy { flex: 1; min-width: 0; }
.guide-copy strong { display: block; font-size: 12px; }
.guide-copy p { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.guide-meta { margin-top: 6px; color: #929a91; font-size: 10px; }
.guide-item button { flex: 0 0 auto; }
.guides-page .btn { min-height: 44px; padding: 9px 14px; font-size: 14px; line-height: 1.4; }
.guides-admin-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.guide-source-intro { margin: 22px 0; padding: 20px 22px; border: 1px solid #dce5d7; border-radius: 10px; background: var(--green-soft); color: var(--green-dark); }
.guide-source-intro > strong { font-size: 17px; }
.guide-source-intro p { max-width: 850px; margin: 8px 0 12px; font-size: 15px; line-height: 1.65; }
.guide-source-intro .text-link { font-size: 14px; }
.guides-manage-note { color: var(--muted-dark); font-size: 14px; line-height: 1.6; }
.guides-toolbar { align-items: center; }
.guides-toolbar .search-field { flex: 1; width: auto; min-width: min(100%, 240px); min-height: 44px; }
.guides-toolbar input, .guides-toolbar .filter-select { font-size: 16px; }
.guides-toolbar .filter-select { min-height: 44px; }
.guide-record { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; align-items: start; gap: 16px; padding: 20px; }
.guide-record .guide-symbol { width: 42px; height: 42px; font-size: 20px; }
.guide-record h2 { margin: 8px 0 6px; color: var(--ink); font-size: 18px; line-height: 1.45; }
.guide-record .guide-copy > p { font-size: 15px; line-height: 1.6; }
.guide-card-labels { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted-dark); font-size: 13px; }
.guide-status { padding: 3px 8px; border-radius: 5px; background: var(--canvas); color: var(--muted-dark); font-size: 12px; text-transform: capitalize; }
.guide-status.published { background: var(--green-soft); color: var(--green-dark); }
.guide-record .guide-meta { margin-top: 9px; color: var(--muted-dark); font-size: 13px; }
.guide-card-actions { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(80px, 1fr); gap: 8px; align-self: center; }
.guide-delete { color: #a33131; }
.guide-reader { width: min(100%, 820px); max-height: 90vh; }
.guide-reader-summary { margin-top: 0; font-size: 18px; line-height: 1.6; color: var(--ink); }
.guide-reader-content { color: var(--ink); font-size: 16px; line-height: 1.8; overflow-wrap: anywhere; }
.guide-reader-content h3 { margin: 26px 0 10px; color: var(--green-dark); font-size: 19px; }
.guide-reader-content p { margin: 12px 0; }
.guide-reader-content li { margin: 8px 0; }
.guide-reader-content a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }
.guide-source { display: grid; gap: 8px; margin-top: 24px; padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--canvas); color: var(--muted-dark); font-size: 14px; line-height: 1.6; }
.guide-source p { margin: 0; }
.guide-source .btn { justify-self: start; min-height: 44px; margin-top: 4px; font-size: 14px; }
.guide-reader-review { margin: 20px 0 0; color: var(--muted-dark); font-size: 14px; line-height: 1.6; }
.guide-source-pages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
[data-guides-error] { color: #a33131; font-size: 14px; }
[data-guides-error]:empty { display: none; }
@media (max-width: 1100px) {
  .guide-card-actions { grid-column: 2 / -1; grid-auto-columns: minmax(0, 1fr); }
  .guide-record { grid-template-columns: 42px minmax(0, 1fr); }
}
@media (max-width: 620px) {
  .guides-admin-actions { width: 100%; }
  .guide-source-intro { padding: 18px; }
  .guide-record { gap: 12px; padding: 16px; }
  .guide-card-actions { grid-column: 1 / -1; }
  .guides-toolbar .search-field { flex-basis: 100%; }
}
.resource-callout { margin-top: 14px; padding: 14px 15px; border: 1px solid #eee9dc; border-radius: 9px; background: #faf7ee; color: #5f6255; font-size: 12px; line-height: 1.7; }
.resource-callout strong { color: #625438; }
.resources-page .btn { min-height: 44px; padding: 9px 12px; font-size: 14px; line-height: 1.4; }
.resources-admin-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.resources-manage-note { margin: 22px 0; padding: 16px 18px; border: 1px solid #dce5d7; border-radius: 9px; background: var(--green-soft); color: var(--green-dark); font-size: 15px; line-height: 1.65; }
.resources-toolbar { align-items: center; }
.resources-toolbar .search-field { flex: 1; width: auto; min-width: min(100%, 240px); min-height: 44px; }
.resources-toolbar input, .resources-toolbar .filter-select { font-size: 16px; }
.resources-toolbar .filter-select { min-height: 44px; }
.resource-record { display: flex; flex-direction: column; gap: 14px; padding: 20px; }
.resource-record .listing-title h2 { margin: 0 0 6px; font-size: 18px; line-height: 1.5; overflow-wrap: anywhere; }
.resource-record .listing-title p { color: var(--muted-dark); font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
.resource-labels { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted-dark); font-size: 13px; }
.resource-badge { padding: 3px 8px; border-radius: 5px; background: var(--canvas); color: var(--muted-dark); font-size: 12px; text-transform: capitalize; }
.resource-badge.checked { background: var(--green-soft); color: var(--green-dark); }
.resource-card-details, .resource-card-contact { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; margin: 0; color: var(--muted-dark); font-size: 15px; line-height: 1.65; white-space: pre-line; overflow-wrap: anywhere; }
.resource-card-details { -webkit-line-clamp: 3; }
.resource-card-contact { -webkit-line-clamp: 2; }
.resource-card-actions { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.resource-delete { color: #a33131; }
.modal.details-reader { width: 100%; max-width: 720px; max-height: calc(100dvh - 48px); padding: 24px; scrollbar-width: thin; scrollbar-color: #cbd3cc transparent; }
.details-reader .modal-header > div { min-width: 0; }
.details-reader .modal-header h2 { font-size: 1.5rem; line-height: 1.35; overflow-wrap: anywhere; }
.details-reader .modal-close { flex-shrink: 0; width: 36px; height: 36px; }
.details-reader .modal-body { margin-top: 24px; font-size: 16px; line-height: 1.75; }
.job-details-modal .modal-body { overflow-wrap: anywhere; }
.details-reader-layout { display: grid; gap: 24px; align-items: start; }
.details-reader-with-photo { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); }
.details-reader-layout > .listing-photo-detail { max-width: 100%; max-height: 320px; margin: 0; object-fit: contain; }
.details-reader-content { min-width: 0; overflow-wrap: anywhere; }
.details-reader-content > p { margin: 0 0 18px; }
.details-reader-content .resource-reader-note { margin: 18px 0 0; }
.details-reader .modal-actions { padding-top: 20px; border-top: 1px solid var(--line); }
.details-reader .modal-actions .btn { min-height: 40px; padding: 9px 20px; font-size: .875rem; }
@media (max-width: 760px) {
  .modal.details-reader { padding: 20px; max-height: calc(100dvh - 36px); }
  .details-reader-with-photo { grid-template-columns: minmax(0, 1fr); }
  .details-reader-layout { gap: 20px; }
  .details-reader-layout > .listing-photo-detail { max-height: 280px; }
  .details-reader .modal-header h2 { font-size: 1.25rem; }
}
@media (max-width: 480px) {
  .modal.details-reader { padding: 16px; }
  .details-reader .modal-body { margin-top: 18px; }
  .details-reader-layout { gap: 16px; }
  .details-reader .modal-header h2 { font-size: 1.125rem; }
  .details-reader-layout > .listing-photo-detail { max-height: 220px; }
}
.resource-reader-text { white-space: pre-line; overflow-wrap: anywhere; }
.resource-first-step { padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: var(--green-soft); }
.resource-first-step p { margin: 8px 0; }
.resource-first-step .btn { min-height: 44px; margin-top: 8px; font-size: 14px; }
.resource-reader-note { color: var(--muted-dark); font-size: 14px; }
.content-editor .resource-checked { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-size: 14px; }
.content-editor .resource-checked input { width: 18px; height: 18px; min-height: 18px; padding: 0; flex: 0 0 auto; }
[data-resources-error] { color: #a33131; font-size: 14px; }
[data-resources-error]:empty { display: none; }
.groups-page { margin-top: 20px; }
.groups-page .manage-header { margin-bottom: 16px; }
.groups-page .btn, .groups-toolbar .filter-select, .groups-toolbar .search-field { min-height: 44px; }
.groups-admin-actions, .group-card-actions { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; }
.groups-manage-note { margin: 0 0 16px; padding: 12px 16px; border-radius: 8px; background: var(--green-soft); color: var(--green-dark); }
.groups-toolbar .search-field { flex: 1; width: auto; min-width: min(100%, 220px); }
.groups-toolbar input, .groups-toolbar .filter-select { font-size: 16px; }
.groups-results-toolbar, .group-pagination { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 14px 0; font-size: 14px; }
.groups-results-toolbar label { display: flex; align-items: center; gap: 8px; }
.group-pagination { justify-content: center; flex-wrap: wrap; }
.group-record { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.listing-photo { display: block; width: 100%; border-radius: 8px; background: var(--green-soft); }
.listing-photo[hidden] { display: none; }
.listing-photo-card { aspect-ratio: 14 / 9; object-fit: cover; }
.listing-photo-detail { max-height: 430px; object-fit: contain; margin-bottom: 14px; }
.photo-editor .listing-photo { max-width: 280px; max-height: 200px; object-fit: contain; margin-bottom: 12px; }
.content-editor .photo-remove { display: flex; align-items: center; gap: 8px; }
.content-editor .photo-remove input { width: 18px; min-height: 18px; flex: 0 0 18px; }
[data-photo-error] { color: #a33131; font-size: 14px; }
[data-photo-error]:empty { display: none; }
.group-labels { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.group-badge { padding: 3px 8px; border: 1px solid currentColor; border-radius: 999px; font-size: 11px; }
.group-host, .group-card-description, .group-card-schedule { margin: 0; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.group-card-description, .group-card-schedule { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.group-card-schedule { -webkit-line-clamp: 2; }
.group-card-actions { margin-top: auto; padding-top: 4px; }
.group-card-actions .btn { justify-content: center; padding-inline: 8px; }
.group-delete { color: #9a3030; }
.group-reader { margin-top: 12px; overflow-wrap: anywhere; }
.group-reader.card { max-width: 800px; padding: clamp(16px, 3vw, 28px); }
.group-reader h2 { margin: 14px 0; }
.group-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.group-facts div { border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.group-facts dt { font-weight: 700; }
.group-facts dd { margin: 5px 0 0; white-space: pre-line; }
.group-reader-text { white-space: pre-line; }
.group-reader > .membership-actions { gap: 12px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); align-items: stretch; }
.group-reader > .membership-actions > .btn { flex: 1 1 180px; min-width: 0; min-height: 44px; padding: 10px 14px; line-height: 1.4; white-space: normal; text-align: center; }
.content-editor .group-checkbox { display: flex; align-items: center; gap: 8px; }
.content-editor .group-checkbox input { width: 18px; min-height: 18px; flex: 0 0 18px; }
.group-share-link { display: block; width: 100%; }
[data-group-error] { color: #a33131; font-size: 14px; }
[data-group-error]:empty { display: none; }
@media (max-width: 620px) {
  .groups-admin-actions { width: 100%; }
  .groups-toolbar .search-field { flex-basis: 100%; }
  .group-facts { grid-template-columns: 1fr; }
  .group-reader > .membership-actions { flex-direction: column; }
  .group-reader > .membership-actions > .btn { flex: none; width: 100%; }
}
@media (max-width: 620px) {
  .resources-admin-actions { width: 100%; }
  .resources-toolbar .search-field { flex-basis: 100%; }
  .resource-record { padding: 16px; }
}
.events-list { display: grid; gap: 11px; }
.event-list-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; }
.event-list-card .event-date { width: 45px; height: 49px; }
.event-details { min-width: 0; flex: 1; }
.event-details h3 { margin: 0 0 5px; font: 700 14px "Manrope", sans-serif; }
.event-details p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.event-details .event-category { color: #8a9a83; font-size: 10px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; }
.event-actions { display: flex; align-items: center; gap: 7px; }
.events-page .btn { min-height: 44px; padding: 9px 12px; font-size: 14px; line-height: 1.4; }
.events-publisher-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.events-manage-note { margin: 22px 0; padding: 16px 18px; border: 1px solid #dce5d7; border-radius: 9px; background: var(--green-soft); color: var(--green-dark); font-size: 15px; line-height: 1.65; }
.events-toolbar { align-items: center; }
.events-toolbar .search-field { flex: 1; width: auto; min-width: min(100%, 240px); min-height: 44px; }
.events-toolbar input, .events-toolbar .filter-select { font-size: 16px; }
.events-toolbar .filter-select { min-height: 44px; }
.event-record { display: grid; grid-template-columns: 58px minmax(0, 1fr); align-items: start; gap: 16px; padding: 22px; }
.event-record > .event-photo-card { grid-column: 1 / -1; aspect-ratio: 16 / 7; max-height: 280px; }
.event-record .event-date { width: 58px; height: 62px; margin-top: 3px; }
.event-record .event-date strong { font-size: 22px; }
.event-record .event-date span { font-size: 12px; }
.event-record-copy { min-width: 0; overflow-wrap: anywhere; }
.event-record-copy h2 { margin: 8px 0; color: var(--ink); font-size: 19px; line-height: 1.5; }
.event-record-copy > p { margin: 7px 0; color: var(--muted-dark); font-size: 15px; line-height: 1.65; }
.event-record-copy a, .event-reader a { color: var(--green-dark); text-decoration: underline; text-underline-offset: 3px; }
.event-record-copy .event-record-when { color: var(--ink); font-weight: 600; }
.event-record-labels { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted-dark); font-size: 13px; }
.event-status { padding: 3px 8px; border-radius: 5px; background: var(--canvas); color: var(--muted-dark); font-size: 12px; text-transform: capitalize; }
.event-status.published { background: var(--green-soft); color: var(--green-dark); }
.event-record-description { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; white-space: pre-line; }
.event-record-actions { display: grid; grid-column: 2; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.event-delete { color: #a33131; }
.event-reader { width: min(100%, 700px); }
.event-reader .modal-body { font-size: 16px; line-height: 1.75; }
.event-reader-description { white-space: pre-line; overflow-wrap: anywhere; }
[data-events-error] { color: #a33131; font-size: 14px; }
[data-events-error]:empty { display: none; }
@media (max-width: 620px) {
  .events-publisher-actions { width: 100%; }
  .events-toolbar .search-field { flex-basis: 100%; }
  .event-record { grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 16px; }
  .event-record .event-date { width: 48px; height: 56px; }
  .event-record-actions { grid-column: 1 / -1; }
}
.story-panel { margin-top: 17px; padding: 18px; background: #f1f3ed; border-radius: 10px; }
.story-panel p { margin: 8px 0 10px; color: #6f7b71; font-size: 13px; line-height: 1.7; }
.story-panel strong { font-size: 12px; }
.quick-stat { display: flex; gap: 7px; align-items: baseline; margin-top: 10px; color: #7d887f; font-size: 11px; }
.quick-stat strong { color: var(--green); font-size: 14px; }
.info-badge { display: inline-flex; gap: 5px; align-items: center; padding: 6px 9px; border-radius: 20px; background: #eef4ed; color: #648068; font-size: 10px; font-weight: 700; }
.safe-heading { margin-top: 21px; }
.safety-item { display: flex; gap: 9px; align-items: flex-start; padding: 9px 0; border-bottom: 1px solid #f1efeb; font-size: 11px; line-height: 1.5; }
.safety-item:last-child { border: 0; }
.safety-check { color: #799477; font-size: 12px; }
.community-feature { min-height: 127px; padding: 17px; background: #f0f3ee; border-radius: 10px; }
.community-feature h2 { margin: 8px 0 5px; font: 700 17px "Manrope", sans-serif; }
.community-feature p { margin: 0; color: #79847a; font-size: 12px; line-height: 1.6; }
.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin: 10px 0; }
.topic-tag { padding: 7px 9px; border: 1px solid #e7e9e0; border-radius: 18px; background: #fff; color: #748078; font-size: 11px; cursor: pointer; }
.topic-tag.active,.topic-tag:hover { border-color: #b8c8b7; color: var(--green); background: #f1f5ef; }
.privacy-callout { display: flex; gap: 11px; padding: 13px; border: 1px solid #ede9dc; border-radius: 9px; background: #faf8f2; color: #777769; font-size: 11px; line-height: 1.6; }
.privacy-callout strong { color: #605d4c; }
.sample-notice { margin: 0 0 18px; padding: 10px 12px; border: 1px solid #ecdfc7; border-radius: 8px; background: #fbf6eb; color: #74684e; font-size: 12px; line-height: 1.55; }
.sample-notice strong { color: #655438; }
.channel-filter-label { display: grid; gap: 6px; flex: 1 1 150px; min-width: 0; font-size: 13px; font-weight: 600; color: var(--muted-dark); }
.channel-filter-label .filter-select { width: 100%; min-height: 42px; font-size: 14px; text-overflow: ellipsis; }
.channel-page-size { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; margin-inline-start: auto; }
.channel-page-size .filter-select { width: 72px; min-height: 34px; }
@media (max-width: 620px) { .channel-filter-label { flex-basis: calc(50% - 10px); } .channel-page-size { flex-basis: auto; } }
.assistant-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.assistant-panel { max-width: 1000px; margin-top: 22px; overflow: hidden; }
.assistant-scope { display: flex; gap: 14px; padding: 20px 24px; background: var(--green-soft); border-bottom: 1px solid var(--line); }
.assistant-scope p { margin: 5px 0 0; color: var(--muted-dark); font-size: 14px; line-height: 1.6; }
.assistant-spark { color: var(--green); font-size: 25px; }
.assistant-messages { min-height: 300px; max-height: 64vh; overflow-y: auto; padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.assistant-welcome { margin: auto; padding: 24px 0; text-align: center; max-width: 600px; width: 100%; }
.assistant-welcome h2 { font-size: 24px; margin-bottom: 8px; }
.assistant-welcome p { color: var(--muted-dark); line-height: 1.6; }
.assistant-welcome-icon { display: inline-grid; place-items: center; height: 56px; width: 56px; border-radius: 18px; background: var(--green-soft); color: var(--green); font-size: 28px; }
.assistant-suggestions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 24px; }
.assistant-suggestion { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px; text-align: start; border: 1px solid var(--line); background: var(--surface); border-radius: 10px; cursor: pointer; font-size: 14px; line-height: 1.5; }
.assistant-suggestion:hover { border-color: var(--green); background: var(--green-soft); }
.assistant-message { max-width: 100%; padding: 18px; border-radius: 12px; overflow-wrap: anywhere; }
.assistant-message > p { margin: 8px 0 0; line-height: 1.7; white-space: pre-wrap; }
.assistant-user { align-self: flex-end; max-width: 85%; background: var(--green-soft); }
.assistant-reply { align-self: stretch; padding: 0; }
.assistant-speaker { font-size: 13px; font-weight: 700; color: var(--muted-dark); }
.assistant-sources { display: grid; gap: 12px; margin-top: 16px; }
.assistant-source { border: 1px solid var(--line); border-radius: 10px; padding: 18px; }
.assistant-source-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.assistant-source h3 { font-size: 18px; margin: 12px 0; }
.assistant-source blockquote { margin: 0 0 14px; border-inline-start: 3px solid var(--sage); padding-inline-start: 14px; white-space: pre-wrap; line-height: 1.7; font-size: 15px; color: var(--muted-dark); }
.assistant-demo { font-size: 13px; color: #825a28; }
.assistant-evidence-note { display: block; margin-top: 12px; color: var(--muted-dark); line-height: 1.6; }
.assistant-error { background: var(--yellow-soft); }
.assistant-error button { margin-top: 12px; }
.assistant-thinking { padding: 14px 0; color: var(--muted-dark); font-size: 15px; }
.assistant-composer { padding: 20px 24px; border-top: 1px solid var(--line); }
.assistant-composer > label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.assistant-input-row { display: flex; gap: 10px; align-items: flex-end; }
.assistant-input-row textarea { flex: 1; min-width: 0; resize: vertical; max-height: 180px; padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: var(--canvas); color: var(--ink); font: inherit; line-height: 1.5; }
.assistant-privacy { color: var(--muted-dark); font-size: 12px; line-height: 1.7; margin: 10px 0 0; }
.forum-community-note { padding: 12px 15px; border-radius: 9px; background: var(--green-soft); color: var(--muted-dark); font-size: 14px; line-height: 1.6; margin-bottom: 24px; }
.forum-section-heading { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin: 22px 0 18px; }
.forum-membership-notice { max-width: 360px; margin: 0; padding: 10px 14px; border-radius: 8px; background: var(--green-soft); color: var(--muted-dark); font-size: .875rem; line-height: 1.6; }
.forum-membership-notice a { font-weight: 650; }
.forum-thread-navigation { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 20px 0; }
.forum-section-heading .channel-filter-label { flex: 0 1 180px; }
.forum-filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding: 18px; border: 1px solid var(--line); background: var(--surface); border-radius: 12px; }
.forum-filters .search-field { flex: 2 1 240px; min-height: 42px; width: auto; }
.forum-filters .search-field input { font-size: 14px; }
.forum-results-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; margin: 16px 0; color: var(--muted-dark); font-size: 14px; }
.forum-list, .forum-replies { display: grid; gap: 14px; }
.forum-topic { display: flex; gap: 20px; align-items: flex-start; padding: 22px; }
.forum-topic-main { min-width: 0; flex: 1; }
.forum-badges { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.forum-badge { background: var(--yellow-soft); color: #815e2f; border-radius: 6px; padding: 4px 7px; font-size: 12px; font-weight: 600; }
.forum-topic h3 { font-size: 19px; line-height: 1.6; margin: 12px 0 6px; overflow-wrap: anywhere; }
.forum-topic h3 a:hover { color: var(--green); text-decoration: underline; }
.forum-excerpt { font-size: 14px; line-height: 1.7; color: var(--muted-dark); margin: 0 0 12px; overflow-wrap: anywhere; white-space: pre-wrap; }
.forum-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0; }
.forum-tag { font-size: 13px; }
.forum-tag, .forum-post-actions .text-link, .forum-results-toolbar .text-link, .forum-replies-heading .text-link { border: 0; background: none; padding: 0; }
.forum-tag:hover { text-decoration: underline; }
.forum-byline { color: var(--muted-dark); font-size: 13px; line-height: 1.8; overflow-wrap: anywhere; }
.forum-reply-count { display: grid; gap: 4px; justify-items: center; padding: 12px 16px; min-width: 65px; border-radius: 9px; background: var(--green-soft); color: var(--green); }
.forum-reply-count strong { font-size: 20px; }
.forum-reply-count span { font-size: 12px; }
.forum-pagination { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 22px 0; color: var(--muted-dark); font-size: 14px; }
.forum-empty { margin-top: 16px; padding: 30px 22px; text-align: center; }
.forum-empty p { color: var(--muted-dark); line-height: 1.7; }
.forum-thread { padding: 26px; margin-top: 20px; }
.forum-thread-title { font-size: 26px; line-height: 1.5; margin: 18px 0 10px; overflow-wrap: anywhere; }
.forum-post-body { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 16px; line-height: 1.9; margin: 22px 0; }
.forum-photo-preview { display: block; width: min(100%, 560px); padding: 0; margin: 0 0 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: var(--green-soft); color: var(--green); text-align: start; cursor: pointer; }
.forum-photo-preview img { display: block; width: 100%; aspect-ratio: 14 / 9; object-fit: cover; }
.forum-photo-preview span { display: block; padding: 9px 12px; font-size: 14px; }
.forum-topic .forum-photo-preview { max-width: 240px; }
.modal.forum-photo-modal { width: min(100%, 1000px); max-height: 92vh; }
.forum-photo-viewer { margin: 0; }
.forum-photo-viewer img { display: block; width: 100%; max-height: 70vh; object-fit: contain; }
.forum-photo-viewer figcaption { margin-top: 12px; overflow-wrap: anywhere; }
.forum-thread-footer, .forum-post-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.forum-thread-footer { justify-content: space-between; border-top: 1px solid var(--line); padding-top: 16px; }
.forum-post-actions { gap: 18px; font-size: 14px; }
.forum-post-actions button:disabled { opacity: .5; cursor: default; }
.forum-moderation { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 15px; margin-top: 20px; background: var(--yellow-soft); border-radius: 8px; font-size: 13px; }
.forum-replies-heading { margin-top: 28px; }
.forum-reply { padding: 22px; }
.forum-reply { display: flex; align-items: flex-start; gap: 14px; }
.forum-comment-avatar { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%; background: var(--green-soft); color: var(--green); font-weight: 700; }
.forum-comment-avatar { overflow: hidden; }
.forum-author { display: flex; align-items: center; gap: 10px; }
.forum-author > span:last-child { min-width: 0; }
.forum-comment-content { flex: 1; min-width: 0; }
.forum-comment-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 20px; }
.forum-comment-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 8px 0 14px; }
.forum-comment-footer .forum-comment-actions { margin: 0; }
.forum-reaction, .forum-comment-reply { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-width: 44px; min-height: 40px; padding: 6px 10px; border: 1px solid transparent; border-radius: 20px; background: transparent; color: inherit; font: inherit; font-size: 14px; cursor: pointer; }
.forum-reaction svg { flex-shrink: 0; }
.forum-thumb-down { transform: rotate(180deg); }
.forum-reaction[aria-pressed="true"] { color: var(--green); background: var(--green-soft); border-color: currentColor; }
.forum-reaction:hover:not(:disabled), .forum-comment-reply:hover:not(:disabled) { background: var(--green-soft); }
.forum-reaction:disabled { cursor: default; opacity: .65; }
.forum-reaction:focus-visible, .forum-comment-reply:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.forum-reply--nested { margin-left: 28px; border-left: 3px solid var(--green); }
.forum-reply-context { margin: 8px 0 0; color: var(--muted-dark); font-size: 14px; }
.forum-inline-reply { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.forum-inline-reply textarea { min-height: 70px; resize: vertical; font-size: 16px; }
.forum-inline-buttons { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
@media (max-width: 600px) {
  .forum-reply { gap: 10px; }
  .forum-comment-avatar { flex-basis: 30px; width: 30px; height: 30px; }
  .forum-reply--nested { margin-left: 12px; }
}
.forum-reply-editor { padding: 24px; margin-top: 24px; }
.forum-reply-editor h3 { margin-top: 0; }
.forum-reply-editor .onboarding-form label, .community-editor .onboarding-form label { font-size: 14px; }
.forum-reply-editor textarea, .community-editor .onboarding-form input, .community-editor .onboarding-form select, .community-editor textarea { font-size: 15px; }
.onboarding-form .forum-checkbox { display: flex; align-items: center; gap: 8px; }
.forum-checkbox input { min-height: auto; }
.modal.community-editor { width: min(100%, 640px); }
.forum-share-link { width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 7px; font: inherit; }
.forum-report { padding: 22px; margin: 16px 0; }
.forum-report blockquote { white-space: pre-wrap; overflow-wrap: anywhere; margin: 18px 0; padding: 16px; background: var(--canvas); border-inline-start: 3px solid var(--sage); max-height: 320px; overflow: auto; line-height: 1.8; }
.forum-report > p { font-size: 14px; line-height: 1.7; white-space: pre-wrap; }
[data-community-error]:empty { display: none; }
[data-community-error] { color: #a33131; }
@media (max-width: 620px) {
  .forum-topic, .forum-thread, .forum-reply, .forum-reply-editor { padding: 16px; }
  .forum-topic { gap: 10px; }
  .forum-reply-count { padding: 10px; min-width: 48px; }
  .forum-thread-title { font-size: 22px; }
  .forum-filters { padding: 14px; }
  .forum-filters .search-field { flex-basis: 100%; }
  .forum-filters .channel-filter-label { flex-basis: calc(50% - 12px); }
}
@media (max-width: 620px) {
  .assistant-messages, .assistant-scope, .assistant-composer { padding: 16px; }
  .assistant-suggestions { grid-template-columns: 1fr; }
  .assistant-input-row { flex-direction: column; align-items: stretch; }
  .assistant-welcome h2 { font-size: 21px; }
  .assistant-user { max-width: 95%; }
}
@media (max-width: 1050px) {
}
.rtl-content { direction: rtl; text-align: right; }

.toast-region { position: fixed; right: 20px; bottom: 20px; z-index: 15; display: grid; gap: 8px; }
.toast { max-width: min(340px, calc(100vw - 40px)); padding: 12px 16px; border: 1px solid #e2e8df; border-radius: 9px; background: #fff; color: #49614e; box-shadow: var(--shadow); font-size: 13px; animation: toast-in .2s ease-out; }
@keyframes toast-in { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
.modal-backdrop { position: fixed; inset: 0; z-index: 12; display: grid; place-items: center; padding: 18px; background: rgb(32 52 46 / 35%); }
.modal { width: min(100%, 440px); max-height: min(88vh, 650px); overflow: auto; padding: 22px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: 0 20px 70px rgb(22 36 30 / 18%); }
.modal-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 15px; }
.modal-header h2 { margin: 4px 0 0; font: 700 21px "Manrope",sans-serif; }
.modal-close { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--muted); cursor: pointer; font-size: 18px; }
.modal-body { margin-top: 14px; color: #68736a; font-size: 13px; line-height: 1.75; }
.modal-body ul { padding-left: 19px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 19px; }
.listing-share { font-size: 16px; }
.listing-share-options { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 8px; margin: 16px 0; }
.listing-share-options .btn { min-height: 44px; padding: 8px; font-size: 14px; line-height: 1.4; text-align: center; }
.listing-share-link { display: grid; gap: 6px; font-size: 14px; }
.listing-share-link input, .listing-share .onboarding-form input { width: 100%; min-height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: #fff; font-size: 16px; }
.listing-share .onboarding-form label { font-size: 14px; }
.listing-share .onboarding-form textarea { font-size: 16px; }
.job-card, .housing-card { display: flex; flex-direction: column; container-type: inline-size; }
.housing-card .listing-photo-card { margin-bottom: 14px; }
.housing-card-tools { display: flex; gap: 6px; flex: 0 0 auto; }
.housing-card-price { margin: 0 0 8px; color: var(--green); font-size: 14px; font-weight: 700; }
.housing-card-description { margin: 0 0 14px; color: var(--muted-dark); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.job-languages { margin: 0 0 14px; color: var(--muted-dark); font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
.job-card-actions, .housing-card-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); }
.job-card-actions .btn, .housing-card-actions .btn { min-width: 0; min-height: 40px; padding: 6px; font-size: 12px; line-height: 1.4; text-align: center; }
@container (max-width: 240px) {
  .job-card-actions, .housing-card-actions { grid-template-columns: minmax(0, 1fr); }
}
.job-details-modal .modal-actions, .housing-details-modal .modal-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.job-details-modal .modal-actions { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.job-details-modal .modal-actions .btn, .housing-details-modal .modal-actions .btn { min-width: 0; min-height: 44px; padding: 8px; line-height: 1.4; text-align: center; }
.modal:has(.listing-share) .modal-actions .btn, .listing-share .onboarding-form > .btn { width: 100%; min-height: 44px; }
@media (max-width: 480px) {
  .listing-share-options { grid-auto-flow: row; grid-template-columns: minmax(0, 1fr); }
  .job-details-modal .modal-actions, .housing-details-modal .modal-actions { grid-template-columns: minmax(0, 1fr); }
  .job-details-modal .modal-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.listing-share button:disabled { opacity: .6; cursor: not-allowed; }
.setting-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.setting-row:last-child { border: 0; }
.setting-row strong { display: block; color: #415249; font-size: 12px; }
.setting-row small { display: block; margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.member-profile-backdrop { padding: 24px; }
.modal.member-profile-modal { display: flex; flex-direction: column; width: min(100%, 800px); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow: hidden; padding: 28px; }
.member-profile-modal .modal-header, .member-profile-modal .modal-actions { flex-shrink: 0; }
.member-profile-modal .modal-header > div { min-width: 0; }
.member-profile-modal .modal-header h2 { overflow-wrap: anywhere; }
.member-profile-modal .modal-close { flex-shrink: 0; width: 44px; height: 44px; }
.member-profile-modal .modal-body { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-right: 6px; font-size: 16px; overflow-wrap: anywhere; }
.member-profile-modal .setting-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 220px); gap: 20px; padding: 18px 0; }
.member-profile-modal .setting-row > * { min-width: 0; max-width: 100%; }
.member-profile-modal .setting-row strong { font-size: 16px; }
.member-profile-modal .setting-row small { color: var(--muted-dark); font-size: 14px; }
.member-profile-modal .setting-row > .toggle { justify-self: end; }
.member-profile-modal .setting-row > .meta-chip { justify-self: start; }
.member-profile-modal .btn { min-height: 44px; padding: 8px 16px; font-size: 14px; white-space: normal; text-align: center; }
.member-profile-modal input[type="file"] { width: 100%; min-height: 44px; padding: 8px; border: 1px solid var(--line); border-radius: 7px; font-size: 14px; }
.member-profile-modal .modal-actions { flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line); }
.member-profile-about { padding: 0 0 20px; border-bottom: 1px solid var(--line); }
.member-profile-about h3 { margin: 0 0 16px; font-size: 18px; color: var(--ink); }
.member-profile-about .onboarding-form label { font-size: 14px; }
.member-profile-about .onboarding-form input { width: 100%; min-width: 0; min-height: 44px; font-size: 16px; }
.member-profile-about p { margin: 0; font-size: 14px; }
.member-profile-about [role="alert"] { color: #a33131; }
.member-profile-about [role="alert"]:empty, .member-profile-about [role="status"]:empty { display: none; }
.member-profile-about .btn { justify-self: start; }
.member-description { overflow-wrap: anywhere; }
.work-directory { max-width: 1200px; margin: 0 auto; }
.work-directory-header { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 24px; }
.work-directory-header > div { flex: 1 1 500px; }
.work-directory .btn, .work-profile-modal .btn { min-height: 44px; padding: 10px 16px; font-size: 14px; white-space: normal; }
.work-view-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.work-filters { display: grid; grid-template-columns: 2fr 1.5fr 1fr 1fr auto; gap: 12px; align-items: end; margin: 20px 0; }
.work-filters label { display: grid; gap: 8px; min-width: 0; color: var(--muted-dark); font-size: 14px; }
.work-filters input, .work-filters select { min-width: 0; width: 100%; min-height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--ink); font-size: 16px; }
.work-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.work-card { display: flex; flex-direction: column; min-width: 0; padding: 0; overflow: hidden; }
.work-card-content { display: flex; flex-direction: column; flex: 1; gap: 12px; padding: 24px; overflow-wrap: anywhere; }
.work-card h2 { margin: 0; color: var(--ink); font-size: 22px; line-height: 1.4; }
.work-card p { margin: 0; font-size: 16px; line-height: 1.65; }
.work-card .work-member-name { font-weight: 600; color: var(--green-dark); }
.work-excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.work-card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 16px; }
.work-empty, .work-report { padding: 28px; margin: 20px 0; font-size: 16px; }
.work-empty p, .work-report p { line-height: 1.7; }
.work-profile .onboarding-form input, .work-profile .onboarding-form textarea { width: 100%; min-width: 0; min-height: 44px; font-size: 16px; }
.work-profile .onboarding-form label { font-size: 14px; }
.work-profile { overflow-wrap: anywhere; }
.work-report-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 18px; }
.work-honeypot { display: none !important; }
@media (max-width: 1000px) { .work-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 650px) {
  .work-grid, .work-filters { grid-template-columns: minmax(0, 1fr); }
  .work-card-content { padding: 20px; }
  .work-directory-header > .btn, .work-card-actions .btn { flex: 1 1 160px; }
  .work-view-tabs .btn { flex: 1 1 120px; }
}
.member-profile-section { margin: 12px 0; border: 1px solid var(--line); border-radius: 10px; }
.member-profile-section > summary { min-height: 64px; padding: 16px; cursor: pointer; color: var(--ink); }
.member-profile-section > summary strong { font-size: 16px; }
.member-profile-section > summary span { display: block; margin: 4px 0 0 18px; color: var(--muted-dark); font-size: 14px; }
.member-profile-section[open] > summary { border-bottom: 1px solid var(--line); }
.member-profile-section-body { padding: 16px; }
.member-profile-section-body > p:first-child { margin-top: 0; }
.member-profile-section-body .supporter-preferences { margin-top: 16px; }
.member-profile-section-body [role="alert"] { color: #a33131; }
.member-profile-section-body [role="alert"]:empty, .member-profile-section-body [role="status"]:empty { display: none; }
.member-profile-section-body .membership-community-list a { display: inline-block; min-height: 44px; padding: 8px 0; }
@media (max-width: 600px) {
  .member-profile-backdrop { padding: 12px; }
  .modal.member-profile-modal { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); padding: 18px; }
  .member-profile-modal .modal-body { padding-right: 4px; }
  .member-profile-modal .setting-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .member-profile-modal .setting-row:has(.toggle) { grid-template-columns: minmax(0, 1fr) auto; }
  .member-profile-modal .modal-actions .btn { flex: 1 1 120px; }
}
.toggle { width: 34px; height: 19px; appearance: none; border-radius: 12px; background: #dcded8; cursor: pointer; position: relative; }
.toggle::after { content: ""; position: absolute; width: 13px; height: 13px; top: 3px; left: 3px; background: #fff; border-radius: 50%; transition: transform .18s; }
.toggle:checked { background: #719274; }
.toggle:checked::after { transform: translateX(15px); }
.onboarding-form { display: grid; gap: 11px; }
.onboarding-form label { display: grid; gap: 5px; color: #59665d; font-size: 12px; font-weight: 600; }
.onboarding-form input,.onboarding-form select { min-height: 37px; padding: 0 10px; border: 1px solid #e8e8e1; border-radius: 7px; background: #fff; color: var(--ink); font-size: 12px; }
.onboarding-form textarea { width: 100%; resize: vertical; padding: 10px; border: 1px solid var(--line); border-radius: 7px; font: inherit; color: var(--ink); background: var(--surface); }
.membership-panel { padding: 26px; margin: 22px 0; max-width: 700px; }
.membership-panel h2 { margin-top: 0; }
.membership-panel .onboarding-form { max-width: 440px; }
.membership-panel .onboarding-form input, .member-role-form select { font-size: 16px; min-height: 42px; }
.membership-panel .onboarding-form label { font-size: 15px; }
.membership-panel p, .membership-tier p { line-height: 1.7; color: var(--muted-dark); }
.membership-actions { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.membership-switch { display: flex; width: fit-content; max-width: 100%; min-height: 44px; margin-top: 12px; padding: 8px 0; border: 0; border-radius: 4px; background: transparent; font-size: .875rem; line-height: 1.5; text-align: left; white-space: normal; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.membership-switch + .membership-switch { margin-top: 0; }
.membership-switch:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.membership-tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 28px 0 18px; }
.administration-page { max-width: 1000px; margin-inline: auto; }
.administration-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.administration-card { display: flex; flex-direction: column; align-items: start; gap: 12px; padding: 28px; color: var(--ink); text-decoration: none; }
.administration-card h2 { margin: 0; font-size: 1.25rem; }
.administration-card p { margin: 0; font-size: 1rem; line-height: 1.7; color: var(--muted-dark); }
.administration-card > span { margin-top: auto; padding-top: 10px; font-size: .9375rem; font-weight: 650; color: var(--green); }
.administration-card:hover { border-color: var(--green); background: var(--green-soft); }
.administration-card:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }
.administration-back { display: inline-block; margin-bottom: 22px; font-size: .9375rem; }
@media (max-width: 650px) { .administration-grid { grid-template-columns: 1fr; } .administration-card { padding: 22px; } }
.platform-sponsorship { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: 32px; margin: 28px 0; border-top: 4px solid var(--green); }
.platform-sponsorship h2 { margin: 12px 0 16px; font-size: 1.75rem; }
.platform-sponsorship p { font-size: 1rem; line-height: 1.75; color: var(--muted-dark); }
.sponsorship-benefits { display: grid; gap: 20px; padding: 0; margin: 28px 0; list-style: none; }
.sponsorship-benefits li { display: grid; gap: 5px; font-size: 1rem; line-height: 1.6; }
.sponsorship-benefits strong { color: var(--green); }
.sponsorship-benefits span { color: var(--muted-dark); }
.sponsorship-form { display: grid; align-content: start; gap: 16px; min-width: 0; }
.sponsorship-options { display: grid; gap: 12px; padding: 0; margin: 0; border: 0; min-width: 0; }
.sponsorship-options legend { padding: 0; margin-bottom: 14px; font-size: 1.125rem; font-weight: 700; }
.sponsorship-choice { display: flex; align-items: start; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; }
.sponsorship-choice:has(input:checked) { border-color: var(--green); background: var(--green-soft); }
.sponsorship-choice input, .sponsorship-check input { width: 18px; height: 18px; margin: 3px 0 0; flex-shrink: 0; accent-color: var(--green); }
.sponsorship-choice span { display: grid; gap: 5px; }
.sponsorship-choice strong { font-size: 1rem; }
.sponsorship-choice small { font-size: .875rem; line-height: 1.65; color: var(--muted-dark); }
.sponsorship-details { display: grid; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.sponsorship-details h3, .sponsorship-details p { margin: 0; }
.sponsorship-details > label { display: grid; gap: 6px; font-size: .9375rem; line-height: 1.6; }
.sponsorship-details input:not([type="checkbox"]) { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; font: inherit; background: #fff; color: var(--ink); }
.sponsorship-details .sponsorship-check { display: flex; align-items: start; gap: 10px; font-weight: 400; }
.platform-sponsorship .sponsorship-note, .platform-sponsorship .sponsorship-payment-note { font-size: .875rem; }
.sponsorship-form > p:empty { display: none; }
.sponsorship-form > button { justify-self: start; }
#sponsorship-error, .sponsorship-settings-error, .assistant-settings-error, .site-feature-settings-error { color: #a33131; }
.sponsorship-choice:focus-within { outline: 2px solid var(--green); outline-offset: 3px; }
@media (max-width: 900px) { .platform-sponsorship { grid-template-columns: 1fr; gap: 24px; } }
@media (max-width: 600px) { .platform-sponsorship { padding: 22px; } }
.membership-tier { padding: 23px; }
.membership-tier h2 { font-size: 20px; line-height: 1.5; }
.current-tier { border-color: var(--green); background: var(--green-soft); }
.publisher-toolbar { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 15px 18px; margin-bottom: 24px; border: 1px solid var(--line); border-radius: 10px; background: var(--green-soft); }
.publisher-toolbar > span { flex: 1 1 220px; color: var(--green-dark); font-size: 14px; line-height: 1.6; }
.publisher-toolbar-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; flex: 1 1 390px; max-width: 460px; }
.publisher-toolbar-actions .btn { min-height: 44px; padding: 9px 12px; font-size: 14px; line-height: 1.4; text-align: center; }
@media (max-width: 620px) { .publisher-toolbar-actions { flex-basis: 100%; max-width: none; } }
.membership-list, .member-list { margin-top: 22px; }
.manage-header { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 20px; }
.manage-header > div:first-child { flex: 1 1 320px; }
.manage-header .page-subtitle { max-width: 570px; margin-bottom: 0; }
.manage-publish-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; flex: 0 1 360px; }
.manage-page .btn { min-height: 44px; font-size: 14px; line-height: 1.4; padding: 10px 14px; text-align: center; }
.manage-page .btn:disabled { opacity: .6; cursor: wait; }
.manage-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 24px 0; }
.manage-stats > div { min-width: 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.manage-stats dt { color: var(--muted-dark); font-size: 14px; font-weight: 600; }
.manage-stats dd { margin: 7px 0 3px; color: var(--ink); font-size: 30px; font-weight: 700; line-height: 1.2; }
.manage-stats small { color: var(--muted-dark); font-size: 14px; line-height: 1.5; }
.manage-workspace { padding: 0; overflow: hidden; border-radius: 12px; }
.manage-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 22px; }
.manage-kind-filters { display: flex; flex-wrap: wrap; gap: 6px; }
.manage-kind-tab { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 12px; border: 1px solid transparent; border-radius: 7px; background: transparent; color: var(--muted-dark); font-size: 14px; font-weight: 600; cursor: pointer; }
.manage-kind-tab:hover { background: var(--canvas); }
.manage-kind-tab.active { border-color: #d5e3d3; background: var(--green-soft); color: var(--green-dark); }
.manage-kind-tab span { min-width: 22px; padding: 2px 6px; border-radius: 5px; background: rgb(49 92 72 / 7%); font-size: 12px; }
.manage-filters { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(135px, .45fr) minmax(155px, .5fr); gap: 12px; padding: 0 22px 20px; border-bottom: 1px solid var(--line); }
.manage-filters label { display: grid; align-content: start; gap: 7px; min-width: 0; color: var(--muted-dark); font-size: 14px; font-weight: 600; }
.manage-filters input, .manage-filters select { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--ink); font-size: 16px; }
.manage-result-count { padding: 16px 22px; color: var(--muted-dark); font-size: 14px; }
.manage-listing { display: grid; grid-template-columns: 44px minmax(0, 1fr) 220px; align-items: center; gap: 16px; padding: 22px; border-top: 1px solid var(--line); }
.manage-listing-icon { display: grid; place-items: center; align-self: start; width: 44px; height: 44px; border-radius: 10px; background: var(--green-soft); color: var(--green); font-size: 22px; }
.manage-listing-icon.housing { background: var(--yellow-soft); color: #886227; }
.manage-listing-copy { min-width: 0; overflow-wrap: anywhere; }
.manage-listing-labels { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted-dark); font-size: 14px; }
.manage-status { display: inline-flex; padding: 3px 9px; border-radius: 5px; font-size: 12px; font-weight: 700; }
.manage-status.published { background: var(--green-soft); color: var(--green-dark); }
.manage-status.hidden { background: #f1f1ed; color: #586057; }
.manage-listing h2 { margin: 8px 0 6px; font-size: 18px; line-height: 1.45; }
.manage-listing-title { padding: 0; border: 0; background: transparent; color: var(--ink); font: inherit; text-align: start; cursor: pointer; overflow-wrap: anywhere; }
.manage-listing-title:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.manage-listing-meta, .manage-listing-price, .manage-listing-description { margin: 6px 0 0; color: var(--muted-dark); font-size: 14px; line-height: 1.6; }
.manage-listing-meta span { margin: 0 4px; }
.manage-listing-price { color: var(--ink); font-weight: 600; }
.manage-listing-description { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.manage-listing-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.manage-listing-actions .manage-archive { color: #775847; }
.manage-empty { display: grid; justify-items: center; gap: 12px; padding: 38px 24px 44px; border-top: 1px solid var(--line); text-align: center; }
.manage-empty-symbol { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 12px; background: var(--green-soft); color: var(--green); font-size: 28px; }
.manage-empty h2 { margin: 0; font-size: 20px; }
.manage-empty p { max-width: 440px; margin: 0; color: var(--muted-dark); font-size: 16px; line-height: 1.65; }
.manage-error { margin: 18px 22px 0; padding: 14px 16px; border: 1px solid #e7d5c0; border-radius: 8px; background: var(--yellow-soft); color: #6a4d2a; font-size: 14px; }
.manage-error p { margin: 6px 0 0; line-height: 1.5; }
.content-editor-modal { width: min(100%, 720px); }
.content-editor-modal .modal-actions:empty { display: none; }
.content-editor-intro { margin: 0 0 22px; color: var(--muted-dark); font-size: 16px; line-height: 1.65; }
.content-editor { gap: 22px; }
.content-editor fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.content-editor legend { width: 100%; margin-bottom: 14px; padding: 0 0 10px; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 16px; font-weight: 700; }
.content-editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.content-editor fieldset:first-child .content-editor-grid > label:first-child { grid-column: 1 / -1; }
.content-editor label { min-width: 0; gap: 7px; font-size: 14px; }
.content-editor input, .content-editor select, .content-editor textarea { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; border-color: var(--line); font-size: 16px; line-height: 1.5; }
.content-editor-visibility { display: grid; gap: 10px; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--canvas); }
.content-editor-visibility p { margin: 0; color: var(--muted-dark); font-size: 14px; line-height: 1.6; }
.content-editor-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.content-editor-actions .btn { min-height: 44px; padding: 10px; font-size: 14px; }
.content-editor .content-editor-actions { position: sticky; bottom: -22px; z-index: 1; margin: 0 -1px -1px; padding: 16px 0 2px; border-top: 1px solid var(--line); background: var(--surface); box-shadow: 0 -8px 16px var(--surface); }
@media (max-width: 1050px) {
  .manage-listing { grid-template-columns: 44px minmax(0, 1fr); align-items: start; }
  .manage-listing-actions { grid-column: 2; width: 220px; }
}
@media (max-width: 620px) {
  .manage-publish-actions { flex-basis: 100%; }
  .manage-stats { gap: 8px; }
  .manage-stats > div { padding: 14px 12px; }
  .manage-stats dd { font-size: 28px; }
  .manage-stats small { display: none; }
  .manage-toolbar { align-items: stretch; padding: 16px; }
  .manage-kind-filters { width: 100%; }
  .manage-kind-tab { flex: 1; padding: 8px 6px; }
  .manage-toolbar > .btn { width: 100%; }
  .manage-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0 16px 18px; }
  .manage-filters .manage-search { grid-column: 1 / -1; }
  .manage-result-count { padding: 14px 16px; }
  .manage-listing { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 18px 16px; }
  .manage-listing-icon { display: none; }
  .manage-listing-actions { grid-column: 1; width: 100%; }
  .manage-error { margin-right: 16px; margin-left: 16px; }
  .content-editor-grid { grid-template-columns: minmax(0, 1fr); }
}
.members-page .btn { min-height: 44px; padding: 10px 12px; font-size: 14px; line-height: 1.4; }
.members-page button:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.members-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 14px; margin: 24px 0; }
.members-stats > div { display: grid; gap: 10px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 11px; background: var(--surface); }
.members-stats span { color: var(--muted-dark); font-size: 14px; }
.members-stats strong { color: var(--ink); font-size: 28px; line-height: 1.2; }
.members-directory { padding: 0; overflow: hidden; border-radius: 12px; }
.member-filters { display: grid; grid-template-columns: minmax(200px, 2fr) repeat(2, minmax(120px, 1fr)) minmax(150px, 1.2fr); gap: 12px; padding: 22px; border-bottom: 1px solid var(--line); }
.member-filters label, .member-field { display: grid; align-content: start; gap: 7px; min-width: 0; color: var(--muted-dark); font-size: 14px; font-weight: 600; }
.members-page select, .member-search input { width: 100%; min-width: 0; min-height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 7px; color: var(--ink); background: var(--surface); font-size: 16px; }
.members-page select:disabled { color: var(--muted-dark); background: var(--canvas); cursor: not-allowed; }
.member-results-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 22px; }
.member-results-toolbar p { margin: 0; color: var(--muted-dark); font-size: 14px; }
.member-results-toolbar .text-link { flex-shrink: 0; min-height: 44px; padding: 6px; font-size: 14px; }
.member-draft-count { margin: 0; padding: 0 22px 16px; color: var(--green-dark); font-size: 14px; line-height: 1.6; }
.member-draft-count:empty { display: none; }
.member-directory-head, .member-row { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(125px, .44fr) minmax(125px, .44fr) 190px; gap: 16px; padding: 14px 22px; }
.member-directory-head { border-top: 1px solid var(--line); background: var(--canvas); color: var(--muted-dark); font-size: 14px; font-weight: 600; }
.member-row { align-items: center; margin: 0; padding-top: 20px; padding-bottom: 20px; border: 0; border-top: 1px solid var(--line); }
.member-row.has-changes { background: #f7faf5; box-shadow: inset 3px 0 var(--green); }
.member-identity { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.member-identity > div { min-width: 0; }
.member-avatar { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; background: var(--green-soft); color: var(--green-dark); font-size: 14px; font-weight: 700; }
.member-row h2 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; color: var(--ink); font-size: 16px; line-height: 1.5; overflow-wrap: anywhere; }
.member-you { padding: 2px 6px; border-radius: 4px; background: var(--green-soft); color: var(--green-dark); font-size: 12px; font-weight: 600; }
.member-email { margin: 4px 0 0; color: var(--muted-dark); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.member-joined { margin: 5px 0 0; color: var(--muted-dark); font-size: 12px; }
.member-last-admin { margin: 7px 0 0; color: #795b31; font-size: 12px; line-height: 1.5; }
.member-field > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.member-role-current { width: 100%; min-width: 0; min-height: 44px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 7px; background: var(--canvas); color: var(--muted-dark); font-size: .875rem; }
.member-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.member-actions [data-action="review-member-removal"] { grid-column: 1 / -1; }
.member-removal-note { color: var(--green-dark); font-size: .875rem; line-height: 1.5; }
.member-row-feedback, .member-row-error { grid-column: 1 / -1; margin: 0; font-size: 14px; line-height: 1.5; }
.member-row-feedback { color: var(--green-dark); }
.member-row-error { color: #a33131; }
.member-row-feedback:empty, .member-row-error:empty { display: none; }
.member-pagination { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-top: 1px solid var(--line); }
.member-pagination > label { display: flex; align-items: center; gap: 10px; color: var(--muted-dark); font-size: 14px; }
.member-pagination select { width: 80px; }
.member-pagination nav { display: flex; align-items: center; gap: 12px; }
.member-pagination nav span { color: var(--muted-dark); font-size: 14px; white-space: nowrap; }
.member-access-guide { margin: 20px 0 0; color: var(--muted-dark); font-size: 14px; line-height: 1.7; }
.member-access-guide summary { color: var(--green); font-weight: 600; cursor: pointer; }
.member-access-guide p { max-width: 850px; }
@media (max-width: 1150px) {
  .member-filters { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .member-filters .member-search { grid-column: 1 / -1; }
  .member-directory-head { display: none; }
  .member-row { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .member-identity { grid-column: 1 / -1; }
  .member-field > span { position: static; width: auto; height: auto; clip-path: none; white-space: normal; }
  .member-actions { grid-column: 1 / -1; width: min(100%, 300px); justify-self: end; }
}
@media (max-width: 620px) {
  .members-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .members-stats > div { padding: 14px 16px; }
  .member-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 16px; }
  .member-filters label:last-child { grid-column: 1 / -1; }
  .member-row, .member-results-toolbar, .member-pagination { padding-right: 16px; padding-left: 16px; }
  .member-draft-count { padding-right: 16px; padding-left: 16px; }
  .member-actions { width: 100%; }
  .member-pagination nav { width: 100%; justify-content: space-between; gap: 8px; }
}
.discussion-link { display: block; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.discussion-comments { margin: 22px 0; }
.discussion-comment { padding: 15px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.discussion-comment p { white-space: pre-wrap; }
.unread-notification { padding-left: 12px; border-left: 3px solid var(--green); }
#membership-error:empty { display: none; }
#membership-error { color: #a33131; }
.nav-list { flex: 1; align-content: start; overflow-y: auto; min-height: 0; padding-right: 4px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #cbd3cc transparent; }
.nav-list::-webkit-scrollbar { width: 5px; }
.nav-list::-webkit-scrollbar-thumb { background: #cbd3cc; border-radius: 999px; }
.nav-list::-webkit-scrollbar-track { background: transparent; }
.nav-list::-webkit-scrollbar-button { display: none; }
.sidebar-bottom { flex-shrink: 0; }
@media (max-width: 1050px) { .membership-tiers { grid-template-columns: 1fr; } }

body.high-contrast { --canvas:#fff; --ink:#101a15; --muted:#454e48; --muted-dark:#353d37; --line:#c6cbc4; --green:#174b31; --green-dark:#113c26; --green-soft:#e5f0e8; }
body.high-contrast .hero,body.high-contrast .support-banner { background:#e7eee7; }
body.high-contrast .nav-link,body.high-contrast .page-subtitle,body.high-contrast .section-caption { color:#414b43; }
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }

@media (min-width: 1500px) { .page-content { padding-top: 43px; } }
@media (max-width: 1100px) {
  .sidebar { width: 220px; padding-right: 13px; padding-left: 13px; }
  .main-area { margin-left: 220px; }
  .topbar { padding-right: 30px; padding-left: 30px; }
  .page-content { padding-right: 30px; padding-left: 30px; }
  .dashboard-grid { grid-template-columns: minmax(0, 1.4fr) minmax(210px,.9fr); }
  .site-footer { padding-right: 30px; padding-left: 30px; }
}
@media (max-width: 790px) {
  .assistant-nav-link { display: flex; }
  .assistant-launcher { display: none; }
  .assistant-launcher ~ .toast-region { bottom: 20px; }
  .sidebar { width: 255px; transform: translateX(-105%); transition: transform .2s ease; box-shadow: 10px 0 35px rgb(30 43 35 / 8%); }
  .sidebar.mobile-open { transform: translateX(0); }
  .main-area { margin-left: 0; }
  .topbar { height: 58px; padding: 0 18px; }
  .mobile-menu { display: block; }
  .breadcrumb { margin-right: auto; margin-left: 11px; }
  .topbar-actions { gap: 10px; }
  .page-content { padding: 27px 20px 25px; }
  .site-footer { padding: 16px 20px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .topbar { padding-right: 12px; padding-left: 10px; }
  .topbar-actions { gap: 5px; }
  .topbar .breadcrumb { min-width: 0; }
  .topbar .breadcrumb-muted,.topbar .breadcrumb-slash { display: none; }
  .topbar #page-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .language-select { max-width: 115px; }
  .exit-label { display: none; }
  .quick-exit { width: 32px; height: 32px; justify-content: center; padding: 0; }
  .notification-button { width: 30px; }
  .page-content { padding: 24px 15px 22px; }
  .page-heading { font-size: 24px; }
  .hero { min-height: 164px; margin: 16px 0 18px; padding: 19px 17px; }
  .hero h2 { max-width: 280px; font-size: 19px; }
  .hero-copy > p { max-width: 250px; font-size: 12px; }
  .hero-art { position: absolute; width: 115px; height: 110px; right: -5px; bottom: -3px; opacity: .75; transform: scale(.85); transform-origin: bottom right; }
  .hero::after { right: 28px; }
  .dashboard-grid { grid-template-columns: 1fr; gap: 15px; }
  .primary-column,.secondary-column { gap: 15px; }
  .listing-grid { grid-template-columns: 1fr; }
  .listing-card { padding: 13px; }
  .feature-strip { grid-template-columns: 1fr; }
  .feature-mini { display: grid; grid-template-columns: 24px 1fr; column-gap: 8px; padding: 11px; }
  .feature-mini span { grid-row: span 2; margin: 1px 0; }
  .feature-mini p { margin-top: 2px; }
  .page-toolbar { gap: 7px; margin-top: 15px; }
  .search-field { width: 100%; }
  .filter-select { flex: 1; }
  .results-count { width: 100%; margin: 3px 0 0; }
  .event-list-card { flex-wrap: wrap; gap: 10px; padding: 12px; }
  .event-details { width: calc(100% - 60px); flex: none; }
  .event-actions { width: 100%; justify-content: flex-end; }
  .site-footer { align-items: flex-start; padding: 14px 15px 18px; font-size: 9px; }
  .site-footer > span:last-child { flex-direction: column; gap: 5px; align-items: flex-end; }
  .welcome-note { align-items: flex-start; }
}
@media (max-width: 370px) {
  .breadcrumb-muted,.breadcrumb-slash { display: none; }
  .page-content { padding-right: 12px; padding-left: 12px; }
  .hero-art { opacity: .4; }
}
/* Save state stays visible while private changes are written to the server. */
.sync-status { font-size: .75rem; color: var(--text-muted, #58645b); white-space: nowrap; }
#import-data { max-width: 200px; font-size: .8rem; }
@media (max-width: 600px) { .sync-status { max-width: 80px; white-space: normal; text-align: right; } }


/* Home highlights and site administration. */
.home-hero { margin: 22px 0 28px; overflow: hidden; border: 1px solid #dce3d8; border-radius: 18px; background: #fff; box-shadow: 0 8px 26px rgb(32 58 44 / 6%); }
.home-hero-stage { position: relative; isolation: isolate; display: flex; align-items: center; min-height: 355px; overflow: hidden; background: #244d40; }
.home-hero-image { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(14 38 30 / 94%) 0%, rgb(18 47 35 / 83%) 39%, rgb(19 49 37 / 25%) 76%, rgb(19 49 37 / 8%)); }
.home-hero-copy { width: min(72%, 610px); padding: 40px; color: #fff; }
.home-hero-kicker { font-size: 11px; line-height: 1.5; letter-spacing: 2px; font-weight: 750; color: #f0d29c; }
.home-hero-copy h2 { margin: 16px 0; font: 700 clamp(25px, 3vw, 38px)/1.18 "Manrope", sans-serif; letter-spacing: -1px; text-wrap: balance; overflow-wrap: anywhere; }
.home-hero-description { max-width: 400px; margin: 0 0 23px; color: #e1e9df; font-size: 15px; line-height: 1.75; }
.home-hero-cta { min-height: 42px; padding: 10px 18px; border-color: #eed6a3; background: #f2dba9; color: #203b2c; font-size: 13px; }
.home-hero-cta:hover { background: #ffe9bb; }
.home-hero-source { margin: 13px 0 -4px; color: #e8e5db; font-size: 13px; line-height: 1.7; }
.home-hero-source span { margin: 0 5px; }
.home-hero-video .home-hero-image { object-position: center; }
.home-hero-video .home-hero-shade { background: linear-gradient(90deg, rgb(12 26 22 / 97%) 0%, rgb(12 26 22 / 83%) 36%, rgb(12 26 22 / 24%) 80%); }
.home-hero-video .home-hero-copy h2 { font-size: clamp(23px, 2.7vw, 33px); }
.home-hero-video-badge { position: absolute; top: 22px; right: 22px; border-radius: 6px; background: #fff; padding: 5px 10px; color: #ad2424; font-size: 12px; font-weight: 800; }
.home-hero-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 10px 22px; }
.home-hero-context { color: #687366; font-size: 12px; line-height: 1.6; }
.home-hero-controls { display: flex; align-items: center; gap: 5px; flex-shrink: 0; }
.home-hero-controls button { display: grid; place-items: center; width: 34px; height: 34px; padding: 0; border: 1px solid #e2e8df; border-radius: 50%; background: #fff; color: #345c48; font-size: 24px; cursor: pointer; }
.home-hero-controls button:hover { background: #edf3e9; }
.home-hero-controls button:focus-visible { outline: 3px solid #b78249; outline-offset: 3px; }
.home-hero-controls .home-hero-pause { font-size: 13px; margin-left: 5px; }
.home-hero-dots { display: flex; align-items: center; }
.home-hero-dots button { width: 22px; height: 32px; border: 0; border-radius: 6px; background: transparent; }
.home-hero-dots span { width: 6px; height: 6px; border-radius: 50%; background: #c5cfc1; }
.home-hero-dots [aria-current="true"] span { width: 16px; border-radius: 5px; background: #345c48; }
.hero-mode-panel, .hero-editor, .hero-access { padding: 26px; margin: 22px 0; }
.hero-mode-panel h2, .hero-editor h2 { margin: 0 0 10px; font-size: 19px; }
.hero-mode-panel > p, .hero-mode-note { color: var(--muted); font-size: 14px; line-height: 1.7; }
.hero-mode-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 22px 0 12px; padding: 0; border: 0; }
.hero-mode-choice { display: flex; align-items: start; gap: 12px; padding: 20px; border: 1px solid #dfe5da; border-radius: 11px; cursor: pointer; }
.hero-mode-choice:has(input:checked) { border-color: #537558; background: #f1f6ee; box-shadow: 0 0 0 1px #537558; }
.hero-mode-choice input { margin-top: 4px; accent-color: #315c48; }
.hero-mode-choice strong { display: block; font-size: 15px; margin-bottom: 6px; }
.hero-mode-choice small { display: block; color: var(--muted); font-size: 13px; line-height: 1.7; }
.hero-mode-note { margin: 16px 0 20px; }
#hero-mode-form > .btn { margin: 0 6px 6px 0; }
.hero-slides-heading { margin-top: 34px; }
.hero-admin-slides { display: grid; gap: 16px; }
.hero-admin-slide { display: grid; grid-template-columns: 220px minmax(0, 1fr); overflow: hidden; }
.hero-admin-slide > img { width: 100%; height: 100%; min-height: 170px; max-height: 240px; object-fit: cover; background: #dce5d7; }
.hero-admin-slide > div { padding: 20px; min-width: 0; }
.hero-admin-slide h3 { font-size: 17px; margin: 9px 0; overflow-wrap: anywhere; }
.hero-admin-slide p { margin: 0 0 16px; color: var(--muted); font-size: 13px; line-height: 1.7; white-space: pre-wrap; }
.hero-slide-meta { display: flex; gap: 12px; font-size: 12px; color: #52654d; }
.hero-editor-row, .hero-slide-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hero-editor-fields { display: grid; gap: 15px; align-content: start; }
.hero-slide-form label { display: grid; gap: 7px; align-content: start; color: #425240; font-size: 14px; font-weight: 600; }
.hero-slide-form input:not([type="checkbox"]), .hero-slide-form textarea, .hero-slide-form select { width: 100%; min-width: 0; padding: 10px; color: #253d30; border: 1px solid #dbe3d6; border-radius: 7px; background: #fff; font-size: 14px; font-weight: 400; }
.hero-slide-form textarea { resize: vertical; }
.hero-editor-photo span { color: var(--muted); font-size: 12px; line-height: 1.6; font-weight: 400; }
.hero-editor-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 10px; background: #e8eee3; margin-top: 12px; }
.hero-slide-form .hero-enabled { display: flex; align-items: center; gap: 8px; padding-top: 22px; }
.hero-enabled input { accent-color: #315c48; width: 17px; height: 17px; }
.hero-editor-error, .hero-mode-error, .website-mode-error { margin: 0; color: #a33d2f; font-size: 14px; line-height: 1.6; }
.hero-editor-error:empty, .hero-mode-error:empty, .website-mode-error:empty { display: none; }
.hero-editor-fields > button { justify-self: start; }
body.high-contrast .home-hero-shade, body.high-contrast .home-hero-video .home-hero-shade { background: rgb(0 20 11 / 90%); }
@media (max-width: 1050px) {
  .home-hero-copy { padding: 30px; width: 78%; }
  .hero-slide-form { grid-template-columns: 1fr; }
  .hero-editor-photo img { max-height: 230px; }
}
@media (max-width: 600px) {
  .home-hero { border-radius: 13px; }
  .home-hero-stage { min-height: 370px; align-items: end; }
  .home-hero-copy { width: 100%; padding: 85px 23px 28px; }
  .home-hero-shade, .home-hero-video .home-hero-shade { background: linear-gradient(0deg, rgb(14 38 30 / 98%), rgb(14 38 30 / 82%) 57%, rgb(14 38 30 / 12%)); }
  .home-hero-copy h2 { font-size: 29px; }
  .home-hero-kicker { font-size: 10px; letter-spacing: 1.5px; }
  .home-hero-description { font-size: 14px; }
  .home-hero-bottom { flex-wrap: wrap; justify-content: center; padding: 12px; gap: 5px; }
  .home-hero-context { flex-basis: 100%; text-align: center; }
  .hero-mode-options, .hero-editor-row, .hero-admin-slide { grid-template-columns: 1fr; }
  .hero-admin-slide > img { height: 180px; }
  .hero-mode-panel, .hero-editor, .hero-access { padding: 20px; }
  .hero-slide-form .hero-enabled { padding-top: 0; }
  .hero-configuration .manage-header { flex-wrap: wrap; }
  .hero-slides-heading { align-items: start; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.home-hero-watch-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; }
.home-hero-external { color: #fff2d5; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.home-hero-external:hover { color: #fff; }
.hero-video-dialog { width: min(920px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 0; overflow: auto; border: 1px solid #d8e0d4; border-radius: 16px; background: #fff; color: #253d30; box-shadow: 0 24px 90px rgb(0 0 0 / 30%); }
.hero-video-dialog::backdrop { background: rgb(10 25 18 / 78%); }
.hero-video-panel > header { display: flex; justify-content: space-between; align-items: start; gap: 18px; padding: 22px 24px; }
.hero-video-panel header p { margin: 0 0 6px; color: #64765e; font-size: 13px; }
.hero-video-panel h2 { margin: 0; overflow-wrap: anywhere; font-size: clamp(17px, 2.6vw, 23px); line-height: 1.45; }
.hero-video-close { display: grid; place-items: center; flex-shrink: 0; width: 40px; height: 40px; border: 1px solid #dce4d7; border-radius: 9px; background: #f5f8f2; color: #34523e; font-size: 26px; cursor: pointer; }
.hero-video-close:focus-visible { outline: 3px solid #b78249; outline-offset: 3px; }
.hero-video-frame { width: 100%; aspect-ratio: 16 / 9; background: #0e1b15; }
.hero-video-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.hero-video-panel > footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding: 18px 24px; }
.hero-video-panel footer p { flex: 1 1 230px; margin: 0; color: #687761; font-size: 13px; line-height: 1.7; }
@media (max-width: 600px) {
  .hero-video-dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); border-radius: 12px; }
  .hero-video-panel > header, .hero-video-panel > footer { padding: 16px; }
}

.home-notice-panel { padding: 26px; margin: 22px 0; }
.home-notice-panel h2 { margin: 0 0 8px; font-size: 19px; }
.home-notice-panel > p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.site-message-form { display: grid; gap: 16px; }
.site-message-form label { display: grid; gap: 7px; color: #425240; font-size: 14px; font-weight: 600; }
.site-message-form .home-notice-toggle { display: flex; align-items: center; gap: 9px; }
.home-notice-toggle input { accent-color: #315c48; width: 18px; height: 18px; }
.site-message-form input[type="text"], .site-message-form input[name="title"], .site-message-form textarea { width: 100%; min-width: 0; padding: 11px; border: 1px solid #dbe3d6; border-radius: 7px; background: #fff; color: #253d30; font-size: 14px; font-weight: 400; }
.site-message-form textarea { resize: vertical; }
.site-message-form > button { justify-self: start; }
.home-notice-preview > span { display: block; margin-bottom: 9px; color: var(--muted); font-size: 13px; }
.home-notice-preview .sample-notice { margin-bottom: 0; }
.home-community-notice, .preview-community-notice { white-space: pre-line; overflow-wrap: anywhere; }
.home-notice-error, .preview-banner-error { margin: 0; color: #a33d2f; font-size: 14px; line-height: 1.6; }
.home-notice-error:empty, .preview-banner-error:empty { display: none; }
@media (max-width: 600px) { .home-notice-panel { padding: 20px; } }

.membership-feature-list { display: grid; gap: 9px; padding-left: 20px; margin: 17px 0 0; color: #425b49; font-size: 14px; line-height: 1.65; }
.membership-price { font-size: 30px; font-weight: 750; color: #254b39 !important; margin: 8px 0 12px; }
.membership-price span { font-size: 14px; font-weight: 500; }
.supporter-badge { display: inline-flex; align-items: center; padding: 5px 10px; margin: 0 5px 5px 0; border: 1px solid #d8b567; border-radius: 20px; background: #fff4d8; color: #6f4c12; font-size: 12px; font-weight: 700; line-height: 1.5; }
.membership-panel > .supporter-badge { margin-left: 8px; }
.supporter-preferences { display: grid; gap: 16px; margin-top: 20px; }
.supporter-preferences label { display: flex; align-items: start; gap: 10px; font-size: 14px; line-height: 1.7; color: #425b49; }
.supporter-preferences input { width: 18px; height: 18px; margin-top: 3px; accent-color: #315c48; flex-shrink: 0; }
.supporter-preferences > button { justify-self: start; }
.membership-recognition { padding: 26px; margin-top: 22px; }
.membership-recognition h2 { margin: 0 0 10px; font-size: 19px; }
.membership-recognition > p { color: var(--muted-dark); font-size: 14px; line-height: 1.7; }
.recognised-supporters { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.membership-community-list { padding-left: 20px; line-height: 1.9; margin-bottom: 20px; }
@media (max-width: 650px) { .membership-tiers { grid-template-columns: 1fr; } .membership-recognition { padding: 20px; } }

/* Information pages and the private contact inbox. */
.site-footer { flex-wrap: wrap; }
.site-footer > span:last-child { flex-wrap: wrap; }
.info-page { padding-bottom: 16px; }
.about-intro { display: grid; grid-template-columns: 1.5fr 1fr; align-items: center; gap: 32px; padding: 32px; margin-top: 25px; background: #f0f5ed; }
.about-intro h2 { margin: 0 0 14px; font-size: clamp(23px, 2.5vw, 30px); line-height: 1.3; letter-spacing: -.6px; }
.about-intro p, .info-content p, .contact-intro p, .about-contact p { margin: 0 0 14px; color: #5d6c5c; font-size: 15px; line-height: 1.85; }
.about-intro p:last-child { margin-bottom: 0; }
.about-intro img { width: 100%; max-width: 300px; height: auto; }
.info-section-heading { margin: 32px 0 16px; font-size: 20px; line-height: 1.5; }
.about-values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.about-values article { padding: 23px; }
.about-values h3 { margin: 12px 0 10px; font-size: 17px; }
.about-values p { margin: 0; color: #657360; font-size: 14px; line-height: 1.8; }
.info-content { padding: 26px; margin-top: 20px; }
.info-content h2 { margin: 0 0 14px; font-size: 20px; }
.about-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.about-links a { color: #315c48; font-size: 14px; line-height: 1.7; text-decoration: underline; text-underline-offset: 4px; }
.about-contact { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 26px; padding: 26px; border-radius: 12px; background: #f8efdb; }
.about-contact h2 { margin: 0 0 9px; font-size: 21px; }
.about-contact p { margin: 0; }
.about-contact .btn { flex-shrink: 0; }
.contact-layout { display: grid; grid-template-columns: .85fr 1.35fr; gap: 32px; margin-top: 30px; align-items: start; }
.contact-intro { padding: 12px 0; }
.contact-intro h2 { margin: 0 0 15px; font-size: 21px; }
.contact-form, .contact-confirmation { padding: 28px; }
.contact-form { display: grid; gap: 20px; }
.contact-form label, .contact-inbox-toolbar label { display: grid; gap: 8px; color: #3c5341; font-size: 14px; font-weight: 600; }
.contact-form label > span, .contact-form small { color: #73806c; font-size: 13px; font-weight: 400; }
.contact-form input, .contact-form select, .contact-form textarea, .contact-inbox-toolbar input, .contact-inbox-toolbar select { width: 100%; min-width: 0; min-height: 42px; border: 1px solid #d9e2d4; border-radius: 8px; padding: 11px 12px; background: #fff; color: #253d30; font-size: 15px; font-weight: 400; }
.contact-form textarea { resize: vertical; min-height: 160px; }
.contact-form > button { justify-self: start; min-height: 42px; }
.contact-form-error { margin: 0; color: #a33d2f; font-size: 14px; line-height: 1.6; }
.contact-form-error:empty { display: none; }
.contact-success-mark { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #e8f2e2; color: #315c48; font-size: 25px; }
.contact-confirmation h2 { font-size: 22px; line-height: 1.5; }
.contact-confirmation p { color: #63705d; font-size: 15px; line-height: 1.8; }
.contact-confirmation .section-caption { font-size: 12px; overflow-wrap: anywhere; margin-bottom: 20px; }
.contact-inbox-toolbar { display: flex; align-items: end; flex-wrap: wrap; gap: 16px; margin: 22px 0; }
.contact-inbox-toolbar > label { flex: 0 1 180px; }
#contact-search-form { display: flex; align-items: end; gap: 10px; flex: 1 1 280px; }
#contact-search-form label { flex: 1; }
#contact-search-form button { min-height: 42px; }
.contact-unread { align-self: center; padding: 5px 11px; background: #edf3e8; color: #345c40; border-radius: 18px; font-size: 13px; font-weight: 650; }
.contact-inbox-list { display: grid; gap: 12px; }
.contact-inbox-row { padding: 18px 22px; text-align: left; cursor: pointer; min-width: 0; }
.contact-inbox-row.selected { border-color: #78966c; background: #f1f6ed; }
.contact-inbox-row > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.contact-inbox-row strong { font-size: 15px; overflow-wrap: anywhere; }
.contact-inbox-row > span { display: block; margin: 7px 0; color: #6a7764; font-size: 12px; }
.contact-inbox-row p { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; margin: 0; color: #63725f; font-size: 14px; line-height: 1.7; overflow-wrap: anywhere; }
.contact-status { display: inline-block; padding: 4px 9px; border-radius: 15px; background: #edf0e9; color: #5c6b56; font-size: 12px; font-weight: 650; text-transform: capitalize; }
.contact-status.new { background: #fff0cc; color: #886019; }
.contact-status.closed { background: #e4eee0; color: #3f6539; }
.contact-pagination { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 20px 0; font-size: 13px; color: #65715e; }
.contact-message-detail { padding: 26px; margin: 28px 0 0; }
.contact-message-detail h2 { margin: 10px 0 0; font-size: 21px; }
.contact-message-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 22px 0; }
.contact-message-facts dt { margin-bottom: 4px; font-size: 12px; color: #77816f; }
.contact-message-facts dd { margin: 0; color: #3e5540; font-size: 14px; overflow-wrap: anywhere; }
.contact-message-body { margin: 20px 0 24px; padding: 20px; border-radius: 9px; background: #f7f8f3; color: #354e3c; font-size: 15px; line-height: 1.9; white-space: pre-wrap; overflow-wrap: anywhere; }
.contact-message-detail > .section-caption { margin-top: 12px; }
.community-portal { --portal-canvas: #f5f7f6; --portal-border: #e2e9e5; --portal-muted: #65736d; width: 100%; min-width: 0; margin-top: 24px; border: 1px solid var(--portal-border); border-radius: 16px; background: var(--portal-canvas); overflow: hidden; }
.portal-site-header { display: grid; grid-template-columns: var(--portal-sidebar-width) minmax(0, 1fr) auto; align-items: center; width: 100%; min-height: 60px; padding: 8px 0; border-bottom: 1px solid #e2e9e5; background: var(--surface); }
.portal-community-heading { min-width: 0; padding-inline: 16px; }
.portal-community-heading:empty { display: none; }
.portal-site-brand { display: inline-flex; align-items: center; align-self: stretch; width: 100%; padding-inline: clamp(16px, 2vw, 28px); border-inline-end: 1px solid #e2e9e5; }
.portal-site-brand img { display: block; width: 144px; max-width: 100%; height: auto; }
.portal-site-tools { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-inline-start: auto; margin-inline-end: clamp(16px, 2vw, 28px); }
.sidebar-bottom .profile-button , .portal-sidebar-bottom .profile-button { width: 100%; min-width: 0; min-height: 56px; gap: 8px; padding: 12px 6px; border: 0; border-top: 1px solid var(--portal-border, var(--line)); background: transparent; cursor: pointer; }
.sidebar-bottom .profile-button:hover , .portal-sidebar-bottom .profile-button:hover { border-color: #b6cabb; background: #f6f9f7; }
.sidebar-bottom .profile-button > span:nth-child(2) , .portal-sidebar-bottom .profile-button > span:nth-child(2) { min-width: 0; }
.sidebar-bottom .profile-button .avatar , .portal-sidebar-bottom .profile-button .avatar { width: 34px; height: 34px; flex: 0 0 34px; border-radius: 50%; font-size: 15px; font-weight: 600; background: #edf4ee; color: #315c48; }
.sidebar-bottom .profile-button strong , .portal-sidebar-bottom .profile-button strong { max-width: 145px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; color: #253f30; }
.sidebar-bottom .profile-button small , .portal-sidebar-bottom .profile-button small { padding-top: 2px; font-size: 12px; color: #65736d; }
.sidebar-bottom .profile-button .profile-more , .portal-sidebar-bottom .profile-button .profile-more { margin-left: 4px; font-size: 16px; }
.portal-site-tools .btn { min-height: 40px; padding: 0 15px; font-size: 14px; border-color: #dce5df; background: #fff; color: #344e41; font-weight: 600; }
.portal-site-tools .quick-exit { min-height: 38px; padding: 0 12px; font-size: 13px; }
.portal-site-tools .notification-button, .portal-site-tools .portal-refresh { width: 40px; height: 40px; border: 1px solid #e2e9e5; border-radius: 50%; color: #456452; background: #fff; }
body.portal-mode { background: #f5f7f6; }
.portal-mode .main-area { display: flex; flex-direction: column; width: 100%; min-width: 0; margin: 0; min-height: 100dvh; }
.portal-mode .page-content { display: flex; flex-direction: column; flex: 1; width: 100%; max-width: none; min-width: 0; margin: 0; padding: 0; }
.portal-mode .community-portal { display: flex; flex-direction: column; flex: 1; width: 100%; margin: 0; border: 0; border-radius: 0; }
.portal-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-width: 0; }
.portal-identity { display: flex; align-items: center; gap: 10px; min-width: 0; flex: 1; }
.portal-identity > div { min-width: 0; }
.portal-group-mark { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: 10px; background: var(--green-soft); color: var(--green-dark); font-size: 15px; font-weight: 700; letter-spacing: -.5px; }
.portal-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; min-width: 0; }
.portal-header .portal-title { margin: 0; max-width: 100%; color: var(--ink); font-size: clamp(18px, 1.6vw, 23px); line-height: 1.25; font-weight: 700; letter-spacing: -.5px; overflow-wrap: anywhere; }
.portal-location { margin: 3px 0 0; color: #65736d; font-size: 13px; line-height: 1.4; overflow-wrap: anywhere; }
.portal-header-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.portal-access-label { display: inline-flex; align-items: center; min-height: 26px; padding: 3px 8px; border-radius: 20px; background: var(--green-soft); color: var(--green-dark); font-size: 12px; font-weight: 600; }
.community-portal .btn, .portal-header .btn { min-height: 40px; padding: 0 15px; font-size: 14px; font-weight: 600; border-radius: 8px; }
.community-portal .btn-secondary { background: var(--surface); border-color: #d7e2db; color: var(--green-dark); }
.community-portal .btn-secondary:hover { background: var(--green-soft); border-color: var(--green-dark); }
.community-portal .text-link { font-size: 14px; font-weight: 600; }
.community-portal .section-caption { color: var(--portal-muted); font-size: 14px; line-height: 1.65; }
.portal-site-tools .portal-refresh { display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.portal-nav-icon { display: block; width: 18px; height: 18px; flex: 0 0 18px; }
.portal-layout { display: grid; grid-template-columns: var(--portal-sidebar-width) minmax(0, 1fr); flex: 1; min-width: 0; align-items: stretch; }
.portal-sidebar { display: flex; flex-direction: column; min-width: 0; padding: 20px 12px; border-right: 1px solid var(--portal-border); background: var(--surface); }
.portal-navigation-links { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.portal-sidebar-bottom { margin-top: auto; padding-top: 20px; }
.portal-menu-toggle { display: none; }
.portal-navigation-label { margin: 0 12px 12px; font-size: 11px; font-weight: 700; letter-spacing: 1.1px; text-transform: uppercase; color: #73837a; }
.portal-sidebar nav { display: grid; gap: 6px; }
.portal-sidebar nav > a, .portal-locked { display: flex; align-items: center; gap: 11px; min-height: 46px; min-width: 0; padding: 11px 12px; border: 1px solid transparent; border-radius: 9px; font-size: 14px; line-height: 1.4; font-weight: 500; color: #425c4e; text-decoration: none; overflow-wrap: anywhere; transition: background .15s, color .15s; }
.portal-nav-text { min-width: 0; flex: 1; }
.portal-sidebar nav > a:hover { background: var(--green-soft); color: var(--green-dark); }
.portal-sidebar nav > a:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.portal-sidebar a[aria-current="page"] { color: var(--green-dark); background: var(--green-soft); box-shadow: inset 3px 0 0 var(--portal-accent, var(--green)); font-weight: 700; }
.portal-sidebar a[aria-current="page"]:hover { color: var(--green-dark); background: var(--green-soft); }
.portal-locked { color: var(--muted-dark); background: var(--canvas); border-color: var(--portal-border); cursor: not-allowed; }
.portal-locked > .portal-nav-icon { opacity: .65; }
.portal-lock-icon { display: inline-flex; flex: 0 0 auto; color: var(--muted-dark); }
.portal-lock-icon .portal-nav-icon { width: 14px; height: 14px; flex-basis: 14px; }
.portal-access-hint { display: grid; gap: 12px; min-width: 0; margin: 20px 4px 0; padding: 16px; border: 1px solid var(--portal-border); border-radius: 12px; background: var(--green-soft); color: var(--green-dark); font: inherit; font-size: .875rem; line-height: 1.6; text-align: start; text-decoration: none; cursor: pointer; transition: border-color .16s, box-shadow .16s; }
.portal-access-heading { display: flex; align-items: center; gap: 9px; line-height: 1.4; }
.portal-access-icon { display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 30px; border-radius: 8px; background: var(--surface); }
.portal-access-icon .portal-nav-icon { width: 16px; height: 16px; flex-basis: 16px; }
.portal-access-description { color: var(--muted-dark); }
.portal-access-action { display: flex; justify-content: center; align-items: center; min-height: 40px; padding: 8px 10px; border: 1px solid var(--green); border-radius: 7px; background: var(--surface); color: var(--green-dark); font-weight: 650; text-align: center; line-height: 1.4; }
.portal-access-hint:hover { border-color: var(--green); box-shadow: 0 4px 14px rgb(32 52 46 / 7%); }
.portal-access-hint:hover .portal-access-action { background: var(--green); color: var(--surface); }
.portal-access-hint:focus-visible { outline: 2px solid var(--green); outline-offset: 3px; }
.portal-access-hint:disabled { opacity: .6; cursor: wait; }
.portal-lock-label { margin-inline-start: auto; font-size: 11px; color: #7b8a80; }
.portal-unread-count { display: grid; place-items: center; min-width: 21px; height: 21px; padding-inline: 5px; border-radius: 7px; font-size: 12px; font-weight: 700; background: var(--green-soft); color: var(--green-dark); }
.portal-switcher { display: grid; gap: 8px; margin: 0 6px 24px; font-size: 13px; font-weight: 600; color: #64756b; }
.portal-switcher select { min-width: 0; width: 100%; min-height: 42px; font: inherit; font-size: 14px; padding: 10px; border: 1px solid var(--portal-border); border-radius: 8px; background: var(--surface); color: var(--ink); }
.portal-main { width: 100%; max-width: 1320px; min-width: 0; margin-inline: auto; padding: 24px clamp(20px, 2.5vw, 36px); }
.portal-hero { position: relative; isolation: isolate; display: grid; align-items: end; min-height: clamp(300px, 30vw, 420px); overflow: hidden; border-radius: 14px; margin-bottom: 24px; background: #182b22; color: #fff; }
.portal-hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(8 20 15 / 85%), rgb(8 20 15 / 68%) 55%, rgb(8 20 15 / 30%)); }
.portal-hero-image { position: absolute; inset: 0; z-index: -2; display: block; width: 100%; height: 100%; object-fit: cover; }
.portal-hero-content { width: 100%; max-width: 720px; padding: clamp(24px, 4vw, 44px); overflow-wrap: anywhere; }
.portal-main .portal-hero h2 { margin: 0 0 14px; font-size: clamp(28px, 3vw, 42px); line-height: 1.2; color: #fff; }
.portal-hero-eyebrow { margin: 0 0 12px; font-size: 14px; font-weight: 600; letter-spacing: .04em; }
.portal-hero-introduction { margin: 0 0 22px; font-size: 16px; line-height: 1.65; }
.portal-main h2 { font-size: clamp(21px, 1.8vw, 25px); line-height: 1.35; font-weight: 700; letter-spacing: -.5px; overflow-wrap: anywhere; }
.portal-main h3 { font-size: 17px; line-height: 1.5; font-weight: 600; letter-spacing: -.2px; overflow-wrap: anywhere; }
.portal-section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.portal-section-heading h2, .portal-section-heading h3 { margin: 0; }
.portal-section-heading .section-caption { margin: 6px 0 0; }
.portal-content-card { min-width: 0; margin: 0 0 22px; padding: 24px; border: 1px solid var(--portal-border); border-radius: 14px; background: var(--surface); box-shadow: 0 3px 14px rgb(32 52 46 / 3%); overflow-wrap: anywhere; }
.portal-content-card > h2, .portal-content-card > h3 { margin: 0 0 12px; }
.portal-content-card p { line-height: 1.75; }
.portal-content-card .portal-section-heading { margin-bottom: 14px; }
.portal-content-card .membership-actions { gap: 12px; margin-top: 18px; }
.portal-body-text { margin: 12px 0 16px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 16px; color: #42594b; }
.portal-home-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 22px; }
.portal-summary-row { padding: 16px 0; border-bottom: 1px solid var(--portal-border); }
.portal-summary-row p { margin: 5px 0; font-size: 14px; }
.portal-summary-row h3 { margin: 0 0 5px; }
.portal-summary-row:last-child { border-bottom: 0; padding-bottom: 0; }
.portal-subscriber-row { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--portal-border); }
.portal-unread { border-left: 3px solid var(--green-dark); }
.portal-content-card .onboarding-form { margin-top: 18px; gap: 18px; }
.portal-content-card .onboarding-form input, .portal-content-card .onboarding-form textarea, .portal-content-card .onboarding-form select { font-size: 16px; }
.portal-theme-control { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.onboarding-form .portal-theme-control input[type="color"] { width: 64px; min-height: 44px; padding: 4px; }
.portal-theme-control output { font-size: 16px; color: var(--portal-muted); }
.portal-social h3 { margin: 0 0 12px; }
.portal-social-links { display: flex; flex-wrap: wrap; gap: 10px; }
.community-portal .portal-social-links .btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; }
.portal-social-icon { width: 20px; height: 20px; flex: 0 0 20px; }
.portal-social-fields { display: grid; gap: 14px; min-width: 0; margin: 0; padding: 18px; border: 1px solid var(--portal-border); border-radius: 10px; }
.portal-social-fields legend { padding: 0 6px; font-weight: 600; }
.portal-main .forum-section-heading { align-items: start; }
.portal-main .forum-section-heading > div { flex: 1 1 220px; }
.portal-main .forum-section-heading .section-caption { margin-top: 8px; }
.group-card-actions { grid-auto-flow: row; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); }
@media (max-width: 1050px) {
  :root { --portal-sidebar-width: 208px; }
  .portal-home-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .portal-site-header { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; padding: 8px 16px; }
  .portal-site-brand { grid-column: 1; grid-row: 1; padding: 0; border-inline-end: 0; }
  .portal-community-heading { grid-column: 1 / -1; grid-row: 2; padding: 10px 0 2px; border-inline-start: 0; border-top: 1px solid #e2e9e5; }
  .portal-site-brand img { width: 132px; }
  .portal-site-tools { grid-column: 2; grid-row: 1; flex-wrap: nowrap; gap: 6px; margin-inline-end: 0; }
  .portal-site-tools .quick-exit, .portal-site-tools .notification-button, .portal-site-tools .portal-refresh { width: 44px; height: 44px; min-height: 44px; padding: 0; justify-content: center; }
  .portal-site-tools .exit-label { display: none; }
  .portal-header { flex-wrap: wrap; gap: 10px; }
  .portal-identity { flex-basis: 100%; }
  .portal-header-actions { width: 100%; }
  .portal-header-actions > .btn:first-child { flex: 1; min-width: 0; white-space: normal; padding: 8px 12px; text-align: center; }
  .portal-header-actions .btn { min-height: 44px; }
  .portal-layout { grid-template-columns: minmax(0, 1fr); align-content: start; flex: none; }
  .portal-sidebar { padding: 8px 16px; border-right: 0; border-bottom: 1px solid var(--portal-border); }
  .portal-menu-toggle { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; padding: 4px 0; border: 0; background: transparent; color: var(--green-dark); font-size: 14px; cursor: pointer; }
  .portal-current-section { margin-inline-start: auto; max-width: 65%; text-align: end; overflow-wrap: anywhere; font-weight: 600; }
  .portal-menu-chevron { width: 18px; height: 18px; flex: 0 0 18px; }
  .portal-menu-toggle[aria-expanded="true"] .portal-menu-chevron { transform: rotate(180deg); }
  .portal-navigation-links { display: none; }
  .portal-sidebar[data-menu-open="true"] .portal-navigation-links { display: flex; padding-bottom: 8px; }
  .portal-sidebar nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding-top: 8px; }
  .portal-sidebar nav > a, .portal-sidebar nav > .portal-locked { gap: 8px; padding: 10px; }
  .portal-access-hint { margin-inline: 0; }
  .portal-navigation-label { display: none; }
  .portal-switcher { margin: 4px 0 8px; }
  .portal-main { padding: 20px 16px; }
  .portal-content-card { padding: 18px; margin-bottom: 16px; border-radius: 12px; }
  .portal-content-card .onboarding-form input, .portal-content-card .onboarding-form textarea, .portal-content-card .onboarding-form select { min-width: 0; max-width: 100%; }
  .portal-home-grid { gap: 0; }
}
@media (max-width: 360px) {
  .portal-site-header { padding-inline: 12px; }
  .portal-site-brand img { width: 120px; }
  .portal-site-tools { gap: 4px; }
  .portal-header .portal-title { font-size: 20px; }
}
@media (max-width: 900px) { .about-values { grid-template-columns: 1fr; } .contact-layout { grid-template-columns: 1fr; gap: 16px; } .about-intro { grid-template-columns: 1fr; } .about-intro img { max-width: 240px; } }
@media (max-width: 600px) { .about-intro, .info-content, .contact-form, .contact-confirmation, .contact-message-detail { padding: 20px; } .about-links, .contact-message-facts { grid-template-columns: 1fr; } .about-contact { flex-direction: column; align-items: start; padding: 22px; } .contact-inbox-row { padding: 16px; } }

.listing-review-note { padding: 10px 12px; background: #fff5e5; border-radius: 8px; font-size: 14px; line-height: 1.6; color: #78501e; overflow-wrap: anywhere; }
.listing-report-panel { max-width: none; }
.listing-report-panel .membership-actions { margin-top: 12px; }
.listing-report-panel summary { cursor: pointer; font-weight: 600; padding-block: 10px; }
.member-photo { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.avatar:has(.member-photo), .member-avatar:has(.member-photo) { padding: 0; overflow: hidden; }
#member-photo-form [data-photo-preview] { width: 120px; height: 120px; object-fit: cover; border-radius: 50%; }
.google-auth { margin: 20px 0; max-width: 100%; }
.google-auth [data-google-button] { min-height: 44px; max-width: 100%; }
.google-auth-divider { display: flex; align-items: center; gap: 12px; color: var(--muted-dark); font-size: 14px; margin: 20px 0; }
.google-auth-divider::before, .google-auth-divider::after { content: ''; height: 1px; background: var(--line); flex: 1; }
.google-auth [data-google-error]:not(:empty) { color: #9b302a; font-size: 14px; }

.home-page { display: grid; gap: 30px; min-width: 0; }
.home-intro { padding: clamp(24px, 4vw, 40px); border: 1px solid #dce7d9; border-radius: 18px; background: linear-gradient(135deg, var(--green-soft), var(--surface)); }
.home-intro .eyebrow { color: var(--green); font-size: .875rem; line-height: 1.6; }
.home-intro .page-heading { max-width: 29ch; margin: 12px 0 18px; font-size: clamp(1.75rem, 2.7vw, 2.375rem); line-height: 1.25; letter-spacing: -.035em; text-wrap: balance; overflow-wrap: anywhere; }
.home-summary, .home-purpose { max-width: 75ch; margin: 0; color: var(--muted-dark); font-size: 1rem; line-height: 1.8; }
.home-summary { color: var(--ink); font-size: 1.0625rem; }
.home-purpose { margin-top: 18px; padding-left: 16px; border-left: 3px solid #b4cbb5; }
.home-intro-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.home-intro-actions .btn { min-height: 46px; max-width: 100%; padding: 11px 18px; font-size: 1rem; line-height: 1.5; text-align: center; white-space: normal; }
.home-story-link, .home-section-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--green); font-size: .875rem; font-weight: 700; line-height: 1.6; text-decoration: underline; text-underline-offset: 3px; }
.home-story-link { margin-top: 10px; }
.home-page a:focus-visible, .home-page button:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; }
.home-page .section-head { flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.home-page .section-title { font-size: 1.125rem; line-height: 1.5; }
.home-page .section-caption { font-size: .875rem; line-height: 1.7; }
.home-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.home-shortcut { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; padding: 20px 18px; color: var(--ink); transition: border-color .16s, background .16s; }
.home-shortcut:hover { border-color: #acc4ae; background: var(--green-soft); }
.home-shortcut-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--green-soft); color: var(--green); }
.home-shortcut-icon svg { width: 24px; height: 24px; }
.home-shortcut strong { font-size: 1rem; line-height: 1.5; overflow-wrap: anywhere; }
.home-shortcut-description { color: var(--muted-dark); font-size: .875rem; line-height: 1.7; overflow-wrap: anywhere; }
.home-page #home-notice:empty { display: none; }
.home-page #home-notice .sample-notice { margin: 0; }
.home-stories .home-hero { margin: 0; }
.home-updates .listing-grid { align-items: stretch; }
.home-updates:has(> .secondary-column[hidden]) { grid-template-columns: minmax(0, 1fr); }
.home-empty { grid-column: 1 / -1; margin: 0; padding: 22px; color: var(--muted-dark); font-size: 1rem; line-height: 1.7; }
.home-page .privacy-callout { font-size: .875rem; }
.home-page .plan-card { padding: 24px; }
.home-page .task-text { font-size: .9375rem; line-height: 1.6; }
.home-page .task-row { min-height: 52px; }
.home-page .task-tag, .home-page .plan-date, .home-page .progress-value { font-size: .8125rem; }
.home-page .plan-footer { flex-wrap: wrap; }
.home-page .plan-footer > span { font-size: .875rem; line-height: 1.6; }
.home-page .plan-footer .text-link { min-height: 44px; padding: 6px 0; border: 0; background: transparent; font-size: .875rem; cursor: pointer; }
.home-page .welcome-note { margin: 0; }
.home-page .welcome-note > span { font-size: .875rem; }
.home-page .welcome-note button { min-width: 44px; min-height: 44px; }
html[lang="lo"] .home-intro .page-heading { max-width: 32ch; letter-spacing: normal; line-height: 1.6; text-wrap: wrap; }
@media (max-width: 1100px) { .home-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 790px) { .home-updates { grid-template-columns: 1fr; } }
@media (max-width: 620px) {
  .home-page { gap: 24px; }
  .home-intro { padding: 24px 20px; border-radius: 14px; }
  .home-intro .page-heading { font-size: 1.75rem; }
  .home-intro-actions { flex-direction: column; align-items: stretch; }
  .home-page .plan-card { padding: 18px; }
  .home-page .plan-top { flex-wrap: wrap; gap: 8px; }
  .home-page .task-tag { max-width: 34%; text-align: center; }
}
@media (max-width: 420px) { .home-shortcuts { grid-template-columns: 1fr; } }
