/* Traspaso a DinabyteHub (rev 20261001-5) */
.th-avance table,.th-table table{font-size:.85rem}
.th-avance td,.th-avance th,.th-table td,.th-table th{padding:.55rem .7rem;vertical-align:top}
.th-avance tr.th-total td{font-weight:700;border-top:2px solid var(--line);background:#f8fafc}
.th-bar{height:8px;border-radius:6px;background:#e2e8f0;overflow:hidden;min-width:120px;margin-top:.3rem}
.th-bar span{display:block;height:100%;background:var(--blue,#084681)}
.th-zona-head{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin:1.4rem 0 .6rem;flex-wrap:wrap}
.th-zona-head h2{margin:0}
.th-zona-head input{max-width:320px}
.th-cards{grid-template-columns:repeat(6,1fr)}
.th-table table{min-width:1100px}
.th-table td small{display:block;color:var(--muted,#64748b)}
.th-table .th-ck{width:34px;text-align:center}
.th-table .th-ck input{width:auto}
.th-mes{white-space:nowrap;margin:.1rem 0}
.th-mes .tag{font-size:.68rem}
.th-aviso{color:#b45309;font-size:.78rem;margin-top:.25rem}
.th-ok{color:#15803d;font-weight:700;font-size:.8rem;margin-top:.3rem}
.th-err{color:var(--red,#b91c1c);font-weight:700;font-size:.8rem;margin-top:.3rem}
.th-table tr.th-done td{background:#f3fbf6}
.th-rev{margin-top:.4rem;font-size:.78rem;padding:.3rem .6rem}
.th-footer{display:flex;justify-content:space-between;align-items:center;gap:1rem;position:sticky;bottom:0;z-index:4}
.th-footer button:disabled{opacity:.5;cursor:not-allowed}
@media(max-width:1100px){.th-cards{grid-template-columns:repeat(3,1fr)}}
.th-ajustes{margin-top:1rem;padding:1rem 1.2rem}
.th-ajustes-head p{margin:.2rem 0 .6rem;font-size:.85rem}
.th-regla{display:flex;align-items:center;gap:.5rem;margin:.35rem 0;font-size:.88rem;flex-wrap:wrap}
.th-regla input{width:110px}
.th-regla button{padding:.25rem .55rem}
.th-ajustes-acciones{display:flex;align-items:center;gap:1rem;margin-top:.7rem;flex-wrap:wrap}
.th-chk{display:flex;align-items:center;gap:.4rem;font-size:.85rem}
.th-chk input{width:auto}
small.th-ajuste{color:#1d4ed8;font-weight:600}
