.hel-stack { display: grid; gap: 14px; }
.hel-form { max-width: 820px; }
.hel-table { overflow-x: auto; }
.hel-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; align-items: center; }
.hel-muted { color: var(--muted); font-size: 13px; }
.hel-inline { display: inline; }
.hel-top-tools { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hel-turno-form select { padding: 4px 10px; border-radius: 999px; border: 1px solid #bfdbfe; background: #eff6ff; color: #1d4ed8; font-size: 12px; font-weight: 650; }
.hel-linea { min-width: 0; margin: 14px 0 0; padding: 12px; border: 1px solid var(--line); border-radius: 10px; }
.hel-linea legend { padding-inline: 6px; font-weight: 700; }
.hel-linea select { width: 100%; text-overflow: ellipsis; }
.hel-quick-sizes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.hel-size-btn { padding: 7px 12px; border-radius: 999px; border: 1px solid #bfdbfe; background: #f8fafc; color: #1e3a8a; font-size: 13px; font-weight: 650; cursor: pointer; }
.hel-size-btn:hover, .hel-size-btn.active { background: #2563eb; border-color: #2563eb; color: #fff; }
.hel-gustos { margin-top: 10px; }
.hel-gustos [hidden] { display: none; }
.hel-pot { margin-top: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 9px; }
.hel-pot summary { cursor: pointer; font-weight: 650; margin-bottom: 0; }
.hel-pot[open] summary { margin-bottom: 10px; }
.hel-reparto { margin: 8px 0 0; }
.hel-reparto:empty { display: none; }
.hel-extras-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.hel-extra-chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border: 1px solid var(--line); border-radius: 999px; background: #f8fafc; font-size: 13px; cursor: pointer; }
.hel-extra-chip:has(input:checked) { background: #e8eeff; border-color: #2563eb; color: #1d4ed8; font-weight: 650; }
.hel-checkout { margin-top: 16px; display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.hel-total { display: block; text-align: right; font-size: 19px; font-weight: 800; color: #1d4ed8; }
.hel-ingrediente { display: grid; grid-template-columns: minmax(0,1fr) minmax(85px,130px); gap: 8px; margin-bottom: 8px; }
.hel-ingrediente:last-child { margin-bottom: 0; }
.hel-estado { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 650; white-space: nowrap; background: #e0f2fe; color: #0369a1; }
.hel-estado.retirado, .hel-estado.activo { background: #dbeafe; color: #1d4ed8; }
.hel-estado.preparacion { background: #fef3c7; color: #92400e; }
.hel-estado.en_camino, .hel-estado.delivery { background: #e0e7ff; color: #3730a3; }
.hel-estado.cancelado, .hel-estado.pausado { background: #fee2e2; color: #b91c1c; }
.hel-wa { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: #e8eeff; color: #1d4ed8; font-size: 12px; font-weight: 650; text-decoration: none; border: 1px solid #bfdbfe; white-space: nowrap; }
.hel-wa:hover { background: #dbeafe; }
.hel-balance { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 12px 0 18px; }
.hel-balance dt, .hel-facts dt { color: var(--muted); font-size: 12px; }
.hel-balance dd, .hel-facts dd { margin: 3px 0 0; font-weight: 700; overflow-wrap: anywhere; }
.hel-bar { width: 100%; max-width: 120px; height: 8px; border-radius: 999px; background: #e2e8f0; overflow: hidden; display: inline-block; vertical-align: middle; margin-right: 6px; }
.hel-bar > span { display: block; height: 100%; background: #2563eb; border-radius: 999px; }
.hel-money-neg { color: #b91c1c; font-weight: 700; }
.hel-money-pos { color: #1d4ed8; font-weight: 700; }
.hel-print main { max-width: 760px; margin: auto; padding: 20px; }
.hel-print-nav { margin-bottom: 16px; display: flex; gap: 8px; flex-wrap: wrap; }
.hel-carta-wrap { max-width: 760px; margin: 0 auto; padding: 18px 14px 44px; display: grid; gap: 14px; }
.hel-carta-hero { background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 60%, #38bdf8 100%); color: #fff; border-radius: 16px; padding: 22px; }
.hel-carta-hero h1 { margin: 4px 0 6px; font-size: 24px; color: #fff; }
.hel-carta-hero p { margin: 0; opacity: .94; font-size: 14px; }
.hel-carta-flavors { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 8px; margin-top: 8px; }
.hel-flavor-pill { display: flex; align-items: flex-start; gap: 8px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 10px; background: #f8fafc; font-size: 13.5px; cursor: pointer; }
.hel-flavor-pill:has(input:checked) { background: #e8eeff; border-color: #2563eb; color: #1d4ed8; font-weight: 650; }
.hel-flavor-pill small { display: block; font-size: 11px; color: var(--muted); font-weight: 400; }
.hel-delivery-box[hidden] { display: none; }

@media (max-width: 600px) {
    .panel-title, .page-head { flex-wrap: wrap; }
    .hel-gustos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hel-retiros table, .hel-retiros tbody { display: block; }
    .hel-retiros thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .hel-retiros tbody tr { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
    .hel-retiros tbody tr:last-child { border-bottom: 0; }
    .hel-retiros td { display: block; padding: 0; border: 0; white-space: normal; overflow-wrap: anywhere; }
    .hel-retiros td[data-label]::before { content: attr(data-label); display: block; font-size: 12px; color: var(--muted); }
    .hel-customer { grid-column: 1 / -1; grid-row: 1; font-weight: 700; }
    .hel-retiro-action { text-align: right; align-self: center; }
}
@media print {
    body.hel-print { background: white; color: #000; }
    .hel-print .panel { border: 0; box-shadow: none; padding: 0; }
    .hel-print-nav { display: none; }
}
