/* Tikit HQ · tabla de negocios y reclamos, sobre los tokens de Cliente y los componentes de Business. */
.ops-table{padding:6px 18px}
.ops-row{display:grid;grid-template-columns:minmax(0,2fr) repeat(5,minmax(0,1fr));gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line);font-size:14px}
.ops-row:last-child{border-bottom:0}
.ops-head{font-size:12px;font-weight:750;color:var(--muted);text-transform:uppercase;letter-spacing:.06em}
@media (max-width:900px){.ops-head{display:none}.ops-row{grid-template-columns:repeat(2,minmax(0,1fr))}.ops-row>span:first-child{grid-column:1/-1}.ops-row [data-l]::before{content:attr(data-l);display:block;font-size:12px;color:var(--muted);font-weight:700}}
.ops-claim.done{opacity:.7}
/* Propinas y valoraciones (26-09-2026) */
.ops-biz .ops-row{grid-template-columns:minmax(0,1.7fr) repeat(5,minmax(0,1fr))}
.hq-pres-table .ops-row{grid-template-columns:minmax(0,1.6fr) repeat(2,minmax(0,1fr))}
@media (max-width:900px){.ops-biz .ops-row,.hq-pres-table .ops-row{grid-template-columns:repeat(2,minmax(0,1fr))}}
.hq-var{font-style:normal;font-weight:750;white-space:nowrap;display:inline-flex;align-items:center}
.hq-var.up{color:var(--ok)}.hq-var.down{color:var(--warn)}
.hq-tabs .tab-count{background:var(--brand);color:var(--on-brand)}
.hq-h{font-size:16px;margin:4px 0 10px}
.hq-kind{gap:6px;margin-bottom:6px;flex-wrap:wrap}
.hq-actions{gap:8px;margin-top:12px;flex-wrap:wrap}
.hq-actions .btn{min-height:44px}
.hq-quote{margin:10px 0 0;padding:10px 14px;border-left:3px solid var(--line-strong);background:var(--surface-2);border-radius:0 12px 12px 0;font-size:14.5px;color:var(--ink-2)}
.hq-facts{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:0;border-top:1px solid var(--line)}
.hq-facts li{display:flex;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--line);font-size:13.5px}
.hq-facts li span{color:var(--muted)}.hq-facts li b{text-align:right;font-weight:700}
.hq-bullets{margin:10px 0 0;padding-left:18px;font-size:13.5px;color:var(--ink-2);display:grid;gap:4px}
.hq-tipchips{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.hq-tipchips .chip.static{height:auto;min-height:30px;white-space:normal}
.hq-tipchips .chip.off{text-decoration:line-through;opacity:.6}
.hq-note{margin-top:10px}
.hq-risk.done,.hq-mod.done{opacity:.75}
.hq-summary{margin-bottom:14px}.hq-summary .hq-facts{margin-top:0}
.hq-reasons{border:0;padding:0;margin:0;display:grid;gap:6px}
.hq-reasons legend{font-size:13px;font-weight:750;color:var(--ink-2);margin-bottom:6px}
.hq-reason{display:flex;align-items:center;gap:10px;min-height:44px;padding:8px 12px;border:1px solid var(--line-strong);border-radius:12px;cursor:pointer;font-size:14px}
.hq-reason:has(input:checked){border-color:var(--brand-ink);background:color-mix(in srgb,var(--brand) 8%,var(--surface))}
.hq-reason input{width:18px;height:18px;accent-color:var(--brand-ink);flex:none}
.hq-reason:focus-within{outline:3px solid var(--focus);outline-offset:1px}
.hq-tip{display:grid;grid-template-columns:62px minmax(0,1fr) auto;gap:12px;align-items:center;min-height:60px;padding:10px 2px;border-bottom:1px solid var(--line)}
.hq-tip:last-child{border-bottom:0}
.hq-tip-when{display:grid;font-weight:750;font-size:13px}.hq-tip-when small{color:var(--muted);font-weight:600}
.hq-tip-side{display:grid;justify-items:end;gap:4px}
.hq-tip-side .btn{min-height:44px}
.hq-tip.anulada .hq-tip-side b{text-decoration:line-through;color:var(--muted)}
.hq-annulled{color:var(--danger);margin-top:2px}
.hq-paused{margin-bottom:12px;align-items:center;flex-wrap:wrap}.hq-paused .btn{margin-left:auto;min-height:44px}
.hq-mod mark{background:var(--danger-soft);color:var(--danger);border-radius:4px;padding:0 3px;font-weight:700}
@media (max-width:420px){.hq-tip{grid-template-columns:minmax(0,1fr) auto}.hq-tip-when{grid-column:1/-1;grid-auto-flow:column;justify-content:start;gap:6px}}
.field .error[hidden]{display:none}
/* Marcas, ubicaciones y lugares anfitriones (26-09-2026) */
.hq-brand{border-bottom:1px solid var(--line)}.hq-brand:last-child{border-bottom:0}.hq-brand>.ops-row{border-bottom:0}
.hq-exp{display:flex;align-items:center;gap:10px;min-height:44px;width:100%;padding:4px 6px 4px 0;border:0;background:none;color:inherit;text-align:left;cursor:pointer;border-radius:12px;font:inherit}
.hq-exp>span:not(.biz-logo){display:grid;min-width:0}.hq-exp .bi{margin-left:auto;color:var(--muted);transition:transform .2s}
.hq-exp[aria-expanded="true"] .bi{transform:rotate(180deg)}
.hq-exp:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.hq-locs-sub{margin:0 0 12px;padding:4px 14px;border-radius:14px;background:var(--surface-2)}
.hq-locs-sub .hq-loc-row{grid-template-columns:minmax(0,1.6fr) minmax(0,1.4fr) repeat(4,minmax(0,1fr));font-size:13.5px}
.hq-locs-sub .hq-loc-row .tag{white-space:normal;height:auto;min-height:24px;padding:3px 9px}
.hq-hosts{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px}
.hq-host .hq-chips{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.hq-host .chip.static{height:auto;min-height:30px;white-space:normal}
.hq-locs .kpi{color:inherit;text-decoration:none}.hq-locs .kpi:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
@media (max-width:900px){.hq-locs-sub .hq-loc-row{grid-template-columns:repeat(2,minmax(0,1fr))}.hq-locs-sub .hq-loc-row>span:first-child{grid-column:1/-1}.hq-exp{padding-right:0}}
@media (max-width:420px){.hq-hosts{grid-template-columns:minmax(0,1fr)}}
.num.pos,.hq-econ .pos{color:var(--ok)}.num.neg,.hq-econ .neg{color:var(--danger)}
.hq-econ-wrap{overflow-x:auto}
.hq-econ{width:100%;border-collapse:collapse;font-size:14px}
.hq-econ th,.hq-econ td{padding:9px 6px;border-bottom:1px solid var(--line);text-align:right;vertical-align:top}
.hq-econ thead th{font-size:var(--t-min);font-weight:750;color:var(--muted);text-transform:uppercase;letter-spacing:.05em}
.hq-econ th:first-child{text-align:left;padding-left:0;font-weight:650}.hq-econ td:last-child,.hq-econ th:last-child{padding-right:0}
.hq-econ tbody th small{display:block;font-weight:500;color:var(--muted);font-size:12px;margin-top:2px}
.hq-econ .hq-econ-base{color:var(--muted)}
.hq-econ tr.tot th,.hq-econ tr.tot td{font-weight:750;background:var(--surface-2)}
.hq-econ tr.res th,.hq-econ tr.res td{font-weight:800;font-size:15px;border-bottom:0}
@media (max-width:560px){.hq-econ .hq-econ-base{display:none}.hq-econ{font-size:12.5px}.hq-econ td{white-space:nowrap}}
/* Hoteles aliados: primera columna a la izquierda */
.hq-hotels th:first-child, .hq-hotels td:first-child { text-align: left; }
.hq-hotels td:last-child { text-align: right; white-space: nowrap; }
/* Buscador global de HQ (hoja desde la lupa del encabezado). */
#hq-q{width:100%}
.hq-search-list{gap:6px}
.hq-search-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;padding:10px 12px;border-radius:14px;border:1px solid var(--line);background:var(--surface);color:inherit;text-decoration:none}
.hq-search-row span{display:grid;gap:1px;min-width:0}.hq-search-row b{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hq-search-row small{font-size:12px;color:var(--muted)}
.hq-search-row:hover{border-color:var(--brand-ink)}.hq-search-row:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.hq-age{white-space:nowrap}
/* Negocios · ?negocio=<id>: resalte breve de la fila que se buscó. */
.hq-flash{animation:hq-flash 2.2s ease-out forwards;border-radius:12px}
@keyframes hq-flash{0%,35%{background:var(--brand-soft);outline:2px solid var(--brand-ink);outline-offset:-2px}100%{background:transparent;outline:2px solid transparent;outline-offset:-2px}}
@media (prefers-reduced-motion:reduce){.hq-flash{animation-duration:2.2s;animation-timing-function:steps(1,end)}}
/* Tablas de HQ más aireadas. */
.ops-row{min-height:56px;padding:14px 8px;border-bottom-color:color-mix(in srgb,var(--ink) 5%,transparent);border-radius:10px;transition:background-color .2s}
.ops-row:not(.ops-head):hover{background:color-mix(in srgb,var(--ink) 3%,transparent)}
.ops-head{font-size:12px;letter-spacing:.06em;min-height:44px;padding-top:10px;padding-bottom:10px}
.hq-brand{border-bottom-color:color-mix(in srgb,var(--ink) 5%,transparent)}
/* Celular (29-09-2026): KPIs en mosaico de 2, principal a lo ancho y grande; toques de 44 px. */
@media (max-width:767px){
  .kpis.bento,.kpis.three.hq-locs{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .kpis.bento>.kpi.main{grid-column:1/-1}
  .kpis.bento>.kpi.main b,.kpis.bento>.kpi.main .num{font-size:clamp(32px,9vw,40px);line-height:1}
  .kpis.three.hq-locs>.kpi:last-child:nth-child(odd){grid-column:1/-1}
  .tk-portal-btn,.tk-icon-btn,.tk-brand,.btn.btn-sm,.chip:not(.static),.sec-link{min-height:44px!important}
  .tk-icon-btn{min-width:44px}
  .promo-biz{display:inline-flex;align-items:center;min-height:44px}
  .hq-tabs,.tabs{overflow-x:auto;scrollbar-width:none;max-width:100%}
  .hq-econ-wrap{-webkit-overflow-scrolling:touch}
}
/* Celular (30-09-2026): cada fila de tabla es una fila Calma, nombre y dato clave; el resto de columnas, en pantallas anchas. */
@media (max-width:600px){
  .ops-table .ops-row:not(.ops-head){display:flex;align-items:center;gap:12px;min-height:56px;padding:12px 4px}
  .ops-table .ops-row>[role="cell"]:first-child{flex:1;min-width:0}
  .ops-table .ops-row>[role="cell"]:nth-child(2){text-align:right;flex:none}
  .ops-table .ops-row>[role="cell"]:nth-child(2)::before{display:none}
  .ops-table .ops-row>[role="cell"]:nth-child(n+3){display:none}
}
