#home-screen .home-legacy{display:none!important}
#home-screen.active{padding:0!important;overflow:hidden!important;display:flex!important;flex-direction:column}
#authenticated-home{height:100%;min-height:0;display:flex;flex-direction:column;width:100%;text-align:left}
#authenticated-home .nh-screen{flex:1;min-height:0;overflow-y:auto}
body:has(#home-screen.active)>.bottom-nav,body:has(#home-screen.active) .phone-shell>.bottom-nav{display:none!important}
#authenticated-home button{box-shadow:none;letter-spacing:normal;text-transform:none}
#authenticated-home .nh-content{width:100%;text-align:left;border:0;background:none}
#authenticated-home .nh-card{margin:0}
#authenticated-home svg{flex-shrink:0}
#authenticated-home .nh-avatar img{object-fit:cover}
#authenticated-home [hidden]{display:none!important}

/* Slim next-plan footer; retain the 44px activity touch target. */
#authenticated-home .nh-plan{padding-bottom:8px}
#authenticated-home .nh-plan-footer{margin-top:8px;padding-top:4px}
/* Approved shared-post action spacing; newer approved Home footer is retained. */
#authenticated-home .nh-actions{padding-top:6px}
html[data-nest-text-size="125"] #authenticated-home .nh-actions{grid-template-columns:minmax(44px,1.05fr) minmax(44px,1.15fr) minmax(44px,.9fr) minmax(44px,.95fr);align-items:stretch}
html[data-nest-text-size="125"] #authenticated-home .nh-actions button{justify-content:flex-start}
html[data-nest-text-size="125"] #authenticated-home .nh-actions button span{overflow-wrap:normal;word-break:normal}

.nest-home-ui{--nh-scale:var(--nest-text-scale,1)}
.nest-home-ui .nh-date{min-width:calc(46px * var(--nh-scale,1))}

/* Approved single startup dialog: keep unfinished Home noninteractive. */
#home-screen.nest-home-preparing{position:relative}
#home-screen.nest-home-preparing #authenticated-home{visibility:hidden}
