:root {
    --forest: #174b35;
    --navy: #0b1c34;
    --navy-2: #102a4a;
    --leaf: #218653;
    --mint: #e8f5ee;
    --sun: #f4c95d;
    --ink: #21312a;
    --line: #e1e7ea;
}
body { color: var(--ink); background: #f7faf8; font-weight: 400; }
.public-nav { min-height: 76px; background: #fff; border-bottom: 1px solid var(--line); overflow: visible; }
.public-nav .nav-link { color: #1d2939; font-weight: 500; padding-inline: 18px !important; }
.public-nav .nav-link:hover { color: var(--leaf); }
.brand-lockup, .admin-brand { display: inline-flex; gap: 10px; align-items: center; color: var(--forest); font-weight: 500; line-height: 1.05; text-decoration: none; }
.brand-lockup span:last-child, .admin-brand span:last-child { max-width: 190px; white-space: normal; }
.public-nav .brand-lockup { min-width: 0; max-width: min(44vw, 330px); }
.public-nav .brand-lockup span:last-child { overflow-wrap: anywhere; }
.brand-logo { width: 44px; height: 44px; max-width: 44px; max-height: 44px; object-fit: contain; flex: 0 0 44px; display: block; }
.public-menu-toggle { width: 46px; height: 42px; display: none; align-items: center; justify-content: center; border-color: #aeb7bf; border-radius: 8px; padding: 0; }
.public-nav-drawer { width: min(82vw, 320px); }
.drawer-brand { color: var(--forest); font-weight: 600; }
.drawer-brand span:last-child { max-width: 190px; }
.drawer-menu { display: grid; gap: 8px; }
.drawer-menu a, .drawer-menu button { width: 100%; min-height: 48px; display: flex; align-items: center; gap: 12px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent; color: #1d2939; text-decoration: none; font-weight: 600; text-align: left; }
.drawer-menu a:hover, .drawer-menu button:hover { background: var(--mint); color: var(--forest); }
.drawer-menu i { width: 26px; height: 26px; display: inline-grid; place-items: center; color: var(--leaf); }
.drawer-login { background: var(--leaf) !important; color: #fff !important; }
.drawer-login i { color: #fff; }
.brand-mark { position: relative; width: 30px; height: 32px; display: inline-block; }
.brand-mark::before { content: ""; position: absolute; inset: 5px 10px 0; border-left: 4px solid var(--leaf); border-bottom: 4px solid #8b5e20; transform: skew(-8deg); }
.brand-mark::after { content: ""; position: absolute; left: 2px; top: 2px; width: 26px; height: 18px; background: radial-gradient(ellipse at 28% 60%, var(--leaf) 0 34%, transparent 36%), radial-gradient(ellipse at 72% 42%, #52b788 0 35%, transparent 37%); }
.bg-forest { background: var(--forest); }
.btn-leaf { background: var(--leaf); border-color: var(--leaf); color: #fff; }
.btn-leaf:hover { background: #17663f; border-color: #17663f; color: #fff; }
.btn-sun { background: var(--sun); border-color: var(--sun); color: #183326; font-weight: 500; }
.hero { min-height: 460px; display: flex; align-items: center; background: linear-gradient(90deg, rgba(23,75,53,.92), rgba(23,75,53,.42)), url('https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?auto=format&fit=crop&w=1800&q=80') center/cover; color: #fff; }
.hero-copy { max-width: 720px; padding: 72px 0; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.5rem); font-weight: 500; letter-spacing: 0; }
.hero p { font-size: 1.2rem; max-width: 620px; }
.section-title { font-weight: 500; color: var(--forest); letter-spacing: 0; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.stats-grid div { background: #fff; border: 1px solid #dce9e1; border-radius: 8px; padding: 20px; }
.stats-grid strong { display: block; font-size: 2rem; color: var(--leaf); }
.stats-grid span { color: #64736b; }
.record-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.record-card { background: #fff; border: 1px solid #dce9e1; border-radius: 8px; overflow: hidden; }
.record-card-link { display: block; color: inherit; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.record-card-link:hover { color: inherit; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(16,24,40,.08); }
.record-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--mint); }
.record-card h3 { font-size: 1.05rem; margin: 0 0 6px; color: var(--forest); }
.record-detail-placeholder { min-height: 220px; display: grid; place-items: center; background: var(--mint); color: var(--forest); font-weight: 600; text-align: center; padding: 20px; }
.detail-list dd { word-break: break-word; }
.auth-band { min-height: calc(100vh - 56px); display: grid; place-items: center; padding: 40px 0; background: var(--mint); }
.auth-panel, .submit-panel { background: #fff; border: 1px solid #dce9e1; border-radius: 8px; padding: 26px; }
.auth-panel { max-width: 440px; margin: auto; }
.toolbar { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.narrow { max-width: 900px; }
.review-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 28px; align-items: start; }
.review-photo, .review-video { width: 100%; border-radius: 8px; border: 1px solid #dce9e1; background: #fff; }
.proof-photo { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.proof-photo .review-photo { border: 0; border-radius: 0; display: block; }
.proof-photo-details { display: grid; gap: 5px; padding: 12px 14px; color: #3d4654; font-size: .92rem; }
.proof-photo-details strong { color: var(--forest); }
.proof-photo-details a { color: #1d5f9f; font-weight: 500; text-decoration: none; }
.verification-panel { padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 8px 20px rgba(16,24,40,.04); }
.verification-panel h2 { margin: 0 0 12px; font-size: 1rem; font-weight: 600; color: var(--forest); }
.verification-panel dl { display: grid; grid-template-columns: 115px 1fr; gap: 8px 12px; margin: 0 0 14px; }
.verification-panel dt { color: #667085; font-weight: 600; }
.verification-panel dd { margin: 0; word-break: break-word; }
.migration-output { min-height: 180px; max-height: 460px; overflow: auto; padding: 14px; border: 1px solid var(--line); border-radius: 8px; background: #0b1220; color: #d1e7dd; white-space: pre-wrap; font-family: Consolas, Monaco, monospace; font-size: .88rem; }
.migration-output.failed { color: #fecaca; }
.report-filters { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; align-items: end; }
.report-native-check { min-height: 38px; display: flex; align-items: center; gap: 8px; margin: 0; }
.audit-json { max-width: 360px; max-height: 130px; margin: 0; overflow: auto; padding: 8px; border-radius: 6px; background: #f6f8fa; color: #344054; font-size: .78rem; white-space: pre-wrap; }
.planting-gallery { display: grid; gap: 12px; }
.gallery-main { width: 100%; border: 1px solid #dce9e1; border-radius: 8px; padding: 0; background: #fff; overflow: hidden; cursor: zoom-in; }
.gallery-main img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(82px, 1fr)); gap: 10px; }
.gallery-thumb { border: 2px solid transparent; border-radius: 8px; padding: 0; background: #fff; overflow: hidden; cursor: pointer; }
.gallery-thumb.active { border-color: var(--leaf); }
.gallery-thumb img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.gallery-modal { position: relative; background: transparent; border: 0; border-radius: 0; padding: 0; box-shadow: none; }
.gallery-modal img { width: auto; max-width: 100%; max-height: 88vh; object-fit: contain; display: block; margin: auto; }
.gallery-close { position: fixed; top: 18px; right: 18px; filter: invert(1); opacity: .95; z-index: 5; }
.gallery-nav { position: absolute; top: 50%; z-index: 3; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,255,255,.88); color: #101828; transform: translateY(-50%); }
.gallery-nav:hover { background: #fff; }
.gallery-prev { left: 18px; }
.gallery-next { right: 18px; }
.gallery-count { position: fixed; left: 18px; top: 18px; z-index: 3; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.88); color: #101828; font-size: .85rem; font-weight: 600; }
.map-canvas { min-height: 520px; border-radius: 8px; border: 1px solid #dce9e1; overflow: hidden; background: var(--mint); }
.map-filter-panel { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; align-items: end; padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }

.admin-shell { min-height: 100vh; display: grid; grid-template-columns: 280px minmax(0, 1fr); background: #f7f9fb; }
.admin-sidebar { background: linear-gradient(180deg, #0c213b, #071727); color: #fff; padding: 28px 18px; }
.admin-brand { color: #fff; margin: 8px 18px 34px; }
.admin-menu { display: grid; gap: 8px; }
.admin-menu a, .admin-menu button { width: 100%; display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 16px; border: 0; border-radius: 8px; background: transparent; color: #e8eef7; text-decoration: none; font-weight: 500; text-align: left; }
.admin-menu a.active { background: linear-gradient(90deg, #315b9a, #213d6a); box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); }
.admin-menu a:hover, .admin-menu button:hover { background: rgba(255,255,255,.08); }
.admin-menu i { width: 26px; height: 26px; display: inline-grid; place-items: center; border: 1px solid rgba(255,255,255,.22); border-radius: 6px; font-size: 14px; color: #fff; }
.admin-menu b { margin-left: auto; min-width: 25px; height: 22px; display: inline-grid; place-items: center; border-radius: 99px; background: #39b45b; color: #fff; font-size: 12px; }
.admin-main { min-width: 0; }
.admin-shell.sidebar-collapsed { grid-template-columns: 82px minmax(0, 1fr); }
.admin-shell.sidebar-collapsed .admin-sidebar { padding-inline: 12px; }
.admin-shell.sidebar-collapsed .admin-brand span:last-child,
.admin-shell.sidebar-collapsed .admin-menu a,
.admin-shell.sidebar-collapsed .admin-menu button { font-size: 0; gap: 0; justify-content: center; padding-inline: 0; }
.admin-shell.sidebar-collapsed .admin-menu i { margin: 0; }
.admin-topbar { height: 86px; display: flex; align-items: center; gap: 22px; padding: 0 34px; background: #fff; border-bottom: 1px solid var(--line); }
.admin-menu-button { width: 34px; display: grid; gap: 6px; border: 0; background: transparent; padding: 0; }
.admin-menu-button span { height: 3px; background: #172033; border-radius: 2px; }
.admin-search { margin-left: auto; max-width: 310px; width: 100%; position: relative; }
.admin-search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #7a8491; }
.admin-search input { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 12px 16px 12px 40px; font-weight: 400; }
.admin-profile-button { display: flex; align-items: center; gap: 10px; border: 1px solid var(--line); background: #fff; padding: 7px 9px 7px 12px; border-radius: 999px; max-width: 250px; box-shadow: 0 4px 12px rgba(16,24,40,.04); }
.admin-profile-button span { display: grid; text-align: right; line-height: 1.2; }
.admin-profile-button b { font-weight: 600; max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-profile-button small { color: #7a8491; font-weight: 400; }
.admin-profile-button img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.admin-content { padding: 26px 34px 34px; }
.admin-content h1 { font-size: 1.7rem; font-weight: 500; margin-bottom: 20px; }
.admin-stat-grid { display: grid; grid-template-columns: repeat(5, minmax(150px, 1fr)); gap: 18px; margin-bottom: 22px; }
.admin-stat { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; min-height: 92px; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 20px rgba(16,24,40,.04); }
.admin-stat i { grid-row: 1 / 3; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; font-style: normal; font-size: 1.45rem; }
.admin-stat i.blue { background: #eef6ff; color: #2295f2; }
.admin-stat i.green { background: #eefbf2; color: #21a64f; }
.admin-stat i.orange { background: #fff3ed; color: #ff5533; }
.admin-stat span { color: #3d4654; font-weight: 500; font-size: .9rem; }
.admin-stat strong { font-size: 1.7rem; font-weight: 600; letter-spacing: 0; line-height: 1; }
.admin-grid { display: grid; gap: 20px; margin-bottom: 20px; }
.admin-grid-primary { grid-template-columns: minmax(320px, .9fr) minmax(460px, 1.35fr); }
.admin-grid-secondary { grid-template-columns: minmax(260px, .9fr) minmax(300px, .9fr) minmax(320px, 1fr); }
.admin-panel { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 22px; box-shadow: 0 8px 20px rgba(16,24,40,.04); min-width: 0; }
.admin-panel h2 { margin: 0 0 18px; font-size: 1.05rem; font-weight: 600; }
.panel-heading { display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.panel-heading a { color: #1d5f9f; text-decoration: none; font-weight: 500; font-size: .9rem; }
.line-chart { width: 100%; min-height: 250px; }
.chart-grid line { stroke: #eef2f5; stroke-width: 1; }
.line-chart text { font-size: 10px; fill: #667085; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td { padding: 13px 10px; border-bottom: 1px solid #eef2f5; white-space: nowrap; font-size: .92rem; }
.admin-table th { color: #3d4654; font-weight: 600; }
.member-list-photo { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; object-fit: cover; background: #fff; color: var(--forest); font-weight: 700; }
.member-list-photo-empty { background: var(--mint); }
.status-pill { display: inline-block; border-radius: 7px; padding: 5px 10px; font-weight: 500; font-size: .82rem; }
.status-pill.approved { background: #dcfce7; color: #16803a; }
.status-pill.pending { background: #fff1d6; color: #b66a00; }
.status-pill.rejected { background: #fee2e2; color: #b42318; }
.empty-cell { color: #667085; text-align: center; }
.category-split { display: grid; grid-template-columns: 150px 1fr; gap: 22px; align-items: center; }
.donut { width: 132px; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(#2f9e44 0 calc((var(--a) / var(--total)) * 360deg), #3498db 0 calc(((var(--a) + var(--b)) / var(--total)) * 360deg), #f6b431 0 calc(((var(--a) + var(--b) + var(--c)) / var(--total)) * 360deg), #7a8797 0); position: relative; }
.donut::after { content: ""; position: absolute; inset: 32px; border-radius: 50%; background: #fff; }
.category-list { display: grid; gap: 12px; }
.category-list div { display: grid; grid-template-columns: 12px 1fr auto; gap: 10px; align-items: center; color: #3d4654; }
.category-list div:nth-child(1) span { background: #2f9e44; }
.category-list div:nth-child(2) span { background: #3498db; }
.category-list div:nth-child(3) span { background: #f6b431; }
.category-list div:nth-child(4) span { background: #7a8797; }
.category-list span { width: 10px; height: 10px; border-radius: 3px; }
.location-bars { display: grid; gap: 14px; }
.location-bars div { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.location-bars span { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.location-bars em { grid-column: 1 / 3; height: 8px; border-radius: 99px; background: #edf1f4; overflow: hidden; }
.location-bars i { display: block; height: 100%; background: linear-gradient(90deg, var(--leaf), #36a4de); border-radius: inherit; }
.quick-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.quick-actions a { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 12px; border: 1px solid var(--line); border-radius: 8px; color: #1d2939; font-weight: 500; text-decoration: none; }
.quick-actions span { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; color: #2f4a6e; font-size: 12px; }

.public-dashboard { display: grid; grid-template-columns: minmax(340px, 38%) minmax(0, 62%); min-height: calc(100vh - 76px); background: #fff; border: 1px solid #9aa9c0; border-top: 0; }
.public-left { border-right: 1px solid var(--line); }
.public-hero { min-height: 390px; display: flex; align-items: center; padding: 54px 58px; color: #fff; background: linear-gradient(90deg, rgba(11,35,23,.82), rgba(11,35,23,.2)), url('https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?auto=format&fit=crop&w=1400&q=80') center/cover; }
.public-hero h1 { max-width: 470px; margin: 0 0 26px; font-size: clamp(2rem, 3.5vw, 3.2rem); font-weight: 600; letter-spacing: 0; }
.public-hero p { max-width: 360px; font-size: 1.1rem; margin-bottom: 26px; }
.public-about { padding: 28px 58px 42px; }
.public-about h2, .public-section-head h2, .public-map-section h2 { font-size: 1.35rem; font-weight: 600; margin-bottom: 18px; }
.public-about p { max-width: 420px; line-height: 1.7; }
.public-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.public-stats div { display: grid; grid-template-columns: 40px 1fr; column-gap: 10px; align-items: center; }
.public-stats span { grid-row: 1 / 3; color: var(--leaf); font-weight: 600; }
.public-stats strong { font-size: 1.2rem; line-height: 1; }
.public-stats small { font-weight: 500; color: #3d4654; font-size: .75rem; }
.public-right { padding: 28px 36px 12px; min-width: 0; }
.public-section-head { display: flex; justify-content: space-between; align-items: center; gap: 18px; }
.public-section-head a { color: #1d5f9f; font-weight: 500; text-decoration: none; }
.public-records { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 18px; }
.public-record-card { border: 1px solid var(--line); border-radius: 7px; overflow: hidden; background: #fff; }
.public-record-card img, .public-record-placeholder { width: 100%; aspect-ratio: 1.35 / 1; object-fit: cover; background: #dfeee5; display: grid; place-items: center; color: var(--forest); font-weight: 600; text-align: center; padding: 10px; }
.public-record-card div:last-child { padding: 12px; }
.public-record-card h3 { font-size: 1rem; font-weight: 600; margin: 0 0 6px; }
.public-record-card p, .public-record-card time { display: block; margin: 0 0 6px; font-size: .86rem; color: #1d2939; }
.public-record-card time { color: #4c5664; }
.public-empty { grid-column: 1 / -1; min-height: 170px; display: grid; place-items: center; border: 1px dashed var(--line); border-radius: 8px; color: #667085; }
.public-map-section { margin-top: 32px; }
.public-map { height: 225px; border-radius: 8px; border: 1px solid var(--line); overflow: hidden; background: #dcecef; }
.map-preview-card { display: grid; gap: 5px; min-width: 210px; color: var(--ink); text-decoration: none; }
.map-preview-card img { width: 100%; height: 105px; object-fit: cover; border-radius: 6px; }
.map-preview-card strong { color: var(--forest); font-size: .98rem; }
.map-preview-card span, .map-preview-card small { color: #3d4654; }
.impact-hero { padding: 58px 0; color: #fff; background: linear-gradient(90deg, rgba(23,75,53,.92), rgba(23,75,53,.48)), url('https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?auto=format&fit=crop&w=1400&q=80') center/cover; }
.impact-hero h1 { margin: 0 0 10px; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 600; letter-spacing: 0; }
.impact-hero p { max-width: 720px; margin: 0; font-size: 1.1rem; }
.impact-stats { display: grid; grid-template-columns: repeat(4, minmax(150px, 1fr)); gap: 16px; }
.impact-stats div, .impact-panel { background: #fff; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 8px 20px rgba(16,24,40,.04); }
.impact-stats div { padding: 18px; }
.impact-stats span { display: block; color: #667085; font-weight: 600; }
.impact-stats strong { display: block; margin-top: 6px; color: var(--forest); font-size: 2rem; line-height: 1; }
.impact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.impact-wide { grid-column: span 2; }
.impact-panel { padding: 20px; min-width: 0; }
.impact-panel h2 { margin: 0 0 16px; color: var(--forest); font-size: 1.1rem; font-weight: 600; }
.impact-months { height: 260px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 10px; align-items: end; }
.impact-months div { min-width: 0; height: 100%; display: grid; grid-template-rows: auto 1fr auto; gap: 8px; text-align: center; color: #667085; font-size: .82rem; }
.impact-months em { display: flex; align-items: end; justify-content: center; min-height: 170px; border-radius: 8px; background: #f1f5f9; overflow: hidden; }
.impact-months i { display: block; width: 100%; border-radius: 8px 8px 0 0; background: linear-gradient(180deg, #36a4de, var(--leaf)); }
.impact-months strong { color: var(--ink); }
.impact-bars, .survival-list { display: grid; gap: 14px; }
.impact-bars div, .survival-list div { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; }
.impact-bars span, .survival-list span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.impact-bars small { color: #667085; font-weight: 500; }
.impact-bars b { display: inline-block; margin-left: 5px; padding: 2px 6px; border-radius: 999px; background: #dcfce7; color: #16803a; font-size: .7rem; }
.impact-bars em, .survival-list em { grid-column: 1 / 3; height: 8px; border-radius: 999px; background: #edf1f4; overflow: hidden; }
.impact-bars i, .survival-list i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--leaf), #36a4de); }
.settings-image-preview { display: flex; align-items: center; gap: 10px; color: #667085; font-size: .9rem; }
.settings-image-preview img { width: 64px; height: 64px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 6px; }
.developer-credit { padding: 16px 0 22px; color: #667085; font-size: .86rem; text-align: center; }
.developer-credit a { color: #1d5f9f; font-weight: 600; text-decoration: none; }
.developer-credit a:hover { color: var(--leaf); text-decoration: underline; }
.admin-developer-credit { padding: 18px 0 0; text-align: right; }
.site-share { position: fixed; right: 18px; bottom: 18px; z-index: 950; display: flex; align-items: center; gap: 8px; padding: 8px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.96); box-shadow: 0 12px 28px rgba(16,24,40,.15); }
.site-share span { padding: 0 6px 0 4px; font-size: .82rem; font-weight: 600; color: #3d4654; }
.share-btn { width: 36px; height: 36px; display: inline-grid; place-items: center; border: 0; border-radius: 50%; color: #fff; text-decoration: none; transition: transform .15s ease, box-shadow .15s ease; }
.share-btn:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 8px 18px rgba(16,24,40,.18); }
.share-btn.whatsapp { background: #25d366; }
.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #111827; }
.share-btn.copy { background: var(--forest); }
.share-btn.copy.copied { background: var(--leaf); }
@media (max-width: 800px) {
    .review-layout { grid-template-columns: 1fr; }
    .toolbar .btn-group { width: 100%; overflow-x: auto; }
}
@media (max-width: 1200px) {
    .admin-stat-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-grid-primary, .admin-grid-secondary, .public-dashboard, .impact-grid { grid-template-columns: 1fr; }
    .impact-wide { grid-column: auto; }
    .public-left { border-right: 0; }
    .public-records { grid-template-columns: repeat(2, minmax(160px, 1fr)); }
}
@media (max-width: 900px) {
    .admin-shell { grid-template-columns: 1fr; }
    .admin-shell.sidebar-collapsed { grid-template-columns: 1fr; }
    .admin-sidebar { position: fixed; z-index: 1000; inset: 0 auto 0 0; width: 280px; transform: translateX(-100%); transition: transform .15s ease; }
    .admin-shell.sidebar-open .admin-sidebar { transform: translateX(0); }
    .admin-topbar { padding: 18px; height: auto; flex-wrap: wrap; }
    .admin-content { padding: 22px 18px; }
    .public-desktop-nav { display: none !important; }
    .public-menu-toggle { display: inline-flex; }
    .public-nav { min-height: 68px; }
    .public-nav .container { min-height: 68px; }
}
@media (max-width: 640px) {
    .admin-stat-grid, .quick-actions, .category-split, .public-stats, .public-records, .impact-stats { grid-template-columns: 1fr; }
    .public-hero, .public-about, .public-right { padding-inline: 20px; }
    .impact-months { grid-template-columns: repeat(6, 1fr); height: auto; }
    .impact-months em { min-height: 120px; }
    .public-nav .brand-lockup { max-width: calc(100vw - 96px); }
    .brand-logo { width: 38px; height: 38px; max-width: 38px; max-height: 38px; flex-basis: 38px; }
    .brand-lockup span:last-child { max-width: 170px; font-size: .92rem; }
    .gallery-modal img { max-height: 84vh; }
    .gallery-nav { width: 38px; height: 38px; }
    .gallery-prev { left: 10px; }
    .gallery-next { right: 10px; }
    .gallery-count { left: 10px; }
    body { padding-bottom: 70px; }
    .site-share { left: 0; right: 0; bottom: 0; justify-content: center; border-radius: 0; border-inline: 0; border-bottom: 0; padding: 10px 12px; }
    .site-share span { margin-right: auto; }
    .share-btn { width: 40px; height: 40px; }
}

