/* Common reading rhythm and the accounts workspace. */
body.dialog-open{overflow:hidden}
.workspace-navigation .nav-btn{font-size:13px;padding-block:10px}
.nav-group>p{font-size:10px;letter-spacing:1.35px}
.btn{font-size:13px}.btn-small{font-size:12px}
.main-content .table td{font-size:13px}.main-content .table th{font-size:11px}
.form-help,.empty-compact{font-size:13px;line-height:1.65}
.home-header>div>p:last-child,.page-hero p:not(.eyebrow),.auditoria-page-subtitle{font-size:14px}
.home-block-heading h2,.card-heading h2{font-size:17px}
.home-action strong,.home-activity-row strong{font-size:13px}
.home-action small,.home-activity-row small,.home-account-list small{font-size:11px}
.home-text-link,.text-button{font-size:12px}
.home-account-list strong,.home-goal>strong{font-size:13px}
.home-margin,.home-month-metric>span:nth-child(2),.home-balance>p,.home-balance-footer{font-size:12px}
.home-balance-top{font-size:10px}.home-balance-footer>span>span{font-size:11px}
.home-balance-breakdown{display:grid;gap:5px;margin-top:14px;color:#c3d9cb;font-size:13px}
.home-balance-breakdown>div{display:flex;justify-content:space-between;gap:12px}
.home-balance-breakdown b{font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap}
.home-balance-footer{gap:12px}.home-balance-footer>span{flex:1}.home-balance-footer>strong{font-size:20px;font-weight:650;white-space:nowrap;font-variant-numeric:tabular-nums}
.home-overview .home-balance>strong.home-available-amount{font-size:clamp(36px,3.8vw,54px);line-height:1.12;margin:18px 0 12px;white-space:normal;overflow-wrap:anywhere}
.home-overview .home-balance-footer{margin-top:auto}
.home-overview-accounts{min-width:0;display:flex;flex-direction:column}
.home-overview-accounts .home-block-heading{margin-bottom:8px}
.home-overview-accounts .home-account-list{flex:1}
.home-overview-accounts .home-account-list>button{padding:10px 0}
.home-overview-accounts .home-account-list b{font-size:15px;white-space:nowrap}
.home-account-total{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--border-color);padding-top:15px;margin-top:6px;font-size:14px;font-weight:650}
.home-account-total strong{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}
.home-month-wide{margin-bottom:20px}
.savings-accounts{margin:20px 0}.savings-explanation{margin:0 0 18px;color:var(--text-secondary);font-size:14px;line-height:1.6}.savings-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.savings-form label{display:grid;gap:6px;font-size:14px;font-weight:600}.savings-form label:nth-child(4){grid-column:1/-1}.savings-form input,.savings-form select{width:100%;min-height:44px;padding:9px 12px;border:1px solid var(--border-color);border-radius:9px;background:var(--bg-primary);color:var(--text-primary);font:inherit}.savings-form .btn{justify-self:start}.savings-legacy-notice{margin:16px 0;line-height:1.6}
@media(max-width:700px){.home-balance-footer{flex-wrap:wrap}.home-balance-footer>span{flex-basis:100%}.home-balance-footer>strong{flex:1}.home-balance-breakdown{font-size:12px}}
@media(max-width:700px){.home-overview-accounts .home-account-list>button{flex-wrap:nowrap}.home-overview-accounts .home-account-list b{width:auto;padding-left:0}.home-detail-aside{grid-template-columns:1fr}}
@media(max-width:700px){.savings-form{grid-template-columns:1fr}.savings-form label:nth-child(4){grid-column:auto}.savings-form .btn{width:100%}}
.home-help,.home-empty p,.home-goals>p{font-size:13px}
.auditoria-workspace .section-header{align-items:flex-end;gap:24px;margin-bottom:28px}
.auditoria-workspace h1{font-size:32px;margin:7px 0 10px}
.auditoria-page-subtitle{max-width:610px;line-height:1.7}
.reconcile-overview{display:grid;grid-template-columns:1.5fr repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}
.reconcile-balance,.reconcile-stat{display:flex;flex-direction:column;align-items:flex-start;min-width:0;padding:23px;border-radius:15px;border:1px solid var(--border-color);background:var(--bg-primary)}
.reconcile-balance{background:#183f40;color:#fff;border-color:#183f40}
.reconcile-symbol{display:grid;place-items:center;width:33px;height:33px;border-radius:10px;background:var(--accent-soft);color:var(--primary-color);margin-bottom:17px}
.reconcile-symbol .ui-icon{width:18px;height:18px}
.reconcile-balance .reconcile-symbol{background:#2b5551;color:#d0e7d8}
.reconcile-warm{background:var(--accent-warm);color:#ae7857}
.reconcile-balance p{font-size:10px;letter-spacing:1.2px;color:#bdd6c7}
.reconcile-balance>strong{font-size:33px;letter-spacing:-1px;font-weight:600;line-height:1.4;white-space:nowrap;font-variant-numeric:tabular-nums;margin:9px 0}
.reconcile-balance>span:last-child{font-size:11px;line-height:1.7;color:#bfd7c8}
.reconcile-stat p{font-size:12px;color:var(--text-secondary);line-height:1.6;margin:0 0 10px}
.reconcile-stat>strong{font-size:28px;font-weight:600;margin-top:auto;font-variant-numeric:tabular-nums}
.reconcile-stat>span:last-child{font-size:11px;color:var(--text-secondary);margin-top:5px;line-height:1.6}
.reconcile-accounts.card{padding:25px}
.reconcile-account-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}
.reconcile-account{display:grid;grid-template-columns:35px minmax(0,1fr);gap:12px;padding:19px;background:var(--bg-secondary);border:1px solid var(--border-color);border-radius:12px}
.reconcile-account-icon{display:grid;place-items:center;width:35px;height:35px;background:var(--bg-primary);border:1px solid var(--border-color);border-radius:10px;color:var(--primary-color)}
.reconcile-account strong{display:block;font-size:14px;font-weight:600;overflow-wrap:anywhere}
.reconcile-account small{display:block;font-size:11px;color:var(--text-secondary);margin-top:3px}
.reconcile-account b{grid-column:1/-1;font-size:25px;font-variant-numeric:tabular-nums;font-weight:600;letter-spacing:-.6px;margin-top:9px}
.reconcile-account-caption{grid-column:1/-1;font-size:11px;color:var(--text-secondary);margin-top:-8px}
.reconcile-account-empty{grid-column:1/-1;display:flex;align-items:center;gap:17px;padding:24px 0}
.reconcile-account-empty>.ui-icon{width:36px;height:36px;color:var(--primary-color)}
.reconcile-account-empty>div{flex:1}.reconcile-account-empty h3{font-size:16px;margin-bottom:5px}.reconcile-account-empty p{font-size:13px;color:var(--text-secondary)}
.reconcile-guide{display:flex;gap:13px;align-items:flex-start;padding:0 4px;margin:0 0 29px}
.reconcile-guide>span{width:30px;flex-shrink:0;color:var(--primary-color)}
.reconcile-guide strong{font-size:13px;font-weight:600}.reconcile-guide p{font-size:12px;color:var(--text-secondary);line-height:1.7;margin-top:3px;max-width:800px}
.auditoria-workspace>.card>.card-header{display:flex;justify-content:space-between;border:0;padding:0 0 20px}.auditoria-workspace>.card>.card-header h3{font-size:18px;margin-top:5px}
.auditoria-workspace .empty-state-description{font-size:13px;color:var(--text-secondary);margin-top:7px}
.auditoria-workspace .auditoria-header{background:var(--bg-primary);padding:18px}.auditoria-workspace .auditoria-header:hover{background:var(--hover-bg)}
.auditoria-workspace .auditoria-fecha{font-size:12px}.auditoria-workspace .auditoria-resumen>span{font-size:12px}
.auditoria-workspace .auditoria-estado{background:var(--accent-soft);color:var(--primary-color)}
.auditoria-workspace .error .auditoria-estado{background:var(--accent-warm);color:var(--warning-color)}
.auditoria-workspace .auditoria-item{border:1px solid var(--border-color);border-left:3px solid var(--border-hover)}
.auditoria-workspace .auditoria-item.success{border-left-color:var(--success-color)}.auditoria-workspace .auditoria-item.error{border-left-color:var(--warning-color)}
.auditoria-workspace .auditoria-detalle{background:var(--bg-secondary)}
.auditoria-workspace .auditoria-notas,.auditoria-workspace .auditoria-actions{background:transparent}
.auditoria-workspace .auditoria-toggle{pointer-events:none}
.auditoria-workspace .auditoria-header{width:100%;border:0;color:var(--text-primary);font:inherit;text-align:left}
.auditoria-workspace .auditoria-header:focus-visible{outline:2px solid var(--primary-color);outline-offset:-3px}
.auditoria-workspace .auditoria-fecha{font-size:15px;font-weight:650;min-width:155px;color:var(--text-primary);font-variant-numeric:tabular-nums}
.auditoria-workspace .auditoria-resumen{gap:10px 18px}
.auditoria-workspace .auditoria-resumen>span{font-size:14px;line-height:1.45}
.auditoria-workspace .auditoria-estado{font-size:12px!important;padding:5px 10px!important}
.auditoria-workspace .auditoria-toggle{flex:0 0 36px;width:36px;height:36px;display:grid;place-items:center;margin-left:auto;border:1px solid var(--border-color);border-radius:9px;background:var(--bg-secondary)}
.auditoria-workspace .auditoria-toggle::after{content:'';width:8px;height:8px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .2s}
.auditoria-workspace .auditoria-header[aria-expanded="true"] .auditoria-toggle::after{transform:translateY(2px) rotate(225deg)}
.auditoria-workspace .auditoria-cuentas h4,.auditoria-workspace .auditoria-notas h4{font-size:15px}
.auditoria-workspace .auditoria-actions .btn{font-size:13px}
#modal-config-cuentas .btn-icon-delete{font-size:13px;color:var(--danger-color);background:transparent}#modal-config-cuentas .btn-icon-delete::after{content:none}
.group-list-actions .btn-icon-delete{font-size:17px}
.group-list-actions .btn-icon-delete::after{content:none}
@media(max-width:1200px){.reconcile-overview{grid-template-columns:repeat(3,minmax(0,1fr))}.reconcile-balance{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;gap:5px}.reconcile-balance .reconcile-symbol{grid-row:1/4;margin:0;grid-column:2}.reconcile-balance strong{margin:0}.reconcile-balance>span:last-child{grid-column:1}.reconcile-account-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.auditoria-workspace .section-header{align-items:flex-start}}
@media(max-width:700px){.auditoria-workspace .section-header{flex-direction:column;gap:17px}.reconcile-overview{gap:8px}.reconcile-stat{padding:15px 11px}.reconcile-stat p{font-size:11px;min-height:36px}.reconcile-stat>span:last-child{font-size:10px}.reconcile-stat strong{font-size:24px}.reconcile-account-grid{grid-template-columns:1fr}.reconcile-accounts.card{padding:19px}.reconcile-account-empty{flex-wrap:wrap;gap:13px;padding:10px 0}.reconcile-account-empty>.btn{width:100%}.reconcile-guide{padding:0}.auditoria-header{flex-wrap:wrap}.auditoria-fecha{flex:1;min-width:0}.auditoria-resumen{flex-basis:100%;order:3}.reconcile-balance>strong{font-size:31px}.reconcile-balance>span:last-child{max-width:260px}.home-block-heading h2{font-size:16px}.home-primary .home-action strong{font-size:11px}.home-month-metric>strong{font-size:21px}.home-margin{font-size:11px}}
@media(max-width:700px){.auditoria-workspace .auditoria-fecha{min-width:0}.auditoria-workspace .auditoria-resumen{order:3;flex-basis:100%;gap:7px 14px}.auditoria-workspace .auditoria-toggle{margin-left:auto}}
