/* Shared controls: the same saved preferences apply to the home and map. */
[data-preferences]{position:relative;font-size:.875rem}.preferences>summary{cursor:pointer;list-style:none;display:flex;align-items:center;min-height:44px;border:1px solid currentColor;border-radius:7px;padding:8px 12px;font-weight:600;line-height:1.3}.preferences>summary::-webkit-details-marker{display:none}.preferences-menu{padding:15px;min-width:240px;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--ink);box-shadow:0 10px 30px #0003;position:absolute;z-index:1100;right:0;top:calc(100% + 8px);width:280px;max-width:85vw}.preferences-menu label,.font-label{font-size:.875rem;font-weight:650;margin:0 0 8px;display:block}.preferences-menu select{font:inherit;width:100%;padding:10px;min-height:44px;color:var(--ink);background:var(--paper);border:1px solid var(--line);border-radius:6px}.font-label{margin-top:15px}.font-controls{display:flex;align-items:center;gap:10px}.font-controls output{flex:1;text-align:center}.preferences-menu button{font:inherit;cursor:pointer;min-height:44px;min-width:44px;border:1px solid var(--line);border-radius:6px;background:var(--paper);color:var(--ink);padding:8px 12px}.preferences-menu button:disabled{opacity:.4}.preferences-menu .font-reset{width:100%;margin-top:10px}.panel-toolbar{display:flex;align-items:center;gap:10px;justify-content:flex-end;color:#f5f2e9;margin-bottom:10px}.panel-toolbar [data-preferences]{flex:1}.panel-toolbar .preferences-menu{position:static;margin-top:8px;width:100%;max-width:100%}#mobilePanelToggle{display:none}.site-header nav{flex-wrap:wrap}.site-header{gap:20px}.site-header nav [data-preferences]{font-size:.8125rem}.site-header nav{gap:18px}
/* Labels stay on the image, with only a halo for legibility. */
.farm-map-label span,.plot-number span{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#fff!important;text-shadow:-1px -1px 2px #10251d,1px -1px 2px #10251d,-1px 1px 2px #10251d,1px 1px 2px #10251d,0 2px 5px #000!important;padding:0!important}.farm-map-label span{font-size:1rem;font-weight:700;max-width:210px;line-height:1.3}.plot-number span{font-size:.875rem}.farm-map-label{pointer-events:none}
html[data-theme=dark]{--ink:#e7eee8;--muted:#b5c3b7;--green:#b5d0a6;--field:#83a66b;--earth:#c49a62;--deep:#c6deba;--line:#405348;--paper:#14221b;--surface:#1c3025;--gold:#c49a62;color-scheme:dark}
html[data-theme=dark] .brand,html[data-theme=dark] .summary,html[data-theme=dark] .point-count,html[data-theme=dark] .route-result-box,html[data-theme=dark] .vehicle-choice:has(input:checked){background:#203a2b;border-color:#4a654f}html[data-theme=dark] .brand h1{color:#f5f2e9}html[data-theme=dark] .summary-label,html[data-theme=dark] .total span,html[data-theme=dark] .metrics,html[data-theme=dark] .summary p{color:#c7d7bf}html[data-theme=dark] .summary p{border-color:#486045}html[data-theme=dark] .base-settings,html[data-theme=dark] .secondary,html[data-theme=dark] .load-more,html[data-theme=dark] .refresh,html[data-theme=dark] .panel-disclosure>summary span{background:#243c2e;color:#e7eee8;border-color:#405348}html[data-theme=dark] .primary,html[data-theme=dark] .route-open{background:#b5d0a6;color:#14221b}html[data-theme=dark] .plot:hover,html[data-theme=dark] .plot.selected{background:#294532;border-color:#6b8c65}html[data-theme=dark] .plot{border-bottom-color:#405348}html[data-theme=dark] .check{background:#14221b}html[data-theme=dark] .selected .check{background:#4f7545}html[data-theme=dark] .pill,html[data-theme=dark] .imagery-notice,html[data-theme=dark] .leaflet-control-attribution{background:#14221bf2!important;color:#e7eee8;border-color:#405348}html[data-theme=dark] .toast{background:#d4e5c8;color:#14221b}html[data-theme=dark] .warning{color:#f1c38a!important}
html[data-theme=dark] .logo{color:#d8e8cc}html[data-theme=dark] h1 em{color:#d6b07f}html[data-theme=dark] .cta,html[data-theme=dark] .final-cta .cta{background:#c49a62;color:#14221b}html[data-theme=dark] .capabilities-strip,html[data-theme=dark] .final-cta{background:#203a2b;color:#e7eee8}html[data-theme=dark] .final-cta h2{color:#e7eee8}html[data-theme=dark] .how{background:#1c3025}html[data-theme=dark] .feature-index,html[data-theme=dark] .how li>span{color:#d6b07f}html[data-theme=dark] .feature-grid article,html[data-theme=dark] .how li{border-color:#405348}html[data-theme=dark] .skip{background:#1c3025}
@media(max-width:760px){.app{height:100dvh;min-height:0;display:flex;flex-direction:column}.map-wrap{order:0;flex:1;height:auto;min-height:35dvh}.sidebar{order:1;height:36dvh;min-height:170px;flex:none;border-top:2px solid var(--earth);border-bottom:0;padding-bottom:env(safe-area-inset-bottom);transition:height .2s}.panel-expanded .sidebar{height:62dvh}.panel-expanded .map-wrap{min-height:25dvh}.sidebar .brand{padding:8px 14px}.sidebar .brand-lockup,.sidebar .brand-signature{display:none}.sidebar .back-home{font-size:.875rem;margin:0}.panel-toolbar{margin:0 0 4px;align-items:flex-start;gap:8px}.panel-toolbar [data-preferences]{flex:1}.panel-toolbar .preferences>summary{font-size:.8125rem;padding:8px;min-height:44px}.panel-toolbar .preferences-menu{max-height:35dvh;overflow:auto}.brand:has(.preferences[open]){max-height:48dvh;overflow:auto}#mobilePanelToggle{display:block;min-height:44px;flex:none;border:1px solid #c49a62;border-radius:7px;background:#183f32;color:#f5f2e9;font:600 .8125rem/1.2 system-ui;padding:8px 10px;max-width:42%}.summary{margin:8px 14px;padding:10px 14px}.summary p{font-size:.8125rem}.summary #shareSelection{margin-top:8px}.total strong{font-size:2rem}.fields-panel{overscroll-behavior:contain}.panel-disclosure .plots{max-height:35dvh;overflow:auto}.route-card{overscroll-behavior:contain}.map-actions .pill{font-size:.8125rem;white-space:normal}.map-fit{top:70px}.topbar{top:max(10px,env(safe-area-inset-top))}.preferences-menu{max-height:65dvh;overflow:auto}.site-header{flex-wrap:wrap}.site-header nav{width:100%;justify-content:space-between;gap:10px}.site-header nav>a:not(.nav-map){display:none}.site-header nav [data-preferences]{flex:1;max-width:65%}.site-header .preferences>summary{justify-content:center}.site-header .preferences-menu{right:0}.vehicle-choice{grid-template-columns:17px 26px minmax(0,1fr);}.vehicle-choice strong{grid-column:3}.mobile-summary{max-width:65%;flex-wrap:wrap}.scope-row{flex-wrap:wrap}.scope-row select{flex-basis:160px}.coordinate-inputs{flex-wrap:wrap}.coordinate-inputs label{min-width:120px}}
@media(pointer:coarse){.text-action,.refresh{min-height:44px;min-width:44px}.plot{min-height:72px}.leaflet-control-zoom a{width:44px!important;height:44px!important;line-height:44px!important}}
@media(max-height:500px) and (orientation:landscape){.app{display:grid;grid-template-columns:minmax(260px,38%) 1fr}.sidebar,.panel-expanded .sidebar{order:0;height:100dvh;min-height:0}.map-wrap{order:1;height:100dvh}.panel-toolbar #mobilePanelToggle{display:none}.brand:has(.preferences[open]){max-height:70dvh}}
@media(prefers-reduced-motion:reduce){.sidebar{transition:none}}
body{font-size:1rem}.preferences>summary:focus-visible,.preferences-menu button:focus-visible,.preferences-menu select:focus-visible,#mobilePanelToggle:focus-visible{outline:3px solid var(--earth,var(--gold));outline-offset:3px}
.gps-controls{position:absolute;left:12px;bottom:100px;z-index:550;max-width:min(310px,75%);background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:9px;padding:10px 13px;box-shadow:0 3px 15px #0002}.gps-controls p{margin:0;font-size:.8125rem}.gps-controls small{display:block;font-size:.75rem;color:var(--muted)}.gps-controls .text-action{white-space:normal}button.cta{font-family:inherit;border:0;cursor:pointer}.map{background:#405347}html[data-theme=dark] .map{background:#1c3025}

.app-update-banner{position:fixed;left:50%;transform:translateX(-50%);top:max(10px,env(safe-area-inset-top));z-index:5000;max-width:90vw;min-height:48px;padding:12px 20px;background:#e8c38f;color:#183f32;border:2px solid #183f32;border-radius:9px;font:600 .9375rem/1.4 system-ui;box-shadow:0 5px 25px #0004;cursor:pointer}.map-recovery{position:absolute;z-index:650;left:50%;top:50%;transform:translate(-50%,-50%);width:min(400px,90%);padding:20px;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:12px;box-shadow:0 5px 25px #0004}.map-recovery p{margin:0 0 12px;font-size:.9375rem}
.mobile-navigation,.mobile-settings{display:none}.connection-required{position:fixed;inset:0;z-index:10000;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:30px;background:var(--paper);color:var(--ink)}.connection-required h2{font-size:1.8rem}.connection-required button{font:inherit;padding:14px 24px;border:1px solid var(--green);background:var(--green);color:var(--paper);border-radius:8px;cursor:pointer}.connection-lost main,.connection-lost .mobile-navigation{visibility:hidden}
@media(max-width:760px){
body:has(.mobile-navigation){--mobile-nav-height:calc(76px + env(safe-area-inset-bottom));}
.app{height:calc(100dvh - var(--mobile-nav-height));display:flex!important;flex-direction:column!important;min-height:0}.app .map-wrap{order:0;flex:1;min-height:25dvh;height:auto}.app .sidebar{order:1;display:none;height:38dvh;min-height:0;border-top:1px solid var(--line);border-radius:18px 18px 0 0;padding-bottom:0;box-shadow:0 -4px 20px #0002}.app .sidebar .brand{display:none}.app .sidebar .fields-panel,.app .sidebar .route-card{overflow:auto}.app .sidebar .summary{margin:12px 16px}.app .sidebar .summary .metrics span:last-child,.app .sidebar .summary #areaNote{display:none}.app .sidebar .total strong{font-size:1.8rem}.app .sidebar .panel-disclosure>summary{padding:12px 16px}
body[data-mobile-mode=selection] .sidebar,body[data-mobile-mode=routes] .sidebar{display:flex}.app .mobile-summary{display:none}.app .topbar{top:12px}.app .map-actions{justify-content:flex-end;width:auto}.app .route-open{display:none}.app .locate span{display:none}.app .locate{width:44px;height:44px;justify-content:center;padding:10px}.app .locate svg{display:block;width:20px;height:20px}.app .map-fit{top:66px}.mobile-settings{display:block;position:absolute;top:12px;left:12px;z-index:700;background:var(--paper);border-radius:8px;color:var(--ink)}.mobile-settings .preferences>summary{font-size:0;width:80px;border:1px solid var(--line);min-height:44px}.mobile-settings .preferences>summary:after{content:'Ajustes';font-size:.875rem;margin:auto}.mobile-settings .preferences-menu{left:0;right:auto;max-height:65dvh;overflow:auto}.app .gps-controls{bottom:52px;max-width:70%;padding:8px 10px}.app .imagery-notice{bottom:8px;max-width:50%;font-size:.75rem}.app .toast{bottom:110px}.mobile-navigation{position:fixed;bottom:0;left:0;right:0;height:var(--mobile-nav-height);padding:5px 8px calc(5px + env(safe-area-inset-bottom));background:var(--paper);border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1.4fr 1fr;gap:5px;z-index:1000;box-shadow:0 -2px 15px #0001}.mobile-navigation button{font:600 .8125rem/1.15 system-ui;border:0;border-radius:9px;padding:7px 5px;background:transparent;color:var(--muted);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;min-height:56px}.mobile-navigation button[aria-pressed=true]{background:#e3ebdc;color:#183f32}.mobile-navigation svg{width:23px;height:23px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round}html[data-theme=dark] .mobile-navigation button[aria-pressed=true]{background:#304d39;color:#e7eee8}
}
@media(max-width:760px) and (orientation:landscape){body[data-mobile-mode=selection] .app,body[data-mobile-mode=routes] .app{flex-direction:row!important}.app .sidebar{width:42%;height:100%;order:0}.app .map-wrap{order:1}.app .sidebar .route-card{padding:12px}}
.selection-hud,.selection-tools-toggle,.mobile-selection-share,.selection-tools-heading{display:none}
@media(max-width:760px){
/* Selection is a full map surface. Search/filter only occupy space when requested. */
body[data-mobile-mode=selection] .app{display:flex!important;flex-direction:column!important;position:relative}
body[data-mobile-mode=selection] .app .map-wrap{width:100%;height:100%;flex:1;order:0}
body[data-mobile-mode=selection] .app .sidebar{display:none}
body[data-mobile-mode=selection] .mobile-settings,body[data-mobile-mode=selection] .topbar,body[data-mobile-mode=selection] .map-fit{display:none}
body[data-mobile-mode=selection] .selection-hud{display:block;position:absolute;top:12px;left:12px;width:min(265px,calc(100% - 80px));z-index:650;background:var(--paper);color:var(--ink);padding:13px 15px;border:1px solid var(--line);border-radius:13px;box-shadow:0 4px 16px #0002}
.selection-hud-label{font-size:.8125rem;color:var(--muted);font-weight:600}.selection-hud-total{display:flex;gap:7px;align-items:baseline;color:var(--green);line-height:1.25;margin:3px 0 5px}.selection-hud-total strong{font-size:clamp(1.65rem,7vw,2.15rem);font-weight:700;letter-spacing:-.045em;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.selection-hud-total>span{font-size:1rem}.selection-hud-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.selection-hud-foot>span{font-size:.8125rem;color:var(--muted)}#mobileClearSelection{border:0;background:transparent;color:var(--green);font:600 .8125rem/1.3 system-ui;padding:8px 0;min-height:44px;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.selection-hud .warning{font-size:.8125rem;margin:3px 0 0}
body[data-mobile-mode=selection] .selection-tools-toggle{display:grid;place-items:center;position:absolute;right:12px;top:12px;width:48px;height:48px;z-index:800;border:1px solid var(--line);border-radius:11px;background:var(--paper);color:var(--green);box-shadow:0 4px 16px #0002}.selection-tools-toggle svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}.selection-tools-toggle[aria-expanded=true]{background:var(--green);color:var(--paper)}
body[data-mobile-mode=selection] .mobile-selection-share{display:block;position:fixed;left:16px;right:16px;bottom:calc(var(--mobile-nav-height) + 12px);z-index:900}.mobile-selection-share .button{min-height:52px;font-size:1rem;box-shadow:0 4px 18px #0003;border-radius:11px}.mobile-selection-share .button:disabled{opacity:1;background:#d9dfd5;color:#697564;box-shadow:none}html[data-theme=dark] .mobile-selection-share .button:disabled{background:#304437;color:#a6b5a4}
body[data-mobile-mode=selection].selection-tools-open .app .sidebar{display:flex;position:absolute;left:12px;right:12px;top:170px;bottom:82px;width:auto;height:auto;max-height:calc(100% - 252px);min-height:0;z-index:750;order:1;border:1px solid var(--line);border-radius:13px;box-shadow:0 8px 28px #0003;background:var(--paper)}
body[data-mobile-mode=selection] .sidebar .summary,body[data-mobile-mode=selection] .sidebar .base-settings{display:none}
body[data-mobile-mode=selection] .selection-tools-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 16px}.selection-tools-heading strong{font-size:.9375rem}.selection-tools-heading button{font-size:.8125rem}.app .sidebar .fields-panel{min-height:0}.selection-tools-open #plotList{max-height:none;overflow:visible}.selection-tools-open .panel-disclosure{flex:none}
body[data-mobile-mode=selection] .leaflet-bottom{bottom:80px}body[data-mobile-mode=selection] .gps-controls{bottom:130px}body[data-mobile-mode=selection] .imagery-notice{bottom:80px}body[data-mobile-mode=selection] .toast{bottom:150px}
}
@media(max-width:760px) and (max-height:540px){body[data-mobile-mode=selection] .selection-hud{padding:8px 12px;width:230px;max-width:calc(100% - 80px)}.selection-hud-total strong{font-size:1.6rem}.selection-hud-foot{gap:4px}body[data-mobile-mode=selection].selection-tools-open .app .sidebar{left:auto;right:12px;top:68px;bottom:80px;width:48%;max-height:none}body[data-mobile-mode=selection] .mobile-selection-share{left:25%;right:25%;bottom:calc(var(--mobile-nav-height) + 8px)}}
@media(max-width:760px){
.mobile-selection-share .leaflet-control-attribution{float:none;clear:both;margin:7px 0 0!important;padding:4px 7px;text-align:center;line-height:1.4;border-radius:5px;max-width:100%;width:100%;font-size:.75rem!important}
body[data-mobile-mode=selection] .mobile-selection-share .imagery-notice{position:static;max-width:100%;width:100%;margin:5px 0 0;text-align:center;font-size:.75rem;padding:4px 7px}
body[data-mobile-mode=selection] .leaflet-bottom{bottom:calc(var(--selection-share-height,110px) + 24px)}
}
/* Shared pages must honor hidden, including the connection screen on the homepage. */
[hidden]{display:none!important}
@media(max-width:760px){
body[data-mobile-mode=map] #locateBtn,body[data-mobile-mode=map] #gpsControls{display:none!important}
body .selection-tools-toggle{display:grid;place-items:center;position:absolute;right:12px;top:12px;width:48px;height:48px;z-index:800;border:1px solid var(--line);border-radius:11px;background:var(--paper);color:var(--green);box-shadow:0 4px 16px #0002}
body .app .topbar{right:70px}body .app .map-fit{top:72px}
body.selection-tools-open .app{position:relative}
body.selection-tools-open .app .sidebar{display:flex;position:absolute;left:12px;right:12px;top:76px;bottom:20px;width:auto;height:auto;max-height:65%;min-height:0;z-index:750;order:1;border:1px solid var(--line);border-radius:13px;box-shadow:0 8px 28px #0003;background:var(--paper)}
body[data-mobile-mode=selection].selection-tools-open .app .sidebar{top:170px;bottom:82px;max-height:calc(100% - 252px)}
body.selection-tools-open .sidebar .summary,body.selection-tools-open .sidebar .base-settings{display:none}
body.selection-tools-open .selection-tools-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 16px}
body:not([data-mobile-mode=selection]).selection-tools-open .list-head .text-action{display:none}
body:not([data-mobile-mode=selection]).selection-tools-open .plot .check{visibility:hidden}
body.selection-tools-open .app .map-wrap{width:100%;height:100%;flex:1;order:0}
body[data-mobile-mode=routes].selection-tools-open .app{flex-direction:column!important}
}
.mobile-route-options,.mobile-route-actions{display:none}
@media(max-width:760px){
body[data-mobile-mode=routes] .app{position:relative;flex-direction:column!important}
body[data-mobile-mode=routes] .app .map-wrap{width:100%;height:100%;flex:1;order:0}
body[data-mobile-mode=routes] .app .sidebar{display:none}
body[data-mobile-mode=routes] .mobile-settings,body[data-mobile-mode=routes] .topbar,body[data-mobile-mode=routes] .map-fit{display:none}
body[data-mobile-mode=routes] .mobile-route-options{display:flex;gap:9px;align-items:center;position:absolute;top:12px;left:12px;z-index:700;min-height:48px;max-width:calc(100% - 88px);padding:10px 13px;border:1px solid var(--line);border-radius:11px;background:var(--paper);color:var(--green);font:600 .9375rem/1.3 system-ui;box-shadow:0 4px 16px #0002}.mobile-route-options svg{width:23px;height:23px;flex:none;stroke:currentColor;stroke-width:1.7;fill:none}.mobile-route-options[aria-expanded=true]{background:var(--green)!important;color:var(--paper)!important}
body[data-mobile-mode=routes] .mobile-route-actions{display:block;position:fixed;bottom:calc(var(--mobile-nav-height) + 10px);left:14px;right:14px;z-index:900;padding:10px;background:var(--paper);border:1px solid var(--line);border-radius:13px;box-shadow:0 5px 20px #0003}.mobile-route-actions p{margin:0 0 8px;font-size:.8125rem;line-height:1.35;color:var(--muted);max-height:55px;overflow:auto}.mobile-point-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:8px}.mobile-point-actions .button{padding:10px 6px;min-height:46px;font-size:.875rem}.mobile-route-actions>.button{min-height:50px;font-size:1rem}#mobileRouteAdd[aria-pressed=true]{border:2px solid var(--earth);background:var(--surface)}
body[data-mobile-mode=routes].route-options-open .app .sidebar,body[data-mobile-mode=routes].selection-tools-open .app .sidebar{display:flex;position:absolute;left:12px;right:12px;top:76px;bottom:190px;height:auto;width:auto;max-height:calc(100% - 266px);min-height:0;z-index:750;border:1px solid var(--line);border-radius:13px;background:var(--paper);box-shadow:0 6px 24px #0003}
body[data-mobile-mode=routes] .leaflet-bottom{bottom:180px}body[data-mobile-mode=routes] .toast{bottom:190px}
}

@media(max-width:760px){
.mobile-route-actions .leaflet-control-attribution{float:none;clear:both;margin:7px 0 0!important;padding:4px 7px;width:100%;max-width:100%;text-align:center;line-height:1.4;border-radius:5px;font-size:.75rem!important}
body[data-mobile-mode=routes] .mobile-route-actions .imagery-notice{position:static;max-width:100%;width:100%;margin:5px 0 0;padding:4px 7px;text-align:center;font-size:.75rem}
body[data-mobile-mode=routes] .mobile-route-actions>p#mobileRouteStatus{margin:0 0 8px}
body[data-mobile-mode=routes] .leaflet-bottom{bottom:calc(var(--route-actions-height,220px) + 20px)}
body[data-mobile-mode=routes].route-options-open .app .sidebar,body[data-mobile-mode=routes].selection-tools-open .app .sidebar{bottom:calc(var(--route-actions-height,220px) + 20px);max-height:calc(100% - var(--route-actions-height,220px) - 96px)}
}
.desktop-navigation{display:none}
@media(min-width:761px){
.app{display:grid;grid-template-columns:76px minmax(0,1fr);position:relative}.app>.map-wrap{grid-column:2;height:100dvh}.app>.sidebar{position:absolute;inset:0 auto 0 0;width:76px;height:100dvh;z-index:1100;overflow:hidden;transition:width .18s ease;box-shadow:4px 0 24px #0002;border-right:1px solid var(--line)}
.app>.sidebar:is(:hover,:has(:focus-visible)){width:min(390px,45vw)}
.desktop-navigation{display:flex;flex-direction:column;gap:6px;padding:14px 10px;flex:none;border-bottom:1px solid var(--line)}.desktop-navigation button{display:flex;align-items:center;gap:18px;width:100%;height:52px;flex:none;text-align:left;background:transparent;color:var(--green);border:0;border-radius:9px;padding:12px 15px;cursor:pointer;font:650 .9375rem/1.3 system-ui;white-space:nowrap}.desktop-navigation svg{width:24px;height:24px;flex:0 0 24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.desktop-navigation button>span{opacity:0;visibility:hidden;transition:opacity .12s}.sidebar:is(:hover,:has(:focus-visible)) .desktop-navigation button>span{opacity:1;visibility:visible}.desktop-navigation button[aria-pressed=true]{background:#e3ebdc;color:#183f32}.desktop-navigation button:hover{background:#e3ebdc;color:#183f32}html[data-theme=dark] .desktop-navigation button[aria-pressed=true],html[data-theme=dark] .desktop-navigation button:hover{background:#304d39;color:#e7eee8}
.sidebar>.brand,.sidebar>#fieldsPanel,.sidebar>#routeCard{visibility:hidden;opacity:0;min-width:min(388px,calc(45vw - 2px));transition:opacity .12s}.sidebar:is(:hover,:has(:focus-visible))>.brand,.sidebar:is(:hover,:has(:focus-visible))>#fieldsPanel,.sidebar:is(:hover,:has(:focus-visible))>#routeCard{visibility:visible;opacity:1}.sidebar>.brand{padding:10px 18px}.sidebar .brand-lockup,.sidebar .brand-signature{display:none}.sidebar .back-home{margin:0}.sidebar .panel-toolbar{margin-bottom:6px}.sidebar .preferences>summary{min-height:40px}.sidebar .summary{margin:16px}.sidebar .route-card{padding:16px}
body[data-mobile-mode=map] .sidebar .summary{display:none}.selection-tools-open .selection-tools-heading{display:flex;padding:8px 16px;align-items:center;justify-content:space-between}.selection-tools-heading strong{font-size:.9375rem}body:not([data-mobile-mode=selection]) .list-head .text-action{display:none}body:not([data-mobile-mode=selection]) .plot .check{visibility:hidden}.topbar .route-open,#locateBtn{display:none}
body[data-mobile-mode=routes] .mobile-route-actions{display:block;position:absolute;bottom:32px;left:50%;transform:translateX(-50%);width:min(440px,calc(100% - 130px));padding:12px;background:var(--paper);border:1px solid var(--line);border-radius:12px;z-index:700;box-shadow:0 5px 24px #0003}.mobile-route-actions p{font-size:.875rem;margin:0 0 10px;color:var(--muted)}.mobile-point-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:8px}.mobile-route-actions>.button{min-height:48px}.mobile-route-actions .button{font-size:.9375rem}body[data-mobile-mode=routes] .toast{bottom:190px}
}

/* Persistent desktop identity and one dedicated search/filter entry. */
.desktop-brand{display:none}
@media(min-width:761px){
.desktop-brand{display:flex;align-items:center;gap:14px;min-height:86px;padding:14px;flex:none;color:var(--green);text-decoration:none;white-space:nowrap}
.desktop-brand .brand-mark{display:block;width:48px;height:48px;flex:0 0 48px;border-radius:12px}
.desktop-brand-name{font:500 1.4rem/1.2 system-ui;letter-spacing:-.045em;opacity:0;visibility:hidden;transition:opacity .12s}
.desktop-brand-name strong{font-weight:750}
.sidebar:is(:hover,:has(:focus-visible)) .desktop-brand-name{opacity:1;visibility:visible}
.desktop-navigation{padding-top:0}
body:not(.selection-tools-open) #fieldsPanel>.panel-disclosure{display:none}
.desktop-navigation #desktopSearch[aria-expanded=true]{background:#e3ebdc;color:#183f32}
html[data-theme=dark] .desktop-navigation #desktopSearch[aria-expanded=true]{background:#304d39;color:#e7eee8}
}
