/* tt_band.css · banda azul marino (Inicio y Logística). Se carga desde layout_top.php con versión automática por fecha de modificación. */
/* ===== v1.4 · Banda azul marino (Inicio y Logística) ===== */
body.tt-home .tt-topbar,body.tt-band .tt-topbar{background:linear-gradient(135deg,#1b2f6e,#0f1f46)!important;border:0!important;box-shadow:0 10px 26px rgba(15,31,70,.28)!important;color:#fff}
body.tt-home .tt-heading h1,body.tt-band .tt-heading h1{color:#fff}
body.tt-home .tt-heading p,body.tt-band .tt-heading p{color:#c9d4ee}
body.tt-home .tt-burger,body.tt-band .tt-burger,body.tt-home .tt-topicon,body.tt-band .tt-topicon,body.tt-home .tt-userpill,body.tt-band .tt-userpill,body.tt-home .tt-search,body.tt-band .tt-search{background:rgba(255,255,255,.1)!important;border-color:rgba(255,255,255,.25)!important;color:#fff!important}
body.tt-home .tt-burger:hover,body.tt-band .tt-burger:hover,body.tt-home .tt-topicon:hover,body.tt-band .tt-topicon:hover{background:rgba(255,255,255,.2)!important}
body.tt-home .tt-search input,body.tt-band .tt-search input{background:transparent!important;color:#fff!important}
body.tt-home .tt-search input::placeholder,body.tt-band .tt-search input::placeholder{color:#b8c6e8}
body.tt-home .tt-userpill__name,body.tt-band .tt-userpill__name{color:#fff!important}
body.tt-home .tt-userpill__role,body.tt-band .tt-userpill__role{color:#c9d4ee!important}
/* Logística: portada del módulo en vidrio */
body.tt-band-full .tt-content{background:radial-gradient(1200px 600px at 20% -10%,#1f3a8a 0%,#0f1a3d 55%,#0a1230 100%);border-radius:18px;min-height:calc(100vh - 90px)}
body.tt-band-full .gl-hero,body.tt-band-full .gl-card{background:rgba(255,255,255,.07)!important;border:1px solid rgba(255,255,255,.16)!important;box-shadow:0 8px 28px rgba(8,14,40,.35)!important;backdrop-filter:blur(8px)}
body.tt-band-full .gl-hero{background:linear-gradient(135deg,rgba(47,95,224,.55),rgba(27,47,110,.55))!important;border-color:rgba(255,255,255,.2)!important}
body.tt-band-full .gl-title,body.tt-band-full .gl-card h3{color:#fff!important}
body.tt-band-full .gl-desc,body.tt-band-full .gl-card p{color:#c9d4ee!important}
body.tt-band-full .gl-tag,body.tt-band-full .gl-pill{background:rgba(255,255,255,.14)!important;border-color:rgba(255,255,255,.25)!important;color:#e7efff!important}
body.tt-band-full .gl-btn{background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.3)!important;color:#fff!important;border-radius:10px!important;transition:transform .18s,background .18s}
body.tt-band-full .gl-btn:hover{background:rgba(255,255,255,.2)!important;transform:translateY(-1px)}
body.tt-band-full .gl-btn.primary{background:linear-gradient(135deg,#2c4cb0,#243f93)!important;border-color:#3b5ec4!important;box-shadow:0 6px 18px rgba(36,63,147,.5)!important}
body.tt-band-full .gl-icon{background:rgba(255,255,255,.12)!important}
body.tt-band-full .gl-link{background:rgba(255,255,255,.06)!important;border-color:rgba(255,255,255,.16)!important;color:#fff!important}
body.tt-band-full .gl-link:hover{background:rgba(255,255,255,.15)!important;border-color:rgba(255,255,255,.4)!important}
body.tt-band-full .gl-link-icon{background:rgba(255,255,255,.12)!important;border-color:rgba(255,255,255,.2)!important}
body.tt-band-full .gl-link-arrow{color:#8fd0f0!important}

/* ===== v1.5 · Logística completa en estilo Nivelsoft (fondo azul marino + vidrio) ===== */
body.tt-band .tt-content{--tt-card:rgba(255,255,255,.07);--tt-line:rgba(255,255,255,.16);--tt-line-strong:rgba(255,255,255,.32);--tt-text:#eaf0ff;--tt-muted:#aebbe0;--tt-primary:#4f7cff;--tt-primary-soft:rgba(255,255,255,.12);background:radial-gradient(1200px 600px at 20% -10%,#1f3a8a 0%,#0f1a3d 55%,#0a1230 100%);color:var(--tt-text);min-height:calc(100vh - 90px);border-radius:18px}
body.tt-band .tt-content :is(.tt-panel,.tt-kpi,.tt-toolbar,.tt-note,.tt-tabs){backdrop-filter:blur(8px)}
body.tt-band .tt-content :is(h1,h2,h3,h4,strong,b,label,th){color:inherit}
body.tt-band .tt-content a:not([class]){color:#8fd0f0}
body.tt-band .tt-content select option{background:#fff;color:#172033}
body.tt-band .tt-content :is(input,select,textarea)::placeholder{color:#93a3cc}
body.tt-band .tt-content :is(input,select,textarea){color-scheme:dark}
body.tt-band .tt-content :is(dialog,.tt-dialog){background:#14214a!important;color:var(--tt-text)}
body.tt-band .tt-content :is(dialog,.tt-dialog)::backdrop{background:rgba(5,10,30,.6)}
body.tt-band .tt-content .tt-table tbody tr:hover td{background:rgba(255,255,255,.07)!important}
body.tt-band .tt-content :is(input,select,textarea)[readonly],body.tt-band .tt-content :is(input,select,textarea)[disabled]{background:rgba(255,255,255,.1)!important;color:var(--tt-text)!important;-webkit-text-fill-color:var(--tt-text)}
/* v1.6 · celdas y filas sin fondo blanco fijo */
body.tt-band .tt-content :is(tbody,tfoot) :is(td,th){background-color:transparent!important;color:var(--tt-text)!important}
body.tt-band .tt-content :is(tbody,tfoot) :is(td,th) :is(span,small,div,p,em):not([class*=pill]):not([class*=badge]):not([class*=chip]):not([class*=btn]):not(.tt-pill){color:inherit}
body.tt-band .tt-content :is(.ui-table,.scm-table,.gm-table) tbody tr:hover td{background-color:rgba(255,255,255,.07)!important}
/* v1.7 · textos de apoyo legibles sobre azul */
body.tt-band .tt-content :is(li,p,small,dd,dt,summary,legend){color:var(--tt-muted)}
body.tt-band .tt-content :is(li,p,small,dd,dt)>strong,body.tt-band .tt-content :is(li,p)>b{color:var(--tt-text)}
body.tt-band .tt-content [class*=note] :is(li,p,span,div,strong){color:var(--tt-muted)!important}
body.tt-band .tt-content [class*=note] strong{color:var(--tt-text)!important}
/* v1.8 · el desborde horizontal queda dentro del fondo azul */
body.tt-band .tt-content{overflow-x:auto;min-width:0;max-width:100%}
body.tt-band .tt-main{min-width:0}
/* v1.9 · controles y tablas con la paleta Nivelsoft (marino #243f93, menta #6dc4ac, celeste #6cc6ea) */
body.tt-band .tt-content :is(thead,table) th{background:rgba(255,255,255,.10)!important;color:#c9d4ee!important;text-transform:none!important;letter-spacing:0!important;font-weight:600!important;font-size:12px!important;border-color:rgba(255,255,255,.14)!important}
body.tt-band .tt-content :is(thead,table) tr{border-color:rgba(255,255,255,.12)!important}
body.tt-band .tt-content :is(td,th){border-color:rgba(255,255,255,.12)!important}
body.tt-band .tt-content :is(input:not([type=checkbox],[type=radio],[type=range],[type=file],[type=hidden],[type=color]),select,textarea){background:rgba(255,255,255,.08)!important;color:var(--tt-text)!important;border:1px solid rgba(255,255,255,.28)!important;border-radius:10px!important}
body.tt-band .tt-content :is(input,select,textarea):focus{border-color:#6cc6ea!important;box-shadow:0 0 0 3px rgba(108,198,234,.25)!important;outline:none}
body.tt-band .tt-content :is(.tt-row-btn.add,.scm-row-add,.gm-row-add,.ui-row-add,.tt-row-add){background:rgba(108,198,234,.14)!important;border:1px dashed rgba(108,198,234,.7)!important;color:#bfe8fa!important}
body.tt-band .tt-content :is(.tt-row-btn.remove,.scm-row-remove,.gm-row-remove,.ui-row-remove,.tt-row-remove){background:rgba(255,100,90,.14)!important;border:1px solid rgba(255,130,120,.45)!important;color:#ffb4ab!important}
body.tt-band .tt-content :is([class*=danger],.btn-danger,.tt-btn--danger){background:rgba(255,100,90,.10)!important;border:1px solid rgba(255,130,120,.5)!important;color:#ffb4ab!important}
body.tt-band .tt-content :is(.tt-btn--primary,.primary,[class*=btn-primary],[class*=-primary]:not([class*=soft]),.btn-success,.success):is(a,button,input){background:linear-gradient(135deg,#2c4cb0,#243f93)!important;border:1px solid #3b5ec4!important;color:#fff!important;box-shadow:0 6px 18px rgba(36,63,147,.5)!important}
body.tt-band .tt-content :is(.tt-btn--primary,.primary,[class*=btn-primary],.btn-success):is(a,button,input):hover{background:linear-gradient(135deg,#3557c4,#2a46a3)!important;box-shadow:0 10px 26px rgba(54,92,214,.6)!important}
body.tt-band .tt-content :is(a,button)[class*=btn]:not([class*=primary]):not([class*=danger]):not([class*=remove]):not([class*=add]){background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.28);color:#fff}
/* v1.10 · botones de guardar/éxito con el marino Nivelsoft */
body.tt-band .tt-content :is([class*="-success"],[class*="-save"],[class*="-guardar"],[type=submit].tt-btn):is(a,button,input):not([class*=danger]){background:linear-gradient(135deg,#2c4cb0,#243f93)!important;border:1px solid #3b5ec4!important;color:#fff!important;box-shadow:0 6px 18px rgba(36,63,147,.5)!important}
body.tt-band .tt-content :is([class*="-success"],[class*="-save"],[class*="-guardar"]):is(a,button,input):hover{background:linear-gradient(135deg,#3557c4,#2a46a3)!important}
/* v1.11 · filas con cursor encima: nunca blancas */
body.tt-band .tt-content tbody tr:hover,body.tt-band .tt-content tbody tr:focus-within{background:transparent!important}
body.tt-band .tt-content tbody tr:hover :is(td,th),body.tt-band .tt-content tbody tr:focus-within :is(td,th){background:rgba(255,255,255,.07)!important;background-color:rgba(255,255,255,.07)!important;color:var(--tt-text)!important}
body.tt-band .tt-content tbody tr:hover :is(td,th) :is(span,small,div,p,label,strong):not([class*=pill]):not([class*=badge]):not([class*=chip]):not([class*=btn]){color:inherit}
/* v1.12 · modo oscuro por defecto en Inicio, barra lateral y Logística */
body.tt-theme-dark.tt-home,body.tt-theme-dark.tt-band{--tt-bg:#0a1230;--tt-card:#0f1a3d;--tt-line:rgba(255,255,255,.12);--tt-line-strong:rgba(255,255,255,.22);--tt-primary:#4f7cff}
/* v1.13 · sin botón de luna donde el modo oscuro es fijo */
body.tt-home #ttThemeToggle,body.tt-band #ttThemeToggle{display:none!important}
/* v1.14 · sin resaltado al pasar el cursor; filas de detalle en vidrio; agregar/quitar homologados */
body.tt-band .tt-content tbody tr,body.tt-band .tt-content tbody tr:hover,body.tt-band .tt-content tbody tr:focus-within{background:transparent!important}
body.tt-band .tt-content tbody tr:hover :is(td,th),body.tt-band .tt-content tbody tr:focus-within :is(td,th){background:transparent!important;background-color:transparent!important}
body.tt-band .tt-content tr[class*=detail],body.tt-band .tt-content tr[class*=detail]:hover{background:rgba(255,255,255,.05)!important}
body.tt-band .tt-content tr[class*=detail] :is(td,th,div,section){background-color:transparent!important}
body.tt-band .tt-content :is(.tt-row-btn.add,[class*=row-add],[class*=btn-add],[class*=add-row],.tt-row-add),body.tt-band .tt-content :is(.tt-row-btn.remove,[class*=row-remove],[class*=btn-remove],[class*=remove-row],.tt-row-remove){display:inline-flex!important;align-items:center;justify-content:center;gap:6px;min-width:32px;min-height:32px;height:32px;padding:0 10px!important;border-radius:10px!important;font:600 13px Inter,system-ui,sans-serif!important;box-shadow:none!important;transform:none;cursor:pointer;transition:background .18s,border-color .18s}
body.tt-band .tt-content :is(.tt-row-btn.add,[class*=row-add],[class*=btn-add],[class*=add-row],.tt-row-add):hover{background:rgba(108,198,234,.26)!important;border-color:#6cc6ea!important}
body.tt-band .tt-content :is(.tt-row-btn.remove,[class*=row-remove],[class*=btn-remove],[class*=remove-row],.tt-row-remove):hover{background:rgba(255,100,90,.26)!important;border-color:#ff8f86!important}
/* v1.15 · menús de fila funcionan (sin backdrop-filter en paneles) y acciones homologadas */
body.tt-band .tt-content :is(.tt-panel,.tt-toolbar,.tt-table-wrap,.tt-tabs,.tt-note,.tt-kpi){backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
body.tt-band .tt-content .tt-menu__panel,body.tt-band .tt-content [class*=tt-menu] [role=menu],body.tt-band .tt-content .tt-menu-panel{background:#14214a!important;border:1px solid rgba(255,255,255,.2)!important;box-shadow:0 14px 32px rgba(0,0,0,.45)!important;color:#eaf0ff!important}
body.tt-band .tt-content :is(a,button).tt-act-add,body.tt-band .tt-content :is(a,button).tt-act-add:is(.primary,[class*=primary]){display:inline-flex!important;align-items:center;justify-content:center;min-width:32px;height:32px;padding:0 12px!important;border-radius:10px!important;background:rgba(108,198,234,.14)!important;background-image:none!important;border:1px dashed rgba(108,198,234,.7)!important;color:#bfe8fa!important;box-shadow:none!important;font:600 13px Inter,system-ui,sans-serif!important}
body.tt-band .tt-content :is(a,button).tt-act-add:hover{background:rgba(108,198,234,.26)!important;border-color:#6cc6ea!important}
body.tt-band .tt-content :is(a,button).tt-act-remove,body.tt-band .tt-content :is(a,button).tt-act-remove:is(.danger,[class*=danger]){display:inline-flex!important;align-items:center;justify-content:center;min-width:32px;height:32px;padding:0 12px!important;border-radius:10px!important;background:rgba(255,100,90,.14)!important;background-image:none!important;border:1px solid rgba(255,130,120,.45)!important;color:#ffb4ab!important;box-shadow:none!important;font:600 13px Inter,system-ui,sans-serif!important}
body.tt-band .tt-content :is(a,button).tt-act-remove:hover{background:rgba(255,100,90,.26)!important;border-color:#ff8f86!important}
body.tt-band .tt-content :is(button,a)[class*=row-add]:is([class*=primary],.primary),body.tt-band .tt-content :is(button,a)[class*=btn-add]:is([class*=primary],.primary){background:rgba(108,198,234,.14)!important;background-image:none!important;border:1px dashed rgba(108,198,234,.7)!important;color:#bfe8fa!important;box-shadow:none!important}
body.tt-band .tt-content :is([class*=chip],[class*=consec],[class*=code]):not(input):not(button){background:rgba(108,198,234,.14)!important;color:#bfe8fa!important;border:1px solid rgba(108,198,234,.35)!important}
/* v1.16 · la animación de entrada no deja transform activo (rompe los menús flotantes) */
.tt-panel,.tt-kpi,.tt-module,.tt-quick a,.tt-home-head{animation-fill-mode:backwards!important}
/* v1.17 · formato de acciones según Solicitudes de compra: +/− compactos, consecutivo en texto, PDF rojo suave */
body.tt-band .tt-content :is(a,button).tt-act-add,body.tt-band .tt-content :is(a,button).tt-act-remove{width:30px!important;min-width:30px!important;height:30px!important;padding:0!important;font-size:0!important;line-height:0!important;border-radius:9px!important}
body.tt-band .tt-content :is(a,button).tt-act-add::before{content:"+";font:700 15px/1 Inter,system-ui,sans-serif;color:#bfe8fa}
body.tt-band .tt-content :is(a,button).tt-act-remove::before{content:"−";font:700 15px/1 Inter,system-ui,sans-serif;color:#ffb4ab}
body.tt-band .tt-content :is(a,button).tt-act-pdf{background:rgba(255,100,90,.10)!important;border:1px solid rgba(255,130,120,.5)!important;color:#ffb4ab!important;min-height:30px;padding:0 12px!important;border-radius:9px!important;font:600 12.5px Inter,system-ui,sans-serif!important;box-shadow:none!important}
body.tt-band .tt-content :is(a,button).tt-act-pdf:hover{background:rgba(255,100,90,.22)!important;border-color:#ff8f86!important}
body.tt-band .tt-content :is([class*=chip],[class*=consec],[class*=code]):not(input):not(button):not(a.tt-act-add):not(a.tt-act-remove){background:transparent!important;border:0!important;color:var(--tt-text)!important;font-weight:700!important;padding:0!important;border-radius:0!important}
/* v1.18 · fuerza el tamaño de texto 0 en +/− (solo se ve el símbolo) */
body.tt-band .tt-content :is(a,button).tt-act-add.tt-act-add.tt-act-add,body.tt-band .tt-content :is(a,button).tt-act-remove.tt-act-remove.tt-act-remove{font-size:0!important;line-height:0!important;width:30px!important;min-width:30px!important;height:30px!important;padding:0!important}
/* v1.19 · tablas de histórico estándar (según Solicitudes de compra): filas de 49 px, consecutivo en texto y PDF de 32 px */
body.tt-band .tt-content tbody td{padding:8px 10px!important;vertical-align:middle}
body.tt-band .tt-content td [class*=badge-soft],body.tt-band .tt-content td [class*=badge-code],body.tt-band .tt-content td [class*=badge-consec]{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important;color:var(--tt-text)!important;font-weight:700!important;font-size:inherit!important;text-transform:none!important;display:inline!important}
body.tt-band .tt-content td [class*=badge-soft]::first-letter{text-transform:none}
body.tt-band .tt-content :is(a,button).tt-act-pdf{display:inline-flex!important;align-items:center;justify-content:center;height:32px!important;min-height:32px!important;min-width:50px;padding:0 12px!important;font-size:12.5px!important;line-height:1!important}

/* v1.20 consecutivo plano + PDF homologado */
body.tt-band .tt-content .gm-pill,body.tt-band .tt-content .ui-pill,body.tt-band .tt-content td .tt-consec{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;min-height:0!important;height:auto!important;border-radius:0!important;font-weight:700!important;color:var(--tt-text)!important;text-transform:none!important}
body.tt-band .tt-content .tt-act-pdf{display:inline-flex!important;align-items:center;justify-content:center;height:32px!important;min-width:50px;padding:0 12px!important;font-size:12.5px!important;line-height:1}

/* v1.21 Préstamos / Mantenimiento / Reporte: glass navy */
body.tt-band .tt-content :is(.pr-panel,.pr-helpbox,.pr-row,.pr-table-wrap,.hist-panel,.dev-box,.mt-stat,.mt-card,.mt-notice,.mt-empty,.kpi,.group-title,.cat-item,.pr-alert){background:rgba(255,255,255,.07)!important;border:1px solid var(--tt-line)!important;color:var(--tt-text)!important;box-shadow:none!important}
body.tt-band .tt-content .pr-card{background:transparent!important;border:0!important;box-shadow:none!important;color:var(--tt-text)!important}
body.tt-band .tt-content :is(.pr-card,.hist-panel,.dev-box,.mt-card,.mt-stat,.kpi,.group-title,.cat-item) :is(h1,h2,h3,h4,strong,b,label,th,td,a,div,span,p,small,li):not([class*=badge]):not([class*=btn]):not([class*=chip]):not([class*=icon]):not([class*=count]):not(.tt-act-add):not(.tt-act-remove):not(.tt-act-pdf){color:inherit}
body.tt-band .tt-content :is(.pr-card,.hist-panel,.dev-box,.mt-card,.mt-stat,.kpi) :is(p,small,[class*=muted],[class*=sub],[class*=desc],[class*=hint],.pr-helpbox){color:var(--tt-muted)!important}
body.tt-band .tt-content :is(.pr-panel-icon,.hist-icon){background:rgba(255,255,255,.12)!important;color:#bfe8fa!important;border:0!important}
body.tt-band .tt-content :is(.pr-mini,.dev-stepper,.dev-stepper button,.dev-stepper input){background:rgba(255,255,255,.08)!important;border-color:var(--tt-line)!important;color:var(--tt-text)!important}
body.tt-band .tt-content .pr-mini-muted{color:var(--tt-muted)!important}
body.tt-band .tt-content :is(.pr-badge.p,.mt-badge,.dev-chip,.hist-count,.dev-count,.dev-chip.type-equipo){background:rgba(108,198,234,.18)!important;color:#bfe8fa!important;border:0!important}
body.tt-band .tt-content :is(.pr-badge.d){background:rgba(109,196,172,.22)!important;color:#a8ecd6!important;border:0!important}
body.tt-band .tt-content :is(.pr-table,.dev-table,.hist-table,.mt-table) :is(td,th){background:transparent!important;color:var(--tt-text)!important;border-color:var(--tt-line)!important}
body.tt-band .tt-content :is(.pr-table,.dev-table,.hist-table,.mt-table) th{background:rgba(255,255,255,.1)!important;color:#c9d4ee!important}
body.tt-band .tt-content .dev-table tbody tr.is-selected td{background:rgba(108,198,234,.12)!important}
body.tt-band .tt-content :is(.pr-btn.ghost,.pr-pageback,.hist-btn,.mt-finish){background:rgba(255,255,255,.08)!important;border:1px solid var(--tt-line-strong)!important;color:#fff!important}
body.tt-band .tt-content :is(.pr-tabs,.pr-tab,[class*=tab]) :is(a,button){color:var(--tt-muted)}
body.tt-band .tt-content :is(.pr-tab.active,.pr-tab.is-active,[class*=tab].active,[class*=tab].is-active){color:#fff!important;border-color:#6cc6ea!important}

/* v1.22 cabeceras y etiquetas */
body.tt-band .tt-content :is(.pr-panel-head,.hist-head){background:rgba(255,255,255,.05)!important;border-color:var(--tt-line)!important}
body.tt-band .tt-content :is(.pr-panel-title,.hist-title,.mt-title,[class*=-title]):not(.tt-home-title){color:var(--tt-text)!important}
body.tt-band .tt-content :is(.pr-field,.mt-field,.dev-field) label,body.tt-band .tt-content label{color:#c9d4ee!important}
body.tt-band .tt-content :is(.pr-panel-sub,.hist-sub,[class*=-sub],[class*=-desc],.pr-help,.pr-hint){color:var(--tt-muted)!important}
body.tt-band .tt-content :is(.pr-panel-icon,.hist-icon) *{color:#bfe8fa!important}

/* v1.23 titulos genericos */
body.tt-band .tt-content :is(h1,h2,h3,h4,h5){color:var(--tt-text)!important}
body.tt-band .tt-content :is(.mt-wrap,.mt-page,.mt-shell) :is(p,small,.mt-sub,.mt-muted){color:var(--tt-muted)}

/* v1.24 remanentes: textos tenues, bootstrap cards, botones */
body.tt-band .tt-content :is(.tt-table-hint,.pr-panel-text,.mt-muted,.text-muted,small.text-muted,.text-secondary){color:var(--tt-muted)!important}
body.tt-band .tt-content code{color:#ffb4c8!important;background:transparent!important}
body.tt-band .tt-content :is(strong,.value,.fw-semibold,.fw-bold){color:var(--tt-text)}
body.tt-band .tt-content :is(.card,.card-soft,.card-body,.table-responsive,.mt-scroll,.pr-rows-head){background:rgba(255,255,255,.07)!important;border-color:var(--tt-line)!important;color:var(--tt-text)!important;box-shadow:none!important}
body.tt-band .tt-content .card-header{background:rgba(255,255,255,.05)!important;border-color:var(--tt-line)!important;color:var(--tt-text)!important}
body.tt-band .tt-content .card-body,body.tt-band .tt-content .table-responsive{background:transparent!important}
body.tt-band .tt-content :is(.btn-outline-secondary,.scm-btn.gray,.btn-light){background:rgba(255,255,255,.08)!important;border:1px solid var(--tt-line-strong)!important;color:#fff!important}
body.tt-band .tt-content :is(.mt-btn.red,.btn-outline-danger){background:rgba(255,100,90,.16)!important;border:1px solid rgba(255,120,110,.5)!important;color:#ffb4ab!important}
body.tt-band .tt-content .table{--bs-table-bg:transparent;--bs-table-color:var(--tt-text);--bs-table-border-color:var(--tt-line);color:var(--tt-text)}
body.tt-band .tt-menu__item{color:#eaf0ff}
body.tt-band .tt-menu__item:is(.danger,.is-danger,[class*=delete],[class*=elim]){color:#ffb4ab}

/* v1.25 tablas bootstrap y KPI */
body.tt-band .tt-content .kpi .value,body.tt-band .tt-content .kpi .label{color:var(--tt-text)!important}
body.tt-band .tt-content .group-title,body.tt-band .tt-content .group-title td{background:rgba(255,255,255,.1)!important;color:#fff!important;font-weight:700}
body.tt-band .tt-content .table>:not(caption)>*>*,body.tt-band .tt-content .table-striped>tbody>tr:nth-of-type(odd)>*{background-color:transparent!important;box-shadow:none!important;color:var(--tt-text)!important}
body.tt-band .tt-content .table thead th{background:rgba(255,255,255,.1)!important;color:#c9d4ee!important}

/* v1.26 */
body.tt-band .tt-content strong{color:var(--tt-text)!important}
body.tt-band .tt-menu__panel .tt-menu__item{color:#eaf0ff!important}
body.tt-band .tt-menu__panel .tt-menu__item:is(.danger,.is-danger,.delete,[class*=delete],[class*=danger],[class*=elim],[data-danger]){color:#ffb4ab!important}
body.tt-band .tt-menu__panel .tt-menu__item:hover{background:rgba(255,255,255,.1)!important}

/* v1.27 Comercial: clientes, cotizaciones, productos */
body.tt-band .tt-content :is(.cl-card,.cot-card,.ps-card,.cot-meta-box,.cot-summary-box,.cot-history-wrap){background:rgba(255,255,255,.07)!important;border:1px solid var(--tt-line)!important;color:var(--tt-text)!important;box-shadow:none!important}
body.tt-band .tt-content :is(.cl-card,.cot-card,.ps-card) :is(h1,h2,h3,h4,strong,b,label,th,td,a,div,span,p,small,li):not([class*=badge]):not([class*=btn]):not([class*=chip]):not([class*=icon]):not([class*=count]):not([class*=pill]):not(.tt-act-add):not(.tt-act-remove):not(.tt-act-pdf){color:inherit}
body.tt-band .tt-content :is(.cl-head-icon,.cot-head-icon,.ps-head-icon){background:rgba(255,255,255,.12)!important;color:#bfe8fa!important;border:0!important}
body.tt-band .tt-content :is(.cl-count,.cl-badge,.cot-pill,.cot-history-count,.ps-count,.ps-badge){background:rgba(108,198,234,.18)!important;color:#bfe8fa!important;border:0!important}
body.tt-band .tt-content :is(.cl-badge.on,.ps-badge.ps-badge-on){background:rgba(109,196,172,.22)!important;color:#a8ecd6!important}
body.tt-band .tt-content :is(.ps-badge.ps-badge-srv){background:rgba(167,139,250,.22)!important;color:#d9ccff!important}
body.tt-band .tt-content :is(.cot-picker-trigger,.cot-input-mini){background:rgba(255,255,255,.08)!important;border:1px solid var(--tt-line)!important;color:var(--tt-text)!important}
body.tt-band .tt-content :is(.cot-meta-box,.cot-summary-box) :is(.val,.lbl,.label){color:var(--tt-text)!important}
body.tt-band .tt-content :is(.cot-meta-box,.cot-summary-box) .lbl{color:var(--tt-muted)!important}

/* v1.28 cabeceras de tarjeta comercial */
body.tt-band .tt-content :is(.cl-head,.cot-form-head,.ps-head,.cot-history-head,[class$="-head"]:not(.tt-home-head)){background:rgba(255,255,255,.05)!important;background-image:none!important;border-color:var(--tt-line)!important;color:var(--tt-text)!important}
body.tt-band .tt-content :is(.cl-head,.cot-form-head,.ps-head,.cot-history-head) :is(h1,h2,h3,h4,.cl-title,.cot-title,.ps-title){color:var(--tt-text)!important}
body.tt-band .tt-content :is(.cl-head,.cot-form-head,.ps-head,.cot-history-head) :is(p,small,[class*=sub],[class*=desc],[class*=meta] span){color:var(--tt-muted)!important}

/* v1.29 Gestión de proyectos: OT, bitácora consultoría, bitácora diaria, reportes de obra, visitas, actas */
body.tt-band .tt-content :is(.ot-card,.ot-section,.ot-row,.ot-head-row,.bt-card,.bit-card,.bit-kpi,.rco-card,.rco-flow,.rco-flow-item,.rco-info-strip,.rco-actionbar,.vt-card,.cardx,.hint,.alert-light,.alert-secondary,.bit-alert){background:rgba(255,255,255,.07)!important;background-image:none!important;border:1px solid var(--tt-line)!important;color:var(--tt-text)!important;box-shadow:none!important}
body.tt-band .tt-content :is(.ot-head-row,.ot-section>.ot-section-title){background:rgba(255,255,255,.04)!important}
body.tt-band .tt-content :is(.ot-card,.ot-section,.ot-row,.ot-head-row,.bt-card,.bit-card,.bit-kpi,.rco-card,.rco-flow,.rco-flow-item,.rco-info-strip,.rco-actionbar,.vt-card,.cardx,.hint,.alert-light,.alert-secondary,.bit-alert) :is(h1,h2,h3,h4,strong,b,label,th,td,a,div,span,p,small,li,legend):not([class*=badge]):not([class*=btn]):not([class*=chip]):not([class*=icon]):not([class*=status]):not([class*=count]):not([class*=pill]):not(.tt-act-add):not(.tt-act-remove):not(.tt-act-pdf):not(.b):not(.check){color:inherit}
body.tt-band .tt-content :is([class*="ot-"],[class*="bt-"],[class*="bit-"],[class*="rco-"],[class*="vt-"],.cardx) :is(small,.muted,.help,.hint,[class*=sub],[class*=desc],[class*=note]){color:var(--tt-muted)!important}
body.tt-band .tt-content :is(.ot-title,.bit-title,.vt-title,.bt-title,.rco-title,.ot-section-title,.rco-card-title,.vt-card-title,.bit-card-title){color:var(--tt-text)!important}
body.tt-band .tt-content :is(.bit-sub,.vt-sub,.bt-sub,.rco-sub,.ot-sub){color:var(--tt-muted)!important}
body.tt-band .tt-content :is(.ot-card,.ot-section,.ot-row,.bt-card,.bit-card,.rco-card,.vt-card,.cardx,.rco-actionbar) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){background:rgba(255,255,255,.08)!important;border:1px solid var(--tt-line)!important;color:var(--tt-text)!important}
body.tt-band .tt-content :is(.ot-card,.ot-section,.ot-row,.bt-card,.bit-card,.rco-card,.vt-card,.cardx) :is(input,select,textarea):disabled,body.tt-band .tt-content :is(.ot-card,.bt-card,.bit-card,.rco-card,.vt-card,.cardx) :is(input,select,textarea)[readonly]{background:rgba(255,255,255,.04)!important;color:var(--tt-muted)!important}
body.tt-band .tt-content :is(.ot-card,.bt-card,.bit-card,.rco-card,.vt-card,.cardx) :is(table,.table){--bs-table-bg:transparent;--bs-table-color:var(--tt-text);color:var(--tt-text)!important;background:transparent!important}
body.tt-band .tt-content :is(.ot-card,.bt-card,.bit-card,.rco-card,.vt-card,.cardx) :is(th,td){background:transparent!important;border-color:var(--tt-line)!important;color:var(--tt-text)!important}
body.tt-band .tt-content :is(.ot-card,.bt-card,.bit-card,.rco-card,.vt-card,.cardx) thead th{background:rgba(255,255,255,.06)!important;color:var(--tt-muted)!important}
body.tt-band .tt-content :is(.vt-badge,.rco-status,.badge){background:rgba(108,198,234,.18)!important;color:#bfe8fa!important}
body.tt-band .tt-content :is(.rco-status.cerrado,.vt-badge.ok,.badge.bg-success){background:rgba(109,196,172,.22)!important;color:#a8ecd6!important}
body.tt-band .tt-content .b.gray,body.tt-band .tt-content .bt-btn,body.tt-band .tt-content label.check{background:rgba(255,255,255,.1)!important;border:1px solid var(--tt-line)!important;color:var(--tt-text)!important}
body.tt-band .tt-content :is(.ot-module-icon,.rco-icon){background:rgba(255,255,255,.12)!important;color:#bfe8fa!important}

/* v1.30 */
body.tt-band .tt-content .rco-flow-num{background:#2f5fe0!important;color:#fff!important}

/* v1.31 proyectos: sin desborde lateral + hero en vidrio */
body.tt-band .tt-content :is(.rco-shell,.ot-shell,.bit-shell,.vt-shell,.bt-shell,.tt-page){min-width:0;max-width:100%}
body.tt-band .tt-content .rco-shell{grid-template-columns:minmax(0,1fr)!important}
body.tt-band .tt-content :is(.rco-shell,.ot-shell,.bit-shell,.vt-shell,.bt-shell)>*{min-width:0}
body.tt-band .tt-content :is(.rco-card,.bit-card,.vt-card,.bt-card,.ot-card){max-width:100%;overflow-x:auto}
body.tt-band .tt-content :is(.rco-hero,.bit-head,.vt-head,.ot-head,.bt-head){background:rgba(255,255,255,.07)!important;background-image:none!important;border:1px solid var(--tt-line)!important;color:var(--tt-text)!important;box-shadow:none!important;max-width:100%}
body.tt-band .tt-content .rco-hero :is(h1,h2,.rco-title){color:var(--tt-text)!important}
body.tt-band .tt-content .rco-hero :is(p,small,.rco-sub,span:not([class*=btn])){color:var(--tt-muted)!important}
body.tt-band .tt-content .rco-hero :is(.rco-icon){background:rgba(255,255,255,.12)!important;color:#bfe8fa!important}

/* v1.32 proyectos: fondo único y títulos unificados */
body.tt-band{background:#0a1230!important}
body.tt-proy .tt-content :is(h1,h2,.bit-title,.vt-title,.ot-title,.bt-title,.rco-title){font-size:20px!important;font-weight:800!important;line-height:1.25!important;letter-spacing:0!important;color:var(--tt-text)!important;font-family:inherit!important}
body.tt-proy .tt-content h3{font-size:16px!important;font-weight:800!important;color:var(--tt-text)!important}
body.tt-proy .tt-content :is(.bit-sub,.vt-muted,.bt-sub,.rco-sub,.ot-sub,.tt-page>p,.tt-page>div>p){font-size:13px!important;font-weight:400!important;color:var(--tt-muted)!important}

/* v1.33 proyectos: encabezados, avisos, archivos y barras */
body.tt-proy .tt-content .bit-head{padding:14px 16px!important;border-radius:14px!important}
body.tt-proy .tt-content :is(.bit-alert,.alert){font-size:13px!important;font-weight:500!important;padding:10px 14px!important;line-height:1.45}
body.tt-proy .tt-content input[type=file]{background:rgba(255,255,255,.08)!important;color:var(--tt-text)!important;border:1px solid var(--tt-line)!important}
body.tt-proy .tt-content input[type=file]::file-selector-button{background:rgba(255,255,255,.16);color:var(--tt-text);border:0;border-radius:8px;padding:5px 10px;margin-right:8px}
body.tt-proy,body.tt-proy .tt-content *{scrollbar-color:rgba(255,255,255,.32) rgba(255,255,255,.06)}

/* v1.34 Gestión administrativa */
body.tt-band .tt-content :is(.oc-card,.oc-kpi,.oc-summary-box,.oc-totals,.os-card,.os-kpi,.os-box,.os-check-card,.os-section,.sc-card,.sc-meta,.sc-box,.ui-card){background:rgba(255,255,255,.07)!important;background-image:none!important;border:1px solid var(--tt-line)!important;color:var(--tt-text)!important;box-shadow:none!important}
body.tt-band .tt-content :is(.oc-card,.oc-kpi,.oc-summary-box,.oc-totals,.os-card,.os-kpi,.os-box,.os-check-card,.os-section,.sc-card,.sc-meta,.sc-box,.ui-card) :is(h1,h2,h3,h4,strong,b,label,th,td,a,div,span,p,small,li,legend):not([class*=badge]):not([class*=btn]):not([class*=chip]):not([class*=icon]):not([class*=status]):not([class*=count]):not([class*=pill]):not(.tt-act-add):not(.tt-act-remove):not(.tt-act-pdf):not(.ui-edit){color:inherit}
body.tt-band .tt-content :is([class^="oc-"],[class*=" oc-"],[class^="os-"],[class*=" os-"],[class^="sc-"],[class*=" sc-"],[class^="ui-"],[class*=" ui-"]) :is(small,.muted,.help,.hint,.lbl,[class*=subtitle],[class$="-sub"],[class*="-sub "],[class*=desc],[class*=note]){color:var(--tt-muted)!important}
body.tt-band .tt-content :is(.oc-title,.os-title,.sc-title,.os-section-title,.sc-section-title,.oc-totals-title,.ui-card-title,.oc-section-title){color:var(--tt-text)!important;font-weight:800;background:transparent!important}
body.tt-band .tt-content :is(.oc-card,.os-card,.sc-card,.ui-card,.os-box,.sc-meta) :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){background:rgba(255,255,255,.08)!important;border:1px solid var(--tt-line)!important;color:var(--tt-text)!important}
body.tt-band .tt-content :is(.oc-card,.os-card,.sc-card,.ui-card) :is(input,select,textarea):disabled,body.tt-band .tt-content :is(.oc-card,.os-card,.sc-card,.ui-card) :is(input,select,textarea)[readonly]{background:rgba(255,255,255,.04)!important;color:var(--tt-muted)!important}
body.tt-band .tt-content :is(.oc-card,.os-card,.sc-card,.ui-card) :is(table,.table){--bs-table-bg:transparent;--bs-table-color:var(--tt-text);color:var(--tt-text)!important;background:transparent!important}
body.tt-band .tt-content :is(.oc-card,.os-card,.sc-card,.ui-card) :is(th,td){background:transparent!important;border-color:var(--tt-line)!important;color:var(--tt-text)!important}
body.tt-band .tt-content :is(.oc-card,.os-card,.sc-card,.ui-card) thead th{background:rgba(255,255,255,.06)!important;color:var(--tt-muted)!important}
body.tt-band .tt-content :is(.oc-kpi,.os-kpi) .value{color:var(--tt-text)!important}
body.tt-band .tt-content :is(.oc-kpi,.os-kpi) :is(.label,.lbl){color:var(--tt-muted)!important}
body.tt-band .tt-content :is(.ui-badge,.ui-count){background:rgba(108,198,234,.18)!important;color:#bfe8fa!important;border:0!important}
body.tt-band .tt-content :is(.ui-badge.on,.ui-badge.prov){background:rgba(109,196,172,.22)!important;color:#a8ecd6!important}
body.tt-band .tt-content :is(.ui-badge.cont){background:rgba(167,139,250,.22)!important;color:#d9ccff!important}
body.tt-band .tt-content :is(.ui-icon,.ui-edit,.oc-icon,.os-icon,.sc-icon){background:rgba(255,255,255,.12)!important;color:#bfe8fa!important;border:1px solid var(--tt-line)!important}

/* v1.35 titulos administrativa */
body.tt-band.tt-proy .tt-content :is(.oc-title,.os-title,.sc-title,.ui-title,.ui-page-title){font-size:20px!important;font-weight:800!important}
body.tt-band.tt-proy .tt-content :is(.os-section-title,.sc-section-title,.oc-totals-title,.ui-card-title,.oc-section-title){font-size:16px!important}

/* v1.36 historicos + select oscuro */
body.tt-band.tt-proy .tt-content table th.tt-col-num,body.tt-band.tt-proy .tt-content table td.tt-col-num{white-space:nowrap!important;text-align:right!important;font-variant-numeric:tabular-nums}
body.tt-band.tt-proy .tt-content table th.tt-col-key,body.tt-band.tt-proy .tt-content table td.tt-col-key{white-space:nowrap!important}
body.tt-band.tt-proy .tt-content :is(.oc-table-wrap,.os-table-wrap,.sc-table-wrap){overflow-x:auto}
body.tt-band.tt-proy .tt-content :is(.oc-table-wrap,.os-table-wrap,.sc-table-wrap) table:not(.oc-entry-detail){font-size:13px}
body.tt-band.tt-proy .tt-content :is(.oc-table-wrap,.os-table-wrap,.sc-table-wrap) table:not(.oc-entry-detail) :is(th,td){padding:8px 10px!important;vertical-align:middle}
body.tt-band.tt-theme-dark select,body.tt-band.tt-theme-dark input,body.tt-band.tt-theme-dark textarea{color-scheme:dark}
body.tt-band.tt-theme-dark select option,body.tt-band.tt-theme-dark select optgroup{background:#14214a;color:#eaf0ff}

/* v1.37 valores igual color */
body.tt-band .tt-content .os-table :is(input,select,.os-read,.os-read:read-only){color:var(--tt-text)!important;-webkit-text-fill-color:var(--tt-text)!important;opacity:1}
body.tt-band .tt-content .os-table :is(input,select)::placeholder{color:var(--tt-muted)!important;-webkit-text-fill-color:var(--tt-muted)!important}

/* v1.38 opciones de listas desplegables legibles en oscuro */
body.tt-band.tt-theme-dark .tt-content select option,body.tt-band.tt-theme-dark .tt-content select optgroup,body.tt-band.tt-theme-dark select option{background-color:#14214a!important;color:#eaf0ff!important;-webkit-text-fill-color:#eaf0ff!important;opacity:1!important;text-shadow:none!important}
body.tt-band.tt-theme-dark .tt-content select option:checked,body.tt-band.tt-theme-dark .tt-content select option:hover,body.tt-band.tt-theme-dark select option:checked{background-color:#2f5fe0!important;color:#fff!important;-webkit-text-fill-color:#fff!important}

/* v1.39 selector con alto dinamico */
body.tt-band .tt-sf{position:relative;display:block;width:100%}
body.tt-band .tt-sf>select{position:absolute!important;inset:0;width:100%!important;height:100%!important;min-height:0!important;opacity:0!important;cursor:pointer;z-index:2}
body.tt-band .tt-sf-v{min-height:36px;padding:8px 30px 8px 10px;border:1px solid var(--tt-line);border-radius:9px;background:rgba(255,255,255,.08) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23eaf0ff' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center;color:var(--tt-text);font-size:12px;font-weight:600;line-height:1.3;white-space:normal;overflow-wrap:anywhere;display:flex;align-items:center}
body.tt-band .tt-sf-v.tt-sf-ph{color:var(--tt-muted);font-weight:400}
body.tt-band .tt-sf.tt-sf-f .tt-sf-v{box-shadow:0 0 0 2px rgba(47,95,224,.55);border-color:#2f5fe0}

/* v1.40 encabezados centrados en detalle */
body.tt-band.tt-proy .tt-content :is(.oc-entry-detail,table:has(#serviciosBody),table:has(#entregablesBody)) :is(th,th.tt-col-num,th.tt-col-key){text-align:center!important}
body.tt-band.tt-proy .tt-content :is(.oc-entry-detail,table:has(#serviciosBody),table:has(#entregablesBody)) :is(td.tt-col-num){text-align:center!important}

/* v1.41 OS: botones por fila, sin min-width */
body.tt-band .tt-content :is(#btnAddServicio,#btnAddEntregable){display:none!important}
body.tt-band .tt-content :is(table:has(#serviciosBody),table:has(#entregablesBody)){min-width:0!important}

/* v1.42 nombres de módulos en mayúsculas */
.ttui-group[data-mod="inicio"] .ttui-link__text,.tt-module__body h4,.tt-panel__head h3{text-transform:uppercase !important;letter-spacing:.03em}
.ttui-group[data-mod="inicio"] .ttui-link__text{font-size:12.5px;font-weight:700}
.tt-module__body h4{font-size:17px !important}

.ttui-group__toggle .ttui-group__left{text-transform:uppercase !important;letter-spacing:.03em}

/* v1.43 comercial: sin subtítulos en encabezados de tarjeta */
.cl-head .cl-muted,.ps-head .ps-muted,.cot-form-head .cot-muted,.cot-history-head .cot-muted{display:none !important}

/* v1.44 Gestión recursos humanos */
body.tt-band.tt-rrhh .tt-content :is(.emp-card,.emp-kpi,.mini-panel,.check-card,.lp-card,.lp-check,.rrhh-card,.rrhh-kpi,.rrhh-page-head,.nom-card,.nom-kpi,.ad-card,.ad-check,.ad-info,.lc-card,.lc-band,.band,.hl-card,.hl-kpi,.hl-icon,.asis-card,.exam-card,.exam-provider-box,.card,.card-soft){background:rgba(255,255,255,.07)!important;background-image:none!important;border:1px solid var(--tt-line)!important;color:var(--tt-text)!important;box-shadow:none!important}
body.tt-band.tt-rrhh .tt-content :is(.emp-card,.emp-kpi,.mini-panel,.check-card,.lp-card,.lp-check,.rrhh-card,.rrhh-kpi,.rrhh-page-head,.nom-card,.nom-kpi,.ad-card,.ad-check,.ad-info,.lc-card,.lc-band,.band,.hl-card,.hl-kpi,.hl-icon,.asis-card,.exam-card,.exam-provider-box,.card,.card-soft) :is(h1,h2,h3,h4,strong,b,label,th,td,a,div,span,p,li,legend):not([class*=badge]):not([class*=btn]):not([class*=chip]):not([class*=icon]):not([class*=status]):not([class*=pill]):not([class*=count]){color:inherit}
body.tt-band.tt-rrhh .tt-content :is(.emp-card,.emp-kpi,.mini-panel,.check-card,.lp-card,.lp-check,.rrhh-card,.rrhh-kpi,.rrhh-page-head,.nom-card,.nom-kpi,.ad-card,.ad-check,.ad-info,.lc-card,.lc-band,.band,.hl-card,.hl-kpi,.hl-icon,.asis-card,.exam-card,.exam-provider-box,.card,.card-soft) :is(small,.muted,.help,.hint,.lbl,[class*=subtitle],[class$="-sub"],[class*=desc],[class*=note],.text-muted){color:var(--tt-muted)!important}
body.tt-band.tt-rrhh .tt-content :is(.emp-kpi,.nom-kpi,.hl-kpi,.rrhh-kpi) :is(.value,.val,strong,b){color:var(--tt-text)!important}
body.tt-band.tt-rrhh .tt-content :is(input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea){background:rgba(255,255,255,.08)!important;border:1px solid var(--tt-line)!important;color:var(--tt-text)!important}
body.tt-band.tt-rrhh .tt-content :is(input,select,textarea):is(:disabled,[readonly]){background:rgba(255,255,255,.04)!important;color:var(--tt-muted)!important}
body.tt-band.tt-rrhh .tt-content :is(table,.table){--bs-table-bg:transparent;--bs-table-color:var(--tt-text);background:transparent!important;color:var(--tt-text)!important}
body.tt-band.tt-rrhh .tt-content :is(th,td){background:transparent!important;border-color:var(--tt-line)!important;color:var(--tt-text)!important}
body.tt-band.tt-rrhh .tt-content thead th{background:rgba(255,255,255,.06)!important;color:var(--tt-muted)!important;font-weight:700}
body.tt-band.tt-rrhh .tt-content tbody tr:hover td{background:rgba(255,255,255,.04)!important}
body.tt-band.tt-rrhh .tt-content :is(.rrhh-badge,.badge-emp,.badge-nom,.hl-pill){background:rgba(108,198,234,.18)!important;color:#bfe8fa!important;border:0!important}
body.tt-band.tt-rrhh .tt-content :is(.rrhh-badge-on,.rrhh-badge-yes,.badge-on,.badge-emp.badge-on){background:rgba(109,196,172,.22)!important;color:#a8ecd6!important}
body.tt-band.tt-rrhh .tt-content :is(.rrhh-badge-no,.badge-off){background:rgba(248,113,113,.2)!important;color:#fecaca!important}
body.tt-band.tt-rrhh .tt-content :is(.badge-pend){background:rgba(245,158,11,.2)!important;color:#fde68a!important}
body.tt-band.tt-rrhh .tt-content :is(.rrhh-badge-area,.hl-pill.ss){background:rgba(167,139,250,.22)!important;color:#d9ccff!important}
body.tt-band.tt-rrhh .tt-content .hl-icon{color:#bfe8fa!important}

body.tt-band.tt-rrhh .tt-content a[href*="periodo_id="]{background:rgba(255,255,255,.08)!important;border:1px solid var(--tt-line)!important;color:var(--tt-text)!important}
body.tt-band.tt-rrhh .tt-content a[href*="periodo_id="]:hover{border-color:var(--tt-primary)!important}
body.tt-band.tt-rrhh .tt-content :is([style*="background:#ecfdf5"],[style*="background:#f8fafc"],[style*="background:#f1f5f9"],[style*="background:#fff"],[style*="background: #fff"]){background:rgba(109,196,172,.14)!important;border:1px solid var(--tt-line)!important;color:var(--tt-text)!important}

/* v1.45 encabezado de sección: tamaño fijo */
body.tt-band .tt-content .tt-sh h2{font-size:26px!important;font-weight:800!important;margin:3px 0!important;color:#fff!important;line-height:1.15!important}
body.tt-band .tt-content .tt-sh p{font-size:14px!important;margin:0!important}

/* v1.46 vidrio automático (financiera y RRHH) */
body.tt-band.tt-rrhh .tt-content .tt-glass{background:rgba(255,255,255,.07)!important;background-image:none!important;border-color:var(--tt-line)!important;box-shadow:none!important;color:var(--tt-text)!important}
body.tt-band.tt-rrhh .tt-content .tt-lt{color:var(--tt-text)!important}
body.tt-band.tt-rrhh .tt-content .tt-mt{color:var(--tt-muted)!important}

/* v1.47 financiera: sin inversion de color del tema legacy */
body.tt-theme-dark.tt-rrhh :is(.cp-shell,.cp-wrap,.fc-shell,.fc-wrap,.mod-shell,.mod-wrap,.pe-shell,.pe-wrap,.gp-shell,.gp-wrap,.rm-shell,.rm-wrap,.bc-shell,.bc-wrap,.cm-shell,.cm-wrap,.fin-shell,.fin-wrap,.cc-shell,.cc-wrap,.rt-shell,.rt-wrap,.iva-shell,.iva-wrap,.act-shell,.act-wrap,.iv-shell,.iv-wrap,.ec-shell,.ec-wrap,.ip-shell,.ip-wrap){filter:none!important}
body.tt-theme-dark.tt-rrhh :is(.cp-shell,.cp-wrap,.fc-shell,.fc-wrap,.mod-shell,.mod-wrap,.pe-shell,.pe-wrap,.gp-shell,.gp-wrap,.rm-shell,.rm-wrap,.bc-shell,.bc-wrap,.cm-shell,.cm-wrap,.fin-shell,.fin-wrap,.cc-shell,.cc-wrap,.rt-shell,.rt-wrap,.iva-shell,.iva-wrap,.act-shell,.act-wrap,.iv-shell,.iv-wrap,.ec-shell,.ec-wrap,.ip-shell,.ip-wrap) :is(img,svg image,canvas){filter:none!important}

/* v1.48 fondos claros en linea (estilos inline) */
body.tt-theme-dark.tt-rrhh [style*="linear-gradient(180deg,#fff"]{background:rgba(255,255,255,.05)!important;border-bottom-color:rgba(255,255,255,.14)!important}
body.tt-theme-dark.tt-rrhh [style*="background:#eef4ff"]{background:rgba(120,163,255,.18)!important;color:#cfe0ff!important}
body.tt-theme-dark.tt-rrhh [style*="background:#ecfdf5"]{background:rgba(34,197,94,.16)!important}

/* v1.49 barra inferior de cotizaciones */
body.tt-theme-dark .cot-form-footer{background:rgba(255,255,255,.05)!important;border-top:1px solid rgba(255,255,255,.14)!important;color:#eaf0ff!important}
body.tt-theme-dark .cot-form-footer :is(a,button):not(.primary):not(.btn-primary){background:rgba(255,255,255,.08)!important;color:#eaf0ff!important;border:1px solid rgba(255,255,255,.2)!important}
