/* The client surface sits on the shared planner styles and calculation engine. */
.skip-link{position:absolute;top:-80px;left:16px;z-index:10001;background:#fff;padding:12px 18px;color:#09618f}.skip-link:focus{top:12px}
.app-head{padding-bottom:8px}.identity{letter-spacing:0;font-size:14px}.app-head h1{font-size:38px}.environment{border-left:0;border:1px solid #dce6ec;border-radius:10px;background:#fff;padding:11px 15px}.environment summary{cursor:pointer;font-weight:550}.environment p{margin:8px 0 0;max-width:740px;font-size:13px}.environment>span{margin:0}.tabs{position:sticky;top:12px;z-index:10;box-shadow:0 4px 18px #18384a0a}.metric-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.meal-numbers .macro-line{margin:0;color:#5b7383}.meal-numbers .macro-line>span{margin:0;color:#456477}.app-footer a{color:#09618f}.app-footer .head-actions{margin-left:auto}.app-footer{flex-wrap:wrap}.local-storage-note{max-width:620px}.week-day{overflow:hidden}.recipe-info h3,.meal-top h3{overflow-wrap:anywhere}.welcome .head-actions{margin-top:20px}.environment.local-conflict{border-color:#d59b58;background:#fff6e9}
@media(max-width:850px){.metric-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:680px){
 body{padding-bottom:calc(77px + env(safe-area-inset-bottom))}.shell{padding:22px 16px}.app-head h1{font-size:31px}.app-head .head-actions{width:100%;justify-content:space-between}.app-head .head-actions button{min-height:44px}.identity{font-size:13px}.environment{font-size:12px;margin-bottom:24px}.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.metric:last-child{grid-column:1/-1;display:flex;align-items:baseline;gap:12px;flex-wrap:wrap;padding:10px 15px}.metric:last-child strong{font-size:22px}.metric:last-child>div{margin:0}.metric:last-child small{margin-left:auto}.tabs{position:fixed;left:0;right:0;bottom:0;top:auto;width:100%;margin:0;border-radius:0;padding:9px 8px calc(9px + env(safe-area-inset-bottom));background:#f3f7fafa;box-shadow:0 -4px 24px #1534480d;border-top:1px solid #d5e2eb;gap:3px}.tabs button{min-height:46px;font-size:13px}.tabs button[aria-current=page]{background:#09618f;color:#fff}.section-head h2{font-size:22px}.meal-actions button{min-height:40px}.date-control input{flex:1;width:145px}.date-control button{min-height:44px}.app-footer{gap:14px}.app-footer .head-actions{width:100%;margin:0}.app-footer button{min-height:40px}.recipe-info .head-actions button{min-height:44px}#notice{bottom:calc(83px + env(safe-area-inset-bottom))}.filters select{max-width:100%}
}
@media print{body{padding:0}.skip-link{display:none}.tabs{display:none}}

.login-card{max-width:620px;margin:28px auto}.coaching-editor{flex-basis:100%;min-width:0;margin-top:12px}.coaching-editor p{max-width:640px}.coaching-editor input{max-width:100%}.client-identity small{overflow-wrap:anywhere}.account-form input,.account-form select{min-width:0;max-width:100%}
@media(max-width:680px){.login-card{margin:18px 0}.coaching-editor input{font-size:16px}.client-row{min-width:0}.client-row .head-actions{flex-wrap:wrap;width:100%}.client-row .head-actions button{white-space:normal;min-height:44px}}
