:root{font-family:system-ui,-apple-system,sans-serif;color:#193d32;background:#f3f7f5;color-scheme:light}*{box-sizing:border-box}body{margin:0}a{color:#145b48}header,main,footer{max-width:1000px;margin:auto;padding:24px}header{display:flex;align-items:center;justify-content:space-between;gap:20px}header a{text-decoration:none;font-weight:700}h1{font-size:clamp(2rem,5vw,3.4rem);line-height:1.1;letter-spacing:-.04em}h2{font-size:1.3rem}p,li{line-height:1.65}.eyebrow{font-size:.75rem;letter-spacing:.13em;font-weight:800}.muted,small{color:#53675e}.actions{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:32px 0}.action{aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center;background:white;border:1px solid #d9e4de;border-radius:24px;text-decoration:none;box-shadow:0 10px 30px #123b2810;font-size:clamp(1.2rem,4vw,1.8rem);font-weight:750;gap:20px}.action svg{width:44%;height:44%;stroke:#145b48;fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.action:hover,.action:focus-visible{outline:3px solid #85b69e;background:#eaf5ef}section,.panel{background:white;border:1px solid #d9e4de;border-radius:18px;padding:24px;margin:20px 0}.notice{background:#e7f2ec;padding:18px;border-radius:12px}label{display:block;font-weight:650;margin-top:22px}input,textarea,select{display:block;width:100%;padding:13px;font:inherit;border:1px solid #95a99f;border-radius:8px;margin:8px 0}textarea{min-height:130px}input[type=checkbox]{width:auto;display:inline;margin-right:8px}button,.button{display:inline-block;font:inherit;background:#145b48;color:white;border:0;border-radius:10px;padding:13px 20px;cursor:pointer;text-decoration:none;margin:8px 8px 8px 0}button:disabled{opacity:.5;cursor:wait}.secondary{background:#e7f2ec;color:#145b48}.status{min-height:24px;white-space:pre-wrap}#map{height:65vh;min-height:360px;border-radius:16px;z-index:0}dialog{border:1px solid #bbcfc4;border-radius:20px;width:min(92vw,700px);max-height:90vh;padding:24px}dialog::backdrop{background:#102e27b3}.report-photo{width:100%;max-height:50vh;object-fit:contain;background:#eff4f1}.comment{padding:12px;border-bottom:1px solid #dce6e0}.toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:8px}footer{font-size:.9rem;border-top:1px solid #dce6e0;margin-top:40px}.policy{max-width:850px}.policy table{border-collapse:collapse;width:100%}.policy th,.policy td{padding:12px;border:1px solid #d7e3dd;text-align:left;vertical-align:top}@media(max-width:480px){header,main,footer{padding:18px}.actions{gap:12px}.action{border-radius:18px;gap:12px}section,.panel{padding:18px}header{align-items:flex-start}.policy table{font-size:.85rem}}
[hidden]{display:none!important}
#photo-dialog{width:min(calc(100% - 24px),900px);max-width:none;max-height:92dvh}
#photo-dialog .report-photo{display:block;max-height:58dvh}
.occurrence-details{overflow-wrap:anywhere}
.occurrence-details dt{font-weight:700;margin-top:16px}
.occurrence-details dd{margin:4px 0 0;white-space:pre-wrap}
.occurrence-details [role=status]:empty{display:none}

#photo-source-dialog button{display:block;width:100%;margin:14px 0;min-height:52px}#comment-form{padding:20px 0;margin-top:24px;border-top:1px solid #d7e3dd}#flag-photo{margin:24px 0 16px;width:100%;color:#a43832;background:#fff1ee}#comment-form button{width:100%;margin:14px 0}#photo-preview{cursor:pointer;border-radius:16px;margin:16px 0}

.quick-links{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:6px 14px;margin:0 0 12px;font-size:.75rem}.quick-links a{display:inline-block;padding:5px 2px;text-underline-offset:3px}.quick-links a:focus-visible{outline:2px solid #145b48;outline-offset:3px;border-radius:3px}

.map-category-filter {position:relative;min-width:0}
.map-category-filter summary {min-height:44px;box-sizing:border-box;padding:8px 12px;border:1px solid #b8c9c1;border-radius:8px;background:white;cursor:pointer}
.map-category-options {position:absolute;top:100%;left:0;right:0;z-index:1001;max-height: min(45vh, 300px);overflow:auto;padding:4px;background:white;border:1px solid #b8c9c1;border-radius:8px}
.map-category-options button {display:flex;align-items:center;gap:8px;width:100%;background:white;color:#193d32;text-align:left}
.map-category-options button:hover,.map-category-options button[aria-pressed=true] {background:#e7f1eb}
.map-category-swatch {flex:0 0 12px;height:12px;border-radius:50%;background:#64748B}
.map-toolbar {
    align-items: flex-end;
    gap: 8px;
    margin-top: 12px;
}
.map-toolbar .map-category-filter {
    flex: 1 1 230px;
}
.map-toolbar button,
.map-toolbar select {
    min-height: 44px;
    margin: 0;
    padding: 8px 12px;
}
.map-toolbar button[hidden] {
    display: none;
}
#tile-status:empty {
    display: none;
}
@media (max-width: 640px) {
    .map-toolbar {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }
    .map-toolbar .map-category-filter {
        grid-column: 1 / -1;
    }
}

#enlarge-photo{display:block;width:100%;padding:0;margin:0 0 8px;background:transparent;border-radius:8px;cursor:zoom-in}#enlarge-photo:focus-visible{outline:3px solid #145b48;outline-offset:3px}#photo-category{font-weight:700}#full-photo-dialog{position:fixed;inset:0;width:100%;max-width:none;height:100%;max-height:none;margin:0;padding:12px;border:0;border-radius:0;background:#101010;color:white;overflow:auto}#full-photo-dialog[open]{display:flex;flex-direction:column;gap:10px}#full-photo-dialog::backdrop{background:#101010}.full-photo-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-shrink:0}.full-photo-toolbar p{margin:0;overflow-wrap:anywhere}.full-photo-toolbar button{flex-shrink:0;margin:0;background:white;color:#193d32}#full-photo{display:block;flex:1;min-height:0;width:100%;object-fit:contain}

#toggle-heat[aria-pressed=true]{background:#145b48;color:white}

.map-hover-preview{display:flex;flex-direction:column;align-items:center;gap:6px;max-width:180px}.map-hover-preview img{display:block;width:96px;height:72px;object-fit:contain;background:#eff4f1;border-radius:4px}.map-hover-preview span{white-space:normal;text-align:center;font:12px/1.4 system-ui}.map-hover-tooltip{padding:8px;border-radius:8px}
