#app .cake-order-entry>.catalog-row{padding-inline:20px;}
#app .cake-order-entry>.cake-recipe-link{display:flex;align-items:center;justify-content:flex-start;gap:9px;margin:0 20px 12px;min-height:44px;padding:6px 0;max-width:calc(100% - 40px);text-align:left;white-space:normal;}
#app .cake-order-entry>.cake-recipe-link svg{margin-right:0;}
#app #business-profiles .business-profile-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:12px;}
#app #business-profiles .business-profile-actions>button{margin:0;}

/* Native date controls must fit the cake toolbar, including iOS intrinsic sizing. */
#app .content:has(>.page-heading-cakes)>.toolbar>label:has(#cake-date){min-width:0;max-width:100%;box-sizing:border-box;}
#app #cake-date{display:block;width:100%;min-width:0;min-inline-size:0;max-width:100%;max-inline-size:100%;box-sizing:border-box;appearance:none;-webkit-appearance:none;}
#app #cake-date::-webkit-date-and-time-value{min-width:0;min-inline-size:0;max-width:100%;text-align:left;}
#app #cake-date::-webkit-datetime-edit{min-width:0;padding:0;}
@media(max-width:999px){
 #app .content:has(>.page-heading-cakes)>.toolbar{display:grid;grid-template-columns:minmax(0,1fr);width:100%;max-width:100%;min-width:0;}
 #app .content:has(>.page-heading-cakes)>.toolbar>label:has(#cake-date){display:grid;grid-template-columns:minmax(0,1fr);width:100%;margin:0;gap:6px;}
 #app #cake-date{min-height:46px;overflow:hidden;}
}

#editor .cake-order-form [hidden]{display:none!important}#editor .cake-order-form>[name=kind]{margin-bottom:16px}

#app .cake-week-planned{grid-template-columns:repeat(auto-fit,minmax(min(100%,250px),1fr));}
#app .cake-week-planned:empty{display:none;}
#app .cake-week-empty-note{margin:0 0 12px;line-height:1.6;color:var(--muted);}
#app .cake-empty-days{margin:0 0 20px;border-bottom:1px solid var(--line);padding-bottom:12px;}
#app .cake-empty-days>summary{cursor:pointer;min-height:44px;align-content:center;font-weight:600;}
#app .cake-empty-days>ul{padding:0;margin:8px 0 0;list-style:none;display:grid;gap:8px;}
#app .cake-empty-days li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:8px;padding:8px 0;font-size:13px;}
#app .cake-empty-days li>span{color:var(--muted);}
