
:root{--b:#6558ef;--b2:#8e83ff;--bg:#f4f6fb;--c:#fff;--i:#15192d;--m:#727a90;--l:#e2e6ef;--ok:#13825d}
*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,"Noto Sans CJK SC","Noto Sans SC","Noto Sans JP","Hiragino Sans","Yu Gothic",Arial,sans-serif;background:var(--bg);color:var(--i)}
button,input,select,textarea{font:inherit}button{cursor:pointer}.hide{display:none!important}.muted{color:var(--m)}
.top{height:66px;background:#fff;border-bottom:1px solid var(--l);display:flex;align-items:center;justify-content:space-between;padding:0 16px;position:sticky;top:0;z-index:20}
.logo{font-size:22px;font-weight:900}.logo span{color:var(--b)}.btn{border:0;border-radius:11px;padding:11px 14px;font-weight:800}.p{background:var(--b);color:#fff}.s{background:#fff;border:1px solid #dfe3eb;color:var(--i)}
.hero{padding:64px 18px;background:linear-gradient(135deg,var(--b),var(--b2));color:#fff;text-align:center}.hero h1{font-size:44px;line-height:1.05;max-width:850px;margin:0 auto 14px}.hero p{max-width:720px;margin:auto;font-size:18px}.acts{display:flex;gap:9px;flex-wrap:wrap;justify-content:center;margin-top:22px}
.sec{max-width:1120px;margin:auto;padding:34px 16px}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.card,.panel{background:#fff;border:1px solid var(--l);border-radius:17px;padding:18px}.click:hover{border-color:#bdb5ff}.card h3{margin-top:0}.metric{font-size:30px;font-weight:900}
.row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:13px 0;border-bottom:1px solid #edf0f5}.row:last-child{border-bottom:0}
.badge{display:inline-block;padding:5px 9px;border-radius:999px;background:#eceaff;color:#5146cf;font-size:12px;font-weight:800;white-space:nowrap;word-break:normal;overflow-wrap:normal}.ok{background:#e9f7f1;color:var(--ok)}.warn,.badge.partial{background:#fff0c7;color:#7a5100}.badge.partial{border:1px solid #efc25a}.payment-partial-card{border:2px solid #e2aa2f!important;background:#fffaf0!important}.payment-partial-banner{margin-top:10px;padding:10px 12px;border-radius:11px;background:#fff0c7;color:#6f4a00;font-weight:800;line-height:1.4}.payment-progress{height:8px;border-radius:999px;background:#eee8dc;overflow:hidden;margin-top:8px}.payment-progress>span{display:block;height:100%;background:#d79a17;border-radius:999px}
.field{margin:13px 0}.field label{display:block;font-size:13px;font-weight:800;margin-bottom:6px}.field input,.field select,.field textarea{width:100%;padding:12px;border:1px solid #dfe3eb;border-radius:10px;background:#fff}.field textarea{min-height:105px}
.cols2{display:grid;grid-template-columns:1fr 1fr;gap:13px}.slots{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.slot{padding:11px;border:1px solid #dfe3eb;background:#fff;border-radius:10px;font-weight:800;display:grid;gap:3px;text-align:center}.slot small{font-size:11px;font-weight:800;color:var(--m)}.slot.on{background:#eeecff;border:2px solid var(--b);color:#5045cb}.slot:disabled{cursor:not-allowed;background:#f1f2f5;border-color:#e2e4e9;color:#858b99;opacity:1!important}.slot:disabled small{color:#9a9fac}
.public-calendar{border:1px solid var(--l);border-radius:15px;padding:14px;background:#fafaff;margin-bottom:14px}.public-calendar-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.public-calendar-head strong{text-transform:capitalize}.public-calendar-nav{width:42px;height:38px;border:1px solid #dfe3eb;border-radius:10px;background:#fff;font-size:23px;line-height:1}.public-calendar-nav:disabled{opacity:.35;cursor:not-allowed}.public-calendar-weekdays,.public-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:6px}.public-calendar-weekdays span{text-align:center;color:var(--m);font-size:11px;font-weight:900;text-transform:uppercase;padding:4px 0}.public-calendar-day{min-height:46px;border:1px solid #dfe3eb;border-radius:10px;background:#fff;font-weight:850;padding:7px 3px}.public-calendar-day:hover:not(:disabled){border-color:var(--b);color:#5146cf}.public-calendar-day.on{background:var(--b);border-color:var(--b);color:#fff}.public-calendar-day:disabled{background:#f2f3f6;color:#abb0ba;cursor:not-allowed}.public-calendar-empty{min-height:46px}
.shell{display:flex;min-height:100vh}.side{position:fixed;inset:0 auto 0 0;width:235px;background:#11162a;color:#fff;padding:18px;overflow:auto}.side .logo{margin:8px 0 22px}.side button{width:100%;border:0;border-radius:10px;padding:11px;background:transparent;color:#c9cfdf;text-align:left;margin:3px 0;font-weight:700}.side button.on,.side button:hover{background:#2a3050;color:#fff}.main{margin-left:235px;width:calc(100% - 235px)}
.shell .main>.top>b:first-child::after{content:"v138.76";display:inline-block;margin-left:6px;padding:2px 5px;border-radius:999px;background:#eeeaff;color:#5146cf;font-size:10px;vertical-align:middle}
.bos-picker-overlay{position:fixed;inset:0;z-index:9999;background:#0b1020aa;display:flex;align-items:flex-end;justify-content:center;padding:14px}.bos-picker-sheet{width:min(520px,100%);background:#fff;color:#12172b;border-radius:24px;padding:20px;box-shadow:0 18px 60px #0005}.bos-picker-title{font-size:24px;font-weight:900;margin-bottom:16px}.bos-picker-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.bos-picker-grid.time{grid-template-columns:repeat(2,minmax(0,1fr))}.bos-picker-grid label{display:grid;gap:6px;font-size:14px;font-weight:800}.bos-picker-grid select{width:100%;min-width:0;padding:13px 10px;border:1px solid #dfe2ea;border-radius:12px;background:#fff;font-size:18px}.bos-picker-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin-top:18px}.bos-picker-actions .btn{padding:11px 16px}.bos-local-picker{cursor:pointer;background:#fff}@media(max-width:560px){.bos-picker-sheet{padding:18px 15px;border-radius:22px}.bos-picker-title{font-size:21px}.bos-picker-grid{gap:7px}.bos-picker-grid select{font-size:16px;padding:12px 7px}}
.chips{display:flex;gap:8px;flex-wrap:wrap}.chip{padding:8px 11px;border:1px solid #dfe3eb;background:#fff;border-radius:999px}.chip.on{background:#eceaff;color:#5146cf}
.tbl{width:100%;border-collapse:collapse}.tbl td,.tbl th{padding:11px 8px;border-bottom:1px solid #edf0f5;text-align:left}.tbl th{color:var(--m);font-size:12px}
.builder{display:grid;grid-template-columns:210px 1fr 250px;gap:13px}.box{background:#fff;border:1px solid var(--l);border-radius:15px;padding:14px;height:max-content}.canvas{background:#e9ebf2;border-radius:15px;padding:16px}.preview{background:#fff;border-radius:14px;overflow:hidden}.pvhero{padding:48px 18px;text-align:center;color:#fff;background:linear-gradient(135deg,var(--b),var(--b2))}.pvblock{padding:25px;border-bottom:1px solid #edf0f5}
.toast{position:fixed;right:14px;bottom:14px;background:#11162a;color:#fff;border-radius:10px;padding:11px 13px;z-index:99}
.steps{display:flex;gap:8px;overflow:auto;margin:15px 0}.step{min-width:105px;flex:1;text-align:center;padding:9px;border-radius:10px;background:#e9ebf4;font-size:12px}.step.on{background:#dedaff;color:#4f44cb;font-weight:800}
.choices{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.choice{border:2px solid #e5e7ee;background:#fff;border-radius:13px;padding:16px;text-align:left}
.choice.on{position:relative;border-color:var(--b)!important;background:#f1efff!important;box-shadow:0 0 0 3px #6657ee24}.choice.on::after{content:"✓";position:absolute;top:9px;right:9px;width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:var(--b);color:#fff;font-size:15px;font-weight:900}.choice.on>.row{padding-right:28px!important}
button[onclick*="refreshPublicAvailability"]{white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;flex:0 0 auto!important;min-width:max-content}
.choice>.row{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:start}.choice>.row>b:first-child{min-width:0}.choice>.row>b:last-child{white-space:nowrap;word-break:normal;overflow-wrap:normal}

.authwrap{max-width:560px;margin:48px auto}.authcard{background:#fff;border:1px solid var(--l);border-radius:20px;padding:24px;box-shadow:0 12px 35px rgba(20,24,45,.08)}.customer-surface{min-height:100vh;background:#f7f8fb}.customer-top{background:#fff;border-bottom:1px solid #e7e9ef}.customer-powered{max-width:760px;margin:24px auto 0;padding:16px 14px 24px;text-align:center;color:#8a90a0;font-size:12px;line-height:1.45}.customer-powered a{color:#62697a;text-decoration:none;font-weight:850}.customer-powered a:hover{text-decoration:underline}.customer-brand{font-size:20px;font-weight:900;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.customer-auth-back{white-space:nowrap}@media(max-width:560px){.customer-powered{font-size:11px}.customer-brand{font-size:17px}.customer-top{padding-left:10px;padding-right:10px}}.authcard h1{margin-top:0}.authswitch{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:18px}.authmsg{padding:11px 12px;border-radius:10px;margin:10px 0;font-size:14px}.seller-signup-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.seller-signup-grid .wide{grid-column:1/-1}.seller-signup-note{margin:0 0 16px;padding:12px 13px;border-radius:12px;background:#f6f7ff;color:#4f5670;font-size:13px;line-height:1.45;border:1px solid #e5e7ff}@media(max-width:560px){.seller-signup-grid{grid-template-columns:1fr}.seller-signup-grid .wide{grid-column:auto}}.authmsg.ok{background:#e9f7f1;color:#0f6d4d}.authmsg.err{background:#fff0f0;color:#a22}.userchip{font-size:13px;padding:8px 10px;border-radius:999px;background:#f2f0ff;color:#5146cf;font-weight:700;max-width:220px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.topactions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
.ui-lang-select{border:1px solid #dfe3eb;background:#fff;border-radius:10px;padding:9px 10px;font-weight:800;max-width:155px;color:var(--i)}
.ui-lang-wrap{display:inline-flex;align-items:center;gap:6px}.ui-lang-wrap:before{content:'🌐';font-size:16px}
.btn,.side button,.card,.panel,.row,.tbl td,.tbl th{overflow-wrap:anywhere}.ui-lang-select{min-width:118px}

@media(max-width:850px){.side{width:70px;padding:10px}.side .logo{font-size:0}.side .logo span{font-size:18px}.side button{font-size:0;text-align:center}.side button b{font-size:18px}.main{margin-left:70px;width:calc(100% - 70px)}.grid{grid-template-columns:1fr 1fr}.builder{grid-template-columns:1fr}.builder .box{position:static}.hero h1{font-size:35px}.top{height:auto;min-height:66px;align-items:flex-start;gap:8px;padding:10px 12px;flex-direction:column}.topactions{width:100%;justify-content:flex-start}.topactions .business-top-selector{flex:1 1 180px;max-width:none!important;min-width:0}.topactions .userchip{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}}
@media(max-width:560px){.grid,.cols2,.choices{grid-template-columns:1fr}.slots{grid-template-columns:1fr 1fr}.public-calendar{padding:10px}.public-calendar-weekdays,.public-calendar-grid{gap:4px}.public-calendar-day,.public-calendar-empty{min-height:42px}.hero h1{font-size:31px}.sec{padding:26px 10px}.topactions .business-top-selector{display:none}.topactions .btn{padding:9px 11px}.business-switch-panel{display:block!important}.business-switch-panel .field{margin:0 0 10px}.business-switch-panel select{font-size:16px}.main>.sec{padding-left:10px;padding-right:10px}.main .panel{padding:14px}.booking-table,.booking-table tbody,.booking-table tr,.booking-table td{display:block;width:100%}.booking-table thead{display:none}.booking-table tbody{display:grid;gap:12px}.booking-table tr{background:#fff;border:1px solid var(--l);border-radius:14px;padding:14px;box-shadow:0 3px 10px rgba(20,24,45,.04)}.booking-table td{border:0!important;padding:7px 0!important;min-width:0;overflow-wrap:normal!important;word-break:normal!important}.booking-table td:before{content:attr(data-label);display:block;color:var(--m);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.03em;margin-bottom:3px}.booking-table td:first-child:before{display:none}.booking-table td:first-child{padding-top:0!important;font-size:16px}.booking-table td.booking-actions{padding-top:10px!important}.booking-table td.booking-actions:before{display:none}.booking-actions-wrap{display:grid!important;grid-template-columns:1fr 1fr;gap:8px!important}.booking-actions-wrap .btn{width:100%;min-width:0;padding:10px 8px;white-space:normal}.booking-actions-wrap .btn:last-child:nth-child(odd){grid-column:1/-1}.booking-table .badge{max-width:100%;white-space:normal}.booking-empty{padding:12px 0!important}.booking-empty:before{display:none!important}}
/* v12: layout robusto della sezione Servizi */
.services-table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.services-table{min-width:1320px}
.services-table td,.services-table th{overflow-wrap:normal!important;word-break:normal!important;vertical-align:top}
.services-table td:first-child{min-width:230px}
.services-table td:nth-child(2){min-width:95px;white-space:nowrap}
.services-table td:nth-child(3){min-width:185px}
.services-table td:nth-child(8){min-width:200px}
.services-table td:nth-child(9){min-width:205px}
.services-table td:last-child{min-width:190px;white-space:nowrap}
.services-table select,.services-table input{max-width:100%}
@media(max-width:560px){
 .services-table-wrap{overflow:visible}
 .services-table{min-width:0}
 .services-table,.services-table tbody,.services-table tr,.services-table td{display:block;width:100%}
 .services-table thead{display:none}
 .services-table tbody{display:grid;gap:12px}
 .services-table tr{background:#fff;border:1px solid var(--l);border-radius:14px;padding:14px;box-shadow:0 3px 10px rgba(20,24,45,.04)}
 .services-table td{border:0!important;padding:8px 0!important;min-width:0!important;white-space:normal!important}
 .services-table td:before{content:attr(data-label);display:block;color:var(--m);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.03em;margin-bottom:4px}
 .services-table td:first-child:before{display:none}
 .services-table td:first-child{padding-top:0!important;font-size:17px}
 .services-table select,.services-table input{width:100%!important;min-width:0!important;max-width:100%!important}
 .services-table td:last-child{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding-top:12px!important}
 .services-table td:last-child:before{grid-column:1/-1}
 .services-table td:last-child .btn{width:100%;min-width:0;white-space:normal}
}
.service-edit-overlay{align-items:center}
.service-edit-overlay .modal-sheet{width:min(760px,100%);border-radius:20px}


/* v13: layout robusto della sezione Operatori / Risorse */
#resourcesPanel .row{flex-wrap:wrap;align-items:flex-start}
#resourcesPanel .row>div:first-child{flex:1 1 260px;min-width:220px;overflow-wrap:normal!important;word-break:normal!important}
#resourcesPanel .panel>.row>select{flex:1 1 250px;min-width:220px;max-width:320px!important}
#resourcesPanel .row>div:last-child:not(:first-child){max-width:100%}
#resourcesPanel .panel{overflow:hidden}
@media(max-width:560px){
 #resourcesPanel .panel{padding:14px!important}
 #resourcesPanel .row{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;width:100%;padding:10px 0}
 #resourcesPanel .row>div:first-child{min-width:0;width:100%;overflow-wrap:normal!important;word-break:normal!important}
 #resourcesPanel .row>div:first-child b{display:block;overflow-wrap:normal!important;word-break:normal!important;white-space:normal}
 #resourcesPanel .panel>.row>select{width:100%!important;min-width:0!important;max-width:100%!important}
 #resourcesPanel .row>div:last-child:not(:first-child){width:100%;justify-content:flex-start!important}
 #resourcesPanel .choices{grid-template-columns:1fr}
 #resourcesPanel .choice{min-width:0;overflow-wrap:normal!important;word-break:normal!important}
}


/* v14: layout robusto della sezione Personale & alert */
#staffTeamList .staff-team-row{align-items:flex-start;flex-wrap:wrap}
#staffTeamList .staff-team-info{flex:1 1 360px;min-width:260px;overflow-wrap:normal!important;word-break:normal!important}
#staffTeamList .staff-team-info>b{overflow-wrap:normal!important;word-break:normal!important}
#staffTeamList .staff-team-info>.muted{overflow-wrap:anywhere!important;word-break:normal!important}
#staffTeamList .staff-team-actions{display:flex;gap:8px;flex-wrap:wrap;justify-content:flex-end;flex:0 1 auto;max-width:100%}
#staffAlertList .staff-alert-head{align-items:flex-start;flex-wrap:wrap}
#staffAlertList .staff-alert-head>div{flex:1 1 260px;min-width:0;overflow-wrap:normal!important;word-break:normal!important}
#staffAlertList .staff-alert-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center}
.field:has(input[data-staff-cap])>div{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(175px,1fr));gap:8px!important}
.field:has(input[data-staff-cap]) .switch-row{width:100%;min-width:0;align-items:center!important}
.field:has(input[data-staff-cap]) .switch-row input{flex:0 0 auto;margin:0!important}
.field:has(input[data-staff-cap]) .switch-row span{min-width:0;overflow-wrap:normal;word-break:normal}
@media(max-width:560px){
 #staffTeamList .staff-team-row{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;width:100%;padding:14px 0}
 #staffTeamList .staff-team-info{min-width:0;width:100%}
 #staffTeamList .staff-team-info .badge{margin:3px 2px 3px 0}
 #staffTeamList .staff-team-actions{display:grid!important;grid-template-columns:1fr 1fr;width:100%;gap:8px!important;justify-content:stretch}
 #staffTeamList .staff-team-actions .btn{width:100%;min-width:0;white-space:normal;overflow-wrap:normal!important;word-break:normal!important}
 #staffTeamList .staff-team-actions .btn:last-child:nth-child(odd){grid-column:1/-1}
 #staffAlertList .ops-card{min-width:0}
 #staffAlertList .staff-alert-head{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
 #staffAlertList .staff-alert-head>div{min-width:0;width:100%}
 #staffAlertList .staff-alert-head>.badge{justify-self:start}
 #staffAlertList .staff-alert-actions{display:grid!important;grid-template-columns:1fr 1fr;width:100%;gap:8px!important}
 #staffAlertList .staff-alert-actions select{grid-column:1/-1;width:100%!important;min-width:0!important;max-width:100%!important;padding:10px}
 #staffAlertList .staff-alert-actions .btn{width:100%;min-width:0;white-space:normal;overflow-wrap:normal!important;word-break:normal!important}
 #staffAlertList .staff-alert-actions .btn:last-child:nth-child(even){grid-column:1/-1}
 .field:has(input[data-staff-cap])>div{grid-template-columns:1fr!important}
}


/* v127: Ingredienti Menu & QR compatti, una riga per ingrediente */
.restaurant-ingredient-card{min-width:0;overflow-x:auto;overflow-y:hidden;padding:8px 10px!important}
.restaurant-ingredient-compact{display:grid;grid-template-columns:minmax(170px,2fr) minmax(118px,auto) minmax(128px,auto) minmax(148px,auto) minmax(82px,auto) 42px 78px;gap:8px;align-items:center;min-width:800px;width:100%}
.restaurant-ingredient-name{min-width:0}
.restaurant-ingredient-name input{width:100%;min-width:0;max-width:100%;font-weight:800;padding:9px 10px}
.restaurant-ingredient-toggle{display:inline-flex;align-items:center;gap:6px;min-width:0;margin:0;padding:7px 8px;border:1px solid #e3e6ee;border-radius:10px;background:#fff;white-space:nowrap;font-size:13px;font-weight:700}
.restaurant-ingredient-toggle input{flex:0 0 auto;margin:0}
.restaurant-ingredient-price{display:grid;grid-template-columns:auto 70px;gap:6px;align-items:center;white-space:nowrap;font-size:12px;font-weight:700;color:#4e5565}
.restaurant-ingredient-price input{width:70px;min-width:0;padding:8px 7px;text-align:right}
.restaurant-ingredient-price input:disabled{opacity:.55;background:#f5f6f8}
.restaurant-ingredient-scope{min-width:0;text-align:center;white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;display:block}
.restaurant-ingredient-exception-btn{width:42px!important;min-width:42px!important;padding:8px 0!important;font-size:16px!important;line-height:1!important}
.restaurant-ingredient-delete{min-width:78px!important;padding:8px 10px!important;white-space:nowrap!important}
.restaurant-ingredient-exception-panel{margin-top:8px;padding:10px;border-top:1px solid #eceef4;min-width:800px}
.restaurant-ingredient-exception-panel[hidden]{display:none!important}
.restaurant-ingredient-card .badge{max-width:100%}
.menu-item-card>div:nth-child(2){min-width:0;overflow-wrap:normal!important;word-break:normal!important}
.menu-item-card>div:nth-child(2)>.menu-item-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}
@media(max-width:560px){
 .restaurant-ingredient-card{padding:8px!important;margin:6px 0!important;-webkit-overflow-scrolling:touch}
 .restaurant-ingredient-compact{min-width:760px;grid-template-columns:minmax(155px,1.7fr) 112px 122px 140px 78px 40px 74px;gap:6px}
 .restaurant-ingredient-toggle{padding:7px 6px;font-size:12px}
 .restaurant-ingredient-price{font-size:11px;grid-template-columns:auto 64px}
 .restaurant-ingredient-price input{width:64px}
 .restaurant-ingredient-exception-panel{min-width:760px}
 .menu-item-card{grid-template-columns:64px minmax(0,1fr)!important;gap:10px!important}
 .menu-item-img{width:64px!important;height:58px!important}
 .menu-item-card>div:nth-child(2){min-width:0;width:100%}
 .menu-item-actions{display:grid!important;grid-template-columns:1fr 1fr;width:100%;gap:8px!important}
 .menu-item-actions .btn{width:100%;min-width:0;white-space:normal;overflow-wrap:normal!important;word-break:normal!important}
 .menu-item-actions .btn:last-child:nth-child(odd){grid-column:1/-1}
 .menu-item-card .authmsg .row{flex-wrap:wrap;align-items:flex-start}
 .menu-item-card .authmsg .row>span{flex:1 1 100%;min-width:0;overflow-wrap:normal!important;word-break:normal!important}
 .menu-item-card .authmsg .row>.btn{width:100%;min-width:0;white-space:normal;overflow-wrap:normal!important;word-break:normal!important}
}


/* v16: Menu & QR realmente a una colonna su smartphone */
.menu-editor-head>div{min-width:0;flex:1 1 auto}
.menu-editor-select{flex:0 1 260px;min-width:180px}
@media(max-width:560px){
 .menu-editor-panel{min-width:0;overflow:hidden}
 .menu-editor-head{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;align-items:start!important;width:100%}
 .menu-editor-head>div{min-width:0!important;width:100%!important}
 .menu-editor-head h3,.menu-editor-head .muted{overflow-wrap:normal!important;word-break:normal!important;white-space:normal!important}
 .menu-editor-select{width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box}
 .menu-editor-panel>.cols2{grid-template-columns:minmax(0,1fr)!important}
 .menu-editor-panel .menu-cat>.row{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;align-items:start!important;width:100%}
 .menu-editor-panel .menu-cat>.row>div{min-width:0!important;width:100%!important;overflow-wrap:normal!important;word-break:normal!important}
 .menu-editor-panel .menu-cat>.row>.btn{width:100%!important;min-width:0!important;white-space:normal!important}
 .menu-editor-panel .menu-item-card{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;align-items:start!important;width:100%}
 .menu-editor-panel .menu-item-img{grid-column:1!important;width:100%!important;max-width:100%!important;height:140px!important;object-fit:cover!important}
 .menu-editor-panel .menu-item-card>div:nth-child(2){grid-column:1!important;min-width:0!important;width:100%!important;overflow-wrap:normal!important;word-break:normal!important}
 .menu-editor-panel .menu-item-card>div:nth-child(2)>b,.menu-editor-panel .menu-item-card>div:nth-child(2)>.muted{overflow-wrap:normal!important;word-break:normal!important}
 .menu-editor-panel .menu-item-actions{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;width:100%!important}
 .menu-editor-panel .menu-item-actions .badge,.menu-editor-panel .menu-item-actions .btn{width:100%!important;min-width:0!important;box-sizing:border-box;text-align:center;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important}
 .menu-editor-panel .menu-price{grid-column:1!important;text-align:left!important;width:100%!important;margin-top:0!important}
 .menu-editor-panel .authmsg .cols2,.menu-editor-panel details .cols2{grid-template-columns:minmax(0,1fr)!important}
}
#customerQr{display:flex;justify-content:center;align-items:center;padding:14px;background:#fff;border-radius:14px;margin:12px auto;max-width:260px}
#customerQr img,#customerQr canvas{max-width:220px!important;width:100%!important;height:auto!important}
.qrscan{position:relative;overflow:hidden;border-radius:14px;background:#0f1324;min-height:220px;display:flex;align-items:center;justify-content:center}
.qrscan video{width:100%;max-height:360px;object-fit:cover;display:block}
.qrscan .hint{position:absolute;left:12px;right:12px;bottom:12px;background:rgba(0,0,0,.66);color:#fff;padding:8px 10px;border-radius:9px;font-size:13px;text-align:center}

.portal-booking-item{padding:14px 0;border-bottom:1px solid #edf0f5}.portal-booking-item:last-child{border-bottom:0}.portal-booking-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.portal-booking-meta{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;margin-top:8px;color:var(--m)}.portal-credit-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:14px 0;border-bottom:1px solid #edf0f5}.portal-credit-row:last-child{border-bottom:0}.portal-amount{font-weight:900;text-align:right;white-space:nowrap}.portal-qr-wrap{display:flex;justify-content:center}.portal-qr-wrap img,.portal-qr-wrap canvas{max-width:190px!important;width:100%!important;height:auto!important}.portal-subnav{display:flex;gap:8px;flex-wrap:wrap}.portal-self-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.portal-policy{font-size:13px;color:var(--m);margin-top:8px}.portal-pref-card{padding:14px 0;border-bottom:1px solid #edf0f5}.portal-pref-card:last-child{border-bottom:0}
.wq-policy-card{margin:14px 0;padding:15px;border:1px solid #d8ddf0;border-radius:15px;background:#f7f8ff;color:#20243a}.wq-policy-head{display:flex;gap:10px;align-items:flex-start}.wq-policy-icon{display:grid;place-items:center;flex:0 0 auto;width:32px;height:32px;border-radius:10px;background:#e6e9ff}.wq-policy-head b{display:block;font-size:15px}.wq-policy-head small{display:block;margin-top:3px;color:#697087;line-height:1.4}.wq-policy-list{margin:12px 0 0;padding-left:20px}.wq-policy-list li{margin:7px 0;line-height:1.45}.wq-policy-rights{margin:12px 0 0;padding-top:11px;border-top:1px solid #dfe3f1;color:#697087;font-size:13px;line-height:1.45}.wq-policy-card.seller-preview{border-color:#7b78db;background:#f3f2ff}.wq-policy-preview-label{display:block;margin:16px 0 6px;font-size:13px;font-weight:850;color:var(--m)}
body.bos-ops-dark .wq-policy-card{background:#111a31;color:#edf1ff;border-color:#34406d}body.bos-ops-dark .wq-policy-card.seller-preview{background:#161a3a;border-color:#625fd6}body.bos-ops-dark .wq-policy-icon{background:#252c58}body.bos-ops-dark .wq-policy-head small,body.bos-ops-dark .wq-policy-rights{color:#aeb8d8}body.bos-ops-dark .wq-policy-rights{border-top-color:#34406d}
.portal-account-email{display:grid;grid-template-columns:minmax(0,110px) minmax(0,1fr);gap:14px;align-items:center}.portal-account-email b{min-width:0;text-align:right;white-space:nowrap;font-size:clamp(12px,3.4vw,16px)}
@media(max-width:560px){.portal-booking-head{display:block}.portal-booking-head .badge{margin-top:8px}.portal-booking-meta{grid-template-columns:1fr}.portal-credit-row{grid-template-columns:1fr auto}.portal-qr-wrap{margin-top:12px}.portal-subnav .btn{flex:1 1 auto}.panel h2{font-size:27px}.metric{font-size:28px}}
@media(max-width:560px){.wq-policy-card{padding:13px}.wq-policy-list{padding-left:18px}.wq-policy-head b{font-size:14px}}



/* v18: checkbox filtri alimentari allineati */
.dietary-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.field label.dietary-check{display:flex;align-items:center;gap:9px;margin:0;padding:10px 12px;border:1px solid #e2e5ed;border-radius:11px;background:#fff;font-size:13px;font-weight:800;line-height:1.2;min-width:0}
.field label.dietary-check input[type=checkbox]{width:22px!important;height:22px!important;min-width:22px!important;max-width:22px!important;flex:0 0 22px;margin:0!important;padding:0!important}
.field label.dietary-check span{min-width:0;overflow-wrap:normal!important;word-break:normal!important}
@media(max-width:420px){.dietary-check-grid{grid-template-columns:1fr}}

/* v17: modifica voce menu + caricamento foto diretto */
.menu-image-upload{border:1px dashed #cfd4df;border-radius:12px;padding:12px;background:#fafbfe}
.menu-image-upload input[type=file]{display:none}
.localized-file-picker{display:flex;gap:10px;align-items:center;flex-wrap:wrap;width:100%}
.localized-file-picker .localized-file-name{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.menu-image-preview{display:block;width:100%;max-width:260px;height:150px;object-fit:cover;border-radius:12px;background:#eef0f5;margin-top:10px}
.menu-item-edit-panel{margin-top:10px}
.menu-item-edit-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
@media(max-width:560px){
 .menu-image-preview{max-width:100%;height:180px}
 .menu-item-edit-actions{display:grid;grid-template-columns:1fr;width:100%}
 .menu-item-edit-actions .btn{width:100%}
}
.menu-cat{margin:16px 0}.menu-item-card{display:grid;grid-template-columns:92px minmax(0,1fr) auto;gap:12px;align-items:start;padding:14px 0;border-bottom:1px solid #edf0f5}.menu-item-card:last-child{border-bottom:0}.menu-item-card.unavailable{opacity:.55}.menu-item-img{width:92px;height:76px;border-radius:12px;object-fit:cover;background:#eef0f5}.menu-price{font-weight:900;white-space:nowrap}.qr-card{display:flex;gap:16px;align-items:center;flex-wrap:wrap;padding:14px;border:1px solid #e3e5ed;border-radius:14px;margin:10px 0}.qr-card .qrbox{width:150px;min-width:150px;height:150px;background:#fff;display:flex;align-items:center;justify-content:center;padding:5px}.qr-card .qrbox img,.qr-card .qrbox canvas{max-width:140px!important;max-height:140px!important}.public-menu-hero{padding:32px 18px;background:linear-gradient(135deg,var(--b),var(--b2));color:#fff;text-align:center}.public-menu-wrap{max-width:760px;margin:auto;padding:20px 14px 110px}.public-menu-cat{background:#fff;border:1px solid var(--l);border-radius:18px;padding:18px;margin:14px 0}.public-menu-item{display:grid;grid-template-columns:90px minmax(0,1fr) auto;gap:14px;align-items:start;padding:16px 0;border-bottom:1px solid #edf0f5}.public-menu-item.no-image{grid-template-columns:minmax(0,1fr) auto}.public-menu-item:last-child{border-bottom:0}.public-menu-item.unavailable{opacity:.55}.public-menu-thumb{width:90px;height:78px;object-fit:cover;border-radius:12px;background:#eef0f5;display:block}.dietary-filters{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0 16px}.filter-chip{border:1px solid #dfe3eb;background:#fff;border-radius:999px;padding:8px 12px;font-weight:800;cursor:pointer}.filter-chip.on{background:#eeeaff;border-color:#c7bfff;color:#4938d4}.dietary-badges{display:flex;gap:5px;flex-wrap:wrap;margin-top:7px}.dietary-badges .badge{font-size:11px}.menu-actions{position:sticky;bottom:10px;z-index:8;display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin:18px auto 0;padding:10px;background:rgba(255,255,255,.95);border:1px solid #e0e3eb;border-radius:16px;box-shadow:0 8px 28px rgba(15,19,36,.12)}.order-add{margin-top:9px}.cart-fab{position:fixed;left:50%;transform:translateX(-50%);bottom:18px;z-index:30;min-width:240px;max-width:calc(100vw - 28px);box-shadow:0 10px 30px rgba(15,19,36,.25)}.modal-overlay{position:fixed;inset:0;background:rgba(15,19,36,.55);display:flex;align-items:flex-end;justify-content:center;z-index:60;padding:14px}.modal-sheet{background:#fff;border-radius:20px 20px 12px 12px;width:min(680px,100%);max-height:88vh;overflow:auto;padding:18px}.modifier-row{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:10px 0;border-bottom:1px solid #edf0f5}.modifier-row:last-child{border-bottom:0}.order-line{padding:12px 0;border-bottom:1px solid #edf0f5}.public-order-line-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:start}.public-order-line-main{min-width:0;overflow-wrap:anywhere}.public-order-remove-btn{min-width:104px;flex:0 0 auto;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;text-align:center}.ops-card{border:1px solid #e1e4ed;border-radius:14px;padding:14px;margin:10px 0}.ops-card.urgent{border-color:#ffb4b4;background:#fff8f8}.bill-request-card{border:2px solid #d18b00!important;background:#fff9e8!important;box-shadow:0 0 0 2px rgba(209,139,0,.08)}.bill-request-banner{margin:0 0 10px;padding:11px 12px;border-radius:11px;background:#ffe6a8;border:1px solid #e3ae39;color:#6e4600;font-weight:950;line-height:1.35}.bill-request-banner .bill-request-sub{display:block;margin-top:3px;font-size:12px;font-weight:750}.badge.bill-request{background:#ffe6a8;color:#6e4600;border:1px solid #e3ae39}.seller-bill-global{border:3px solid #d18b00!important;background:#fff5d9!important;box-shadow:0 7px 22px rgba(177,112,0,.14);margin:0 0 14px}.seller-bill-global h2{margin:0;color:#6e4600}.seller-bill-global-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 0;border-top:1px solid #ecd49c}.seller-bill-global-row:first-of-type{margin-top:8px}.seller-nav-alert{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;margin-left:6px;border-radius:999px;background:#ffbd39;color:#4d3100;font-size:11px!important;font-weight:950;vertical-align:middle}.seller-bill-due{font-size:18px;font-weight:950;color:#8a5400;white-space:nowrap}@media(max-width:560px){.seller-bill-global-row{grid-template-columns:1fr}.seller-bill-due{white-space:normal}.seller-bill-global .btn{width:100%}}.ops-items{margin:8px 0 0;padding-left:18px}.restaurant-settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.switch-row{display:flex;gap:10px;align-items:flex-start;padding:10px;border:1px solid #e2e5ed;border-radius:12px}.switch-row input{margin-top:3px}@media(max-width:560px){.menu-item-card{grid-template-columns:72px minmax(0,1fr)}.menu-item-img{width:72px;height:64px}.menu-price{grid-column:2;text-align:left}.public-menu-item,.public-menu-item.no-image{grid-template-columns:1fr}.public-menu-thumb{width:100%;height:180px}.public-menu-item .menu-price{grid-column:1;text-align:left;margin-top:2px}.qr-card{display:block}.qr-card .qrbox{margin:0 auto 12px}.restaurant-settings-grid{grid-template-columns:1fr}.menu-actions .btn{flex:1 1 45%}.public-menu-cat{padding:16px}.public-menu-item b{font-size:18px;line-height:1.2}.ops-items .row{display:block}.ops-items .row>.badge{display:none}.public-order-line-row{grid-template-columns:minmax(0,1fr) 112px;gap:10px}.public-order-remove-btn{width:112px;min-width:112px;padding-left:10px!important;padding-right:10px!important}}
.configuration-library-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center}
.configuration-library-row>span{min-width:0}
.configuration-library-row>.btn{min-width:88px;white-space:nowrap!important;word-break:keep-all!important;overflow-wrap:normal!important;padding-left:18px;padding-right:18px}
.public-extra-list{display:grid;gap:8px;margin:8px 0 12px}.public-extra-list .modifier-row{background:#fff;border:1px solid #e4e6ef;border-radius:14px;padding:12px}.public-extra-list .btn{white-space:nowrap}.customer-list{display:grid;gap:12px}.customer-card{border:1px solid #e1e4ed;border-radius:14px;padding:15px}.customer-card-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.customer-card-name{font-size:18px;font-weight:900;min-width:0;overflow-wrap:anywhere}.customer-card-contact{margin-top:9px;line-height:1.55;overflow-wrap:anywhere;word-break:break-word}.customer-card-notes{margin-top:10px;padding-top:10px;border-top:1px solid #edf0f5;overflow-wrap:anywhere}.customer-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}.customer-card-actions .btn{white-space:nowrap}.package-table-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.package-table{min-width:620px}.package-table th,.package-table td{white-space:nowrap;word-break:normal;overflow-wrap:normal}.package-table td:first-child{white-space:normal;min-width:150px}.package-mobile-list{display:none}.package-mobile-card{border:1px solid #e1e4ed;border-radius:14px;padding:15px;margin:10px 0}.package-mobile-card h3{margin:0;overflow-wrap:anywhere}.package-mobile-description{margin:6px 0 12px;overflow-wrap:anywhere}.package-mobile-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.package-mobile-field{min-width:0;padding:10px;border-radius:10px;background:#f7f7fb}.package-mobile-field span{display:block;font-size:12px;color:#727787;font-weight:700;margin-bottom:4px}.package-mobile-field b{display:block;overflow-wrap:anywhere}.package-mobile-card .btn{width:100%;margin-top:12px}.customer-package-mobile-list{display:none}.customer-package-mobile-card{border:1px solid #e1e4ed;border-radius:14px;padding:15px;margin:10px 0}.customer-package-mobile-card h3{margin:0;overflow-wrap:anywhere}.customer-package-mobile-subtitle{margin:5px 0 12px;overflow-wrap:anywhere}.customer-package-mobile-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.customer-package-mobile-field{min-width:0;padding:10px;border-radius:10px;background:#f7f7fb}.customer-package-mobile-field span{display:block;font-size:12px;color:#727787;font-weight:700;margin-bottom:4px}.customer-package-mobile-field b{display:block;overflow-wrap:anywhere}.customer-package-mobile-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.customer-package-mobile-actions .btn{width:100%;margin:0;white-space:normal}@media(max-width:560px){.restaurant-department-head>.badge{display:none!important}.restaurant-department-head{min-height:0}.customer-card-head{display:block}.customer-card-actions{display:grid;grid-template-columns:1fr 1fr}.customer-card-actions .btn{width:100%;padding:11px 8px}.customer-card-contact{font-size:16px}.package-table-wrap{display:none}.package-mobile-list,.customer-package-mobile-list{display:block}.customer-package-mobile-actions{grid-template-columns:1fr}.customer-package-mobile-grid{grid-template-columns:1fr 1fr}}@media(max-width:380px){.package-mobile-grid,.customer-package-mobile-grid{grid-template-columns:1fr}}
.menu-import-source-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.menu-import-drop{border:2px dashed #cfd4e2;border-radius:14px;padding:16px;background:#fafbff}.menu-import-drop input[type=file]{width:100%}.menu-import-preview{display:grid;gap:10px;margin-top:12px}.menu-import-row{border:1px solid #e1e4ed;border-radius:14px;padding:12px;background:#fff}.menu-import-row.off{opacity:.48}.menu-import-row-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:8px}.menu-import-fields{display:grid;grid-template-columns:1.1fr 1.4fr .7fr .8fr;gap:8px}.menu-import-fields .field{margin:4px 0}.menu-import-description{grid-column:1/-1}.menu-import-summary{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0}.menu-import-progress{font-size:13px;font-weight:750;margin-top:8px}.menu-import-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.menu-import-actions .btn{white-space:normal}@media(max-width:760px){.menu-import-source-grid{grid-template-columns:1fr}.menu-import-fields{grid-template-columns:1fr 1fr}.menu-import-description{grid-column:1/-1}}@media(max-width:480px){.menu-import-fields{grid-template-columns:1fr}.menu-import-description{grid-column:auto}.menu-import-row-head{align-items:flex-start}.menu-import-actions{display:grid;grid-template-columns:1fr}.menu-import-actions .btn{width:100%}}

.restaurant-printer-station{margin:12px 0;padding:12px;border:1px solid #d9dce8;border-radius:13px;background:#fbfbfe}.restaurant-printer-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.restaurant-printer-depts{display:flex;gap:7px;flex-wrap:wrap}.restaurant-printer-depts label{display:flex;gap:5px;align-items:center;padding:7px 9px;border:1px solid #d9dce8;border-radius:10px;background:#fff;font-size:12px;font-weight:750}.restaurant-printer-status{display:inline-flex;align-items:center;gap:6px;max-width:100%;white-space:normal}.restaurant-printer-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.restaurant-printer-actions .btn{flex:0 1 auto}@media(max-width:760px){.restaurant-printer-grid{grid-template-columns:1fr 1fr}.restaurant-printer-actions .btn{flex:1 1 145px}}@media(max-width:480px){.restaurant-printer-grid{grid-template-columns:1fr}.restaurant-printer-actions{display:grid;grid-template-columns:1fr}.restaurant-printer-actions .btn{width:100%}}.restaurant-production-toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:12px 0}.restaurant-production-toolbar .chip{font-weight:850;cursor:pointer}.restaurant-production-toolbar .chip.on{background:#6558ef;color:#fff;border-color:#6558ef;box-shadow:0 0 0 3px rgba(101,88,239,.22);font-weight:950}.restaurant-production-toolbar .chip:disabled,.restaurant-production-toolbar .chip.is-disabled{opacity:.38;cursor:not-allowed;box-shadow:none!important;transform:none!important}.restaurant-production-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:10px 0 14px}.restaurant-production-summary .card{padding:12px;text-align:center}.restaurant-production-summary .metric{font-size:23px}.restaurant-ticket-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:8px}.restaurant-notify-line{margin-top:8px;padding:8px 10px;border-radius:10px;background:#f7f7fb;border:1px solid #e5e7f0;font-size:12px}.restaurant-dept-filter-empty{padding:16px;border:1px dashed #cfd4e2;border-radius:13px;color:var(--m);text-align:center}@media(max-width:760px){.restaurant-production-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.restaurant-production-toolbar .chip{flex:1 1 auto}.restaurant-ticket-actions .btn{flex:1 1 145px}}@media(max-width:420px){.restaurant-production-summary{grid-template-columns:1fr 1fr}.restaurant-production-summary .card:last-child{grid-column:1/-1}.restaurant-ticket-actions{display:grid;grid-template-columns:1fr}.restaurant-ticket-actions .btn{width:100%}}

/* v94 · resilient offline restaurant order queue */
.marketing-range{display:flex;gap:8px;flex-wrap:wrap;margin:10px 0 16px}.marketing-range .chip{font-weight:850;cursor:pointer}.marketing-range .chip.on{background:var(--b);color:#fff;border-color:var(--b)}
.marketing-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:12px 0}.marketing-stat{background:#fff;border:1px solid var(--l);border-radius:15px;padding:14px;min-width:0}.marketing-stat .metric{font-size:25px;overflow-wrap:anywhere}.marketing-stat small{display:block;color:var(--m);font-weight:750;margin-top:4px}
.marketing-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px}.marketing-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.marketing-code-input-row{display:flex;gap:7px;align-items:stretch}.marketing-code-input-row input{min-width:0;flex:1 1 auto}.marketing-code-input-row .marketing-generate-btn{flex:0 0 auto;min-width:104px;white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;text-wrap:nowrap!important}.marketing-card-list{display:grid;gap:10px;margin-top:12px}.marketing-card{border:1px solid #e1e4ed;border-radius:14px;padding:14px;background:#fff;min-width:0}.marketing-card-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.marketing-code{display:inline-block;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-weight:900;letter-spacing:.6px;overflow-wrap:anywhere}.marketing-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:10px}.marketing-actions .btn{white-space:normal}.marketing-top-services{display:grid;gap:9px;margin-top:10px}.marketing-top-row{display:grid;grid-template-columns:minmax(110px,1fr) 2fr auto;gap:9px;align-items:center}.marketing-bar{height:9px;border-radius:999px;background:#ececf4;overflow:hidden}.marketing-bar>span{display:block;height:100%;background:var(--b);border-radius:999px}.offer-code-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.offer-price-breakdown{border:1px solid #ddd8ff;background:#faf9ff;border-radius:14px;padding:12px;margin:10px 0}.offer-price-breakdown .row{padding:8px 0}.offer-price-final{font-size:19px;font-weight:900}
@media(max-width:900px){.marketing-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.marketing-grid{grid-template-columns:1fr}}
@media(max-width:620px){.marketing-stats,.marketing-form-grid,.offer-code-grid{grid-template-columns:1fr}.marketing-card-head{display:block}.marketing-card-head .badge{margin-top:8px}.marketing-actions{display:grid;grid-template-columns:1fr}.marketing-actions .btn{width:100%}.marketing-top-row{grid-template-columns:minmax(90px,1fr) 1.4fr auto}.marketing-stat .metric{font-size:22px}}


/* v109 · responsive mobile robusto per Comande / Tavoli / Pagamenti */
.restaurant-ops-head h1,.restaurant-production-panel h1,.restaurant-production-panel h2,.restaurant-production-panel h3,.restaurant-production-panel h4,
.restaurant-printer-station b,.restaurant-printer-station label,.restaurant-printer-station .btn,.restaurant-printer-status,
.restaurant-production-head .btn,.restaurant-ticket-actions .btn{
  overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important
}
.restaurant-production-head>div,.restaurant-printer-head>div{min-width:0}
.restaurant-production-head>.btn,.restaurant-printer-head>.badge{flex:0 0 auto}

@media(max-width:560px){
  /* Recupera spazio reale per i contenuti senza cambiare la navigazione. */
  .side{width:54px!important;padding:8px 5px!important}
  .side .logo{margin:8px 0 16px!important;text-align:center}
  .side .logo span{font-size:16px!important}
  .side button{padding:9px 3px!important;min-height:44px!important;border-radius:10px!important}
  .side button b{font-size:20px!important;line-height:1!important}
  .main{margin-left:54px!important;width:calc(100% - 54px)!important;min-width:0!important}
  .main>.sec{padding-left:9px!important;padding-right:9px!important}
  .main .panel{min-width:0;max-width:100%}

  /* Titolo pagina: va a capo solo tra parole, mai dentro una parola. */
  .restaurant-ops-head{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;align-items:start!important}
  .restaurant-ops-head h1{font-size:28px!important;line-height:1.08!important;margin:0!important;min-width:0!important}
  .restaurant-ops-head .badge{justify-self:start!important;max-width:100%;white-space:normal!important}

  /* Testata Produzione: il pulsante non comprime più il testo. */
  .restaurant-production-head{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:11px!important;width:100%}
  .restaurant-production-head>.btn{width:100%!important;min-width:0!important;white-space:normal!important;line-height:1.2!important}
  .restaurant-production-panel h3{line-height:1.18!important}
  .restaurant-production-panel .muted{overflow-wrap:normal!important;word-break:normal!important}

  /* Testata stazione stampante: stato sotto al titolo, non in una colonna stretta. */
  .restaurant-printer-head{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;width:100%}
  .restaurant-printer-head>.badge{justify-self:start!important}
  .restaurant-printer-status{display:inline-flex!important;max-width:100%!important;white-space:normal!important;line-height:1.25!important;padding:7px 10px!important}

  /* Reparti: due colonne vere, senza parole verticali. */
  .restaurant-printer-depts{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;width:100%}
  .restaurant-printer-depts label{width:100%!important;min-width:0!important;min-height:44px!important;padding:9px 10px!important;font-size:13px!important;line-height:1.2!important;justify-content:flex-start!important;white-space:normal!important}
  .restaurant-printer-depts label input{flex:0 0 auto!important;margin:0!important}

  /* Pulsanti e switch della stampa: mai spezzare lettere singole. */
  .restaurant-printer-station .btn,.restaurant-ticket-actions .btn,
  .restaurant-production-panel .btn{word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;line-height:1.2!important}
  .restaurant-printer-station .switch-row{min-width:0;width:100%}
  .restaurant-printer-station .switch-row>span{min-width:0;overflow-wrap:normal!important;word-break:normal!important}
  .restaurant-printer-station .switch-row b{display:inline;line-height:1.25!important}

  /* Righe operative: lascia ai testi tutta la larghezza disponibile. */
  .restaurant-department-head{display:flex!important;flex-wrap:wrap!important;gap:8px!important;align-items:flex-start!important}
  .restaurant-department-head>div{min-width:0;flex:1 1 180px}
  .restaurant-ticket-actions{width:100%}
  .restaurant-ticket-actions .btn{min-width:0!important;white-space:normal!important}
}

@media(max-width:380px){
  .side{width:50px!important;padding-left:4px!important;padding-right:4px!important}
  .main{margin-left:50px!important;width:calc(100% - 50px)!important}
  .restaurant-ops-head h1{font-size:26px!important}
  .restaurant-printer-depts{grid-template-columns:1fr!important}
}

/* v110 · motore responsive globale: tipografia, pulsanti, card e griglie si adattano automaticamente */
html{overflow-x:hidden;text-size-adjust:100%;-webkit-text-size-adjust:100%}
body{overflow-x:hidden}
:where(.main,.sec,.panel,.card,.box,.field,.row,.cols2>*,.grid>*,.choices>*,.topactions>*,.switch-row>*,.restaurant-printer-station>*){min-width:0}
:where(h1,h2,h3,h4,h5,h6,.btn,button,.badge,.chip,label,summary){word-break:normal;overflow-wrap:normal;hyphens:auto}
:where(h1,h2,h3,h4){text-wrap:balance}
:where(p,.muted,.authmsg,.card,.panel,.field span,.row span){word-break:normal;overflow-wrap:break-word}
:where(.userchip,.marketing-code,.url,[data-technical-text]){overflow-wrap:anywhere;word-break:break-word}

/* Dimensioni fluide: leggibili su telefono, senza titoli enormi che schiacciano le card. */
.main h1{font-size:clamp(1.72rem,3.6vw,2.45rem);line-height:1.08}
.main h2{font-size:clamp(1.42rem,3vw,2rem);line-height:1.12}
.main h3{font-size:clamp(1.14rem,2.4vw,1.45rem);line-height:1.18}
.btn,button{max-width:100%;line-height:1.2;text-wrap:balance}
.btn{font-size:clamp(.92rem,1.8vw,1rem)}
.field input,.field select,.field textarea,.ui-lang-select{min-width:0;max-width:100%}
.badge{max-width:100%;vertical-align:middle}

/* Le griglie scelgono automaticamente quante colonne entrano davvero. */
.grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))}
.choices{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))}
.restaurant-printer-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr))}
.restaurant-printer-depts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,135px),1fr));gap:8px}
.restaurant-printer-depts label{min-width:0;width:100%;justify-content:flex-start;line-height:1.22}
.restaurant-production-summary{grid-template-columns:repeat(auto-fit,minmax(min(100%,120px),1fr))}

/* I gruppi di azioni usano lo spazio disponibile senza creare colonne sottili. */
:where(.restaurant-printer-actions,.restaurant-ticket-actions,.marketing-actions,.menu-import-actions){display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr));gap:8px}
:where(.restaurant-printer-actions,.restaurant-ticket-actions,.marketing-actions,.menu-import-actions) .btn{width:100%;min-width:0;white-space:normal}
.switch-row{min-width:0}
.switch-row>span{min-width:0}

/* CJK: usa le regole native di interruzione riga; niente sillabazione artificiale. */
html:lang(zh-CN) :where(h1,h2,h3,h4,.btn,button,.badge,label),
html:lang(ja) :where(h1,h2,h3,h4,.btn,button,.badge,label){hyphens:none;line-break:strict;word-break:normal}

@media(max-width:850px){
  :root{--bos-side-w:clamp(50px,13vw,64px)}
  .side{width:var(--bos-side-w)!important;padding:9px 5px!important}
  .main{margin-left:var(--bos-side-w)!important;width:calc(100% - var(--bos-side-w))!important;min-width:0!important}
  .main>.sec{width:100%;max-width:100%;padding-left:clamp(8px,2.4vw,14px)!important;padding-right:clamp(8px,2.4vw,14px)!important}
  .main .panel,.main .card{max-width:100%}
  .top{width:100%;min-width:0}
  .topactions{min-width:0;max-width:100%}
}

@media(max-width:560px){
  /* Niente parole tagliate: se il testo è lungo, il controllo prende una nuova riga. */
  :where(.btn,button,.chip,.badge){word-break:normal!important;overflow-wrap:normal!important;hyphens:auto!important}
  .badge{white-space:normal;line-height:1.2}
  .main h1{font-size:clamp(1.65rem,8vw,2rem)!important}
  .main h2{font-size:clamp(1.38rem,6.8vw,1.72rem)!important}
  .main h3{font-size:clamp(1.12rem,5.5vw,1.38rem)!important}
  .main .panel,.main .card{padding:clamp(12px,3.8vw,16px)}

  .row{flex-wrap:wrap;align-items:flex-start}
  .row>*{min-width:0}
  .row>.btn{flex:1 1 140px}

  .cols2{grid-template-columns:1fr!important}
  .grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr))!important}
  .choices{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr))!important}
  .slots{grid-template-columns:repeat(auto-fit,minmax(105px,1fr))}

  /* Header Seller OS: ogni elemento cresce quanto serve e poi va a capo intero. */
  .topactions{display:flex!important;flex-wrap:wrap!important;gap:7px!important;width:100%!important}
  .topactions .ui-lang-wrap{flex:1 1 165px;min-width:0}
  .topactions .ui-lang-select{width:100%;max-width:none}
  .topactions .userchip{flex:1 1 100%;max-width:100%}
  .topactions .btn{flex:1 1 120px;min-width:0;white-space:normal}

  /* Switch e checkbox: il testo ha tutta la larghezza utile, senza colonne microscopiche. */
  .switch-row{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;column-gap:10px!important;align-items:start!important}
  .switch-row>input{grid-column:1;margin-top:3px!important}
  .switch-row>span{grid-column:2;min-width:0}

  .restaurant-printer-depts{grid-template-columns:repeat(auto-fit,minmax(min(100%,125px),1fr))!important}
  .restaurant-printer-depts label{font-size:clamp(.78rem,3.6vw,.9rem)!important;padding:9px!important;white-space:normal!important}
  .restaurant-printer-actions,.restaurant-ticket-actions,.marketing-actions,.menu-import-actions{grid-template-columns:repeat(auto-fit,minmax(min(100%,140px),1fr))!important}
  .restaurant-production-summary{grid-template-columns:repeat(auto-fit,minmax(min(100%,115px),1fr))!important}

  /* Azioni generiche: se due pulsanti non entrano bene, diventano automaticamente una colonna. */
  .acts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr));gap:8px}
  .acts .btn{width:100%;min-width:0}

  /* Le tabelle classiche scorrono invece di comprimere il testo in colonne illeggibili. */
  .tbl{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .tbl td,.tbl th{overflow-wrap:normal;word-break:normal}
}

/* v112 · reparti stampante: checkbox + testo restano sempre dentro il box */
.restaurant-printer-depts label{
  display:grid!important;
  grid-template-columns:22px minmax(0,1fr)!important;
  align-items:center!important;
  column-gap:10px!important;
  margin:0!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
.restaurant-printer-depts label input[type=checkbox]{
  width:22px!important;
  min-width:22px!important;
  max-width:22px!important;
  height:22px!important;
  min-height:22px!important;
  max-height:22px!important;
  padding:0!important;
  margin:0!important;
  grid-column:1!important;
}
.restaurant-printer-depts label>span{
  grid-column:2!important;
  min-width:0!important;
  max-width:100%!important;
  overflow:hidden!important;
  text-overflow:ellipsis;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
}
@media(max-width:560px){
  .restaurant-printer-depts label{min-height:50px!important;padding:10px 12px!important}
  .restaurant-printer-depts label>span{font-size:clamp(.86rem,3.8vw,.98rem)!important;line-height:1.2!important}
}

@media(max-width:380px){
  :root{--bos-side-w:48px}
  .side button b{font-size:18px!important}
  .main>.sec{padding-left:7px!important;padding-right:7px!important}
  .restaurant-printer-actions,.restaurant-ticket-actions,.marketing-actions,.menu-import-actions,.acts{grid-template-columns:1fr!important}
  .restaurant-printer-depts{grid-template-columns:1fr!important}
}

/* v114 · storico ristorante mobile: titoli leggibili senza sillabazione */
.staff-table-history-title{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:baseline!important;
  gap:8px!important;
  max-width:100%!important;
}
.staff-table-history-title-text{
  min-width:0!important;
  max-width:100%!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
  -webkit-hyphens:none!important;
  text-wrap:pretty!important;
}
@media(max-width:560px){
  .staff-table-history-title{font-size:clamp(1.2rem,5.4vw,1.52rem)!important;line-height:1.18!important}
  .staff-table-history-title .badge{flex:0 0 auto!important}
}

/* Area cameriere · tavolo saldato: riga compatta */
.staff-paid-compact{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto auto auto;
  align-items:center;
  gap:12px;
  margin:10px 0;
  padding:12px 14px;
  border:2px solid #45b96f;
  border-radius:14px;
  background:#f1fbf5;
}
.staff-paid-table{
  min-width:0;
  font-size:18px;
  font-weight:900;
  line-height:1.2;
}
.staff-paid-amount{
  font-size:18px;
  font-weight:950;
  white-space:nowrap;
  color:#101424;
}
.staff-paid-status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:104px;
  padding:7px 12px;
  border:1px solid #74ce97;
  border-radius:999px;
  background:#dff7e8;
  color:#087443;
  font-size:20px;
  line-height:1;
  font-weight:1000;
  letter-spacing:.02em;
  white-space:nowrap;
}
.staff-paid-close{
  border:1px solid #45b96f;
  border-radius:999px;
  background:#fff;
  color:#087443;
  padding:8px 12px;
  font-size:14px;
  line-height:1;
  font-weight:900;
  white-space:nowrap;
  cursor:pointer;
}
@media(max-width:430px){
  .staff-paid-compact{
    grid-template-columns:minmax(0,1fr) auto;
    gap:8px 10px;
    padding:11px 12px;
  }
  .staff-paid-status{
    grid-column:1/2;
    justify-self:stretch;
    min-width:0;
    font-size:21px;
  }
  .staff-paid-close{
    grid-column:2/3;
    align-self:stretch;
    padding:8px 10px;
    font-size:13px;
  }
}

/* v115 · dettaglio/rimborso pagamenti ristorante */
.restaurant-payment-detail{border:1px solid #e4e6ee;border-radius:16px;background:#fff;margin:10px 0;overflow:hidden}
.restaurant-payment-detail>summary{cursor:pointer;list-style:none;padding:14px 16px;display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.restaurant-payment-detail>summary::-webkit-details-marker{display:none}
.restaurant-payment-detail[open]>summary{border-bottom:1px solid #eceef4}
.restaurant-payment-detail-body{padding:14px 16px;background:#fafbff}
.restaurant-history-box{margin-top:14px;border-top:1px solid #e6e8ef;padding-top:12px}
.restaurant-history-box>summary,.restaurant-history-day>summary{cursor:pointer;font-weight:800;list-style:none}
.restaurant-history-box>summary::-webkit-details-marker,.restaurant-history-day>summary::-webkit-details-marker{display:none}
.restaurant-history-day{border:1px solid #e3e6ee;border-radius:12px;padding:10px 12px;margin-top:9px;background:#fafbfc}
.restaurant-history-day>summary{display:flex;align-items:center;justify-content:space-between;gap:10px}
.restaurant-history-day-body{margin-top:10px}
.restaurant-history-compact{padding:10px 0;border-bottom:1px solid #eceef3}
.restaurant-history-compact:last-child{border-bottom:0}

.restaurant-payment-detail-body .row{padding:7px 0}
.restaurant-refund-box{margin-top:12px;padding:12px;border-radius:14px;background:#fff6e5;border:1px solid #efcf91}
.restaurant-receipt-page{max-width:720px;margin:0 auto;padding:18px}.restaurant-receipt-hero{background:linear-gradient(135deg,#26233a,#5a4fe5);color:#fff;border-radius:20px;padding:22px;margin-bottom:14px}.restaurant-receipt-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.restaurant-receipt-field{padding:12px;border:1px solid #e1e4ed;border-radius:13px;background:#fff}.restaurant-receipt-field span{display:block;color:var(--m);font-size:12px;font-weight:750;margin-bottom:4px}.refund-request-card{border:2px solid #e0b04b;background:#fff9e8;border-radius:15px;padding:14px;margin:10px 0}.refund-request-card.done{border-color:#b9dfc1;background:#f6fff7}.refund-request-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}@media(max-width:560px){.restaurant-receipt-grid{grid-template-columns:1fr}.refund-request-actions{display:grid;grid-template-columns:1fr}.refund-request-actions .btn{width:100%}}
@media(max-width:700px){.restaurant-payment-detail>summary{flex-direction:column}.restaurant-payment-detail>summary>span:last-child{text-align:left!important}.restaurant-payment-detail-body .btn{width:100%}}

/* WorkQode 2.0 · marketing home */
.bos-home{--mh-bg:#07101f;--mh-bg2:#0c1530;--mh-line:rgba(255,255,255,.12);--mh-blue:#4b78ff;--mh-violet:#8a4dff;--mh-cyan:#24d6e8;--mh-ink:#10162b;--mh-soft:#6d7488;background:#fff;color:var(--mh-ink);overflow:hidden}
.bos-home *{box-sizing:border-box}.bos-home button{font:inherit}.bos-home-nav{height:72px;padding:0 max(22px,calc((100vw - 1180px)/2));display:flex;align-items:center;gap:28px;justify-content:space-between;background:rgba(7,16,31,.92);backdrop-filter:blur(18px);position:sticky;top:0;z-index:80;border-bottom:1px solid rgba(255,255,255,.08)}
.bos-home-brand{display:flex;align-items:center;gap:10px;color:#fff;font-size:22px;font-weight:950;letter-spacing:-.03em;white-space:nowrap}.bos-home-brand-mark{width:31px;height:31px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(145deg,#56b7ff,#6157ff 55%,#af48ff);box-shadow:0 0 28px rgba(105,89,255,.5);font-size:16px}.bos-home-brand em{font-style:normal;color:#6c82ff}
.bos-home-links{display:flex;gap:25px;align-items:center;margin-left:auto}.bos-home-link{border:0;background:transparent;color:#d9def0;font-weight:780;padding:8px 0}.bos-home-link:hover{color:#fff}.bos-home-actions{display:flex;gap:9px;align-items:center}.bos-home-login{border:1px solid rgba(255,255,255,.26);background:rgba(255,255,255,.05);border-radius:11px;color:#fff;font-weight:850;padding:10px 13px}.bos-home-register,.bos-home-cta{border:0;border-radius:12px;padding:12px 17px;font-weight:900;color:#fff;background:linear-gradient(135deg,#2674ff,#5b57f5);box-shadow:0 8px 28px rgba(61,97,255,.28)}
.bos-home-lang .ui-lang-select{background:#111b33!important;color:#fff!important;border-color:#26304a!important;max-width:88px}
.bos-home-hero{position:relative;min-height:640px;background:radial-gradient(circle at 75% 22%,rgba(90,59,255,.18),transparent 32%),radial-gradient(circle at 95% 65%,rgba(19,203,241,.10),transparent 25%),linear-gradient(135deg,#07101f 0%,#09142b 54%,#07101f 100%);color:#fff;padding:78px max(22px,calc((100vw - 1180px)/2)) 74px;display:grid;grid-template-columns:minmax(0,1fr) minmax(440px,.95fr);gap:54px;align-items:center;overflow:hidden}
.bos-home-hero:after{content:"";position:absolute;width:720px;height:260px;right:-120px;bottom:-70px;border-radius:50%;border:1px solid rgba(121,77,255,.36);box-shadow:0 0 65px rgba(73,84,255,.22),inset 0 0 45px rgba(90,58,255,.12);transform:rotate(-13deg);pointer-events:none}.bos-home-glowline{position:absolute;right:-120px;bottom:30px;width:640px;height:2px;background:linear-gradient(90deg,transparent,#4f7cff,#b953ff,transparent);transform:rotate(-16deg);filter:drop-shadow(0 0 12px #744aff);opacity:.8}
.bos-home-kicker{display:inline-flex;gap:9px;align-items:center;border:1px solid rgba(124,144,255,.26);background:rgba(91,108,255,.09);border-radius:999px;padding:8px 12px;color:#cdd6ff;font-size:13px;font-weight:850;margin-bottom:22px}.bos-home-kicker i{width:7px;height:7px;border-radius:50%;background:#6d68ff;box-shadow:0 0 13px #8066ff}.bos-home-hero h1{font-size:clamp(44px,4.8vw,68px);line-height:1;letter-spacing:-.045em;margin:0;max-width:100%;overflow:visible}.bos-home-gradient{display:inline-block;max-width:100%;padding-right:.12em;background:linear-gradient(90deg,#54adff,#6d6aff 48%,#b84cff);-webkit-background-clip:text;background-clip:text;color:transparent}.bos-home-hero-copy{color:#b9c1d5;font-size:19px;line-height:1.65;max-width:630px;margin:26px 0 30px}.bos-home-hero-buttons{display:flex;gap:12px;flex-wrap:wrap}.bos-home-primary,.bos-home-secondary{border-radius:14px;padding:14px 20px;font-weight:900;border:1px solid transparent}.bos-home-primary{background:linear-gradient(135deg,#2674ff,#6254f4);color:#fff;box-shadow:0 12px 35px rgba(46,94,255,.3)}.bos-home-secondary{background:rgba(255,255,255,.04);border-color:rgba(255,255,255,.22);color:#fff}.bos-home-primary:hover,.bos-home-cta:hover,.bos-home-register:hover{transform:translateY(-1px);filter:brightness(1.06)}.bos-home-trust{display:flex;gap:22px;flex-wrap:wrap;margin-top:32px;color:#adb6cd;font-size:13px}.bos-home-trust b{display:block;color:#fff;font-size:15px;margin-bottom:2px}.bos-home-trust span{padding-left:14px;border-left:1px solid rgba(255,255,255,.14)}.bos-home-trust span:first-child{padding-left:0;border-left:0}
.bos-home-stage{position:relative;min-height:470px;z-index:2}.bos-home-dashboard{position:absolute;inset:28px 14px 36px 32px;border:1px solid rgba(156,167,255,.18);border-radius:22px;background:linear-gradient(145deg,rgba(255,255,255,.96),rgba(241,244,255,.92));box-shadow:0 30px 85px rgba(0,0,0,.38);overflow:hidden;color:#15192d;transform:perspective(1200px) rotateY(-5deg) rotateX(2deg)}.bos-home-dash-head{height:54px;border-bottom:1px solid #e8eaf2;display:flex;align-items:center;justify-content:space-between;padding:0 18px}.bos-home-dash-head b{font-size:15px}.bos-home-dash-dots{display:flex;gap:5px}.bos-home-dash-dots i{width:6px;height:6px;border-radius:50%;background:#c8ccda}.bos-home-dash-body{display:grid;grid-template-columns:64px 1fr;height:calc(100% - 54px)}.bos-home-dash-side{background:#f7f8fc;border-right:1px solid #e7e9f2;padding:12px 9px;display:grid;align-content:start;gap:10px}.bos-home-dash-side span{height:36px;border-radius:10px;display:grid;place-items:center;color:#7a8195}.bos-home-dash-side span.on{background:#ece9ff;color:#5c4fe8}.bos-home-dash-main{padding:18px}.bos-home-dash-date{font-size:12px;color:#777f91;font-weight:800;margin-bottom:12px}.bos-home-cal{display:grid;grid-template-columns:58px 1fr;gap:7px}.bos-home-time{font-size:10px;color:#8a91a2;padding-top:9px}.bos-home-event{border-radius:9px;padding:9px 11px;font-size:11px;font-weight:850;margin-bottom:7px;border-left:3px solid #6c71ff;background:#eef0ff}.bos-home-event:nth-child(2n){background:#eaf8f2;border-color:#31b682}.bos-home-event:nth-child(3n){background:#fff0e5;border-color:#ff8b42}.bos-home-event small{display:block;color:#747c8f;font-weight:700;margin-top:2px}.bos-home-float{position:absolute;border:1px solid rgba(210,215,242,.85);background:rgba(255,255,255,.96);color:#15192d;border-radius:17px;box-shadow:0 20px 50px rgba(0,0,0,.22);padding:15px 17px;animation:bosHomeFloat 5.5s ease-in-out infinite}.bos-home-float b{display:block;font-size:13px;margin-bottom:6px}.bos-home-float small{color:#737b8d}.bos-home-float.booking{right:-8px;top:6px;width:208px;animation-delay:-1.4s}.bos-home-float.payment{right:-18px;top:162px;width:210px;animation-delay:-3s}.bos-home-float.payment strong{font-size:26px;display:block;margin:4px 0}.bos-home-float.access{right:7px;bottom:7px;width:196px;animation-delay:-2s}.bos-home-mini-qr{display:grid;grid-template-columns:repeat(5,7px);gap:2px;margin:8px 0}.bos-home-mini-qr i{height:7px;background:#111}.bos-home-ai-float{position:absolute;left:-18px;bottom:3px;width:228px;padding:15px 17px;border-radius:17px;color:#fff;background:linear-gradient(145deg,rgba(16,28,67,.98),rgba(34,15,71,.96));border:1px solid #695cff;box-shadow:0 0 30px rgba(98,68,255,.36);animation:bosHomeFloat 5.2s ease-in-out infinite -2.6s}.bos-home-ai-float b{display:block;margin-bottom:5px}.bos-home-ai-float small{color:#c8c8ed}@keyframes bosHomeFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}
.bos-home-section{padding:74px max(22px,calc((100vw - 1180px)/2))}.bos-home-section.soft{background:linear-gradient(180deg,#f8f9fd,#fff)}.bos-home-section-head{text-align:center;max-width:760px;margin:0 auto 34px}.bos-home-section-head .eyebrow{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:#5265f0;font-weight:950}.bos-home-section-head h2{font-size:clamp(32px,4vw,46px);letter-spacing:-.045em;margin:8px 0 10px}.bos-home-section-head p{color:#737a8d;font-size:17px;line-height:1.6;margin:0}.bos-home-sectors{display:grid;grid-template-columns:repeat(7,1fr);gap:12px}.bos-home-sector{border:1px solid #e5e8f0;background:#fff;border-radius:18px;padding:20px 14px;text-align:left;min-height:158px;transition:.25s ease;box-shadow:0 8px 30px rgba(20,27,55,.04)}.bos-home-sector:hover,.bos-home-sector.on{transform:translateY(-4px);border-color:#a9a5ff;box-shadow:0 16px 38px rgba(60,70,145,.12)}.bos-home-sector.on{background:linear-gradient(180deg,#faf9ff,#fff)}.bos-home-sector-icon{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:#f1efff;font-size:24px;margin-bottom:16px}.bos-home-sector:nth-child(2) .bos-home-sector-icon{background:#edfaee}.bos-home-sector:nth-child(3) .bos-home-sector-icon{background:#edf4ff}.bos-home-sector:nth-child(4) .bos-home-sector-icon{background:#fff4e8}.bos-home-sector:nth-child(5) .bos-home-sector-icon{background:#e9fafb}.bos-home-sector:nth-child(6) .bos-home-sector-icon{background:#fff0f5}.bos-home-sector b{display:block;font-size:14px;margin-bottom:6px}.bos-home-sector small{display:block;color:#7a8192;line-height:1.35}.bos-home-sector-preview{margin-top:16px;border:1px solid #e2e5f0;border-radius:20px;padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:#fff;box-shadow:0 14px 35px rgba(20,27,55,.05)}.bos-home-sector-preview h3{margin:0 0 4px;font-size:21px}.bos-home-sector-preview p{margin:0;color:#737a8c}.bos-home-tags{display:flex;gap:7px;flex-wrap:wrap;justify-content:flex-end}.bos-home-tag{padding:7px 10px;border-radius:999px;background:#f2f1ff;color:#5149d5;font-size:12px;font-weight:850}
.bos-home-module-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:10px}.bos-home-module{position:relative;min-height:205px;border:1px solid #e4e7ef;border-radius:18px;padding:19px 16px;background:#fff;overflow:hidden;transition:.25s ease}.bos-home-module:hover{transform:translateY(-5px);box-shadow:0 18px 38px rgba(30,40,90,.1)}.bos-home-module:before{content:"";position:absolute;width:90px;height:90px;right:-28px;top:-30px;border-radius:50%;background:radial-gradient(circle,rgba(94,78,255,.12),transparent 65%)}.bos-home-module .ico{font-size:27px;margin-bottom:16px}.bos-home-module h3{font-size:15px;margin:0 0 8px}.bos-home-module p{font-size:12.5px;color:#777e90;line-height:1.45;margin:0}.bos-home-module .more{position:absolute;bottom:17px;left:16px;color:#405ef0;font-size:12px;font-weight:900}.bos-home-module.restaurant{border-color:#dacdfd;background:linear-gradient(180deg,#fff,#fbf8ff)}
.bos-home-ai{background:radial-gradient(circle at 78% 45%,rgba(77,55,255,.22),transparent 28%),linear-gradient(135deg,#081329,#0c1734 55%,#11103a);border:1px solid #293766;border-radius:26px;padding:34px;color:#fff;display:grid;grid-template-columns:1.05fr .95fr;gap:36px;align-items:center;box-shadow:0 24px 70px rgba(16,25,64,.16)}.bos-home-ai .eyebrow{color:#5ba7ff;font-size:12px;font-weight:950;letter-spacing:.08em}.bos-home-ai h2{font-size:39px;line-height:1.08;letter-spacing:-.04em;margin:9px 0 13px}.bos-home-ai h2 span{color:#ad69ff}.bos-home-ai p{color:#bdc5d9;line-height:1.6}.bos-home-ai-box{border:1px solid #384978;background:rgba(8,17,42,.78);border-radius:17px;padding:15px}.bos-home-ai-box textarea{width:100%;min-height:100px;border:0;outline:0;resize:none;background:transparent;color:#fff;font:inherit;line-height:1.5}.bos-home-ai-demo-btn{width:100%;border:0;border-radius:12px;padding:13px;background:linear-gradient(90deg,#2e78ff,#8c49f4);color:#fff;font-weight:900}.bos-home-ai-result{margin-top:12px;display:grid;gap:7px}.bos-home-ai-check{display:flex;gap:9px;align-items:center;color:#d7dced;font-size:13px;opacity:.44;transition:.3s}.bos-home-ai-check.on{opacity:1}.bos-home-ai-check i{width:19px;height:19px;border-radius:50%;display:grid;place-items:center;background:#183c34;color:#58e1ae;font-style:normal;font-size:11px}
.bos-home-restaurant{margin-top:68px}.bos-home-plans{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.bos-home-plan{border:1px solid #e1e5ee;border-radius:22px;padding:26px;background:#fff;position:relative}.bos-home-plan.featured{border:2px solid #6357f1;box-shadow:0 20px 55px rgba(78,70,200,.13);transform:translateY(-8px)}.bos-home-plan .pill{position:absolute;right:18px;top:18px;padding:5px 9px;border-radius:999px;background:#ece9ff;color:#564bd5;font-size:10px;font-weight:950;text-transform:uppercase}.bos-home-plan h3{font-size:23px;margin:0 0 8px}.bos-home-plan p{color:#747b8d;min-height:40px}.bos-home-plan ul{list-style:none;padding:0;margin:20px 0;display:grid;gap:10px}.bos-home-plan li{font-size:14px}.bos-home-plan li:before{content:"✓";margin-right:9px;color:#3c7dff;font-weight:950}.bos-home-plan button{width:100%;border-radius:12px;padding:12px;border:1px solid #d7dbe7;background:#fff;font-weight:900}.bos-home-plan.featured button{background:#5756ed;border-color:#5756ed;color:#fff}
.bos-home-bottom{padding:64px max(22px,calc((100vw - 1180px)/2));background:#07101f;color:#fff}.bos-home-bottom-card{border-radius:25px;background:radial-gradient(circle at 85% 50%,rgba(152,64,255,.27),transparent 25%),linear-gradient(120deg,#0a55ed,#4736d9 56%,#902bcd);padding:42px;display:flex;align-items:center;justify-content:space-between;gap:28px;box-shadow:0 24px 60px rgba(39,53,180,.25)}.bos-home-bottom-card h2{font-size:37px;letter-spacing:-.04em;margin:0 0 7px}.bos-home-bottom-card p{margin:0;color:#e0e4ff}.bos-home-footer{padding:34px max(22px,calc((100vw - 1180px)/2));display:flex;justify-content:space-between;gap:25px;align-items:center;background:#07101f;color:#929bb1;border-top:1px solid rgba(255,255,255,.08);font-size:13px}
@media(max-width:1050px){.bos-home-links{display:none}.bos-home-hero{grid-template-columns:1fr 1fr;gap:25px}.bos-home-sectors{grid-template-columns:repeat(4,1fr)}.bos-home-module-grid{grid-template-columns:repeat(4,1fr)}}
@media(max-width:760px){.bos-home-nav{padding:0 10px;height:66px;gap:8px}.bos-home-brand{font-size:18px}.bos-home-brand-mark{width:28px;height:28px}.bos-home-lang{display:none}.bos-home-actions{gap:6px}.bos-home-login{padding:9px 10px;font-size:13px}.bos-home-register,.bos-home-cta{padding:10px 11px;font-size:13px}.bos-home-hero{display:block;min-height:0;padding:55px 20px 44px}.bos-home-hero h1{font-size:48px}.bos-home-hero-copy{font-size:17px}.bos-home-stage{min-height:420px;margin-top:38px}.bos-home-dashboard{inset:35px 4px 26px 4px;transform:none}.bos-home-float.booking{right:-4px}.bos-home-float.payment{right:-5px}.bos-home-ai-float{left:4px;bottom:0}.bos-home-float.access{display:none}.bos-home-section{padding:58px 16px}.bos-home-sectors{grid-template-columns:repeat(2,1fr)}.bos-home-sector{min-height:142px}.bos-home-sector-preview{display:block}.bos-home-tags{justify-content:flex-start;margin-top:12px}.bos-home-module-grid{grid-template-columns:repeat(2,1fr)}.bos-home-ai{grid-template-columns:1fr;padding:25px}.bos-home-ai h2{font-size:34px}.bos-home-plans{grid-template-columns:1fr}.bos-home-plan.featured{transform:none}.bos-home-bottom{padding:42px 16px}.bos-home-bottom-card{display:block;padding:30px 24px}.bos-home-bottom-card h2{font-size:31px}.bos-home-bottom-card .bos-home-primary{margin-top:20px;width:100%}.bos-home-footer{padding:28px 18px;display:block;text-align:center}.bos-home-footer .bos-home-brand{justify-content:center;margin-bottom:15px}}
@media(max-width:420px){.bos-home-brand{font-size:16px;gap:6px}.bos-home-brand-mark{width:26px;height:26px;border-radius:8px}.bos-home-actions{gap:5px}.bos-home-login{padding:8px 8px;font-size:12px}.bos-home-register,.bos-home-cta{padding:9px 9px;font-size:12px}.bos-home-hero h1{font-size:41px}.bos-home-trust{gap:12px}.bos-home-trust span{flex:1 1 26%;font-size:11px}.bos-home-stage{min-height:390px}.bos-home-dashboard{inset:30px 0 18px}.bos-home-float{padding:12px}.bos-home-float.booking{width:172px}.bos-home-float.payment{width:165px;top:170px}.bos-home-ai-float{width:180px}.bos-home-dash-body{grid-template-columns:46px 1fr}.bos-home-dash-main{padding:12px}.bos-home-sector{padding:16px 12px}.bos-home-module{min-height:220px;padding:17px 13px}}


/* v124 · final responsive pass: testi completi, nessuna parola spezzata o troncata */
html,body{width:100%;max-width:100%;overflow-x:hidden}
:where(.shell,.main,.sec,.top,.topactions,.panel,.card,.row,.grid,.cols2,.choices,.choice,.acts,.field,.box,.canvas,.preview,.authcard,.customer-top,.customer-powered,.customer-surface,.bos-home,.bos-home-nav,.bos-home-hero,.bos-home-section,.bos-home-sector-preview,.bos-home-ai,.bos-home-bottom-card,.restaurant-payment-detail,.restaurant-payment-detail-body,.restaurant-printer-station,.restaurant-production-panel,.restaurant-department-head,.restaurant-ticket-actions,.restaurant-printer-actions,.customer-card,.package-mobile-card,.customer-package-mobile-card,.marketing-card,.menu-import-row)>*{min-width:0}

/* Testo normale: può andare a capo solo in punti sensati, senza lettere isolate. */
:where(h1,h2,h3,h4,h5,h6,p,li,label,summary,.muted,.authmsg,.customer-card-name,.customer-card-notes,.package-mobile-description,.customer-package-mobile-subtitle,.restaurant-notify-line,.bill-request-banner,.seller-signup-note,.bos-home-hero-copy,.bos-home-section-head p,.bos-home-sector p,.bos-home-module p){
  word-break:normal!important;
  overflow-wrap:break-word!important;
  hyphens:none!important;
  -webkit-hyphens:none!important;
}

/* Controlli e badge: mai spezzare una parola nel mezzo. Se serve, il controllo cresce o va su una nuova riga. */
:where(button,.btn,.badge,.chip,.step,.slot,.choice,.filter-chip,.bos-home-login,.bos-home-register,.bos-home-cta,.bos-home-primary,.bos-home-secondary,.bos-home-plan button,.public-calendar-nav){
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
  -webkit-hyphens:none!important;
  text-overflow:clip;
}

/* Elimina vecchi troncamenti nei contenuti che devono essere leggibili per intero. */
.customer-brand{
  max-width:100%!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
}
.restaurant-printer-depts label{overflow:visible!important;height:auto!important}
.restaurant-printer-depts label>span{
  max-width:100%!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:normal!important;
  overflow-wrap:break-word!important;
  word-break:normal!important;
}

/* Dati tecnici lunghi (email, URL, codici) restano dentro la card senza allargare la pagina. */
:where(.userchip,.marketing-code,.customer-card-contact,.localized-file-name,[data-technical-text]){
  max-width:100%;
}
.customer-card-contact,.marketing-code,[data-technical-text]{overflow-wrap:anywhere!important;word-break:normal!important}

/* Flex/grid: lascia spazio al testo invece di comprimerlo in colonne microscopiche. */
:where(.row,.topactions,.acts,.chips,.bos-home-actions,.bos-home-hero-buttons,.bos-home-trust,.bos-home-tags,.customer-card-actions,.refund-request-actions){flex-wrap:wrap}
:where(.row,.topactions,.acts,.customer-card-actions,.refund-request-actions)>.btn{min-width:0}
.table-scroll,.services-table-wrap,.package-table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.tbl td,.tbl th{word-break:normal!important}

/* Sito pubblico: i testi lunghi delle 7 lingue non escono dalle card. */
.bos-home :where(h1,h2,h3,p,b,small,li,.bos-home-tag,.eyebrow){max-width:100%;word-break:normal;overflow-wrap:break-word;hyphens:none}
.bos-home-sector,.bos-home-module,.bos-home-plan,.bos-home-ai-box{min-width:0}

/* Cinese e giapponese: interruzione di riga nativa, senza sillabazione occidentale. */
html:lang(zh-CN) :where(h1,h2,h3,h4,p,label,button,.btn,.badge,.chip),
html:lang(ja) :where(h1,h2,h3,h4,p,label,button,.btn,.badge,.chip){
  line-break:strict!important;
  word-break:normal!important;
  hyphens:none!important;
}

@media(max-width:760px){
  /* L'header non comprime lingua, account e azioni. */
  .top{height:auto!important;min-height:66px!important;align-items:stretch!important}
  .top>b:first-child{max-width:100%;overflow-wrap:break-word}
  .topactions{width:100%!important;max-width:100%!important;align-items:stretch!important}
  .topactions>*{min-width:0}
  .topactions .ui-lang-wrap{flex:1 1 170px}
  .topactions .ui-lang-select{width:100%!important;max-width:100%!important}

  /* Titoli e azioni: titolo sopra, pulsanti sotto quando manca spazio. */
  :where(.page-title-row,.card-row,.restaurant-production-head,.restaurant-printer-head){
    display:flex!important;
    flex-wrap:wrap!important;
    align-items:flex-start!important;
    gap:10px!important;
  }
  :where(.page-title-row,.card-row,.restaurant-production-head,.restaurant-printer-head)>:first-child{flex:1 1 240px;min-width:0}
  :where(.page-title-row,.card-row,.restaurant-production-head,.restaurant-printer-head)>.btn{flex:1 1 160px;min-width:0;white-space:normal!important}

  /* Popup e toast: mai fuori dallo schermo. */
  .toast{left:10px!important;right:10px!important;bottom:10px!important;width:auto!important;max-width:calc(100vw - 20px)!important;white-space:normal!important;overflow-wrap:break-word!important}
  .modal-overlay{padding:10px!important}
  .modal-sheet,.bos-picker-sheet{max-width:100%!important;min-width:0!important}
}

@media(max-width:560px){
  /* Rimuove ellissi dall'account: email e nome restano leggibili. */
  .topactions .userchip{
    flex:1 1 100%!important;
    width:100%!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    overflow-wrap:anywhere!important;
    line-height:1.25!important;
  }

  /* Pulsanti lunghi: una riga intera quando due colonne li renderebbero illeggibili. */
  :where(.booking-actions-wrap,.staff-team-actions,.staff-alert-actions,.customer-card-actions,.customer-package-mobile-actions,.refund-request-actions,.restaurant-ticket-actions,.restaurant-printer-actions,.marketing-actions,.menu-import-actions){
    grid-template-columns:minmax(0,1fr)!important;
  }
  :where(.booking-actions-wrap,.staff-team-actions,.staff-alert-actions,.customer-card-actions,.customer-package-mobile-actions,.refund-request-actions,.restaurant-ticket-actions,.restaurant-printer-actions,.marketing-actions,.menu-import-actions) .btn{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    white-space:normal!important;
    line-height:1.22!important;
  }

  .acts{grid-template-columns:minmax(0,1fr)!important}
  .acts .btn{width:100%!important;white-space:normal!important}

  /* Card e righe: niente contenuti tagliati ai bordi. */
  .main .panel,.main .card,.authcard{overflow:visible;min-width:0}
  .row{width:100%;max-width:100%}
  .row>div,.row>span,.row>b{min-width:0;max-width:100%}

  /* Home pubblica: anche tedesco/francese restano leggibili su telefoni stretti. */
  .bos-home-nav{height:auto!important;min-height:66px!important;padding-top:8px!important;padding-bottom:8px!important;flex-wrap:wrap!important}
  .bos-home-actions{margin-left:auto;min-width:0;flex-wrap:wrap!important;justify-content:flex-end}
  .bos-home-login,.bos-home-register,.bos-home-cta{white-space:normal!important;line-height:1.15!important}
  .bos-home-hero{padding-left:16px!important;padding-right:16px!important}
  .bos-home-hero h1{font-size:clamp(2.25rem,11vw,3rem)!important;line-height:1.02!important;letter-spacing:-.045em!important}
  .bos-home-hero-buttons{display:grid!important;grid-template-columns:1fr!important;width:100%}
  .bos-home-hero-buttons button{width:100%!important}
  .bos-home-sectors,.bos-home-module-grid{grid-template-columns:minmax(0,1fr)!important}
  .bos-home-sector,.bos-home-module{min-height:0!important}
  .bos-home-module .more{position:static!important;display:block;margin-top:12px}
  .bos-home-sector-preview{overflow:visible!important}
  .bos-home-tags{max-width:100%}
  .bos-home-tag{white-space:normal!important}
  .bos-home-bottom-card h2{font-size:clamp(1.7rem,8vw,2.15rem)!important;line-height:1.08!important}
}

@media(max-width:390px){
  /* Telefoni molto stretti: priorità alla leggibilità, non alla densità. */
  .main>.sec{padding-left:7px!important;padding-right:7px!important}
  .main .panel,.main .card{padding-left:11px!important;padding-right:11px!important}
  .slots{grid-template-columns:minmax(0,1fr)!important}
  .public-calendar-weekdays,.public-calendar-grid{gap:3px!important}
  .public-calendar-day{padding-left:2px!important;padding-right:2px!important}
  .bos-home-actions{width:100%;justify-content:stretch}
  .bos-home-actions button{flex:1 1 120px;min-width:0}
}


/* v125 · residual text-overflow fixes */
.localized-file-picker .localized-file-name{
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
  overflow-wrap:anywhere!important;
  word-break:normal!important;
}
@media(max-width:560px){
  button[onclick*="refreshPublicAvailability"]{
    flex:1 1 180px!important;
    min-width:0!important;
    max-width:100%!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
    line-height:1.2!important;
  }
  .portal-account-email{
    grid-template-columns:minmax(0,1fr)!important;
    gap:4px!important;
    align-items:start!important;
  }
  .portal-account-email b{
    min-width:0!important;
    max-width:100%!important;
    text-align:left!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
  }
  :where(.badge,.chip,.filter-chip,.step){
    max-width:100%!important;
    white-space:normal!important;
  }
}



/* v126 · promemoria appuntamenti: niente alert generici per appuntamenti individuali */
.appointment-reminder-global{margin:0 0 14px;border:2px solid #b9b1ff;background:linear-gradient(135deg,#f7f5ff,#fff);box-shadow:0 10px 28px rgba(91,76,220,.08)}
.appointment-reminder-global.due{border-color:#7b6bf2;background:linear-gradient(135deg,#f0edff,#fff)}
.appointment-reminder-row{display:flex;gap:14px;align-items:center;justify-content:space-between;flex-wrap:wrap}
.appointment-reminder-main{min-width:0;flex:1 1 260px}
.appointment-reminder-kicker{font-size:13px;font-weight:950;color:#5b50d8;text-transform:uppercase;letter-spacing:.04em;margin-bottom:5px}
.appointment-reminder-title{font-size:clamp(20px,4vw,28px);font-weight:950;line-height:1.15;overflow-wrap:break-word}
.appointment-reminder-meta{margin-top:7px;color:var(--m);line-height:1.45;overflow-wrap:break-word}
.appointment-countdown{flex:0 0 auto;padding:10px 14px;border-radius:14px;background:#eeeaff;color:#4f45c9;font-weight:950;font-size:15px;white-space:nowrap}
.appointment-next-card{border:1px solid #e2defe;background:#fcfbff;border-radius:16px;padding:16px}
.appointment-next-card .appointment-next-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px 14px;margin-top:12px}
.appointment-next-card .appointment-next-cell{padding:10px 12px;border-radius:12px;background:#fff;border:1px solid #eceaf5;min-width:0}
.appointment-next-card .appointment-next-cell small{display:block;color:var(--m);font-weight:800;margin-bottom:3px}
.appointment-reminder-settings .switch-row{align-items:flex-start}
.appointment-reminder-settings .reminder-config-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
@media(max-width:560px){
 .appointment-reminder-row{display:grid;grid-template-columns:1fr;gap:10px}
 .appointment-countdown{width:100%;text-align:center;white-space:normal}
 .appointment-next-card .appointment-next-grid,.appointment-reminder-settings .reminder-config-grid{grid-template-columns:1fr}
}


/* v134 · Menu & QR mobile correction: usable controls, no clipped fields */
@media(max-width:560px){
  /* Ingredient library: name on first row, compact controls on second row. */
  .restaurant-ingredient-card{
    width:100%!important;max-width:100%!important;min-width:0!important;
    overflow:hidden!important;padding:7px!important;margin:6px 0!important;
  }
  .restaurant-ingredient-compact{
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) 60px 34px 34px!important;
    grid-template-rows:auto auto!important;
    gap:6px!important;align-items:center!important;
    width:100%!important;max-width:100%!important;min-width:0!important;
  }
  .restaurant-ingredient-compact>*{min-width:0!important;max-width:100%!important}
  .restaurant-ingredient-name{grid-column:1/-1!important;grid-row:1!important;width:100%!important}
  .restaurant-ingredient-name input{
    width:100%!important;min-width:0!important;max-width:100%!important;
    padding:8px 10px!important;font-size:15px!important;
  }
  .restaurant-ingredient-toggle:nth-of-type(1){grid-column:1!important;grid-row:2!important}
  .restaurant-ingredient-toggle:nth-of-type(2){grid-column:2!important;grid-row:2!important}
  .ingredient-toggle-full{display:none!important}
  .ingredient-toggle-short{display:inline!important}
  .restaurant-ingredient-toggle{
    width:100%!important;justify-content:center!important;gap:4px!important;
    padding:6px 3px!important;font-size:10.5px!important;line-height:1!important;
    white-space:nowrap!important;overflow:hidden!important;
  }
  .restaurant-ingredient-toggle input{
    width:17px!important;height:17px!important;min-width:17px!important;margin:0!important;
  }
  .restaurant-ingredient-price{
    grid-column:3!important;grid-row:2!important;display:block!important;width:60px!important;
    min-width:0!important;white-space:normal!important;
  }
  .restaurant-ingredient-price>span{display:none!important}
  .restaurant-ingredient-price input{
    width:60px!important;min-width:0!important;padding:6px 4px!important;
    text-align:center!important;font-size:11px!important;
  }
  .restaurant-ingredient-scope{display:none!important}
  .restaurant-ingredient-exception-btn{
    grid-column:4!important;grid-row:2!important;width:34px!important;min-width:34px!important;
    height:32px!important;padding:0!important;font-size:14px!important;
  }
  .restaurant-ingredient-delete{
    grid-column:5!important;grid-row:2!important;width:34px!important;min-width:34px!important;
    height:32px!important;padding:0!important;font-size:0!important;line-height:1!important;
  }
  .restaurant-ingredient-delete::before{content:'✕';font-size:14px;font-weight:900}
  .restaurant-ingredient-exception-panel{
    min-width:0!important;width:100%!important;max-width:100%!important;overflow:visible!important;
  }

  /* Menu editor: stop narrow 12-column fields from breaking words. */
  .menu-editor-panel{overflow:visible!important;min-width:0!important;max-width:100%!important}
  .menu-new-category-panel,.menu-new-item-panel{width:100%!important;max-width:100%!important;min-width:0!important;overflow:visible!important}
  .menu-new-category-grid,.menu-new-item-grid{width:100%!important;max-width:100%!important;min-width:0!important}
  .menu-new-category-grid>* ,.menu-new-item-grid>*{min-width:0!important;max-width:100%!important}
  .menu-new-category-grid .field,.menu-new-item-grid .field{margin:0!important;min-width:0!important}
  .menu-new-category-grid label,.menu-new-item-grid label{
    display:block!important;white-space:nowrap!important;word-break:normal!important;
    overflow-wrap:normal!important;font-size:11.5px!important;line-height:1.2!important;
    overflow:hidden!important;text-overflow:ellipsis!important;
  }
  .menu-new-category-grid input,.menu-new-category-grid select,
  .menu-new-item-grid input,.menu-new-item-grid select{
    width:100%!important;min-width:0!important;max-width:100%!important;
    padding:9px 8px!important;font-size:14px!important;box-sizing:border-box!important;
  }

  /* New category: 2 clean rows. */
  .menu-new-category-grid{
    display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr)!important;
    gap:8px!important;align-items:end!important;
  }
  .menu-new-category-grid>div:nth-child(1){grid-column:1!important;grid-row:1!important}
  .menu-new-category-grid>div:nth-child(2){grid-column:2!important;grid-row:1!important}
  .menu-new-category-grid>div:nth-child(3){grid-column:1!important;grid-row:2!important}
  .menu-new-category-grid>div:nth-child(4){grid-column:2!important;grid-row:2!important}
  .menu-new-category-grid>div:nth-child(4) .btn{
    width:100%!important;min-width:0!important;max-width:100%!important;
    padding:9px 6px!important;white-space:normal!important;font-size:12px!important;line-height:1.15!important;
  }

  /* New product: readable two-column flow; nothing squeezed into tiny columns. */
  .menu-new-item-grid{
    display:grid!important;grid-template-columns:minmax(0,.9fr) minmax(0,1.35fr)!important;
    gap:8px!important;align-items:end!important;
  }
  .menu-new-item-grid>div:nth-child(1){grid-column:1!important;grid-row:1!important}
  .menu-new-item-grid>div:nth-child(2){grid-column:2!important;grid-row:1!important}
  .menu-new-item-grid>div:nth-child(3){grid-column:1!important;grid-row:2!important}
  .menu-new-item-grid>div:nth-child(4){grid-column:2!important;grid-row:2!important}
  .menu-new-item-grid>div:nth-child(5){grid-column:1!important;grid-row:3!important}
  .menu-new-item-grid>div:nth-child(6){grid-column:2!important;grid-row:3!important}
  .menu-new-item-grid>div:nth-child(7){grid-column:1/-1!important;grid-row:4!important}
  .menu-new-item-grid>div:nth-child(5) summary,
  .menu-new-item-grid>div:nth-child(6) .btn{
    width:100%!important;min-width:0!important;max-width:100%!important;
    box-sizing:border-box!important;padding:9px 6px!important;
    white-space:normal!important;font-size:12px!important;line-height:1.15!important;text-align:center!important;
  }
  .menu-new-item-grid details>div.panel{max-width:calc(100vw - 36px)!important}
}
@media(max-width:360px){
  .restaurant-ingredient-compact{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 54px 32px 32px!important;gap:4px!important}
  .restaurant-ingredient-price,.restaurant-ingredient-price input{width:54px!important}
  .restaurant-ingredient-toggle{font-size:10px!important;padding-left:2px!important;padding-right:2px!important}
}

/* v135 · QR tavoli: elenco compatto su smartphone */
.restaurant-table-entry{margin:8px 0}
.restaurant-table-entry-summary{display:none}
.restaurant-table-entry>.restaurant-table-row{margin:0}
@media(min-width:561px){
  .restaurant-table-entry{display:block}
  .restaurant-table-entry-summary{display:none!important}
}
@media(max-width:560px){
  .restaurant-table-entry{
    border:1px solid #e3e5ed;border-radius:14px;background:#fff;
    overflow:hidden;margin:7px 0;
  }
  .restaurant-table-entry-summary{
    display:grid!important;
    grid-template-columns:minmax(72px,auto) auto auto minmax(0,1fr) auto;
    gap:6px;align-items:center;
    padding:10px 11px;cursor:pointer;list-style:none;
  }
  .restaurant-table-entry-summary::-webkit-details-marker{display:none}
  .restaurant-table-mobile-title{display:flex;gap:7px;align-items:center;min-width:0}
  .restaurant-table-mobile-title b{
    white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:92px;
  }
  .restaurant-table-mobile-menu{
    min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
    color:var(--m);font-size:12px;
  }
  .restaurant-table-mobile-edit{
    white-space:nowrap;font-weight:900;font-size:12px;color:var(--b);
  }
  .restaurant-table-entry[open] .restaurant-table-mobile-edit{font-size:0}
  .restaurant-table-entry[open] .restaurant-table-mobile-edit::after{
    content:attr(data-label);font-size:12px;
  }

  /* Il QR resta generato per stampa/link, ma non occupa spazio nell'elenco mobile. */
  .restaurant-table-row .restaurant-table-qr-source{
    position:absolute!important;
    left:-10000px!important;top:auto!important;
    width:150px!important;height:150px!important;
    min-width:150px!important;
    overflow:hidden!important;
  }

  .restaurant-table-row{
    display:block!important;padding:10px!important;
    border:0!important;border-top:1px solid #edf0f5!important;
    border-radius:0!important;
  }
  .restaurant-table-row-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1.25fr) 62px 62px!important;
    gap:7px!important;align-items:center!important;width:100%!important;
  }
  .restaurant-table-summary{display:none!important}
  .restaurant-table-menu{grid-column:1/-1!important}
  .restaurant-table-min{grid-column:2!important;grid-row:2!important}
  .restaurant-table-max{grid-column:3!important;grid-row:2!important}
  .restaurant-table-area{grid-column:1!important;grid-row:2!important}
  .restaurant-table-combinable{
    grid-column:1/-1!important;grid-row:3!important;
    margin:0!important;padding:7px 9px!important;
  }
  .restaurant-table-actions{
    grid-column:1/-1!important;grid-row:4!important;
    display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:6px!important;
  }
  .restaurant-table-actions .btn{
    width:100%!important;min-width:0!important;padding:8px 4px!important;
    font-size:11px!important;white-space:nowrap!important;
  }
  .restaurant-table-row input,.restaurant-table-row select{
    width:100%!important;min-width:0!important;max-width:100%!important;
    box-sizing:border-box!important;padding:8px!important;font-size:13px!important;
  }

  /* Creazione nuovo tavolo: compatta e senza overflow. */
  .restaurant-table-create-panel{overflow:hidden!important}
  .restaurant-table-create-grid{
    display:grid!important;
    grid-template-columns:minmax(0,1.4fr) minmax(0,1fr)!important;
    gap:7px!important;width:100%!important;min-width:0!important;
  }
  .restaurant-table-create-grid>*{min-width:0!important;max-width:100%!important}
  .restaurant-table-create-grid>div:nth-child(1){grid-column:1!important;grid-row:1!important}
  .restaurant-table-create-grid>div:nth-child(2){grid-column:2!important;grid-row:1!important}
  .restaurant-table-create-grid>div:nth-child(3){grid-column:1!important;grid-row:2!important}
  .restaurant-table-create-grid>div:nth-child(4){grid-column:2!important;grid-row:2!important}
  .restaurant-table-create-grid>div:nth-child(5){grid-column:1/-1!important;grid-row:3!important}
  .restaurant-table-create-grid>label{grid-column:1!important;grid-row:4!important;margin:0!important}
  .restaurant-table-create-grid>div:last-child{grid-column:2!important;grid-row:4!important}
  .restaurant-table-create-grid input,.restaurant-table-create-grid select{
    width:100%!important;min-width:0!important;max-width:100%!important;
    box-sizing:border-box!important;padding:9px 8px!important;font-size:13px!important;
  }
  .restaurant-table-create-grid .btn{
    width:100%!important;min-width:0!important;padding:9px 6px!important;
    font-size:11px!important;line-height:1.15!important;white-space:normal!important;
  }
}
@media(max-width:390px){
  .restaurant-table-entry-summary{
    grid-template-columns:minmax(62px,auto) auto auto minmax(0,1fr)!important;
  }
  .restaurant-table-mobile-menu{display:none!important}
}


/* v136 · rifinitura finale elenco tavoli mobile */
/* v137 · nuovo layout WorkQode · menu cliente e personalizzazione piatto */
@media(max-width:560px){
  .restaurant-table-entry-summary{
    grid-template-columns:minmax(62px,1fr) auto auto!important;
    gap:5px!important;
    padding:9px 10px!important;
  }
  .restaurant-table-entry-summary > .badge.ok{
    display:none!important; /* "QR tavolo" è ridondante nella sezione QR */
  }
  .restaurant-table-mobile-menu{
    display:none!important;
  }
  .restaurant-table-mobile-title b{
    max-width:58px!important;
    font-size:14px!important;
  }
  .restaurant-table-entry-summary > .badge{
    font-size:10px!important;
    padding:4px 7px!important;
    white-space:nowrap!important;
  }
  .restaurant-table-mobile-edit{
    font-size:11px!important;
    white-space:nowrap!important;
    justify-self:end!important;
  }
  .restaurant-table-entry[open] .restaurant-table-mobile-edit::after{
    font-size:11px!important;
  }
}



/* v137 · WorkQode visual system · public restaurant customer experience */
:root{
  --bos-petrol:#073d3f;
  --bos-petrol-2:#0a5556;
  --bos-teal:#079b9b;
  --bos-aqua:#11b7b5;
  --bos-ink:#082f35;
  --bos-text:#18363d;
  --bos-muted:#71848c;
  --bos-line:#e6eeee;
  --bos-soft:#f6fbfb;
  --bos-mint:#e8f8f5;
  --bos-orange:#ff5b24;
  --bos-violet:#6657e8;
  --bos-shadow:0 12px 34px rgba(12,54,58,.08);
  --bos-shadow-soft:0 6px 18px rgba(12,54,58,.06);
}
body:has(.bos-public-menu){background:#f8fbfb;color:var(--bos-text)}
.bos-public-menu{min-height:100vh;background:linear-gradient(180deg,#fff 0,#fbfdfd 46%,#f7fbfb 100%);padding-bottom:120px}
.bos-public-header{max-width:1240px;margin:0 auto;padding:24px 24px 14px;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.bos-public-brand{display:flex;align-items:center;gap:14px;min-width:0}
.bos-public-mark{width:56px;height:56px;border-radius:18px;background:linear-gradient(145deg,var(--bos-petrol),#052a2d);display:grid;place-items:center;color:#fff;font-weight:950;font-size:22px;box-shadow:0 8px 24px rgba(6,61,63,.18);flex:0 0 auto}
.bos-public-brand-copy{min-width:0}.bos-public-brand-copy h1{font-size:30px;line-height:1;margin:0;color:var(--bos-ink);letter-spacing:-.7px}.bos-public-brand-copy p{margin:7px 0 0;color:var(--bos-muted);font-weight:650}
.bos-public-header-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.bos-public-header-actions .btn{border-radius:14px!important;padding:11px 15px!important;box-shadow:none!important}.bos-public-table-pill{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--bos-line);background:#fff;border-radius:14px;padding:10px 14px;font-weight:850;color:var(--bos-ink)}
.bos-menu-navigation{max-width:1240px;margin:0 auto;padding:8px 24px 0}.bos-category-strip{display:flex;gap:10px;overflow-x:auto;padding:8px 0 14px;scrollbar-width:none}.bos-category-strip::-webkit-scrollbar{display:none}.bos-category-chip{border:1px solid var(--bos-line);background:#fff;color:var(--bos-text);border-radius:16px;padding:11px 18px;font-weight:850;white-space:nowrap;cursor:pointer;text-decoration:none;box-shadow:0 3px 10px rgba(12,54,58,.025)}.bos-category-chip:first-child{background:linear-gradient(135deg,var(--bos-teal),var(--bos-petrol-2));color:#fff;border-color:transparent}
.bos-menu-tools{max-width:1240px;margin:0 auto;padding:0 24px}.bos-menu-tools-inner{border-top:1px solid var(--bos-line);padding:15px 0 6px;display:flex;align-items:center;gap:10px;justify-content:space-between}.bos-menu-tools .dietary-filters{margin:0;display:flex;gap:9px;overflow-x:auto;flex-wrap:nowrap;padding:2px 0 8px;scrollbar-width:none}.bos-menu-tools .dietary-filters::-webkit-scrollbar{display:none}.bos-menu-tools .filter-chip{border:1px solid var(--bos-line);background:#fff;border-radius:999px;padding:10px 14px;font-weight:820;color:#35545a;white-space:nowrap;box-shadow:none}.bos-menu-tools .filter-chip.on{background:linear-gradient(135deg,var(--bos-teal),var(--bos-petrol-2));border-color:transparent;color:#fff}.bos-allergy-note{max-width:1240px;margin:8px auto 4px;padding:0 24px}.bos-allergy-note .authmsg{margin:0;border:1px solid #e8eeee;background:#fff;border-radius:16px;color:#526b71;box-shadow:none;padding:11px 14px}
.bos-public-menu .public-menu-wrap{max-width:1240px;padding:14px 24px 130px}.bos-public-menu .public-menu-cat{background:transparent;border:0;border-radius:0;padding:10px 0 18px;margin:0;scroll-margin-top:20px}.bos-public-menu .public-menu-cat+.public-menu-cat{border-top:1px solid var(--bos-line);padding-top:24px}.bos-cat-head{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:13px}.bos-cat-title{margin:0;font-size:25px;line-height:1.15;color:var(--bos-ink);letter-spacing:-.35px}.bos-cat-description{margin:5px 0 0;color:var(--bos-muted)}
.bos-public-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.bos-public-menu .public-menu-item{display:grid;grid-template-columns:190px minmax(0,1fr);grid-template-rows:1fr auto;gap:0 18px;min-height:190px;padding:0;border:1px solid #ebf0f0;background:#fff;border-radius:22px;overflow:hidden;box-shadow:var(--bos-shadow-soft);position:relative}.bos-public-menu .public-menu-item.no-image{grid-template-columns:1fr;min-height:190px}.bos-public-menu .public-menu-thumb{width:190px;height:100%;min-height:190px;object-fit:cover;border-radius:0;grid-row:1/3;background:#edf4f4}.bos-menu-card-body{padding:20px 20px 8px;min-width:0}.bos-menu-card-title{display:block;font-size:21px;line-height:1.2;color:var(--bos-ink);margin-bottom:7px}.bos-menu-card-description{display:block;color:var(--bos-muted);font-size:14px;line-height:1.45;min-height:40px}.bos-menu-card-allergens{display:block;color:#809096;font-size:12px;margin-top:6px}.bos-public-menu .dietary-badges{margin-top:10px;gap:6px}.bos-public-menu .dietary-badges .badge{border-radius:999px!important;background:#f2fbf8!important;color:#187d6e!important;border:1px solid #cfeee7!important;padding:5px 8px!important;font-size:10px!important;letter-spacing:.15px}.bos-menu-card-footer{grid-column:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:5px 20px 18px}.no-image .bos-menu-card-footer{grid-column:1}.bos-public-menu .menu-price{font-size:21px;font-weight:950;color:#087b7c;white-space:nowrap}.bos-public-menu .order-add{margin:0}.bos-public-menu .order-add .btn{border-radius:999px!important;padding:9px 13px!important;border-color:#d7e7e7!important;background:#fff!important;color:#0d7374!important;box-shadow:none!important;font-weight:850}.bos-public-menu .order-add .btn:hover{background:#eefafa!important}.bos-item-plus{width:40px!important;height:40px!important;padding:0!important;display:grid!important;place-items:center;font-size:22px!important;background:var(--bos-petrol)!important;color:#fff!important;border:0!important}
.bos-public-menu .menu-actions{position:static;margin:10px auto 0;border:0;box-shadow:none;background:transparent;padding:0}.bos-public-menu .menu-actions .btn{border-radius:14px!important}.bos-public-menu .customer-powered{margin-top:26px;color:#839599}.bos-public-menu .customer-powered a{color:#0b7f80}
#publicCartFab.bos-cart-fab{left:24px;right:24px;bottom:18px;transform:none;max-width:1188px;width:calc(100% - 48px);margin:0 auto;min-width:0;border:0!important;border-radius:22px!important;background:linear-gradient(110deg,#043b3e,#075759)!important;color:#fff!important;padding:12px 14px 12px 18px!important;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:18px;box-shadow:0 18px 42px rgba(5,57,60,.22)!important;text-align:left}.bos-cart-left{display:flex;align-items:center;gap:12px;min-width:0}.bos-cart-icon{width:40px;height:40px;border-radius:13px;background:rgba(15,183,181,.18);display:grid;place-items:center;font-size:19px}.bos-cart-left strong{display:block;font-size:15px}.bos-cart-left small{display:block;margin-top:3px;color:#c4d9da;font-size:12px}.bos-cart-total small{display:block;color:#c4d9da;font-size:11px}.bos-cart-total strong{display:block;font-size:21px;white-space:nowrap}.bos-cart-cta{background:linear-gradient(135deg,var(--bos-aqua),#079d9d);padding:13px 17px;border-radius:16px;font-weight:900;white-space:nowrap}
/* v137 public dish customizer */
#publicMenuModal.bos-customizer-overlay{background:rgba(4,38,41,.52);align-items:center;padding:20px}.bos-customizer-sheet{width:min(860px,100%);max-height:92vh;border-radius:26px!important;padding:0!important;overflow:auto;background:#fbfdfd!important;box-shadow:0 28px 80px rgba(4,38,41,.28)}.bos-customizer-top{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding:22px 24px 16px}.bos-customizer-back{border:1px solid var(--bos-line);background:#fff;width:42px;height:42px;border-radius:14px;cursor:pointer;font-size:20px;color:var(--bos-ink)}.bos-customizer-heading{display:flex;gap:14px;min-width:0;flex:1}.bos-customizer-thumb{width:72px;height:72px;object-fit:cover;border-radius:18px;background:#eef4f4;flex:0 0 auto}.bos-customizer-title{min-width:0}.bos-customizer-title h2{margin:2px 0 5px;color:var(--bos-ink);font-size:26px;line-height:1.1}.bos-customizer-title p{margin:0;color:var(--bos-muted)}.bos-base-price{background:var(--bos-petrol);color:#fff;border-radius:999px;padding:10px 15px;font-weight:900;white-space:nowrap}.bos-customizer-card{margin:0 22px 22px;background:#fff;border:1px solid #e9eeee;border-radius:22px;padding:20px;box-shadow:var(--bos-shadow-soft)}.bos-customizer-section+.bos-customizer-section{border-top:1px solid var(--bos-line);margin-top:18px;padding-top:18px}.bos-customizer-section h3{font-size:13px;letter-spacing:.4px;color:#60757c;margin:0 0 12px}.bos-included-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.bos-included-option{display:flex;align-items:center;gap:11px;border:1px solid #cfe8e2;background:#f4fbf9;border-radius:15px;padding:12px 14px;cursor:pointer;min-width:0}.bos-included-option input{position:absolute;opacity:0;pointer-events:none}.bos-included-icon{width:30px;height:30px;border-radius:10px;background:#27a96c;color:#fff;display:grid;place-items:center;font-weight:950;flex:0 0 auto}.bos-included-option.is-removed{border-color:#ffd3c4;background:#fff7f3}.bos-included-option.is-removed .bos-included-icon{background:var(--bos-orange)}.bos-included-option.is-removed .bos-included-name{text-decoration:line-through;color:#75858a}.bos-included-name{font-weight:780;overflow:hidden;text-overflow:ellipsis}.bos-extra-options{display:grid;gap:9px}.bos-extra-option{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--bos-line);border-radius:15px;padding:12px 14px;background:#fff}.bos-extra-info b{display:block;color:var(--bos-ink)}.bos-extra-info small{display:block;color:var(--bos-muted);margin-top:3px}.bos-extra-add{border:1px solid #d4e8e8;background:#fff;color:#078485;border-radius:999px;padding:8px 12px;font-weight:900;cursor:pointer;white-space:nowrap}.bos-extra-selected{margin-top:10px;display:grid;gap:8px}.bos-extra-selected .modifier-row{border:1px solid #bfe3df!important;background:#f2fbfa!important;border-radius:14px!important;padding:10px 12px!important}.bos-customizer-meta{display:grid;grid-template-columns:120px minmax(0,1fr);gap:10px;margin-top:16px}.bos-customizer-meta .field{margin:0}.bos-customizer-summary{display:flex;align-items:center;justify-content:space-between;gap:14px;background:linear-gradient(110deg,#043b3e,#075759);color:#fff;border-radius:17px;padding:15px 17px;margin-top:18px}.bos-customizer-summary span{font-weight:750}.bos-customizer-summary strong{font-size:24px;white-space:nowrap}.bos-customizer-summary small{color:#bcd8d9}.bos-customizer-submit{width:100%!important;margin-top:12px!important;border:0!important;border-radius:17px!important;background:linear-gradient(135deg,var(--bos-aqua),#07999a)!important;color:#fff!important;padding:14px 18px!important;font-size:16px!important;font-weight:950!important;box-shadow:none!important}.bos-customizer-support{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 22px 22px}.bos-support-card{border:1px solid var(--bos-line);background:#fff;border-radius:18px;padding:13px 15px;display:flex;gap:11px;align-items:flex-start}.bos-support-icon{width:40px;height:40px;border-radius:13px;background:#e9f8f6;color:#078586;display:grid;place-items:center;font-size:19px;flex:0 0 auto}.bos-support-card b{display:block;color:var(--bos-ink)}.bos-support-card span{display:block;color:var(--bos-muted);font-size:12px;margin-top:3px;line-height:1.35}
@media(max-width:820px){.bos-public-grid{grid-template-columns:1fr}.bos-public-menu .public-menu-item{grid-template-columns:150px minmax(0,1fr)}.bos-public-menu .public-menu-thumb{width:150px}.bos-public-header{padding:18px 16px 10px}.bos-menu-navigation,.bos-menu-tools,.bos-allergy-note{padding-left:16px;padding-right:16px}.bos-public-menu .public-menu-wrap{padding-left:16px;padding-right:16px}.bos-public-header-actions{gap:7px}.bos-public-brand-copy h1{font-size:25px}#publicCartFab.bos-cart-fab{left:14px;right:14px;width:calc(100% - 28px);grid-template-columns:minmax(0,1fr) auto}.bos-cart-cta{display:none}}
@media(max-width:560px){.bos-public-menu{padding-bottom:100px}.bos-public-mark{width:48px;height:48px;border-radius:15px}.bos-public-brand-copy h1{font-size:22px}.bos-public-brand-copy p{font-size:12px}.bos-public-header{align-items:flex-start}.bos-public-header-actions .btn{padding:9px 10px!important;font-size:12px!important}.bos-public-table-pill{padding:8px 10px;font-size:12px}.bos-menu-tools-inner{display:block}.bos-public-menu .public-menu-cat{padding-top:8px}.bos-public-grid{gap:12px}.bos-public-menu .public-menu-item,.bos-public-menu .public-menu-item.no-image{grid-template-columns:106px minmax(0,1fr);grid-template-rows:1fr auto;min-height:138px}.bos-public-menu .public-menu-item.no-image{grid-template-columns:1fr}.bos-public-menu .public-menu-thumb{width:106px;height:100%;min-height:138px;grid-row:1/3}.bos-menu-card-body{padding:14px 14px 5px}.bos-menu-card-title{font-size:17px}.bos-menu-card-description{font-size:12px;min-height:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.bos-menu-card-allergens{display:none}.bos-menu-card-footer{grid-column:2;padding:3px 14px 13px}.no-image .bos-menu-card-footer{grid-column:1}.bos-public-menu .menu-price{font-size:18px}.bos-public-menu .order-add .btn:not(.bos-item-plus){font-size:11px!important;padding:7px 10px!important}.bos-item-plus{width:34px!important;height:34px!important}.bos-cat-title{font-size:21px}.bos-cat-description{font-size:12px}.bos-allergy-note .authmsg{font-size:12px}.bos-cart-icon{display:none}.bos-cart-left{gap:4px}.bos-cart-left strong{font-size:13px}.bos-cart-left small{font-size:10px}.bos-cart-total strong{font-size:18px}#publicCartFab.bos-cart-fab{padding:10px 13px!important;border-radius:18px!important}.bos-customizer-top{padding:16px;gap:10px}.bos-customizer-heading{gap:10px}.bos-customizer-thumb{width:58px;height:58px;border-radius:15px}.bos-customizer-title h2{font-size:20px}.bos-customizer-title p{font-size:12px}.bos-base-price{font-size:12px;padding:8px 10px}.bos-customizer-card{margin:0 12px 12px;padding:15px}.bos-included-grid{grid-template-columns:1fr}.bos-customizer-meta{grid-template-columns:92px minmax(0,1fr)}.bos-customizer-summary{padding:12px 13px}.bos-customizer-summary strong{font-size:20px}.bos-customizer-support{grid-template-columns:1fr;margin:0 12px 12px}.bos-support-card{padding:11px 12px}}



/* v137.1 · WorkQode visual system · Menu lato venditore */
.bos-seller-menu-shell{
  --b:#07999a;--b2:#12b8b0;--bg:#f7fafb;--c:#fff;--i:#0c2b31;--m:#74838b;--l:#e3ecec;--ok:#0d8a70;
  background:#f7fafb;color:var(--i)
}
.bos-seller-menu-shell .side{
  width:88px;background:#fff;color:#0c2b31;border-right:1px solid #e5eded;padding:18px 10px;
  box-shadow:8px 0 28px rgba(10,44,49,.035)
}
.bos-seller-menu-shell .side .logo{font-size:0;text-align:center;margin:8px 0 20px}
.bos-seller-menu-shell .side .logo span{font-size:19px;color:#087f83;letter-spacing:.02em}
.bos-seller-menu-shell .side button{
  font-size:0;text-align:center;color:#536b72;border:1px solid transparent;border-radius:15px;padding:12px 6px;margin:5px 0;
  transition:.18s ease
}
.bos-seller-menu-shell .side button b{font-size:22px;line-height:1}
.bos-seller-menu-shell .side button.on,.bos-seller-menu-shell .side button:hover{
  color:#fff;background:linear-gradient(145deg,#087f83,#0ba5a4);border-color:#07898c;box-shadow:0 7px 18px rgba(5,139,141,.22)
}
.bos-seller-menu-shell .main{margin-left:88px;width:calc(100% - 88px);background:#f8fafb}
.bos-seller-menu-shell .top{
  height:auto;min-height:74px;background:rgba(255,255,255,.97);border-bottom:1px solid #e4ecec;padding:12px 24px;
  backdrop-filter:blur(12px)
}
.bos-seller-menu-shell .top>b:first-child{font-size:18px;color:#0c2b31}
.bos-seller-menu-shell .topactions{gap:9px}
.bos-seller-menu-shell .topactions select,.bos-seller-menu-shell .topactions .userchip{
  border:1px solid #e0e9e9;background:#fff;color:#314b52;border-radius:12px
}
.bos-seller-menu-shell .main>.sec{max-width:1320px;padding:26px 26px 56px}
.bos-seller-menu-shell .panel,.bos-seller-menu-shell .card{
  border-color:#e4ecec;border-radius:20px;box-shadow:0 7px 24px rgba(13,48,53,.045)
}
.bos-seller-menu-shell .btn{border-radius:13px;font-weight:800}
.bos-seller-menu-shell .btn.p,.bos-seller-menu-shell .p{
  background:linear-gradient(135deg,#078f93,#10b6af);color:#fff;box-shadow:0 6px 16px rgba(4,142,145,.16)
}
.bos-seller-menu-shell .btn.s,.bos-seller-menu-shell .s{background:#fff;border-color:#dce8e8;color:#15353b}
.bos-seller-menu-shell .btn.s:hover{border-color:#8dcfd0;background:#f4fbfb}
.bos-seller-menu-shell .badge{background:#e7f6f4;color:#0c7f70}
.bos-seller-menu-shell .badge.ok{background:#e5f8f1;color:#0b7f65}
.bos-seller-menu-shell .field label{color:#26444a;font-size:12px;letter-spacing:.015em}
.bos-seller-menu-shell .field input,.bos-seller-menu-shell .field select,.bos-seller-menu-shell .field textarea,
.bos-seller-menu-shell select.menu-editor-select{
  border:1px solid #dce7e7!important;border-radius:14px!important;background:#fff!important;color:#15353b;outline:none;
  transition:border-color .15s ease,box-shadow .15s ease
}
.bos-seller-menu-shell .field input:focus,.bos-seller-menu-shell .field select:focus,.bos-seller-menu-shell .field textarea:focus,
.bos-seller-menu-shell select.menu-editor-select:focus{border-color:#55babc!important;box-shadow:0 0 0 3px rgba(7,153,154,.10)}

/* editor principale */
.bos-seller-menu-shell .menu-editor-panel{padding:22px!important;background:#fff;overflow:visible!important}
.bos-seller-menu-shell .menu-editor-head{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(220px,300px);gap:18px;align-items:center;padding:0 0 18px!important;border-bottom:1px solid #e8eeee}
.bos-seller-menu-shell .menu-editor-head h3{font-size:clamp(1.55rem,2.7vw,2rem)!important;color:#0b2d33;letter-spacing:-.025em}
.bos-seller-menu-shell .menu-editor-head .muted{font-size:14px;line-height:1.45}
.bos-seller-menu-shell .menu-editor-select{width:100%!important;max-width:none!important;padding:12px 14px!important}
.bos-seller-menu-shell .menu-new-category-panel,.bos-seller-menu-shell .menu-new-item-panel{
  padding:17px!important;border:1px solid #e2ebeb!important;background:linear-gradient(180deg,#ffffff,#fbfdfd);box-shadow:none!important
}
.bos-seller-menu-shell .menu-new-category-panel h4,.bos-seller-menu-shell .menu-new-item-panel h4{
  font-size:18px;margin:0 0 12px!important;color:#102f35
}
.bos-seller-menu-shell .menu-new-category-grid,.bos-seller-menu-shell .menu-new-item-grid{gap:10px!important}
.bos-seller-menu-shell .menu-new-category-panel .btn.p,.bos-seller-menu-shell .menu-new-item-panel .btn.p{width:100%;min-height:46px}
.bos-seller-menu-shell .menu-new-item-panel details>summary.btn{min-height:46px;display:grid;place-items:center}

/* contenuto menu e categorie */
.bos-seller-menu-shell .menu-editor-panel>div:last-child>h3{margin:4px 0 14px;font-size:24px;color:#0b2d33}
.bos-seller-menu-shell .menu-editor-panel .menu-cat{
  margin:14px 0 20px;padding:14px;border:1px solid #e2ebeb;border-radius:19px;background:#fbfdfd
}
.bos-seller-menu-shell .menu-editor-panel .menu-cat>.row{
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:12px!important;align-items:center!important;
  padding:2px 2px 12px!important;border-bottom:1px solid #e6eeee!important
}
.bos-seller-menu-shell .menu-editor-panel .menu-cat>.row>div b{font-size:19px;color:#0b2d33}
.bos-seller-menu-shell .menu-editor-panel .menu-cat>.row>.btn{width:auto!important;min-width:145px!important;color:#a2463d;border-color:#f0d4d0;background:#fffaf9}

/* card prodotto venditore */
.bos-seller-menu-shell .menu-editor-panel .menu-item-card{
  display:grid!important;grid-template-columns:150px minmax(0,1fr) 112px!important;gap:16px!important;align-items:start!important;
  width:100%;margin:12px 0 0;padding:14px!important;border:1px solid #e3ebeb!important;border-radius:18px;background:#fff;
  box-shadow:0 4px 14px rgba(13,48,53,.04)
}
.bos-seller-menu-shell .menu-editor-panel .menu-item-card.unavailable{opacity:.72;background:#fafbfb}
.bos-seller-menu-shell .menu-editor-panel .menu-item-img{
  grid-column:1!important;width:150px!important;max-width:150px!important;height:128px!important;border-radius:16px!important;object-fit:cover!important;background:#eef3f3
}
.bos-seller-menu-shell .menu-editor-panel .menu-item-card>div:nth-child(2){grid-column:2!important;min-width:0!important}
.bos-seller-menu-shell .menu-editor-panel .menu-item-card>div:nth-child(2)>b{font-size:20px;line-height:1.15;color:#102f35}
.bos-seller-menu-shell .menu-editor-panel .menu-item-card .muted{color:#74838b;line-height:1.4}
.bos-seller-menu-shell .menu-editor-panel .dietary-badges .badge{border:1px solid #cfe9e5;background:#f4fbfa;color:#107a6b}
.bos-seller-menu-shell .menu-editor-panel .menu-item-actions{
  display:grid!important;grid-template-columns:repeat(5,minmax(106px,1fr))!important;gap:7px!important;width:100%!important;margin-top:11px!important
}
.bos-seller-menu-shell .menu-editor-panel .menu-item-actions .badge,.bos-seller-menu-shell .menu-editor-panel .menu-item-actions .btn{
  width:100%!important;min-width:0!important;min-height:38px;padding:8px 9px!important;display:grid;place-items:center;text-align:center;white-space:normal!important;font-size:12px
}
.bos-seller-menu-shell .menu-editor-panel .menu-item-actions .btn:last-child{color:#a34239;border-color:#efd2cf;background:#fffafa}
.bos-seller-menu-shell .menu-editor-panel .menu-price{
  grid-column:3!important;width:100%!important;text-align:right!important;margin:2px 0 0!important;color:#087f83;font-size:20px;font-weight:950;white-space:nowrap!important
}
.bos-seller-menu-shell .menu-item-edit-panel{border:1px solid #cce8e4;background:#f7fcfb;border-radius:16px!important;padding:14px!important}
.bos-seller-menu-shell .menu-item-edit-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}

/* libreria ingredienti dentro il tab Menu */
.bos-seller-menu-shell .restaurant-ingredient-card{border-color:#e1ebeb!important;background:#fff!important;box-shadow:none!important}
.bos-seller-menu-shell .restaurant-ingredient-toggle{border-color:#dce8e8;background:#fbfdfd}
.bos-seller-menu-shell .restaurant-ingredient-exception-panel{border-color:#e4ecec}

@media(max-width:850px){
 .bos-seller-menu-shell .side{width:64px!important;padding:10px 6px!important}
 .bos-seller-menu-shell .main{margin-left:64px!important;width:calc(100% - 64px)!important}
 .bos-seller-menu-shell .top{padding:10px 12px}
 .bos-seller-menu-shell .main>.sec{padding:18px 12px 44px!important}
 .bos-seller-menu-shell .menu-editor-head{grid-template-columns:1fr!important}
 .bos-seller-menu-shell .menu-editor-panel .menu-item-actions{grid-template-columns:repeat(3,minmax(100px,1fr))!important}
}

@media(max-width:560px){
 .bos-seller-menu-shell .side{width:54px!important;padding:8px 5px!important;background:#fff!important;border-right-color:#e4eded!important}
 .bos-seller-menu-shell .main{margin-left:54px!important;width:calc(100% - 54px)!important}
 .bos-seller-menu-shell .side button{min-height:45px!important;padding:10px 3px!important;border-radius:13px!important}
 .bos-seller-menu-shell .side button b{font-size:20px!important}
 .bos-seller-menu-shell .top{background:#fff;gap:7px;padding:9px 10px}
 .bos-seller-menu-shell .main>.sec{padding:14px 8px 40px!important}
 .bos-seller-menu-shell .menu-editor-panel{padding:14px!important;border-radius:18px!important}
 .bos-seller-menu-shell .menu-editor-head{padding-bottom:14px!important;gap:11px!important}
 .bos-seller-menu-shell .menu-editor-head h3{font-size:27px!important}
 .bos-seller-menu-shell .menu-editor-head .muted{font-size:13px}
 .bos-seller-menu-shell .menu-new-category-panel,.bos-seller-menu-shell .menu-new-item-panel{padding:13px!important;border-radius:17px!important}

 .bos-seller-menu-shell .menu-new-category-grid{grid-template-columns:1fr 1fr!important;gap:9px!important}
 .bos-seller-menu-shell .menu-new-category-grid>div{grid-column:auto!important;min-width:0!important}
 .bos-seller-menu-shell .menu-new-category-grid>div:nth-child(1){grid-column:1!important}
 .bos-seller-menu-shell .menu-new-category-grid>div:nth-child(2){grid-column:2!important}
 .bos-seller-menu-shell .menu-new-category-grid>div:nth-child(3){grid-column:1!important}
 .bos-seller-menu-shell .menu-new-category-grid>div:nth-child(4){grid-column:2!important;align-self:end!important}

 .bos-seller-menu-shell .menu-new-item-grid{grid-template-columns:1fr 1fr!important;gap:9px!important}
 .bos-seller-menu-shell .menu-new-item-grid>div{grid-column:auto!important;min-width:0!important}
 .bos-seller-menu-shell .menu-new-item-grid>div:nth-child(1){grid-column:1!important}
 .bos-seller-menu-shell .menu-new-item-grid>div:nth-child(2){grid-column:2!important}
 .bos-seller-menu-shell .menu-new-item-grid>div:nth-child(3){grid-column:1!important}
 .bos-seller-menu-shell .menu-new-item-grid>div:nth-child(4){grid-column:2!important}
 .bos-seller-menu-shell .menu-new-item-grid>div:nth-child(5){grid-column:1!important}
 .bos-seller-menu-shell .menu-new-item-grid>div:nth-child(6){grid-column:2!important;align-self:end!important}
 .bos-seller-menu-shell .menu-new-item-grid>div:nth-child(7){grid-column:1/-1!important}
 .bos-seller-menu-shell .menu-new-item-panel details>summary.btn{width:100%;min-height:44px}

 .bos-seller-menu-shell .menu-editor-panel .menu-cat{padding:10px;margin:12px 0 16px;border-radius:16px}
 .bos-seller-menu-shell .menu-editor-panel .menu-cat>.row{grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important}
 .bos-seller-menu-shell .menu-editor-panel .menu-cat>.row>.btn{width:auto!important;min-width:0!important;padding:8px 10px!important;font-size:11px!important}

 .bos-seller-menu-shell .menu-editor-panel .menu-item-card{
   grid-template-columns:104px minmax(0,1fr)!important;gap:11px!important;padding:11px!important;border-radius:16px!important
 }
 .bos-seller-menu-shell .menu-editor-panel .menu-item-img{
   grid-column:1!important;width:104px!important;max-width:104px!important;height:104px!important;border-radius:14px!important
 }
 .bos-seller-menu-shell .menu-editor-panel .menu-item-card>div:nth-child(2){grid-column:2!important}
 .bos-seller-menu-shell .menu-editor-panel .menu-item-card>div:nth-child(2)>b{font-size:17px}
 .bos-seller-menu-shell .menu-editor-panel .menu-item-card .muted{font-size:12px}
 .bos-seller-menu-shell .menu-editor-panel .menu-item-actions{grid-template-columns:1fr 1fr!important;gap:6px!important;margin-top:9px!important}
 .bos-seller-menu-shell .menu-editor-panel .menu-item-actions .badge,.bos-seller-menu-shell .menu-editor-panel .menu-item-actions .btn{min-height:36px;font-size:11px!important;padding:7px 6px!important}
 .bos-seller-menu-shell .menu-editor-panel .menu-item-actions .badge:first-child{grid-column:1/-1}
 .bos-seller-menu-shell .menu-editor-panel .menu-price{grid-column:2!important;text-align:left!important;font-size:18px;margin-top:-2px!important}
 .bos-seller-menu-shell .menu-item-edit-panel{grid-column:1/-1!important;margin-top:9px!important}
 .bos-seller-menu-shell .menu-item-edit-actions{grid-template-columns:1fr!important}
 .bos-seller-menu-shell .restaurant-ingredient-card{border-radius:14px!important}
}


/* v137.2 · flag ingredienti espliciti + card menu mobile leggibili */
.bos-seller-menu-shell .menu-item-mod-summary{display:grid;gap:3px;overflow-wrap:normal!important;word-break:normal!important}
.bos-seller-menu-shell .menu-item-mod-summary span{display:block;white-space:normal!important;overflow-wrap:normal!important;word-break:normal!important;hyphens:none!important}
.bos-seller-menu-shell .menu-editor-panel .menu-item-card,
.bos-seller-menu-shell .menu-editor-panel .menu-item-card *{word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important}
@media(max-width:560px){
 .bos-seller-menu-shell .menu-editor-panel .menu-item-card{
   display:grid!important;grid-template-columns:1fr!important;gap:10px!important;align-items:start!important;
   width:100%!important;max-width:100%!important;min-width:0!important;padding:11px!important
 }
 .bos-seller-menu-shell .menu-editor-panel .menu-item-img{
   grid-column:1!important;width:100%!important;max-width:100%!important;height:155px!important;
   border-radius:14px!important;object-fit:cover!important
 }
 .bos-seller-menu-shell .menu-editor-panel .menu-item-card>div:nth-child(2){
   grid-column:1!important;width:100%!important;max-width:100%!important;min-width:0!important
 }
 .bos-seller-menu-shell .menu-editor-panel .menu-item-card>div:nth-child(2)>b{font-size:19px!important;line-height:1.2!important}
 .bos-seller-menu-shell .menu-editor-panel .menu-item-card .muted{font-size:13px!important;line-height:1.45!important;white-space:normal!important}
 .bos-seller-menu-shell .menu-editor-panel .menu-item-actions{
   grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:7px!important;width:100%!important
 }
 .bos-seller-menu-shell .menu-editor-panel .menu-item-actions .badge:first-child{grid-column:1/-1!important}
 .bos-seller-menu-shell .menu-editor-panel .menu-item-actions .badge,
 .bos-seller-menu-shell .menu-editor-panel .menu-item-actions .btn{
   min-width:0!important;width:100%!important;white-space:normal!important;word-break:normal!important;
   overflow-wrap:normal!important;line-height:1.15!important;min-height:42px!important;font-size:12px!important
 }
 .bos-seller-menu-shell .menu-editor-panel .menu-item-actions .btn:last-child{grid-column:1/-1!important}
 .bos-seller-menu-shell .menu-editor-panel .menu-price{
   grid-column:1!important;width:100%!important;text-align:left!important;margin:1px 0 0!important;font-size:19px!important
 }
 .bos-seller-menu-shell .menu-item-edit-panel{grid-column:1!important;width:100%!important;max-width:100%!important}
}
@media(max-width:380px){
 .bos-seller-menu-shell .menu-editor-panel .menu-item-card{grid-template-columns:1fr!important}
 .bos-seller-menu-shell .menu-editor-panel .menu-item-img{width:100%!important;max-width:100%!important;height:140px!important}
}
@media(max-width:380px){
 .bos-seller-menu-shell .side{width:50px!important}
 .bos-seller-menu-shell .main{margin-left:50px!important;width:calc(100% - 50px)!important}
 .bos-seller-menu-shell .menu-new-category-grid,.bos-seller-menu-shell .menu-new-item-grid{grid-template-columns:1fr!important}
 .bos-seller-menu-shell .menu-new-category-grid>div,.bos-seller-menu-shell .menu-new-item-grid>div{grid-column:1!important}
 .bos-seller-menu-shell .menu-new-item-grid>div:nth-child(7){grid-column:1!important}
 .bos-seller-menu-shell .menu-editor-panel .menu-item-card{grid-template-columns:88px minmax(0,1fr)!important}
 .bos-seller-menu-shell .menu-editor-panel .menu-item-img{width:88px!important;max-width:88px!important;height:88px!important}
}


/* v137.3 · mobile seller menu: full-width cards + no wrapped action labels */
@media(max-width:560px){
  .bos-seller-menu-shell .menu-editor-panel .menu-item-card{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    gap:10px!important;
    padding:12px!important;
  }
  .bos-seller-menu-shell .menu-editor-panel .menu-item-img{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    height:180px!important;
    min-height:180px!important;
    object-fit:cover!important;
    border-radius:14px!important;
    grid-column:auto!important;
  }
  .bos-seller-menu-shell .menu-editor-panel .menu-item-card>div:nth-child(2){
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    grid-column:auto!important;
  }
  .bos-seller-menu-shell .menu-editor-panel .menu-item-card>div:nth-child(2)>b{
    display:block!important;
    width:100%!important;
    font-size:20px!important;
    line-height:1.2!important;
  }
  .bos-seller-menu-shell .menu-editor-panel .menu-item-card .muted,
  .bos-seller-menu-shell .menu-item-mod-summary,
  .bos-seller-menu-shell .menu-item-mod-summary span{
    display:block!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:break-word!important;
    hyphens:none!important;
    font-size:14px!important;
    line-height:1.45!important;
  }
  .bos-seller-menu-shell .menu-editor-panel .menu-item-actions{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    width:100%!important;
    gap:8px!important;
    margin-top:10px!important;
  }
  .bos-seller-menu-shell .menu-editor-panel .menu-item-actions .badge:first-child{grid-column:1/-1!important}
  .bos-seller-menu-shell .menu-editor-panel .menu-item-actions .badge,
  .bos-seller-menu-shell .menu-editor-panel .menu-item-actions .btn{
    width:100%!important;
    min-width:0!important;
    min-height:42px!important;
    padding:8px 6px!important;
    white-space:nowrap!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    font-size:12px!important;
    line-height:1!important;
  }
  .bos-seller-menu-shell .menu-editor-panel .menu-item-actions .btn:last-child{grid-column:1/-1!important}
  .bos-seller-menu-shell .menu-editor-panel .menu-price{
    display:block!important;
    width:100%!important;
    grid-column:auto!important;
    text-align:left!important;
    margin:2px 0 0!important;
    font-size:20px!important;
    white-space:nowrap!important;
  }
}
@media(max-width:380px){
  .bos-seller-menu-shell .menu-editor-panel .menu-item-card{
    display:flex!important;
    flex-direction:column!important;
    grid-template-columns:none!important;
  }
  .bos-seller-menu-shell .menu-editor-panel .menu-item-img{
    width:100%!important;
    max-width:100%!important;
    height:160px!important;
  }
  .bos-seller-menu-shell .menu-editor-panel .menu-item-card>div:nth-child(2){width:100%!important;max-width:100%!important}
}

