:root {
    --forest: #153c24;
    --leaf: #28633b;
    --leaf-light: #4d8a55;
    --meadow: #eef6e9;
    --meadow-soft: #f8fbf6;
    --sun: #f0bd36;
    --sky: #cfe9f4;
    --purple: #75558b;
    --ink: #1d2921;
    --muted: #617066;
    --line: #d5e1d4;
    --white: #ffffff;
    --danger: #992e2e;
    --shadow: 0 16px 40px rgba(20, 58, 34, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background:
        radial-gradient(circle at 6% 3%, rgba(240, 189, 54, .12), transparent 24rem),
        var(--meadow-soft);
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    line-height: 1.55;
}
img { max-width: 100%; }
a { color: var(--leaf); }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, .96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(12px);
}
.header-inner {
    width: min(1180px, calc(100% - 28px));
    min-height: 78px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}
.brand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--forest);
    text-decoration: none;
}
.brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    border-radius: 50%;
}
.brand strong {
    display: block;
    font-size: 1.03rem;
    line-height: 1.15;
}
.brand small {
    display: block;
    color: var(--muted);
    font-size: .82rem;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}
.main-nav a {
    padding: 9px 11px;
    border-radius: 999px;
    color: var(--ink);
    text-decoration: none;
    font-size: .92rem;
    font-weight: 700;
}
.main-nav a:hover,
.main-nav a[aria-current="page"] {
    background: var(--meadow);
    color: var(--forest);
}
.nav-toggle { display: none; }

.page-shell {
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
    padding: 24px 0 72px;
}
.eyebrow {
    margin: 0 0 7px;
    color: var(--leaf);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .13em;
    font-size: .76rem;
}
h1, h2, h3 { color: var(--forest); line-height: 1.12; }
h1 { font-size: clamp(2.2rem, 6vw, 4.7rem); margin: 0 0 15px; }
h2 { font-size: clamp(1.45rem, 3vw, 2rem); }
p { max-width: 75ch; }

.report-welcome,
.about-hero,
.thanks-card {
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
    align-items: center;
    gap: clamp(20px, 5vw, 58px);
    padding: clamp(24px, 5vw, 54px);
    margin-bottom: 20px;
    border: 1px solid #bfd5be;
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.95), rgba(238,246,233,.94));
    box-shadow: var(--shadow);
}
.report-welcome h1 { max-width: 720px; }
.report-welcome p { font-size: 1.05rem; }
.welcome-art { width: 100%; max-height: 380px; }
.quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 16px;
}
.small-button {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 7px 12px;
    border: 1px solid #b9ceb9;
    border-radius: 999px;
    background: var(--white);
    color: var(--forest);
    text-decoration: none;
    font-size: .88rem;
    font-weight: 800;
}
.small-button:hover { background: var(--meadow); }
.trust-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: .91rem;
}
.trust-list li::before {
    content: "✓";
    margin-right: 7px;
    color: var(--leaf);
    font-weight: 900;
}

.primary-button,
.secondary-button,
.table-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 18px;
    border: 0;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    text-decoration: none;
}
.primary-button { background: var(--leaf); color: var(--white); }
.primary-button:hover { background: var(--forest); }
.secondary-button {
    background: var(--white);
    color: var(--forest);
    border: 1px solid var(--line);
}
.table-button {
    min-height: 38px;
    padding: 8px 11px;
    background: var(--meadow);
    color: var(--forest);
    font-size: .86rem;
}
.button-row { display: flex; flex-wrap: wrap; gap: 10px; }
.submit-button {
    width: 100%;
    min-height: 62px;
    font-size: 1.08rem;
}

.notice {
    padding: 15px 18px;
    margin: 0 0 20px;
    border-radius: 12px;
    font-weight: 800;
}
.notice.success {
    color: #185b2d;
    border: 1px solid #acd6b5;
    background: #e4f5e8;
}
.notice.error {
    color: var(--danger);
    border: 1px solid #e6bcbc;
    background: #fff0f0;
}

.sighting-form { display: grid; gap: 18px; }
.form-card,
.dashboard-card,
.content-card,
.story-card,
.success-panel,
.legal-hero,
.dashboard-intro {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 20px;
    box-shadow: var(--shadow);
}
.form-card {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
    padding: clamp(20px, 4vw, 34px);
}
.step-number {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--sun);
    color: #3f3100;
    font-weight: 900;
}
.form-card h2 { margin: 0; }
.help { margin: 6px 0 20px; color: var(--muted); }

.group-grid,
.species-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
    gap: 10px;
}
.group-choice,
.species-choice {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    padding: 11px 13px;
    border: 1px solid var(--line);
    border-radius: 14px;
    cursor: pointer;
    background: var(--white);
}
.group-choice:hover,
.species-choice:hover {
    border-color: var(--leaf);
    background: var(--meadow-soft);
}
.group-choice:has(input:checked),
.species-choice:has(input:checked) {
    border-color: var(--leaf);
    background: var(--meadow);
    box-shadow: 0 0 0 2px rgba(40, 99, 59, .08);
    font-weight: 800;
}
.group-choice input,
.species-choice input {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    accent-color: var(--leaf);
}
.choice-icon { font-size: 1.55rem; line-height: 1; }
.species-card > div:last-child { min-width: 0; }
.species-panel {
    margin: 18px 0 0;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--meadow-soft);
}
.species-panel legend {
    padding: 0 8px;
    color: var(--forest);
    font-weight: 900;
    font-size: 1.15rem;
}
.friendly-placeholder,
.chart-empty {
    display: grid;
    place-items: center;
    min-height: 210px;
    padding: 24px;
    border: 2px dashed #c4d6c4;
    border-radius: 16px;
    background: var(--meadow-soft);
    text-align: center;
    color: var(--muted);
}
.friendly-placeholder span,
.chart-empty span {
    font-size: 3rem;
}
.friendly-placeholder p,
.chart-empty p { margin: 6px 0 0; }
.chart-empty.compact { min-height: 140px; }
.search-label {
    display: block;
    margin: 0 0 14px;
    font-weight: 800;
}
label { font-weight: 700; }
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
select,
textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 12px;
    margin-top: 6px;
    border: 1px solid #b9c7ba;
    border-radius: 10px;
    background: var(--white);
    color: var(--ink);
}
textarea { resize: vertical; }
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(40, 99, 59, .16);
    border-color: var(--leaf);
}
.other-input { margin-top: 15px; }
.upload-box {
    display: grid;
    justify-items: center;
    gap: 4px;
    min-height: 150px;
    padding: 24px;
    border: 2px dashed #91ad95;
    border-radius: 16px;
    background: var(--meadow-soft);
    cursor: pointer;
    text-align: center;
}
.upload-box input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.upload-box > span:not(.upload-icon) {
    color: var(--forest);
    font-weight: 900;
}
.upload-icon { font-size: 2.4rem; }
.upload-box small { color: var(--muted); }
.file-summary { margin-top: 8px; color: var(--muted); }
.error-text { color: var(--danger); }
.photo-rules {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}
.consent-row {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 13px;
    font-weight: 500;
}
.consent-row input {
    width: 21px;
    height: 21px;
    flex: 0 0 auto;
    accent-color: var(--leaf);
}
.public-row { box-shadow: var(--shadow); }
.form-note,
.data-disclaimer,
.small-print,
.legal-updated {
    color: var(--muted);
    font-size: .9rem;
}
.honeypot {
    position: absolute !important;
    left: -9999px !important;
}
[hidden] { display: none !important; }

.dashboard-intro,
.legal-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 26px;
    padding: clamp(24px, 5vw, 46px);
    margin-bottom: 18px;
    background:
        radial-gradient(circle at top right, rgba(240,189,54,.19), transparent 22rem),
        var(--white);
}
.dashboard-intro h1,
.legal-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
.legal-hero.compact { display: block; }
.filter-bar {
    display: grid;
    grid-template-columns: 1fr 1fr auto auto;
    align-items: end;
    gap: 12px;
    margin-bottom: 18px;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
}
.filter-bar label { font-size: .92rem; }
.text-link { display: inline-block; padding: 11px 7px; font-weight: 800; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 13px;
    margin-bottom: 18px;
}
.stat-card {
    padding: 21px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
}
.stat-card strong {
    display: block;
    color: var(--leaf);
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    line-height: 1;
}
.stat-card span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-size: .91rem;
}
.chart-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-bottom: 18px;
}
.dashboard-card {
    padding: clamp(19px, 3vw, 26px);
    margin-bottom: 18px;
}
.dashboard-card h2 { margin-top: 0; }
.full-width { grid-column: 1 / -1; }

.bar-list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.bar-label {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 5px;
    font-size: .92rem;
}
.bar-label span { min-width: 0; }
.bar-label b {
    display: inline-grid;
    place-items: center;
    width: 23px;
    height: 23px;
    margin-right: 6px;
    border-radius: 50%;
    background: var(--meadow);
    color: var(--forest);
    font-size: .76rem;
}
.bar-track {
    height: 13px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8eee7;
}
.bar-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--leaf), var(--leaf-light));
}
.ranked .bar-track span {
    background: linear-gradient(90deg, var(--purple), #a986b9);
}
.month-chart {
    min-height: 290px;
    display: grid;
    grid-template-columns: repeat(12, minmax(34px, 1fr));
    align-items: end;
    gap: 8px;
    padding-top: 28px;
}
.month-column {
    height: 250px;
    display: grid;
    grid-template-rows: 24px 1fr 24px;
    align-items: end;
    text-align: center;
}
.month-value {
    align-self: start;
    color: var(--muted);
    font-size: .75rem;
}
.month-bar {
    width: min(34px, 80%);
    height: 100%;
    display: flex;
    align-items: end;
    justify-self: center;
    border-radius: 10px 10px 4px 4px;
    background: #edf2ec;
}
.month-bar span {
    width: 100%;
    min-height: 3px;
    border-radius: inherit;
    background: linear-gradient(180deg, var(--sun), #d99822);
}
.month-label {
    align-self: end;
    color: var(--muted);
    font-size: .76rem;
}

.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}
.section-heading h2 { margin: 0; }
.table-scroll { overflow-x: auto; }
.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 690px;
}
.data-table th,
.data-table td {
    padding: 12px 10px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--line);
}
.data-table th {
    color: var(--forest);
    background: var(--meadow-soft);
}
.inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.inline-actions button {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    padding: 7px 9px;
    cursor: pointer;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 14px;
}
.gallery-grid figure {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--meadow-soft);
}
.gallery-grid img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}
.gallery-grid figcaption {
    display: grid;
    gap: 2px;
    padding: 12px;
}
.gallery-grid figcaption span {
    color: var(--muted);
    font-size: .9rem;
}

.about-hero { margin-bottom: 18px; }
.about-hero img { max-height: 370px; }
.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 18px;
}
.content-card,
.story-card,
.success-panel {
    padding: clamp(22px, 4vw, 38px);
}
.content-card h2 { margin-top: 0; }
.large-icon { font-size: 2.4rem; }
.story-card {
    display: grid;
    grid-template-columns: 1.4fr .6fr;
    gap: 30px;
    align-items: center;
    margin-bottom: 18px;
    background:
        linear-gradient(135deg, var(--forest), var(--leaf));
    color: var(--white);
}
.story-card h2,
.story-card .eyebrow { color: var(--white); }
.story-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}
.story-badges span {
    padding: 9px 12px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    font-weight: 800;
    font-size: .9rem;
}
.prose { max-width: 900px; }
.prose h2 { margin-top: 30px; }
.prose ul { padding-left: 22px; }
.legal-copy { margin: 0 auto; }
.legal-copy h2:first-child { margin-top: 0; }

.thanks-card { min-height: 540px; }
.thanks-card img { max-height: 390px; }
.record-receipt {
    max-width: 650px;
    padding: 17px;
    margin: 20px 0;
    border: 1px solid #bfd5be;
    border-radius: 14px;
    background: var(--meadow);
}
.record-receipt span,
.record-receipt small { display: block; color: var(--muted); }
.record-receipt strong {
    display: block;
    margin: 3px 0 8px;
    color: var(--forest);
    font-size: 1.5rem;
    letter-spacing: .08em;
}
.success-panel {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.success-panel > span {
    display: inline-grid;
    place-items: center;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: var(--meadow);
    color: var(--leaf);
    font-size: 2.3rem;
    font-weight: 900;
}
.concern-form,
.admin-login {
    max-width: 760px;
    margin: 0 auto;
    display: grid;
    gap: 18px;
}
.concern-form small { display: block; margin-top: 5px; color: var(--muted); font-weight: 400; }
.narrow { max-width: 520px; }

.site-footer {
    padding: 32px 16px;
    color: var(--muted);
    border-top: 1px solid var(--line);
    background: var(--white);
}
.footer-inner {
    width: min(1180px, calc(100% - 28px));
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 28px;
}
.footer-inner p { margin: 5px 0 0; font-size: .88rem; }
.footer-inner nav {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-end;
    gap: 8px 15px;
}
.footer-inner nav a { font-size: .88rem; }

@media (max-width: 940px) {
    .stats-grid { grid-template-columns: repeat(3, 1fr); }
    .chart-grid { grid-template-columns: 1fr; }
    .full-width { grid-column: auto; }
    .filter-bar { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
    body { font-size: 16px; }
    .header-inner { min-height: 70px; }
    .brand img { width: 48px; height: 48px; }
    .brand small { display: none; }
    .nav-toggle {
        display: inline-flex;
        padding: 9px 12px;
        border: 1px solid var(--line);
        border-radius: 9px;
        background: var(--white);
        font-weight: 800;
    }
    .main-nav {
        display: none;
        position: absolute;
        top: 69px;
        left: 14px;
        right: 14px;
        padding: 10px;
        flex-direction: column;
        align-items: stretch;
        background: var(--white);
        border: 1px solid var(--line);
        border-radius: 14px;
        box-shadow: var(--shadow);
    }
    .main-nav.open { display: flex; }
    .main-nav a { border-radius: 9px; }
    .page-shell { width: min(100% - 18px, 1180px); padding-top: 12px; }
    .report-welcome,
    .about-hero,
    .thanks-card {
        grid-template-columns: 1fr;
        padding: 24px 20px;
        border-radius: 19px;
    }
    .welcome-art,
    .about-hero img,
    .thanks-card img {
        max-height: 270px;
        order: -1;
    }
    .form-card { grid-template-columns: 1fr; padding: 20px 16px; }
    .step-number { width: 36px; height: 36px; }
    .group-grid,
    .species-grid { grid-template-columns: 1fr; }
    .dashboard-intro,
    .legal-hero {
        align-items: flex-start;
        flex-direction: column;
        padding: 24px 19px;
    }
    .filter-bar { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .story-card { grid-template-columns: 1fr; }
    .footer-inner { flex-direction: column; }
    .footer-inner nav { justify-content: flex-start; }
    .month-chart {
        gap: 4px;
        overflow-x: auto;
        grid-template-columns: repeat(12, 42px);
        justify-content: start;
    }
}
@media (max-width: 440px) {
    h1 { font-size: 2.35rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .brand strong { font-size: .9rem; }
    .quick-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .small-button { justify-content: center; text-align: center; }
}
