/* Only touch sizing and device insets. The approved home structure is intact. */
body{padding-bottom:env(safe-area-inset-bottom,0px)}
body.shore-home-route{padding-bottom:0}
.shore-masthead{padding-top:calc(25px + env(safe-area-inset-top,0px))}
.shore-opening-brand{top:calc(25px + env(safe-area-inset-top,0px))}
.shore-opening-controls{bottom:calc(24px + env(safe-area-inset-bottom,0px))}
@media(max-width:600px){
 .shore-masthead{padding-top:calc(21px + env(safe-area-inset-top,0px));padding-left:max(22px,env(safe-area-inset-left,0px));padding-right:max(22px,env(safe-area-inset-right,0px))}
 .shore-opening-brand{top:calc(26px + env(safe-area-inset-top,0px))}
 .shore-controls button,.shore-controls select{min-height:44px}
 .shore-care-doors a,.shore-care-doors button,.shore-footer button,.shore-footer a{min-height:44px}
 .site-header{padding-top:env(safe-area-inset-top,0px)}
 .site-header a,.site-header button,.site-footer a,.site-footer button{min-height:44px}
 .site-header .brand>span{font-size:19px}
 .main-nav{overflow-x:auto;max-width:100%;scrollbar-width:thin}
 .main-nav a{min-height:44px}
 dialog{max-height:calc(100dvh - 24px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));overscroll-behavior:contain}
 .modal-close{width:44px;height:44px;min-height:44px}
 .modal-body{padding-top:55px}
 .modal-body input,.modal-body textarea,.modal-body select{font-size:16px}
 .modal-body button,.modal-body .button,.note-actions button{min-height:44px}
 .modal-body p,.settings-grid p,.personal-note .prose{overflow-wrap:anywhere}
 .chiro-media figcaption a{display:inline-flex;align-items:center;min-height:44px;padding:4px 8px}
 .chihuahua-gallery video{object-fit:contain}
 .shore-review{padding-bottom:calc(14px + env(safe-area-inset-bottom,0px))}
}
@media(display-mode:standalone){.shore-review{font-size:9px}.skip:focus{top:calc(12px + env(safe-area-inset-top,0px))}}
.mobile-dock{display:none}
.install-icon{display:block;border-radius:17px;margin:0 0 24px}
.install-steps{padding-left:24px;max-width:580px}
.install-steps li{padding:0 0 18px 8px;line-height:1.7}
.install-status{color:var(--shore-accent);font-weight:600}
@media(max-width:700px){
 body:not(.shore-home-route) #app{padding-bottom:calc(82px + env(safe-area-inset-bottom,0px))}
 .mobile-dock{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;left:0;right:0;bottom:0;z-index:8;padding:8px max(6px,env(safe-area-inset-right,0px)) calc(8px + env(safe-area-inset-bottom,0px)) max(6px,env(safe-area-inset-left,0px));background:#0b2639f5;border-top:1px solid #fff8e930;color:#fff8e9}
 .mobile-dock a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;min-height:52px;text-decoration:none;font-size:10px;line-height:1.3;padding:4px 2px;color:inherit;border-radius:8px}
 .mobile-dock a[aria-current=page]{color:#eadb9e;background:#ffffff0c}
 .mobile-dock a:focus-visible{outline:2px solid #eadb9e;outline-offset:-2px}
 .shore-is-quiet .mobile-dock,.shore-is-opening .mobile-dock,body:has(input:focus,textarea:focus) .mobile-dock{display:none}
 .install-panel input{font-size:16px}
 html{scroll-padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))}
}
@media(display-mode:standalone){.shore-review,.review-ribbon{display:none}}
