@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Caslon+Display&display=swap');
:root{font-family:'DM Sans',sans-serif;color:#253e32;background:#f8f8f2;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}header{height:80px;border-bottom:1px solid #dce1d6;display:flex;align-items:center;justify-content:space-between;padding:0 34px}.brand{text-decoration:none;color:inherit;font-size:25px;font-weight:600;letter-spacing:-1px;display:flex;align-items:center;gap:12px}.brand-icon{font-size:40px}.beta{font-size:9px;letter-spacing:1.6px;color:#7c8578;margin-left:20px}.quiet{background:transparent;border:1px solid #d5ddcf;border-radius:6px;padding:10px 15px;font-size:12px;color:#36513f}main{display:grid;grid-template-columns:390px 1fr;height:calc(100dvh - 80px)}aside{overflow:auto;padding:34px 28px;background:#fafaf5}.eyebrow{font-size:9px;letter-spacing:1.7px;font-weight:700;color:#73816d}h1{font-family:'Libre Caslon Display',Georgia,serif;font-weight:400;font-size:69px;line-height:.94;letter-spacing:-2px;margin:22px 0 18px}h1 em{color:#718453;font-weight:400}p{font-size:13px;line-height:1.65;color:#738073}.intro p{margin-bottom:28px}form>label,.form-row label,.range-label label{display:block;font-size:9px;font-weight:700;letter-spacing:1.3px;margin-bottom:9px}input:not([type=checkbox]):not([type=range]),select{background:#fff;border:1px solid #d8dfd2;color:#304635;border-radius:6px;padding:12px;width:100%;font-size:13px}#common{font-size:10px;color:#87907e;margin:8px 0 22px}.form-row{display:flex;gap:10px;align-items:end}.form-row>div{flex:1}#locate{height:43px;width:43px;background:#edf0e6;border:1px solid #d8dfd2;border-radius:6px;font-size:24px;color:#35523d}.range-label{display:flex;justify-content:space-between;margin-top:24px;align-items:center}.range-label label{margin:0}output{font-size:11px}input[type=range]{width:100%;accent-color:#46653b;margin:14px 0}.checks{display:grid;gap:11px;font-size:12px;margin:7px 0 22px}.checks label{display:flex;align-items:center;gap:8px}input[type=checkbox]{accent-color:#48623b;width:15px;height:15px}.primary{width:100%;padding:14px 17px;border:0;border-radius:5px;background:#284e3c;color:white;font-weight:500;display:flex;justify-content:space-between}.results-heading{border-top:1px solid #dce2d5;margin-top:30px;padding-top:25px;display:flex;justify-content:space-between;align-items:center}h2{font-size:17px;font-weight:500;margin:0}#count{font-size:11px;background:#e7ecdf;border-radius:20px;padding:4px 8px}#status{font-size:11px;margin:10px 0 18px}.card{display:block;text-align:left;width:100%;background:transparent;border:1px solid #dce2d5;border-radius:7px;margin:10px 0;padding:15px;color:inherit}.card:hover,.card.selected{background:#edf1e5;border-color:#91a180}.card-top{display:flex;gap:10px;align-items:start}.number{display:grid;place-items:center;flex-shrink:0;background:#e4e9db;width:25px;height:25px;border-radius:50%;font-size:11px}.card strong{font-size:12px;font-weight:600;line-height:1.5;display:block}.card small{display:block;color:#76816e;font-size:10px;margin-top:6px}.card-bottom{display:flex;justify-content:space-between;font-size:10px;border-top:1px solid #dfe4d7;padding-top:10px;margin-top:12px}.score{color:#59713c}.aside-foot{font-size:10px;line-height:1.8;color:#89917f;margin-top:25px}.map-panel{position:relative;overflow:hidden;background:#e6eadc}#map{height:100%;width:100%}.map-title{position:absolute;top:24px;left:24px;z-index:500;background:#fffffff0;box-shadow:0 3px 20px #23332314;border-radius:7px;padding:14px 18px;display:flex;gap:9px;align-items:center;font-size:10px;letter-spacing:1px}.map-source{border-left:1px solid #ddd;padding-left:10px;margin-left:4px;color:#829078;font-size:10px;letter-spacing:0}.live-dot{width:6px;height:6px;background:#648747;border-radius:50%}.map-search{position:absolute;top:83px;left:24px;z-index:500;background:#fff;border:1px solid #d8dfd2;border-radius:6px;padding:10px 15px;color:#37533f;font-size:11px}.map-note{position:absolute;bottom:28px;left:50%;transform:translateX(-50%);white-space:nowrap;background:#fffffff0;border-radius:6px;padding:12px 16px;z-index:500;display:flex;gap:10px;align-items:center;font-size:10px;color:#62725a}.ring{width:12px;height:12px;border:1px solid #718e58;border-radius:50%;background:#718e5820}.pin{display:grid;place-items:center;background:#345640;color:white;border:3px solid #f9fbf3;border-radius:50%;box-shadow:0 2px 6px #22332244;font:600 12px 'DM Sans',sans-serif}.leaflet-container{font-family:inherit}.leaflet-control-zoom{margin-top:24px!important;margin-right:24px!important}#detail{position:absolute;right:24px;bottom:80px;width:310px;max-height:55%;overflow:auto;z-index:600;background:#fafbf7;border:1px solid #dbe1d2;border-radius:10px;padding:22px;box-shadow:0 10px 40px #20352122}#detail h2{padding-right:18px;font-size:18px;line-height:1.4}#detail p{font-size:11px}#detail a{color:#365c40;font-size:12px}.observation{padding:11px 0;border-top:1px solid #e1e5db}.observation small{display:block;font-size:10px;color:#7a8473;margin-top:4px}.close{float:right;background:transparent;border:0;color:#61735b;font-size:23px}dialog{border:1px solid #d7dfcf;border-radius:14px;padding:34px;max-width:550px;color:#304633;background:#fafbf5}dialog::backdrop{background:#1b352969}dialog h2{font-family:Georgia,serif;font-size:29px;margin:20px 0}dialog a{color:#46623e;font-size:12px}.wide{width:100%}button:focus-visible,a:focus-visible{outline:3px solid #b0ad66;outline-offset:3px}@media(max-width:800px){header{height:65px;padding:0 20px}.beta{display:none}main{height:auto;display:flex;flex-direction:column}.map-panel{height:60dvh;order:-1}aside{padding:26px 22px}.intro h1{font-size:54px}.intro h1 br{display:none}.map-source{display:none}.map-title{top:14px;left:14px}.map-search{left:14px;top:67px}.map-note{font-size:9px;gap:6px;bottom:22px;padding:10px}#detail{right:12px;bottom:60px;width:280px;max-height:65%}}

.plant-options{border:1px solid #ccd6c1;background:white;border-radius:7px;max-height:270px;overflow:auto;margin-top:5px;padding:5px}.plant-options button{display:block;width:100%;background:none;border:0;text-align:left;padding:12px;color:#304635}.plant-options button:hover,.plant-options button:focus{background:#edf1e5}.plant-options small{display:block;color:#788272;margin-top:5px}.confidence-badge,.confidence-key{font-size:10px;padding:5px 7px;border-radius:6px;display:inline-block}.high{background:#dcebd5;color:#31522c}.medium{background:#ede8cd;color:#685c23}.low{background:#e5e6e0;color:#606758}.confidence-high{background:#355c3f}.confidence-medium{background:#81753a}.confidence-low{background:#768071}.pin{font-size:10px;border-radius:8px}.saved-item{padding:18px 0;border-bottom:1px solid #dce2d5}.saved-item a{display:block;margin:10px 0}.saved-item label{display:block;font-size:12px}.saved-item textarea{display:block;width:100%;min-height:70px;margin:8px 0;font:inherit;padding:8px;border:1px solid #cdd7c7;border-radius:5px}.saved-item button{margin-right:8px}#saved-dialog{width:520px;max-height:85dvh}#save-place{margin-top:16px}header{gap:10px}.brand{margin-right:auto}@media(max-width:800px){header{padding:0 12px}.brand{font-size:20px;gap:4px}header .quiet{font-size:10px;padding:8px}.map-note{white-space:normal;width:max-content;max-width:95%}}


/* Confidence: redundant color, symbol, shape, and written labels. */
.confidence-high,.high{background:#005ab5;color:#fff}.confidence-medium,.medium{background:#f4d35e;color:#17212b}.confidence-low,.low{background:#303943;color:#fff}
.pin{display:flex;justify-content:center;align-items:center;gap:5px;font-size:11px;border:2px solid #fff;box-shadow:0 0 0 1px #17212b,0 2px 6px #0005;border-radius:5px}.pin b{font-size:13px}.confidence-high{border-radius:16px}.confidence-low{border-radius:0;border-style:dashed}
.confidence-badge,.confidence-key{font-weight:700;white-space:nowrap}.confidence-badge{flex-shrink:0}
#coverage{position:absolute;top:130px;left:24px;z-index:500;width:280px;max-width:calc(100% - 48px);background:#fff;border:1px solid #b8c8d4;border-left:4px solid #005ab5;border-radius:5px;padding:12px 14px;font-size:12px;line-height:1.5;box-shadow:0 2px 8px #0001}#coverage[hidden]{display:none}#coverage button{display:block;margin-top:8px;font-weight:600;color:#005ab5}#coverage button[hidden]{display:none}#coverage a{display:block;color:#005ab5;text-decoration:underline;font-size:11px;margin-top:6px}.map-note{color:#17212b}button:focus-visible,a:focus-visible{outline-color:#005ab5}
@media(max-width:800px){#coverage{left:14px;top:112px;width:245px;font-size:10px;padding:8px 10px}#coverage a{font-size:10px}.map-note{font-size:10px}}
/* Small symbols at every zoom, with a generous invisible click target. */
.pin,.pin.confidence-high,.pin.confidence-medium,.pin.confidence-low{display:grid;place-items:center;background:none;border:0;border-radius:0;box-shadow:none;padding:0;gap:0}
.pin svg{display:block;width:22px;height:22px;overflow:visible;filter:drop-shadow(0 0 1px #17212b) drop-shadow(0 1px 2px #0006)}
.pin:hover svg,.pin:focus-visible svg{transform:scale(1.15)}
.pin:focus-visible{outline:2px solid #005ab5;outline-offset:2px;border-radius:4px}

.species-block{margin-top:22px}.species-block>label{display:block;font-size:9px;font-weight:700;letter-spacing:1.3px;margin-bottom:9px}#common{margin-bottom:14px}
#plant-profile{border:1px solid #d5dfcf;border-radius:9px;background:#f0f3e9;margin:12px 0 20px;overflow:hidden}#plant-profile[hidden]{display:none}#plant-profile summary{display:flex;justify-content:space-between;align-items:center;gap:12px;cursor:pointer;padding:13px 14px;list-style:none}#plant-profile summary::-webkit-details-marker{display:none}#plant-profile summary strong{display:block;font-size:12px}#plant-profile summary small{display:block;margin-top:4px;color:#365b79;font-size:10px}.profile-toggle{font-size:18px;color:#365b79}#plant-profile[open] .profile-toggle{transform:rotate(45deg)}#profile-body{padding:0 14px 12px}.profile-latin{font-style:italic;margin:0 0 12px!important;font-size:11px!important}.profile-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px 10px;margin:0 0 16px}.profile-stats dt{font-size:9px;text-transform:uppercase;letter-spacing:.7px;color:#596958}.profile-stats dd{font-size:12px;font-weight:600;margin:4px 0 0;color:#243b32}.profile-range{border-top:1px solid #d6dfce;padding-top:12px}.profile-range h3{font-size:10px;margin:0 0 5px;text-transform:uppercase;letter-spacing:.8px}.profile-range p{font-size:12px;color:#314a3c;margin:0 0 12px;line-height:1.5}.profile-note{font-size:10px!important;color:#566653!important;line-height:1.55!important;margin:8px 0 0}.profile-sources{display:flex;flex-wrap:wrap;gap:7px 12px;margin-top:12px}.profile-sources a{font-size:10px;color:#005ab5}#plant-profile summary:focus-visible{outline:2px solid #005ab5;outline-offset:-3px}

.brand .brand-icon{display:block;width:30px;height:30px;flex:0 0 30px;object-fit:contain}
#locate{display:grid;place-items:center;padding:0;line-height:1;flex:0 0 43px}#locate svg{display:block;width:24px;height:24px}

#plant-profile{background:transparent;border:0;border-radius:0;margin:8px 0 20px;overflow:visible}#plant-profile summary{display:inline-flex;justify-content:center;gap:7px;padding:8px 12px;border:1px solid #cbd6c4;border-radius:6px;background:#f3f5ed;color:#35523d;font-size:12px;font-weight:500;line-height:18px}#plant-profile summary:hover{background:#e8eee0}#plant-profile summary svg{display:block;flex:none}#plant-profile[open] #profile-body{margin-top:10px;padding:14px;border:1px solid #d5dfcf;border-radius:8px;background:#f0f3e9}.profile-heading{margin-bottom:9px}.profile-heading strong{display:block;font-size:13px}.profile-heading span{display:block;margin-top:4px;font-size:10px;color:#365b79}

/* Keep the plant identity and native range visible around an inset disclosure. */
#plant-profile{background:#f0f3e9;border:1px solid #d5dfcf;border-radius:9px;margin:12px 0 20px;overflow:hidden}.profile-bar{display:flex;align-items:center;gap:12px;padding:13px 14px}.profile-overview{flex:1;min-width:0}.profile-overview strong{display:block;font-size:13px;color:#243b32}.profile-overview span{display:block;margin-top:5px;font-size:11px;line-height:1.5;color:#365b79}#profile-toggle{display:inline-flex;align-items:center;justify-content:center;gap:5px;flex:none;padding:7px 9px;border:1px solid #bbcbb3;border-radius:6px;background:#fffef8;color:#35523d;font:inherit;font-size:11px;white-space:nowrap;cursor:pointer}#profile-toggle:hover{background:#e8eee0}#profile-toggle:focus-visible{outline:2px solid #005ab5;outline-offset:2px}#profile-body{padding:14px;border-top:1px solid #d5dfcf}#profile-body[hidden]{display:none}.profile-names{margin-bottom:14px}.profile-names h3{font-size:10px;text-transform:uppercase;letter-spacing:.8px;margin:0 0 5px}.profile-names p{font-size:12px;line-height:1.5;margin:0}

#area{appearance:none;-webkit-appearance:none;padding-right:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235c7163' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center;background-size:16px 16px}
@media(forced-colors:active){#area{appearance:auto;background-image:none}}

.mobile-nav,.about-short{display:none}
@media(max-width:800px){
 body{min-width:320px}header{position:sticky;top:0;z-index:1100;height:64px;padding:8px 16px;background:#fafaf5;gap:8px}
 .brand{font-size:22px;gap:7px}.brand .brand-icon{width:26px;height:26px;flex-basis:26px}
 header .quiet{min-height:44px;font-size:13px;padding:9px 12px}.saved-label{font-size:0}.saved-label:after{content:'Saved';font-size:13px}.about-label{display:none}.about-short{display:inline;font-size:18px}#about{min-width:44px}
 .mobile-nav{display:flex;position:sticky;top:64px;z-index:1000;padding:6px 16px 10px;gap:6px;background:#fafaf5;border-bottom:1px solid #dce2d5;height:60px}
 .mobile-nav button{flex:1;min-height:44px;border:1px solid #cbd6c4;border-radius:8px;background:transparent;color:#35523d;font-size:14px;font-weight:600}
 .mobile-nav button[aria-pressed=true]{background:#284e3c;border-color:#284e3c;color:white}
 main{display:block;height:auto}aside{padding:22px 18px 32px;overflow:visible}
 body[data-mobile-view=map] aside{display:none}body[data-mobile-view=search] .map-panel{display:none}
 .map-panel{height:calc(100dvh - 124px);min-height:300px;order:initial}#map{height:100%}
 .intro h1{font-size:48px;line-height:1.03;letter-spacing:-1.5px;margin:0 0 16px}.intro p{font-size:14px;margin-bottom:24px}
 input:not([type=checkbox]):not([type=range]),select,.saved-item textarea{font-size:16px;min-height:48px}input[type=range]{height:32px;margin:8px 0}
 .form-row>div{min-width:0}#locate{width:48px;height:48px;flex-basis:48px}#area{padding-right:38px}
 .form-row label,.species-block>label,.range-label label{font-size:11px}.species-block{margin-top:20px}#common{font-size:12px;overflow-wrap:anywhere}
 .checks{gap:4px;font-size:14px}.checks label{min-height:44px}input[type=checkbox]{width:20px;height:20px;flex-shrink:0}.primary{min-height:50px;font-size:16px}
 .profile-bar{gap:8px;padding:12px}.profile-overview strong{font-size:14px}.profile-overview span{font-size:12px}#profile-toggle{min-height:44px;font-size:12px}
 .profile-stats dt,.profile-range h3,.profile-names h3{font-size:11px}.profile-stats dd,.profile-range p,.profile-names p{font-size:14px}.profile-sources a{font-size:12px;padding:8px 0}.profile-note{font-size:12px!important}
 .card strong{font-size:15px}.card small,.card-bottom,#status{font-size:12px}.card{padding:16px}.results-heading{margin-top:24px}#more{min-height:48px}
 .map-title{display:none}.map-search{top:12px;left:12px;min-height:44px;padding:10px 14px;font-size:13px;max-width:calc(100% - 80px)}
 .leaflet-control-zoom{margin-top:12px!important;margin-right:12px!important}.leaflet-control-zoom a{width:44px!important;height:44px!important;line-height:44px!important}
 #coverage{top:auto;bottom:calc(72px + env(safe-area-inset-bottom));left:12px;width:auto;max-width:calc(100% - 24px);padding:8px 12px;font-size:11px;box-shadow:none}
 #coverage a{font-size:12px;margin-top:2px}#coverage button{min-height:44px;font-size:13px}.map-note{bottom:calc(22px + env(safe-area-inset-bottom));padding:8px 10px;gap:6px;font-size:10px;max-width:calc(100% - 16px)}
 #detail{position:fixed;bottom:0;left:0;right:0;width:100%;max-height:65dvh;padding:20px 20px calc(20px + env(safe-area-inset-bottom));border-radius:18px 18px 0 0;z-index:1050;overscroll-behavior:contain;box-shadow:0 -8px 32px #20352133}
 #detail h2{font-size:20px}#detail p,#detail a{font-size:14px}#detail .observation small{font-size:12px}#detail #save-place{min-height:48px;font-size:15px}.close{min-width:44px;min-height:44px;margin:-8px -8px 0 8px;font-size:28px}
 dialog,#saved-dialog{width:calc(100% - 24px);max-width:550px;max-height:calc(100dvh - 40px);padding:22px;overflow:auto}dialog p,dialog a{font-size:14px}.saved-item button{min-height:44px;font-size:14px}.saved-item label{font-size:14px}
}
@media(max-width:360px){header{padding-inline:10px}.brand{font-size:20px}header .quiet{padding-inline:9px}.map-note{gap:4px}.confidence-key{padding:5px;font-size:9px}}
.map-location{position:absolute;right:24px;top:136px;z-index:500;max-width:250px;text-align:right}.map-location button{background:#fff;min-height:44px;color:#005ab5;font-size:13px;box-shadow:0 2px 8px #0001}.map-location p{background:#fff;padding:10px 12px;border:1px solid #d5ddcf;border-radius:7px;color:#304635;font-size:12px;line-height:1.5;text-align:left}.user-location-marker{display:grid;place-items:center}.user-location-marker span{width:17px;height:17px;display:block;border:3px solid white;background:#007aff;border-radius:50%;box-shadow:0 0 0 1px #005ab5,0 2px 5px #0005}
@media(max-width:800px){.map-location{right:auto;left:12px;top:64px;max-width:calc(100% - 80px);text-align:left}.map-location p{margin:6px 0 0;font-size:12px}.map-location button{font-size:13px}}

.brand .brand-logo{display:block;width:224px;height:auto;max-width:100%;flex:none}.brand{min-width:0;flex-shrink:1}
@media(max-width:800px){.brand .brand-logo{width:174px}.brand{gap:0}header{gap:6px}}
@media(max-width:360px){.brand .brand-logo{width:146px}}

.city-search{margin:16px 0 24px}.city-search-row{display:flex;gap:8px}.city-search-row input{min-width:0;flex:1;font-size:16px}.city-search-row button{flex-shrink:0}.city-search small{display:block;font-size:12px;line-height:1.5;margin-top:8px;color:#627361}.city-search>a{display:inline-block;font-size:13px;margin-top:8px}.city-result{display:block;text-align:left;width:100%;padding:12px;background:#fff;border:1px solid #d6dece;border-radius:8px;margin-top:6px;color:#244c3c;min-height:44px}.city-credit a{color:inherit}#city-results{margin-top:8px;font-size:14px}

.city-search>label{display:block;font-size:11px;font-weight:700;letter-spacing:1.5px;margin-bottom:10px}

/* Make the active plant unmistakable in search and map views. */
#plant-profile{border:2px solid #244c3c;background:#f0f4eb;box-shadow:0 4px 14px #244c3c12}
.profile-bar{padding:18px 16px;align-items:flex-start;flex-wrap:wrap;gap:14px}
.profile-overview{flex-basis:100%}
.profile-overview .selected-plant-label{margin:0 0 8px;font-size:10px;font-weight:800;letter-spacing:1.6px;color:#244c3c}
.profile-overview strong{font-size:27px;font-weight:750;line-height:1.15;letter-spacing:-.6px;color:#173e2e;overflow-wrap:anywhere}
.profile-overview #profile-native{font-size:13px;line-height:1.5;margin-top:9px;color:#365b79}
#profile-toggle{min-height:38px;background:#fff;border-color:#91a58b;font-size:12px}
.species-block>label{display:block;font-size:10px;font-weight:700;letter-spacing:1.3px;margin-bottom:9px}
#species{font-weight:500}
#common{margin-bottom:12px}
#map-plant-name{font-size:16px;font-weight:750;letter-spacing:0;line-height:1.2;overflow-wrap:anywhere}
.map-title{max-width:calc(100% - 100px)}
@media(max-width:800px){.profile-overview strong{font-size:26px}#map-plant-name{font-size:15px}.map-title{padding:12px 14px}}

.nearby-entry #locate{width:100%;height:auto;min-height:56px;display:flex;justify-content:center;align-items:center;gap:12px;background:#244c3c;color:#fff;border:0;border-radius:9px;font-size:19px;font-weight:700;padding:16px}
.nearby-entry p{font-size:12px;margin:9px 0 22px;line-height:1.5;color:#627361}
.city-search>label{font-size:13px;letter-spacing:0;text-transform:none;font-weight:600}
.city-shortcuts{display:flex;align-items:center;gap:12px;margin-top:6px}.city-shortcuts button{border:0;background:none;padding:10px 0;font-size:12px;color:#365b79;text-decoration:underline;text-underline-offset:3px;min-height:40px}
.city-credit{font-size:10px!important}

#coverage-summary{display:none;cursor:pointer;font-weight:600}
@media(max-width:800px){
 .intro h1{font-size:42px;margin-bottom:12px}.intro p{font-size:13px;line-height:1.5;margin:0 0 18px}
 .nearby-entry p{margin-bottom:16px}.city-search{margin:14px 0 18px}
 .city-shortcuts button{min-height:44px}.city-credit{line-height:1.4!important}
 .profile-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;padding:14px;gap:12px}
 .profile-overview strong{font-size:25px}.profile-overview .selected-plant-label{font-size:9px;letter-spacing:1px}
 .profile-overview #profile-native{font-size:12px}#profile-toggle{min-height:44px;padding:8px}
 .map-title{display:flex;top:12px;left:12px;padding:10px 12px;max-width:calc(100% - 80px);min-height:36px;pointer-events:none}
 #map-plant-name{font-size:14px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
 .map-search{top:70px}.map-location{top:122px}
 #coverage{bottom:calc(70px + env(safe-area-inset-bottom));padding:0 12px;max-height:36%;overflow:auto;background:#fffffff5}
 #coverage-summary{display:list-item;min-height:44px;padding:13px 0;font-size:12px;line-height:18px}
 #coverage-details[open]{padding-bottom:10px}#coverage-text{display:block;line-height:1.5}
 #coverage-details:not([open])>*:not(summary){display:none}
 #detail{max-height:70dvh;padding-top:16px}#detail::before{content:'';display:block;width:36px;height:4px;border-radius:4px;background:#bec9b6;margin:0 auto 16px}
 #detail .close{position:sticky;top:0;background:#fafbf7;border-radius:50%;z-index:1}
 .plant-options{max-height:35dvh;overscroll-behavior:contain}.plant-options button{min-height:54px;font-size:16px}
 #species,#city-query{scroll-margin-top:140px}button,a,input{ -webkit-tap-highlight-color:#005ab522 }
}
@media(max-width:360px){.profile-bar{gap:8px;padding:12px}.profile-overview strong{font-size:22px}.intro h1{font-size:39px}}
@media(max-width:800px) and (max-height:520px){.map-panel{min-height:220px}.map-location{left:auto;right:64px;top:12px;max-width:180px}.map-title{max-width:40%;}.map-search{top:68px}#detail{max-height:85dvh}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* Mobile map: one search bar, one location control, one bottom sheet. */
#map-edit-search,.mobile-map-key,#map-show-places{display:none}
#location-status{font-size:12px;line-height:1.5;color:#36513f;margin:8px 0}
@media(max-width:800px){
 body[data-mobile-view=map]{overflow:hidden}
 body[data-mobile-view=map]>header,body[data-mobile-view=map]>.mobile-nav{display:none}
 body[data-mobile-view=map] main{height:100dvh}
 body[data-mobile-view=map] .map-panel{height:100dvh;min-height:0}
 .map-title,.map-note,.leaflet-control-zoom{display:none!important}
 #map-edit-search{display:flex;align-items:center;gap:14px;position:absolute;top:calc(12px + env(safe-area-inset-top));left:12px;right:12px;z-index:600;min-height:54px;padding:12px 16px;border:1px solid #e3e7de;border-radius:28px;background:#fff;color:#244c3c;box-shadow:0 2px 8px #0002;text-align:left}
 #map-edit-search>span:first-child{font-size:24px}#mobile-map-plant{flex:1;font-size:16px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.map-edit-icon{font-size:25px}
 .map-search{top:calc(78px + env(safe-area-inset-top));left:50%;transform:translateX(-50%);min-height:38px;padding:8px 16px;border-radius:22px;white-space:nowrap;font-size:12px;box-shadow:0 2px 6px #0001}
 .map-location{top:auto;left:auto;right:16px;bottom:calc(116px + env(safe-area-inset-bottom));max-width:none}
 #map-locate{position:relative;display:block;line-height:0;width:48px;height:48px;min-height:48px;padding:0;border:1px solid #e0e5db;border-radius:50%;font-size:0;background:#fff;box-shadow:0 2px 8px #0002}
 #map-locate::after{content:'';position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:23px;height:23px;background:#005ab5;clip-path:polygon(90% 10%,60% 95%,42% 58%,5% 40%)}
 #coverage{display:block;left:0;right:0;bottom:0;width:100%;max-width:none;max-height:55dvh;padding:0 20px calc(24px + env(safe-area-inset-bottom));border:0;border-radius:22px 22px 0 0;background:#fafbf7;box-shadow:0 -2px 14px #0001;overflow:auto}
 #coverage[hidden]{display:none}
 #coverage-summary{display:block;position:relative;padding:25px 20px 14px 0;min-height:62px;font-size:14px;font-weight:700;list-style:none}
 #coverage-summary::-webkit-details-marker{display:none}
 #coverage-summary::before{content:'';position:absolute;top:9px;left:calc(50% - 18px);width:36px;height:4px;background:#c4cbbb;border-radius:3px}
 #coverage-summary::after{content:'⌃';position:absolute;right:0;top:25px;font-size:19px}
 #coverage-details[open]>summary::after{content:'⌄'}
 #coverage-text{font-size:13px}#coverage-details #source-search{display:inline-block;padding:12px 0;min-height:44px}
 .mobile-map-key{display:flex;align-items:center;gap:7px;flex-wrap:wrap;padding:8px 0 14px}.mobile-map-key small{font-size:11px;color:#627361}
 #map-show-places{display:block;min-height:44px;font-size:14px;background:#244c3c;color:#fff}
 .leaflet-control-attribution{margin-bottom:calc(92px + env(safe-area-inset-bottom))!important;max-width:100%;font-size:9px!important;background:#ffffffc9!important}
 #detail{z-index:1050;max-height:72dvh}body:has(#detail:not([hidden])) .map-location{display:none}
 .results-heading{scroll-margin-top:136px}
}

@media(max-width:800px){#coverage #map-show-places{color:#fff}.map-location{bottom:calc(var(--sheet-height,92px) + 16px)}.leaflet-control-attribution{margin-bottom:calc(var(--sheet-height,92px) + 2px)!important}}

/* Let the map handle pans and pinches without scaling the browser viewport. */
#map{touch-action:none}

/* Google map overlays retain shape + color confidence cues. */
.google-marker{position:absolute;transform:translate(-50%,-50%);width:30px;height:30px;padding:2px;border:0;cursor:pointer;touch-action:manipulation;background:transparent}
.google-marker svg{width:26px;height:26px;display:block;filter:drop-shadow(0 1px 2px #0005)}
.google-marker:focus-visible{outline:3px solid #005ab5;outline-offset:3px}
.google-marker.user-location-marker{width:24px;height:24px;padding:0}
@media(max-width:800px){
 /* Keep map geometry fixed; only controls move above the expanding sheet. */
 body[data-mobile-view=map] #map{height:calc(100% - 86px - env(safe-area-inset-bottom))}
 #map .gm-style-cc,#map div:has(> a > div > img[alt="Google"]){transform:translateY(calc(-1 * max(0px, var(--sheet-height,86px) - 86px - env(safe-area-inset-bottom))))}
 #detail{bottom:calc(var(--sheet-height,0px) + 25px);max-height:60dvh}
}

@media(min-width:801px){#coverage #map-show-places{display:none}}

/* The same editable plant search on the map and in the intro. */
.plant-search-field{display:flex;align-items:center;gap:10px;background:#fff;border:1px solid #ccd6c8;border-radius:28px;padding:0 16px;min-width:0}
.plant-search-field>svg{width:21px;height:21px;flex:none;color:#36594a}
.plant-search-field:focus-within{border-color:#005ab5;box-shadow:0 0 0 2px #005ab520}
.plant-search-field input:not([type=checkbox]):not([type=range]){appearance:none;-webkit-appearance:none;flex:1;border:0;border-radius:0;background:transparent;padding:0;height:50px;line-height:24px;font-size:16px;min-width:0;outline:none;box-shadow:none}
#map-search-toolbar{display:none}
@media(max-width:800px){
 #map-search-toolbar{display:flex;align-items:flex-start;gap:8px;position:absolute;top:calc(12px + env(safe-area-inset-top));left:12px;right:12px;z-index:650}
 #map-back{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;padding:0;border:1px solid #e3e7de;border-radius:50%;background:#fff;color:#244c3c;box-shadow:0 2px 8px #0002}
 #map-back svg{width:23px;height:23px}
 .map-plant-search{flex:1;min-width:0}
 #map-plant-form .plant-search-field{height:48px;box-shadow:0 2px 8px #0002}
 #map-species{font-weight:600}.plant-search-field #map-species{height:46px}
 #map-plant-options{max-height:min(42dvh,320px);border-radius:18px;box-shadow:0 5px 22px #0002;padding:6px;overscroll-behavior:contain}
 #map-plant-options button{border-radius:12px;min-height:56px;font-size:14px}
 #map-plant-options small{font-size:12px}
}

.search-settings{margin:20px 0 0;border-top:1px solid #dce2d5;padding-top:12px;color:#627361}
.search-settings>summary{cursor:pointer;font-size:13px;padding:10px 0;min-height:44px}
.search-settings>p{font-size:12px;margin:4px 0 14px}
.search-settings .range-label{margin-top:12px}
.search-settings>summary:focus-visible{outline:2px solid #005ab5;outline-offset:3px;border-radius:4px}

.suggestion-label{font-size:11px;line-height:1.5;margin:6px 10px 8px;color:#627361}
