/* Human Bot IA - Herramientas táctiles, sin módulos duplicados */
#hb72Tools{position:fixed;inset:0;z-index:35000;display:none;background:#0b1014;color:#f2f5f7;overflow:hidden;overscroll-behavior:contain;font-family:Roboto,Arial,system-ui,sans-serif}
#hb72Tools.open{display:flex;flex-direction:column}
#hb72Tools *{box-sizing:border-box}
#hb72Tools .hb72-head{display:flex;align-items:center;gap:14px;padding:14px 16px;background:#11191f;border-bottom:1px solid #2a363d;min-height:68px;flex:none}
#hb72Tools .hb72-back{border:0;background:none;font-size:27px;width:36px;min-height:43px;color:#fff;touch-action:manipulation}
#hb72Tools .hb72-title{font-weight:700;font-size:clamp(18px,4.7vw,24px);flex:1;min-width:0;overflow-wrap:anywhere}
#hb72Tools .hb72-body{flex:1;overflow-y:auto;overflow-x:hidden;padding:16px 14px calc(28px + env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch;overscroll-behavior:contain}
#hb72Tools .hb72-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#hb72Tools .hb72-card{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:14px;width:100%;padding:17px 13px;min-height:156px;border:1px solid #293942;background:#152027;color:#f5f7f8;border-radius:18px;cursor:pointer;touch-action:manipulation;user-select:none;-webkit-tap-highlight-color:transparent}
#hb72Tools .hb72-card:active,#hb72Tools button:active{filter:brightness(1.13)}
#hb72Tools .hb72-card .hb72-emoji{font-size:26px}
#hb72Tools .hb72-card strong{font-size:16px;line-height:1.25;overflow-wrap:anywhere}
#hb72Tools .hb72-muted,#hb72Tools .hb72-card small{color:#aebdc5;font-size:12px;line-height:1.5;font-weight:400}
#hb72Tools button:focus-visible,#hb72Tools input:focus-visible,#hb72Tools select:focus-visible{outline:2px solid #f40085;outline-offset:2px}
#hb72Tools button{touch-action:manipulation;-webkit-tap-highlight-color:transparent}
#hb72Tools .hb72-action{padding:12px 14px;min-height:45px;border-radius:12px;background:#e6007e;color:white;font-size:14px;font-weight:650;border:0;cursor:pointer}
#hb72Tools .hb72-secondary{background:#27323a;color:#f7f7f7;border:1px solid #43505a}
#hb72Tools .hb72-danger{background:#52263b;border:1px solid #80435d}
#hb72Tools .hb72-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#hb72Tools .hb72-entry{display:flex;align-items:flex-start;gap:12px;padding:13px;background:#152027;border:1px solid #293942;border-radius:14px;margin:10px 0;min-width:0}
#hb72Tools .hb72-entry>div{flex:1;min-width:0;overflow-wrap:anywhere}
#hb72Tools .hb72-entry b{display:block;font-size:15px;margin-bottom:5px}
#hb72Tools .hb72-entry .hb72-muted{display:block}
#hb72Tools .hb72-entry img{width:67px;height:67px;object-fit:cover;border-radius:10px;flex:none}
#hb72Tools .hb72-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
#hb72Tools .hb72-actions button{flex:0 1 auto}
#hb72Tools label{display:block;color:#e3e9ed;font-size:13px;font-weight:600;margin:13px 0 5px}
#hb72Tools input,#hb72Tools select,#hb72Tools textarea{display:block;width:100%;max-width:100%;min-width:0;min-height:47px;padding:11px 12px;background:#202b32;border:1px solid #43515a;color:#fff;font:inherit;font-size:16px;border-radius:12px}
#hb72Tools textarea{min-height:95px;resize:vertical}
#hb72Tools .hb72-save{width:100%;margin:17px 0}
#hb72Tools .hb72-message{font-size:13px;line-height:1.45;min-height:18px;margin:12px 0;color:#f2b4d2;white-space:pre-wrap;overflow-wrap:anywhere}
#hb72Tools .hb72-check{display:flex;align-items:center;gap:10px;margin-top:13px}
#hb72Tools .hb72-check input{width:18px;min-width:18px;height:18px}
#hb72Tools .hb72-subtitle{font-size:14px;line-height:1.5;color:#adbbc5;margin:4px 0 14px}
#hb72Tools .hb72-empty{padding:24px 12px;text-align:center;color:#a8b9c3}
@media(max-width:340px){#hb72Tools .hb72-grid{grid-template-columns:1fr}#hb72Tools .hb72-card{min-height:120px}}

/* Una sola lista de catálogo, con productos anteriores integrados */
.hb72-local-section{border-top:1px solid #35434c;padding-top:16px;margin-top:20px}.hb72-local-section .hb72-entry{background:#201b28}.hb72-local-section .hb72-muted{line-height:1.5}

/* V81 Horario laboral responsive */
#hb81WorkHours{padding:12px;margin:12px 0;border:1px solid #34414b;border-radius:14px;background:#172129}
#hb81WorkHours[hidden]{display:none!important}
#hb81WorkHours h3{margin:4px 0 10px;color:#ff70b3}
#hb81WorkHours p{color:#bac7cd;font-size:13px;line-height:1.5}
.hb81-hours-row{display:grid;grid-template-columns:minmax(115px,1fr) minmax(0,1fr) minmax(0,1fr);gap:8px;align-items:center;margin:8px 0}
.hb81-hours-row .hb81-day-name{display:flex;align-items:center;gap:7px;margin:0;white-space:nowrap;font-size:13px}
.hb81-hours-row input[type=time]{min-width:0;width:100%;font-size:14px;padding:9px 5px;background:#202b33;color:white;border:1px solid #41505a;border-radius:8px}
.hb81-hours-row input[type=checkbox]{width:18px;height:18px;accent-color:#e6007e;margin:0}
@media(max-width:390px){.hb81-hours-row{grid-template-columns:minmax(95px,1fr) minmax(0,1fr) minmax(0,1fr);gap:4px}.hb81-hours-row input[type=time]{font-size:12px;padding:8px 3px}}

/* Human Bot IA V84: compact multi-horario sin recortes ni columnas estrechas */
#hb81WorkHours{padding:10px!important;margin:10px 0!important}
#hb81WorkHours .hb81-work-table{display:grid;gap:8px}
#hb81WorkHours .hb84-day-card{padding:10px;border:1px solid #31404a;border-radius:12px;background:#10191f;min-width:0}
#hb81WorkHours .hb84-day-toggle,#hb81WorkHours .hb84-second-toggle{display:flex;align-items:center;gap:8px;margin:0 0 8px;min-width:0;line-height:1.2;font-size:14px}
#hb81WorkHours .hb84-second-toggle{margin:8px 0 5px;color:#c9d4da;font-size:12px;font-weight:500}
#hb81WorkHours input[type=checkbox]{appearance:auto!important;width:17px!important;height:17px!important;min-width:17px!important;min-height:17px!important;flex:none;accent-color:#e6007e;margin:0!important;padding:0!important}
#hb81WorkHours .hb84-time-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;min-width:0}
#hb81WorkHours .hb84-time-label{display:flex;flex-direction:column;gap:4px;min-width:0;margin:0;font-size:12px;color:#c6d1d8}
#hb81WorkHours .hb84-time-label input[type=time]{display:block;box-sizing:border-box;width:100%;min-width:0;min-height:40px;padding:7px 4px;font-family:system-ui,sans-serif;font-size:13px;border-radius:8px;background:#202a31;border:1px solid #445660;color:white;color-scheme:dark;text-align:left;font-variant-numeric:tabular-nums}
#hb81WorkHours .hb84-time-pair[hidden]{display:none!important}
#hb81WorkHours .hb84-time-label input::-webkit-calendar-picker-indicator{width:14px;margin-left:0;opacity:.8}
#hb81WorkHours .hb84-time-label input::-webkit-datetime-edit{padding:0;min-width:0}
@media(max-width:360px){#hb81WorkHours .hb84-time-pair{gap:6px}#hb81WorkHours .hb84-time-label input{font-size:12px}}

/* V85 · Acciones táctiles de respuesta rápida */
.hb85-replies-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.hb85-replies-actions button{min-height:42px;flex:1;min-width:100px}.hb85-delete-reply{background:#56313c!important;border:1px solid #a75a73!important;color:#fff!important}.hb85-delete-reply:focus-visible{outline:2px solid #fff!important}#hb85CancelEdit[hidden]{display:none!important}

/* V86: etiquetas por color, acciones táctiles, sin desbordamientos */
#hb72Tools .hb86-label-entry{display:flex;gap:11px;align-items:center;flex-wrap:wrap;background:#172127;border:1px solid #35424a;border-radius:14px;padding:12px;margin:11px 0;min-width:0}
#hb72Tools .hb86-label-swatch{width:26px;height:26px;border-radius:50%;flex:0 0 26px;border:2px solid #ffffff60}
#hb72Tools .hb86-label-info{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1 1 115px;overflow-wrap:anywhere}
#hb72Tools .hb86-label-info strong{font-weight:750;color:#fff;font-size:16px}
#hb72Tools .hb86-label-info small{color:#cad2d8;font-size:12px}
#hb72Tools .hb86-label-actions{display:flex;gap:7px;flex-wrap:wrap;align-items:center}
#hb72Tools .hb86-label-actions button{min-height:42px;font-size:13px;padding:9px 11px;white-space:nowrap}
#hb72Tools .hb86-label-delete{background:#45202d!important;border:1px solid #9f5269!important;color:#fff!important}
#hb72Tools .hb86-label-form-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}
#hb72Tools #hb72LabelColor{height:60px;min-height:54px;width:100%;padding:7px;cursor:pointer}
#hb72Tools #hb86CancelLabel[hidden]{display:none!important}
@media(max-width:480px){#hb72Tools .hb86-label-entry{padding:10px}#hb72Tools .hb86-label-actions{width:100%;justify-content:flex-end}}

#hb72Tools .hb86-label-pill{display:inline-flex;align-items:center;align-self:flex-start;padding:7px 12px;border-radius:999px;max-width:100%;overflow-wrap:anywhere;line-height:1.3;border:1px solid #ffffff40}

/* V103: check de ausencia compacto: nunca heredar controles grandes del tema global */
#hb72Tools #hb72WelcomeForm label.hb72-check{display:flex!important;align-items:center!important;gap:12px!important;min-height:40px!important;margin:16px 0!important;flex-wrap:nowrap!important}
#hb72Tools #hb72WelcomeForm label.hb72-check input[type="checkbox"]{appearance:auto!important;-webkit-appearance:checkbox!important;display:inline-block!important;width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;max-width:20px!important;max-height:20px!important;padding:0!important;margin:0!important;flex:0 0 20px!important;accent-color:var(--hb-accent,#e6007e);border-radius:4px!important}
#hb72Tools .hb103-contact-picker{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:8px;padding:8px 0;max-height:38vh;overflow:auto}
#hb72Tools .hb103-contact-option{display:flex;align-items:center;gap:9px;min-width:0;min-height:44px;border:1px solid #37434c;background:#19252c;border-radius:10px;padding:7px 11px;margin:0;font-size:14px;overflow-wrap:anywhere}
#hb72Tools .hb103-contact-option input[type="checkbox"]{appearance:auto!important;display:inline-block!important;width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;flex:none!important;padding:0!important;margin:0!important;accent-color:var(--hb-accent,#e6007e)}
#hb72Tools #hb103WelcomeSelected[hidden]{display:none!important}
