.city-modal-backdrop{position:fixed;left:0;right:0;top:var(--city-visible-top,0px);height:var(--city-visible-height,100dvh);z-index:130;display:grid;place-items:center;overflow-y:auto;overscroll-behavior:contain;padding:calc(12px + env(safe-area-inset-top)) 18px calc(12px + env(safe-area-inset-bottom));box-sizing:border-box;background:rgba(0,0,0,.78)}
.city-modal-backdrop[hidden]{display:none}
.city-modal{position:relative;width:min(500px,100%);max-height:calc(var(--city-visible-height,100dvh) - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overflow:auto;overscroll-behavior:contain;padding:26px;border:1px solid #41494c;border-radius:20px;background:#171a1c;color:#eef1ef;box-shadow:0 20px 70px rgba(0,0,0,.5)}
.city-modal h2{margin:9px 36px 10px 0;font-size:25px}.city-modal p{margin:10px 0;color:#a5afad;font-size:13px;line-height:1.5}
.city-close{position:absolute;right:14px;top:14px;width:36px;height:36px;border:1px solid #41494c;border-radius:10px;background:#202527;color:#eef1ef;font-size:24px;cursor:pointer}
.city-search-label{display:grid;gap:8px;margin:20px 0 14px;font-size:12px;color:#bdc5c2}.city-search-label input,.task-city-picker{width:100%;box-sizing:border-box;padding:13px;border:1px solid #41494c;border-radius:11px;background:#101314;color:#eef1ef;font:inherit;min-height:46px}
.city-search-label input:focus,.task-city-picker:focus-visible,.city-option:focus-visible,.map-city-picker:focus-visible{outline:2px solid #f3c847;outline-offset:2px}
.city-search-label input{font-size:16px}
.city-options{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-height:42dvh;overflow:auto;overscroll-behavior:contain;padding:3px}
.city-option{padding:12px 10px;border:1px solid #343d40;border-radius:10px;background:#202527;color:#eef1ef;text-align:left;font:inherit;font-size:14px;cursor:pointer;min-height:46px}
.city-option:hover,.city-option[aria-pressed=true]{border-color:#f3c847;background:#302b1b;color:#f3c847}
.city-option strong{display:block;font-size:14px;font-weight:700;overflow-wrap:anywhere}.city-option small{display:block;margin-top:5px;color:#9da9a5;font-size:11px;line-height:1.35;overflow-wrap:anywhere}
.city-options-title{margin:18px 0 10px;color:#e5e9e6;font-size:13px;font-weight:700}.city-modal .city-results-status{min-height:0;margin:10px 0;font-size:12px;color:#e3cd72}.city-results-status:empty{display:none}
.map-search .map-city-picker{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;width:100%;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer}.map-city-picker [data-current-city]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.task-city-picker{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;text-align:left}.task-city-picker strong{display:block;font-size:15px;font-weight:700}.task-city-picker small{display:block;margin-top:5px;color:#98a5a1;font-size:12px}.task-city-picker strong,.task-city-picker small{overflow-wrap:anywhere}
#queueCityPicker{max-width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere;text-align:left}
.city-region-note{font-size:11px!important}.profile-city-button{border:1px solid #66551f;border-radius:10px;background:#292519;color:#f3c847;padding:9px 11px;font:inherit;font-size:12px;cursor:pointer;white-space:nowrap}
.task-city-field{margin:16px 0}.task-city-field label{display:block;margin-bottom:8px;color:#bdc5c2;font-size:12px}
.profile-nav{flex-wrap:wrap}.profile-nav .profile-city-button{margin-left:auto}.drawer-city-button{margin:12px 0;width:100%;text-align:left;white-space:normal}
@media(max-width:700px){.city-modal{padding:22px 18px}.profile-nav .profile-city-button{margin-left:0;order:10;flex:0 0 100%;text-align:left}.city-modal h2{font-size:22px}.profile-city-button{min-height:40px}}
@media(max-width:360px){.city-options{grid-template-columns:1fr}}

.city-locate-button{display:block;width:100%;min-height:44px;margin:16px 0 0;padding:11px 13px;border:1px solid #66551f;border-radius:11px;background:#292519;color:#f3d46b;font:inherit;font-size:13px;font-weight:700;cursor:pointer}
.city-locate-button[hidden]{display:none}.city-locate-button:disabled{opacity:.6;cursor:wait}
.welcome-backdrop{position:fixed;inset:0;z-index:140;display:grid;place-items:center;padding:20px;background:rgba(6,9,9,.86);backdrop-filter:blur(7px)}
.welcome-backdrop[hidden]{display:none}
.welcome-card{display:flex;flex-direction:column;width:min(520px,100%);max-height:calc(100dvh - 40px);box-sizing:border-box;padding:26px;border:1px solid #4a4733;border-radius:24px;background:radial-gradient(ellipse at 10% 0%,#302c1b 0%,#191d1d 45%,#161a1b 100%);box-shadow:0 24px 90px rgba(0,0,0,.55);color:#f1f3f0}
.welcome-content{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#65592f transparent;padding:0 5px 4px 0}
.welcome-brand{margin-bottom:17px}.welcome-brand img{display:block;width:clamp(170px,55vw,230px);max-width:100%;height:auto}
.welcome-card .eyebrow{font-size:10px;letter-spacing:.14em;color:#f3c847;font-weight:800;text-transform:uppercase}
.welcome-card h2{margin:10px 0 12px;font-size:32px;line-height:1.12;letter-spacing:-.035em}
.welcome-description{margin:0;color:#b7c0bb;font-size:14px;line-height:1.5}
.welcome-steps{display:grid;gap:15px;margin:22px 0}
.welcome-steps article{display:flex;align-items:flex-start;gap:12px}.welcome-step-icon{display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border:1px solid #655523;border-radius:10px;background:#302b1a;color:#f3c847;font-size:22px;line-height:1}
.welcome-steps h3{margin:0 0 5px;font-size:14px;line-height:1.35}.welcome-steps p{margin:0;color:#abb5af;font-size:13px;line-height:1.5}
.welcome-recommendations{display:grid;gap:14px;padding:15px;border:1px solid #3c443d;border-radius:14px;background:rgba(10,16,14,.35)}
.welcome-recommendations strong{display:block;color:#e0e6df;font-size:13px;line-height:1.4}.welcome-recommendations p{margin:5px 0 0;color:#9ea9a2;font-size:12px;line-height:1.5}
.welcome-install{margin-top:11px;min-height:44px;padding:10px 15px;border:1px solid #88712b;border-radius:10px;background:#292719;color:#f5d567;font:inherit;font-size:13px;font-weight:750;cursor:pointer}.welcome-install:disabled{opacity:.7;cursor:default}
.welcome-recommendations .welcome-install-hint{display:none;margin-top:10px;color:#e8d078}.welcome-recommendations .welcome-install-hint.open{display:block}
.welcome-footer{flex:0 0 auto;padding-top:17px;background:linear-gradient(180deg,transparent,#161a1b 35%)}
.welcome-continue{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:52px;padding:13px 18px;border:1px solid #f3c847;border-radius:12px;background:#f3c847;color:#171919;font:inherit;font-size:16px;font-weight:850;cursor:pointer}.welcome-continue:hover{background:#ffdb67}.welcome-continue:disabled{opacity:.42;filter:saturate(.45);cursor:not-allowed}.welcome-continue span{font-size:22px;line-height:1}
.welcome-footnote{margin:9px 0 0;text-align:center;color:#8c9890;font-size:11px;line-height:1.4}
.welcome-continue:focus-visible,.welcome-install:focus-visible,.city-locate-button:focus-visible{outline:2px solid #fff0b3;outline-offset:3px}
@media(max-width:700px){.welcome-backdrop{padding:calc(12px + env(safe-area-inset-top)) 12px calc(12px + env(safe-area-inset-bottom))}.welcome-card{max-height:calc(100dvh - 24px - env(safe-area-inset-top) - env(safe-area-inset-bottom));padding:20px 18px;border-radius:20px}.welcome-card h2{font-size:clamp(25px,7.4vw,31px)}.welcome-brand{margin-bottom:14px}.welcome-steps{gap:13px;margin:18px 0}.welcome-recommendations{padding:13px}.welcome-footer{padding-top:14px}.welcome-install{width:100%}}

.welcome-action{display:grid;gap:8px;padding-bottom:12px;border-bottom:1px solid #343c35}
.welcome-action:last-child{padding-bottom:0;border-bottom:0}
.welcome-action-button{display:flex;align-items:center;justify-content:center;width:100%;min-height:44px;padding:10px 14px;border:1px solid #88712b;border-radius:10px;background:#292719;color:#f5d567;font:inherit;font-size:13px;font-weight:750;cursor:pointer}
.welcome-action-button:disabled{opacity:.65;cursor:wait}
.welcome-action-status{display:none;margin:0!important;padding:9px 10px;border:1px solid #514b31;border-radius:9px;background:#242218;color:#e8d078!important;font-size:11px!important;line-height:1.45!important}
.welcome-action-status:not(:empty){display:block}

/* Compact city picker */
.city-modal{width:min(390px,100%);padding:19px 18px 16px;border-radius:16px}
.city-modal h2{margin:3px 36px 13px 0;font-size:21px;line-height:1.25}
.city-search-label{margin:12px 0 0;gap:6px}
.city-search-label input{min-height:42px;padding:10px 12px;border-radius:10px}
.city-locate-button{margin:11px 0 0;min-height:42px}
.city-options-title{margin:13px 0 6px}
.city-options{grid-template-columns:1fr;max-height:34dvh;padding:0;gap:5px}
.city-options[hidden],.city-options-title[hidden]{display:none!important}
.city-options button{min-height:40px;padding:9px 11px}
.city-results-status:empty{display:none}
@media(max-width:700px){.city-modal{width:100%;padding:17px 15px 15px}.city-modal h2{font-size:20px}}


/* Keep the task chooser out of the city picker background on every screen size. */
.layout.map-only{grid-template-columns:minmax(0,1fr)!important}
.layout.map-only .side{display:none!important}
.layout.map-only .map-show-tasks{position:absolute;left:50%;bottom:20px;z-index:12;transform:translateX(-50%);display:flex!important;align-items:center;justify-content:center;min-width:210px;min-height:52px;padding:12px 22px;border:2px solid #8b732d;border-radius:999px;background:#2b281c;color:#f0d76e;font-size:15px;font-weight:850;box-shadow:0 10px 28px rgba(0,0,0,.5)}
.layout.map-only .map-show-tasks[hidden]{display:none!important}

/* The task card must be fully gone once closed or while choosing a city. */
.detail:not(.open),body.city-picker-open #detail{display:none!important}

/* Keep drawer separators below their content when the menu needs to scroll. */
#mobileDrawer > *{flex-shrink:0}
#mobileDrawer .drawer-user{padding-bottom:16px}

/* Compact welcome: short instructions, transparent mascot, fixed primary action. */
#welcomeBackdrop .welcome-card{width:min(460px,100%);padding:16px;border-radius:17px;background:#181e1f}
#welcomeBackdrop .welcome-content{flex:1 1 auto;min-height:0;padding:0 3px 0 0;overflow-x:hidden;overflow-y:auto}
#welcomeBackdrop .welcome-brand{margin:0 0 4px}
#welcomeBackdrop .welcome-brand img{width:162px;max-width:65%;height:auto}
#welcomeBackdrop .welcome-hero{display:grid;grid-template-columns:minmax(0,1fr) 124px;align-items:center;gap:8px;margin:2px 0 10px}
#welcomeBackdrop .welcome-hero-copy{min-width:0}
#welcomeBackdrop .welcome-card h2{margin:0 0 8px;font-size:26px;line-height:1.15;letter-spacing:-.025em}
#welcomeBackdrop .welcome-description{margin:0;font-size:13px;line-height:1.45;color:#b8c2be}
#welcomeBackdrop .welcome-mascot{display:block;width:124px;max-width:100%;height:180px;object-fit:contain;object-position:center}
#welcomeBackdrop .welcome-steps{gap:10px;margin:0 0 14px}
#welcomeBackdrop .welcome-steps article{gap:9px}
#welcomeBackdrop .welcome-step-icon{flex:0 0 28px;width:28px;height:28px;border-radius:8px;font-size:18px}
#welcomeBackdrop .welcome-steps h3{margin:0 0 3px;font-size:13px;line-height:1.3}
#welcomeBackdrop .welcome-steps p{font-size:12px;line-height:1.4;margin:0}
#welcomeBackdrop .welcome-recommendations{display:grid;gap:0;padding:0;border:0;border-top:1px solid #374144;border-radius:0;background:transparent}
#welcomeBackdrop .welcome-action{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 10px;padding:8px 0;border-bottom:1px solid #303b3e}
#welcomeBackdrop .welcome-action[hidden]{display:none!important}
#welcomeBackdrop .welcome-action>strong{font-size:12px;font-weight:650;line-height:1.35}
#welcomeBackdrop .welcome-action-button,#welcomeBackdrop .welcome-install{width:auto;min-width:100px;max-width:180px;min-height:36px;padding:7px 10px;margin:0;border-radius:9px;font-size:12px;line-height:1.25;white-space:normal}
#welcomeBackdrop .welcome-action-status,#welcomeBackdrop .welcome-install-hint{grid-column:1/-1;margin:0!important;padding:7px 9px;font-size:11px!important;line-height:1.4!important}
#welcomeBackdrop .welcome-footer{display:block;flex:0 0 auto;margin:0;padding:12px 0 0;background:transparent;overflow:visible;max-height:none}
#welcomeBackdrop .welcome-continue{min-height:44px;padding:10px 14px;border-radius:10px;font-size:14px}
@media(max-width:360px){
#welcomeBackdrop .welcome-card{padding:13px}
#welcomeBackdrop .welcome-hero{grid-template-columns:minmax(0,1fr) 102px;gap:6px}
#welcomeBackdrop .welcome-mascot{width:102px;height:150px}
#welcomeBackdrop .welcome-card h2{font-size:23px}
#welcomeBackdrop .welcome-description{font-size:12px}
#welcomeBackdrop .welcome-action-button,#welcomeBackdrop .welcome-install{min-width:88px;max-width:144px}
}
@media(max-height:620px){
#welcomeBackdrop .welcome-hero{grid-template-columns:minmax(0,1fr) 94px;margin-bottom:8px}
#welcomeBackdrop .welcome-mascot{width:94px;height:135px}
#welcomeBackdrop .welcome-brand img{width:142px}
#welcomeBackdrop .welcome-steps{gap:8px;margin-bottom:10px}
}

/* Bring welcome heading up next to the logo on phones. Crop the mascot below the phone. */
@media(max-width:700px){
#welcomeBackdrop .welcome-hero{grid-template-columns:minmax(0,1fr) 124px;align-items:start;height:108px;min-height:0;gap:8px;margin:2px 0 8px}
#welcomeBackdrop .welcome-hero-copy{align-self:start;padding-top:5px}
#welcomeBackdrop .welcome-mascot{align-self:start;width:124px;height:108px;object-fit:cover;object-position:center 3%;-webkit-mask-image:linear-gradient(#000 0%,#000 84%,transparent 100%);mask-image:linear-gradient(#000 0%,#000 84%,transparent 100%)}
}
@media(max-width:360px){
#welcomeBackdrop .welcome-hero{grid-template-columns:minmax(0,1fr) 96px;height:100px;gap:5px}
#welcomeBackdrop .welcome-mascot{width:96px;height:100px}
}
@media(max-width:700px) and (max-height:620px){
#welcomeBackdrop .welcome-hero{grid-template-columns:minmax(0,1fr) 94px;height:92px}
#welcomeBackdrop .welcome-mascot{width:94px;height:92px}
}

/* City picker refinement v33 */
.city-modal{width:min(380px,100%);padding:18px 16px 15px;border-radius:16px}
.city-modal h2{margin:2px 38px 12px 0;font-size:20px;line-height:1.2}
.city-close{top:11px;right:11px;width:34px;height:34px;border-radius:10px;font-size:22px}
.city-locate-button{min-height:40px;margin:10px 0 0;padding:9px 12px;border-radius:10px;font-size:12px}
.city-search-label{margin:10px 0 0;gap:5px;font-size:11px}
.city-search-label input{min-height:42px;padding:10px 12px}
@media(max-width:700px){.city-modal{width:min(380px,100%);padding:17px 15px 14px}.city-modal h2{font-size:20px}}
