.restaurant-orders-admin{background:#f8f7fb}.order-admin-head{align-items:flex-start}.order-admin-head p{max-width:680px}.order-admin-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}.restaurant-order-controls{display:grid;grid-template-columns:minmax(240px,1fr) 210px auto;gap:10px;margin:0 0 18px}.restaurant-order-controls input,.restaurant-order-controls select{min-width:0;padding:12px 14px;border:1px solid #ded6e8;border-radius:12px;background:#fff;color:#25163b;font:inherit}.merchant-order-section{margin-bottom:14px;border:1px solid #e5ddec;border-radius:16px;background:#fff;overflow:hidden}.merchant-order-section>summary{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:16px 18px;cursor:pointer;list-style:none}.merchant-order-section>summary::-webkit-details-marker,.restaurant-order-card>summary::-webkit-details-marker{display:none}.merchant-order-identity{display:flex;align-items:center;gap:12px;min-width:0}.merchant-order-identity img,.merchant-order-avatar{width:46px;height:46px;border-radius:12px;object-fit:cover}.merchant-order-avatar{display:grid;place-items:center;background:#f2dff6;color:#74108c;font-weight:900}.merchant-order-identity strong,.merchant-order-identity small,.merchant-order-summary strong,.merchant-order-summary small{display:block}.merchant-order-identity small,.merchant-order-summary small{margin-top:3px;color:#81768a;font-size:.75rem}.merchant-order-summary{text-align:right}.merchant-status-strip{display:flex;gap:8px;padding:0 18px 14px;overflow:auto}.merchant-status-strip span{display:grid;grid-template-columns:auto auto;gap:6px;align-items:center;padding:7px 10px;border-radius:9px;background:#f6f2f8;color:#64596d;font-size:.72rem;white-space:nowrap}.merchant-status-strip strong{color:#361854}.merchant-order-list{padding:0 18px 18px}.restaurant-order-card{border-top:1px solid #eee8f2}.restaurant-order-card>summary{display:flex;justify-content:space-between;gap:16px;padding:14px 2px;cursor:pointer;list-style:none}.restaurant-order-card>summary span:last-child{text-align:right}.restaurant-order-card>summary strong,.restaurant-order-card>summary small{display:block}.restaurant-order-card>summary small{margin-top:4px;color:#887e91;font-size:.72rem}.restaurant-order-details{padding:0 0 16px}.restaurant-order-details dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0 0 12px}.restaurant-order-details dl div{padding:11px;border-radius:11px;background:#f8f5fa}.restaurant-order-details dt{margin-bottom:4px;color:#81758b;font-size:.68rem}.restaurant-order-details dd{margin:0;color:#25163a;font-size:.8rem;font-weight:800}.restaurant-order-items{border:1px solid #ece5f1;border-radius:12px;overflow:hidden}.restaurant-order-items>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 12px}.restaurant-order-items>div+div{border-top:1px solid #f0eaf4}.restaurant-order-items small{display:block;margin-top:3px;color:#81768a}.restaurant-order-total{display:flex;justify-content:space-between;padding:12px 2px 0;color:#2d1748}.restaurant-order-empty{padding:46px 24px;border:1px dashed #d8cce2;border-radius:16px;text-align:center;background:#fff}.restaurant-order-empty p{margin:6px 0 0;color:#7d7287}.restaurant-orders-skeleton{display:grid;gap:12px}.restaurant-orders-skeleton span{height:92px;border-radius:16px;background:#eee8f3}.admin-pagination{display:flex;align-items:center;justify-content:center;gap:14px;margin:18px 0}.admin-pagination span{color:#6f6478;font-size:.8rem}.restaurant-orders-admin table td small{display:block;margin-top:4px;color:#897e92}.restaurant-orders-admin table td select{max-width:190px;padding:9px;border:1px solid #ded6e8;border-radius:10px;background:#fff}@media(max-width:800px){.restaurant-order-controls{grid-template-columns:1fr}.restaurant-order-details dl{grid-template-columns:1fr 1fr}.order-admin-actions{justify-content:flex-start}}@media(max-width:520px){.merchant-order-section>summary{align-items:flex-start}.merchant-order-summary{min-width:70px}.restaurant-order-details dl{grid-template-columns:1fr}.restaurant-order-card>summary{align-items:flex-start}}
@media(prefers-reduced-motion:reduce){.merchant-order-section,.restaurant-order-card{scroll-behavior:auto}}
.restaurant-order-card>summary{padding:16px 2px}.restaurant-order-primary,.restaurant-order-value{min-width:0}.restaurant-order-value{text-align:right}.restaurant-order-reference{display:flex;align-items:center;gap:8px}.restaurant-order-reference em{padding:4px 7px;border-radius:7px;background:#f1ecf5;color:#6d2b7d;font-size:.62rem;font-style:normal;font-weight:800;line-height:1}.restaurant-order-details{padding-bottom:18px}.restaurant-order-details dl{margin-bottom:14px}.restaurant-order-details dd{overflow-wrap:anywhere}.restaurant-order-line-items{border:1px solid #e7dfec;border-radius:12px;overflow:hidden}.restaurant-order-line-items>header{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;background:#f8f5fa;color:#33203e;font-size:.78rem}.restaurant-order-line-items>header span{color:#81768a}.restaurant-order-line-items .restaurant-order-items{border:0;border-radius:0;background:#fff}.restaurant-order-items>.muted{margin:0;padding:16px 12px}
@media(max-width:520px){.restaurant-order-reference{align-items:flex-start;flex-direction:column;gap:5px}.restaurant-order-value{flex:0 0 auto}.restaurant-order-card>summary{gap:10px}}
.order-print-button+small{display:block;margin-top:5px;color:#81768a}.order-item-load-error{margin:0 0 14px}.print-order-detail{font-family:Arial,sans-serif;color:#16121a}.print-order-detail>header{align-items:center;padding-bottom:18px;border-bottom:2px solid #2d123f}.print-order-detail>header>div{display:flex;align-items:center;gap:10px}.print-order-detail>header img{width:38px;height:38px;object-fit:contain}.print-order-detail>header span strong,.print-order-detail>header span small{display:block}.print-order-detail>header span small{margin-top:3px;color:#666}.print-order-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}.print-order-meta>div,.print-delivery-address{padding:12px;border:1px solid #bbb;border-radius:8px}.print-order-meta span,.print-delivery-address span{display:block;margin-bottom:5px;color:#666;font-size:11px;text-transform:uppercase}.print-order-meta small{display:block;margin-top:4px;color:#555}.print-delivery-address{margin-top:12px}.print-order-totals{display:grid;justify-content:end;gap:7px;margin-top:16px;min-width:250px}.print-order-totals span{display:flex;justify-content:space-between;gap:30px}.print-grand-total{padding-top:8px;border-top:2px solid #222;font-size:17px}
@media print{.print-order-detail{padding:18mm 14mm}.print-order-detail table{font-size:12px}.print-order-detail th{background:#eee!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}}
