.mobile-tools{display:none}#mobile-destination-details>summary{display:none}#mobile-search-panel{display:contents}
@media(max-width:760px){
 header{height:48px;padding:0 12px;gap:8px}.brand{font-size:13px}.horus-logo{width:42px;height:26px}.brand-title{padding-left:8px}.brand-title b{display:block;font-size:11px;letter-spacing:.06em}.brand small,.pilot{display:none}header .icon-btn{margin-left:auto;width:32px;height:32px;font-size:16px}
 main{position:relative;display:block;height:calc(100dvh - 48px);min-height:0}.map-area{position:absolute;inset:0;width:100%;height:100%;min-height:0}
 .sidebar{position:absolute;top:10px;left:10px;right:10px;z-index:6;display:block;border:1px solid #c8d4c9;border-radius:8px;background:#f6f7f2;box-shadow:0 3px 12px #183d3914;max-height:60%;overflow:auto}.sidebar-top{padding:5px;display:block}.sidebar-top>.eyebrow,.farm-tabs,.list-heading,.sidebar-foot{display:none!important}
 .mobile-tools{display:flex;gap:6px;align-items:center}#mobile-farm{flex:1;min-width:0;width:auto;height:42px;padding:6px 10px;border:0;background:transparent;font-size:14px;font-weight:600;margin:0}#mobile-search-toggle{height:42px;min-width:104px;border:1px solid #d0d9cc;background:#e8ede6;color:#183d39;border-radius:5px;font-size:14px}
 #mobile-search-panel{display:none}.search-open #mobile-search-panel{display:flex;align-items:center;gap:6px;margin-top:6px}.search-open #search-mode{width:106px;flex-shrink:0;font-size:12px;margin:0;height:44px;padding:4px;border-radius:4px}.search-open .search{flex:1;min-width:0;height:44px;margin:0;border-radius:4px;padding:0 8px}.search input{font-size:16px}
 .sidebar #turbines,.sidebar #map-search-results{display:none!important}.sidebar.search-open #turbines:not([hidden]){display:flex!important;max-height:104px;overflow:auto;flex-wrap:wrap;padding:6px;gap:5px}.sidebar.search-open #map-search-results:not([hidden]){display:block!important;max-height:32vh;padding:0 6px 6px}.turbine-row{min-height:42px;padding:8px 10px}.map-search-note{margin:6px;font-size:11px}
 .map-top{top:72px;left:12px;right:12px;justify-content:flex-end}.location-tag{display:none}.map-button{background:#f6f7f2e8;font-size:11px;padding:7px 10px;min-height:36px}.map-actions{top:118px;right:12px;gap:8px}.map-actions button{width:42px;height:42px;background:#f6f7f2ed}
 .empty-card{left:10px;right:10px;bottom:28px;width:auto;max-width:none;padding:8px 12px;border-radius:8px;display:flex;align-items:center;gap:8px;box-shadow:0 2px 10px #183d3910}.empty-card>.eyebrow,.empty-card>h1{display:none}.empty-card>p{margin:0;flex:1;font-size:12px;line-height:1.4}.empty-card .primary{font-size:12px;width:auto;min-height:42px;padding:8px 12px;white-space:nowrap}.empty-card .primary span{display:none}
 #selected-card{left:10px;right:10px;bottom:28px;width:auto;max-width:none;max-height:55%;padding:10px 12px;border-radius:10px;display:grid;grid-template-columns:minmax(0,1fr) 94px;gap:6px 12px;overflow:auto}#selected-card[hidden],#empty-card[hidden]{display:none!important}.destination-head{grid-column:1;gap:8px;align-items:center}.destination-head h1{font-size:23px;margin:3px 0;letter-spacing:-.02em}.destination-head .eyebrow{font-size:9px}.destination-head .icon-btn{width:30px;height:30px;font-size:20px}.go-button{grid-column:2;grid-row:1;align-self:center;min-height:46px;margin:0;padding:10px 14px;border-radius:6px;font-size:17px}.go-note{display:none}
 #mobile-destination-details{grid-column:1/-1;min-width:0}#mobile-destination-details>summary{display:block;cursor:pointer;font-size:12px;color:#536963;min-height:30px;padding:7px 0;border-top:1px solid #e0e5db}#mobile-destination-details>summary:after{content:'⌄';float:right}#mobile-destination-details[open]>summary:after{content:'⌃'}#mobile-destination-details[open]>.destination-meta{margin-top:8px}.map-legend{display:none}.maplibregl-ctrl-bottom-right{max-width:100%;font-size:10px}
 body.driving .sidebar{display:none!important}body.driving main{height:100dvh}.drive-controls button{min-height:44px}#driving-panel{max-width:none}.drive-progress{font-size:18px}.drive-direction{margin:4px 0}
}
#places-dialog{width:min(480px,calc(100vw - 24px));max-height:85dvh;box-sizing:border-box;overflow:auto;border:1px solid #688377;border-radius:12px;padding:18px;color:#183d39;background:#f6f7f2}#places-dialog::backdrop{background:#183d3970}#places-close{float:right}#places-dialog label{display:block;margin:12px 0}#places-dialog input,#places-dialog textarea,#places-dialog select{display:block;width:100%;box-sizing:border-box;padding:10px;font:inherit;border:1px solid #688377;background:white}#places-dialog button{min-height:42px;padding:8px;margin:4px;border:1px solid #688377;border-radius:5px;background:#e8ede6;color:#183d39}#places-dialog small{display:block}#place-list>div{padding:12px 0;border-bottom:1px solid #ccd5cd}#place-list strong{display:block}#places-note{font-size:14px}.bookmark-pin{color:#183d39;background:#d3dfa8;border:2px solid white;border-radius:50%;width:30px;height:30px;font-size:19px}

#plus-dialog{width:min(480px,calc(100vw - 24px));max-height:85dvh;box-sizing:border-box;overflow:auto;border:1px solid #688377;border-radius:12px;padding:18px;color:#183d39;background:#f6f7f2}#plus-dialog::backdrop{background:#183d3970}#places-close{float:right}#plus-dialog label{display:block;margin:12px 0}#plus-dialog input,#plus-dialog textarea,#plus-dialog select{display:block;width:100%;box-sizing:border-box;padding:10px;font:inherit;border:1px solid #688377;background:white}#plus-dialog button{min-height:42px;padding:8px;margin:4px;border:1px solid #688377;border-radius:5px;background:#e8ede6;color:#183d39}#plus-dialog small{display:block}#place-list>div{padding:12px 0;border-bottom:1px solid #ccd5cd}#place-list strong{display:block}#places-note{font-size:14px}.bookmark-pin{color:#183d39;background:#d3dfa8;border:2px solid white;border-radius:50%;width:30px;height:30px;font-size:19px}
#plus-candidates button{display:block;width:100%;margin:8px 0}#place-list:empty::after{content:"No saved bookmarks. Long-press the map to add one.";display:block;padding:16px 0}

.navigation-origin{font-size:12px;line-height:1.5;color:#536963;margin:8px 0}
#search-submit{flex:0 0 38px;min-height:38px;border:0;border-radius:4px;background:#183d39;color:#fff;font-size:20px;padding:4px;margin:0}.search input{flex:1}.map-search-active .farm-tabs,.map-search-active .sidebar-top>.eyebrow{display:none!important}#map-search-results:empty{padding:0}#plus-results{font-size:13px;line-height:1.5}#plus-results p{margin:8px 0}#plus-results button{min-height:42px}.go-note{display:none}.navigation-origin{margin:6px 0}

/* Compact destination card on every screen size. */
#selected-card{display:grid;grid-template-columns:minmax(0,1fr) 92px;gap:10px 14px;width:340px;max-width:calc(100% - 24px);padding:16px;border-radius:14px;max-height:60%;overflow:auto;background:#f6f7f2}
#selected-card .destination-head{grid-column:1;min-width:0;align-items:center;gap:8px}
#selected-card .destination-head h1{font-size:28px;margin:4px 0 0;line-height:1.1}
#selected-card .destination-head .eyebrow{font-size:9px;letter-spacing:1.3px}
#selected-card .destination-head .icon-btn{width:28px;height:28px;font-size:18px}
#selected-card .go-button{grid-column:2;grid-row:1;align-self:center;width:100%;min-height:50px;padding:12px;margin:0;border-radius:8px;font-size:17px}
#selected-card #mobile-destination-details{grid-column:1/-1;min-width:0}
#selected-card #mobile-destination-details>summary{display:block;cursor:pointer;border-top:1px solid #dce3d8;padding:10px 0 0;font-size:12px;color:#536963;min-height:30px}
#selected-card #mobile-destination-details>summary:after{content:'+';float:right}
#selected-card #mobile-destination-details[open]>summary:after{content:'−'}
#selected-card .destination-meta{font-size:12px;margin:12px 0;color:#536963}
#selected-card .satellite-link{min-height:42px;font-size:12px;margin:0;padding:10px}
#selected-card .route-buttons:has(>button[hidden]:only-child){display:none}
#selected-card>#coverage-note,#selected-card>#route-summary,#selected-card>#guidance{grid-column:1/-1;margin:0}
#selected-card>#coverage-note:empty,#selected-card>#route-summary:empty{display:none}
@media(max-width:760px){#selected-card{left:10px;right:10px;bottom:28px;width:auto;max-width:none;padding:12px;max-height:55%}#selected-card .destination-head h1{font-size:25px}}

.sensor-status{display:flex;gap:4px;flex-shrink:0}.sensor-status button{border:0;background:transparent;color:#82918d;padding:3px;min-width:30px;min-height:36px;display:grid;justify-items:center;font-size:19px}.sensor-status small{font-size:8px}.sensor-status [data-state=ready]{color:#317654}.sensor-status [data-state=waiting]{color:#a47221}@media(max-width:760px){header{gap:5px;padding:0 8px}header .icon-btn{margin-left:0;flex-shrink:0}.brand{margin-right:auto;gap:5px}.brand-title b{font-size:9px}.horus-logo{width:30px}.sensor-status{gap:0}.sensor-status button{min-width:26px;font-size:16px}.sensor-status small{font-size:7px}}

#compass-help{width:min(380px,90vw);max-height:80dvh;overflow:auto;border:1px solid #688377;border-radius:14px;background:#f6f7f2;color:#183d39;padding:22px}#compass-help button{width:100%;min-height:44px;background:#183d39;color:white;border:0;border-radius:6px}#compass-help::backdrop{background:#183d3970}

.account-button{margin-left:auto;display:flex;align-items:center;gap:7px;flex-shrink:0;border:1px solid #688377;border-radius:22px;background:transparent;color:#183d39;padding:8px 12px;min-height:38px;font-size:12px}#account-dialog{width:min(350px,90vw);padding:22px;border:1px solid #688377;border-radius:14px;background:#f6f7f2;color:#183d39}#account-dialog>.icon-btn{float:right}#account-dialog::backdrop{background:#183d3970}@media(max-width:760px){.account-button{margin-left:0;padding:5px;min-height:30px;width:30px;justify-content:center}.account-button>span{display:none}.brand-title b{font-size:8px}.brand{min-width:0}.sensor-status button{min-width:24px}header .icon-btn{width:28px;height:28px}}
/* Shared picker and responsive toolbar. */
.farm-tabs,.sidebar-top>.eyebrow{display:none!important}.mobile-tools{display:flex;gap:6px;align-items:center;margin-bottom:8px}#mobile-farm{flex:1;min-width:0;border:1px solid #cdd7cb;background:#f6f7f2;color:#183d39;border-radius:8px;padding:12px;text-align:left;font-weight:600;min-height:44px}#mobile-search-toggle{display:none}#farm-picker{width:min(360px,92vw);max-height:80dvh;overflow:auto;padding:20px;border:1px solid #cdd7cb;border-radius:16px;background:#f6f7f2;color:#183d39}#farm-picker>button{float:right}#farm-picker>p{font-size:12px;color:#536963}.farm-options{display:grid;gap:6px}.farm-options button{font:inherit;text-align:left;padding:12px;border:1px solid #cdd7cb;border-radius:8px;background:#f6f7f2;color:#183d39;min-height:44px}.farm-options [aria-pressed=true]{background:#183d39;color:#f6f7f2}.farm-options [aria-pressed=true]:after{content:'✓';float:right}#farm-picker::backdrop{background:#183d3970}button,input,select,textarea{font-family:inherit}header{gap:10px}header .icon-btn{margin-left:0}header>button,header .sensor-status{align-self:center}.sensor-status button{height:44px;min-width:36px}.account-button{margin-left:auto}dialog{font-family:inherit}dialog button{font-family:inherit}
@media(max-width:760px){header{height:auto;min-height:84px;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px 8px;padding:6px 12px}.brand{width:100%;margin:0;font-size:13px}.brand-title b{font-size:10px}.horus-logo{width:38px}.account-button{margin-left:auto;width:36px;min-height:36px}header .icon-btn{width:36px;height:36px}.sensor-status button{min-width:34px;height:36px;font-size:18px}.sensor-status small{font-size:8px}main{height:calc(100dvh - 94px)}#mobile-search-toggle{display:block}.mobile-tools{margin-bottom:0}.sidebar{top:8px}}

@media(max-width:760px){body:not(.driving) main{height:calc(100dvh - var(--app-header-height,94px))}}

#navigation-error{width:min(360px,90vw);max-height:80dvh;overflow:auto;border:1px solid #cdd7cb;border-radius:16px;background:#f6f7f2;color:#183d39;padding:22px}#navigation-error h2{font-size:22px;margin:0 0 12px}#navigation-error p{font-size:15px;line-height:1.5}#navigation-error .primary{width:100%;min-height:44px;border-radius:8px}#navigation-error::backdrop{background:#183d3970}

.map-top{justify-content:flex-end}

/* Compact search controls; preserve a visible keyboard focus ring. */
#mobile-farm{border:1px solid #9aafa0;border-radius:8px;box-shadow:none;min-height:44px;padding:10px 14px;font-size:16px;text-align:left;}
#mobile-farm:focus:not(:focus-visible){outline:none;box-shadow:none}
#mobile-search-panel{grid-template-columns:110px minmax(0,1fr);gap:8px;align-items:center}
@media(min-width:761px){#mobile-search-panel{display:grid}}
.sidebar.search-open #mobile-search-panel{display:grid}
#mobile-search-panel #search-mode{width:100%;margin:0;min-height:46px;padding:8px;font-size:14px}
#mobile-search-panel .search{margin:0;min-width:0;padding:6px 8px;gap:5px;height:46px}
#mobile-search-panel #search{font-size:15px;min-width:0}
#mobile-search-panel #search-submit{width:34px;min-width:34px;height:34px;padding:0}
.wtg-marker.wtg-dot{width:10px!important;height:10px!important;min-width:0!important;padding:0!important;border-radius:50%;background:#42665a;color:transparent;font-size:0;box-shadow:none;border:2px solid white}
.wtg-marker.wtg-dot:before{display:none}
#handover{width:min(420px,calc(100vw - 32px));max-height:85dvh;overflow:auto;background:#f6f7f2;color:#183d39;border:1px solid #9aafa0;border-radius:16px;padding:24px}
#handover button{display:block;width:100%;margin-top:12px;padding:12px;text-align:left}#handover p{margin:12px 0}
.wtg-marker.wtg-dot{min-height:10px!important;line-height:0!important;overflow:hidden}
#mobile-search-panel{grid-template-columns:90px minmax(0,1fr)}

/* Farm selector: separate label from a balanced, font-independent chevron. */
#mobile-farm{display:flex;align-items:center;justify-content:space-between;gap:16px;height:46px;border-color:#c0cec2;border-radius:10px;background:#f6f7f2;transition:background .15s,border-color .15s}
#mobile-farm:hover{background:#edf1e8;border-color:#789586}
#mobile-farm:active{background:#e3eadc}
#mobile-farm .farm-chevron{display:block;width:8px;height:8px;flex:0 0 8px;border-right:1.8px solid #42665a;border-bottom:1.8px solid #42665a;transform:translateY(-2px) rotate(45deg);margin-right:3px}

/* Farm context bar with an explicit change action. */
#mobile-farm{height:44px;min-height:44px;padding:4px 0 10px;border:0;border-bottom:1px solid #d4ded2;border-radius:0;background:transparent;box-shadow:none;font-size:17px;gap:12px}
#mobile-farm:hover,#mobile-farm:active{background:transparent;border-color:#8ba493}
#mobile-farm .farm-change{font-size:13px;font-weight:500;line-height:1.2;color:#42665a;padding:7px 12px;border-radius:5px;background:#e8eee3;flex-shrink:0}
#mobile-farm:hover .farm-change{background:#dce7d5}
/* Place choices share the Horus card style rather than platform buttons. */
#handover{box-sizing:border-box;width:min(430px,calc(100vw - 24px));padding:22px;border:0;border-radius:18px}
#handover h2{font-size:24px;line-height:1.2;margin:0}
#handover>p{font-size:14px;line-height:1.5;color:#536963}
#handover button{font:inherit;white-space:normal;overflow-wrap:anywhere;border:1px solid #d6dfd1;border-radius:10px;background:#edf2e8;color:#183d39;padding:13px 15px;min-height:44px}
#handover button strong,#handover button small{display:block}#handover button strong{font-size:16px;font-weight:600}#handover button small{font-size:12px;color:#536963;margin-top:4px}
#handover>button:last-child{background:transparent;text-align:center;border:0}
.handover-bookmarks{margin:12px 0;padding:12px 0;border-block:1px solid #d6dfd1}.handover-bookmarks summary{cursor:pointer;font-weight:600}
.service-shortcuts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px 0}
.service-shortcuts button{font:inherit;font-size:14px;border:1px solid #d6dfd1;border-radius:8px;background:#edf2e8;color:#183d39;padding:12px;text-align:left;min-height:44px}
.service-shortcuts button:first-child{grid-column:1/-1}
.service-results article{padding:12px 0;border-bottom:1px solid #d6dfd1}.service-results strong,.service-results small{display:block}.service-results a{display:inline-block;color:#183d39;background:#e8eee3;border-radius:6px;padding:10px;margin:6px 6px 0 0;font-size:14px;text-decoration:none}.service-results p{font-size:13px;line-height:1.5}
header .sos-button{border:0;border-radius:8px;background:#a12f31;color:white;font:inherit;font-size:13px;font-weight:700;min-width:44px;height:36px;padding:0 8px}
@media(max-width:760px){header{column-gap:6px}header .icon-btn{width:32px;min-width:32px}.sensor-status{gap:2px}}
#sos-dialog{width:min(390px,calc(100vw - 32px));box-sizing:border-box;border:0;border-radius:18px;padding:24px;background:#f6f7f2;color:#183d39}
#sos-dialog::backdrop{background:#183d3970}#sos-dialog h2{font-size:23px;line-height:1.25;margin:0}#sos-dialog p{font-size:15px;line-height:1.5;margin:12px 0}#sos-dialog .sos-number{font-size:22px;font-weight:600}
.sos-track{position:relative;height:56px;border-radius:28px;background:linear-gradient(to right,#e9b5b5 var(--hold,0%),#efe4e1 var(--hold,0%));display:flex;align-items:center;justify-content:center;margin-top:20px;user-select:none;touch-action:none}.sos-track>span{font-size:14px;color:#7b3434}.sos-handle{position:absolute;left:4px;top:4px;width:48px;height:48px;border:0;border-radius:50%;background:#a12f31;color:white;font-size:24px;touch-action:none;user-select:none;cursor:grab}.sos-handle:active{cursor:grabbing}#sos-dialog .sos-status{min-height:44px;font-size:14px}#sos-dialog .sos-cancel{width:100%;min-height:44px;font:inherit;border:1px solid #ccd7c9;border-radius:8px;background:transparent;color:#183d39}

/* Separate destination and phone actions for quick scanning. */
.service-results{margin:18px 0}
.service-results h3{font-size:20px;line-height:1.3;margin:0 0 8px}
.service-results article{display:grid;grid-template-columns:1fr;gap:12px;padding:16px;margin:12px 0;border:1px solid #d4dfd0;border-radius:12px;background:#fff}
.service-results article>strong{font-size:17px;line-height:1.4;font-weight:600}
.service-results article>a.service-map-link{display:block;margin:0;padding:12px;text-align:center;background:#183d39;color:#fff;border-radius:7px;font-size:14px;line-height:20px;min-height:44px;box-sizing:border-box}
.service-phones{display:grid;gap:0}
.service-results .service-phones a{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:12px 2px;background:transparent;border-radius:0;border-bottom:1px solid #e4e9e0;min-height:44px;box-sizing:border-box}
.service-results .service-phones a:last-child{border-bottom:0}
.service-phones a span{font-size:14px;color:#536963}
.service-phones a strong{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:.03em;white-space:nowrap}
.service-results a:focus-visible{outline:2px solid #42665a;outline-offset:3px}

.service-results .service-phones button{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:12px 2px;background:transparent;border-radius:0;border-bottom:1px solid #e4e9e0;min-height:44px;box-sizing:border-box}
.service-results .service-phones button:last-child{border-bottom:0}
.service-phones button span{font-size:14px;color:#536963}
.service-phones button strong{font-size:16px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:.03em;white-space:nowrap}

.service-phones button{width:100%;font:inherit;color:#183d39;border:0;text-align:left;cursor:pointer}

/* Compact contact directory: no oversized nested cards. */
.service-results article{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;margin:0;padding:18px 0;border:0;border-bottom:1px solid #d4dfd0;border-radius:0;background:transparent}
.service-results article>strong{grid-column:1/-1;font-size:16px;line-height:1.4;font-weight:600}
.service-results article>small{grid-column:1/-1}
.service-results article>a.service-map-link{grid-column:2;grid-row:2;align-self:start;min-height:40px;min-width:64px;padding:10px 12px;margin:0;font-size:13px;line-height:20px;border:1px solid #c8d6c3;border-radius:6px;background:transparent;color:#183d39;text-align:center}
.service-results .service-phones{grid-column:1;grid-row:2;min-width:0;gap:8px}
.service-phone-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:40px}
.service-phone-row>strong{font-size:15px;font-weight:400;font-variant-numeric:tabular-nums;color:#536963;white-space:nowrap}
.service-results .service-phones button{display:flex;justify-content:center;align-items:center;flex:0 0 auto;width:auto;min-width:64px;min-height:40px;margin:0;padding:10px 12px;border:0;border-radius:6px;background:#183d39;color:#fff;font-size:13px;line-height:20px}
.service-results .service-phones button span{color:inherit;font-size:13px}
.service-results .service-phones button:last-child{border:0}
.service-results article:has(.service-phones)>a.service-map-link{grid-row:2}
.service-results>p{font-size:13px;margin:6px 0 10px}
@media(max-width:360px){.service-phone-row>strong{font-size:13px}.service-results article{column-gap:6px}.service-results .service-phones button,.service-results article>a.service-map-link{min-width:48px;padding-inline:8px}}
/* Override the general bookmark-button margin for contact actions. */
#places-dialog .service-results .service-phone-row>button,
#places-dialog .service-results article>a.service-map-link{box-sizing:border-box;display:flex;align-items:center;justify-content:center;height:44px;min-height:44px;min-width:64px;margin:0;padding:0 12px;border:1px solid #688377;border-radius:6px;font:inherit;font-size:14px;line-height:1;text-align:center;align-self:start}
#places-dialog .service-results .service-phone-row>button{background:#e8ede6;color:#183d39}
#places-dialog .service-results .service-phone-row{min-height:44px;align-items:center}
#places-dialog .service-results .service-phones{align-self:start}
