.desktop-sidebar,.desktop-welcome,.desktop-shortcuts{display:none}
@media(min-width:1024px){
.installed-app{--desktop-rail:230px}.installed-app body{padding:0 0 0 var(--desktop-rail);font-size:15px}
.installed-app header{min-height:76px;padding:12px 28px;justify-content:flex-end;border-bottom:1px solid #30474e;background:#0c1b25}
.installed-app header .brand{position:fixed;left:0;top:0;width:var(--desktop-rail);height:105px;padding:20px;box-sizing:border-box;background:#0c1b25;z-index:32;font-size:25px;gap:10px;align-items:center}
.installed-app header .brand svg{width:34px;height:42px}.installed-app .header-right .settings-open{display:inline-flex}.installed-app header .clock{margin-right:auto}
.desktop-sidebar{display:flex;flex-direction:column;gap:5px;position:fixed;top:105px;bottom:0;left:0;height:auto;align-items:stretch;width:var(--desktop-rail);padding:8px 12px 20px;box-sizing:border-box;overflow-y:auto;background:#0c1b25;border-right:1px solid #30474e;z-index:31}
.desktop-nav-item{display:flex;align-items:center;gap:12px;min-height:45px;width:100%;text-align:left;padding:10px 12px;border:1px solid transparent;border-radius:12px;background:transparent;color:#d8e8ee;font:inherit;line-height:1.35;cursor:pointer;flex-shrink:0}.desktop-nav-item svg{width:23px;height:23px;display:block}.desktop-nav-item:hover{background:#193a3b}.desktop-nav-item.active{background:#a7e8cf;color:#092b28;font-weight:700}.desktop-nav-item:focus-visible{outline:3px solid #a7e8cf;outline-offset:-2px}.desktop-settings{margin-top:0}.desktop-nav-item[data-screen=family]{margin-top:10px;border-top-color:#30474e}
.installed-app .bottom-nav{display:none!important}.installed-app main{max-width:1600px;width:100%;padding:18px 28px 28px;box-sizing:border-box}.installed-app .app-screen-title{margin:16px 0;font-size:27px}.installed-app[data-app-screen=home] .app-screen-title{display:none}
.installed-app details.notice{padding:7px 12px!important;margin:0 0 14px;font-size:12px;border-radius:10px}.installed-app details.notice>summary{min-height:24px}
.desktop-welcome{display:block;grid-area:welcome}.desktop-welcome h2{font-size:29px;margin:0;line-height:1.3}.desktop-welcome p{margin:4px 0 0;color:#b0c7d0;font-size:15px}
.installed-app .mobile-overview{grid-template-columns:minmax(0,1.25fr) minmax(320px,1fr);grid-template-areas:'welcome welcome' 'fresh fresh' 'hero share' 'recent shelter' 'tiles tiles';gap:16px;margin-bottom:0;align-items:start}
.mobile-overview>.mobile-alert-hero:not(.quick-help){grid-area:hero}.mobile-recent{grid-area:recent}.quick-freshness{grid-area:fresh;padding:8px 12px;font-size:12px}.installed-app .quick-help{display:contents}.quick-help>.quick-heading,.quick-help>a{display:none}.desktop-share{grid-area:share}.desktop-saved-shelter{grid-area:shelter}
.desktop-share,.quick-help section.desktop-saved-shelter{padding:18px 20px;margin:0;border:1px solid #35564e;border-radius:18px;background:linear-gradient(145deg,#142e30,#101e29);min-width:0}.desktop-share h3,.desktop-saved-shelter h3{font-size:20px;margin:0 0 10px}.desktop-share textarea{height:66px;min-height:66px;font-size:14px;resize:vertical}.desktop-share .plan-note{font-size:12px;line-height:1.45;margin:8px 0 0}.desktop-share .plan-note:empty{display:none}.desktop-share .plan-actions{margin:10px 0 0}.desktop-share .plan-actions button{font-size:13px;min-height:44px;padding:8px 10px}.desktop-saved-shelter p{font-size:14px;margin:8px 0;overflow-wrap:anywhere}.desktop-saved-shelter small{display:block;font-size:12px;color:#b0c7d0}.quick-help section.desktop-saved-shelter .button{margin:10px 0 0}
.mobile-alert-hero,.mobile-recent{padding:18px 20px}.mobile-alert-hero .eyebrow{display:none}.mobile-alert-hero h2{margin:0 0 10px;font-size:22px}.mobile-alert-state{font-size:16px}.mobile-alert-note{margin:8px 0}.mobile-alert-hero select{min-height:44px;padding:10px}.mobile-quick-actions{margin-top:12px}.mobile-quick-actions a{min-height:44px}.mobile-message{padding:13px 0}.mobile-section-heading a.button{font-size:12px;min-height:38px;padding:8px}.mobile-section-heading{gap:8px}.mobile-section-heading h2{font-size:18px;flex-basis:150px}
.desktop-shortcuts{grid-area:tiles;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.desktop-shortcuts a{padding:18px;text-decoration:none;border-color:#35564e;background:#142e30;font-weight:600;display:flex;align-items:center;justify-content:space-between}
.installed-app[data-app-screen=home] .personal-space,.installed-app[data-app-screen=home] #losses-panel{display:none!important}.installed-app .app-menu{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.installed-app .app-menu[hidden]{display:none!important}
.installed-app .extra-panel,.installed-app .help-panel,.installed-app .personal-plan{max-width:1100px;margin-left:auto;margin-right:auto}.installed-app .extra-back,.installed-app .help-menu-back,.installed-app .app-menu-back{display:none}.installed-app .monitor{padding:20px}.installed-app[data-app-screen=map] .monitor-map-wrap:not(.expanded) .monitor-map{height:62dvh;min-height:380px}
.installed-app .settings-dialog{width:min(900px,calc(100% - 48px));max-height:90dvh}
}
@media(min-width:1600px){.installed-app{--desktop-rail:250px}.installed-app main{padding-left:36px;padding-right:36px}.desktop-nav-item{min-height:49px}}
@media(min-width:1024px) and (max-height:800px){.desktop-sidebar{gap:2px;padding-top:0}.desktop-nav-item{font-size:13px;min-height:40px;padding:8px 10px}.desktop-nav-item[data-screen=family]{margin-top:4px}.installed-app main{padding-top:12px}.installed-app details.notice{margin-bottom:10px}.desktop-welcome h2{font-size:26px}.installed-app .mobile-overview{gap:12px}.desktop-share,.quick-help section.desktop-saved-shelter,.mobile-alert-hero,.mobile-recent{padding:14px 16px}.desktop-shortcuts a{padding:14px}}

/* Desktop forum shortcut; keep the original entry in the phone menu. */
.desktop-header-forum{display:none}
@media(min-width:1024px){
.installed-app header{position:relative}
.installed-app header .desktop-header-forum{display:inline-flex;align-items:center;justify-content:center;gap:10px;position:absolute;left:50%;transform:translateX(-50%);min-height:44px;padding:10px 24px;color:#a7e8cf;border:1px solid #42645f;border-radius:8px;background:#142d31;text-decoration:none}
.desktop-header-forum svg{display:block;width:21px;height:21px}
.installed-app header .desktop-header-forum:hover{background:#204440}
.desktop-header-forum:focus-visible{outline:2px solid #a7e8cf;outline-offset:3px}
}
