.orders-counters{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;margin:12px 0}.orders-counters button{text-align:left;min-height:75px;font-weight:500}.orders-counters strong{display:block;font-size:24px}.orders-counters [aria-pressed=true]{border-color:var(--wine);background:#f4e9e6}.orders-board-filters{display:flex;gap:12px;align-items:end;flex-wrap:wrap}.orders-board-filters>label{margin:0;min-width:160px}.orders-board-filters>label:first-child{flex:1}.orders-board-filters .check{min-height:44px}.orders-board-summary{font-size:12px}.orders-board{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(0,1.2fr);gap:16px;align-items:start}.orders-board-list{max-height:75vh;overflow:auto;display:grid;gap:8px;min-width:0}.orders-board-detail{min-width:0}.order-board-item{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;text-align:left;padding:12px;background:white;border:1px solid var(--border);border-radius:10px;color:inherit;min-height:100px}.order-board-item>*{min-width:0;overflow-wrap:anywhere}.order-board-item small{color:var(--muted)}.order-board-item[aria-pressed=true]{background:#f8eee6;border-color:var(--wine)}.orders-board-back{display:none}.orders-board-detail .card{padding:16px;margin-bottom:0}.order-board-customer{display:flex;flex-wrap:wrap;gap:6px 14px;margin:12px 0}.order-board-customer>strong,.order-board-customer>span:first-of-type{flex-basis:100%}.order-board-items{padding:0;list-style:none}.order-board-items li{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:10px 0;border-bottom:1px solid var(--border)}.order-board-items small{grid-column:1/-1;overflow-wrap:anywhere}.order-board-totals{display:grid;grid-template-columns:1fr auto;gap:4px;margin:14px 0}.order-board-totals dd{margin:0;text-align:right}.order-board-totals dt:last-of-type,.order-board-totals dd:last-child{font-weight:700}.orders-board-detail .order-status{display:flex;align-items:stretch;flex-direction:column}.orders-board-detail .order-flow{max-width:100%;min-width:0}.order-board-info p{overflow-wrap:anywhere}.orders-board-detail .section-title h3{overflow-wrap:anywhere}.orders-board-detail .order-flow-steps{flex-wrap:wrap}.orders-board-detail .onsite-actions{flex-wrap:wrap}
@media(max-width:850px){.orders-board{grid-template-columns:minmax(0,1fr)}.orders-board-detail{display:none}.orders-board.is-detail .orders-board-list{display:none}.orders-board.is-detail .orders-board-detail{display:block}.orders-board-back{display:inline-block;margin-bottom:10px}.orders-board-list{max-height:none}.orders-counters{grid-template-columns:repeat(2,minmax(0,1fr))}.orders-board-filters>label{min-width:0;flex:1 1 160px}.orders-board-detail .section-title{align-items:flex-start;flex-wrap:wrap}}

.order-board-customer>*{min-width:0;overflow-wrap:anywhere}.order-board-items li>strong{min-width:0;overflow-wrap:anywhere}

.order-board-item>.order-mode-tag{display:inline-flex;align-items:center;justify-content:center;justify-self:end;gap:5px;padding:3px 10px;border:1px solid transparent;border-radius:999px;font-size:12px;font-weight:700;line-height:1.5;white-space:nowrap;background:#f0eeee;color:#50464a}
.order-mode-tag[data-mode=delivery]{background:#e3f3eb;color:#17633f;border-color:#b7dfc9}
.order-mode-tag[data-mode=table]{background:#e8edff;color:#304b9b;border-color:#c4d0f5}
.order-mode-tag[data-mode=pickup]{background:#fff0dc;color:#86500a;border-color:#efd1a2}
.order-mode-tag[data-mode=counter]{background:#f1e7f8;color:#723b8c;border-color:#dbc4e9}
.order-board-item{--status-color:#625b66;--status-background:#f0edf2;border-left:4px solid var(--status-color)}
.order-board-item[data-status=pending_payment]{--status-color:#655421;--status-background:#fff6d8}
.order-board-item[data-status=queued]{--status-color:#86500a;--status-background:#fff0dc}
.order-board-item[data-status=preparing]{--status-color:#9a3f0a;--status-background:#ffeadc}
.order-board-item[data-status=ready]{--status-color:#17633f;--status-background:#e3f3eb}
.order-board-item[data-status=dispatched]{--status-color:#304b9b;--status-background:#e8edff}
.order-board-item[data-status=completed]{--status-color:#476154;--status-background:#eaf0ed}
.order-board-item[data-status=cancelled]{--status-color:#a12c37;--status-background:#fde9ec}
.order-board-item[aria-pressed=true]{border-left-color:var(--status-color)}
.order-board-item>.order-status-tag{display:inline-flex;align-items:center;justify-self:end;gap:5px;max-width:100%;padding:3px 8px;border-radius:6px;background:var(--status-background);color:var(--status-color);font-size:12px;line-height:1.4;font-weight:700}
.order-status-tag::before{content:"";width:6px;height:6px;flex-shrink:0;border-radius:50%;background:currentColor}

.order-whatsapp-summary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;box-sizing:border-box;max-width:100%;white-space:normal;text-align:center;gap:6px;color:#17633f;border-color:#b7dfc9;text-decoration:none}.order-whatsapp-summary:hover{background:#e3f3eb}

.order-whatsapp-summary.order-action-icon{width:44px;height:44px;min-width:44px;min-height:44px;padding:10px;flex-shrink:0}.order-whatsapp-summary svg{width:22px;height:22px;display:block;flex-shrink:0}
