/* A compact contextual app bar and metrics that never split labels or units. */
@media(max-width:800px){
 :root{--app-header-size:76px}
 .mobile-app-header{height:calc(76px + env(safe-area-inset-top,0px));min-height:calc(76px + env(safe-area-inset-top,0px));box-sizing:border-box;justify-content:space-between;gap:10px;padding:calc(6px + env(safe-area-inset-top,0px)) 12px 6px;background:#fffffff7;box-shadow:0 2px 12px #4e203005}
 .mobile-app-header .mobile-wordmark{flex:0 0 146px;width:146px;height:50px;margin:0;min-height:0}
 .mobile-app-header .mobile-wordmark>img{width:146px;height:50px;object-fit:contain}
 .appbar-context{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:3px;flex:1;min-width:0}
 .appbar-section{font-size:9px;line-height:12px;letter-spacing:.5px;color:#a08b95;padding-right:3px;white-space:nowrap}
 .appbar-lottery{display:flex;align-items:center;justify-content:flex-end;gap:6px;max-width:100%;min-width:0;min-height:44px;padding:5px 8px;border:1px solid #eee2e7;border-radius:10px;background:#fff9fb;color:#66505e;font-family:inherit;font-size:12px;line-height:20px;font-weight:600;text-decoration:none;cursor:pointer;box-sizing:border-box}
 .appbar-lottery>img{width:20px;height:20px;object-fit:contain;flex-shrink:0}.appbar-lottery>span{min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:12px;line-height:20px;font-weight:600}
 .appbar-lottery>svg{width:10px;height:10px;flex-shrink:0;color:#b27a8d}.appbar-lottery:active{background:#fbecef}
 .home-plan-summary .home-summary-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
 .home-plan-summary .home-summary-metrics>div{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:5px;min-width:0;text-align:center}
 .home-plan-summary .home-summary-metrics dt{font-size:10px;line-height:16px;white-space:nowrap;margin:0}
 .home-plan-summary .home-summary-metrics dd,.home-plan-summary .home-summary-metrics .summary-rate dd{display:flex;align-items:baseline;justify-content:center;gap:2px;margin:0;font-size:clamp(16px,4.8vw,22px);line-height:1.25;white-space:nowrap;font-variant-numeric:tabular-nums}
 .home-plan-summary .home-summary-metrics dd small{flex-shrink:0;margin:0;font-size:9px;line-height:1;white-space:nowrap}
}
@media(max-width:360px){.mobile-app-header{gap:8px}.mobile-app-header .mobile-wordmark{flex-basis:132px;width:132px;height:46px}.mobile-app-header .mobile-wordmark>img{width:132px;height:46px}.appbar-lottery{gap:5px;padding-inline:6px}.appbar-lottery>span{font-size:11px}}
