/* V164: selector de apariencia de pedidos */
.v164-style-picker{display:inline-flex;align-items:center;flex-wrap:wrap;gap:5px;background:#f6eee2;border:1px solid #e2cfb6;border-radius:12px;padding:5px}
.v164-style-picker>span{font-size:11px;font-weight:700;color:#795b3e;padding:0 7px}
.v164-style-picker .smallbtn{border-radius:8px!important;background:#fffdf9;color:#795b3e;border:1px solid #e4d4bf;font-size:11px}
.v164-style-picker .smallbtn.v164-active{background:#a88b65!important;color:#fff!important;border-color:#a88b65!important;box-shadow:0 2px 7px #73523322}
/* Moderno: fondos completos, bordes discretos, texto y controles legibles */
html[data-elegance-order-style="modern"] .v164-status-recibido{--v164-bg:#f8e9d2;--v164-edge:#d9ac69;--v164-accent:#8a5c25}
html[data-elegance-order-style="modern"] .v164-status-preparando{--v164-bg:#ddebf3;--v164-edge:#83afc8;--v164-accent:#326786}
html[data-elegance-order-style="modern"] .v164-status-enviado{--v164-bg:#e9e2f5;--v164-edge:#aa92cf;--v164-accent:#70509d}
html[data-elegance-order-style="modern"] .v164-status-entregado{--v164-bg:#ddefe4;--v164-edge:#8bbfa0;--v164-accent:#367755}
html[data-elegance-order-style="modern"] .v32-ticket.v164-status-recibido,
html[data-elegance-order-style="modern"] .v32-ticket.v164-status-preparando,
html[data-elegance-order-style="modern"] .v32-ticket.v164-status-enviado,
html[data-elegance-order-style="modern"] .v32-ticket.v164-status-entregado,
html[data-elegance-order-style="modern"] .v27-order.v164-status-recibido,
html[data-elegance-order-style="modern"] .v27-order.v164-status-preparando,
html[data-elegance-order-style="modern"] .v27-order.v164-status-enviado,
html[data-elegance-order-style="modern"] .v27-order.v164-status-entregado{background:var(--v164-bg)!important;border-color:var(--v164-edge)!important;border-left:4px solid var(--v164-edge)!important;transition:background-color .2s,border-color .2s}
html[data-elegance-order-style="modern"] .v32-ticket[class*="v164-status-"]>b,
html[data-elegance-order-style="modern"] .v27-order[class*="v164-status-"] .v27-overline{color:var(--v164-accent)!important}
html[data-elegance-order-style="modern"] .v32-ticket[class*="v164-status-"] .smallbtn,
html[data-elegance-order-style="modern"] .v27-order[class*="v164-status-"] .smallbtn:not(.primary){background:#fffdfa;border-color:#ffffffaa}
html[data-elegance-order-style="modern"] .v27-table tbody tr[class*="v164-status-"]{background:var(--v164-bg)!important}
html[data-elegance-order-style="modern"] .v27-table tbody tr[class*="v164-status-"] td:first-child{border-left:4px solid var(--v164-edge)}
@media(max-width:700px){.v164-style-picker{width:100%}.v164-style-picker .smallbtn{flex:1}}
