@media screen {
body .us31-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:14px 0;padding:12px;background:#f7ecd6;border:1px solid #b99a6a;border-radius:12px}
body .us31-toolbar label{display:flex;align-items:center;gap:8px;font-size:14px;min-width:0}
body .us31-toolbar :is(button,select,input){min-height:44px;box-sizing:border-box;font:inherit;max-width:100%}
body .us31-toolbar button[aria-pressed=true]{background:#355b46!important;color:#fffaf0!important;border-color:#355b46!important}
body #productRows>tr[hidden],body #menuIngredientOrders>tr[hidden],body #toolsPage [hidden],body #photosPage [hidden],body #menuMobileDays [hidden]{display:none!important}
body #inventoryPage[data-bread-view=daily] #productRows>tr>td:is(:nth-child(1),:nth-child(4),:nth-child(5)),body #inventoryPage[data-bread-view=daily] .table-wrap thead th:is(:nth-child(1),:nth-child(4),:nth-child(5)){display:none!important}
body #inventoryPage[data-bread-view=settings] #productRows .stock-stepper{display:none!important}
body #inventoryPage .iu-result-count{display:none}
body .us31-product-menu{position:relative;max-width:100%;text-align:left}
body .us31-product-menu>summary{display:inline-flex;align-items:center;justify-content:center;list-style:none;cursor:pointer;min-height:44px;min-width:44px;border:1px solid #b99a6a;border-radius:9px;background:#fffaf0;font-size:24px;color:#355b46}
body .us31-product-menu>summary::-webkit-details-marker{display:none}
body .us31-product-menu>div{display:flex;flex-direction:column;gap:6px;padding:10px;border:1px solid #b99a6a;border-radius:9px;background:#fffaf0;min-width:145px}
body .us31-product-menu:not([open])>div{display:none}
body .us31-product-menu button{width:100%;text-align:left;font:inherit!important;font-size:13px!important;min-height:44px;padding:8px!important;color:#355b46;background:#fffaf0;border:1px solid #d3bc95;border-radius:7px}
body #toolsPage .tools-grid{display:block}body #toolsPage .tools-backup-column{max-width:1000px;margin:auto}
body #toolsPage .tools-backup-column>section,body #toolsPage .tools-backup-column>details{margin-bottom:16px}
body .sync-steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;list-style:none;padding:0;margin:16px 0}
body .sync-steps button{width:100%;min-height:54px;padding:10px;border:1px solid #b99a6a;border-radius:10px;background:#fffaf0;color:#355b46;font:inherit;font-size:14px}
body .sync-steps li[aria-current=step] button{background:#355b46;color:#fffaf0}
body .menu-summary{align-items:start!important}body .menu-summary>section{align-self:start;height:auto}
body .menu-linked-note{display:block;font-size:11px;color:#665637;line-height:1.5;margin:5px 0}
body .sh-staff-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
body .sh-staff-card{min-width:0;border:1px solid #b99a6a;border-radius:12px;padding:16px;background:#fffaf0}
body .sh-staff-card h3{font-size:18px;margin:0 0 8px}body .sh-staff-card h4{font-size:13px;margin:14px 0 5px;color:#355b46}
body .sh-staff-card :is(p,li){font-size:13px;line-height:1.7}body .sh-staff-card ul{padding-left:20px;margin:7px 0}
body .sh-draft-status,body .task-draft-note{font-size:13px;line-height:1.7;color:#785826;padding:8px 12px;background:#f8edcf;border-radius:8px}
body .sh-dialog-head{position:sticky;top:-22px;z-index:2;padding:12px 0;background:#fff8e9}
body .sh-dialog form>.sh-actions:last-child,body .sh-dialog form>button:last-child{position:sticky;bottom:0;z-index:1;background:#fff8e9;padding-top:10px;padding-bottom:10px}
body .sh-dialog form>button.sh-primary:last-child{background:#355b46;color:#fffaf0}
body #photosPage .photo-gallery{align-items:start}
body :is(.us31-toolbar,.us31-product-menu,.sh-dialog) :focus-visible{outline:3px solid #587a48;outline-offset:3px}
}
@media screen and (max-width:780px){
body[data-cafe-layout=modern].cafe-work-page .cafe-page-heading{grid-template-columns:48px minmax(0,1fr)!important;padding:12px!important;gap:8px 10px!important;margin-bottom:10px!important}
body .cafe-page-art{width:48px!important;height:48px!important}
body[data-cafe-layout=modern].cafe-work-page .cafe-page-controls{padding-top:8px!important}
body[data-cafe-layout=modern].cafe-work-page .cafe-page-links{display:flex!important;flex-wrap:nowrap;overflow:auto;gap:6px;padding:4px 0;margin-bottom:10px!important}
body .cafe-page-links>a{flex:0 0 auto;min-height:40px;padding:8px 11px!important;font-size:12px!important}
body .cafe-page-links .cafe-link-art{display:none!important}
body #inventoryPage[data-bread-view=daily] #productRows>tr{grid-template-columns:minmax(0,1fr) auto!important;gap:8px;padding:12px!important}
body #inventoryPage[data-bread-view=daily] #productRows>tr>td:nth-child(2){grid-column:1!important}
body #inventoryPage[data-bread-view=daily] #productRows>tr>td:nth-child(3){grid-column:1/-1!important;justify-content:flex-start!important}
body #inventoryPage[data-bread-view=daily] #productRows>tr>td:nth-child(6){grid-column:1!important}
body #inventoryPage[data-bread-view=daily] #productRows>tr>td:nth-child(7){grid-column:2!important;grid-row:1!important}
body #inventoryPage[data-bread-view=daily] #productRows .stock-adjust{justify-content:flex-start!important}
body #menuMobileDays .menu-day-nav{position:sticky;top:0;z-index:4;background:#fff8e9;display:flex;flex-wrap:wrap;gap:6px;padding:10px;border:1px solid #b99a6a;border-radius:10px}
body #menuMobileDays .menu-day-nav button{min-height:44px;flex:1 1 28%;margin:0;font-size:13px;padding:8px}
body #menuMobileDays .menu-day-nav button.active{background:#355b46;color:#fffaf0}
body .sh-staff-cards{grid-template-columns:1fr}
body .sync-steps{grid-template-columns:repeat(2,minmax(0,1fr))}
body .us31-toolbar{padding:10px;gap:8px}body .us31-toolbar>button{flex:1 1 auto}
}
@media print{#breadViewTools,#breadPager,#toolsViewTabs,.sync-steps,#menuIngredientsTools{display:none!important}#productRows>tr[hidden],#menuIngredientOrders>tr[hidden]{display:table-row!important}}

.sh-discard-check{position:sticky;bottom:0;padding:14px;border:2px solid #9a7243;border-radius:12px;background:#fff3d8;color:#634b2c;z-index:3}
@media screen and (max-width:780px){
body[data-cafe-layout=modern] .page-view .related-page-nav.cafe-page-links>a{min-height:42px!important;height:auto!important;padding:8px 11px!important;font-size:12px!important;width:auto!important;flex:0 0 auto!important}
body[data-cafe-layout=modern] #inventoryPage>.cafe-page-heading{grid-template-columns:48px minmax(0,1fr) auto!important}
body[data-cafe-layout=modern] #inventoryPage>.cafe-page-heading>#addProductBtn{grid-column:3!important;grid-row:1!important;justify-self:end;min-height:44px!important;width:auto!important;padding:8px 10px!important;font-size:12px!important;border-top:1px solid #355b46!important}
}

@media screen{.sh-mobile-week{display:none}.sh-mobile-person{border:1px solid #b99a6a;border-radius:12px;padding:14px;background:#fffaf0;color:#355b46;text-align:left;font:inherit;min-height:64px;display:flex;flex-direction:column;gap:7px;box-sizing:border-box}.sh-mobile-person small{font-size:12px;color:#665637}}
@media screen and (max-width:720px){.sh-desktop-week{display:none!important}.sh-mobile-week{display:block}.sh-mobile-day-tabs{display:flex;gap:7px;overflow:auto;position:sticky;top:0;z-index:3;padding:10px 0;background:#f8edd6}.sh-mobile-day-tabs>button{flex:0 0 auto!important;white-space:nowrap}.sh-mobile-shifts{display:grid;grid-template-columns:1fr;gap:10px}.sh-mobile-person strong{font-size:17px}.sh-mobile-person span{font-size:14px;line-height:1.6}}

@media screen{#toolsViewTabs{position:sticky;top:0;z-index:4;background:#f7ecd6;box-shadow:0 3px 8px #6e50251c}}
/* iOS native selects need enough content height after the mobile font size grows. */
@media screen and (max-width:720px){#productModal .field select,#materialModal .field select{height:auto!important;min-height:48px!important;padding:10px 12px!important;line-height:normal!important}}
