:root{--bg-dark: #07090f;--bg-glass-heavy: rgba(20, 25, 40, .45);--bg-glass-light: rgba(255, 255, 255, .03);--text-primary: #ffffff;--text-secondary: #8b95a5;--text-muted: #5e6673;--accent-blue: #3b82f6;--accent-cyan: #06b6d4;--accent-green: #10b981;--accent-red: #ef4444;--accent-orange: #f59e0b;--border-subtle: rgba(255, 255, 255, .08);--border-highlight: rgba(255, 255, 255, .15);--shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, .5);--radius-sm: 8px;--radius-md: 14px;--radius-lg: 20px;--radius-xl: 30px;--projection-line: rgba(255, 255, 255, .85)}body.light-theme{--bg-dark: #f4f5f7;--bg-glass-heavy: rgba(255, 255, 255, .65);--bg-glass-light: rgba(255, 255, 255, .4);--text-primary: #111827;--text-secondary: #4b5563;--text-muted: #6b7280;--border-subtle: rgba(0, 0, 0, .08);--border-highlight: rgba(0, 0, 0, .15);--shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, .1);background-image:linear-gradient(135deg,#e0c3fc,#8ec5fc);--projection-line: rgba(17, 24, 39, .85)}body.light-theme .badge-nucleo{background:#64748b26!important;color:#334155!important;border-color:#64748b4d!important}*{box-sizing:border-box;margin:0;padding:0}body{font-family:Outfit,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;background-color:var(--bg-dark);background-image:linear-gradient(to bottom,#07090f99,#07090ff2),url(https://images.unsplash.com/photo-1506703719100-a0f3a48c0f86?q=80&w=2000&auto=format&fit=crop);background-size:cover;background-position:center;background-attachment:fixed;color:var(--text-primary);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.5;overflow-x:hidden;min-height:100vh}h1,h2,h3,h4,h5,h6{font-weight:500;letter-spacing:-.02em}.glass-panel{background:var(--bg-glass-heavy);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);box-shadow:var(--shadow-glass)}.glass-panel-inner{background:var(--bg-glass-light);border:1px solid var(--border-subtle);border-radius:var(--radius-md)}.app-wrapper{max-width:1440px;margin:0 auto;padding:1.5rem;display:flex;flex-direction:column;gap:2rem;min-height:100vh}.topbar{display:flex;align-items:center;justify-content:space-between;padding:.75rem 2rem;border-radius:var(--radius-xl);position:relative;z-index:1100}.nav-links{display:flex;gap:2rem;align-items:center}.nav-item{color:var(--text-secondary);text-decoration:none;font-size:.9rem;font-weight:500;transition:color .2s;display:flex;align-items:center;gap:.5rem}.nav-item:hover,.nav-item.active{color:var(--text-primary)}.nav-item.active:before{content:"";display:inline-block;width:6px;height:6px;background-color:var(--accent-blue);border-radius:50%;box-shadow:0 0 8px var(--accent-blue)}.dashboard-grid{display:grid;grid-template-columns:1fr 1fr 1fr;grid-template-rows:auto auto auto;gap:1.5rem}.kpi-shares{grid-column:1 / 2;grid-row:1 / 2}.kpi-savings{grid-column:2 / 3;grid-row:1 / 2}.ticker-board{grid-column:3 / 4;grid-row:1 / 2}.chart-main{grid-column:1 / 3;grid-row:2 / 3}.chart-stats{grid-column:3 / 4;grid-row:2 / 3}.list-transactions{grid-column:1 / 3;grid-row:3 / 4}.list-accounts{grid-column:3 / 4;grid-row:3 / 4}.hover-lift{transition:transform .2s cubic-bezier(.175,.885,.32,1.275),box-shadow .2s ease,border-color .2s}.hover-lift:hover{transform:translateY(-2px);border-color:var(--border-highlight);box-shadow:0 12px 24px -8px #0009}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:var(--border-subtle);border-radius:4px}::-webkit-scrollbar-thumb:hover{background:var(--text-muted)}.nav-dropdown{position:relative;display:inline-block;padding-bottom:.6rem;margin-bottom:-.6rem}.nav-dropdown-content{display:none;position:absolute;background-color:#0b0f19;min-width:170px;box-shadow:0 8px 32px #0009;z-index:1000;border:1px solid var(--border-subtle);border-radius:var(--radius-md);top:100%;left:50%;transform:translate(-50%);padding:.5rem 0;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}.nav-dropdown:hover .nav-dropdown-content{display:block}.nav-dropdown-item{color:var(--text-secondary);padding:.6rem 1.2rem;text-decoration:none;display:block;font-size:.85rem;font-weight:500;transition:all .2s;white-space:nowrap}.nav-dropdown-item:hover{background-color:#ffffff0d;color:var(--text-primary);padding-left:1.4rem}.nav-dropdown-item.active{color:var(--accent-blue);background-color:#3b82f60f}body.light-theme input,body.light-theme select,body.light-theme textarea{color:var(--text-primary)!important;background-color:#0000000a!important;border-color:var(--border-subtle)!important}body.light-theme input::placeholder,body.light-theme textarea::placeholder{color:var(--text-muted)!important;opacity:.7}body.light-theme option{background-color:var(--bg-dark)!important;color:var(--text-primary)!important}body.light-theme [style*="color: #fff"]:not(button):not(a):not(.btn),body.light-theme [style*="color:#fff"]:not(button):not(a):not(.btn),body.light-theme [style*="color: #ffffff"]:not(button):not(a):not(.btn),body.light-theme [style*="color:#ffffff"]:not(button):not(a):not(.btn),body.light-theme [style*="color: white"]:not(button):not(a):not(.btn),body.light-theme [style*="color:rgb(255, 255, 255)"]:not(button):not(a):not(.btn),body.light-theme [style*="color: rgb(255, 255, 255)"]:not(button):not(a):not(.btn){color:var(--text-primary)!important}body.light-theme .glass-panel h1,body.light-theme .glass-panel h2,body.light-theme .glass-panel h3,body.light-theme .glass-panel h4,body.light-theme .glass-panel h5,body.light-theme .glass-panel h6,body.light-theme .glass-panel label,body.light-theme .glass-panel p{color:var(--text-primary)!important}body.light-theme button[style*="background: transparent"][style*="color: #fff"],body.light-theme button[style*="background:transparent"][style*="color:#fff"],body.light-theme button[style*="background: transparent"][style*="color: #ffffff"],body.light-theme button[style*="background:transparent"][style*="color:#ffffff"],body.light-theme button[style*="background: transparent"][style*="color: white"],body.light-theme button[style*="background:transparent"][style*="color:white"],body.light-theme button[style*="background: transparent"][style*="color:rgb(255, 255, 255)"],body.light-theme button[style*="background:transparent"][style*="color:rgb(255, 255, 255)"],body.light-theme button[style*="background: transparent"][style*="color: rgb(255, 255, 255)"],body.light-theme button[style*="background:transparent"][style*="color: rgb(255, 255, 255)"],body.light-theme button[style*="background-color: transparent"][style*="color: #fff"],body.light-theme button[style*="background-color:transparent"][style*="color:#fff"],body.light-theme button[style*="background-color: transparent"][style*="color: #ffffff"],body.light-theme button[style*="background-color:transparent"][style*="color:#ffffff"],body.light-theme button[style*="background-color: transparent"][style*="color: white"],body.light-theme button[style*="background-color:transparent"][style*="color:white"],body.light-theme button[style*="background-color: transparent"][style*="color:rgb(255, 255, 255)"],body.light-theme button[style*="background-color:transparent"][style*="color:rgb(255, 255, 255)"],body.light-theme button[style*="background-color: transparent"][style*="color: rgb(255, 255, 255)"],body.light-theme button[style*="background-color:transparent"][style*="color: rgb(255, 255, 255)"]{color:var(--text-secondary)!important;border-color:var(--border-subtle)!important}.recharts-tooltip-cursor{fill:#ffffff0d!important}body.light-theme .recharts-tooltip-cursor{fill:#0000000a!important}#diagnostico-printable p{font-size:.95rem!important;line-height:1.5!important}#diagnostico-printable li{font-size:.9rem!important;line-height:1.5!important}#diagnostico-printable td,#diagnostico-printable th,#diagnostico-printable table{font-size:.85rem!important}#diagnostico-printable [style*="font-size: 0.78rem"],#diagnostico-printable [style*="font-size:0.78rem"],#diagnostico-printable [style*="font-size: 0.75rem"],#diagnostico-printable [style*="font-size:0.75rem"],#diagnostico-printable [style*="font-size: 0.72rem"],#diagnostico-printable [style*="font-size:0.72rem"]{font-size:.9rem!important;line-height:1.5!important}#diagnostico-printable [style*="font-size: 0.82rem"],#diagnostico-printable [style*="font-size:0.82rem"],#diagnostico-printable [style*="font-size: 0.85rem"],#diagnostico-printable [style*="font-size:0.85rem"]{font-size:.96rem!important;line-height:1.5!important}#diagnostico-printable strong[style*="font-size: 0.75rem"],#diagnostico-printable strong[style*="font-size:0.75rem"]{font-size:.92rem!important}.md-kpi-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem}@media (max-width: 1100px){.md-kpi-grid{grid-template-columns:repeat(2,1fr)}}.md-kpi-card{padding:1.4rem 1.5rem;display:flex;flex-direction:column;gap:.3rem;border-radius:var(--radius-lg);transition:all .25s ease}.md-kpi-icon{width:36px;height:36px;border-radius:10px;display:flex;align-items:center;justify-content:center;margin-bottom:.4rem}.md-kpi-label{font-size:.78rem;color:var(--text-secondary);font-weight:500;margin:0}.md-kpi-value{font-size:1.7rem;font-weight:700;letter-spacing:-.04em;margin:0;line-height:1.1}.md-kpi-sub{font-size:.73rem;margin:0;font-weight:500}.md-row-2{display:grid;grid-template-columns:2fr 1fr;gap:1.25rem}@media (max-width: 1100px){.md-row-2{grid-template-columns:1fr}}.md-cashflow{padding:1.4rem 1.5rem;display:flex;flex-direction:column}.md-budget{padding:1.4rem 1.5rem;display:flex;flex-direction:column;gap:1rem}.md-row-3{display:grid;grid-template-columns:1fr 1fr;gap:1.25rem}@media (max-width: 1100px){.md-row-3{grid-template-columns:1fr}}.md-patrimonio,.md-dreams{padding:1.4rem 1.5rem;display:flex;flex-direction:column;gap:1rem}.md-dream-card{padding:1rem;display:flex;flex-direction:column;gap:0;cursor:default}.md-projection{padding:1.4rem 1.5rem;display:flex;flex-direction:column;gap:.75rem}.md-alerts{padding:1.4rem 1.5rem}.md-pat-item{padding:.9rem 1rem;border-radius:10px}.md-block-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:1rem;gap:1rem}.md-block-title{font-size:1rem;font-weight:600;margin:0 0 .2rem;color:var(--text-primary)}.md-block-sub{font-size:.75rem;color:var(--text-muted);margin:0}.md-btn-primary{background:linear-gradient(135deg,#3b82f6,#8b5cf6);border:none;color:#fff;padding:.5rem 1.1rem;border-radius:8px;font-size:.82rem;font-weight:600;cursor:pointer;transition:opacity .2s,transform .2s;white-space:nowrap}.md-btn-primary:hover{opacity:.88;transform:translateY(-1px)}.md-btn-secondary{background:#ffffff0f;border:1px solid var(--border-subtle);color:var(--text-secondary);padding:.5rem 1.1rem;border-radius:8px;font-size:.82rem;font-weight:500;cursor:pointer;transition:all .2s;white-space:nowrap}.md-btn-secondary:hover{background:#ffffff1a;color:var(--text-primary)}.md-btn-ghost{background:transparent;border:none;color:var(--text-muted);padding:.3rem .5rem;border-radius:6px;font-size:.78rem;font-weight:500;cursor:pointer;display:flex;align-items:center;gap:.2rem;transition:color .2s;white-space:nowrap}.md-btn-ghost:hover{color:var(--text-primary)}body.light-theme .md-kpi-value,body.light-theme .md-pat-item div,body.light-theme .md-dream-card div{color:var(--text-primary)!important}body.light-theme .md-btn-ghost{color:var(--text-secondary)}body.light-theme .md-btn-secondary{background:#0000000a}
