:root {
  --cream: #F6F1E8;
  --paper: #FFFDF8;
  --sand: #E8DDCF;
  --sage: #5F7C68;
  --forest: #263D32;
  --terracotta: #C9785A;
  --mist: #EEF3EA;
  --ink-soft: rgba(38, 61, 50, 0.72);
  --line: rgba(38, 61, 50, 0.13);
  --shadow: 0 18px 48px rgba(38, 61, 50, 0.08);
  --radius: 8px;
  --font-brand: "Josefin Sans", system-ui, sans-serif;
  --font-claim: "Dancing Script", cursive;
  --font-body: "Nunito Sans", system-ui, sans-serif;
}

.account-profile-edit { margin: 14px 0; border-top: 1px solid var(--line); padding-top: 12px; }
.legal-app { width: min(900px, calc(100% - 32px)); }
.legal-copy { line-height: 1.65; }
.legal-copy h2 { margin-top: 28px; }
.legal-copy h2:first-child { margin-top: 0; }
.report-link { margin-top: 12px; color: var(--terracotta); }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  color: var(--forest);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 0 0, rgba(201, 120, 90, 0.12), transparent 28%),
    radial-gradient(circle at 100% 0, rgba(95, 124, 104, 0.16), transparent 31%),
    var(--cream);
}
body.menu-open { overflow: hidden; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
.app {
  width: min(430px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.74), rgba(246, 241, 232, 0.96));
  position: relative;
  overflow: hidden;
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px 13px;
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(38, 61, 50, 0.08);
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}
.brand-lockup img {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
}
.brand {
  display: block;
  font-family: var(--font-brand);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 0.98;
  text-transform: uppercase;
  white-space: nowrap;
}
.claim {
  display: block;
  color: var(--terracotta);
  font-family: var(--font-claim);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}
.menu {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(38, 61, 50, 0.12);
  border-radius: 999px;
  background: var(--paper);
  color: var(--forest);
  font-size: 20px;
  font-weight: 800;
}
.menu-layer { position: fixed; inset: 0; z-index: 2000; }
.menu-scrim {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(38, 61, 50, 0.28);
  backdrop-filter: blur(3px);
}
.site-menu {
  position: absolute;
  top: 76px;
  right: 16px;
  display: grid;
  width: min(330px, calc(100% - 32px));
  max-height: calc(100dvh - 92px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 22px 54px rgba(38, 61, 50, 0.22);
}
.site-menu-head { position: sticky; top: -12px; z-index: 1; display: flex; align-items: center; justify-content: space-between; margin: -12px -12px 0; padding: 14px 18px 8px 24px; background: var(--paper); }
.site-menu-head strong { font-size: 18px; }
.menu-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 999px;
  color: var(--forest);
  background: var(--mist);
  font-size: 23px;
}
.site-menu > button,
.site-menu > a {
  width: 100%;
  padding: 13px 12px;
  border: 0;
  border-radius: 10px;
  color: var(--forest);
  background: transparent;
  font-weight: 900;
  text-align: left;
  text-decoration: none;
}
.site-menu > button:hover,
.site-menu > button:focus-visible,
.site-menu > a:hover,
.site-menu > a:focus-visible { outline: none; background: var(--mist); }
.site-menu-separator { margin: 7px 4px 4px; border-top: 1px solid var(--line); }
.site-menu-separator span {
  display: block;
  padding: 10px 8px 3px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.site-menu > .admin-menu-link { color: var(--ink-soft); font-size: 13px; }
.site-menu > .install-menu-link { margin: 4px 0; border: 1px solid rgba(38, 61, 50, 0.24); background: var(--mist); }
main { padding: 18px 16px 96px; }
.site-footer {
  display: grid;
  gap: 16px;
  margin: 0 16px 92px;
  padding: 22px 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}
.site-footer-main { display: grid; gap: 3px; }
.site-footer-main strong { color: var(--forest); font-size: 14px; }
.site-footer-links { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.site-footer-links a { color: var(--forest); font-weight: 800; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.site-footer-links a:hover,
.site-footer-links a:focus-visible { color: var(--terracotta); }
.install-invitation {
  position: fixed;
  left: 50%;
  bottom: 82px;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  width: min(680px, calc(100% - 24px));
  padding: 14px;
  transform: translateX(-50%);
  border: 1px solid rgba(38, 61, 50, 0.16);
  border-radius: 16px;
  background: var(--paper);
  box-shadow: 0 16px 44px rgba(38, 61, 50, 0.2);
}
.install-invitation div { display: grid; gap: 2px; min-width: 0; }
.install-invitation span { color: var(--ink-soft); font-size: 13px; }
.install-invitation .button { padding: 11px 16px; white-space: nowrap; text-decoration: none; }
.install-invitation-close { width: 32px; height: 32px; border: 0; border-radius: 999px; color: var(--forest); background: var(--mist); font-size: 20px; }

.install-app { width: min(860px, calc(100% - 24px)); }
.install-main { padding: 22px 18px 72px; }
.install-hero { max-width: 680px; margin: 0 auto; padding: 28px 0 18px; text-align: center; }
.install-hero .app-icon { width: 112px; height: 112px; margin-bottom: 18px; border-radius: 24px; box-shadow: var(--shadow); }
.install-hero h1 { font-size: clamp(34px, 6vw, 50px); }
.install-options { display: grid; gap: 16px; max-width: 680px; margin: 0 auto; }
.install-card { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); box-shadow: 0 12px 32px rgba(38, 61, 50, 0.06); }
.install-card h2 { margin-bottom: 8px; }
.install-card p { color: var(--ink-soft); line-height: 1.55; }
.install-card .button { display: inline-flex; justify-content: center; align-items: center; width: 100%; text-decoration: none; }
.install-steps { display: grid; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; counter-reset: steps; }
.install-steps li { display: grid; grid-template-columns: 34px 1fr; align-items: start; gap: 10px; color: var(--ink-soft); line-height: 1.45; counter-increment: steps; }
.install-steps li::before { content: counter(steps); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 999px; color: var(--paper); background: var(--forest); font-weight: 900; }
.ios-install-guide { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.ios-install-guide figure { min-width: 0; margin: 0; padding: 8px; border: 1px solid var(--line); border-radius: 14px; background: var(--cream); }
.ios-install-guide img { display: block; width: 100%; height: 220px; border-radius: 9px; object-fit: contain; object-position: center; background: #3c3b38; }
.ios-install-guide figcaption { padding: 9px 3px 3px; color: var(--ink-soft); font-size: 11px; font-weight: 800; line-height: 1.35; }
.install-status { margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: var(--mist); color: var(--forest); font-weight: 800; }
.install-benefits { display: grid; gap: 10px; max-width: 680px; margin: 20px auto 0; padding: 18px; border-radius: 16px; background: rgba(238, 243, 234, 0.7); }
.install-benefits h2 { font-size: 19px; }
.install-benefits ul { margin: 0; padding-left: 20px; color: var(--ink-soft); line-height: 1.6; }
.future-stores { max-width: 680px; margin: 20px auto 0; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--paper); text-align: center; }
.future-stores h2 { margin-bottom: 8px; }
.future-stores > p:not(.kicker) { color: var(--ink-soft); line-height: 1.5; }
.future-store-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
.future-store-button { display: grid; gap: 3px; padding: 12px 18px; border-radius: 12px; color: var(--paper); background: var(--forest); font-size: 17px; font-weight: 900; opacity: 0.72; }
.future-store-button small { font-size: 10px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.screen { display: none; }
.screen.active { display: block; }
.intro { padding: 18px 4px 12px; }
.kicker {
  margin: 0 0 8px;
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
h1 { margin: 0; font-size: 34px; line-height: 1.03; letter-spacing: -0.01em; }
h2 { margin: 0; font-size: 22px; line-height: 1.12; }
.intro p, .lead {
  margin: 12px 0 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.52;
}
.quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.needs-map-panel {
  margin-top: 22px;
  padding: 16px;
  border: 1px solid rgba(38, 61, 50, 0.12);
  border-radius: 22px;
  background: rgba(238, 243, 234, 0.72);
}
.map-heading { align-items: end; margin-bottom: 12px; }
.map-heading .kicker { margin-bottom: 5px; }
.map-count { color: var(--ink-soft); font-size: 12px; font-weight: 900; white-space: nowrap; }
.map-filter-strip { padding: 0 0 14px; }
.needs-map, .location-picker-map { width: 100%; border: 1px solid rgba(38, 61, 50, 0.14); border-radius: 16px; background: #dfe8e5; overflow: hidden; }
.needs-map { height: 340px; }
.location-picker-map { height: 280px; margin-top: 12px; cursor: crosshair; }
.map-privacy-note { margin: 10px 2px 0; color: var(--ink-soft); font-size: 12px; line-height: 1.45; }
.remote-needs { margin-top: 10px; padding: 11px 13px; border-radius: 13px; background: var(--paper); color: var(--ink-soft); font-size: 13px; }
.remote-needs button { border: 0; padding: 0; background: transparent; color: var(--terracotta); font: 900 13px/1.35 var(--font-body); text-decoration: underline; cursor: pointer; }
.map-marker { display: grid; place-items: center; width: 34px; height: 34px; border: 3px solid var(--cream); border-radius: 999px; background: var(--forest); color: var(--cream); box-shadow: 0 4px 14px rgba(38, 61, 50, 0.26); font: 900 12px/1 var(--font-body); }
.map-marker.urgent { background: var(--terracotta); }
.map-marker.cluster { width: 40px; height: 40px; font-size: 13px; }
.map-popup { min-width: 190px; color: var(--forest); font-family: var(--font-body); }
.map-popup strong { display: block; margin-bottom: 4px; font-size: 14px; }
.map-popup span { display: block; margin-bottom: 8px; color: var(--ink-soft); font-size: 12px; }
.map-popup button { width: 100%; border: 0; border-radius: 999px; padding: 9px 12px; background: var(--forest); color: var(--cream); font: 900 12px/1 var(--font-body); cursor: pointer; }
.map-popup-list { display: grid; gap: 8px; max-height: 180px; overflow-y: auto; }
.leaflet-control-attribution { font-size: 9px; }
.location-fields { display: grid; gap: 10px; }
.location-mode-option { display: flex; gap: 9px; align-items: flex-start; font-weight: 800; }
.location-mode-option input { width: auto; margin-top: 2px; }
.location-picker-message { margin-top: 8px; color: var(--ink-soft); font-size: 12px; font-weight: 800; }
.private-location-summary { padding: 9px 11px; border-radius: 11px; background: var(--mist); color: var(--ink-soft); font-size: 12px; }
.button {
  border: 0;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 16px;
  font: 900 14px/1 var(--font-body);
}
.button.full { width: 100%; }
.button:disabled { cursor: wait; opacity: 0.68; }
.primary { color: var(--cream); background: var(--forest); }
.secondary { color: var(--forest); background: var(--sand); }
.need-help-action { border: 1px solid var(--forest); }
.ghost { color: var(--forest); border: 1px solid rgba(38, 61, 50, 0.14); background: var(--paper); }
.account-creation-note {
  margin: 0;
  padding: 12px;
  border-radius: var(--radius);
  background: var(--mist);
  color: var(--ink-soft);
  line-height: 1.45;
}
.account-section-title { margin: 22px 0 12px; }
.account-logout { margin-top: 12px; }
.filter-strip { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0 3px; scrollbar-width: none; }
.filter-strip::-webkit-scrollbar { display: none; }
.pill {
  flex: 0 0 auto;
  min-height: 34px;
  padding: 8px 13px;
  border: 1px solid rgba(95, 124, 104, 0.28);
  border-radius: 999px;
  color: var(--sage);
  background: rgba(255, 253, 248, 0.76);
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}
.pill.active { color: var(--cream); border-color: var(--forest); background: var(--forest); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin: 18px 0 10px; }
.link-button, .section-head button {
  border: 0;
  background: transparent;
  color: var(--terracotta);
  font: 900 13px/1 var(--font-body);
  white-space: nowrap;
}
.cards, .stack { display: grid; gap: 12px; }
.needs-pagination {
  margin: 18px 0 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.82);
  text-align: center;
}
.needs-pagination[hidden] { display: none; }
.needs-pagination p { margin: 0 0 12px; color: var(--ink-soft); font-weight: 800; }
.needs-pagination-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.needs-pagination-actions .button[hidden] { display: none; }
.needs-pagination-actions .button[hidden] + .button { grid-column: 1 / -1; }
.card, .panel {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 14px 34px rgba(38, 61, 50, 0.07);
}
.card-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.cause {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--sage);
  background: var(--mist);
  font-size: 12px;
  font-weight: 900;
}
.urgent { color: var(--cream); background: var(--terracotta); }
.distance { color: rgba(38, 61, 50, 0.58); font-size: 13px; font-weight: 800; white-space: nowrap; }
.card h3, .panel h3 { margin: 13px 0 8px; font-size: 21px; line-height: 1.16; }
.card p, .panel p { margin: 0; color: var(--ink-soft); font-size: 15px; line-height: 1.5; }
.meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.meta span {
  padding: 6px 10px;
  border: 1px solid rgba(38, 61, 50, 0.1);
  border-radius: 999px;
  color: rgba(38, 61, 50, 0.68);
  background: rgba(246, 241, 232, 0.64);
  font-size: 12px;
  font-weight: 800;
}
.card-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 16px; }
.card-actions.single { grid-template-columns: 1fr; }
.save {
  width: 44px;
  border: 1px solid rgba(38, 61, 50, 0.14);
  border-radius: 999px;
  background: var(--paper);
  color: var(--forest);
  font-size: 18px;
}
.save.saved { color: var(--terracotta); border-color: rgba(201, 120, 90, 0.4); background: rgba(201, 120, 90, 0.08); }
.notice {
  margin: 18px 0 0;
  padding: 14px;
  border-left: 3px solid var(--terracotta);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(255, 253, 248, 0.7);
  color: rgba(38, 61, 50, 0.72);
  font-size: 14px;
  line-height: 1.48;
}
.empty {
  padding: 18px;
  border: 1px dashed rgba(38, 61, 50, 0.2);
  border-radius: var(--radius);
  color: var(--ink-soft);
  background: rgba(255, 253, 248, 0.62);
  line-height: 1.5;
}
.back-row { margin: 4px 0 18px; }
.detail-hero {
  padding: 18px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 84% 22%, rgba(201, 120, 90, 0.13), transparent 32%),
    linear-gradient(135deg, rgba(255, 253, 248, 0.94), rgba(232, 221, 207, 0.54));
  border: 1px solid var(--line);
}
.detail-hero h1 { margin-top: 14px; font-size: 32px; }
.help-request-form { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.help-request-form h3 { margin: 0; }
.help-request-form > p { margin: -5px 0 2px; }
.consent-row { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 9px; line-height: 1.4; }
.consent-row input { width: auto; margin-top: 2px; }
.detail-back { margin-top: 10px; }
.register-link { text-align: left; white-space: normal; line-height: 1.35; }
.publisher-login-gate { display: grid; gap: 16px; }
.publisher-login-gate h2,
.publisher-login-gate p { margin: 0; }
.publisher-registration-option { display: grid; gap: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.publisher-code-access { margin-top: 0; padding-top: 16px; border-top: 1px solid var(--line); }
.publisher-code-access summary { cursor: pointer; color: var(--terracotta); font-weight: 900; }
.publisher-code-access > p { margin: 12px 0; }
.publisher-code-access #publisher-access { display: grid; gap: 12px; }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 12px 0 20px; }
.stat-card { padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.stat-card strong { display: block; font-size: 25px; }
.stat-card span { color: var(--ink-soft); font-size: 12px; font-weight: 800; }
.access-code { margin-top: 12px; padding: 13px; overflow-wrap: anywhere; border: 1px solid rgba(201,120,90,.3); border-radius: var(--radius); background: rgba(201,120,90,.08); }
.profile-panel { margin: 12px 0; }
.profile-panel summary { cursor: pointer; font-size: 18px; font-weight: 900; }
.profile-panel form { margin-top: 16px; }
.profile-link { display: inline-block; margin-top: 14px; }
.review-history { display: grid; gap: 4px; margin: 14px 0; padding: 12px; border-radius: var(--radius); background: var(--mist); }
.review-history span { color: var(--ink-soft); font-size: 12px; }
.review-history p { margin-top: 4px; }
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.info-box { padding: 12px; border-radius: var(--radius); background: rgba(255, 253, 248, 0.76); border: 1px solid rgba(38, 61, 50, 0.1); }
.info-box strong { display: block; margin-bottom: 4px; font-size: 13px; }
.info-box span { color: var(--ink-soft); font-size: 14px; line-height: 1.35; }
form { display: grid; gap: 13px; }
label { display: block; margin-bottom: 7px; color: rgba(38, 61, 50, 0.7); font-size: 13px; font-weight: 900; }
input, textarea, select {
  width: 100%;
  border: 1px solid rgba(38, 61, 50, 0.16);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--forest);
  padding: 13px 14px;
  outline: none;
  font-weight: 700;
}
.public-presence-fields { display: grid; gap: 13px; margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); }
.public-presence-fields legend { padding: 0 6px; color: var(--forest); font-size: 14px; font-weight: 900; }
.public-presence-fields .form-note { margin: 0; }
.public-links { display: flex; flex-wrap: wrap; gap: 14px; }
.token-value { display: inline-block; margin: 8px 0; overflow-wrap: anywhere; user-select: all; }
.application-status-panel { display: grid; gap: 13px; margin: 12px 0; }
.application-status-panel > h3 { margin-bottom: 0; }
.application-status-panel > form { margin-top: 4px; }
.issue-access { margin-top: 10px; }
textarea { min-height: 98px; resize: vertical; }
.form-note { color: var(--ink-soft); font-size: 14px; line-height: 1.46; }
.success {
  display: none;
  margin-top: 12px;
  padding: 14px;
  border-radius: var(--radius);
  color: var(--forest);
  background: var(--mist);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.42;
}
.success.show { display: block; }
.publisher-context {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid rgba(95, 124, 104, 0.25);
  border-radius: var(--radius);
  background: var(--mist);
  font-size: 14px;
}
.publisher-context a { color: var(--terracotta); font-weight: 900; }
.publisher-edit { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.publisher-edit summary { cursor: pointer; color: var(--terracotta); font-size: 13px; font-weight: 900; }
.publisher-edit form { margin-top: 13px; }
.publisher-context span { color: var(--ink-soft); }
.access-setup { margin-top: 18px; }
.publisher-logout { margin: 24px 0 96px; }
.reply-count { margin-top: 12px !important; color: var(--sage) !important; }
.reply-item h3 { margin-bottom: 6px; }
.reply-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.whatsapp-link { display: grid; place-items: center; text-align: center; text-decoration: none; }
.helper-reply-action { margin-top: 10px; }
.helper-help-filters { display: flex; gap: 8px; margin: 12px 0; overflow-x: auto; scrollbar-width: none; }
.helper-help-filters::-webkit-scrollbar { display: none; }
.helper-help-filters .pill { flex: 0 0 auto; }
.helper-help-filters .pill span { display: inline-grid; min-width: 20px; min-height: 20px; margin-left: 5px; place-items: center; border-radius: 999px; background: rgba(38, 61, 50, 0.08); font-size: 11px; }
.helper-help-filters .pill.active span { background: rgba(255, 253, 248, 0.16); }
.account-danger-zone { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.account-danger-zone summary { cursor: pointer; color: #8f382c; font-weight: 900; }
.account-danger-zone > p { color: var(--ink-soft); font-size: 14px; line-height: 1.45; }
.account-danger-zone form { margin-top: 12px; }
button:disabled { cursor: not-allowed; opacity: 0.48; }
.admin-token-form { margin-top: 14px; }
.is-compact p,
.is-compact form { display: none; }
.is-compact .access-setup[open] p { display: block; }
.is-compact .access-setup[open] form { display: grid; }
.admin-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.admin-actions .secondary { grid-column: 1 / -1; }
.admin-actions.initiative-actions .secondary { grid-column: auto; }
.danger {
  border: 1px solid rgba(153, 62, 45, 0.32);
  background: rgba(153, 62, 45, 0.08);
  color: #8f382c;
}
.delete-initiative { margin-top: 10px; }
.view-initiative-needs { margin-top: 10px; }
.initiative-needs-panel { display: grid; gap: 10px; margin-top: 10px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(238, 243, 234, 0.42); }
.initiative-need-item { padding: 13px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.initiative-need-item h4 { margin: 9px 0 4px; font-size: 17px; }
.initiative-need-item > p { margin: 0; color: var(--ink-soft); font-size: 13px; }
.initiative-need-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 12px; }
.initiative-need-actions > :only-child { grid-column: 1 / -1; }
.initiative-need-actions .danger { grid-column: 1 / -1; }
.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 20;
  width: min(430px, 100%);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 9px 12px 13px;
  border-top: 1px solid rgba(38, 61, 50, 0.1);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(18px);
}
.nav-item {
  display: grid;
  gap: 4px;
  justify-items: center;
  border: 0;
  background: transparent;
  color: rgba(38, 61, 50, 0.58);
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}
.nav-dot { width: 24px; height: 24px; border-radius: 999px; display: grid; place-items: center; color: currentColor; font-size: 15px; }
.nav-item.active { color: var(--forest); }
.nav-item.active .nav-dot { background: var(--mist); }
@media (min-width: 860px) {
  body { padding: 32px; }
  .app { width: min(760px, calc(100% - 64px)); min-height: calc(100vh - 64px); border: 1px solid rgba(38, 61, 50, 0.12); border-radius: 26px; box-shadow: var(--shadow); }
  .public-app { width: min(1120px, calc(100% - 64px)); }
  .topbar { border-radius: 26px 26px 0 0; }
  .public-app main { padding: 30px 40px 112px; }
  .public-app .site-footer { grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr); align-items: center; margin: 0 40px 100px; padding: 24px 0; }
  .public-app .site-footer-links { justify-content: flex-end; text-align: right; }
  .public-app .intro { max-width: 760px; padding-top: 28px; }
  .public-app #home > .intro { max-width: none; }
  .public-app #home .quick-actions { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .public-app #home .needs-map-panel { padding: 20px; }
  .public-app #home .needs-map { height: 420px; }
  .public-app .intro h1 { font-size: 46px; }
  .public-app #needs-list,
  .public-app #initiatives-list,
  .public-app #helps-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .public-app #detail,
  .public-app #publish,
  .public-app #register { max-width: 760px; margin: 0 auto; }
  .public-app #helps { max-width: 920px; margin: 0 auto; }
  .public-app #helper-access-panel { max-width: 620px; }
  .bottom-nav { width: min(1120px, calc(100% - 64px)); border-radius: 18px 18px 0 0; }
  .site-menu { right: max(24px, calc((100vw - 1120px) / 2 + 24px)); top: 92px; max-height: calc(100dvh - 116px); }
}

@media (max-width: 620px) {
  .ios-install-guide { grid-template-columns: 1fr; }
  .ios-install-guide img { height: 280px; }
  .future-store-links { grid-template-columns: 1fr; }
  .needs-pagination-actions { grid-template-columns: 1fr; }
  .needs-pagination-actions .button[hidden] + .button { grid-column: auto; }
  .install-invitation { grid-template-columns: minmax(0, 1fr) auto; }
  .install-invitation .button { grid-column: 1 / -1; grid-row: 2; }
  .install-invitation-close { grid-column: 2; grid-row: 1; }
}
