:root{--paper:#f7f5ee;--ink:#243d30;--muted:#6e766d;--line:#deded1;--accent:#ad612f;--green:#426a45;--olive:#83916a;--sand:#d5b775;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,label{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}button,a{touch-action:manipulation}button:disabled{opacity:.55;cursor:wait}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,label:focus-visible{outline:3px solid #b67938;outline-offset:3px}button{color:inherit}a{color:inherit}button{border:0;background:none}button:hover{filter:brightness(.91)}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip{position:fixed;top:-100px;z-index:3000;background:var(--ink);color:white;padding:15px}.skip:focus{top:0}header{height:86px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:24px;padding:0 32px;background:var(--paper);position:relative;z-index:1100}.brand{display:flex;gap:11px;align-items:center;text-decoration:none;font:22px Georgia,serif;white-space:nowrap}.brand b{font-weight:normal}.brand small{display:block;font:9px Arial,sans-serif;letter-spacing:2px;margin-top:6px;color:var(--muted)}nav{display:flex;gap:28px;align-self:stretch}.nav{padding:0 2px;font-size:14px;position:relative}.nav.active:after{content:'';position:absolute;bottom:0;left:0;right:0;height:3px;background:var(--ink)}.nav.active{font-weight:bold}#saved-count{margin-left:4px;font-size:11px;color:var(--muted)}.plain{padding:9px 0;font-size:12px}.about-button{font-size:13px}.about-button span{margin-left:15px}.map-layout{display:grid;grid-template-columns:345px minmax(0,1fr);height:calc(100dvh - 86px);min-height:600px}.sidebar{overflow:auto;background:var(--paper);padding:28px 26px 12px;border-right:1px solid var(--line);z-index:800}.eyebrow{font-size:10px;letter-spacing:2px;font-weight:700;color:#777d67}.tiny-leaf{font-size:19px;color:var(--green);margin-right:4px}h1{font:45px/1.07 Georgia,'Times New Roman',serif;font-weight:normal;letter-spacing:-1.8px;margin:16px 0}h1 em{font-weight:normal;color:#66744f}.intro p{font-size:13px;line-height:1.7;color:var(--muted);margin:16px 0 23px}.search-field{height:44px;border:1px solid #cccfc1;border-radius:4px;background:#fff;display:flex;align-items:center;gap:8px;padding:0 10px}.search-field>span{font-size:25px}.search-field input{border:0;min-width:0;width:100%;font-size:12px;background:transparent;outline-offset:4px}.search-field button{font-size:22px;height:40px;min-width:30px}#search-results{font-size:13px}#search-results button{display:block;text-align:left;padding:13px 10px;width:100%;border-bottom:1px solid var(--line);background:#fff}#search-results p{line-height:1.5}.section-label{display:flex;justify-content:space-between;align-items:center;margin:24px 0 12px}.section-label h2{font-size:13px;font-weight:600;margin:0}.text-button{font-size:12px;color:var(--muted);padding:8px 0}.species-list{display:flex;flex-direction:column;gap:2px}.species-row{padding:8px 10px 8px 6px;display:flex;align-items:center;gap:12px;text-align:left;border:1px solid transparent;border-radius:5px;min-height:54px;width:100%}.species-row.selected{background:#e8ecdf;border-color:#c6ceba}.species-row:hover{background:#eeeee3}.species-row .mushroom{width:44px;height:42px;flex-shrink:0}.species-row .species-text{flex:1;min-width:0}.species-row b{font-size:13px;line-height:1.35;display:block;font-weight:500}.species-row small{display:block;font-size:10px;color:var(--muted);font-style:italic;margin-top:4px}.species-row .radio{border:1px solid #bfc6b6;border-radius:50%;height:15px;width:15px;flex-shrink:0}.species-row.selected .radio{border:4px solid var(--ink);background:#f4f2e8}.check{display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.5;min-height:42px;cursor:pointer}.check input{accent-color:var(--ink);width:16px;height:16px;flex-shrink:0}.sidebar>.check{margin-top:11px}.sidebar-note{display:flex;gap:9px;border-top:1px solid var(--line);margin-top:10px;padding-top:14px;color:var(--muted)}.sidebar-note p{font-size:11px;line-height:1.55;margin:0}.sidebar-footer{display:flex;gap:12px;align-items:center;color:var(--muted);margin-top:12px}.sidebar-footer button{font-size:10px}.map-shell{position:relative;min-width:0;background:#e5e9db;isolation:isolate}#map{width:100%;height:100%;background:#e6e9dc}#map-fallback{position:absolute;inset:40% 15%;text-align:center;line-height:1.7;font-size:15px}.map-toolbar{position:absolute;top:22px;left:24px;right:24px;display:flex;justify-content:space-between;align-items:flex-start;gap:12px;pointer-events:none;z-index:500}.map-toolbar>*{pointer-events:auto}.day-control{background:var(--paper);display:flex;border:1px solid #d1d5c4;padding:4px;border-radius:5px;box-shadow:0 2px 7px #20351d0d}.day-control button{padding:10px 15px;font-size:12px;border-radius:3px}.day-control button.selected{background:var(--ink);color:#fff}.map-button{background:var(--paper);min-height:42px;min-width:43px;padding:10px 13px;border:1px solid #cdd3c1;border-radius:4px;box-shadow:0 2px 7px #20351d0d}.map-toolbar .map-button{font-size:14px}.map-side-controls{display:flex;flex-direction:column;gap:8px;position:absolute;right:24px;top:140px;z-index:500}.map-side-controls .map-button{padding:8px;font-size:20px}#reset-map{font-size:11px;font-weight:bold}.map-status{position:absolute;left:25px;top:85px;z-index:450;font-size:10px;background:#f7f5eef0;padding:8px 10px;border-radius:3px;max-width:calc(100% - 100px);display:flex;gap:7px;align-items:center;color:#515d50}.status-dot{height:6px;width:6px;background:#748764;border-radius:50%;flex-shrink:0}.forest-status{position:absolute;left:25px;bottom:143px;z-index:450;font-size:11px;background:#f7f5eef0;max-width:calc(100% - 110px);line-height:1.4;padding:8px 10px;border-radius:3px}.map-legend{position:absolute;left:24px;bottom:34px;background:var(--paper);padding:15px 18px;border:1px solid #d5d9ca;border-radius:5px;z-index:450;box-shadow:0 2px 10px #20351d08}.map-legend strong{font-size:11px;font-weight:500}.map-legend>div{display:flex;gap:15px;margin-top:12px}.map-legend span{font-size:10px;white-space:nowrap;display:flex;align-items:center;gap:5px}.map-legend small{display:block;font-size:9px;color:var(--muted);margin-top:10px}.dot{width:9px;height:9px;display:inline-block;border-radius:50%}.good{background:#4c764c}.fair{background:#b7a557}.low{background:#a79b86}.floating-panel{position:absolute;right:24px;top:78px;width:270px;z-index:600;background:var(--paper);padding:18px;border:1px solid var(--line);box-shadow:0 6px 20px #1c321720;border-radius:4px}.floating-panel h3{font-size:14px;margin:0 0 6px}.muted{font-size:11px;color:var(--muted);line-height:1.6}.leaflet-container{font-family:Arial,sans-serif!important}.leaflet-control-zoom{border:1px solid #cdd3c1!important;box-shadow:none!important;margin-right:24px!important;margin-top:295px!important}.leaflet-bar a{background:var(--paper)!important;color:var(--ink)!important;width:41px!important;height:35px!important;line-height:35px!important}.leaflet-control-attribution{font-size:9px!important}.region-icon{background:none;border:none}.region-dot{display:grid;place-items:center;width:35px;height:35px;border:3px solid #faf8ed;border-radius:50%;box-shadow:0 2px 8px #18382024;color:#fff;font-size:13px}.region-dot svg{width:20px;height:20px}.region-dot.unknown{background:#9ca49c}.leaflet-tooltip{border:1px solid #d5d9ca!important;background:var(--paper)!important;color:var(--ink)!important;font-size:11px!important;padding:7px!important;box-shadow:0 2px 8px #18382012!important}.place-panel{position:absolute;top:80px;right:80px;width:335px;max-height:calc(100% - 110px);overflow:auto;background:var(--paper);z-index:650;border:1px solid #d1d5c4;border-radius:5px;padding:23px;box-shadow:0 8px 35px #20352025}.close{position:absolute;right:12px;top:10px;font-size:26px;width:34px;height:34px;line-height:30px}.place-panel .eyebrow{margin-top:3px;font-size:9px}.place-panel h2{font:26px/1.1 Georgia,serif;margin:15px 20px 6px 0}.place-panel p{font-size:12px;line-height:1.65}.place-panel .coords{font-size:10px;color:var(--muted)}.condition{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:14px 0;margin:16px 0}.condition h3{font-size:17px;margin:0 0 6px}.condition p{margin:0;color:var(--muted);font-size:11px}.metrics{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0}.metrics b{font:24px Georgia,serif;display:block}.metrics small{font-size:10px;display:block;margin-top:6px;color:var(--muted)}.button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:42px;padding:10px 15px;border:1px solid #bac3b1;border-radius:4px;background:transparent;font-size:12px;text-decoration:none;cursor:pointer}.button.primary{background:var(--ink);color:#fff;border-color:var(--ink)}.button.danger{color:#943f2c}.place-panel .button{margin:4px 3px 4px 0}.place-panel input,.place-panel textarea{width:100%;padding:10px;border:1px solid #bbc5b2;border-radius:3px;background:#fff;font-size:12px;color:var(--ink)}.place-panel label{font-size:11px;display:block;margin:12px 0 5px}.place-panel textarea{resize:vertical;min-height:64px}.place-panel .save-form{border-top:1px solid var(--line);margin-top:15px;padding-top:4px}.content-view{max-width:1130px;margin:auto;padding:55px 35px 70px}.content-heading{max-width:670px}.content-heading h1{font-size:51px;margin:18px 0}.content-heading p{color:var(--muted);font-size:15px;line-height:1.7}.guide-warning{font-size:12px;line-height:1.65;border-left:3px solid #b59f6e;background:#edecdf;padding:14px 18px;margin:30px 0}.guide-list{display:grid;grid-template-columns:1fr 1fr;gap:0 42px}.guide-item{display:grid;grid-template-columns:95px 1fr;gap:15px;border-bottom:1px solid var(--line);padding:24px 0}.guide-item .mushroom{width:95px;height:100px}.guide-item h2{font:22px Georgia,serif;margin:0 0 5px}.guide-item .latin{font-size:11px;color:var(--muted);font-style:italic}.guide-item p{font-size:13px;line-height:1.6;margin:12px 0}.season{display:flex;gap:3px;margin:15px 0 12px}.season span{display:grid;place-items:center;height:22px;flex:1;max-width:25px;background:#e9eade;font-size:9px;color:#697161}.season span.in{background:#526d49;color:white}.reading{margin-top:40px;max-width:750px}.reading h2{font:25px Georgia,serif}.reading p{font-size:14px;color:var(--muted);line-height:1.7}.reading a{font-size:13px}.saved-actions{display:flex;gap:10px;flex-wrap:wrap;margin:28px 0}.saved-row{display:flex;align-items:center;justify-content:space-between;gap:25px;border-bottom:1px solid var(--line);padding:22px 0}.saved-row h2{font:23px Georgia,serif;margin:0 0 6px}.saved-row p{font-size:12px;color:var(--muted);line-height:1.6;margin:5px 0;overflow-wrap:anywhere}.saved-row>div:last-child{display:flex;gap:8px;flex-shrink:0}.empty{padding:70px 15px;text-align:center;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.empty h2{font:28px Georgia,serif}.empty p{color:var(--muted);font-size:14px;line-height:1.7}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:14px 20px;border-radius:4px;max-width:90vw;width:max-content;z-index:2500;font-size:13px;box-shadow:0 4px 18px #20352035}dialog{border:1px solid #c7ccbd;max-width:640px;width:calc(100% - 32px);max-height:85dvh;background:var(--paper);color:var(--ink);padding:30px;border-radius:7px;box-shadow:0 20px 80px #12321a30}dialog::backdrop{background:#1b291d70}.dialog-top{margin-bottom:25px}dialog h2{font:33px Georgia,serif;margin:15px 0}dialog h3{font-size:15px;margin:25px 0 10px}dialog p,dialog li{font-size:13px;line-height:1.75}dialog li{margin:8px 0}dialog a{text-underline-offset:3px}.mobile-filter{display:none}.noscript{padding:35px;background:#f2d8a2;position:fixed;bottom:0;left:0;right:0;z-index:3000}
@media(min-width:1600px){.map-layout{grid-template-columns:375px minmax(0,1fr)}.sidebar{padding:35px}.species-row{min-height:62px}h1{font-size:49px}}
@media(max-width:1050px){header{padding:0 22px;gap:15px}nav{gap:18px}.about-button{font-size:0}.about-button span{font-size:20px}.map-layout{grid-template-columns:300px minmax(0,1fr)}.sidebar{padding:22px 18px 12px}h1{font-size:40px}.map-toolbar{left:16px;right:16px}.day-control button{padding:10px 12px}.map-toolbar .map-button span{display:none}.map-legend{left:16px;right:70px;padding:13px}.map-legend>div{flex-wrap:wrap;gap:8px 12px}.place-panel{right:66px;width:300px}.forest-status{left:16px;bottom:158px}.map-status{left:16px}.guide-list{gap:0 25px}}
@media(max-width:767px){header{height:112px;display:grid;grid-template-columns:1fr auto;gap:0;padding:12px 18px 0;align-items:start}.brand{font-size:20px}.brand img{width:33px;height:33px}.brand small{font-size:8px;letter-spacing:1.5px}.about-button{grid-row:1;grid-column:2;padding:3px}nav{grid-column:1/3;grid-row:2;display:flex;gap:24px;height:44px;justify-content:center}.nav{font-size:12px}.map-layout{display:block;height:calc(100dvh - 112px);min-height:520px}.map-shell{height:100%}.sidebar{display:none;position:absolute;left:0;right:0;bottom:0;max-height:75dvh;border:1px solid #c5cbbb;border-radius:14px 14px 0 0;padding:22px;z-index:1000;box-shadow:0 -12px 40px #233e3020}.map-layout.filters-open .sidebar{display:block}.sidebar .intro{display:none}.section-label{margin-top:15px}.species-list{display:grid;grid-template-columns:1fr 1fr;gap:3px}.species-row{gap:7px;padding:7px 5px}.species-row .mushroom{width:30px;height:36px}.species-row b{font-size:11px}.species-row small{font-size:9px}.species-row .radio{width:12px;height:12px}.sidebar-footer{margin-bottom:45px}.sidebar-note{display:none}.mobile-filter{display:block;position:absolute;bottom:26px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;border-radius:5px;min-height:44px;padding:10px 22px;z-index:1050;font-size:12px;white-space:nowrap;box-shadow:0 3px 12px #20352030}.filters-open .mobile-filter{position:fixed;bottom:24px}.map-toolbar{top:16px;left:14px;right:14px}.day-control button{font-size:11px;padding:10px 14px}.map-status{top:76px;left:14px;font-size:9px;max-width:calc(100% - 90px)}.map-side-controls{right:14px;top:129px;gap:6px}.leaflet-control-zoom{margin-right:14px!important;margin-top:280px!important}.floating-panel{right:14px;top:73px;max-width:calc(100% - 28px)}.map-legend{bottom:89px;left:14px;right:auto;max-width:calc(100% - 90px);padding:11px 13px}.map-legend>div{gap:8px;flex-wrap:wrap;margin-top:8px}.map-legend span{font-size:9px}.map-legend small{font-size:8px}.map-legend strong{font-size:10px}.forest-status{left:14px;bottom:205px;font-size:10px}.place-panel{left:10px;right:10px;bottom:78px;top:auto;width:auto;max-height:64dvh;padding:22px;z-index:900}.content-view{padding:34px 22px 60px}.content-heading h1{font-size:40px}.content-heading p{font-size:13px}.guide-list{display:block}.guide-item{grid-template-columns:75px 1fr;gap:15px}.guide-item .mushroom{width:75px;height:85px}.guide-item h2{font-size:22px}.saved-row{display:block}.saved-row>div:last-child{margin-top:13px}.empty{padding:40px 0}dialog{padding:24px}dialog h2{font-size:29px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

.forest-tools{position:absolute;left:24px;bottom:146px;z-index:460;max-width:calc(100% - 105px);background:#f7f5eef2;padding:10px;border-radius:5px;border:1px solid #d5d9ca}.forest-tools .button{font-size:11px;min-height:37px;padding:8px 10px;margin:0 4px 6px 0}.forest-tools #forest-status{font-size:11px;line-height:1.4;max-width:420px}.habitat-icon .region-dot{width:25px;height:25px;border-width:2px}.habitat-icon .region-dot svg{width:16px;height:16px}.forest-tools~.map-legend{max-width:calc(100% - 105px)}@media(max-width:767px){.forest-tools{left:14px;bottom:211px;padding:8px;max-width:calc(100% - 85px)}.forest-tools .button{font-size:10px;min-height:36px}.forest-tools #forest-status{font-size:10px}}

#min-age{margin-left:auto;max-width:145px;background:white;color:var(--ink);border:1px solid var(--line);padding:7px;border-radius:3px;font-size:12px}.db-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:25px 0;margin:25px 0}.db-stats strong{display:block;font:35px Georgia,serif;margin-bottom:7px}.db-stats small{font-size:12px;color:var(--muted)}.db-progress{width:100%;height:12px;accent-color:var(--green)}.runs{width:100%;border-collapse:collapse;margin-top:25px;font-size:12px}.runs td,.runs th{text-align:left;padding:12px 8px;border-bottom:1px solid var(--line)}.database-hint{font-size:11px;line-height:1.5}.overview-count{background:#e8ecdf;border:2px solid #526d49;min-width:37px;height:37px;display:flex;align-items:center;justify-content:center;border-radius:50%;color:#233e30;font-weight:bold;font-size:11px;box-shadow:0 2px 6px #233e3020}.overview-icon{background:none;border:none}@media(max-width:767px){nav{gap:14px}.nav{font-size:11px}.db-stats{gap:12px}.db-stats strong{font-size:25px}.db-stats small{font-size:10px}.runs td,.runs th{font-size:10px;padding:10px 4px}.runs td:last-child{max-width:110px;overflow-wrap:anywhere}}

/* Readable map controls and an explicit habitat decision. */
.intro h1{font-size:36px;margin:4px 0 12px}.intro p{font-size:14px}.button,.check,.species-row b,.section-label h2,.day-control button,.plain,#min-age,.search-field input{font-size:14px}.species-row small,.eyebrow,.sidebar-note p,.sidebar-footer button,.map-legend small,.coords,.metrics small{font-size:12px}.place-panel{width:380px}.place-panel p,.place-panel input,.place-panel textarea{font-size:16px}.place-panel label,.place-panel .muted,.condition p{font-size:14px}.place-panel .eyebrow{font-size:12px}.place-panel .coords{font-size:12px}.habitat-summary{margin:18px 0;padding:16px;background:#eeece1;border-left:4px solid #a99b77}.habitat-summary.matching{background:#e7eedf;border-color:#426a45}.habitat-summary h3{font-size:20px;line-height:1.3;margin:8px 0}.habitat-summary p{margin:8px 0}.habitat-summary small{font-size:14px;line-height:1.5;display:block;color:#56634f}.place-actions{display:flex;flex-wrap:wrap;gap:6px}.place-actions .button{flex:1}.map-legend strong,.map-legend span{font-size:12px}.map-legend>div{flex-wrap:wrap}.forest-tools{bottom:190px}.forest-tools .button,.forest-tools #forest-status{font-size:14px}.map-status{font-size:12px}.leaflet-tooltip{font-size:14px!important}.muted{font-size:14px}.close{width:44px;height:44px}.place-panel h2{margin-right:30px}.sidebar{padding-top:22px}
@media(max-width:1050px) and (min-width:768px){.place-panel{right:65px;width:min(380px,calc(100% - 80px))}}
@media(max-width:767px){.map-layout{min-height:480px}.mobile-filter{font-size:14px}.species-row b,.nav,.day-control button{font-size:14px}.species-row small{font-size:12px}.species-list{grid-template-columns:1fr}.sidebar .intro{display:block}.sidebar .intro h1{display:none}.sidebar .intro p{margin:0 0 14px}.map-legend{bottom:88px;max-width:calc(100% - 85px)}.map-legend small{display:none}.map-legend strong,.map-legend span{font-size:12px}.forest-tools{bottom:180px;max-width:calc(100% - 85px)}.forest-tools #forest-status{font-size:12px;max-height:52px;overflow:auto}.forest-tools .button{font-size:14px}#forest-example{display:none}.place-panel{width:auto;max-height:70dvh;bottom:78px}.map-status{font-size:12px}.map-toolbar{gap:6px}.day-control button{padding:10px}.map-shell:has(.place-panel:not([hidden])) .forest-tools,.map-shell:has(.place-panel:not([hidden])) .map-legend{display:none}}


/* Persistent reserved ad space; live advertising remains disabled during development. */
.map-ad{position:fixed;right:24px;bottom:24px;width:300px;height:300px;z-index:1200;background:#f7f5eef5;border:1px solid #c8cebd;border-radius:5px;box-shadow:0 5px 24px #233e3020;overflow:hidden}
.map-ad-placeholder{height:100%;background:repeating-linear-gradient(135deg,#f7f5ee,#f7f5ee 12px,#eeeee4 12px,#eeeee4 13px)}
@media(min-width:1051px){.map-shell:has(.place-panel:not([hidden])) .place-panel{right:340px;width:min(380px,calc(100% - 360px))}}
@media(max-width:1050px) and (min-width:768px){.map-ad{right:16px;width:250px;height:250px}.place-panel{bottom:308px;max-height:calc(100% - 388px)}}
@media(max-width:767px){.map-ad{right:14px;bottom:16px;width:min(300px,calc(100% - 28px));height:100px}.map-legend{bottom:198px}.place-panel{bottom:196px;max-height:calc(100% - 210px)}}

.content-view{padding-bottom:350px}@media(max-width:1050px) and (min-width:768px){.content-view{padding-bottom:300px}}@media(max-width:767px){.content-view{padding-bottom:150px}.mobile-filter{bottom:130px}.filters-open .mobile-filter{bottom:130px}.toast{bottom:130px}.place-panel{bottom:140px;max-height:calc(100% - 154px)}}

/* Weekly source summaries stay outside the filter sidebar. */
.report-article{border-top:1px solid var(--line);padding:20px 0}.report-article h3{font:24px/1.3 Georgia,serif;margin:12px 0}.report-article p{font-size:16px}.report-article .eyebrow{font-size:12px}.map-toolbar{justify-content:flex-start}.map-toolbar .day-control{margin-right:auto}#reports-toggle{font-size:14px}#reports-count{font-size:12px}
@media(max-width:1050px){#reports-toggle{position:absolute;left:0;top:100px}.map-toolbar .map-button#reports-toggle span{display:inline}}

/* Compact navigation and scrollable phone overlays. */
.nav-toggle{display:none}.button,.map-button,.text-button,.plain,.check,summary{min-height:44px}.map-button{min-width:44px}.check input{width:20px;height:20px}.search-field{height:48px}.search-field input{font-size:16px}.search-field button{min-width:44px;min-height:44px}#min-age{min-height:44px;font-size:14px}.leaflet-bar a{width:44px!important;height:44px!important;line-height:44px!important}.place-panel{overscroll-behavior:contain;scrollbar-gutter:stable;overflow-wrap:anywhere}.place-panel details{border-top:1px solid var(--line);margin-top:12px;padding-top:4px}.place-panel summary{cursor:pointer;padding:12px 0;font-size:16px;font-weight:600;line-height:1.4}.place-panel summary:focus-visible{outline:3px solid #b67938;outline-offset:2px}.selected-species{margin:10px 0}.place-panel .condition{margin:12px 0;padding:12px 0}.local-overview h3{font-size:17px;line-height:1.4;margin:12px 0 8px}.local-overview p{margin:8px 0}.local-overview small{display:block;font-size:14px;line-height:1.5;color:var(--muted)}.local-story{display:flex;flex-direction:column;gap:5px;padding:12px 0;border-bottom:1px solid var(--line);text-decoration:none;font-size:15px;line-height:1.5;min-height:44px}.local-story span{font-size:14px;color:var(--muted)}.local-story:hover b{text-decoration:underline}.floating-panel{overflow:auto;overscroll-behavior:contain;max-height:calc(100% - 100px)}.floating-panel .check{padding:8px 0}.species-row{min-height:56px}.guide-item p,.saved-row p,.guide-warning,dialog p,dialog li{font-size:15px}.sidebar-footer button{font-size:14px}.sidebar-footer{flex-wrap:wrap}.content-view{overflow-wrap:anywhere}.season span{font-size:12px;min-width:0}.map-toolbar #layers-toggle{flex-shrink:0}
@media(max-width:1050px){
 header{height:64px;display:flex;align-items:center;gap:8px;padding:0 14px}.brand{font-size:20px;gap:8px}.brand img{width:32px;height:32px}.brand small{font-size:8px;letter-spacing:1px}.nav-toggle{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;min-width:44px;padding:8px;font-size:16px;border:1px solid var(--line);border-radius:4px}
 #primary-nav{display:none;position:absolute;top:calc(100% + 4px);right:12px;width:min(300px,calc(100vw - 24px));height:auto;max-height:calc(100dvh - 80px);overflow:auto;grid-template-columns:1fr;gap:0;background:var(--paper);padding:8px;border:1px solid var(--line);border-radius:6px;box-shadow:0 12px 30px #20352030}.nav-open #primary-nav{display:grid}.nav,.about-button{min-height:48px;font-size:16px;text-align:left;padding:12px;grid-column:auto;grid-row:auto}.nav.active:after{width:3px;height:auto;top:8px;bottom:8px}.about-button span{font-size:16px}.map-layout{height:calc(100dvh - 64px);min-height:0}.map-shell{height:100%}
}
@media(max-width:767px){
 .map-layout{display:block}.sidebar{top:8px;bottom:190px;max-height:none;padding:18px;overscroll-behavior:contain}.sidebar-footer{margin-bottom:8px}.sidebar .intro{display:none}.mobile-filter,.filters-open .mobile-filter{position:absolute;bottom:130px;font-size:15px;max-width:calc(100% - 28px);padding:10px 16px}.species-row b{font-size:16px}.species-row small{font-size:13px}.species-row{padding:8px;gap:10px}.species-row .radio{width:18px;height:18px}.map-toolbar{top:10px;left:12px;right:12px;gap:6px}.day-control{padding:3px;min-width:0}.day-control button{font-size:14px;min-height:44px;padding:8px;flex:1}.map-toolbar .day-control{margin-right:auto}.map-toolbar #layers-toggle{width:44px;padding:8px}.map-status{top:68px;left:12px;font-size:13px;max-width:calc(100% - 24px);padding:6px 8px}#reports-toggle{top:104px;left:0;min-height:44px}.map-side-controls{top:114px;right:12px;gap:6px}.map-side-controls .map-button{width:44px;height:44px}.leaflet-control-zoom{margin-right:12px!important;margin-top:272px!important}.map-legend{left:12px;bottom:190px;max-width:calc(100% - 82px);padding:10px}.map-legend>div{gap:6px 10px}.place-panel{top:8px;bottom:190px;left:10px;right:10px;width:auto;max-height:none;padding:18px;z-index:1051}.floating-panel{top:64px;bottom:190px;max-height:none;width:min(300px,calc(100% - 24px));right:12px}.map-shell:has(.place-panel:not([hidden])) .map-status{display:none}.filters-open .map-toolbar,.filters-open .map-status{visibility:hidden}.content-view{padding:28px 16px 150px}.saved-row>div:last-child{flex-wrap:wrap}.place-actions .button{padding:10px;font-size:14px}
}
@media(max-width:1050px) and (max-height:500px){
 header{height:56px}.brand small{display:none}#primary-nav{max-height:calc(100dvh - 72px)}.map-layout{display:block;height:calc(100dvh - 56px);min-height:0}.sidebar{display:none;position:absolute;left:10px;right:280px;top:8px;bottom:64px;max-height:none;overflow:auto;z-index:1052;border-radius:6px;padding:16px;overscroll-behavior:contain}.map-layout.filters-open .sidebar{display:block}.sidebar .intro{display:none}.sidebar-footer{margin-bottom:0}.species-list{display:grid;grid-template-columns:1fr}.mobile-filter,.filters-open .mobile-filter{display:block;position:absolute;left:14px;bottom:10px;transform:none;max-width:calc(100% - 294px);min-height:44px;font-size:14px;padding:8px 12px}.map-toolbar{top:8px;left:14px;right:280px;gap:8px}.day-control button{min-height:44px;font-size:14px;padding:8px}.map-toolbar #reports-toggle{position:static;left:auto;top:auto;font-size:14px}.map-toolbar #layers-toggle span{display:none}.map-status,.map-legend{display:none}.map-side-controls{left:14px;right:auto;top:74px;flex-direction:row;gap:8px}.map-side-controls .map-button{width:44px;height:44px}.leaflet-control-zoom{margin-left:14px!important;margin-right:0!important;margin-top:132px!important}.leaflet-top.leaflet-right:has(.leaflet-control-zoom){left:0;right:auto}.place-panel,.map-shell:has(.place-panel:not([hidden])) .place-panel{top:8px;left:14px;right:280px;bottom:64px;width:auto;max-height:none;z-index:1051;padding:16px}.floating-panel{top:8px;left:14px;right:280px;bottom:64px;width:auto;max-height:none}.map-shell:has(.place-panel:not([hidden])) .map-toolbar,.map-shell:has(.place-panel:not([hidden])) .map-side-controls,.map-shell:has(.place-panel:not([hidden])) .leaflet-control-zoom{visibility:hidden}.filters-open .map-toolbar,.filters-open .map-side-controls{visibility:hidden}
}
@media(max-width:767px) and (max-height:500px){
 .sidebar,.place-panel,.map-shell:has(.place-panel:not([hidden])) .place-panel{left:10px;right:10px;top:8px;bottom:190px}.floating-panel{left:10px;right:10px;top:8px;bottom:140px}.map-toolbar{left:12px;right:12px;flex-wrap:wrap}.map-toolbar #reports-toggle{position:absolute;top:60px;left:0}.mobile-filter,.filters-open .mobile-filter{left:50%;transform:translateX(-50%);bottom:130px;max-width:calc(100% - 28px)}.map-side-controls{left:auto;right:12px;top:70px;flex-direction:row}.leaflet-control-zoom{margin-top:128px!important}.map-shell:has(.place-panel:not([hidden])) .place-panel{bottom:130px}
}
@media(max-width:359px){.nav-toggle span{display:none}.brand{font-size:19px}.brand small{font-size:8px;letter-spacing:.7px}}
@media(max-width:767px) and (max-height:500px) and (orientation:landscape) and (min-width:500px){
 .sidebar,.place-panel,.map-shell:has(.place-panel:not([hidden])) .place-panel,.floating-panel{left:10px;right:324px;top:8px;bottom:64px;width:auto}.mobile-filter,.filters-open .mobile-filter{left:14px;transform:none;bottom:10px;max-width:calc(100% - 338px);font-size:14px;padding:8px 10px}.place-actions{flex-direction:column}.floating-panel{z-index:1053}
}

/* Water volume and place comparison share the map's restrained palette. */
.comparison-entry{width:100%;margin:4px 0 16px}.soil-summary{border:1px solid #cad6d8;border-left:4px solid #39699b;background:#edf2f1;padding:14px;margin:14px 0}.soil-summary h3{font-size:16px;margin:0 0 12px;line-height:1.4}.soil-values{display:grid;grid-template-columns:1fr 1fr;gap:12px}.soil-values b{display:block;font:24px Georgia,serif}.soil-values span{display:block;font-size:14px;color:var(--muted);margin-top:5px}.soil-summary small{display:block;font-size:14px;line-height:1.5;color:var(--muted)}.comparison-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:24px}.comparison-card{border:1px solid var(--line);border-radius:6px;padding:20px;min-width:0;background:#faf9f3;overflow-wrap:anywhere}.comparison-card h2{font:26px/1.2 Georgia,serif;margin:0 0 10px}.comparison-card p{font-size:16px;line-height:1.6}.comparison-card .muted{font-size:14px}.comparison-card .saved-actions{gap:8px;margin:16px 0 0}.comparison-card .button{flex:1}.comparison-card .metrics{gap:12px}.comparison-card .metrics b{font-size:22px}#compare-view .content-heading p{font-size:16px}
@media(max-width:1050px){.comparison-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:767px){.comparison-grid{grid-template-columns:1fr}.comparison-card{padding:18px}.soil-summary{padding:12px}.sidebar .comparison-entry{margin-bottom:12px}.comparison-card .local-overview h3{font-size:17px}}
@media(max-width:767px){.map-legend small.grid-progress{display:block;font-size:12px;line-height:1.4;max-width:230px}}

#layers-panel{max-height:calc(100dvh - 240px);overflow:auto;overscroll-behavior:contain}#layers-panel .button{white-space:normal;min-height:44px} @media(max-height:500px){#layers-panel{max-height:calc(100dvh - 135px)}}

/* Keep layer settings above the fixed advert, even when details are expanded. */
#layers-panel{top:78px;bottom:var(--layers-safe-bottom,336px);height:auto;max-height:none;width:270px;padding:0 14px 12px;overflow:auto;scrollbar-gutter:stable;overscroll-behavior:contain;z-index:1053}
.layers-heading{position:sticky;top:0;background:var(--paper);display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;border-bottom:1px solid var(--line);z-index:1}
#layers-panel h3{font-size:15px;margin:0}.layers-heading button{width:44px;height:44px;font-size:25px;flex-shrink:0}
#layers-panel .check{font-size:14px;line-height:1.3;min-height:44px;padding:6px 0}#layers-panel .layer-status{font-size:12px;line-height:1.4;color:var(--muted);margin:8px 0}
#layers-panel .layer-link{width:100%;font-size:13px;margin:4px 0;text-align:center}
.layer-details{border-top:1px solid var(--line);margin-top:10px}.layer-details summary{cursor:pointer;font-size:13px;line-height:1.4;padding:12px 0}.layer-details p{font-size:12px;line-height:1.5;color:var(--muted);margin:10px 0}
@media(max-width:1050px) and (min-width:768px){#layers-panel{bottom:var(--layers-safe-bottom,286px)}}
@media(max-width:767px){#layers-panel{top:64px;bottom:var(--layers-safe-bottom,128px);width:min(270px,calc(100% - 24px));left:auto;right:12px}}
@media(max-width:1050px) and (max-height:500px) and (min-width:768px){#layers-panel{top:8px;left:14px;right:280px;width:auto;bottom:var(--layers-safe-bottom,12px)}}
@media(max-width:767px) and (max-height:500px){#layers-panel{top:8px}}
@media(max-width:767px) and (max-height:500px) and (orientation:landscape) and (min-width:500px){#layers-panel{left:10px;right:324px;width:auto;bottom:var(--layers-safe-bottom,12px)}}
/* Make room for the existing advert without shrinking the settings text. */
@media(max-width:1050px) and (min-width:768px) and (max-height:500px){.map-ad{width:250px;height:min(250px,calc(100dvh - 80px))}}
@media(min-width:1051px) and (max-height:600px){.map-layout{min-height:0}#layers-panel{left:14px;right:auto;top:78px;width:270px;bottom:var(--layers-safe-bottom,12px)}}

.condition-scale{margin:8px 0}.scale-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.scale-heading h3{font-size:17px;margin:0}.scale-heading b{font-size:22px;white-space:nowrap}.scale-heading b small{display:inline;font-size:12px;font-weight:400}.scale-track{height:12px;border-radius:8px;position:relative;margin:14px 5px 0;background:linear-gradient(to right,#a98771 0% 40%,#c4a347 40% 65%,#4b8052 65% 100%)}.scale-track i{position:absolute;top:-4px;height:20px;width:4px;transform:translateX(-50%);background:var(--ink);border:1px solid var(--paper);border-radius:2px}.scale-ticks{display:flex;justify-content:space-between;font-size:11px;color:var(--muted);margin:7px 0}.scale-ticks span:nth-child(2){position:absolute;left:40%}.scale-ticks span:nth-child(3){position:absolute;left:65%}.scale-ticks{position:relative}.condition-scale p{font-size:14px;line-height:1.5;margin:10px 0 6px}.condition-scale>small{font-size:12px;line-height:1.4;color:var(--muted);display:block}.condition-history{border-top:1px solid var(--line);margin:12px 0;padding-top:4px}.condition-history summary{min-height:44px;padding:12px 0;font-size:15px;font-weight:600;cursor:pointer}.condition-history p.history-period{font-size:12px;color:var(--muted)}.history-totals{display:grid;grid-template-columns:1fr 1fr;gap:10px;font-size:12px;line-height:1.4}.history-totals b{display:block;font-size:17px;font-weight:500}.history-chart{margin:16px 0}.history-chart figcaption{font-size:14px;font-weight:600}.history-chart figcaption small{font-size:12px;color:var(--muted);font-weight:400}.history-chart svg{display:block;width:100%;height:auto;overflow:visible}.history-chart text{font-size:10px;fill:#6e766d;font-family:Arial,sans-serif}.history-table{overflow:auto}.history-table table{border-collapse:collapse;width:100%;font-size:12px}.history-table th,.history-table td{text-align:right;padding:8px 3px;border-bottom:1px solid var(--line);white-space:nowrap}.history-table th:first-child,.history-table td:first-child{text-align:left}

/* The ruler is visible immediately; the longer map key stays folded. */
.map-conditions{position:absolute;left:24px;bottom:var(--conditions-safe-bottom,24px);width:300px;max-width:calc(100% - 48px);padding:12px 14px;background:var(--paper);border:1px solid #d5d9ca;border-radius:5px;box-shadow:0 2px 10px #20351d12;z-index:450;max-height:calc(100% - 150px);overflow:auto;overscroll-behavior:contain}
.map-scale-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.map-scale-heading h3{font-size:15px;margin:0}.map-scale-heading b{font-size:20px;white-space:nowrap}.map-scale-heading b small{font-size:12px;font-weight:400}.map-conditions p{font-size:12px;line-height:1.4;margin:7px 0;overflow-wrap:anywhere}.map-scale-footer{display:flex;align-items:center;justify-content:space-between;gap:8px}.map-conditions small{font-size:10px;line-height:1.4;color:var(--muted)}.map-scale-footer .text-button{font-size:12px;white-space:nowrap;min-height:44px}.map-scale-footer .text-button:disabled{cursor:default}.map-key{border-top:1px solid var(--line)}.map-key>summary{font-size:12px;min-height:32px;padding:8px 0;cursor:pointer}
#map-conditions .map-legend{position:static;display:block;max-width:none;padding:8px 0 0;border:0;border-radius:0;box-shadow:none;background:none}#map-conditions .map-legend>div{flex-wrap:wrap;gap:8px;margin-top:8px}#map-conditions .map-legend small{display:block;line-height:1.4;font-size:11px;margin-top:8px}
@media(max-width:767px){.map-conditions{left:12px;bottom:var(--conditions-safe-bottom,185px);width:290px;max-width:calc(100% - 24px);padding:10px 12px;max-height:calc(100% - 345px)}.map-conditions .scale-track{margin-top:10px}.map-conditions .scale-ticks{margin:5px 0}.map-conditions p{margin:5px 0}.map-key>summary{min-height:44px}.map-shell:has(.place-panel:not([hidden])) .map-conditions,.filters-open .map-conditions{visibility:hidden}}
@media(max-height:500px){.map-conditions{left:14px;bottom:var(--conditions-safe-bottom,64px);width:275px;max-height:calc(100% - 145px)}}

.history-entry{width:100%;margin:0 0 8px!important}.map-scale-heading{flex-wrap:wrap}.map-conditions .scale-ticks span:nth-child(2){left:40%;transform:translateX(-50%)}.map-conditions .scale-ticks span:nth-child(3){left:65%;transform:translateX(-50%)}

/* Primary AdSense unit keeps the established bottom-right footprint. */
.map-ad{overflow:visible;display:flex;flex-direction:column;padding:6px 0 0}.ad-label{font-size:12px;line-height:16px;color:var(--muted);padding:0 8px 4px;flex:none}.primary-ad-unit{flex:1;min-width:0;width:100%}.primary-ad-unit[data-ad-status="unfilled"]{display:none!important}.future-ad-placement:empty{display:none}.future-ad-placement{margin:24px 0;max-width:100%}

.leaflet-tooltip.habitat-tooltip{max-width:min(330px,calc(100vw - 40px));white-space:normal;font-size:14px!important;line-height:1.5}

.suitability-filter{border-bottom:1px solid var(--line);margin-bottom:12px;padding-bottom:10px}.suitability-filter label{display:flex;justify-content:space-between;gap:8px;font-size:15px;font-weight:600}.suitability-filter output{white-space:nowrap;font-size:14px}.suitability-filter input{width:100%;height:44px;accent-color:var(--green);cursor:ew-resize;margin:0}.filter-endpoints{display:flex;justify-content:space-between;font-size:12px;color:var(--muted)}.map-conditions .suitability-filter p{font-size:12px;line-height:1.4;margin:8px 0 0}

/* One adjustable ruler combines the condition colors and habitat threshold. */
.suitability-filter{border-bottom:0;margin-bottom:0;padding-bottom:0}.suitability-filter input[type="range"]{appearance:none;-webkit-appearance:none;background:transparent;height:44px;margin:0}.suitability-filter input::-webkit-slider-runnable-track{height:10px;border-radius:8px;background:linear-gradient(to right,#a98771 0% 40%,#c4a347 40% 65%,#4b8052 65% 100%)}.suitability-filter input::-moz-range-track{height:10px;border-radius:8px;background:linear-gradient(to right,#a98771 0% 40%,#c4a347 40% 65%,#4b8052 65% 100%)}.suitability-filter input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:22px;height:22px;margin-top:-6px;border:2px solid var(--paper);border-radius:50%;background:var(--ink);box-shadow:0 1px 4px #20351d40}.suitability-filter input::-moz-range-thumb{width:18px;height:18px;border:2px solid var(--paper);border-radius:50%;background:var(--ink);box-shadow:0 1px 4px #20351d40}.map-selected-score b{white-space:nowrap}.map-conditions .map-scale-footer{margin-top:4px}

.map-conditions .soil-toggle{width:100%;min-height:44px;font-size:14px;margin-top:10px;border-color:#99afb6;background:#edf2f1}.map-conditions .soil-toggle.active{background:#39699b;color:#fff;border-color:#39699b}

.season-label{font-size:14px;color:var(--muted);margin-top:15px}.season-label+.season{margin-top:8px}

/* Field guide and family knowledge share the existing paper/forest theme. */
#primary-nav{gap:18px}.nav[data-view="legends"]{max-width:190px;line-height:1.35}.gps-entry{width:100%;justify-content:center;margin-bottom:0}.gps-status{font-size:11px;line-height:1.5;margin:8px 0 18px}.favorite-entry{width:100%;margin:8px 0 12px;text-align:left;background:#eef0e4}.favorite-entry[aria-pressed="true"]{color:#7e471e;background:#f0e5d5}.offline-tools{padding:20px;border:1px solid var(--line);border-radius:6px;margin:24px 0;background:#eef0e4}.offline-tools .button{margin:0 8px 10px 0}.offline-tools p{font-size:13px;line-height:1.6;margin:6px 0}.folk-filters{display:flex;flex-wrap:wrap;gap:20px;margin:28px 0}.folk-filters label{display:grid;gap:8px;font-size:13px;min-width:220px}.folk-filters input,.folk-filters select{font:inherit;padding:12px;background:#fff;border:1px solid var(--line);border-radius:4px;max-width:100%}.folk-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.folk-card{padding:26px;background:#fff;border:1px solid var(--line);border-radius:6px}.folk-card h2{font:27px/1.25 Georgia,serif;margin:15px 0}.folk-card p{font-size:14px;line-height:1.75}.folk-card summary{font-size:13px;cursor:pointer;padding:12px 0;color:var(--green)}.folk-card a{font-size:12px;line-height:1.6;display:inline-block}.folk-card .eyebrow{letter-spacing:1px}
@media(min-width:768px) and (max-width:1199px){header{gap:14px;padding:0 20px}#primary-nav{gap:12px}.nav{font-size:12px}.nav[data-view="legends"]{max-width:135px}.about-button{font-size:12px}}
@media(max-width:767px){.nav[data-view="legends"]{max-width:none}.folk-grid{grid-template-columns:1fr}.folk-card{padding:20px}.folk-filters label{width:100%;min-width:0}}

.folk-path{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--line);border:1px solid var(--line);border-radius:8px;overflow:hidden;margin:24px 0}.folk-path>div{padding:22px;background:#edf0e6}.folk-path b{display:block;font:22px Georgia,serif;margin-bottom:10px}.folk-path span{font-size:16px;line-height:1.6}.folk-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 12px}.folk-tabs button{border:1px solid var(--line);border-radius:24px;padding:12px 18px;background:white;font-size:14px}.folk-tabs button[aria-pressed=true]{background:var(--ink);color:white;border-color:var(--ink)}.folk-card{border-top:3px solid #b78342;transition:transform .2s,box-shadow .2s;animation:folk-reveal .35s ease-out both}.folk-practice{border-top-color:#426a45}.folk-science{border-top-color:#476d88}.folk-card:hover{transform:translateY(-3px);box-shadow:0 9px 25px #243d3010}.folk-card-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.folk-symbol{font-size:28px;color:#ad612f}.folk-badge{font-size:14px;padding:6px 10px;border-radius:20px;background:#f4eee2}.folk-practice .folk-badge{background:#e9f0e3}.folk-science .folk-badge{background:#e8eff5}.folk-card p{font-size:16px}.folk-card summary,.folk-card a{font-size:14px}.folk-card .eyebrow{font-size:12px}.folk-card details[open]{border-top:1px solid var(--line);margin-top:16px}.folk-card details[open] p{animation:folk-reveal .25s ease-out}.folk-grid{align-items:start}@keyframes folk-reveal{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@media(max-width:650px){.folk-path{grid-template-columns:1fr}.folk-path>div{padding:16px}.folk-tabs button{flex:1 1 42%;padding:12px}.folk-filters{gap:12px}}@media(prefers-reduced-motion:reduce){.folk-card,.folk-card details[open] p{animation:none;transition:none}.folk-card:hover{transform:none}}

.news-page{max-width:1000px;margin:auto}.news-page>p{font-size:16px;line-height:1.7}.news-page .report-article{padding:24px 0;border-bottom:1px solid var(--line)}.news-page .report-article h2{font:28px/1.3 Georgia,serif}.news-pagination{display:flex;gap:16px;margin:30px 0;flex-wrap:wrap}
