@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root{--ink:#1e312a;--muted:#758079;--deep:#183c32;--deep-2:#244b3e;--leaf:#6f8d68;--lime:#d8e3c9;--cream:#f4f2e9;--paper:#fbfaf5;--line:#e7e6dc;--sand:#d7c8a9;--water:#dce9e5;--white:#fff;--forest:#486b55;--park:#b17d4b;--iba:#547f88;--shadow:0 12px 35px rgba(27,52,43,.08)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:'DM Sans',system-ui,sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}.page-shell{max-width:1600px;margin:0 auto;min-height:100vh;padding:0 4.3vw}.topbar{height:86px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid rgba(33,63,51,.12)}.brand{display:flex;align-items:center;gap:12px;color:var(--deep);text-decoration:none}.brand-mark{width:42px;height:42px;border-radius:13px;background:var(--deep);display:grid;place-items:center}.brand-mark svg{width:31px;height:31px;fill:none;stroke:#e2ebd8;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}.brand-copy{display:grid;gap:3px}.brand-copy strong{font:800 15px Manrope,sans-serif;letter-spacing:-.03em}.brand-copy small{font-size:9px;letter-spacing:.18em;color:#879188;font-weight:700}.topbar-actions{display:flex;align-items:center;gap:22px}.pilot-tag{font-size:10px;font-weight:700;letter-spacing:.13em;color:#758078;border:1px solid #d6d9ce;border-radius:30px;padding:9px 13px}.network-status{display:flex;align-items:center;gap:8px;color:#68756d;font-size:11px}.network-status i{width:7px;height:7px;background:#69a37a;border-radius:50%;box-shadow:0 0 0 4px rgba(105,163,122,.12)}.network-status.offline i{background:#bd775f;box-shadow:0 0 0 4px rgba(189,119,95,.12)}
.hero{min-height:270px;display:flex;align-items:center;justify-content:space-between;padding:34px 3.2vw 36px 0;position:relative;overflow:hidden}.eyebrow{font-size:9px;letter-spacing:.19em;font-weight:700;color:#829084;margin:0 0 12px}.hero h1{font:800 clamp(35px,4.2vw,58px)/1.07 Manrope,sans-serif;letter-spacing:-.06em;margin:0;color:var(--deep)}.hero h1 span{color:#9ba98c;font-weight:500}.hero-intro{font-size:14px;line-height:1.75;color:#65736a;max-width:540px;margin:16px 0 19px}.hero-meta{display:flex;align-items:center;gap:12px;color:#899187;font-size:11px}.hero-meta b{color:var(--deep);font-size:13px}.meta-dot{width:3px;height:3px;background:#b1b8aa;border-radius:50%}.hero-stamp{height:230px;width:280px;position:relative;display:grid;place-items:center;opacity:.82}.stamp-ring{width:172px;height:172px;border:1px solid #aeb8a4;border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;outline:1px dashed #c5cabb;outline-offset:7px;transform:rotate(-9deg);color:#82927e}.stamp-ring span{font-size:8px;letter-spacing:.24em}.stamp-ring strong{font:800 25px/1.03 Manrope,sans-serif;letter-spacing:-.05em;color:#6b816d;margin:9px 0}.stamp-ring small{font-size:7px;letter-spacing:.16em}.stamp-branch{position:absolute;width:175px;height:137px;right:4px;bottom:5px;fill:none;stroke:#aab7a0;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transform:rotate(-5deg)}
.workspace{display:grid;grid-template-columns:minmax(310px,360px) minmax(0,1fr);gap:24px;padding-bottom:42px;align-items:start}.catalog-panel{background:var(--paper);border:1px solid #e8e7dd;border-radius:16px;padding:22px 20px 17px;box-shadow:var(--shadow);min-height:760px}.panel-heading,.map-header{display:flex;align-items:center;justify-content:space-between}.panel-heading h2,.map-header h2{font:800 18px Manrope,sans-serif;letter-spacing:-.04em;margin:0;color:var(--deep)}.panel-heading .eyebrow,.map-header .eyebrow{margin-bottom:5px}.clear-button,.map-reset{border:0;background:transparent;color:#8b958a;font:600 10px 'DM Sans',sans-serif;cursor:pointer;padding:7px 0}.clear-button:hover,.map-reset:hover{color:var(--deep)}.mode-switch{display:grid;grid-template-columns:1fr 1fr;padding:4px;background:#f0f0e8;border-radius:9px;margin:20px 0 14px}.mode-button{border:0;background:transparent;border-radius:7px;color:#899188;font:700 11px 'DM Sans',sans-serif;padding:10px;cursor:pointer}.mode-button.active{background:#fff;color:var(--deep);box-shadow:0 2px 6px rgba(31,53,43,.08)}.search-box{display:flex;align-items:center;gap:9px;height:43px;background:#fff;border:1px solid #e2e4d9;border-radius:8px;padding:0 11px}.search-box svg{width:16px;height:16px;fill:none;stroke:#8b968b;stroke-width:1.8;stroke-linecap:round}.search-box input{width:100%;min-width:0;border:0;outline:0;background:transparent;font:500 11px 'DM Sans',sans-serif;color:var(--ink)}.search-box input::placeholder{color:#a7afa6}.search-box kbd{font:11px serif;color:#b1b9ac}.filter-grid{display:grid;gap:10px;margin:16px 0 19px}.filter-grid label{display:grid;gap:6px}.filter-grid label span{font-size:9px;color:#858f85;font-weight:700;letter-spacing:.04em}.filter-grid select{width:100%;height:36px;border:1px solid #e4e6dc;border-radius:7px;background:#fff;padding:0 10px;color:#4f5f55;font:500 10px 'DM Sans',sans-serif;outline-color:#93a68e}.list-heading{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e9e9e0;padding:16px 0 9px;font-size:10px;font-weight:700;color:#47594d}.result-count{display:grid;place-items:center;min-width:22px;height:22px;border-radius:50%;background:#edf1e8;color:#5a755d;font-size:10px}.catalog-list{display:grid;gap:8px;max-height:430px;overflow:auto;padding-right:2px;scrollbar-width:thin;scrollbar-color:#d7ded2 transparent}.area-card,.species-card{width:100%;border:1px solid #e9e9e0;border-radius:9px;background:#fff;padding:12px;text-align:left;cursor:pointer;transition:border-color .15s,transform .15s,box-shadow .15s;color:inherit}.area-card:hover,.species-card:hover{border-color:#b8c7b2;transform:translateY(-1px)}.area-card.active,.species-card.active{border-color:#829e80;background:#f8faf5;box-shadow:inset 3px 0 #638566}.card-topline{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:7px}.category-pill{font-size:8px;letter-spacing:.07em;font-weight:700;border-radius:20px;padding:5px 7px;background:#eef2e9;color:#627860;white-space:nowrap}.category-pill.national_forest{background:#e8eee6;color:#4e7058}.category-pill.national_park{background:#f3eee5;color:#947149}.category-pill.iba{background:#e6eff0;color:#4e7780}.card-region{font-size:9px;color:#9aa39a}.area-card h3,.species-card h3{margin:0 0 5px;font:700 12px/1.4 Manrope,sans-serif;color:#31493b}.card-subtitle{font-size:9px;font-style:italic;color:#9ba49a}.card-foot{display:flex;justify-content:space-between;align-items:center;margin-top:10px;padding-top:8px;border-top:1px solid #f0f0e9;color:#869087;font-size:9px}.card-arrow{font-size:15px;color:#82947c}.species-card{display:flex;justify-content:space-between;align-items:center;gap:12px}.species-card h3{margin-bottom:3px}.species-card em{font-size:9px;color:#9aa39a}.species-count{font-size:9px;color:#6b806b;background:#eff3ea;padding:5px 7px;border-radius:20px;white-space:nowrap}.catalog-note{font-size:9px;line-height:1.6;color:#9aa298;margin:13px 2px 0}.empty-state,.loading-state{padding:25px 12px;text-align:center;color:#8d978b;font-size:11px;line-height:1.6}
.map-column{min-width:0}.map-header{padding:2px 0 13px}.map-header-tools{display:flex;align-items:center;gap:18px}.map-label{display:flex;align-items:center;gap:7px;color:#849087;font-size:10px}.map-label i{display:block;width:8px;height:8px;border-radius:50%;background:#668d70;box-shadow:0 0 0 4px #e2eadf}.map-reset{font-size:10px;color:#607b63}.map-frame{position:relative;overflow:hidden;border:1px solid #dfe4db;border-radius:14px;background:#e6ede7;box-shadow:var(--shadow)}#map{height:450px;width:100%;z-index:1;background:linear-gradient(145deg,#e7eee8,#d9e7e3)}.map-legend{position:absolute;z-index:500;left:14px;bottom:34px;display:flex;gap:13px;flex-wrap:wrap;background:rgba(251,250,245,.94);border:1px solid rgba(215,222,212,.8);border-radius:8px;padding:9px 11px;box-shadow:0 4px 15px rgba(24,60,50,.08)}.map-legend span{display:flex;align-items:center;gap:6px;font-size:9px;color:#627167}.legend-dot{width:7px;height:7px;border-radius:50%}.legend-dot.forest{background:var(--forest)}.legend-dot.park{background:var(--park)}.legend-dot.iba{background:var(--iba)}.map-footnote{position:absolute;z-index:500;right:11px;bottom:10px;padding:5px 7px;border-radius:5px;background:rgba(251,250,245,.9);font-size:8px;color:#879087}.leaflet-container{font-family:'DM Sans',sans-serif}.leaflet-control-attribution{font-size:8px!important}.leaflet-popup-content-wrapper{border-radius:9px!important;box-shadow:0 8px 26px rgba(27,52,43,.15)!important}.leaflet-popup-content{font:11px 'DM Sans',sans-serif;color:#31483b}.map-marker{border-radius:50%;border:2px solid #fff;box-shadow:0 2px 10px rgba(24,60,50,.25)}.marker-label{font:700 10px 'DM Sans',sans-serif;letter-spacing:.01em;color:#284638}
.detail-panel{margin-top:17px;background:var(--paper);border:1px solid #e8e7dd;border-radius:14px;padding:21px 23px;box-shadow:var(--shadow);min-height:240px}.detail-top{display:flex;justify-content:space-between;align-items:flex-start;gap:15px}.detail-kicker{font-size:8px;letter-spacing:.16em;color:#8b998c;font-weight:700;margin-bottom:7px}.detail-title{margin:0;color:var(--deep);font:800 22px/1.2 Manrope,sans-serif;letter-spacing:-.045em}.detail-latin{font-size:11px;color:#98a197;font-style:italic;margin-top:5px}.detail-region{font-size:10px;color:#869187;margin-top:7px}.detail-badges{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}.detail-badge{border-radius:30px;background:#edf2e8;color:#60795f;padding:6px 9px;font-size:8px;font-weight:700;white-space:nowrap}.detail-badge.warm{background:#f4eee5;color:#97784e}.detail-description{font-size:11px;line-height:1.75;color:#68756c;margin:15px 0 17px;max-width:860px}.detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:16px}.fact-box{padding:10px 11px;background:#f3f4ed;border-radius:8px;min-height:56px}.fact-box small{display:block;font-size:8px;color:#89948a;margin-bottom:5px}.fact-box strong{font-size:10px;color:#455c4b;line-height:1.45;font-weight:700}.detail-section{border-top:1px solid #e9e9e0;padding-top:15px;margin-top:15px}.detail-section h3{font:800 12px Manrope,sans-serif;color:#35503f;margin:0 0 10px}.habitat-list{display:flex;gap:6px;flex-wrap:wrap}.habitat-tag{background:#f0f1e9;border-radius:5px;padding:6px 8px;color:#697a6e;font-size:9px}.taxon-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.taxon-group h4{margin:0 0 7px;font:700 10px Manrope,sans-serif;color:#607661}.species-entry{border:1px solid #ecece4;border-radius:7px;padding:9px 10px;margin-bottom:6px;background:#fff}.species-entry-head{display:flex;justify-content:space-between;gap:8px;align-items:start}.species-entry strong{font-size:10px;color:#43594a}.species-entry em{display:block;margin-top:3px;font-size:9px;color:#9aa39a}.season-tags{display:flex;gap:4px;flex-wrap:wrap;margin-top:7px}.season-tag{padding:4px 6px;border-radius:4px;background:#edf2e9;color:#668061;font-size:8px;font-weight:700}.season-tag.wintering{background:#e8eef4;color:#607b96}.season-tag.migratory_passage{background:#f4efe4;color:#967d50}.season-tag.summer_breeder{background:#f7ecdf;color:#a3764b}.season-tag.season_not_assessed{background:#f0f0eb;color:#868d84}.evidence-note{font-size:9px;line-height:1.55;color:#8a948a;margin-top:7px}.source-list{display:flex;gap:7px;flex-wrap:wrap}.source-link{color:#627c65;text-decoration:none;font-size:9px;border-bottom:1px solid #c8d4c3;padding-bottom:2px}.source-link:hover{color:#284c39;border-color:#587a5d}.caution-note{background:#f5f1e8;border-left:3px solid #c8ad7b;padding:9px 11px;margin-top:14px;border-radius:0 6px 6px 0;color:#887b64;font-size:9px;line-height:1.6}.distribution-list{display:grid;gap:7px}.distribution-area{display:flex;justify-content:space-between;gap:15px;padding:9px 10px;border:1px solid #ecece4;border-radius:7px;background:#fff;cursor:pointer}.distribution-area:hover{border-color:#b8c7b2}.distribution-area strong{font-size:10px;color:#43594a}.distribution-area span{font-size:9px;color:#8e9a8f;text-align:right}
.field-ethics{margin-top:15px;display:flex;align-items:flex-start;gap:13px;padding:16px 20px;background:#e8eee5;border-radius:12px}.ethics-icon{width:30px;height:30px;border-radius:50%;background:#d7e2d2;color:#638067;display:grid;place-items:center;font-size:17px;flex:none}.field-ethics .eyebrow{margin:0 0 4px;font-size:8px}.field-ethics strong{display:block;font:800 12px Manrope,sans-serif;color:#3f5b46}.field-ethics p:last-child{margin:5px 0 0;color:#7a877c;font-size:9px;line-height:1.6;max-width:820px}.site-footer{border-top:1px solid rgba(33,63,51,.12);padding:19px 0 24px;display:flex;justify-content:space-between;gap:14px;color:#9aa297;font-size:9px}.site-footer a{color:#718675;text-decoration:none}.site-footer a:hover{text-decoration:underline}
.embed-mode .topbar,.embed-mode .hero,.embed-mode .site-footer{display:none}.embed-mode .page-shell{padding:0;max-width:none}.embed-mode .workspace{padding:10px;gap:12px}.embed-mode .catalog-panel{min-height:650px}.embed-mode .detail-panel{padding:16px}.embed-mode .field-ethics{margin-bottom:10px}
@media (max-width:1100px){.page-shell{padding:0 24px}.workspace{grid-template-columns:minmax(280px,320px) minmax(0,1fr);gap:16px}.hero-stamp{transform:scale(.88);transform-origin:right center}.map-label{display:none}.detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:820px){.page-shell{padding:0 17px}.topbar{height:72px}.pilot-tag{display:none}.hero{min-height:220px;padding:28px 0}.hero-stamp{width:170px;height:170px;transform:scale(.78);margin-right:-15px}.hero-intro{font-size:12px;max-width:480px}.workspace{grid-template-columns:1fr;gap:15px}.catalog-panel{min-height:0;padding:18px}.catalog-list{max-height:340px}.map-column{display:flex;flex-direction:column}.map-frame{order:0}#map{height:380px}.detail-panel{order:1}.field-ethics{order:2}.map-header{order:-1}.site-footer{flex-wrap:wrap}.taxon-groups{grid-template-columns:1fr 1fr}}
@media (max-width:560px){.page-shell{padding:0 12px}.brand-mark{width:38px;height:38px}.brand-copy strong{font-size:13px}.brand-copy small{font-size:8px}.topbar-actions{gap:10px}.network-status{font-size:0}.network-status i{width:8px;height:8px}.hero{min-height:0;padding:29px 0 25px}.hero h1{font-size:36px}.hero-intro{font-size:11px;max-width:340px;margin:13px 0}.hero-stamp{display:none}.hero-meta{font-size:9px;gap:8px}.workspace{padding-bottom:25px}.catalog-panel{padding:16px 14px}.panel-heading h2,.map-header h2{font-size:16px}.filter-grid{grid-template-columns:1fr 1fr}.filter-grid label:last-child{grid-column:1/-1}.map-header-tools{gap:8px}.map-reset{font-size:9px}#map{height:320px}.map-legend{left:8px;bottom:33px;padding:7px 8px;gap:8px}.map-legend span{font-size:8px}.map-footnote{font-size:7px}.detail-panel{padding:16px 14px}.detail-title{font-size:19px}.detail-top{display:block}.detail-badges{justify-content:flex-start;margin-top:10px}.detail-grid{grid-template-columns:1fr 1fr}.taxon-groups{grid-template-columns:1fr}.site-footer{font-size:8px}.embed-mode .workspace{padding:8px}.embed-mode .catalog-panel{padding:14px}}

.map-fallback{height:100%;display:grid;align-content:center;justify-items:center;text-align:center;padding:35px;color:#6b7c70;font-size:12px;line-height:1.8;background:radial-gradient(ellipse at 30% 20%,#f6f7ee,#dce8df 80%)}.map-fallback strong{font:800 16px Manrope,sans-serif;color:#31503e}

.confidence-note { margin: 7px 0 3px; color: #64746a; font-size: .76rem; font-weight: 650; }
