.commerce-intro{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:28px;background:linear-gradient(120deg,#191b24,#2d1b25);color:#fff;border-radius:18px;margin:18px 0 24px}.commerce-intro h2{font-size:26px;margin:8px 0}.commerce-intro p{color:#ded8df;max-width:620px;margin:0}.commerce-intro .eyebrow{color:#ff8190}.commerce-total{font-size:38px;font-weight:700;text-align:center;min-width:100px}.commerce-total small{display:block;font-size:12px;font-weight:400;color:#ddd}.offer-type-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.offer-type-card{display:flex;flex-direction:column;align-items:flex-start;gap:12px;text-align:left;border:1px solid var(--line);border-radius:16px;background:var(--white);color:var(--ink);padding:20px;cursor:pointer;transition:transform .15s,border-color .15s}.offer-type-card:hover{transform:translateY(-3px);border-color:#d93448}.offer-type-card:focus-visible{outline:3px solid #d93448;outline-offset:3px}.offer-symbol{background:#fce8ec;color:#b51d33;display:grid;place-items:center;border-radius:12px;width:48px;height:44px;font-size:21px;font-weight:700;flex-shrink:0}.offer-type-card b{font-size:15px}.offer-type-card small{line-height:1.5;color:var(--muted);flex:1}.offer-create{font-size:12px;font-weight:700;color:#bd253b}.commerce-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:28px 0 14px}.commerce-heading h2{margin:0}.commerce-heading h2 span,.dispatch-head h2 span{color:var(--muted);font-weight:400;font-size:18px}.commerce-heading small{color:var(--muted)}.offers-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.offer-card{border:1px solid var(--line);border-radius:16px;padding:20px;background:var(--white);min-width:0}.offer-card-top{display:flex;justify-content:space-between;gap:8px;align-items:center}.offer-card-top>small{font-size:9px;font-weight:700;letter-spacing:.06em;color:var(--muted)}.commerce-status{display:inline-block;padding:5px 9px;border-radius:30px;background:#edf0f7;color:#4b5570;font-size:11px;font-weight:600;white-space:nowrap}.commerce-status.positive{color:#176045;background:#e4f5eb}.offer-product{display:flex;gap:12px;align-items:center;margin:20px 0 16px}.offer-product img{width:62px;height:62px;object-fit:cover;border-radius:12px;flex-shrink:0}.offer-product h3{font-size:17px;margin:0 0 5px;overflow-wrap:anywhere}.offer-product p{font-size:12px;color:var(--muted);margin:0}.offer-prices{display:flex;flex-wrap:wrap;align-items:baseline;gap:9px}.offer-prices del{color:var(--muted);font-size:13px}.offer-prices strong{font-size:24px}.offer-prices small{font-size:11px;color:var(--muted)}.offer-detail{font-size:12px;line-height:1.6;color:var(--muted)}.offer-actions{display:flex;gap:12px;justify-content:space-between;margin-top:18px}.commerce-empty{text-align:center;padding:36px 24px;color:var(--muted);grid-column:1/-1}.commerce-empty b{color:var(--ink)}.commerce-empty p{font-size:13px;margin-bottom:0}.offer-form-intro{display:flex;align-items:center;gap:14px;margin-bottom:20px}.offer-form-intro p{color:var(--muted);font-size:13px}.offer-preview{background:var(--paper);border:1px solid var(--line);padding:16px;border-radius:12px;margin:14px 0}.offer-preview strong{font-size:22px}.offer-preview small{display:block;margin-top:7px;color:var(--muted)}.loyalty-details{margin-top:24px}.loyalty-details summary{cursor:pointer;font-weight:700;padding:20px}.loyalty-details>div{padding:0 20px 20px}.offer-shelf{margin:24px auto}.offer-shelf h2{font-size:24px}.offer-shelf-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px}.customer-offer{border:1px solid var(--line);border-radius:16px;padding:18px;background:var(--white)}.customer-offer h3{margin:10px 0;font-size:19px}.customer-offer p{color:var(--muted);font-size:13px}.customer-offer .btn{margin-top:14px}.cart-offer-label{display:block;color:#cc3245;font-size:11px;margin:5px 0}.dispatch-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:20px 0}.dispatch-stats>div{display:grid;grid-template-columns:10px 1fr;gap:5px 12px;padding:18px 22px;border:1px solid var(--line);background:var(--white);border-radius:14px;align-items:center}.dispatch-stats strong{font-size:28px}.dispatch-stats small{grid-column:2;color:var(--muted);font-size:12px}.stat-dot{width:9px;height:9px;border-radius:50%;background:#8e77b7}.stat-dot.ready{background:#24a06b}.stat-dot.out{background:#d93448}.dispatch-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:24px;align-items:start}.dispatch-panel{overflow:hidden}.dispatch-head{padding:22px 22px 8px;display:flex;align-items:center;justify-content:space-between;gap:12px}.dispatch-head h2{margin:7px 0 0;font-size:23px}.dispatch-head .eyebrow{font-size:9px}.dispatch-explainer{font-size:12px;color:var(--muted);padding:0 22px 16px;margin:0;line-height:1.6}.dispatch-orders{padding:0 16px}.dispatch-order{display:flex;align-items:flex-start;gap:12px;padding:18px 8px;border-top:1px solid var(--line);cursor:pointer;margin:0}.dispatch-order input{width:20px!important;height:20px;flex-shrink:0;margin:3px 0;accent-color:#d93448}.dispatch-order-body{display:flex;flex:1;flex-direction:column;gap:8px;min-width:0}.dispatch-row{display:flex;justify-content:space-between;align-items:center;gap:8px;flex-wrap:wrap}.dispatch-row b{font-size:14px}.distance-chip{font-size:11px;background:#e8f5ed;color:#196744;padding:4px 8px;border-radius:20px;font-weight:600;white-space:nowrap}.needs-location .distance-chip{background:#fff0d5;color:#835419}.dispatch-address{font-size:12px;color:var(--muted);line-height:1.5;overflow-wrap:anywhere}.dispatch-meta{font-size:11px;color:var(--muted)}.dispatch-assign{padding:18px 22px;background:var(--paper);border-top:1px solid var(--line)}.dispatch-action{display:flex;flex-direction:column;gap:12px}.dispatch-action>span{font-size:12px;color:var(--muted)}.dispatch-action .btn{width:100%;white-space:normal}.dispatch-routes>.dispatch-head{padding-top:0;padding-left:0}.driver-route{margin:16px 0;padding:20px}.driver-route-head{display:flex;align-items:center;gap:12px}.driver-route-head>div{flex:1;min-width:0}.driver-route-head h3{font-size:16px;margin:0 0 4px;overflow-wrap:anywhere}.driver-route-head small{font-size:11px;color:var(--muted)}.driver-avatar{display:grid;place-items:center;width:42px;height:42px;background:#fce8ec;color:#b51d33;border-radius:50%;font-weight:700;flex-shrink:0}.route-progress{height:4px;border-radius:8px;background:var(--line);margin:18px 0 10px;overflow:hidden}.route-progress span{height:100%;display:block;background:#239365}.route-stops{list-style:none;padding:0;margin:0}.route-stops li{display:flex;gap:12px;align-items:flex-start;padding:12px 0}.stop-number{display:grid;place-items:center;flex-shrink:0;width:25px;height:25px;border:1px solid var(--line);border-radius:50%;font-size:11px;color:var(--muted)}.route-stops b{font-size:13px}.route-stops small{display:block;line-height:1.5;color:var(--muted);font-size:12px;margin-top:4px;overflow-wrap:anywhere}.stop-done .stop-number{color:#176045;background:#e4f5eb}.stop-done b{color:var(--muted)}.next-stop{border-top:1px solid var(--line);padding-top:16px;margin-top:6px}.next-stop>small{font-size:10px;color:#b51d33;font-weight:700}.route-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.route-actions .btn,.route-actions a{font-size:12px}.dispatch-panel .form-error:not(:empty){margin:0 18px 12px}.dispatch-panel [hidden],#offer-form [hidden]{display:none!important}
@media(max-width:1150px){.offer-type-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.offers-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dispatch-grid{grid-template-columns:1fr}}@media(max-width:600px){.commerce-intro{padding:21px;gap:12px}.commerce-intro h2{font-size:22px}.commerce-total{display:none}.offer-type-grid{gap:10px}.offer-type-card{padding:15px;gap:10px}.offer-type-card b{font-size:14px}.offer-type-card small{font-size:11px}.offers-grid{grid-template-columns:1fr}.commerce-heading{align-items:flex-start;flex-direction:column;gap:6px}.dispatch-stats{gap:8px}.dispatch-stats>div{padding:12px 10px;gap:4px 8px}.dispatch-stats strong{font-size:24px}.dispatch-stats small{font-size:10px;line-height:1.4}.dispatch-head{padding:18px 16px 10px}.dispatch-explainer{padding:0 16px 16px}.dispatch-orders{padding:0 10px}.dispatch-assign{padding:16px}.driver-route{padding:16px}.driver-route-head{flex-wrap:wrap}.driver-route-head .commerce-status{font-size:10px}.route-actions .btn{flex:1}.offer-shelf-grid{grid-template-columns:1fr}}
.sushi-option-group{border:1px solid var(--line,#444);border-radius:14px;padding:16px;margin:18px 0;min-width:0}.sushi-option-group legend{padding:0 7px;font-weight:700}.sushi-option-group>p{font-size:12px;opacity:.75;margin:0 0 10px}.sushi-option{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;border-bottom:1px solid #8883;min-height:50px}.sushi-option:last-child{border:0}.sushi-option span{min-width:0;overflow-wrap:anywhere}.sushi-option small{display:block;opacity:.75;margin-top:4px}.sushi-option select{width:70px;flex:none}.sushi-option input[type=radio]{width:22px;height:22px;flex:none;accent-color:#d92e38}.sushi-edit-choice{display:grid;grid-template-columns:1fr 110px 80px;gap:10px;align-items:center;margin:12px 0}.sushi-edit-choice label{font-size:11px}.product-body>p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}@media(max-width:420px){.sushi-edit-choice{grid-template-columns:1fr 1fr}.sushi-edit-choice>b{grid-column:1/-1}}

.food-photo.bottle-photo{background:#fff}.food-photo.bottle-photo img{object-fit:contain!important;padding:12px;width:100%;height:100%}

.table-board {display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:14px}
.table-tile {display:flex;flex-direction:column;align-items:flex-start;gap:8px;min-height:126px;text-align:left;padding:16px;border-radius:14px;border:1px solid;overflow-wrap:anywhere}
.table-tile.available {background:#142820;border-color:#387a58;color:#dcf8e7}
.table-tile.occupied {background:#361a22;border-color:#9e3d50;color:#ffe3e9}
.table-tile:hover {filter:brightness(1.16)}
.table-tile:focus-visible {outline:3px solid currentColor;outline-offset:2px}
.table-tile strong {font-size:21px}
.table-tile .table-state {font-weight:700;font-size:12px}
.table-tile span:not(.table-state) {font-size:12px}
.table-workspace {display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,340px);align-items:start;gap:22px}
.table-workspace.ticket-only {grid-template-columns:minmax(0,520px)}
.table-menu h2,.table-ticket h2 {margin:0 0 14px}
.table-menu .searchbox {max-width:none;margin:0}
.table-categories {display:flex;gap:8px;overflow:auto;margin:14px 0;padding-bottom:5px}
.table-categories button {flex:none;white-space:nowrap}
.table-menu-products {display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:12px}
.table-product {min-width:0;display:flex;flex-direction:column;overflow:hidden;background:var(--white);border:1px solid var(--line);border-radius:12px}
.table-product .food-photo {height:auto;aspect-ratio:4/3}
.table-product .food-photo img,.table-item-photo {object-fit:contain}
.table-product>div:last-child {display:flex;flex-direction:column;align-items:stretch;flex:1;gap:9px;padding:10px;overflow-wrap:anywhere}
.table-product b {font-size:14px}
.table-product span {margin-top:auto;font-weight:700}
.table-product button,.table-ticket button {min-height:44px}
.table-ticket {position:sticky;top:18px;padding:18px;scroll-margin-top:90px}
.table-ticket-items {list-style:none;margin:0;padding:0;max-height:44vh;overflow:auto}
.table-ticket-items li {display:flex;align-items:start;justify-content:space-between;gap:10px;padding:11px 0;border-bottom:1px solid var(--line);font-size:13px;overflow-wrap:anywhere}
.table-ticket-items strong {white-space:nowrap}
.table-item-note {display:block;margin-top:5px;color:var(--muted);overflow-wrap:anywhere}
.table-ticket-total {margin:12px 0}
.table-ticket .btn {margin-bottom:8px}
.table-mobile-ticket,.table-mobile-back {display:none}
.table-choices {border:1px solid var(--line);border-radius:10px;padding:10px 14px;margin:12px 0}
@media(max-width:860px){
 .table-workspace,.table-workspace.ticket-only {grid-template-columns:minmax(0,1fr)}
 .table-workspace {padding-bottom:64px}
 .table-ticket {position:static}
 .table-mobile-ticket {display:flex;justify-content:center;position:fixed;z-index:9;bottom:calc(12px + env(safe-area-inset-bottom));right:16px;left:16px;min-height:44px;box-shadow:0 5px 25px #0006}
 .table-mobile-back {display:block}
}
@media(max-width:520px){
 .table-board,.table-menu-products {grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .table-tile {padding:12px}
}

