/* P12 · «Ayuda y soporte» de HypeTracking (panel del restaurante, vista web del repartidor y tienda). Tokens de app.css; espacios amplios. */
.hts{display:flex;flex-direction:column;gap:18px;min-width:0;max-width:760px}
.hts .hx-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.hts-sk{height:180px;border-radius:18px;background:linear-gradient(90deg,var(--surface) 0%,var(--surface-2) 50%,var(--surface) 100%);background-size:200% 100%;animation:hxsk 1.3s ease-in-out infinite}
.hts-head{display:flex;gap:14px;align-items:flex-start;flex-wrap:wrap}
.hts-head h2{display:flex;align-items:center;gap:10px;font-size:22px;letter-spacing:-.02em;margin:0 0 6px}
.hts-head h2 .icon{width:24px;height:24px;color:var(--brand-text)}
.hts-head p{margin:0;line-height:1.55}
.hts-hours{display:flex;gap:8px;align-items:flex-start;margin-top:10px!important;font-size:13px;color:var(--text-2)}
.hts-hours .icon{width:16px;height:16px;flex:none;margin-top:2px;color:var(--text-3)}
.hts-who{display:flex;flex-direction:column;gap:8px}
.hts-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:10px}
.hts-item{display:flex;align-items:center;gap:12px;width:100%;padding:16px;border-radius:18px;border:1px solid var(--border);background:var(--surface);color:inherit;text-align:left;font:inherit;cursor:pointer}
.hts-item:hover,.hts-item:focus-visible{border-color:var(--border-2);background:var(--surface-2)}
.hts-item>.hx-grow{display:flex;flex-direction:column;gap:5px;min-width:0}
.hts-item b{font-size:15.5px;overflow-wrap:anywhere}
.hts-item>.icon{width:18px;height:18px;color:var(--text-3);transform:rotate(-90deg);flex:none}
.hts-badges{display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.hts-last{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.hts-empty{display:flex;flex-direction:column;align-items:center;gap:14px;text-align:center;padding:34px 18px;border:1px dashed var(--border-2);border-radius:20px}
.hts-empty .icon{width:30px;height:30px;color:var(--text-3)}
.hts-form{display:flex;flex-direction:column;gap:18px}
.hts-prio{border:0;padding:0;margin:0}
.hts-prio legend{font-size:13px;font-weight:620;color:var(--text-2);margin-bottom:8px}
.hts-prio .hx-seg{display:flex;flex-wrap:wrap;gap:6px}
.hts-prio .hx-seg label{position:relative}
.hts-prio .hx-seg input{position:absolute;opacity:0;pointer-events:none}
.hts-prio .hx-seg span{display:inline-flex;min-height:44px;align-items:center;padding:0 16px;border-radius:12px;border:1px solid var(--border);background:var(--surface);cursor:pointer;font-weight:620;font-size:14px}
.hts-prio .hx-seg input:checked+span{border-color:var(--brand);background:var(--brand-soft);color:var(--text)}
.hts-prio .hx-seg input:focus-visible+span{outline:2px solid var(--brand);outline-offset:2px}
.hts-check{display:flex;gap:12px;align-items:flex-start;cursor:pointer}
.hts-check input{width:22px;height:22px;flex:none;margin-top:2px;accent-color:var(--brand)}
.hts-check>span{display:flex;flex-direction:column;gap:4px;min-width:0}
.hts-diag{display:block;font-size:12px;line-height:1.5;padding:8px 10px;border-radius:10px;background:var(--surface-2);color:var(--text-2);overflow-wrap:anywhere;white-space:normal}
.hts-review{display:flex;gap:10px;align-items:flex-start;padding:12px 14px;border-radius:14px;background:var(--surface-2);font-size:14px;line-height:1.5}
.hts-review .icon{width:18px;height:18px;flex:none;margin-top:2px;color:var(--text-3)}
.hts-err{margin:0;padding:12px 14px;border-radius:12px;background:rgba(255,93,122,.13);color:var(--danger,#ff5d7a);font-size:14px}
.hts-send{align-self:flex-start}
.hts-hp{position:absolute;left:-10000px;width:1px;height:1px;opacity:0}
.hts-case{display:flex;flex-direction:column;gap:14px}
.hts-case-top h3{font-size:19px;margin:8px 0 0;letter-spacing:-.01em;overflow-wrap:anywhere}
.hts-note{display:flex;gap:8px;align-items:flex-start;margin:0;padding:12px 14px;border-radius:14px;background:var(--surface-2);font-size:14px;line-height:1.5}
.hts-note.ok{background:color-mix(in srgb,var(--ok,#22c55e) 13%,transparent)}
.hts-note .icon{width:18px;height:18px;flex:none;margin-top:1px}
.hts-msgs{list-style:none;margin:0;padding:4px 2px;display:flex;flex-direction:column;gap:12px;max-height:min(62vh,560px);overflow:auto}
.hts-msg{max-width:min(86%,560px);padding:12px 14px;border-radius:18px;border:1px solid var(--border);background:var(--surface);display:flex;flex-direction:column;gap:6px}
.hts-msg b{font-size:12.5px;color:var(--text-3);font-weight:650}
.hts-msg p{margin:0;line-height:1.55;overflow-wrap:anywhere}
.hts-msg small{font-size:12px;color:var(--text-3)}
.hts-msg.me{align-self:flex-end;background:var(--brand-soft);border-color:color-mix(in srgb,var(--brand) 35%,var(--border))}
.hts-msg.pending{opacity:.75}
.hts-msg.failed{border-color:var(--danger,#ff5d7a)}
.hts-ev{align-self:center;color:var(--text-3);font-size:12px}
.hts-file{display:inline-flex;gap:6px;align-items:center;font-size:13px}
.hts-file .icon{width:16px;height:16px}
.hts-reply{display:flex;flex-direction:column;gap:10px}
.hts-reply-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.hts-photo{cursor:pointer}
.hts-close{align-self:flex-start}
.hts-dest{display:flex;flex-direction:column;gap:12px}
.hts-dest-a,.hts-dest-b{display:flex;align-items:center;gap:14px;padding:18px;border-radius:18px;border:1px solid var(--border);background:var(--surface);color:inherit;text-align:left;font:inherit}
.hts-dest-a{cursor:pointer;border-color:color-mix(in srgb,var(--brand) 40%,var(--border))}
.hts-dest-a>span,.hts-dest-b>span{display:flex;flex-direction:column;gap:4px;flex:1;line-height:1.45}
.hts-dest-a .icon,.hts-dest-b .icon{width:22px;height:22px;flex:none;color:var(--brand-text)}
.hts-dest-a>.icon:last-child{transform:rotate(-90deg);color:var(--text-3)}
.hts-h3{font-size:16px;margin:6px 0 0}
.hts-done{display:flex;flex-direction:column;gap:12px;padding:20px;border-radius:18px;border:1px solid var(--border);background:var(--surface)}
.hts-done>.icon{width:28px;height:28px;color:var(--ok,#22c55e)}
.hts-done p{margin:0;line-height:1.5}
.hts-link{display:block;padding:10px 12px;border-radius:12px;background:var(--surface-2);font-size:12.5px;overflow-wrap:anywhere}
@media (max-width:560px){.hts-head h2{font-size:20px}.hts-msg{max-width:92%}.hts-send{align-self:stretch}}
.hts-head>.hx-grow{flex:1 1 260px;min-width:0}
.hts-warn{color:var(--warn,#f5a524)}
