
:root{
 --sidebar-w:236px;--sidebar-collapsed:78px;--topbar-h:68px;--footer-h:38px;
 --nav:#1d3058;--nav2:#152344;--nav3:#080f1e;--gold:#be9f56;--gold2:#d4b870;--steel:#8a9eb6;
 --canvas:#f4f6fa;--surface:#fff;--surface2:#f0f3f8;--border:#dbe2ec;--text:#14213d;--muted:#66758f;
 --positive:#16765c;--negative:#b42318;--warning:#8a6818;--shadow:0 10px 28px rgba(18,38,72,.08)
}
[data-theme="dark"]{color-scheme:dark;--canvas:#0b1730;--surface:#172b4d;--surface2:#21395f;--border:rgba(138,158,182,.24);--text:#f7f9fc;--muted:#b8c5d8;--positive:#63c9a5;--negative:#ff8b8b;--warning:#f0d88a;--shadow:0 12px 30px rgba(0,0,0,.22)}
*{box-sizing:border-box}html,body{margin:0;height:100%;font-family:Manrope,Arial,sans-serif;background:var(--canvas);color:var(--text)}body{font-size:12px}.skip-link{position:fixed;left:12px;top:-60px;z-index:200;background:#fff;color:#10213f;padding:10px 14px;border-radius:8px}.skip-link:focus{top:10px}
#app{position:fixed;inset:0;overflow:hidden}.header{position:fixed;z-index:60;left:0;top:0;bottom:var(--footer-h);width:var(--sidebar-w);display:flex;flex-direction:column;padding:18px 14px 14px;background:linear-gradient(180deg,#0b1730 0%,#152344 48%,#101d38 100%);border-right:1px solid rgba(255,255,255,.09);box-shadow:14px 0 36px rgba(2,8,20,.22);transition:width .24s ease,transform .24s ease}.header-brand{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:2px 34px 16px 4px;border-bottom:1px solid rgba(255,255,255,.10)}.header-logo{min-height:42px;width:100%;display:flex;align-items:center;overflow:hidden}.logo-expanded{height:36px;max-width:168px;width:auto;object-fit:contain}.logo-compact{display:none;width:36px;height:36px;object-fit:contain}.header-title{font-size:11px;color:var(--gold2);letter-spacing:1.25px;text-transform:uppercase;font-weight:800}.icon-btn{display:grid;place-items:center;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:#fff}.sidebar-collapse{position:absolute;right:0;top:6px;width:30px;height:30px;border-radius:9px;cursor:pointer}.sidebar-collapse svg,.tab svg,.theme-toggle svg{width:18px;height:18px;stroke-width:1.8}.tabs{display:flex;flex:1;flex-direction:column;gap:5px;width:100%;overflow-y:auto;padding:18px 0 10px}.tab,.theme-toggle{width:100%;min-height:42px;padding:10px 11px;border:1px solid transparent;border-radius:11px;background:transparent;color:#d6dfed;font:inherit;font-size:11px;font-weight:700;display:flex;align-items:center;gap:10px;cursor:pointer;text-align:left}.tab:hover,.theme-toggle:hover{background:rgba(255,255,255,.06)}.tab.active{background:linear-gradient(90deg,rgba(190,159,86,.20),rgba(190,159,86,.08));border-color:rgba(212,184,112,.28);box-shadow:inset 3px 0 0 var(--gold);color:#fff}.sidebar-tools{border-top:1px solid rgba(255,255,255,.1);padding-top:9px}.theme-toggle{color:#d6dfed}
.app-contextbar{position:fixed;z-index:45;left:var(--sidebar-w);right:0;top:0;height:var(--topbar-h);display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 24px;background:var(--surface);border-bottom:1px solid var(--border);transition:left .24s ease}.context-eyebrow{font-size:8.5px;font-weight:800;text-transform:uppercase;letter-spacing:1.8px;color:#8a6818}.context-title{font-size:17px;font-weight:800;line-height:1.2;margin-top:2px}.context-subtitle{font-size:10.5px;color:var(--muted);margin-top:2px}.cobrand{display:flex;align-items:center;gap:12px;height:46px}.cobrand img:first-child{height:40px;width:auto;max-width:150px;object-fit:contain}.cobrand img:last-child{height:32px;width:auto;max-width:150px;object-fit:contain}.cobrand>span{height:30px;width:1px;background:var(--border)}
.content{background:var(--canvas);position:fixed;left:var(--sidebar-w);right:0;top:var(--topbar-h);bottom:var(--footer-h);padding:24px 26px 30px;overflow:auto;transition:left .24s ease}.panel{display:none;max-width:1280px;margin:0 auto}.panel.active{display:block}.section{background:var(--surface);border:1px solid var(--border);border-radius:18px;padding:22px 24px;box-shadow:var(--shadow);min-height:min(680px,calc(100vh - 154px))}.section-kicker,.eyebrow{font-size:9px;font-weight:800;letter-spacing:1.3px;text-transform:uppercase;color:#8a6818}.section h2{font-size:24px;margin:8px 0 18px;letter-spacing:-.5px}.section h3{color:var(--text)}.sub{color:var(--muted)}.minor{font-size:12px;margin:20px 0 10px}.section-inline{display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.btn{display:inline-flex;align-items:center;justify-content:center;padding:9px 12px;border-radius:9px;border:1px solid var(--nav);background:var(--nav);color:#fff;text-decoration:none;font-weight:800;font-size:10px}.btn.secondary{background:transparent;color:var(--text);border-color:var(--border)}.badge{display:inline-flex;padding:5px 8px;border-radius:999px;font-size:8px;font-weight:800}.badge.ok{background:rgba(22,118,92,.12);color:var(--positive)}.badge.warn{background:rgba(190,159,86,.15);color:var(--warning)}.badge.danger{background:rgba(180,35,24,.12);color:var(--negative)}.badge.neutral{background:var(--surface2);color:var(--muted)}
.hero{background:linear-gradient(135deg,var(--surface),var(--surface2))}.agenda-grid,.flow,.reportgrid,.audit-grid{display:grid;gap:12px}.agenda-grid{grid-template-columns:repeat(3,1fr)}.flow{grid-template-columns:repeat(4,1fr)}.reportgrid{grid-template-columns:repeat(3,1fr)}.agenda-item,.flow>div,.report,.audit-card{border:1px solid var(--border);background:var(--surface2);border-radius:13px;padding:16px}.agenda-item span,.flow span,.report span{color:#8a6818;font-size:9px;font-weight:800}.agenda-item h3,.flow h3,.report h3{margin:6px 0;font-size:13px}.agenda-item p,.flow p,.report p{color:var(--muted);font-size:10px;line-height:1.55}
.subtabs{display:flex;gap:4px;border-bottom:1px solid var(--border);margin:12px 0 22px}.subtab{border:0;background:transparent;padding:10px 14px;font:inherit;font-size:11px;font-weight:800;color:var(--muted);cursor:pointer;border-bottom:2px solid transparent}.subtab.active{color:var(--text);border-bottom-color:var(--gold)}.rrhh-view[hidden]{display:none}.process-timeline{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));position:relative;padding-top:8px}.process-timeline:before{content:"";position:absolute;top:25px;left:7%;right:7%;height:2px;background:linear-gradient(90deg,var(--gold),rgba(190,159,86,.25))}.process-step{position:relative;padding:0 8px;text-align:center}.step-dot{position:relative;z-index:1;display:grid;place-items:center;width:35px;height:35px;margin:0 auto 13px;border-radius:50%;background:var(--nav);color:#fff;border:4px solid var(--surface);box-shadow:0 0 0 2px var(--gold);font-size:10px;font-weight:900}.process-step strong{display:block}.process-step small{display:block;color:#8a6818;font-size:8px;font-weight:800;margin:4px 0 8px;text-transform:uppercase}.process-step p{font-size:9.5px;line-height:1.55;color:var(--muted);margin:0}
.tablewrap{width:100%;overflow:auto;border:1px solid var(--border);border-radius:11px}.salary-table{min-width:1050px;width:100%;border-collapse:collapse}.salary-table th{background:var(--surface2);color:var(--text);font-size:8px;text-transform:uppercase;letter-spacing:.04em;padding:10px 9px;text-align:left;border-bottom:1px solid var(--border)}.salary-table td{font-size:9px;padding:10px 9px;border-bottom:1px solid var(--border);color:var(--muted)}.salary-table td b{color:var(--text)}.money{white-space:nowrap;text-align:right;font-variant-numeric:tabular-nums}.eps-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:14px 0 20px}.kpi{border:1px solid var(--border);border-radius:13px;padding:14px;background:var(--surface2)}.kpi span{display:block;color:var(--muted);font-size:9px;font-weight:800;text-transform:uppercase}.kpi b{display:block;font-size:20px;margin-top:5px}.kpi small{color:var(--muted)}.eps-plans{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.eps-plans article{border:1px solid var(--border);border-top:3px solid var(--gold);border-radius:10px;padding:12px;background:var(--surface2)}.eps-plans span{display:flex;justify-content:space-between;gap:8px;border-top:1px solid var(--border);padding:6px 0;color:var(--muted);font-size:9px}
.audit-grid{grid-template-columns:1fr 1fr}.audit-card{display:flex;justify-content:space-between;gap:14px;align-items:center;text-align:left;color:var(--text);font:inherit}.audit-card h3{font-size:20px;margin:8px 0}.audit-card p{color:var(--muted);font-size:10px;line-height:1.55}.audit-toggle-card{cursor:pointer}.audit-expand{font-size:10px;font-weight:800;white-space:nowrap}.fy25-history{margin-top:14px;border:1px solid rgba(190,159,86,.45);background:var(--surface2);border-radius:12px;padding:14px}.audit-line{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}.audit-line article{padding:12px;border:1px solid var(--border);border-radius:10px;background:var(--surface)}.audit-line time{font-size:9px;font-weight:800;color:#8a6818}.audit-line p{font-size:9px;color:var(--muted);line-height:1.5}.audit-past{margin-top:20px;padding-top:18px;border-top:1px solid var(--border)}.audit-history-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}.audit-history-item{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:12px;border:1px solid var(--border);border-radius:10px;text-decoration:none;background:var(--surface2)}.audit-history-item b{display:block;color:var(--text)}.audit-history-item small{display:block;color:var(--muted);font-size:8px}.audit-history-item strong{color:#8a6818;font-size:9px}
.ada-current{display:grid;grid-template-columns:1fr 1.5fr 1fr;gap:10px;margin:18px 0}.ada-current article{background:var(--surface2);border:1px solid var(--border);border-radius:11px;padding:14px}.ada-current span{display:block;font-size:8px;font-weight:800;color:var(--muted);margin-bottom:5px}.ada-current b{font-size:11px}
.toolbar,.kpis{display:flex;gap:10px;flex-wrap:wrap}.field label{display:block;font-size:8px;color:var(--muted);font-weight:800;margin-bottom:4px}.field input{background:var(--surface2);color:var(--text);border:1px solid var(--border);border-radius:8px;padding:8px}.kpis{margin:14px 0}.kpis .kpi{flex:1;min-width:130px}.tablecard{margin-top:12px}.tablecard h3{font-size:12px}.tablecard table{width:100%;border-collapse:collapse;min-width:900px}.tablecard th,.tablecard td{padding:9px;border-bottom:1px solid var(--border);font-size:9px;text-align:left}.tablecard th{background:var(--surface2)}.num{text-align:right!important}.person{font-weight:800;color:var(--text);cursor:pointer}.bar{height:6px;background:var(--surface2);border-radius:999px;overflow:hidden}.bar i{display:block;height:100%;background:var(--gold)}.note{font-size:8px;color:var(--muted)}
.drawer{position:fixed;z-index:110;top:0;right:0;width:min(520px,94vw);height:100vh;background:var(--surface);color:var(--text);box-shadow:-18px 0 50px rgba(0,0,0,.22);padding:20px;overflow:auto;transform:translateX(105%);transition:transform .22s ease}.drawer.open{transform:none}.drawerhead{display:flex;justify-content:space-between;gap:12px}.close{border:0;background:var(--surface2);color:var(--text);width:36px;height:36px;border-radius:10px;font-size:22px}.rec{border:1px solid var(--border);border-radius:10px;padding:12px;margin:10px 0}.rec h4{margin:0 0 6px}.rec p{color:var(--muted);font-size:9px}.actions{display:flex;gap:8px;flex-wrap:wrap}
#footer{position:fixed;left:0;right:0;bottom:0;z-index:90;height:var(--footer-h);padding:0 20px;display:flex;align-items:center;justify-content:space-between;gap:14px;background:#080f1e;border-top:1px solid rgba(190,159,86,.42);color:#fff}.ft-corp{display:flex;align-items:center;gap:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:9px;padding-left:calc(var(--sidebar-w) + 12px)}.ft-corp a{color:#d6dfed}.ft-ver{font-size:9px;color:rgba(255,255,255,.65);white-space:nowrap}
#app.sidebar-collapsed .header{width:var(--sidebar-collapsed)}#app.sidebar-collapsed .app-contextbar,#app.sidebar-collapsed .content{left:var(--sidebar-collapsed)}#app.sidebar-collapsed .header-brand{padding-right:0;align-items:center}#app.sidebar-collapsed .logo-expanded,#app.sidebar-collapsed .header-title,#app.sidebar-collapsed .tab-label{display:none}#app.sidebar-collapsed .logo-compact{display:block}#app.sidebar-collapsed .sidebar-collapse{position:static;margin:4px auto 0}#app.sidebar-collapsed .tab,#app.sidebar-collapsed .theme-toggle{justify-content:center;padding:10px}#app.sidebar-collapsed~#footer .ft-corp{padding-left:calc(var(--sidebar-collapsed) + 12px)}
.mobile-topbar,.sidebar-scrim{display:none}
:focus-visible{outline:3px solid rgba(190,159,86,.55);outline-offset:2px}
@media(max-width:1100px) and (min-width:901px){.agenda-grid,.reportgrid{grid-template-columns:repeat(2,1fr)}.audit-line{grid-template-columns:repeat(3,1fr)}.process-timeline{grid-template-columns:repeat(3,1fr);gap:20px}.process-timeline:before{display:none}.audit-history-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){:root{--topbar-h:58px;--footer-h:34px}.mobile-topbar{position:fixed;z-index:62;left:0;right:0;top:0;height:var(--topbar-h);display:flex;align-items:center;justify-content:space-between;padding:8px 12px;background:#080f1e}.mobile-menu-btn{width:40px;height:40px;border-radius:10px}.mobile-brand{display:flex;align-items:center;gap:8px;background:#fff;border-radius:8px;padding:4px 8px;height:40px}.mobile-brand img{max-height:28px;max-width:105px}.mobile-brand span{width:1px;height:24px;background:#dbe2ec}.header{top:0;bottom:0;width:min(280px,86vw);transform:translateX(-102%)}#app.mobile-sidebar-open .header{transform:translateX(0)}.sidebar-scrim{position:fixed;z-index:59;inset:0;background:rgba(1,6,14,.62);display:block;opacity:0;pointer-events:none;transition:opacity .2s}#app.mobile-sidebar-open .sidebar-scrim{opacity:1;pointer-events:auto}.sidebar-collapse{display:none}.app-contextbar{left:0;top:var(--topbar-h);height:54px;padding:7px 14px}.cobrand{display:none}.context-title{font-size:14px}.context-subtitle{display:none}.content{left:0;top:calc(var(--topbar-h) + 54px);bottom:var(--footer-h);padding:15px 11px 20px}.section{min-height:auto;padding:17px 15px}.ft-corp{padding-left:0}.ft-corp span:not(:last-child),.ft-corp strong{display:none}.agenda-grid,.flow,.reportgrid,.audit-grid,.eps-kpis,.eps-plans,.ada-current{grid-template-columns:1fr 1fr}.audit-line{grid-template-columns:1fr 1fr}.process-timeline{grid-template-columns:1fr 1fr;gap:18px}.process-timeline:before{display:none}.audit-history-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.agenda-grid,.flow,.reportgrid,.audit-grid,.eps-kpis,.eps-plans,.ada-current,.audit-line,.process-timeline,.audit-history-grid{grid-template-columns:1fr}.section h2{font-size:20px}.section-inline{flex-direction:column}.subtabs{overflow:auto}.subtab{white-space:nowrap}.ft-corp{display:none}.ft-ver{margin-left:auto}.content{padding:11px 8px 16px}.section{border-radius:14px}.audit-card{align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

/* v1.09 — historial contractual Ada */
.contract-link{color:var(--text);text-decoration:none}.contract-link:hover{text-decoration:underline;text-decoration-color:var(--gold);text-underline-offset:3px}.current-contract td{background:rgba(190,159,86,.10)}.current-contract td:first-child{box-shadow:inset 3px 0 0 var(--gold)}

/* v1.10 — hotfix de render y logo local */
.content>section.panel{display:none!important}
.content>section.panel.active{display:block!important}
.content>#agenda.panel.active{display:block!important;background:linear-gradient(135deg,var(--surface),var(--surface2));color:var(--text);border:1px solid var(--border);border-radius:18px;padding:24px;box-shadow:var(--shadow);min-height:min(680px,calc(100vh - 154px))}
#agenda h1{color:var(--text);font-size:26px;line-height:1.2;margin:8px 0 10px}
#agenda>div>p{color:var(--muted);max-width:760px;line-height:1.6}
#agenda .agendaGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:22px}
#agenda .agendaGrid>div{display:flex;gap:10px;align-items:center;border:1px solid var(--border);background:var(--surface);border-radius:12px;padding:15px}
#agenda .agendaGrid b{color:#8a6818;font-size:10px}
#agenda .agendaGrid span{color:var(--text);font-size:10px;font-weight:800}
.header-logo .logo-expanded{display:block;object-fit:contain;object-position:left center}
@media(max-width:900px){#agenda .agendaGrid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){#agenda .agendaGrid{grid-template-columns:1fr}}

/* v1.12 — sidebar sin logotipo; identidad textual Agenda */
.header-brand{min-height:94px;padding-top:18px;align-content:start}
.header-title{margin-top:8px;font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:var(--gold);font-weight:800}
#app.sidebar-collapsed .header-title{display:none}

/* v1.13 — presentación RRHH en dos filas + novedad plataforma colaborador */
#rrhh .process-timeline{grid-template-columns:repeat(3,minmax(0,1fr));gap:26px 34px;padding:8px 18px 0}
#rrhh .process-timeline:before{display:none}
#rrhh .process-step{display:grid;grid-template-columns:48px 1fr;gap:14px;text-align:left;padding:14px 16px;border:1px solid var(--border);border-radius:14px;background:var(--surface2);min-height:152px}
#rrhh .step-dot{width:42px;height:42px;margin:0;align-self:start;font-size:13px;border-width:3px}
#rrhh .process-step strong{font-size:14px;line-height:1.3}
#rrhh .process-step small{font-size:9px;margin:5px 0 9px}
#rrhh .process-step p{font-size:11px;line-height:1.6}
.platform-callout{display:grid;grid-template-columns:44px minmax(0,1fr) auto;gap:14px;align-items:center;margin:0 0 24px;padding:15px 17px;border:1px solid rgba(190,159,86,.45);border-left:4px solid var(--gold);border-radius:13px;background:linear-gradient(90deg,rgba(190,159,86,.12),rgba(190,159,86,.035))}
.platform-callout-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:11px;background:var(--nav);color:#fff}.platform-callout-icon svg{width:21px;height:21px}
.platform-callout-kicker{display:block;color:#8a6818;font-size:8px;font-weight:800;letter-spacing:.1em;margin-bottom:3px}
.platform-callout-copy strong{font-size:13px}.platform-callout-copy p{margin:4px 0 0;color:var(--muted);font-size:10.5px;line-height:1.5}
.platform-callout-link{white-space:nowrap;text-decoration:none;background:var(--nav);color:#fff;border-radius:9px;padding:10px 12px;font-size:9px;font-weight:800}.platform-callout-link:hover{background:#27416f}
@media(max-width:1100px) and (min-width:901px){#rrhh .process-timeline{grid-template-columns:repeat(2,1fr)}}
@media(max-width:900px){#rrhh .process-timeline{grid-template-columns:1fr 1fr;padding:0}.platform-callout{grid-template-columns:40px 1fr}.platform-callout-link{grid-column:2;justify-self:start}}
@media(max-width:560px){#rrhh .process-timeline{grid-template-columns:1fr}#rrhh .process-step{grid-template-columns:42px 1fr}.platform-callout{grid-template-columns:1fr}.platform-callout-link{grid-column:1}}

/* v1.14 — tabla de sueldos autoajustada sin scroll horizontal en escritorio */
#rrhh [data-rrhh-view="sueldos"] .tablewrap{overflow-x:visible}
#rrhh [data-rrhh-view="sueldos"] .salary-table{width:100%;min-width:0;table-layout:fixed}
#rrhh [data-rrhh-view="sueldos"] .salary-table th,
#rrhh [data-rrhh-view="sueldos"] .salary-table td{white-space:normal;overflow-wrap:anywhere;word-break:normal;vertical-align:middle;padding:11px 9px;line-height:1.35}
#rrhh [data-rrhh-view="sueldos"] .salary-table th{font-size:8px}
#rrhh [data-rrhh-view="sueldos"] .salary-table td{font-size:9px}
#rrhh [data-rrhh-view="sueldos"] .salary-table th:nth-child(1){width:13%}
#rrhh [data-rrhh-view="sueldos"] .salary-table th:nth-child(2){width:27%}
#rrhh [data-rrhh-view="sueldos"] .salary-table th:nth-child(3){width:10%}
#rrhh [data-rrhh-view="sueldos"] .salary-table th:nth-child(4){width:22%}
#rrhh [data-rrhh-view="sueldos"] .salary-table th:nth-child(5){width:11%}
#rrhh [data-rrhh-view="sueldos"] .salary-table th:nth-child(6){width:9%}
#rrhh [data-rrhh-view="sueldos"] .salary-table th:nth-child(7){width:8%}
#rrhh [data-rrhh-view="sueldos"] .salary-table td:nth-child(2){font-weight:750;color:var(--text)}
#rrhh [data-rrhh-view="sueldos"] .salary-table td:nth-child(5),
#rrhh [data-rrhh-view="sueldos"] .salary-table td:nth-child(6),
#rrhh [data-rrhh-view="sueldos"] .salary-table td:nth-child(7){white-space:nowrap}
@media(max-width:900px){#rrhh [data-rrhh-view="sueldos"] .tablewrap{overflow-x:auto}#rrhh [data-rrhh-view="sueldos"] .salary-table{min-width:820px;table-layout:auto}#rrhh [data-rrhh-view="sueldos"] .salary-table th,#rrhh [data-rrhh-view="sueldos"] .salary-table td{overflow-wrap:normal}}

/* v1.15 — EPS: tarifa unitaria + esquema de aporte por persona */
.eps-summary-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:18px 0 20px}
.eps-summary-block .minor{margin:0 0 9px}
.eps-rate-card,.eps-contribution-card{height:100%;border:1px solid var(--border);border-top:3px solid var(--gold);border-radius:12px;background:var(--surface2);padding:14px 16px}
.eps-rate-card>span{display:block;font-size:10px;color:var(--muted);font-weight:700}
.eps-rate-card>b{display:block;font-size:20px;color:var(--text);margin:5px 0 7px}
.eps-rate-card small,.eps-contribution-card small{display:block;color:var(--muted);font-size:9px;line-height:1.45}
.eps-contribution-card>div{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:7px 0;border-bottom:1px solid var(--border)}
.eps-contribution-card>div:first-child{padding-top:0}.eps-contribution-card>div:nth-child(2){margin-bottom:7px}
.eps-contribution-card span{font-size:10px;color:var(--muted)}.eps-contribution-card b{font-size:13px;color:var(--text)}
@media(max-width:700px){.eps-summary-grid{grid-template-columns:1fr}}

/* v1.16 — resumen ejecutivo de auditorías */
.audit-fiscal-note{margin:7px 0 18px;padding:9px 12px;border-left:3px solid var(--gold);background:rgba(190,159,86,.08);border-radius:0 8px 8px 0;color:var(--muted);font-size:10px}
.audit-history-item{align-items:flex-start;min-height:78px}
.audit-history-item span{min-width:0}.audit-history-item small{display:block;margin-top:4px;white-space:normal;line-height:1.4;font-size:8.5px;color:var(--muted)}
.audit-history-item>strong{white-space:nowrap;align-self:center}

/* v1.17 — tarjetas ECA con descripción ejecutiva */
#eca .reportgrid{align-items:stretch}
#eca .report{min-height:190px}
#eca .report p{font-size:10.5px;line-height:1.55;max-width:34rem}
#eca .report .btn{margin-top:14px}

/* v1.18 — RRHH: tabla salarial compacta para exposición */
#rrhh [data-rrhh-view="sueldos"] .tablewrap{max-height:none;overflow-x:hidden}
#rrhh [data-rrhh-view="sueldos"] .salary-table{min-width:0;table-layout:fixed;width:100%}
#rrhh [data-rrhh-view="sueldos"] .salary-table th{padding:8px 8px;font-size:8px;line-height:1.2}
#rrhh [data-rrhh-view="sueldos"] .salary-table td{padding:8px 8px;font-size:8.5px;line-height:1.3;height:auto;vertical-align:middle}
#rrhh [data-rrhh-view="sueldos"] .salary-table th:nth-child(1){width:12%}
#rrhh [data-rrhh-view="sueldos"] .salary-table th:nth-child(2){width:27%}
#rrhh [data-rrhh-view="sueldos"] .salary-table th:nth-child(3){width:10%}
#rrhh [data-rrhh-view="sueldos"] .salary-table th:nth-child(4){width:22%}
#rrhh [data-rrhh-view="sueldos"] .salary-table th:nth-child(5){width:12%}
#rrhh [data-rrhh-view="sueldos"] .salary-table th:nth-child(6){width:9%}
#rrhh [data-rrhh-view="sueldos"] .salary-table th:nth-child(7){width:8%}
#rrhh [data-rrhh-view="sueldos"] .salary-table td:nth-child(2),
#rrhh [data-rrhh-view="sueldos"] .salary-table td:nth-child(4){white-space:normal;overflow-wrap:anywhere}
@media (min-width:900px){
 #rrhh [data-rrhh-view="sueldos"] .salary-table td{padding-top:7px;padding-bottom:7px}
}

/* v1.19 — escala tipográfica global optimizada para exposición */
:root{--presentation-body:12px;--presentation-small:10.5px}
.content{font-size:var(--presentation-body)}
.panel h2{font-size:25px;line-height:1.2}
.panel h3{font-size:15px;line-height:1.3}
.sub,.panel p{font-size:12px;line-height:1.55}
.eyebrow,.section-kicker,.minor{font-size:10px}
.tab{font-size:12px}
.rrhh-subtab{font-size:11.5px}
.report h3{font-size:15px}.report p{font-size:12px!important;line-height:1.5}
.audit-card p{font-size:12px}.audit-history-item small{font-size:10.5px!important;line-height:1.45}.audit-history-item b{font-size:12px}.audit-history-item strong{font-size:10.5px}
.audit-fiscal-note{font-size:11.5px}
#rrhh .process-step strong{font-size:15px}#rrhh .process-step small{font-size:10px}#rrhh .process-step p{font-size:12px}
.platform-callout-kicker{font-size:9.5px}.platform-callout-copy strong{font-size:14px}.platform-callout-copy p{font-size:11.5px}.platform-callout-link{font-size:10.5px}
.salary-table th,#rrhh [data-rrhh-view="sueldos"] .salary-table th{font-size:9.5px}
.salary-table td,#rrhh [data-rrhh-view="sueldos"] .salary-table td{font-size:10.5px}
.eps-rate-card>span,.eps-contribution-card span{font-size:11px}.eps-rate-card small,.eps-contribution-card small{font-size:10.5px}
.eps-people th{font-size:9.5px}.eps-people td{font-size:10.5px}
.kpi span{font-size:10px}.kpi small{font-size:10.5px}
.tablewrap table th{font-size:9.5px}.tablewrap table td{font-size:10.5px}
.ada-current span{font-size:9.5px}.ada-current b{font-size:12px}
.btn{font-size:11px}
@media(min-width:1200px){
 .panel{padding:26px 28px}
 .content{padding:24px 26px}
}
@media(max-width:900px){
 .panel h2{font-size:22px}
 .sub,.panel p{font-size:11.5px}
}

/* v1.20 — ancho de contenido consistente y densidad de presentación */
.content{max-width:1180px;width:calc(100% - 48px);margin-left:auto;margin-right:auto}
.content>section.panel{width:100%;box-sizing:border-box}
#rrhh [data-rrhh-view="sueldos"] .salary-table th{padding:7px 8px}
#rrhh [data-rrhh-view="sueldos"] .salary-table td{padding:6px 8px;line-height:1.25}
#rrhh [data-rrhh-view="sueldos"] .salary-table tbody tr{height:48px}
@media(max-width:900px){.content{width:calc(100% - 28px);max-width:none}}
@media(max-width:560px){.content{width:calc(100% - 20px)}}

/* v1.21 — geometría única de presentación en todas las pestañas */
:root{--presentation-max:1080px}
main.content{width:auto!important;max-width:none!important;margin:0!important;padding:24px clamp(20px,2.2vw,32px)!important}
main.content>section.panel{width:min(100%,var(--presentation-max))!important;max-width:var(--presentation-max)!important;margin:0 auto!important;box-sizing:border-box!important}
main.content>section.panel.module-card{min-height:calc(100vh - 168px)}
#rrhh .rrhh-view,#rrhh .tablewrap,#rrhh .salary-table,
#auditoria .audit-top,#auditoria .audit-history-grid,
#eca .reportgrid,#vacaciones .tablecard,#ada .tablewrap{max-width:100%;width:100%;box-sizing:border-box}
#rrhh [data-rrhh-view="sueldos"] .salary-table{width:100%!important}
#rrhh [data-rrhh-view="sueldos"] .salary-table tbody tr{height:auto!important;min-height:44px}
#rrhh [data-rrhh-view="sueldos"] .salary-table td{padding-top:9px!important;padding-bottom:9px!important}
@media(max-width:900px){
 main.content{padding:16px 14px!important}
 main.content>section.panel{width:100%!important;max-width:100%!important}
}

/* v1.22 — vacaciones: corte histórico 2023 regularizado */
.vac-baseline-note{display:flex;align-items:center;gap:10px;margin:12px 0 14px;padding:11px 13px;border:1px solid rgba(22,118,92,.22);background:rgba(22,118,92,.07);border-radius:10px}
.vac-baseline-note svg{width:20px;height:20px;color:var(--positive);flex:0 0 auto}
.vac-baseline-note b{display:block;font-size:11px;color:var(--text)}
.vac-baseline-note span{display:block;margin-top:2px;font-size:10.5px;color:var(--muted)}
.fixed-date{white-space:nowrap;font-variant-numeric:tabular-nums;color:var(--text)!important}
.vac-regularized{white-space:nowrap}
#vacaciones .tablecard table{min-width:0}

/* v1.23 — Ada: contexto del acuerdo y comparativo anual */
.ada-context{margin:16px 0 14px;padding:14px 16px;border-left:4px solid var(--gold);border-radius:0 12px 12px 0;background:rgba(190,159,86,.08)}
.ada-context p{margin:6px 0 0;font-size:11.5px;line-height:1.55;color:var(--muted)}
.ada-cost-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 18px}
.ada-cost-card{border:1px solid var(--border);border-radius:12px;background:var(--surface2);padding:14px 15px}
.ada-cost-card>span{display:block;font-size:9px;font-weight:800;letter-spacing:.05em;color:var(--muted)}
.ada-cost-card>strong{display:block;margin:5px 0 7px;font-size:21px;color:var(--text)}
.ada-cost-card>small{display:block;font-size:10px;line-height:1.45;color:var(--muted)}
.ada-cost-card.current{border-top:3px solid var(--gold)}
.ada-cost-card.scenario{border-top:3px solid var(--nav)}
.ada-cost-card.saving{border-top:3px solid var(--positive)}
.ada-cost-card.saving strong{color:var(--positive)}
@media(max-width:900px){.ada-cost-grid{grid-template-columns:1fr}}

/* v1.24 — planilla RRHH con ancho fijo, equivalente a detalle EPS */
#rrhh [data-rrhh-view="sueldos"] .tablewrap{
  width:100%;
  max-width:100%;
  overflow-x:hidden!important;
}
#rrhh [data-rrhh-view="sueldos"] .payroll-table{
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  table-layout:fixed!important;
  border-collapse:collapse;
}
#rrhh [data-rrhh-view="sueldos"] .payroll-table th,
#rrhh [data-rrhh-view="sueldos"] .payroll-table td{
  box-sizing:border-box;
  padding:7px 7px!important;
  font-size:10px!important;
  line-height:1.25!important;
  vertical-align:middle;
}
#rrhh [data-rrhh-view="sueldos"] .payroll-table tbody tr{
  height:44px!important;
  min-height:44px!important;
}
#rrhh [data-rrhh-view="sueldos"] .payroll-table th,
#rrhh [data-rrhh-view="sueldos"] .payroll-table td{
  white-space:normal!important;
  overflow-wrap:anywhere;
}
#rrhh [data-rrhh-view="sueldos"] .payroll-table td:nth-child(5),
#rrhh [data-rrhh-view="sueldos"] .payroll-table td:nth-child(6),
#rrhh [data-rrhh-view="sueldos"] .payroll-table td:nth-child(7),
#rrhh [data-rrhh-view="sueldos"] .payroll-table td:nth-child(8){
  white-space:nowrap!important;
}
#rrhh [data-rrhh-view="sueldos"] .payroll-table td:nth-child(9){
  text-align:center;
}
@media(max-width:900px){
  #rrhh [data-rrhh-view="sueldos"] .tablewrap{overflow-x:auto!important}
  #rrhh [data-rrhh-view="sueldos"] .payroll-table{min-width:860px!important;table-layout:fixed!important}
}
