:root{--ux-navy:#13213d;--ux-blue:#175dcc;--ux-orange:#ed8500;--ux-bg:#f5f7fa;--ux-border:#dfe4ec;--ux-muted:#667085;--ux-green:#168a46}
html,body,button,input,select,textarea{font-family:"Plus Jakarta Sans",system-ui,sans-serif!important}
:where(h1,h2,h3,h4,h5,h6,p,span,small,b,strong,a,label,dt,dd,th,td){font-family:"Plus Jakarta Sans",system-ui,sans-serif}
body{background:var(--ux-bg);color:var(--ux-navy)}
.shell-main{width:100%;min-width:0}.dash,.consult-view{width:100%;max-width:none!important;margin:0!important;padding-inline:clamp(22px,3vw,54px)!important}.welcome-banner{padding:28px 34px;margin-bottom:22px}.welcome-text h1{font-size:clamp(26px,2.3vw,36px)}
.workspace-context{margin-bottom:22px;padding:20px 22px;border:1px solid var(--ux-border);border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(20,35,65,.055)}.workspace-context>header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:14px}.workspace-context h2{margin:3px 0 2px;font:700 19px Poppins,sans-serif}.workspace-context header span{color:var(--ux-muted);font-size:12px}.workspace-context header .section-label{margin:0;color:var(--ux-blue)}.workspace-context header button{height:36px;padding:0 13px;border:1px solid var(--ux-border);border-radius:9px;background:#fff;color:var(--ux-navy);font-weight:700;cursor:pointer}.workspace-company-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(235px,1fr));gap:10px}.workspace-company{position:relative;display:grid;grid-template-columns:38px minmax(0,1fr) 18px;align-items:center;gap:10px;min-height:66px;padding:11px 13px;border:1px solid var(--ux-border);border-radius:12px;background:#fff;text-align:left;color:var(--ux-navy);cursor:pointer;transition:.18s}.workspace-company:hover{border-color:#9ab6e7;background:#f8fbff}.workspace-company.active{border-color:var(--ux-blue);background:#eff5ff;box-shadow:0 0 0 2px rgba(23,93,204,.1)}.workspace-company>span:first-child{display:grid;width:36px;height:36px;place-items:center;border-radius:10px;background:#eef2f8;color:#61708a;font-weight:800}.workspace-company.active>span:first-child{background:var(--ux-blue);color:#fff}.workspace-company div{display:grid;min-width:0;gap:2px}.workspace-company b,.workspace-company small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.workspace-company b{font-size:12px}.workspace-company small{color:var(--ux-muted);font-size:10px}.workspace-company>i{font-style:normal;color:var(--ux-blue);font-weight:800}.workspace-company-empty{color:var(--ux-muted);font-size:12px}
.global-taxpayer{position:relative;min-width:230px;max-width:310px}.global-taxpayer button{width:100%;height:38px;display:flex;align-items:center;gap:9px;padding:0 12px;border:1px solid rgba(23,93,204,.16);border-radius:19px;background:rgba(255,255,255,.72);color:var(--ux-navy);cursor:pointer}.global-taxpayer button>span{width:8px;height:8px;border-radius:50%;background:var(--ux-green);box-shadow:0 0 0 3px rgba(22,138,70,.12)}.global-taxpayer button div{display:grid;min-width:0;text-align:left}.global-taxpayer button b,.global-taxpayer button small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.global-taxpayer button b{font-size:9.5px}.global-taxpayer button small{font-size:8px;color:var(--ux-muted)}.global-taxpayer-menu{position:absolute;right:0;top:44px;width:300px;padding:8px;border:1px solid var(--ux-border);border-radius:14px;background:#fff;box-shadow:0 18px 48px rgba(20,35,65,.17)}.global-taxpayer-menu button{height:auto;min-height:48px;border:0;border-radius:9px;background:#fff}.global-taxpayer-menu button:hover,.global-taxpayer-menu button.active{background:#eff5ff}.global-taxpayer-menu button>span{flex:none}.global-taxpayer-menu button:last-child{justify-content:center;min-height:38px;border-top:1px solid var(--ux-border);border-radius:0;color:var(--ux-blue);font-weight:700}
.consult-shell{display:block!important;border:1px solid var(--ux-border);border-radius:18px;box-shadow:0 10px 30px rgba(20,35,65,.06)!important}.consult-info{display:none!important}.consult-card{padding:clamp(22px,2.4vw,38px)!important;border-radius:18px}.card-heading{margin-bottom:20px;padding-bottom:18px;border-bottom:1px solid var(--ux-border)}.card-heading h2{font-size:clamp(21px,2vw,28px)}.back-link{margin-bottom:13px}.extra-fields{width:100%}.extra-fields>.csf-settings{grid-template-columns:minmax(210px,1fr) minmax(200px,.65fr)}.extra-fields>.csf-settings>label:first-child{display:none!important}.taxpayer-identity{margin-top:0!important}.privacy{margin-top:16px}.primary{max-width:340px;margin-left:auto}.dash-search{max-width:none;margin-bottom:24px}.dash-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:12px}.action-card{min-height:138px;padding:18px;border-radius:13px;box-shadow:none}.dash-section-head--soon{margin-top:30px}.module-menu{display:none!important}.module-help{margin-top:24px}.module-identity{border-bottom:0!important}.csf-settings{gap:12px}.csf-dashboard,.opinion-status-card,.opinion-kpis,.opinion-activity{max-width:none!important}
@media(max-width:900px){.welcome-stats{display:none}.workspace-context>header{align-items:flex-start}.workspace-company-list{grid-template-columns:1fr 1fr}.global-taxpayer{min-width:170px}.liquid-nav-scroll{max-width:42vw}.extra-fields>.csf-settings{grid-template-columns:1fr}.csf-validity{grid-template-columns:44px 1fr!important}}
@media(max-width:620px){.workspace-context>header{display:grid}.workspace-company-list{grid-template-columns:1fr}.global-taxpayer{min-width:0;max-width:130px}.global-taxpayer button{padding:0 9px}.global-taxpayer button small{display:none}.liquid-nav-scroll{display:none}.welcome-banner{padding:24px}.dash,.consult-view{padding-inline:12px!important}.consult-card{padding:18px!important}.primary{max-width:none}.workspace-context{padding:16px}}
.taxpayer-identity{display:none!important}

/* Layout fluido: los componentes responden a su contenedor, no solo al viewport. */
.shell-main{box-sizing:border-box;overflow:hidden}.shell.sidebar-open .shell-main{width:calc(100% - 282px)}
.dash,.consult-view,.consult-card,.extra-fields,.csf-dashboard,.opinion-status-card,.opinion-kpis,.opinion-activity,.xml-repository,.declaration-summary{min-width:0;box-sizing:border-box}
.consult-card{container-type:inline-size}.extra-fields{display:block!important}
.dash-grid,.dash-grid--soon{grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))!important}
.workspace-company-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr))}
.csf-summary-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,390px),1fr))!important}
.opinion-kpis{grid-template-columns:repeat(auto-fit,minmax(min(100%,170px),1fr))!important}
.xml-summary{grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr))!important}
.declaration-months{grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr))!important}
.fiscal-visual-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,310px),1fr))!important}
.certificate-steps{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))!important}
.csf-settings,.extra-fields:has(.csf-settings) .csf-settings{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))!important}
.fiscal-filters,.fiscal-filters--xml{grid-template-columns:repeat(auto-fit,minmax(min(100%,145px),1fr))!important}
.draft-fields{grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))!important}
.sat-config{grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))!important}
.csf-billing-card,.csf-status-card,.action-card,.workspace-company,.xml-summary article,.declaration-month{min-width:0}
.csf-copy-row b,.workspace-company b,.action-card b,.card-heading h2{overflow-wrap:anywhere}
.xml-toolbar,.declaration-summary-head,.draft-launch,.certificate-package{flex-wrap:wrap}
.xml-tools{flex-wrap:wrap}.xml-table-wrap,.csf-table-scroll,.opinion-activity>div{max-width:100%;overflow:auto}

@container (max-width:760px){
  .csf-validity{grid-template-columns:46px minmax(0,1fr)!important}.csf-validity-track,.csf-validity>button{grid-column:1/-1!important;grid-row:auto!important}.csf-validity>button{width:100%}
  .opinion-status-card{grid-template-columns:90px minmax(0,1fr)!important}.opinion-card-actions{grid-column:1/-1!important;display:flex!important;flex-direction:row!important}.opinion-card-actions>*{flex:1}
  .sat-workspace{grid-template-columns:145px minmax(0,1fr)!important}
}
@container (max-width:520px){
  .card-heading{align-items:flex-start;flex-direction:column}.card-heading .pill{align-self:flex-start}
  .csf-validity{display:grid!important}.csf-validity-track>div:first-child{align-items:flex-start;flex-direction:column;gap:3px}
  .csf-copy-row{align-items:flex-start;gap:10px}.csf-copy-row button{flex:none}
  .opinion-status-card{grid-template-columns:1fr!important;text-align:left}.opinion-shield{justify-self:start}.opinion-taxpayer dl{grid-template-columns:1fr!important}
  .sat-workspace{display:block!important}.sat-obligations{display:flex;max-width:100%;overflow:auto;border-right:0!important}.sat-obligations button{width:auto!important;white-space:nowrap}
  .draft-launch{align-items:stretch;flex-direction:column}.draft-launch button{width:100%}
}

@media(max-width:1100px){.shell.sidebar-open .shell-main{width:100%}}
@media(max-width:780px){.welcome-banner{align-items:flex-start;flex-direction:column}.workspace-context>header,.dash-section-head{align-items:flex-start;flex-direction:column}.workspace-context header button{width:100%}.csf-history-table{padding-inline:12px}.global-taxpayer-menu{position:fixed;top:68px;right:10px;left:10px;width:auto}}
@media(max-width:480px){.dash-grid,.dash-grid--soon{grid-template-columns:1fr!important}.xml-summary,.declaration-months{grid-template-columns:1fr!important}.consult-card{border-radius:14px}.csf-copy-row{padding-inline:14px}.csf-status-card footer{padding-inline:14px}}

/* Legibilidad y escala tipográfica */
body{font-size:15px;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}.nav-item{font-size:12px}.action-card b{font-size:15px}.action-card small,.card-heading p,.workspace-context header span{font-size:13px}.card-heading h2{font-weight:750}.section-label,label{font-size:11px}.csf-copy-row small,.csf-validity small,.csf-history-table th,.opinion-activity th{font-size:10.5px!important}.csf-copy-row b,.csf-history-table td,.opinion-activity td{font-size:13px}.fiscal-filters label,.csf-settings label{font-size:10.5px}input,select{font-size:14px}.privacy{display:none!important}
.xml-table-wrap table{font-size:11px}.xml-table-wrap th{font-size:9.5px}.xml-toolbar b,.declaration-summary-head b,.stored-drafts-head b{font-size:12px}.xml-toolbar span,.declaration-summary-head span,.stored-drafts-head span{font-size:10px}.stored-drafts-list b{font-size:11px}.stored-drafts-list small{font-size:9.5px}.fiscal-info-result dt,.fiscal-readable-fields span{font-size:9px}.fiscal-info-result dd,.fiscal-readable-fields b{font-size:11px}#declarationsHistory{display:none!important}
.dashboard-security-note{display:flex;align-items:flex-start;gap:10px;margin:28px 0 0;padding:14px 16px;border-top:1px solid var(--ux-border);color:var(--ux-muted)}.dashboard-security-note>span{color:var(--ux-blue);font-size:10px;margin-top:4px}.dashboard-security-note p{margin:0;font-size:12px;line-height:1.55}.dashboard-security-note b{color:var(--ux-navy)}

/* Declaraciones: presentadas y calendario */
.declarations-overview{margin-top:24px}.declarations-overview>header{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px}.declarations-overview>header>div:first-child{display:grid;gap:3px}.declarations-overview>header b{font-size:15px}.declarations-overview>header span{color:var(--ux-muted);font-size:12px}.declaration-tabs{display:flex;padding:3px;border:1px solid var(--ux-border);border-radius:10px;background:#f0f2f5}.declaration-tabs button{height:32px;padding:0 13px;border:0;border-radius:8px;background:transparent;color:var(--ux-muted);font-size:11px;font-weight:750;cursor:pointer}.declaration-tabs button.active{background:#fff;color:var(--ux-blue);box-shadow:0 2px 8px rgba(20,35,65,.09)}.declaration-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px}.declaration-kpis article{display:grid;gap:4px;padding:16px 18px;border:1px solid var(--ux-border);border-radius:13px;background:#fff}.declaration-kpis small{color:var(--ux-muted);font-size:10px;font-weight:750;letter-spacing:.06em}.declaration-kpis b{color:#179447;font-size:25px}.declaration-kpis .attention b{color:#e65f00}.declaration-kpis span{font-size:11px}.declaration-tab-panel{padding:18px;border:1px solid var(--ux-border);border-radius:15px;background:#fff;box-shadow:0 8px 24px rgba(20,35,65,.05)}.declaration-calendar-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:14px}.declaration-calendar-head b{font-size:14px}.declaration-calendar-head a{padding:8px 11px;border-radius:8px;background:var(--ux-blue);color:#fff;font-size:10px;font-weight:750;text-decoration:none}.declaration-calendar{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.declaration-period{display:flex;min-width:0;min-height:58px;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border:1px solid var(--ux-border);border-radius:10px;background:#fafbfc}.declaration-period>div{display:grid;gap:3px}.declaration-period b{font-size:12px;text-transform:capitalize}.declaration-period small{font-size:10px;color:var(--ux-muted)}.declaration-period>span{font-size:14px;font-weight:800;color:#9aa3b2}.declaration-period.presented{border-color:#3bb56a;background:#f0fbf4}.declaration-period.presented small{color:#168a46}.declaration-period.missing{border-color:#efb6b6;background:#fff7f7}.declaration-period.missing small,.declaration-period.missing>span{color:#d52c35}.declaration-period.current{border-color:#f1bd66;background:#fff9ef}.declaration-period.current small,.declaration-period.current>span{color:#d87500}.declaration-period.future{opacity:.68}.declaration-calendar+.declaration-card-actions{flex:none}.declaration-tab-panel>footer{display:flex;align-items:center;gap:6px;margin-top:13px;color:var(--ux-muted);font-size:10px}.declaration-tab-panel>footer span{width:8px;height:8px;margin-left:8px;border-radius:3px}.declaration-tab-panel>footer span:first-child{margin-left:0}.declaration-tab-panel>footer .presented{background:#24a655}.declaration-tab-panel>footer .missing{background:#df3942}.declaration-tab-panel>footer .current{background:#e79720}.declaration-table-wrap{max-width:100%;overflow:auto}.declaration-table-wrap table{width:100%;min-width:720px;border-collapse:collapse}.declaration-table-wrap th,.declaration-table-wrap td{padding:12px 13px;border-bottom:1px solid var(--ux-border);text-align:left}.declaration-table-wrap th{color:var(--ux-muted);font-size:10px;letter-spacing:.06em;text-transform:uppercase}.declaration-table-wrap td{font-size:12px}
@media(max-width:900px){.declaration-calendar{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:650px){.declarations-overview>header{align-items:stretch;flex-direction:column}.declaration-tabs button{flex:1}.declaration-kpis{grid-template-columns:1fr}.declaration-calendar{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:390px){.declaration-calendar{grid-template-columns:1fr}}
.payment-state{display:inline-block;width:max-content;margin-top:3px;padding:3px 7px;border-radius:12px;font-size:8.5px;font-style:normal;font-weight:750}.payment-state.paid,.payment-state.zero{background:#ddf5e5;color:#167542}.payment-state.pending{background:#fff0d8;color:#a65b00}.payment-state.unknown{background:#edf0f4;color:#687386}.declaration-table-wrap td>small{display:block;margin-top:3px;color:var(--ux-muted);font-size:9px}.declaration-card-actions svg{width:14px;height:14px}

/* Marca, navegación e iconografía */
.liquid-logo{width:30px;height:30px;flex:none;object-fit:contain;margin-right:2px}.nav-icon svg,.action-icon svg,.settings-icon svg{width:19px;height:19px;stroke-width:1.8}.action-icon svg{width:22px;height:22px}.sidebar,.sidebar *{font-family:"Plus Jakarta Sans",system-ui,sans-serif}.sidebar .nav-item,.sidebar .nav-label,.sidebar .nav-group-label,.sidebar .module-back,.sidebar .module-identity h2,.sidebar .module-identity p,.sidebar .module-identity small,.sidebar .module-menu-label,.sidebar .module-menu-item,.sidebar .module-menu-item b,.sidebar .module-menu-item small,.sidebar .module-help b,.sidebar .module-help small,.sidebar .account-pill{color:#354052!important}.sidebar .nav-group-label,.sidebar .module-identity p,.sidebar .module-menu-label{color:#8791a2!important}.sidebar .nav-item.active{color:var(--ux-blue)!important}.sidebar .nav-item.active .nav-label{color:var(--ux-blue)!important}.module-back{border-color:#dfe4ec!important;background:#f8fafc!important}.module-identity{border-color:#e5e9ef!important}.module-identity-icon{border-color:#dbe3ef!important;background:#edf4ff!important;color:var(--ux-blue)!important}.module-help{border-color:#dfe4ec!important;background:#f8fafc!important}.institution-badge{position:absolute;right:14px;bottom:13px;padding:3px 7px;border-radius:6px;background:#edf4ff;color:#1658bd;font-size:8px;font-style:normal;font-weight:800;letter-spacing:.07em}.institution-badge.imss{background:#e9f7ef;color:#167245}.institution-badge.infonavit{right:58px;background:#fff0eb;color:#b74922}.action-card .institution-badge+.institution-badge{margin-right:0}
.sidebar-nav{gap:1px!important;padding:4px 4px 78px!important;scrollbar-width:thin}.sidebar-search{display:flex;align-items:center;gap:8px;height:42px;margin:0 4px 8px;padding:0 8px;border:1px solid #dfe6f1;border-radius:13px;background:rgba(248,250,253,.92);box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}.sidebar-search .nav-icon{width:26px!important;height:26px!important}.sidebar-search input{min-width:0;flex:1;height:100%;padding:0;border:0;background:transparent;color:#22304a;font-size:11.5px!important;font-weight:700;outline:0}.sidebar-search input::placeholder{color:#929cac}.sidebar-search kbd{height:22px;display:grid;place-items:center;padding:0 6px;border:1px solid #d8e0eb;border-radius:7px;background:#fff;color:#667085;font-size:9px;font-weight:850}.shell.sidebar-open #dashboardView>.dashboard-commandbar{display:none!important}.sidebar-nav-group{display:flex;flex-direction:column;gap:1px;margin-bottom:2px}.sidebar-nav-group--account{margin-top:10px;padding-top:10px;border-top:1px solid #e7edf5}.sidebar .nav-group-label{margin:13px 10px 5px!important;font-size:8px!important;font-weight:850!important;letter-spacing:.16em!important;line-height:1!important;color:#9aa4b5!important}.sidebar .nav-group-label:first-of-type{margin-top:5px!important}.sidebar-nav-group.is-collapsed .nav-item:nth-of-type(n+4){display:none!important}.sidebar-nav-group--account .nav-item:nth-of-type(n+4){display:flex!important}.sidebar-more{height:28px;margin:3px 5px 2px;padding:0 9px;display:flex;align-items:center;justify-content:space-between;border:0;border-radius:9px;background:#f1f5fb;color:#5c6a7e;font-size:10px;font-weight:850;cursor:pointer}.sidebar-more svg{width:13px;height:13px}.sidebar .nav-item{min-height:34px!important;padding:6px 10px!important;border-radius:9px!important;gap:9px!important;font-size:11px!important;line-height:1.15!important}.sidebar .nav-icon{width:24px!important;height:24px!important;display:grid;place-items:center;flex:none;border-radius:8px;background:rgba(11,93,204,.07);color:#0b5dcc!important;font-size:13px!important}.sidebar .nav-item[aria-current="page"] .nav-icon,.sidebar .nav-item.active .nav-icon{background:#fff7e8;color:#e38b00!important}.sidebar .nav-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-commandbar{height:54px!important;margin:0 0 18px!important;padding:0 10px 0 16px!important;border:1px solid rgba(189,201,220,.82)!important;border-radius:18px!important;background:linear-gradient(135deg,rgba(255,255,255,.96),rgba(248,250,253,.91))!important;box-shadow:0 14px 36px rgba(20,35,65,.08),inset 0 1px 0 rgba(255,255,255,.92)!important}.dashboard-commandbar .nav-icon{width:31px;height:31px;display:grid;place-items:center;border-radius:11px;background:#edf4ff;color:var(--ux-blue)}.dashboard-commandbar input{min-width:0;font-size:14px!important;font-weight:650;color:var(--ux-navy)}.dashboard-commandbar input::placeholder{color:#8a94a6}.dash-search-shortcuts{display:flex;align-items:center;gap:4px;margin-left:auto;white-space:nowrap;color:#8b95a6;font-size:10px}.dash-search-shortcuts kbd{min-width:24px;height:24px;display:inline-grid;place-items:center;padding:0 7px;border:1px solid #d9e0eb;border-bottom-color:#c6cfdd;border-radius:7px;background:#fff;color:#536074;font:800 10px/1 "Plus Jakarta Sans",system-ui,sans-serif;box-shadow:0 1px 0 rgba(16,31,57,.08)}.dash-search-shortcuts em{font-style:normal;color:#b0b8c5}.shell.module-mode{grid-template-columns:minmax(0,1fr)!important}.shell.module-mode .sidebar{display:none!important}.shell.module-mode .shell-main{width:100%!important}.shell.module-mode .liquid-menu-toggle{display:none!important}
html[data-theme="dark"] .dashboard-commandbar{background:linear-gradient(135deg,rgba(26,34,48,.96),rgba(21,28,39,.92))!important;border-color:#354157!important;box-shadow:0 14px 36px rgba(0,0,0,.22)!important}html[data-theme="dark"] .dashboard-commandbar .nav-icon{background:#233858;color:#8bb3ff!important}html[data-theme="dark"] .dash-search-shortcuts kbd,html[data-theme="dark"] .sidebar-search kbd{background:#151c27;border-color:#3a4556;color:#cbd5e1}html[data-theme="dark"] .dashboard-commandbar input,html[data-theme="dark"] .sidebar-search input{color:#edf2fb}html[data-theme="dark"] .sidebar-search{background:#151c27;border-color:#354157}html[data-theme="dark"] .sidebar-more{background:#222d3d;color:#aeb8c8}

/* Perfil y ajustes */
.account-view{width:100%;min-height:calc(100vh - 82px);padding:clamp(24px,4vw,56px)}.account-view>header{margin-bottom:20px}.account-view>header span{color:var(--ux-blue);font-size:10px;font-weight:800;letter-spacing:.12em}.account-view h1{margin:5px 0 4px;font-size:30px}.account-view header p{margin:0;color:var(--ux-muted);font-size:13px}.account-panel{display:flex;max-width:820px;gap:24px;padding:24px;border:1px solid var(--ux-border);border-radius:17px;background:#fff;box-shadow:0 10px 28px rgba(20,35,65,.06)}.profile-avatar-block{display:flex;flex:none;flex-direction:column;align-items:center;gap:10px}.profile-avatar{display:grid;overflow:hidden;width:72px;height:72px;flex:none;place-items:center;border-radius:20px;background:linear-gradient(135deg,#175dcc,#4a83e8);color:#fff;font-size:25px;font-weight:800}.profile-avatar img{width:100%;height:100%;object-fit:cover;border-radius:inherit}.profile-avatar-actions{display:flex;flex-direction:column;gap:6px;align-items:stretch;width:100%}.profile-avatar-upload,#profileAvatarRemove{padding:7px 10px;border:1px solid var(--ux-border);border-radius:8px;background:#fff;font-size:11px;font-weight:700;text-align:center;cursor:pointer}.profile-avatar-upload{color:var(--ux-blue)}#profileAvatarRemove{color:#c42b2b}.account-fields{display:grid;width:100%;grid-template-columns:1fr 1fr;gap:15px}.account-fields label:last-of-type{grid-column:1/-1}.account-fields button{grid-column:1/-1;justify-self:end;height:42px;padding:0 18px;border:0;border-radius:10px;background:var(--ux-blue);color:#fff;font-weight:750;cursor:pointer}.settings-panel{display:block}.settings-panel>div{display:grid;grid-template-columns:44px minmax(0,1fr) auto;align-items:center;gap:14px}.settings-icon{display:grid;width:42px;height:42px;place-items:center;border-radius:12px;background:#edf4ff;color:var(--ux-blue)}.settings-panel b{font-size:14px}.settings-panel p{margin:4px 0 0;color:var(--ux-muted);font-size:12px}.theme-switch input{position:absolute;opacity:0}.theme-switch span{display:block;position:relative;width:46px;height:26px;border-radius:20px;background:#cbd2dc;cursor:pointer}.theme-switch span:after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.18);transition:.2s}.theme-switch input:checked+span{background:var(--ux-blue)}.theme-switch input:checked+span:after{transform:translateX(20px)}

/* Tema oscuro */
html[data-theme="dark"]{color-scheme:dark;--ux-navy:#edf2fb;--ux-blue:#70a4ff;--ux-bg:#111722;--ux-border:#303949;--ux-muted:#a9b3c3;--surface:#1a2230;--bg:#111722;--ink:#edf2fb;--muted:#a9b3c3;--line:#303949;--line-strong:#414c5e;--faint:#8995a8}html[data-theme="dark"] body,html[data-theme="dark"] .shell-main{background:#111722;color:#edf2fb}html[data-theme="dark"] .sidebar,html[data-theme="dark"] .liquid-topnav{background:rgba(25,33,46,.96)!important;border-color:#343e4e!important}html[data-theme="dark"] .sidebar .nav-item,html[data-theme="dark"] .sidebar .nav-label,html[data-theme="dark"] .sidebar .module-back,html[data-theme="dark"] .sidebar .module-identity h2,html[data-theme="dark"] .sidebar .module-identity small,html[data-theme="dark"] .sidebar .account-pill{color:#c7d0df!important}html[data-theme="dark"] .sidebar .nav-item.active .nav-label{color:#8bb3ff!important}html[data-theme="dark"] .liquid-nav-scroll button{color:#aeb8c8}html[data-theme="dark"] .liquid-nav-scroll button.active{color:#8bb3ff;background:#263754}html[data-theme="dark"] .action-card,html[data-theme="dark"] .consult-card,html[data-theme="dark"] .account-panel,html[data-theme="dark"] .declaration-tab-panel,html[data-theme="dark"] .declaration-kpis article,html[data-theme="dark"] .csf-status-card,html[data-theme="dark"] .csf-billing-card,html[data-theme="dark"] .csf-validity,html[data-theme="dark"] .csf-history-table,html[data-theme="dark"] .opinion-status-card,html[data-theme="dark"] .opinion-kpis article,html[data-theme="dark"] .opinion-activity,html[data-theme="dark"] .fiel-upload,html[data-theme="dark"] .schedule-box,html[data-theme="dark"] .fiscal-filters{background:#1a2230!important;border-color:#303949!important;color:#edf2fb}html[data-theme="dark"] input,html[data-theme="dark"] select{background:#151c27;border-color:#3a4556;color:#edf2fb}html[data-theme="dark"] .action-card--soon,html[data-theme="dark"] .declaration-period.future{background:#151c27}html[data-theme="dark"] .declaration-period{background:#1d2634;border-color:#3a4556}html[data-theme="dark"] .declaration-period.presented{background:#142a20}html[data-theme="dark"] .declaration-period.missing{background:#2d1b20}html[data-theme="dark"] .declaration-period.current{background:#302718}html[data-theme="dark"] .dashboard-security-note{border-color:#303949}html[data-theme="dark"] .global-taxpayer button{background:#1a2230;color:#edf2fb;border-color:#354157}html[data-theme="dark"] .global-taxpayer-menu{background:#1a2230;border-color:#354157}
@media(max-width:620px){.account-panel{flex-direction:column}.account-fields{grid-template-columns:1fr}.account-fields label:last-of-type{grid-column:auto}.account-fields button{grid-column:auto;width:100%}}

/* Buzón Tributario */
.mailbox-dashboard{margin-top:20px}.mailbox-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.mailbox-kpis article{display:grid;gap:4px;padding:17px 19px;border:1px solid var(--ux-border);border-radius:13px;background:#fff}.mailbox-kpis small{color:var(--ux-muted);font-size:10px;font-weight:800;letter-spacing:.07em}.mailbox-kpis b{font-size:25px}.mailbox-kpis article:first-child b{color:#15934a}.mailbox-kpis span{color:var(--ux-muted);font-size:11px}.mailbox-view-tabs{display:flex;justify-content:flex-end;gap:3px;margin:14px 0 8px}.mailbox-view-tabs button{height:32px;padding:0 13px;border:1px solid var(--ux-border);background:#f3f5f8;color:var(--ux-muted);font-size:10px;font-weight:750;cursor:pointer}.mailbox-view-tabs button:first-child{border-radius:9px 0 0 9px}.mailbox-view-tabs button:last-child{border-radius:0 9px 9px 0}.mailbox-view-tabs button.active{background:#fff;color:var(--ux-blue)}.mailbox-workspace{display:grid;grid-template-columns:285px minmax(0,1fr);min-height:360px;border:1px solid var(--ux-border);border-radius:14px;background:#fff;overflow:hidden}.mailbox-workspace>aside{max-height:510px;border-right:1px solid var(--ux-border);overflow:auto}.mailbox-item{width:100%;min-height:70px;display:grid;grid-template-columns:7px minmax(0,1fr) auto;align-items:start;gap:9px;padding:12px 13px;border:0;border-bottom:1px solid var(--ux-border);background:#fff;color:var(--ux-navy);text-align:left;cursor:pointer}.mailbox-item:hover,.mailbox-item.active{background:#f1f6ff}.mailbox-item>span{width:7px;height:7px;margin-top:4px;border-radius:50%;background:#9ba5b5}.mailbox-item.unread>span{background:#ee6719}.mailbox-item div{display:grid;gap:4px}.mailbox-item small{color:#e65b13;font-size:8px;font-weight:800;letter-spacing:.07em}.mailbox-item b{font-size:10px;line-height:1.35}.mailbox-item time{color:var(--ux-muted);font-size:8px}.mailbox-detail{padding:25px 27px}.mailbox-kind{display:inline-block;padding:5px 9px;border-radius:7px;background:#fff0e7;color:#dd5710;font-size:9px;font-weight:800}.mailbox-detail h3{margin:10px 0 4px;font-size:19px}.mailbox-detail>p{margin:0 0 15px;color:var(--ux-muted);font-size:11px;text-transform:uppercase}.mailbox-detail dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:0 0 15px;border-top:1px solid var(--ux-border);border-bottom:1px solid var(--ux-border)}.mailbox-detail dl div{padding:12px 7px}.mailbox-detail dt{color:var(--ux-muted);font-size:8px;font-weight:750;text-transform:uppercase}.mailbox-detail dd{margin:4px 0 0;font-size:11px;font-weight:650}.mailbox-detail>button{height:36px;padding:0 13px;border:1px solid var(--ux-border);border-radius:8px;background:#fff;color:var(--ux-navy);font-size:10px;font-weight:750;cursor:pointer}.mailbox-table{max-width:100%;overflow:auto;border:1px solid var(--ux-border);border-radius:13px;background:#fff}.mailbox-table table{width:100%;min-width:720px;border-collapse:collapse}.mailbox-table th,.mailbox-table td{padding:11px 13px;border-bottom:1px solid var(--ux-border);text-align:left}.mailbox-table th{color:var(--ux-muted);font-size:9px;text-transform:uppercase}.mailbox-table td{font-size:11px}.mailbox-empty{padding:24px;border:1px solid var(--ux-border);border-radius:13px;background:#fff;color:var(--ux-muted);font-size:12px}html[data-theme="dark"] .mailbox-kpis article,html[data-theme="dark"] .mailbox-workspace,html[data-theme="dark"] .mailbox-item,html[data-theme="dark"] .mailbox-table,html[data-theme="dark"] .mailbox-empty{background:#1a2230;border-color:#303949;color:#edf2fb}html[data-theme="dark"] .mailbox-item:hover,html[data-theme="dark"] .mailbox-item.active{background:#243044}html[data-theme="dark"] .mailbox-detail>button{background:#151c27;border-color:#3a4556;color:#edf2fb}
@media(max-width:800px){.mailbox-workspace{grid-template-columns:1fr}.mailbox-workspace>aside{max-height:250px;border-right:0;border-bottom:1px solid var(--ux-border)}.mailbox-detail dl{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.mailbox-kpis{grid-template-columns:1fr}.mailbox-detail{padding:18px}.mailbox-detail dl{grid-template-columns:1fr}}
.mailbox-actions{display:flex;flex-wrap:wrap;gap:8px}.mailbox-actions a,.mailbox-actions button{min-height:36px;display:inline-flex;align-items:center;gap:6px;padding:0 13px;border:1px solid var(--ux-border);border-radius:8px;background:#fff;color:var(--ux-navy);font-size:10px;font-weight:750;text-decoration:none;cursor:pointer}.mailbox-actions a{border-color:var(--ux-blue);background:var(--ux-blue);color:#fff}.mailbox-actions svg{width:14px;height:14px}html[data-theme="dark"] .mailbox-actions button{background:#151c27;border-color:#3a4556;color:#edf2fb}
.status.warning{display:block;border:1px solid #f1d296;background:#fff8e8;color:#815600}

/* Indicador inferior de procesos */
.global-process-indicator{position:fixed;z-index:1800;left:50%;bottom:22px;width:min(640px,calc(100vw - 28px));min-height:92px;display:flex;align-items:center;gap:20px;padding:15px 28px;border:1px solid rgba(255,255,255,.82);border-radius:48px;background:linear-gradient(135deg,rgba(255,255,255,.94),rgba(244,247,251,.88));box-shadow:inset 0 1px 1px rgba(255,255,255,.95),0 20px 55px rgba(20,35,65,.18);backdrop-filter:blur(30px) saturate(150%);transform:translate(-50%,calc(100% + 50px)) scale(.96);opacity:0;pointer-events:none;transition:transform .38s cubic-bezier(.22,1,.36,1),opacity .22s}.global-process-indicator.show{transform:translate(-50%,0) scale(1);opacity:1}.process-ring{--process-progress:0%;--process-color:#0b5dcc;position:relative;width:62px;height:62px;flex:none;border-radius:50%;background:conic-gradient(var(--process-color) var(--process-progress),#e5e9ef 0);transition:background .38s ease}.process-ring:after{content:"";position:absolute;inset:7px;border-radius:50%;background:linear-gradient(135deg,#fff,#f7f9fd);box-shadow:inset 0 0 0 1px rgba(214,222,234,.85)}.process-ring svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg);opacity:0;pointer-events:none}.process-ring circle{fill:none;stroke:#e5e9ef;stroke-width:4}.process-ring .process-ring-value{stroke:#0b5dcc;stroke-linecap:round;stroke-dasharray:100;stroke-dashoffset:100;transition:stroke-dashoffset .38s ease,stroke .2s}.process-ring b{position:absolute;z-index:1;inset:0;display:grid;place-items:center;color:#182234;font-size:15px}.global-process-indicator>div:last-child{display:grid;min-width:0;gap:4px}.global-process-indicator strong{overflow:hidden;color:#242a34;font-size:17px;text-overflow:ellipsis;white-space:nowrap}.global-process-indicator>div:last-child span{overflow:hidden;color:#7a8393;font-size:13px;text-overflow:ellipsis;white-space:nowrap}.global-process-indicator.complete .process-ring{--process-color:#15934a}.global-process-indicator.complete .process-ring-value{stroke:#15934a}.global-process-indicator.error .process-ring{--process-color:#d9313b}.global-process-indicator.error .process-ring-value{stroke:#d9313b}.global-process-indicator.error>div:last-child span{color:#bb2630}.process-running #status{display:none!important}html[data-theme="dark"] .global-process-indicator{border-color:rgba(73,87,109,.78);background:linear-gradient(135deg,rgba(28,37,51,.96),rgba(20,27,39,.92));box-shadow:0 20px 60px rgba(0,0,0,.36)}html[data-theme="dark"] .process-ring{background:conic-gradient(var(--process-color) var(--process-progress),#394456 0)}html[data-theme="dark"] .process-ring:after{background:#1a2230;box-shadow:inset 0 0 0 1px #394456}html[data-theme="dark"] .process-ring circle{stroke:#394456}html[data-theme="dark"] .process-ring b,html[data-theme="dark"] .global-process-indicator strong{color:#eff3fa}html[data-theme="dark"] .global-process-indicator>div:last-child span{color:#aab4c3}
@media(max-width:520px){.global-process-indicator{bottom:12px;min-height:78px;gap:13px;padding:11px 17px;border-radius:38px}.process-ring{width:53px;height:53px}.global-process-indicator strong{font-size:14px}.global-process-indicator>div:last-child span{font-size:11px}.process-ring b{font-size:13px}}

/* Escala tipográfica uniforme entre Dashboard y módulos */
.consult-view,.account-view,.consult-card{font-size:14px;line-height:1.5}.consult-card .card-heading h2{font-size:26px!important;line-height:1.25}.consult-card .card-heading p,.consult-card>p{font-size:13px!important}.consult-card label,.consult-card .section-label,.consult-card [class*="label"]{font-size:11px!important;line-height:1.35}.consult-card input,.consult-card select,.consult-card textarea{font-size:13px!important}.consult-card button,.consult-card a{font-size:11.5px}.consult-card small,.consult-card dt,.consult-card th{font-size:10.5px!important;line-height:1.4}.consult-card p,.consult-card dd,.consult-card td,.consult-card li{font-size:12px;line-height:1.48}.consult-card h3{font-size:18px;line-height:1.3}.consult-card h4{font-size:14px!important}.consult-card h5{font-size:12.5px!important}.consult-card b,.consult-card strong{letter-spacing:-.005em}
.fiscal-filters label,.csf-settings label,.schedule-options label,.draft-fields label,.sat-config label,.renewal-modal label{font-size:10.5px!important}.xml-table-wrap table,.declaration-table-wrap table,.csf-history-table table,.opinion-activity table,.mailbox-table table{font-size:11.5px!important}.xml-table-wrap th,.declaration-table-wrap th,.csf-history-table th,.opinion-activity th,.mailbox-table th{font-size:9.5px!important}.xml-table-wrap td,.declaration-table-wrap td,.csf-history-table td,.opinion-activity td,.mailbox-table td{font-size:11.5px!important}.xml-summary span,.declaration-kpis small,.opinion-kpis span,.mailbox-kpis small{font-size:9.5px!important}.xml-summary b,.declaration-kpis b,.opinion-kpis b,.mailbox-kpis b{font-size:22px!important}.history-info b,.stored-drafts-list b,.fiscal-history-list b{font-size:11px!important}.history-info small,.stored-drafts-list small,.fiscal-history-list small{font-size:9.5px!important}.fiscal-info-head small,.fiscal-request-state small,.certificate-eligibility small,.certificate-package small,.sat-version,.sat-section-head span{font-size:9px!important}.fiscal-info-head b,.fiscal-request-state b,.certificate-eligibility b,.certificate-package b{font-size:12px!important}.fiscal-info-result dt,.fiscal-readable-fields span,.taxpayer-identity dt{font-size:9px!important}.fiscal-info-result dd,.fiscal-readable-fields b,.taxpayer-identity dd{font-size:11px!important}.certificate-steps li>span,.certificate-actions a,.certificate-actions button,.certificate-file span{font-size:10px!important}.certificate-steps small,.certificate-eligibility p,.certificate-package p{font-size:9.5px!important}.draft-reconciliation span,.draft-warning,.draft-notes,.sat-field p{font-size:9.5px!important}.draft-result span,.draft-actions>span{font-size:10px!important}.declaration-period b{font-size:12px!important}.declaration-period small,.payment-state{font-size:9px!important}.mailbox-item small,.mailbox-item time{font-size:9px!important}.mailbox-item b{font-size:11px!important}.mailbox-detail dt{font-size:9px!important}.mailbox-detail dd,.mailbox-detail>p{font-size:11px!important}.status{font-size:12.5px!important}
@media(max-width:620px){.consult-card .card-heading h2{font-size:22px!important}.consult-card p,.consult-card dd,.consult-card td,.consult-card li{font-size:11.5px}.xml-summary b,.declaration-kpis b,.opinion-kpis b,.mailbox-kpis b{font-size:20px!important}}
.module-identity h2{font-size:17px!important}.module-identity small{font-size:11.5px!important;line-height:1.5}.module-back{font-size:11.5px!important}.module-help b{font-size:11px!important}.module-help small{font-size:10px!important}.account-pill{font-size:11.5px!important}

/* Renovación de e.firma y CSD por fases */
.certificate-guide{margin-top:18px}.certificate-guide>header>h2{margin:0 0 12px;font-size:19px!important}.certificate-guide>header>p{display:flex;align-items:flex-start;gap:12px;margin:0 0 14px;padding:15px 17px;border:1px solid #bfd4f5;border-radius:12px;background:#f2f7ff;color:#245186}.certificate-guide>header>p>svg{width:21px;flex:none}.certificate-guide>header>p span{display:grid;gap:3px}.certificate-guide>header>p b{font-size:12px}.certificate-guide>header>p small{color:#60718a;font-size:10px!important}.certificate-guide-layout{display:grid;grid-template-columns:minmax(0,1fr) 220px;align-items:start;gap:14px}.certificate-guide-layout>main{display:grid;gap:11px}.certificate-phase{padding:16px;border:1px solid var(--ux-border);border-radius:13px;background:#fff}.certificate-phase>header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px}.certificate-phase>header>span{display:grid;grid-template-columns:32px 1fr;align-items:center;column-gap:9px}.certificate-phase>header svg{grid-row:1/3;width:30px;height:30px;padding:7px;border-radius:9px;background:#edf4ff;color:var(--ux-blue)}.certificate-phase>header small{color:var(--ux-blue);font-size:8px!important;font-weight:800;letter-spacing:.08em}.certificate-phase>header b{font-size:12px}.certificate-phase>header em{padding:5px 9px;border-radius:8px;background:#e8f1ff;color:#1760c8;font-size:8px;font-style:normal;font-weight:800}.certificate-phase.sat>header svg{background:#fff0e9;color:#e76325}.certificate-phase.sat>header small{color:#e76325}.certificate-phase.sat>header em{background:#fff0e9;color:#e76325}.certificate-phase ol{display:grid;gap:13px;margin:0;padding:0;list-style:none}.certificate-phase li{display:grid;grid-template-columns:24px minmax(0,1fr);gap:9px}.certificate-phase li>span{display:grid;width:22px;height:22px;place-items:center;border-radius:50%;background:#eaf2ff;color:#1760c8;font-size:9px;font-weight:800}.certificate-phase.sat li>span{background:#fff0e9;color:#e76325}.certificate-phase li div{display:grid;gap:3px}.certificate-phase li b{font-size:11px}.certificate-phase li p,.certificate-phase>p{margin:0;color:var(--ux-muted);font-size:10px!important}.certificate-phase li a,.certificate-phase li button{width:max-content;display:inline-flex;align-items:center;gap:6px;margin-top:5px;padding:8px 11px;border:0;border-radius:8px;background:var(--ux-blue);color:#fff;font-size:9.5px!important;font-weight:750;text-decoration:none;cursor:pointer}.certificate-phase li a svg{width:13px;height:13px}.certificate-password-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:13px;padding-top:12px;border-top:1px solid var(--ux-border)}.certificate-password-grid label{font-size:9px!important}.certificate-password-grid input{height:40px;margin-top:5px}.phase-warning{display:flex;align-items:center;gap:8px;margin:10px 0;padding:9px 11px;border:1px solid #f2c6b0;border-radius:8px;background:#fff7f3;color:#8b4a2d;font-size:9.5px}.phase-warning svg{width:14px;height:14px}.phase-primary{width:100%;height:42px;display:flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:9px;background:var(--ux-blue);color:#fff;font-size:10px!important;font-weight:800;cursor:pointer}.phase-primary:disabled{opacity:.45;cursor:not-allowed}.phase-primary svg{width:15px;height:15px}.certificate-inline-file{display:flex;align-items:center;gap:10px;margin-top:12px}.certificate-inline-file input{position:absolute;opacity:0;pointer-events:none}.certificate-inline-file label{display:inline-flex;align-items:center;gap:6px;padding:9px 12px;border-radius:8px;background:var(--ux-blue);color:#fff;font-size:9.5px!important;font-weight:750;cursor:pointer}.certificate-inline-file label svg{width:14px;height:14px}.certificate-inline-file span{color:var(--ux-muted);font-size:9.5px}.certificate-guide-layout>aside{display:grid;gap:12px;position:sticky;top:90px}.current-certificate,.certificate-history{padding:16px;border:1px solid var(--ux-border);border-radius:13px;background:#fff;box-shadow:0 8px 24px rgba(20,35,65,.06)}.current-certificate h3,.certificate-history h3{margin:0 0 13px;font-size:13px}.current-certificate dl{display:grid;gap:9px;margin:0}.current-certificate dl div{display:flex;justify-content:space-between;gap:9px}.current-certificate dt{color:var(--ux-muted);font-size:9px!important}.current-certificate dd{margin:0;font-size:9.5px!important;font-weight:700;text-align:right}.current-certificate dd.valid{padding:3px 7px;border-radius:8px;background:#e2f5e8;color:#168448}.current-certificate dd.attention{color:#c84b38}.certificate-history>small{color:var(--ux-muted)}.certificate-history p{position:relative;display:grid;grid-template-columns:10px 1fr;gap:2px 6px;margin:9px 0}.certificate-history p>span{grid-row:1/3;width:7px;height:7px;margin-top:4px;border-radius:50%;background:#1cac58}.certificate-history p b{font-size:9.5px}.certificate-history p small{font-size:8.5px!important;color:var(--ux-muted)}.certificate-faq{margin-top:16px;padding:17px;border:1px solid var(--ux-border);border-radius:13px;background:#fff}.certificate-faq h3{margin:0 0 12px;font-size:13px}.certificate-faq details{border:1px solid var(--ux-border);border-radius:8px;background:#fafbfc;margin-top:7px}.certificate-faq summary{padding:10px 12px;font-size:10px;font-weight:700;cursor:pointer}.certificate-faq details p{margin:0;padding:0 12px 11px;color:var(--ux-muted);font-size:10px!important}html[data-theme="dark"] .certificate-guide>header>p{background:#1a2940;border-color:#34547f;color:#a9c8f7}html[data-theme="dark"] .certificate-phase,html[data-theme="dark"] .current-certificate,html[data-theme="dark"] .certificate-history,html[data-theme="dark"] .certificate-faq{background:#1a2230;border-color:#303949}html[data-theme="dark"] .certificate-faq details{background:#151c27;border-color:#303949}html[data-theme="dark"] .phase-warning{background:#31221d;border-color:#6d4939;color:#e7b29a}
@media(max-width:920px){.certificate-guide-layout{grid-template-columns:1fr}.certificate-guide-layout>aside{position:static;grid-template-columns:1fr 1fr;grid-row:1}}
@media(max-width:600px){.certificate-guide-layout>aside{grid-template-columns:1fr}.certificate-password-grid{grid-template-columns:1fr}.certificate-phase{padding:13px}.certificate-phase>header{align-items:flex-start}.certificate-inline-file{align-items:flex-start;flex-direction:column}}

/* Experiencia móvil */
@media(max-width:720px){
  body{overflow-x:hidden;background:#f4f6f9}.shell-main{width:100%!important;margin-left:0!important;padding-top:68px!important;overflow:visible}.liquid-topnav{top:8px;width:calc(100vw - 16px);height:50px;padding-inline:6px;border-radius:16px}.liquid-logo{width:27px;height:27px}.liquid-menu-toggle{width:34px;height:34px}.global-taxpayer{max-width:none;flex:1}.global-taxpayer>button{height:36px;border-radius:12px}.global-taxpayer button b{font-size:9px}.liquid-account-short{width:30px;height:30px}.liquid-divider{display:none}
  .sidebar,.shell.module-mode .sidebar{inset:0 auto 0 0!important;width:min(86vw,318px)!important;height:100dvh!important;max-height:none!important;padding:12px 12px 10px!important;border:0!important;border-right:1px solid rgba(220,226,235,.9)!important;border-radius:0 22px 22px 0!important;background:rgba(255,255,255,.98)!important;box-shadow:18px 0 55px rgba(16,31,57,.2)!important;transform:translateX(-105%);overflow:hidden}.shell.sidebar-open .sidebar{transform:translateX(0)}.shell.sidebar-open::after{position:fixed;z-index:280;inset:0;background:rgba(8,18,42,.34);backdrop-filter:blur(2px)}
  .sidebar-brand{height:92px;min-height:92px;display:flex!important;align-items:center;justify-content:center;margin:0 0 5px;padding:5px 42px 8px 8px!important}.brand-mark-big,.shell.module-mode .brand-mark-big{display:block!important;width:auto!important;max-width:190px!important;max-height:82px!important;object-fit:contain}.brand-mark-compact{display:none!important}.sidebar-collapse{top:10px;right:5px;width:36px;height:36px}
  .sidebar-nav{display:flex!important;min-height:0;flex:1;gap:1px;padding:3px 2px 78px;overflow-y:auto;overscroll-behavior:contain}.nav-group-label{margin:12px 10px 5px;font-size:8px!important}.nav-item{min-height:42px!important;padding:8px 10px!important;border-radius:9px!important;font-size:10.5px!important}.nav-item:hover{transform:none}.nav-item .nav-icon{width:22px}.nav-item .nav-icon svg{width:17px;height:17px}.nav-soon-chip{font-size:7px;padding:2px 5px}.account-menu--sidebar{position:absolute;right:12px;bottom:10px;left:12px;margin:0;padding:8px 0 0;background:linear-gradient(180deg,rgba(255,255,255,0),#fff 24%)}.account-pill{height:46px;background:#f4f7fb!important}
  .shell.module-mode .sidebar-nav{display:none!important}.shell.module-mode .module-nav{display:flex!important;height:calc(100% - 150px);flex-direction:column;padding:4px!important}.shell.module-mode .module-back{position:static!important;width:100%!important;height:44px!important;min-height:44px!important;margin:0 0 8px}.shell.module-mode .module-identity{height:auto!important;margin:0!important;padding:14px 8px!important;overflow:visible}.shell.module-mode .module-identity-icon{display:grid!important;width:38px;height:38px;margin-bottom:10px}.shell.module-mode .module-identity p,.shell.module-mode .module-identity small{display:block!important}.shell.module-mode .module-identity h2{margin:0 0 5px!important;font-size:16px!important;white-space:normal}.shell.module-mode .module-help{display:flex!important;margin-top:auto}.module-menu{display:none!important}
  .dash,.consult-view,.account-view{width:100%!important;padding:10px 10px 28px!important}.back-link{display:none}.welcome-banner{min-height:auto;margin-bottom:12px;padding:22px 18px;border-radius:16px}.welcome-text h1{font-size:23px!important}.welcome-text .dash-sub{font-size:12px}.workspace-context{padding:14px;margin-bottom:12px}.dash-search{height:44px;margin-bottom:18px}.dashboard-commandbar{height:48px!important;border-radius:15px!important;padding-right:13px!important}.dash-search-shortcuts{display:none}.dash-section-head{gap:4px;margin-bottom:10px}.dash-grid,.dash-grid--soon{gap:9px!important}.action-card{min-height:112px;padding:15px;border-radius:12px}.action-card b{font-size:13px}.action-card small{font-size:11px}.action-icon{width:36px;height:36px}.institution-badge{right:10px;bottom:9px}
  .consult-shell{width:100%;border:0;border-radius:0;background:transparent;box-shadow:none!important}.consult-card{width:100%;padding:17px 14px 20px!important;border:1px solid var(--ux-border);border-radius:15px!important;box-shadow:0 7px 22px rgba(20,35,65,.06)!important}.card-heading{gap:10px;margin-bottom:14px;padding-bottom:14px}.consult-card .card-heading h2{font-size:20px!important}.card-heading .pill{padding:5px 8px}.extra-fields{width:100%}.csf-settings,.fiscal-filters,.fiscal-filters--xml,.schedule-options,.file-fields{grid-template-columns:1fr!important}.fiscal-filters{padding:11px}.primary{width:100%;max-width:none;height:46px}.fiel-upload,.schedule-box{padding:12px}
  .csf-summary-grid{display:block}.csf-summary-grid>*+*{margin-top:10px}.csf-validity{padding:13px}.csf-history-table,.opinion-activity{padding:14px}.opinion-status-card{padding:15px!important}.opinion-kpis{grid-template-columns:1fr 1fr!important}.xml-toolbar{align-items:stretch}.xml-tools{width:100%}.xml-tools button,.xml-tools details{flex:1}.xml-summary{grid-template-columns:1fr 1fr!important}.xml-table-wrap{border-radius:8px}.declaration-kpis{grid-template-columns:1fr 1fr}.declaration-kpis article:last-child{grid-column:1/-1}.declaration-tab-panel{padding:12px}.declaration-calendar{grid-template-columns:1fr 1fr}.draft-fields{grid-template-columns:1fr!important}.sat-config{grid-template-columns:1fr!important}.sat-workspace{display:block!important}.stored-drafts-list article{grid-template-columns:8px minmax(0,1fr) 30px 30px}.stored-drafts-list strong{display:none}
  .mailbox-workspace{display:block;min-height:0}.mailbox-workspace>aside{max-height:260px}.mailbox-detail{padding:16px}.mailbox-kpis{grid-template-columns:1fr 1fr}.mailbox-kpis article:last-child{grid-column:1/-1}.mailbox-view-tabs{justify-content:stretch}.mailbox-view-tabs button{flex:1}.certificate-guide>header>h2{font-size:16px!important}.certificate-guide>header>p{padding:12px}.certificate-guide-layout{display:flex;flex-direction:column}.certificate-guide-layout>aside{display:grid;width:100%;grid-template-columns:1fr;order:-1}.certificate-guide-layout>main{width:100%}.certificate-phase{padding:12px}.certificate-phase>header{gap:7px}.certificate-phase>header em{font-size:7px}.certificate-password-grid{grid-template-columns:1fr}.certificate-faq{padding:13px}
  .account-view h1{font-size:24px}.account-panel{width:100%;padding:17px}.profile-avatar{width:58px;height:58px}.assistant-bar{display:none}.global-process-indicator{z-index:2000}
}
@media(max-width:420px){.opinion-kpis,.xml-summary,.declaration-kpis,.declaration-calendar,.mailbox-kpis{grid-template-columns:1fr!important}.declaration-kpis article:last-child,.mailbox-kpis article:last-child{grid-column:auto}.csf-copy-row{display:grid}.csf-copy-row button{justify-self:start}.global-taxpayer>button i{display:none}}
@media(max-width:720px){html[data-theme="dark"] .sidebar,html[data-theme="dark"] .shell.module-mode .sidebar{background:rgba(25,33,46,.99)!important;border-color:#354154!important}html[data-theme="dark"] .account-menu--sidebar{background:linear-gradient(180deg,rgba(25,33,46,0),#19212e 24%)}html[data-theme="dark"] .account-pill{background:#222d3d!important}}

/* Mobile navigation: compact drawer plus persistent shortcuts. */
.mobile-quickbar{display:none}
@media(max-width:720px){
  body{padding-bottom:76px}
  .shell-main{padding-bottom:18px}
  .sidebar,.shell.module-mode .sidebar{width:min(78vw,272px)!important;padding:10px 10px 12px!important;border-radius:0 18px 18px 0!important}
  .sidebar-brand,.shell.module-mode .sidebar-brand{height:74px!important;min-height:74px!important;margin-bottom:2px!important;padding:2px 38px 4px 4px!important}
  .sidebar-brand::before{height:64px!important;max-width:150px}
  .sidebar-collapse{top:7px!important;right:5px!important;display:grid!important;width:34px!important;height:34px!important;place-items:center;border:0!important;background:transparent!important;color:#354052!important}
  .sidebar-collapse svg{width:19px;height:19px}
  .sidebar-nav{padding:3px 2px 82px!important;overflow-y:auto!important;overscroll-behavior:contain;scrollbar-width:none}
  .sidebar-nav::-webkit-scrollbar{display:none}
  .sidebar .nav-item{min-height:43px!important;margin:1px 0!important;padding:7px 10px!important;border-radius:10px!important;gap:10px!important}
  .sidebar .nav-icon{width:27px!important;height:27px!important}
  .sidebar .nav-icon svg{width:17px;height:17px}
  .sidebar .nav-label{display:block!important;font-size:11px!important;line-height:1.25!important}
  .sidebar .nav-group-label{margin:12px 10px 5px!important;font-size:8px!important}
  .sidebar .nav-soon-chip{display:none!important}
  .account-menu--sidebar{position:absolute!important;right:10px!important;bottom:9px!important;left:10px!important;padding-top:8px!important;background:linear-gradient(180deg,rgba(255,255,255,0),#fff 28%)!important}
  .account-pill{min-height:42px!important}
  .mobile-quickbar{position:fixed;z-index:260;right:10px;bottom:9px;left:10px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));height:62px;padding:5px;border:1px solid rgba(215,222,233,.95);border-radius:18px;background:rgba(255,255,255,.94);box-shadow:0 12px 34px rgba(16,31,57,.18);backdrop-filter:blur(20px) saturate(150%)}
  .mobile-quickbar button{display:flex;min-width:0;align-items:center;justify-content:center;flex-direction:column;gap:3px;border:0;border-radius:13px;background:transparent;color:#667085;font-family:"Plus Jakarta Sans",sans-serif;font-size:8px;font-weight:700;cursor:pointer}
  .mobile-quickbar button svg{width:19px;height:19px;stroke-width:1.9}
  .mobile-quickbar button.active{background:#edf4ff;color:#0b5dcc}
  .mobile-quickbar button span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  body.nav-expanded .mobile-quickbar{opacity:.35;pointer-events:none}
  .global-process-indicator{bottom:82px!important}
}
@media(max-width:390px){
  .mobile-quickbar{right:6px;bottom:6px;left:6px}
  .mobile-quickbar button{font-size:7px}
  .sidebar,.shell.module-mode .sidebar{width:min(82vw,258px)!important}
}
html[data-theme="dark"] .mobile-quickbar{border-color:#354154;background:rgba(25,33,46,.95)}
html[data-theme="dark"] .mobile-quickbar button{color:#aeb8c8}
html[data-theme="dark"] .mobile-quickbar button.active{background:#263754;color:#8bb3ff}
.repse-dashboard{margin-top:18px}.repse-dashboard .opinion-status-card{margin-top:0}.repse-dashboard .opinion-taxpayer dl{grid-template-columns:repeat(2,minmax(0,1fr))}.repse-delete{display:grid;width:30px;height:30px;place-items:center;border:1px solid var(--ux-border);border-radius:8px;background:#fff;color:#d93434;cursor:pointer}.repse-delete svg{width:15px;height:15px}.repse-delete:hover{border-color:#efb2b2;background:#fff3f3}html[data-theme="dark"] .repse-delete{background:#151c27;border-color:#3a4556}

.company-csd-section{margin:22px 0;padding:16px;border:1px solid var(--ux-border);border-radius:14px;background:#fafbfd}.company-csd-section>header,.company-csd-section>header>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.company-csd-section>header>div{justify-content:flex-start}.company-csd-section header div div{display:grid;gap:2px}.company-csd-section header b{font-size:13px}.company-csd-section header small{color:var(--ux-muted);font-size:10px}.company-csd-icon{display:grid;width:38px;height:38px;place-items:center;border-radius:10px;background:#edf4ff;color:var(--ux-blue)}.company-csd-icon svg{width:19px;height:19px}.company-csd-switch{display:flex!important;align-items:center;gap:7px;margin:0!important;font-size:10px!important;white-space:nowrap;cursor:pointer}.company-csd-switch input{position:absolute;opacity:0}.company-csd-switch>span{position:relative;width:38px;height:22px;border-radius:20px;background:#cbd2dc}.company-csd-switch>span:after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;transition:.2s;box-shadow:0 1px 4px rgba(0,0,0,.18)}.company-csd-switch input:checked+span{background:var(--ux-blue)}.company-csd-switch input:checked+span:after{transform:translateX(16px)}#companyCsdFields{margin-top:16px;padding-top:16px;border-top:1px solid var(--ux-border)}#companyCsdFields[hidden]{display:none!important}html[data-theme="dark"] .company-csd-section{background:#151c27;border-color:#303949}@media(max-width:560px){.company-csd-section>header{align-items:flex-start;flex-direction:column}.company-csd-switch{align-self:flex-end}}

/* Contribuyente activo en Dashboard */
.dashboard-active-company{margin:-8px 0 20px}.dashboard-company-active,.dashboard-company-empty{width:100%;min-height:88px;display:grid;grid-template-columns:48px minmax(210px,.85fr) minmax(0,1.6fr) auto;align-items:center;gap:15px;padding:14px 17px;border:1px solid var(--ux-border);border-radius:15px;background:#fff;color:var(--ux-navy);text-align:left;box-shadow:0 8px 22px rgba(20,35,65,.055);cursor:pointer;transition:.18s}.dashboard-company-active:hover,.dashboard-company-empty:hover{border-color:#adc2e7;box-shadow:0 12px 28px rgba(23,93,204,.09);transform:translateY(-1px)}.dashboard-company-avatar,.dashboard-company-empty>span{display:grid;width:45px;height:45px;place-items:center;border-radius:13px;background:#eaf2ff;color:var(--ux-blue);font-size:16px;font-weight:800}.dashboard-company-empty>span svg{width:21px;height:21px}.dashboard-company-name{display:grid;min-width:0;gap:2px}.dashboard-company-name small,.dashboard-company-empty small{color:var(--ux-blue);font-size:8.5px;font-weight:800;letter-spacing:.09em}.dashboard-company-name b{overflow:hidden;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.dashboard-company-name p,.dashboard-company-empty p{margin:0;color:var(--ux-muted);font-size:10px}.dashboard-company-active dl{display:grid;grid-template-columns:1.3fr .8fr .9fr;gap:13px;margin:0}.dashboard-company-active dl div{min-width:0;padding-left:13px;border-left:1px solid var(--ux-border)}.dashboard-company-active dt{margin-bottom:4px;color:var(--ux-muted);font-size:8px;font-weight:750;text-transform:uppercase}.dashboard-company-active dd{overflow:hidden;margin:0;font-size:9.5px;font-weight:650;text-overflow:ellipsis;white-space:nowrap}.company-fiel-state{display:inline-block;padding:4px 7px;border-radius:8px}.company-fiel-state.valid{background:#e2f5e8;color:#168448}.company-fiel-state.warning{background:#fff1d9;color:#aa6200}.company-fiel-state.expired{background:#ffe4e4;color:#c52c35}.company-fiel-state.missing{background:#edf0f4;color:#687386}.dashboard-company-change{display:flex;align-items:center;gap:5px;color:var(--ux-blue);font-size:10px;font-weight:750}.dashboard-company-change svg{width:14px;height:14px}.dashboard-company-empty{grid-template-columns:48px minmax(0,1fr) 20px}.dashboard-company-empty>div{display:grid;gap:3px}.dashboard-company-empty>i,.dashboard-company-empty>svg{width:18px;color:var(--ux-blue)}html[data-theme="dark"] .dashboard-company-active,html[data-theme="dark"] .dashboard-company-empty{background:#1a2230;border-color:#303949;color:#edf2fb}html[data-theme="dark"] .dashboard-company-active dl div{border-color:#303949}
.sidebar-brand{min-height:118px!important;position:relative!important;display:flex!important;align-items:center!important;justify-content:center!important}.sidebar-brand::before{content:"";display:block;width:100%;height:104px;background:url('/logo-sidebar-color.png?v=2') center/contain no-repeat;opacity:1;visibility:visible}.sidebar-brand .brand-mark-big{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none}.sidebar-brand .brand-mark-compact{display:none!important}
@media(max-width:900px){.dashboard-active-company{margin-top:0}.dashboard-company-active{grid-template-columns:45px minmax(0,1fr) auto}.dashboard-company-active dl{grid-column:1/-1;grid-template-columns:repeat(3,1fr);padding-top:9px;border-top:1px solid var(--ux-border)}.dashboard-company-active dl div:first-child{border-left:0;padding-left:0}}
@media(max-width:620px){.dashboard-active-company{margin-bottom:12px}.dashboard-company-active,.dashboard-company-empty{min-height:76px;padding:12px;gap:10px;border-radius:12px}.dashboard-company-active{grid-template-columns:40px minmax(0,1fr) 20px}.dashboard-company-avatar,.dashboard-company-empty>span{width:39px;height:39px;border-radius:10px}.dashboard-company-change{font-size:0}.dashboard-company-change svg{width:17px;height:17px}.dashboard-company-active dl{grid-template-columns:1fr 1fr;gap:8px}.dashboard-company-active dl div{padding:6px 0 0;border-left:0}.dashboard-company-active dl div:last-child{grid-column:1/-1}.dashboard-company-active dt{font-size:7.5px}.dashboard-company-active dd{white-space:normal}.dashboard-company-name b{font-size:11px}}
@media(max-width:720px){.sidebar-brand,.shell.module-mode .sidebar-brand{height:96px!important;min-height:96px!important}.sidebar-brand::before{height:82px}.sidebar-brand .brand-mark-big,.shell.module-mode .sidebar-brand .brand-mark-big{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important}}

/* Protección global contra desbordamientos en módulos */
.shell,.shell-main,.dash,.consult-view,.account-view,.consult-shell,.consult-card,.extra-fields,.working-paper-workspace,#workingPaperWorkspace,#workingPaperPanel,.billing-assistant,.billing-editor,.billing-history,.admin-shell,.admin-content,.mailbox-dashboard,.csf-dashboard,.opinion-status-card,.fiscal-info-result,.certificate-guide,.xml-repository,.stored-drafts{min-width:0!important;max-width:100%!important;box-sizing:border-box}
.consult-view,.account-view{overflow-x:hidden!important}.consult-card{overflow:hidden}.consult-card>*{max-width:100%;min-width:0}.consult-card p,.consult-card h1,.consult-card h2,.consult-card h3,.consult-card h4,.consult-card b,.consult-card small,.consult-card span,.consult-card dd,.consult-card td{overflow-wrap:anywhere}.consult-card input,.consult-card select,.consult-card textarea{min-width:0;max-width:100%}
#companyFormView{max-width:980px!important;margin:0 auto!important}
#companyFormView .consult-shell{max-width:880px!important;margin:0 auto!important}
#companyFormView .consult-card{max-width:820px!important;margin:0 auto!important}
#companyFormView .card-heading,#companyFormView #companyForm,#companyFormView #companyStatus{max-width:700px!important;margin-left:auto!important;margin-right:auto!important}
#companyFormView #companyForm{width:100%}
#companyFormView .primary{max-width:360px!important;margin-left:auto!important}
@media(min-width:1280px){#companyFormView{padding-top:18px!important}#companyFormView .consult-card{padding:38px 46px 44px!important}}
.wp-tabs,.declaration-tabs,.mailbox-view-tabs,.billing-history nav,.admin-tabs,.certificate-tabs,.fiscal-tabs{max-width:100%;min-width:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin;-webkit-overflow-scrolling:touch}.wp-tabs button,.declaration-tabs button,.mailbox-view-tabs button,.billing-history nav button,.admin-tabs button,.certificate-tabs button,.fiscal-tabs button{flex:0 0 auto}
.wp-table-wrap,.xml-table-wrap,.declaration-table-wrap,.csf-history-table,.opinion-activity,.mailbox-table,.admin-table,.billing-history-list,.invoice-history,.stored-drafts-list{max-width:100%!important;min-width:0!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch}
.wp-table-wrap table,.xml-table-wrap table,.declaration-table-wrap table,.csf-history-table table,.opinion-activity table,.mailbox-table table,.admin-table table{width:max-content;min-width:100%;max-width:none}
.working-paper-controls{min-width:0!important;grid-template-columns:minmax(0,1fr) minmax(120px,180px) auto!important}.working-paper-controls label{min-width:0}.wp-overview,.wp-annual{min-width:0;grid-template-columns:repeat(auto-fit,minmax(min(100%,190px),1fr))!important}.wp-overview>div,.wp-annual article{min-width:0}.wp-overview strong,.wp-annual b{font-size:clamp(1rem,1.8vw,1.32rem)!important;overflow-wrap:anywhere}.wp-footer{min-width:0;flex-wrap:wrap}.wp-footer>div{min-width:0;flex-wrap:wrap}.wp-footer a{min-width:0}
@media(max-width:900px){.working-paper-controls{grid-template-columns:1fr!important}.working-paper-controls button{grid-column:auto!important}.wp-tabs{padding-bottom:2px}.wp-footer>div{width:100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}}
@media(max-width:560px){.consult-card{padding-inline:12px!important}.wp-table-wrap,.xml-table-wrap,.declaration-table-wrap{margin-inline:-6px;border-radius:10px}.wp-tabs button{padding-inline:12px}.wp-footer a{justify-content:center}}

/* Dashboard: cabecera útil y menos invasiva */
.welcome-banner{min-height:116px!important;display:grid!important;grid-template-columns:minmax(0,1fr) minmax(410px,560px)!important;align-items:center!important;gap:22px!important;margin-bottom:16px!important;padding:22px 26px!important;border:1px solid #dfe7f5!important;border-radius:18px!important;background:linear-gradient(135deg,#ffffff 0%,#f8fbff 100%)!important;color:#13213d!important;box-shadow:0 10px 26px rgba(20,35,65,.07)!important;overflow:hidden}.welcome-ring{display:none!important}.welcome-kicker{margin:0 0 4px!important;color:#1760c8!important;font-size:10px!important;font-weight:850!important;letter-spacing:.12em!important}.welcome-text h1{margin:0!important;color:#13213d!important;font-size:clamp(21px,2vw,28px)!important;line-height:1.12!important}.welcome-text .dash-sub{max-width:620px;margin:7px 0 0!important;color:#667085!important;font-size:13px!important}.welcome-stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;border:0!important;background:transparent!important;backdrop-filter:none!important}.welcome-stat{position:relative;min-width:0!important;min-height:72px!important;display:grid!important;grid-template-columns:34px minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;align-items:center!important;gap:3px 10px!important;padding:12px 12px 11px!important;border:1px solid #dfe7f1!important;border-radius:15px!important;background:linear-gradient(180deg,#fff,#fbfcff)!important;text-align:left!important;box-shadow:0 10px 24px rgba(20,35,65,.055)!important;overflow:hidden}.welcome-stat:before{content:"";position:absolute;inset:0 auto 0 0;width:4px;background:#1760c8}.welcome-stat:nth-child(2):before{background:#ed8500}.welcome-stat:nth-child(3):before{background:#168a46}.welcome-stat:nth-child(4):before{background:#7357c8}.welcome-stat-icon{grid-row:1/3;display:grid;width:30px;height:30px;place-items:center;border-radius:9px;background:#f0f5ff;color:#1760c8}.welcome-stat:nth-child(2) .welcome-stat-icon{background:#fff5e8;color:#ed8500}.welcome-stat:nth-child(3) .welcome-stat-icon{background:#eaf8ef;color:#168a46}.welcome-stat:nth-child(4) .welcome-stat-icon{background:#f1edff;color:#7357c8}.welcome-stat-icon svg{width:15px;height:15px;stroke-width:2.2}.welcome-stat b{grid-column:2/3;margin:0!important;color:#13213d!important;font-size:18px!important;font-weight:850!important;line-height:1.05!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}.welcome-stat small{grid-column:2/4;grid-row:1;color:#7a8495!important;font-size:9.5px!important;font-weight:800!important;line-height:1!important}.welcome-stat em{grid-column:3/4;grid-row:2;align-self:end;justify-self:end;padding:4px 7px;border-radius:999px;background:#e9f7ef;color:#138348;font-size:8px;font-style:normal;font-weight:900;white-space:nowrap}.welcome-stat em.warning{background:#fff4df;color:#a45b00}.welcome-stat em.danger{background:#ffe9e9;color:#c82d35}.welcome-stat:nth-child(1) em{background:#edf4ff;color:#1760c8}.welcome-stat:nth-child(2) em{background:#fff4df;color:#a45b00}
html[data-theme="dark"] .welcome-banner{background:linear-gradient(135deg,#1a2230,#151c27)!important;border-color:#303949!important;color:#edf2fb!important}html[data-theme="dark"] .welcome-text h1,html[data-theme="dark"] .welcome-stat b{color:#edf2fb!important}html[data-theme="dark"] .welcome-text .dash-sub,html[data-theme="dark"] .welcome-stat small{color:#a9b3c3!important}html[data-theme="dark"] .welcome-stat{background:linear-gradient(180deg,#1d2634,#182131)!important;border-color:#303949!important}
@media(max-width:980px){.welcome-banner{grid-template-columns:1fr!important}.welcome-stats{grid-template-columns:repeat(4,minmax(0,1fr))!important}}
@media(max-width:720px){.welcome-banner{padding:18px!important}.welcome-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:430px){.welcome-stats{grid-template-columns:1fr!important}.welcome-stat{padding:10px 12px!important}}

/* Dashboard propositivo: recomendación + indicadores con intención */
.welcome-banner{grid-template-columns:minmax(0,1fr) minmax(460px,620px)!important;padding:26px!important;background:radial-gradient(circle at 12% 15%,rgba(23,96,200,.12),transparent 30%),linear-gradient(135deg,#ffffff 0%,#f6f9ff 100%)!important}.welcome-text{position:relative;padding:18px 20px 18px 0}.welcome-text:before{content:"";position:absolute;left:-26px;top:8px;bottom:8px;width:5px;border-radius:999px;background:linear-gradient(180deg,#1760c8,#ed8500)}.welcome-kicker{color:#ed8500!important}.welcome-text h1{font-size:clamp(27px,2.4vw,38px)!important;letter-spacing:-.035em}.welcome-text .dash-sub{font-size:14px!important;max-width:540px}.welcome-action{width:min(100%,640px);display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px;padding:12px 13px 12px 15px;border:1px solid #dbe7fb;border-radius:15px;background:linear-gradient(135deg,#eef5ff,#fff);box-shadow:0 10px 22px rgba(23,96,200,.08)}.welcome-action span{position:relative;display:block;min-width:0;padding-left:18px;color:#31415f;font-size:12px;font-weight:750;line-height:1.4}.welcome-action span:before{content:"";position:absolute;left:0;top:.48em;width:8px;height:8px;border-radius:50%;background:#168a46;box-shadow:0 0 0 4px rgba(22,138,70,.12)}.welcome-action button{flex:none;min-height:34px;padding:0 13px;border:0;border-radius:10px;background:#13213d;color:#fff;font-size:10px;font-weight:850;cursor:pointer;box-shadow:0 8px 18px rgba(19,33,61,.18)}.welcome-action button:hover{transform:translateY(-1px)}
.welcome-stats{gap:12px!important}.welcome-stat{min-height:92px!important;grid-template-columns:42px minmax(0,1fr) auto!important;grid-template-rows:auto auto 8px!important;padding:16px!important;border-radius:18px!important;border-color:#d8e3f2!important;background:linear-gradient(145deg,#fff 0%,#f9fbff 100%)!important;box-shadow:0 16px 38px rgba(20,35,65,.09)!important;transition:transform .18s ease,box-shadow .18s ease}.welcome-stat:hover{transform:translateY(-2px);box-shadow:0 20px 44px rgba(20,35,65,.13)!important}.welcome-stat:before{width:6px}.welcome-stat-icon{width:38px!important;height:38px!important;border-radius:13px!important}.welcome-stat-icon svg{width:19px!important;height:19px!important}.welcome-stat small{grid-column:2/4!important;font-size:10.5px!important;color:#667085!important}.welcome-stat b{font-size:24px!important;letter-spacing:-.035em!important}.welcome-stat em{padding:5px 9px!important;font-size:9px!important;box-shadow:inset 0 0 0 1px rgba(255,255,255,.55)}.welcome-stat-bar{grid-column:1/4;grid-row:3;display:block;height:6px;margin-top:8px;overflow:hidden;border-radius:999px;background:#edf2f8}.welcome-stat-bar i{display:block;width:0;height:100%;border-radius:inherit;background:#1760c8;transition:width .35s ease}.welcome-stat:nth-child(2) .welcome-stat-bar i{background:#ed8500}.welcome-stat:nth-child(3) .welcome-stat-bar i{background:#168a46}.welcome-stat:nth-child(4) .welcome-stat-bar i{background:#7357c8}.welcome-stat em.good{background:#e7f8ee!important;color:#118143!important}.welcome-stat em.warning{background:#fff3dc!important;color:#a75b00!important}.welcome-stat em.danger{background:#ffe9e9!important;color:#c92d36!important}
html[data-theme="dark"] .welcome-action{background:linear-gradient(135deg,#202d41,#182131);border-color:#303949}html[data-theme="dark"] .welcome-action span{color:#d5deeb}html[data-theme="dark"] .welcome-action button{background:#70a4ff;color:#0f1725}html[data-theme="dark"] .welcome-stat-bar{background:#303949}
@media(max-width:980px){.welcome-banner{grid-template-columns:1fr!important}.welcome-text{padding-right:0}.welcome-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:620px){.welcome-action{align-items:stretch;flex-direction:column}.welcome-action button{width:100%}.welcome-stat{min-height:84px!important}.welcome-stat b{font-size:20px!important}}

/* Dashboard sobrio: indicadores tipo panel editorial, no cards genéricas */
.welcome-banner{grid-template-columns:minmax(0,1.05fr) minmax(420px,.95fr)!important;min-height:180px!important;padding:28px 32px!important;background:linear-gradient(120deg,#ffffff 0%,#fbfdff 58%,#f3f7ff 100%)!important;border-color:#dce7f5!important;box-shadow:0 12px 34px rgba(20,35,65,.06)!important}.welcome-text{padding:10px 28px 10px 0!important}.welcome-text:before{left:-32px!important;top:0!important;bottom:0!important;width:3px!important;background:linear-gradient(180deg,#1760c8 0%,#1760c8 45%,#ed8500 45%,#ed8500 100%)!important}.welcome-kicker{color:#1760c8!important;font-size:9.5px!important}.welcome-text h1{font-size:clamp(28px,2.7vw,40px)!important}.welcome-text .dash-sub{max-width:560px!important;font-size:14px!important;line-height:1.45!important}.welcome-action{width:min(100%,560px)!important;margin-top:22px!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;justify-content:flex-start!important}.welcome-action span{padding-left:16px!important;color:#556278!important;font-size:12px!important;font-weight:700!important}.welcome-action span:before{top:.45em!important;width:7px!important;height:7px!important;box-shadow:0 0 0 5px rgba(22,138,70,.1)!important}.welcome-action button{min-height:32px!important;padding:0 12px!important;border:1px solid #d9e2ef!important;background:#fff!important;color:#13213d!important;box-shadow:none!important}
.welcome-stats{position:relative!important;display:grid!important;grid-template-columns:1fr!important;gap:0!important;padding:4px 0 4px 26px!important;border-left:1px solid #e2e9f4!important}.welcome-stat{min-height:0!important;display:grid!important;grid-template-columns:minmax(128px,.9fr) minmax(0,1fr) auto!important;grid-template-rows:auto!important;align-items:center!important;gap:12px!important;padding:12px 0!important;border:0!important;border-bottom:1px solid #e8eef6!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}.welcome-stat:last-child{border-bottom:0!important}.welcome-stat:hover{transform:none!important;box-shadow:none!important}.welcome-stat:before{display:none!important}.welcome-stat-icon{display:none!important}.welcome-stat small{grid-column:1!important;grid-row:auto!important;color:#7a8494!important;font-size:10px!important;font-weight:850!important;letter-spacing:.04em!important;text-transform:uppercase!important}.welcome-stat b{grid-column:2!important;color:#13213d!important;font-family:"Plus Jakarta Sans",system-ui,sans-serif!important;font-size:18px!important;font-weight:850!important;letter-spacing:-.02em!important}.welcome-stat em{grid-column:3!important;grid-row:auto!important;align-self:center!important;padding:3px 8px!important;border-radius:999px!important;background:#f3f6fb!important;color:#687386!important;font-size:9px!important;box-shadow:none!important}.welcome-stat em.good{background:#eaf8ef!important;color:#168a46!important}.welcome-stat em.warning{background:#fff5e6!important;color:#a45b00!important}.welcome-stat em.danger{background:#ffecec!important;color:#c92d36!important}.welcome-stat-bar{grid-column:2/4!important;grid-row:auto!important;height:2px!important;margin-top:-4px!important;background:#eef3f8!important}.welcome-stat-bar i{height:2px!important;background:#1760c8!important}.welcome-stat:nth-child(2) .welcome-stat-bar i{background:#ed8500!important}.welcome-stat:nth-child(3) .welcome-stat-bar i{background:#168a46!important}.welcome-stat:nth-child(4) .welcome-stat-bar i{background:#7357c8!important}
html[data-theme="dark"] .welcome-banner{background:linear-gradient(120deg,#1a2230,#151c27)!important}html[data-theme="dark"] .welcome-stats{border-left-color:#303949!important}html[data-theme="dark"] .welcome-stat{border-bottom-color:#303949!important}html[data-theme="dark"] .welcome-action button{background:#1d2634!important;border-color:#303949!important;color:#edf2fb!important}
@media(max-width:980px){.welcome-banner{grid-template-columns:1fr!important}.welcome-stats{padding:12px 0 0!important;border-left:0!important;border-top:1px solid #e2e9f4!important}.welcome-stat{grid-template-columns:minmax(120px,.8fr) minmax(0,1fr) auto!important}}
@media(max-width:620px){.welcome-banner{padding:22px!important}.welcome-stat{grid-template-columns:1fr auto!important;gap:5px 10px!important}.welcome-stat small{grid-column:1!important}.welcome-stat b{grid-column:1!important;font-size:17px!important}.welcome-stat em{grid-column:2!important;grid-row:1/3!important}.welcome-stat-bar{grid-column:1/3!important;margin-top:4px!important}.welcome-action{align-items:flex-start!important}.welcome-action button{width:auto!important}}

/* Ajuste solicitado: sin CTA/recomendación, indicadores compactos en dos columnas */
.welcome-banner{grid-template-columns:minmax(0,1fr) minmax(420px,560px)!important;min-height:150px!important;padding:24px 30px!important}.welcome-text{padding:8px 22px 8px 0!important}.welcome-text h1{font-size:clamp(24px,2.15vw,32px)!important;letter-spacing:-.035em!important}.welcome-text .dash-sub{font-size:13px!important;max-width:560px!important}.welcome-action{display:none!important}.welcome-stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important;padding:0!important;border:0!important}.welcome-stat{min-height:78px!important;grid-template-columns:34px minmax(0,1fr) auto!important;grid-template-rows:auto auto 5px!important;gap:2px 10px!important;padding:13px 14px!important;border:1px solid #dfe7f1!important;border-radius:16px!important;background:linear-gradient(145deg,#fff,#fbfdff)!important;box-shadow:0 10px 24px rgba(20,35,65,.06)!important}.welcome-stat:before{display:block!important;width:4px!important}.welcome-stat-icon{display:grid!important;width:30px!important;height:30px!important;border-radius:10px!important;grid-row:1/3!important}.welcome-stat-icon svg{width:15px!important;height:15px!important}.welcome-stat small{grid-column:2/4!important;grid-row:1!important;font-size:9.5px!important;letter-spacing:0!important;text-transform:none!important}.welcome-stat b{grid-column:2!important;grid-row:2!important;font-size:18px!important;font-weight:850!important}.welcome-stat em{grid-column:3!important;grid-row:2!important;padding:4px 8px!important;font-size:8.5px!important}.welcome-stat-bar{grid-column:1/4!important;grid-row:3!important;height:3px!important;margin-top:8px!important}.welcome-stat-bar i{height:3px!important}.welcome-stat:hover{transform:none!important;box-shadow:0 10px 24px rgba(20,35,65,.06)!important}
@media(max-width:980px){.welcome-banner{grid-template-columns:1fr!important}.welcome-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:520px){.welcome-stats{grid-template-columns:1fr!important}.welcome-stat{grid-template-columns:34px minmax(0,1fr) auto!important}.welcome-stat b{font-size:17px!important}}
.dashboard-company-selector[hidden]{display:none!important}.dashboard-company-selector{margin-top:8px;overflow:hidden;border:1px solid var(--ux-border);border-radius:14px;background:#fff;box-shadow:0 15px 38px rgba(20,35,65,.12)}.dashboard-company-selector>header{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid var(--ux-border)}.dashboard-company-selector>header b{font-size:11px}.dashboard-company-selector>header small{color:var(--ux-muted);font-size:9px}.dashboard-company-selector>div{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:7px;padding:9px}.dashboard-company-selector>div>button{display:grid;grid-template-columns:34px minmax(0,1fr) 18px;align-items:center;gap:9px;min-height:52px;padding:8px 10px;border:1px solid transparent;border-radius:9px;background:#fff;color:var(--ux-navy);text-align:left;cursor:pointer}.dashboard-company-selector>div>button:hover{background:#f5f8fd}.dashboard-company-selector>div>button.active{border-color:#a9c2ed;background:#edf4ff}.dashboard-company-selector>div>button>span{display:grid;width:32px;height:32px;place-items:center;border-radius:9px;background:#eaf2ff;color:var(--ux-blue);font-size:11px;font-weight:800}.dashboard-company-selector>div>button>div{display:grid;min-width:0;gap:2px}.dashboard-company-selector>div>button b,.dashboard-company-selector>div>button small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dashboard-company-selector>div>button b{font-size:10px}.dashboard-company-selector>div>button small{color:var(--ux-muted);font-size:8.5px}.dashboard-company-selector>div>button svg{width:15px;height:15px;color:var(--ux-blue)}.dashboard-company-selector>footer{display:flex;justify-content:flex-end;gap:7px;padding:9px 11px;border-top:1px solid var(--ux-border);background:#fafbfc}.dashboard-company-selector>footer button{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 10px;border:1px solid var(--ux-border);border-radius:8px;background:#fff;color:var(--ux-navy);font-size:9px;font-weight:750;cursor:pointer}.dashboard-company-selector>footer button:first-child{border-color:var(--ux-blue);background:var(--ux-blue);color:#fff}.dashboard-company-selector>footer svg{width:13px;height:13px}html[data-theme="dark"] .dashboard-company-selector,html[data-theme="dark"] .dashboard-company-selector>div>button,html[data-theme="dark"] .dashboard-company-selector>footer{background:#1a2230;border-color:#303949;color:#edf2fb}html[data-theme="dark"] .dashboard-company-selector>div>button:hover{background:#222e40}html[data-theme="dark"] .dashboard-company-selector>div>button.active{background:#203552}
@media(max-width:620px){.dashboard-company-selector>div{grid-template-columns:1fr}.dashboard-company-selector>footer{display:grid;grid-template-columns:1fr 1fr}.dashboard-company-selector>footer button{justify-content:center}}

/* Dashboard: elimina el hueco superior de inicio y evita repetir el acceso "Dashboard" en el sidebar */
.shell.dashboard-mode .shell-topbar{display:none!important}
.shell.dashboard-mode .dash{padding-top:clamp(12px,1.6vw,22px)!important}
.shell.dashboard-mode .sidebar .nav-item[data-view="dashboard"]{display:none!important}
@media(max-width:720px){.shell.dashboard-mode .dash{padding-top:12px!important}}

/* El anillo usa pathLength=100 para que el avance sea consistente en todos los navegadores. */
.global-process-indicator .process-ring .process-ring-value{stroke-dasharray:100!important;stroke-dashoffset:100}

.certificate-recovery-filters{display:flex;gap:5px;margin:15px 0;padding:4px;border:1px solid var(--ux-border);border-radius:10px;background:#f3f5f8;width:max-content;max-width:100%;overflow:auto}.certificate-recovery-filters button{height:31px;padding:0 12px;border:0;border-radius:7px;background:transparent;color:var(--ux-muted);font-size:10px;font-weight:750;cursor:pointer}.certificate-recovery-filters button.active{background:#fff;color:var(--ux-blue);box-shadow:0 2px 8px rgba(20,35,65,.1)}.certificate-recovery-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px;border:1px solid var(--ux-border);border-radius:14px;background:#fff}.certificate-recovery-head>div:first-child{min-width:0}.certificate-recovery-head small{color:var(--ux-muted);font-size:8px;font-weight:800;letter-spacing:.08em}.certificate-recovery-head h3{margin:4px 0;font-size:17px}.certificate-recovery-head p{margin:0;color:var(--ux-muted);font-size:10px}.certificate-recovery-head>div:last-child{display:flex}.certificate-recovery-head>div:last-child span{display:grid;min-width:70px;gap:2px;padding:5px 13px;border-left:1px solid var(--ux-border)}.certificate-recovery-head>div:last-child b{font-size:20px}.certificate-recovery-head>div:last-child .valid b{color:#15934a}.certificate-recovery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:10px;margin-top:11px}.recovered-certificate{padding:16px;border:1px solid var(--ux-border);border-radius:13px;background:#fff}.recovered-certificate[hidden]{display:none!important}.recovered-certificate>header{display:grid;grid-template-columns:38px minmax(0,1fr) auto;align-items:center;gap:10px}.recovered-certificate>header>span{display:grid;width:38px;height:38px;place-items:center;border-radius:10px;background:#edf4ff;color:var(--ux-blue)}.recovered-certificate>header svg{width:18px;height:18px}.recovered-certificate>header div{display:grid;min-width:0;gap:2px}.recovered-certificate>header small{color:var(--ux-muted);font-size:7.5px;font-weight:800}.recovered-certificate>header b{overflow:hidden;font-size:11px;text-overflow:ellipsis}.recovered-certificate>header em{padding:4px 7px;border-radius:7px;background:#edf0f4;color:#687386;font-size:8px;font-style:normal;font-weight:800}.recovered-certificate.active>header em{background:#e2f5e8;color:#168448}.recovered-certificate dl{display:grid;grid-template-columns:1fr 1fr;margin:13px 0}.recovered-certificate dl div{padding:8px;border-top:1px solid var(--ux-border)}.recovered-certificate dl div:last-child{grid-column:1/-1}.recovered-certificate dt{color:var(--ux-muted);font-size:7px;text-transform:uppercase}.recovered-certificate dd{margin:3px 0 0;font-size:9px;overflow-wrap:anywhere}.recovered-certificate>a{display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 11px;border-radius:8px;background:var(--ux-blue);color:#fff;font-size:9px;font-weight:750;text-decoration:none}.recovered-certificate>a svg{width:14px;height:14px}.certificate-no-download,.certificate-recovery-updated{color:var(--ux-muted);font-size:9px}.certificate-recovery-updated{text-align:right}html[data-theme="dark"] .certificate-recovery-head,html[data-theme="dark"] .recovered-certificate,html[data-theme="dark"] .certificate-recovery-filters button.active{background:#1a2230;border-color:#303949}@media(max-width:650px){.certificate-recovery-head{align-items:flex-start;flex-direction:column}.certificate-recovery-head>div:last-child{width:100%;overflow:auto}.certificate-recovery-head>div:last-child span{min-width:64px}.certificate-recovery-grid{grid-template-columns:1fr}}

/* Botón principal de módulos: más limpio, menos invasivo y con respiración */
#queryForm>.primary{width:min(100%,360px)!important;height:44px!important;margin:36px 0 0 auto!important;padding:0 15px!important;border-radius:13px!important;background:linear-gradient(135deg,#0b5dcc,#0752bd)!important;box-shadow:0 12px 26px rgba(11,93,204,.16)!important;font-size:11.5px!important;font-weight:800!important}
#queryForm>.primary:hover{transform:translateY(-1px);box-shadow:0 15px 30px rgba(11,93,204,.2)!important}
#queryForm>.primary span:last-child{width:23px;height:23px;display:grid;place-items:center;border-radius:999px;background:rgba(255,255,255,.16)}
#extraFields:has(#fiscalInfoHistory)~.primary{margin-top:42px!important}
@media(max-width:620px){#queryForm>.primary{width:100%!important;margin-top:26px!important}}

/* Información fiscal: acciones con iconos consistentes y PDF del expediente */
.fiscal-info-head nav{display:flex;align-items:center;gap:8px}.fiscal-info-head nav>span{color:#14733B;font-size:8.5px;font-weight:800}.fiscal-pdf-link{display:inline-flex!important;align-items:center;gap:6px;height:30px;padding:0 10px;border:1px solid #cfe0fb;border-radius:9px;background:#edf4ff;color:var(--ux-blue)!important;font-size:9px!important;font-weight:850!important;text-decoration:none;cursor:pointer}.fiscal-pdf-link:disabled{opacity:.65;cursor:wait}.fiscal-pdf-link svg{width:14px;height:14px}
.fiscal-history-list button svg{width:15px;height:15px;stroke-width:2}.fiscal-history-list button{transition:.15s}.fiscal-history-list button:hover{border-color:#b8c9e8;background:#f4f8ff}.fiscal-history-list button.danger:hover{border-color:#efb2b2;background:#fff3f3}
html[data-theme="dark"] .fiscal-pdf-link{background:#203552;border-color:#34547f}
.coming-soon-modal{position:fixed;inset:0;z-index:2000;display:grid;place-items:center;padding:20px;background:rgba(12,20,34,.28);backdrop-filter:blur(12px)}.coming-soon-modal section{position:relative;width:min(420px,100%);padding:28px 26px 24px;border:1px solid rgba(214,222,234,.9);border-radius:18px;background:rgba(255,255,255,.96);box-shadow:0 24px 70px rgba(16,31,57,.22);text-align:center}.coming-soon-modal section>span{display:grid;width:52px;height:52px;margin:0 auto 15px;place-items:center;border-radius:16px;background:#edf4ff;color:#0b5dcc}.coming-soon-modal svg{width:22px;height:22px}.coming-soon-modal h2{margin:0 0 18px;color:#142341;font-size:18px;line-height:1.35}.coming-soon-action{height:42px;min-width:120px;border:0;border-radius:10px;background:#0b5dcc;color:#fff;font-size:13px;font-weight:800;cursor:pointer}.coming-soon-close{position:absolute;top:12px;right:12px;display:grid;width:34px;height:34px;place-items:center;border:1px solid #e2e8f0;border-radius:10px;background:#fff;color:#475467;cursor:pointer}.coming-soon-close svg{width:17px;height:17px}html[data-theme="dark"] .coming-soon-modal section{background:#1a2230;border-color:#303949}html[data-theme="dark"] .coming-soon-modal h2{color:#edf2fb}html[data-theme="dark"] .coming-soon-close{background:#151c27;border-color:#303949;color:#cbd5e1}
/* Escala tipográfica uniforme para Gestionar FIEL y Gestionar CSD */
.certificate-tab-panel[data-certificate-panel="workflow"] .certificate-guide>header>h2{font-size:22px!important;line-height:1.25}.certificate-tab-panel[data-certificate-panel="workflow"] .certificate-guide>header>p b{font-size:14px!important;line-height:1.4}.certificate-tab-panel[data-certificate-panel="workflow"] .certificate-guide>header>p small{font-size:12px!important;line-height:1.5}.certificate-tab-panel[data-certificate-panel="workflow"] .certificate-phase>header small{font-size:10px!important}.certificate-tab-panel[data-certificate-panel="workflow"] .certificate-phase>header b{font-size:14px!important;line-height:1.35}.certificate-tab-panel[data-certificate-panel="workflow"] .certificate-phase>header em{font-size:10px!important}.certificate-tab-panel[data-certificate-panel="workflow"] .certificate-phase li>span{font-size:11px;width:25px;height:25px}.certificate-tab-panel[data-certificate-panel="workflow"] .certificate-phase li b{font-size:13px!important;line-height:1.4}.certificate-tab-panel[data-certificate-panel="workflow"] .certificate-phase li p,.certificate-tab-panel[data-certificate-panel="workflow"] .certificate-phase>p{font-size:12px!important;line-height:1.55}.certificate-tab-panel[data-certificate-panel="workflow"] .certificate-phase li a,.certificate-tab-panel[data-certificate-panel="workflow"] .certificate-phase li button{font-size:11.5px!important;min-height:38px}.certificate-tab-panel[data-certificate-panel="workflow"] .certificate-password-grid label{font-size:11.5px!important;font-weight:750}.certificate-tab-panel[data-certificate-panel="workflow"] .certificate-password-grid input{font-size:13px!important;height:44px}.certificate-tab-panel[data-certificate-panel="workflow"] .phase-warning{font-size:11.5px!important;line-height:1.45}.certificate-tab-panel[data-certificate-panel="workflow"] .phase-primary{height:46px;font-size:12.5px!important}.certificate-tab-panel[data-certificate-panel="workflow"] .certificate-inline-file label,.certificate-tab-panel[data-certificate-panel="workflow"] .certificate-inline-file span{font-size:11.5px!important}.certificate-tab-panel[data-certificate-panel="workflow"] .current-certificate h3,.certificate-tab-panel[data-certificate-panel="workflow"] .certificate-history h3,.certificate-tab-panel[data-certificate-panel="workflow"] .certificate-faq h3{font-size:15px!important}.certificate-tab-panel[data-certificate-panel="workflow"] .current-certificate dt{font-size:10.5px!important}.certificate-tab-panel[data-certificate-panel="workflow"] .current-certificate dd,.certificate-tab-panel[data-certificate-panel="workflow"] .certificate-history p b{font-size:11.5px!important}.certificate-tab-panel[data-certificate-panel="workflow"] .certificate-history p small{font-size:10px!important}.certificate-tab-panel[data-certificate-panel="workflow"] .certificate-faq summary{font-size:12px!important}.certificate-tab-panel[data-certificate-panel="workflow"] .certificate-faq details p{font-size:11.5px!important;line-height:1.5}@media(max-width:600px){.certificate-tab-panel[data-certificate-panel="workflow"] .certificate-guide>header>h2{font-size:19px!important}.certificate-tab-panel[data-certificate-panel="workflow"] .certificate-phase>header b{font-size:13px!important}.certificate-tab-panel[data-certificate-panel="workflow"] .certificate-phase li p,.certificate-tab-panel[data-certificate-panel="workflow"] .certificate-phase>p{font-size:11.5px!important}}
