
/* KOSTRA Menu360 Responsive & Safari local storage resilience v15 */
*,*::before,*::after{box-sizing:border-box}
html,body{width:100%;max-width:100%;overflow-x:clip!important}
#app{max-width:100%;min-width:0;overflow-x:clip!important}
#app main.page,.page{width:100%;max-width:100%;min-width:0;box-sizing:border-box}
#app main.page>*{min-width:0;max-width:100%;box-sizing:border-box}
#app main.page .head{max-width:100%;flex-wrap:wrap;gap:10px}
#app .nav,#app nav.nav,#app .tabs{max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
#app .nav::-webkit-scrollbar,#app .tabs::-webkit-scrollbar{display:none}
#app .nav>*{flex-shrink:0}
#app .m6-customer-row,#app .m6-customer-grid,#app .m6-section,#app .v7-brand-heading,#app .v7-brand-grid,#app .v7-brand-fields,#app .v7-brand-demo{min-width:0;max-width:100%}
#app .v7-color-presets{display:flex;flex-wrap:wrap;gap:9px;max-width:100%}
#app .v7-color-presets button{white-space:normal;overflow-wrap:anywhere;min-height:39px}
#app input:not([type=checkbox]):not([type=radio]),#app textarea,#app select{max-width:100%;min-width:0}
#app input[type=color]{appearance:none!important;-webkit-appearance:none!important;display:block!important;width:55px!important;height:43px!important;padding:4px!important;border:1px solid #cbd9e9!important;border-radius:10px!important;background:#fff!important;overflow:hidden!important;cursor:pointer}
#app input[type=color]::-webkit-color-swatch-wrapper{padding:0!important}
#app input[type=color]::-webkit-color-swatch{border:0!important;border-radius:6px!important}
#app input[type=file]{max-width:100%;white-space:normal!important;font-size:12px}
#app .v7-brand-fields{gap:12px}
#app .v7-color-picks{display:flex;flex-wrap:wrap;gap:16px;justify-content:flex-start}
#app #c11-recipes,#app .c11-layout,#app .c11-layout>aside,#app #c11-active,#app .c11-sheet,#app .c11-scroll{min-width:0;max-width:100%;box-sizing:border-box}
#app .c11-scroll,#app .c10-tablewrap,#app .m6-scroll,#app .m6-table-scroll,#app .table-scroll,#app .v7-table-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch;overscroll-behavior-x:contain}
#app .c11-table{width:100%;min-width:600px}
#app .c11-sheet header{min-width:0}
#app .c11-sheet h2,#app .c11-head h1{overflow-wrap:anywhere}
#app .c11-list button{min-width:0}
#app .c14-matrix{min-width:0}
#app .c14-rings,.c14-stats,.c14-panels{min-width:0;max-width:100%}
#app .v7-guest{max-width:100%}
#app .v7-guest #v7-menu-content{min-width:0;max-width:100%}
#app .v7-guest-dish{min-width:0;overflow:hidden}
#app .v7-dish-img{max-width:100%;object-fit:cover}
#app .m6-dialog,#app .m6-modal,.m6-dialog,.m6-modal{max-width:calc(100vw - 20px)!important;min-width:0!important}
#app .m6-dialog-body{max-width:100%;overflow-x:auto}
.k15-manage-btn{border:1px solid #b4cce6;background:#f2f7ff;color:#1e4c7e;border-radius:9px;padding:10px 13px;font-weight:750;font-size:12px;white-space:nowrap;cursor:pointer}
#k15-storage-panel{position:fixed;z-index:11001;left:50%;top:50%;transform:translate(-50%,-50%);width:min(520px,calc(100vw - 24px));max-height:90dvh;overflow-y:auto;background:#fff;color:#17375c;border:1px solid #c8d8e9;border-radius:17px;box-shadow:0 20px 80px #071c3d55;padding:22px;font-family:Arial,sans-serif}
#k15-storage-panel .k15-manager-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}
#k15-storage-panel h3{font-size:20px;margin:7px 0}
#k15-storage-panel small{display:block;font-size:11px;line-height:1.5;color:#8194aa}
#k15-storage-panel p{font-size:12px;line-height:1.7;color:#576f8e}
#k15-storage-panel #k15-diagnostics{padding:10px;background:#f1f6fc;border-radius:8px;color:#214a77}
#k15-storage-panel .k15-manager-actions{display:flex;gap:9px;flex-wrap:wrap;margin:12px 0}
#k15-storage-panel button{border-radius:8px;border:1px solid #c8d9eb;background:#eef4fb;color:#193b64;padding:10px;font-weight:bold;cursor:pointer}
#k15-storage-panel #k15-backup{background:#163967;color:#fff}
#k15-storage-panel #k15-close{border:0;background:transparent;font-size:25px;padding:0 7px}
#k15-storage-toast{position:fixed;bottom:14px;left:50%;transform:translateX(-50%);z-index:11002;width:min(500px,calc(100vw - 28px));background:#1b3053;color:#fff;padding:15px;border-radius:12px;box-shadow:0 6px 32px #00173150;display:flex;flex-wrap:wrap;gap:7px;align-items:center;font-size:12px}
#k15-storage-toast b{display:block;flex:1 1 100%}
#k15-storage-toast span{flex:1 1 80%;line-height:1.5}
#k15-storage-toast button{border:0;background:transparent;color:white;font-size:23px}
@media(max-width:1100px){
 #app main.page{padding:18px 16px!important}
 #app .c11-layout{grid-template-columns:minmax(180px,220px) minmax(0,1fr)}
 #app .v7-brand-grid{grid-template-columns:minmax(0,1fr) minmax(0,0.7fr)}
 #app .c14-panels{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
}
@media(max-width:720px){
 #app main.page{padding:13px 11px 22px!important}
 #app .nav,#app nav.nav{padding-inline:10px!important;gap:5px!important}
 #app .nav a,#app nav.nav a,#app .nav button{font-size:12px!important;white-space:nowrap}
 #app .v7-brand-grid{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
 #app #v7-branding{padding:14px!important}
 #app .v7-brand-heading{align-items:flex-start;flex-wrap:wrap}
 #app .v7-brand-fields>label input{font-size:16px!important}
 #app .v7-color-presets{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
 #app .v7-color-presets button{width:100%;font-size:11px!important;padding:8px!important}
 #app .v7-brand-demo>div{min-height:250px;padding:16px}
 #app .v7-brand-buttons{display:flex;flex-wrap:wrap}
 #app .v7-brand-note{overflow-wrap:anywhere}
 #app .c11-layout{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
 #app .c11-layout>aside{position:static!important;padding:9px}
 #app .c11-list{display:flex!important;max-height:none!important;overflow-x:auto!important;gap:7px}
 #app .c11-list button{flex:0 0 183px;min-width:183px}
 #app .c11-tabs{display:flex;overflow-x:auto;max-width:100%}
 #app .c11-tabs button{flex:0 0 auto;padding:11px 13px!important;font-size:12px}
 #app .c11-sheet>header{display:grid!important;grid-template-columns:100px minmax(0,1fr)!important;gap:10px!important;padding:11px!important}
 #app .c11-hero-photo{width:100px!important;height:105px!important}
 #app .c11-sheet header h2{font-size:19px!important;margin:6px 0}
 #app .c11-tags{gap:4px}
 #app .c11-tags span{font-size:9px;padding:4px 6px}
 #app .c11-actions{grid-column:1/-1!important;display:flex!important;gap:7px}
 #app .c11-actions button{flex:1;font-size:12px}
 #app .c11-fields{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:11px!important}
 #app .c11-section{padding:14px 9px 9px}
 #app .c11-scroll{padding:0 5px!important}
 #app .c11-table{min-width:560px}
 #app .c11-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;padding:8px!important;gap:7px!important}
 #app .c11-metrics>div{padding:10px}
 #app .c11-metrics b{font-size:13px}
 #app .c11-nutri,#app .c11-method{grid-template-columns:minmax(0,1fr)!important;padding:0 10px}
 #app .c11-sheet footer{flex-wrap:wrap}
 #app .c14-stats,.c14-rings{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px}
 #app .c14-stats>div{padding:12px}
 #app .c14-stats b{font-size:17px}
 #app .c14-panels{grid-template-columns:minmax(0,1fr)!important}
 #app .c14-ring{width:110px;height:110px}
 #app .c14-ring b{font-size:18px}
 #app .v7-guest{margin-inline:0!important;width:100%!important}
 #app .v7-guest-dishes{grid-template-columns:minmax(0,1fr)!important}
 #app .v7-guest-dish{grid-template-columns:100px minmax(0,1fr)!important;padding:9px!important;gap:9px!important}
 #app .v7-dish-img{width:100px!important;height:110px!important}
}
@media(max-width:400px){
 #app .c11-fields{grid-template-columns:minmax(0,1fr)!important}
 #app .c11-head h1{font-size:24px}
 #app .v7-guest-dish{grid-template-columns:88px minmax(0,1fr)!important}
 #app .v7-dish-img{width:88px!important;height:96px!important}
}
@media print{
 html,body,#app{overflow:visible!important}
 #k15-storage-toast,#k15-storage-panel,.k15-manage-btn{display:none!important}
}
