:root{--deep:#152d47;--accent:#26b59b;--muted:#7a879a;--line:#e8edf3;--shadow:0 5px 24px #182d4705;font-family:Inter,"Segoe UI",sans-serif;color:#26364d}
body{background:#f5f7fb}.app{grid-template-columns:220px 1fr}.side{background:#fff;color:#24354c;border-right:1px solid var(--line);box-shadow:none;padding:32px 17px;gap:42px}.brand{padding:0 7px}.brand b{font-size:20px}.brand small{color:#8b96a8;letter-spacing:1.6px;font-size:9px}.brandIcon{background:#16314b;color:#8de1cb;box-shadow:none;border-radius:12px}.nav{gap:9px}.navBtn{color:#8590a1;font-weight:500;border-radius:10px;padding:13px}.navBtn.active{background:#e7f5f1;color:#148774}.navBtn:hover{background:#f0f5f7;transform:none}.navIcon{font-size:18px}.sideFooter{border-color:var(--line);color:#8a95a5;font-size:11px}.sideFooter .btn{color:#607185}.main{padding:34px 36px 70px;max-width:1530px}.eyebrow{color:#8c98a8;letter-spacing:2px;font-size:10px}.title{font-size:29px;letter-spacing:-1px;font-weight:650}.sub{font-size:12px;color:#8a95a5}.head{margin-bottom:28px}.btn{border-radius:9px;font-weight:600}.btn.primary{background:#19344e;box-shadow:none}.btn.mint{background:#e9f8f3}.topline{font-size:12px;margin-bottom:18px}.period{box-shadow:none;padding:4px;border-radius:9px}.period input{font-size:12px}.period button{background:#f6f8fb}.cards{gap:16px}.metric{border-radius:14px;padding:21px;border:1px solid var(--line);box-shadow:none}.metric .k{font-weight:500;color:#8290a2}.metric .v{font-weight:650;font-size:26px!important;letter-spacing:-.8px;color:#1d334d}.metric .hint{font-size:10px}.metric .sym{background:#edf7f3;color:#2d9f86;width:28px;height:28px;display:grid;place-items:center;border-radius:8px}.panel{border-radius:15px;border-color:var(--line);box-shadow:none;padding:23px}.panelTitle h2{font-size:15px;font-weight:650;letter-spacing:-.3px}.panelTitle small{font-size:10px}.sectionSpace{margin-top:20px}.smallLink{font-size:11px;font-weight:600;color:#238e7c}.dashLayout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(290px,1fr);gap:20px}.dashMain,.dashAside{display:grid;align-content:start;gap:20px}.dashLayout .sectionSpace{margin-top:0}.dashLayout .smartCard{min-height:210px}.dashLayout .smartNumber{font-size:27px}.overviewHero{background:#19344e;color:#fff;border-radius:16px;padding:26px 28px;position:relative;overflow:hidden;min-height:185px;display:flex;justify-content:space-between;gap:20px}.overviewHero:after{content:'';position:absolute;right:-100px;top:-130px;width:380px;height:380px;border:45px solid #ffffff04;border-radius:50%;pointer-events:none}.overviewHero .heroEyebrow{color:#adc4d7;font-size:10px;letter-spacing:1.6px}.overviewHero .heroAmount{font-size:39px;font-weight:550;letter-spacing:-1.5px;margin:15px 0 10px}.overviewHero p{font-size:11px;color:#a5bdcf;max-width:330px;line-height:1.6;margin:0}.overviewHero .heroLinks{margin-top:16px}.heroLinks button{border:0;background:transparent;color:#8de1cb;padding:0;font-size:11px}.heroRingBox{width:140px;flex-shrink:0;align-self:center}.heroRing{width:115px;height:115px;background:conic-gradient(#8de1cb var(--pct),#ffffff12 0)}.heroRingInside{background:#19344e;width:92px;height:92px}.heroRingInside b{font-size:24px}.heroRingInside span{font-size:9px;color:#afc5d3}.heroRingBox>small{display:none}.smartCard{background:linear-gradient(120deg,#203e57,#356871);box-shadow:none;border-radius:15px;padding:23px}.smartCard.tone1{background:linear-gradient(120deg,#365258,#7d9a8f)}.smartCard.tone2{background:linear-gradient(120deg,#424560,#7d7c9c)}.smartLabel{font-size:10px;color:#c2d6db}.smartName{font-size:17px;font-weight:550}.smartStats{border:0}.smartStats strong{font-size:12px}.smartBottom{font-size:10px}.subtleAlert{font-size:10px;background:#f4f8f7;border-color:#e4eeeb;color:#82918e;line-height:1.6}.quick{flex-direction:column}.quick input{background:#f6f8fb;border-color:#e9edf2;font-size:12px}.quick .btn{align-self:flex-start}.item{padding:15px 0}.itemTitle{font-size:12px}.itemMeta{font-size:10px}.itemAmount{font-size:12px}.itemIcon{background:#f0f4fa;border-radius:11px;font-size:16px}.flowViz{border:0;background:transparent;padding:0}.flowVizHeader{margin-bottom:12px}.flowVizHeader strong{font-size:13px}.flowVizHeader small{font-size:10px}.flowPlot{background:repeating-linear-gradient(to top,transparent 0,transparent 49px,#edf1f5 50px);border-bottom:1px solid #edf1f5}.flowColumn{border:0;border-radius:7px;transition:background .15s}.flowColumn:hover,.flowColumn:focus-visible{background:#edf7f4}.flowStackCredit{background:#5bbaa6}.flowStackDirect{background:#bdcddd}.flowBarContainer{width:28px;border-radius:5px 5px 0 0}.flowValue{font-size:10px;color:#718599}.flowTick{font-size:10px}.legendNew{font-size:10px}.miniNote,.sectionIntro,.help{font-size:11px}.trendChart{height:205px;display:grid;grid-template-columns:repeat(6,1fr);gap:14px;align-items:end;padding:12px 0 0;background:repeating-linear-gradient(to top,transparent 0,transparent 44px,#edf1f5 45px)}.trendMonth{border:0;background:none;height:100%;display:flex;flex-direction:column;align-items:center;justify-content:end;gap:10px;border-radius:7px;min-width:0;color:#8290a3}.trendMonth:hover,.trendMonth:focus-visible,.trendMonth.selected{background:#eaf4f180}.trendBars{display:flex;align-items:end;gap:5px;height:150px;width:100%;justify-content:center}.trendBars i{width:13px;border-radius:4px 4px 0 0;background:#68bba7;min-height:2px}.trendBars .out{background:#c7d4e2}.trendMonth span{font-size:10px;margin-bottom:8px}.chartDetail{background:#f7f9fc;border-radius:9px;padding:12px 14px;color:#6e8195;font-size:11px;line-height:1.7;margin-top:15px;min-height:56px}.legendNew i.legendCredit{background:#68bba7}.legendNew i.legendDirect{background:#c7d4e2}.yearMonth{border:0;background:transparent;cursor:pointer;padding:0;border-radius:7px}.yearMonth:hover,.yearMonth:focus-visible{background:#eaf4f1}.yearBars i{background:#68bba7}.yearBars i.expense{background:#c7d4e2}.yearChart{height:230px}.timelineMonth:target{outline:3px solid #a1e4d4}.previewBadge{position:sticky;top:0;z-index:95;background:#dff4ea;color:#286b58;padding:8px 20px;text-align:center;font-size:11px;letter-spacing:.2px}.previewBadge+.app .side{top:30px;height:calc(100vh - 30px)}
/* Dirección visual: ejecutivo / azul noche y grafito. */
:root{color-scheme:dark;--deep:#c2cedb;--accent:#c2cedb;--muted:#909aa7;--line:#2a3039;--panel:#1b2028;--shadow:none;color:#eef2f6;background:#11151b}
body{background:#11151b;color:#eef2f6}.side{background:#151a21;border-color:#282f38;color:#f3f5f6}.brandIcon{background:#c2cedb;color:#17221b}.brand small{color:#697482}.navBtn{color:#8994a2}.navBtn.active{background:#c2cedb;color:#17221b}.navBtn:hover{background:#29352a;color:#c2cedb}.sideFooter{border-color:#2b323b;color:#7f8c9b}.sideFooter .btn{color:#b6c0cc}.eyebrow{color:#b9d98b}.title{color:#f3f5f8;font-size:34px;font-weight:600;letter-spacing:-1.4px}.sub,.muted{color:#929daa}.btn{background:#222a34;color:#e0e7ed;border-color:#353f4b;box-shadow:none}.btn:hover{background:#303b46;border-color:#718067}.btn.primary{background:#c2cedb;color:#19241b;border-color:#c2cedb}.btn.primary:hover{background:#e0e7ef}.btn.mint{background:#304132;color:#c2cedb;border-color:#40543b}.period{background:#1b2028;border-color:#303844}.period input{background:#1b2028;color:#e0e7ed}.period button{background:#2a323d;color:#cdd6e1}.metric{background:#1b2028;border-color:#2b323d;padding:23px}.metric .k{color:#9ba6b4}.metric .v,.metric:not(.big) .v{color:#f2f5f7;font-size:28px!important;font-weight:550}.metric .hint{color:#798592}.metric .sym{background:#2c3729;color:#a9bbce}.metric.big{background:#c2cedb;color:#18261b;border-color:#c2cedb}.metric.big .k,.metric.big .v,.metric.big .hint{color:#233621}.panel{background:#1b2028;border-color:#2b323d}.panelTitle h2{color:#edf1f5}.panelTitle small{color:#7f8c9b}.smallLink{color:#afc2d6}.overviewHero{background:#c2cedb;color:#1a2a1c;min-height:210px;padding:30px}.overviewHero .heroEyebrow{color:#4f663b}.overviewHero .heroAmount{font-size:46px;letter-spacing:-2px;color:#1b2a1c}.overviewHero p{color:#526943}.heroLinks button{color:#233b20;font-weight:650}.overviewHero:after{border-color:#fff2}.heroRing{background:conic-gradient(#243f28 var(--pct),#adc86f 0)}.heroRingInside{background:#c2cedb;color:#263b22}.heroRingInside span{color:#547041}.heroRingInside b{color:#20371f}.smartCard{background:radial-gradient(ellipse at top right,#62749688,transparent 65%),linear-gradient(120deg,#283957,#18263d);border:1px solid #526584;border-radius:17px;min-height:220px;color:#f0f4ff}.smartCard.tone1{background:radial-gradient(ellipse at top right,#9d827977,transparent 65%),linear-gradient(120deg,#574852,#2d2b38);border-color:#74616a}.smartCard.tone2{background:linear-gradient(120deg,#3b5145,#1d332b);border-color:#58705f}.smartLabel{color:#adbbcf}.smartName{color:#f0f4ff}.smartNumber{color:#fff}.smartStats span,.smartBottom{color:#aebcd0}.smartStats strong{color:#e9eff7}.cardPill{background:#ffffff12;border-color:#ffffff26;color:#d9e4f4}.bankMark{color:#c2cedb}.cc-track{background:#ffffff19}.cc-track i{background:#c2cedb}.editBank{color:#f2f6fa;background:#ffffff12;border:1px solid #ffffff25}.trendChart{background:repeating-linear-gradient(to top,transparent 0,transparent 44px,#2c333c 45px)}.trendBars i{background:#c2cedb}.trendBars .out{background:#7189a6}.trendMonth{color:#929fb0}.trendMonth:hover,.trendMonth:focus-visible,.trendMonth.selected{background:#a9bbce0b}.chartDetail{background:#151a21;color:#a6b2c0;border:1px solid #303844}.chartDetail strong{color:#c2cedb}.legendNew{color:#9ca9b9}.legendNew i.legendCredit{background:#c2cedb}.legendNew i.legendDirect{background:#7189a6}.flowPlot{background:repeating-linear-gradient(to top,transparent 0,transparent 49px,#2c333c 50px);border-color:#343b45}.flowColumn:hover,.flowColumn:focus-visible{background:#ffffff09}.flowStackCredit{background:#c2cedb}.flowStackDirect{background:#7189a6}.flowValue,.flowTick{color:#a6b3c3}.flowVizHeader strong{color:#dbe3ed}.flowVizHeader small,.flowCount{color:#8e9dab}.flowCount{background:#29313b}.help,.miniNote,.sectionIntro,.footerMsg{color:#8795a5}.quick input,.field,.searchInput,.f input,.f select,.f textarea{background:#151a21;color:#eef2f6;border-color:#343f4b}.item{border-color:#303741}.itemIcon{background:#283342;color:#b8c8de}.itemIcon.in{background:#30402e;color:#c2cedb}.itemTitle{color:#e4ebf4}.itemMeta{color:#8291a4}.itemAmount{color:#e1e9f3}.itemAmount.in{color:#b8ccde}.bar{background:#303945}.bar>i{background:#879fb8}.barline{color:#afbbca}.subtleAlert,.notice,.flowHint{background:#232d27;border-color:#3a4839;color:#adbd9f}.empty{border-color:#3c4754;color:#97a6b7}.chip{background:#303946;color:#afbdce}.chip.green{background:#35462e;color:#c5d4e3}.modal{background:#1b222c;color:#eef2f6}.modalHead h2,.f label{color:#dce6f2}.close{background:#303c49;color:#c7d4e6}.tableWrap th{color:#8f9fb2;border-color:#394451}.tableWrap td{border-color:#2b3541;color:#c5d1df}.tableWrap td strong{color:#e5edf5}.timelineMonth{background:#1b2028;border-color:#323c48}.timelineMonthTitle strong{color:#e2eaf4}.timelineMonthTitle b{color:#c2cedb}.timelineLine{border-color:#313b47}.timelineLine strong{color:#dbe4ef}.timelineLine .amount{color:#c2cedb}.yearBars i{background:#c2cedb}.yearBars i.expense{background:#7189a6}.yearBars i.saving{background:#c2cedb}.yearBars i.negative{background:#e49b98}.yearMonth:hover,.yearMonth:focus-visible{background:#ffffff08}.yearChart{border-color:#343d48}.yearLegend{color:#9ca9b9}.yearLegend i{background:#c2cedb}.yearLegend .out i{background:#7189a6}.annualTotal{background:#2d3a2b}.balanceTools select{background:#202833;color:#dce6f2;border-color:#3b4755}.pillSwitch{background:#121820}.pillSwitch button{color:#98a8ba}.pillSwitch button.selected{background:#c2cedb;color:#23351d}.bulletBox{border-color:#35404c}.settingArea p{color:#9eacbd}.previewBadge{background:#293924;color:#c2cedb;border-bottom:1px solid #405237}.mobileBar{background:#171d25;border-color:#343d48}.mobileBar button{color:#8c9bad}.mobileBar button.active{color:#c2cedb}.authGate{background:radial-gradient(ellipse at top left,#344534,transparent 65%),#11151b}.authCard{background:#1b222b;border-color:#35413e}.authCard h1{color:#edf4e7}.authCard input{background:#111820;color:#f1f5ef;border-color:#3a4945}.authCard label,.authCard p{color:#a6b3b2}.authCard button.full{background:#c2cedb;color:#23321d}.authLogo{background:#c2cedb;color:#23321d}.authActions button{color:#b3c5d8}.authFoot{border-color:#34423b;color:#859888}
@media(min-width:1450px){.main{padding:40px 48px}.dashLayout{grid-template-columns:minmax(0,1.8fr) minmax(320px,1fr)}}
@media(max-width:1120px){.app{grid-template-columns:190px 1fr}.main{padding:28px 24px 80px}.dashLayout{grid-template-columns:1fr}.dashAside{grid-template-columns:1fr 1fr}.heroRingBox{width:130px}}
@media(max-width:680px){.app{display:block}.main{padding:23px 15px 105px}.title{font-size:25px}.head{margin-bottom:20px}.dashAside{grid-template-columns:1fr}.overviewHero{padding:23px;gap:8px}.overviewHero .heroAmount{font-size:30px}.overviewHero p{font-size:10px}.heroRingBox{width:90px}.heroRing{width:82px;height:82px}.heroRingInside{width:64px;height:64px}.heroRingInside b{font-size:19px}.heroRingInside span{font-size:7px}.metric{padding:15px 12px}.metric .v{font-size:20px!important}.metric .k{font-size:10px}.metric .sym{width:23px;height:23px;font-size:14px}.cards{gap:10px}.panel{padding:20px 16px}.trendChart{gap:4px}.flowBarContainer{width:18px}.smartGrid{grid-template-columns:1fr}.mobileBar button.active{color:#218d76}.flowVizHeader{align-items:start}.previewBadge{font-size:10px;padding:7px 10px}.flowValue{font-size:9px}}

.navBtn.active{background:#29394c;color:#e1e9f2}.navBtn:hover{background:#233042;color:#c6d4e4}.overviewHero{background:linear-gradient(110deg,#26384e,#1d2c40);border:1px solid #41536b;color:#f1f4f8}.overviewHero .heroEyebrow{color:#a1b1c5}.overviewHero .heroAmount{color:#f4f6f9}.overviewHero p{color:#a4b3c6}.heroLinks button{color:#c1d1e4}.heroRing{background:conic-gradient(#8fa8c4 var(--pct),#35475e 0)}.heroRingInside{background:#23344a;color:#e1e8f1}.heroRingInside b{color:#e1e8f1}.heroRingInside span{color:#a3b4ca}.metric .sym{background:#293647;color:#aabed5}.btn.primary{background:#b8c7d8;color:#182435;border-color:#b8c7d8}.btn.primary:hover{background:#d4deea}.smartCard,.smartCard.tone1,.smartCard.tone2{background:linear-gradient(120deg,#273341,#1d2632);border:1px solid #465363;box-shadow:none}.smartCard.tone1{background:linear-gradient(120deg,#35383d,#24282e);border-color:#51565e}.smartCard .bankMark{color:#adbed1}.notice,.subtleAlert,.flowHint{background:#222c39;border-color:#39485a;color:#aab9cc}.chip.green,.btn.mint{background:#2a394c;color:#c1d1e3;border-color:#40526a}.previewBadge{background:#202c3c;color:#aabed5;border-color:#3b4b61}.authGate{background:#151c27}.authLogo,.authCard button.full{background:#b8c7d8;color:#1c2b3f}.authActions button{color:#b8c7d8}.authFoot{border-color:#394556}.title{font-weight:550}.metric,.panel,.overviewHero{border-radius:10px}.smartCard{border-radius:12px}.overviewHero .heroAmount{font-weight:500}.heroEyebrow{letter-spacing:2px}
.navBtn.active{background:#b4ce55;color:#233019}.navBtn:hover{background:#30402e;color:#d9e8a7}.brandIcon{background:#b4ce55;color:#24331b}.eyebrow{color:#b4ce55}.btn.primary{background:#b4ce55;color:#253118;border-color:#b4ce55}.btn.primary:hover{background:#c9df7b}.overviewHero{background:radial-gradient(ellipse at right top,#57764b55,transparent 65%),linear-gradient(110deg,#233c37,#1d2c36);border-color:#506444}.heroRing{background:conic-gradient(#b4ce55 var(--pct),#3b5145 0)}.heroRingInside{background:#263d36}.heroRingInside b{color:#d4e799}.heroLinks button,.smallLink{color:#b4ce55}.metric .sym{background:#333f2b;color:#c4db7b}.trendBars i,.flowStackCredit,.yearBars i{background:#b4ce55}.yearBars i.expense{background:#7894ab}.legendNew i.legendCredit,.yearLegend i{background:#b4ce55}.cc-track i{background:#b4ce55}.smartCard{background:radial-gradient(ellipse at top right,#79926333,transparent 70%),linear-gradient(120deg,#31473d,#202e31);border-color:#58694d}.smartCard.tone1{background:radial-gradient(ellipse at top right,#b8a07122,transparent 70%),linear-gradient(120deg,#3c3d3c,#272c32);border-color:#686454}.smartCard .bankMark{color:#c6da89}.chartDetail strong,.itemAmount.in,.timelineMonthTitle b,.timelineLine .amount{color:#c4db7b}.chip.green{background:#34422d;color:#cbdf91}.overviewHero,.panel{border-radius:15px}.categoryDonut{width:178px;height:178px;border-radius:50%;display:grid;place-items:center;flex-shrink:0;box-shadow:0 8px 28px #0002;transform:rotate(-.01deg)}.donutCenter{width:123px;height:123px;border-radius:50%;background:#1b2028;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;box-shadow:0 0 0 5px #1b2028}.donutCenter span{font-size:8px;letter-spacing:1.3px;color:#93a298}.donutCenter strong{font-size:25px;font-weight:550;color:#e6eddf;letter-spacing:-1px}.donutCenter small{font-size:9px;color:#8e9aa7}.donutLayout{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:24px;margin:26px 0}.donutLegend{display:grid;gap:6px;flex:1;min-width:140px}.donutChoice{display:flex;align-items:center;gap:8px;border:1px solid transparent;background:transparent;border-radius:7px;color:#a8b4c3;padding:8px;text-align:left;width:100%;font-size:11px}.donutChoice i{width:8px;height:8px;border-radius:50%;flex-shrink:0}.donutChoice span{flex:1}.donutChoice b{color:#d9e2ed;font-weight:500}.donutChoice:hover,.donutChoice.selected{background:#b4ce5512;border-color:#b4ce5544}.previewBadge{color:#c7d9a0}.mobileBar button.active{color:#b4ce55}@media(max-width:680px){.donutLayout{gap:22px}.donutLegend{min-width:120px}.categoryDonut{width:166px;height:166px}.donutCenter{width:114px;height:114px}}
/* Azul gris como base; oliva como acento. */ .overviewHero{background:radial-gradient(ellipse at right top,#7189a622,transparent 65%),linear-gradient(110deg,#2b4059,#1f2e43);border-color:#485c75}.heroRingInside{background:#293e55}.heroRing{background:conic-gradient(#b4ce55 var(--pct),#455970 0)}.smartCard{background:radial-gradient(ellipse at top right,#94abc333,transparent 70%),linear-gradient(120deg,#344a63,#223247);border-color:#60748d}.smartCard.tone1{background:radial-gradient(ellipse at top right,#9baec122,transparent 70%),linear-gradient(120deg,#424d5c,#2b3543);border-color:#657181}.smartCard.tone2{background:linear-gradient(120deg,#3a4c61,#253447);border-color:#5b6d83}.navBtn.active{background:#2d4056;color:#edf3fa;box-shadow:inset 3px 0 #b4ce55}.navBtn.active .navIcon{color:#c4db7b}.metric .sym{background:#2b3b4e;color:#b9cadd}.panel{background:#1d2530;border-color:#333f4e}.donutCenter{background:#1d2530;box-shadow:0 0 0 5px #1d2530}.trendBars .out,.flowStackDirect,.yearBars i.expense{background:#829bb7}.legendNew i.legendDirect,.yearLegend .out i{background:#829bb7}

/* Resumen mensual: superficies pastel y desgloses accesibles. */
.cards:has(.summaryMetric){align-items:start}.summaryMetric{min-width:0;padding:0!important;overflow:hidden;color:#263442}.summaryMetric summary{padding:22px;cursor:pointer;list-style:none}.summaryMetric summary::-webkit-details-marker{display:none}.summaryMetric summary:focus-visible{outline:3px solid #52738f;outline-offset:-4px;border-radius:10px}.summaryMetric.tone-income{background:#deeee3;border-color:#c0d9c7}.summaryMetric.tone-expense{background:#f3e4db;border-color:#dfc7ba}.summaryMetric.tone-cards{background:#e6e1f2;border-color:#cec3e3}.summaryMetric.tone-saving{background:#dfeaf4;border-color:#bccfdf}.summaryMetric .k,.summaryMetric .hint,.summaryMetric .v{color:#293e4b!important}.summaryMetric .sym{background:#ffffff70;color:#3d5361}.expandHint{display:flex;justify-content:space-between;font-size:11px;margin-top:16px;color:#415968}.summaryMetric[open] .chevron{transform:rotate(180deg)}.metricBreakdown{padding:0 16px 16px;border-top:1px solid #61717e30;font-size:12px;overflow-wrap:anywhere}.metricBreakdown p{color:#405766}.breakdownRow{display:flex;justify-content:space-between;align-items:start;gap:12px;padding:9px 0;border-bottom:1px solid #7b899630}.breakdownRow b{white-space:nowrap}.breakdownRow.child{font-size:11px;padding-left:10px}.breakdownRow.total{border-bottom:0;border-top:1px solid #74838c;margin-top:10px}.hierarchyFilters{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:18px}.hierarchyFilters label{display:grid;gap:6px;flex:1;min-width:140px;font-size:12px}.hierarchyFilters select{width:100%;padding:10px;background:#151a21;color:#eef2f6;border:1px solid #465363;border-radius:8px}.subcategoryItems{margin-top:20px}.subcategoryItems .breakdownRow{align-items:center}.smartCard.tone1{background:linear-gradient(120deg,#5b4d60,#343044);border-color:#89768e}.smartCard.tone2{background:linear-gradient(120deg,#3c5c59,#293f43);border-color:#6f9690}@media(max-width:680px){.summaryMetric summary{padding:15px 12px}.metricBreakdown{padding:0 10px 12px}.breakdownRow{flex-wrap:wrap;gap:5px}.summaryMetric .v{font-size:20px!important}.hierarchyFilters label{min-width:100%}}

.summaryMetric[style*="--chosen-surface"],.smartCard.customColor{background:var(--chosen-surface)!important;color:var(--chosen-ink)!important;border-color:var(--chosen-ink)}.summaryMetric[style*="--chosen-surface"] summary *,.summaryMetric[style*="--chosen-surface"] .metricBreakdown *,.smartCard.customColor *{color:var(--chosen-ink)!important}.smartCard.customColor .cc-track i{background:var(--chosen-ink)}.f input[type="color"]{width:100%;height:48px;padding:5px;cursor:pointer}

.fundGrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:18px}.fundAmount{display:block;font-size:28px;margin:18px 0;color:#edf3fa}.fundCard progress{width:100%;height:12px;accent-color:#b4ce55}.fundHistory{margin-top:20px}.fundHistory summary{cursor:pointer;padding:12px 0}.nav{gap:4px}.side{gap:24px}.navBtn{padding:11px}.mobileBar{overflow-x:auto;justify-content:flex-start}.mobileBar button{flex:0 0 65px}@media(max-width:680px){.fundAmount{font-size:25px}.dataActions{flex-wrap:wrap}}

.chartSwitch{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 18px}.chartSwitch button{padding:10px 14px;background:#151c25;color:#a8b8c9;border:1px solid #435165;border-radius:8px;cursor:pointer}.chartSwitch button.selected{background:#c5d6e7;color:#162a3d}.metricChoice{text-align:left;width:100%;cursor:pointer;min-width:0}.metricChoice[aria-pressed="true"]{outline:2px solid #b4ce55;outline-offset:2px}.yearMonth.selected,.flowColumn.selected{background:#b4ce5520;outline:1px solid #b4ce55}.chartBreakdown{margin-top:14px}.chartBreakdown details{border-top:1px solid #58657755;padding:10px 0}.chartBreakdown summary{cursor:pointer;font-weight:650}.chartBreakdown .child{padding-left:14px;font-size:11px}.trendBars i.negative{background:#e49b98}.categoryDonut{border:0;padding:0;cursor:pointer}.categoryDonut:focus-visible,.chartSwitch button:focus-visible{outline:3px solid #c8dcf5;outline-offset:4px}.chartDetail h3{font-size:12px;margin-top:18px}#annualChart{scroll-margin-top:20px}.projectCol{background:transparent;border:0;color:inherit}@media(max-width:680px){.chartSwitch{gap:6px}.chartSwitch button{padding:10px;font-size:11px}.metricChoice .v{font-size:19px!important}.chartBreakdown .breakdownRow{gap:6px}}

.heroRing{border:0;padding:0;cursor:pointer}.creditChartButton,.fundProgressButton{display:block;width:100%;border:0;background:transparent;padding:10px 0;cursor:pointer;color:inherit;text-align:left}.creditChartButton .cc-track{display:block}.fundProgressButton span{display:block;font-size:11px;margin-top:7px}.creditChartButton:focus-visible,.fundProgressButton:focus-visible,.heroRing:focus-visible{outline:3px solid #b4ce55;outline-offset:3px}.creditBreakdown{font-size:11px;margin:12px 0}

.spendingFocus{display:block;width:100%;text-align:left;border:0;background:transparent;color:inherit;padding:16px 0;cursor:pointer}.spendingFocus .smartLabel,.spendingFocus .smartNumber,.spendingHint{display:block}.spendingFocus .smartNumber{margin:12px 0 10px;font-size:34px}.spendingHint{font-size:11px;color:#c1cedd}.spendingFocus:focus-visible{outline:3px solid #b4ce55;outline-offset:4px;border-radius:6px}.creditReference{margin:16px 0;font-size:11px;color:#b7c5d5}.creditReference summary{cursor:pointer;padding:8px 0}.creditReference p{font-size:10px}.smartStats{gap:18px}.smartBottom>span{font-size:9px;max-width:65%}.customColor .spendingHint,.customColor .creditReference{color:var(--chosen-ink)}
.cardCupo{display:block;width:100%;margin:14px 0;padding:8px 0;border:0;background:transparent;color:#b9c8da;cursor:pointer;text-align:left}.cardCupoLabel{display:flex;justify-content:space-between;gap:8px;font-size:10px;margin-bottom:7px;flex-wrap:wrap}.cardCupoTrack{display:block;height:5px;background:#ffffff25;border-radius:8px;overflow:hidden}.cardCupoTrack i{display:block;height:100%;background:#b4ce55;border-radius:8px}.cardCupo:focus-visible{outline:2px solid #b4ce55;outline-offset:4px}.customColor .cardCupo{color:var(--chosen-ink)}.customColor .cardCupoTrack{background:color-mix(in srgb,var(--chosen-ink) 18%,transparent)}.customColor .cardCupoTrack i{background:var(--chosen-ink)}

.cardCupoLabel{display:block;font-size:12px;font-weight:600;margin-bottom:8px}.cardCupoTrack{height:7px;background:#ffffff35}.cardCupoTrack i{background:#b4ce55}

.accountHistory{margin-top:18px;font-size:12px}.accountHistory summary{cursor:pointer;padding:10px 0}.accountHistory .breakdownRow{overflow-wrap:anywhere}

/* Apariencia elegible. Los colores de tarjetas personales tienen prioridad. */
:root[data-theme]{--surface:#3c3f45;--page:#303237;--sidebar:#292c30;--field:#34373d;--ink:#f2f3f4;--quiet:#c2c5cb;--edge:#565b63;--selected:#484d53;--olive:#c1d46d;--oliveInk:#253019;--bank:#4b5867;--bankInk:#f5f7fa;--series:#9eb7d0;--deep:var(--ink);--muted:var(--quiet);--line:var(--edge);--panel:var(--surface);color-scheme:dark}
:root[data-theme=night]{--surface:#293c53;--page:#1d2d42;--sidebar:#19273a;--field:#23354a;--ink:#f0f5fb;--quiet:#b8c9dd;--edge:#475f78;--selected:#354e68;--bank:#3b5572;--series:#93b5db}
:root[data-theme=slate]{--surface:#465968;--page:#384856;--sidebar:#2f3e4b;--field:#3d4f5e;--ink:#f3f6f9;--quiet:#d0dce6;--edge:#6b7f90;--selected:#526a7e;--bank:#597084;--series:#a6c8e1}
:root[data-theme=mist]{--surface:#fff;--page:#e9eff5;--sidebar:#dce5ee;--field:#f1f5f9;--ink:#24394d;--quiet:#4e667b;--edge:#c5d2de;--selected:#c7d7e7;--olive:#5d741f;--oliveInk:#fff;--bank:#d0deeb;--bankInk:#263e56;--series:#678ba9;color-scheme:light}
html[data-theme],html[data-theme] body{background:var(--page);color:var(--ink)}
html[data-theme] :is(.side,.mobileBar){background:var(--sidebar);border-color:var(--edge);color:var(--ink)}
html[data-theme] :is(.panel,.metric:not(.summaryMetric),.timelineMonth,.modal,.authCard){background:var(--surface);border-color:var(--edge);color:var(--ink)}
html[data-theme] :is(.title,.panel h2,.panel h3,.modalHead h2,.f label,.itemTitle,.tableWrap td,.tableWrap td strong,.timelineMonthTitle strong,.timelineLine strong,.flowVizHeader strong,.fundAmount,.metric:not(.summaryMetric) .v){color:var(--ink)!important}
html[data-theme] :is(.sub,.muted,.help,.miniNote,.sectionIntro,.footerMsg,.settingArea p,.metric:not(.summaryMetric) .k,.metric:not(.summaryMetric) .hint,.panelTitle small,.itemMeta,.flowValue,.flowTick,.legendNew,.yearLegend,.sideFooter,.flowVizHeader small){color:var(--quiet)}
html[data-theme] :is(.btn,.period,.period input,.period button,.quick input,.field,.searchInput,.f input,.f select,.f textarea,.balanceTools select,.hierarchyFilters select,.authCard input){background:var(--field);color:var(--ink);border-color:var(--edge)}
html[data-theme] .btn:hover{background:var(--selected)}
html[data-theme] :is(.btn.primary,.authCard button.full,.authLogo,.brandIcon){background:var(--olive);color:var(--oliveInk);border-color:var(--olive)}
html[data-theme] :is(.navBtn,.mobileBar button){color:var(--quiet)}
html[data-theme] .navBtn.active{background:var(--selected);color:var(--ink);box-shadow:inset 3px 0 var(--olive)}
html[data-theme] .mobileBar button.active,html[data-theme] :is(.smallLink,.eyebrow,.navBtn.active .navIcon,.authActions button){color:var(--olive)}
html[data-theme] .navBtn:hover{background:var(--selected);color:var(--ink)}
html[data-theme] :is(.chartDetail,.pillSwitch,.chartSwitch button,.chip,.itemIcon,.metric:not(.summaryMetric) .sym,.flowCount){background:var(--field);border-color:var(--edge);color:var(--ink)}
html[data-theme] :is(.chartDetail strong,.timelineMonthTitle b,.timelineLine .amount,.itemAmount,.itemAmount.in,.donutChoice b,.donutCenter strong){color:var(--ink)!important}
html[data-theme] :is(.chartSwitch button.selected,.pillSwitch button.selected){background:var(--selected);color:var(--ink)}
html[data-theme] :is(.notice,.subtleAlert,.flowHint,.bulletBox){background:var(--selected);border-color:var(--edge);color:var(--ink)}
html[data-theme] :is(.item,.tableWrap th,.tableWrap td,.timelineLine,.yearChart,.bulletBox,.sideFooter,.authFoot){border-color:var(--edge)}
html[data-theme] :is(.tableWrap th,.donutChoice,.donutCenter span,.donutCenter small,.authCard p,.authCard label){color:var(--quiet)}
html[data-theme] .donutCenter{background:var(--surface);box-shadow:0 0 0 5px var(--surface)}
html[data-theme] .overviewHero{background:var(--selected);border-color:var(--edge);color:var(--ink)}
html[data-theme] .overviewHero :is(.heroAmount,.heroEyebrow,p,.heroLinks button){color:var(--ink)}
html[data-theme] .heroRing{background:conic-gradient(var(--olive) var(--pct),var(--edge) 0)}
html[data-theme] .heroRingInside{background:var(--selected);color:var(--ink)}
html[data-theme] .heroRingInside :is(b,span){color:var(--ink)}
html[data-theme] .smartCard:not(.customColor){background:var(--bank);border-color:var(--edge);color:var(--bankInk)}
html[data-theme] .smartCard:not(.customColor) :is(.smartName,.smartNumber,.smartLabel,.smartStats span,.smartStats strong,.smartBottom,.spendingHint,.bankMark,.cardCupo,.cardPill,.editBank){color:var(--bankInk)}
html[data-theme] .smartCard:not(.customColor) .cardCupoTrack{background:color-mix(in srgb,var(--bankInk) 20%,transparent)}
html[data-theme] .smartCard:not(.customColor) .cardCupoTrack i{background:var(--olive)}
html[data-theme] :is(.trendBars i,.flowStackCredit,.yearBars i,.legendNew i.legendCredit,.yearLegend i){background:var(--olive)}
html[data-theme] :is(.trendBars .out,.flowStackDirect,.yearBars i.expense,.legendNew i.legendDirect,.yearLegend .out i){background:var(--series)}
html[data-theme] :is(.yearBars i.negative,.trendBars i.negative){background:#c95f65}
html[data-theme] .trendChart{background:repeating-linear-gradient(to top,transparent 0,transparent 44px,var(--edge) 45px)}
html[data-theme] .flowPlot{background:repeating-linear-gradient(to top,transparent 0,transparent 49px,var(--edge) 50px);border-color:var(--edge)}
html[data-theme] .authGate{background:var(--page)}
html[data-theme] :is(.annualTotal,.previewBadge){background:var(--selected);color:var(--ink)}
html[data-theme] .close{background:var(--selected);color:var(--ink)}
.appearanceToggle{white-space:nowrap;min-height:40px}

/* Colores personales de cuentas/fondos y control de apariencia separado. */
html[data-theme] .panel.financeColored,.panel.financeColored{background:var(--chosen-surface)!important;color:var(--chosen-ink)!important;border-color:color-mix(in srgb,var(--chosen-ink) 20%,transparent)}
html[data-theme] .panel.financeColored :is(h2,h3,.fundAmount,.help,p,small,strong,b,summary,.breakdownRow),.panel.financeColored :is(h2,h3,.fundAmount,.help,p,small,strong,b,summary,.breakdownRow){color:var(--chosen-ink)!important}
.panel.financeColored .breakdownRow{border-color:color-mix(in srgb,var(--chosen-ink) 25%,transparent)}.panel.financeColored progress{accent-color:var(--chosen-ink)}
.head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:18px 28px}.headTitle{min-width:0}.appearanceCorner{grid-column:2;grid-row:1;justify-self:end;align-self:start;padding-left:14px}.head .headActions{grid-column:1/-1;justify-content:flex-start;flex-wrap:wrap}.appearanceToggle{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:44px;min-height:44px}.appearanceToggle>span[aria-hidden]{font-size:19px}@media(max-width:680px){.head{gap:16px 12px}.appearanceCorner{padding-left:0}.appearanceToggle{padding:9px}.appearanceToggleLabel{display:none}}

.monthlyInstallments{margin:16px 0;padding:12px 0;border-top:1px solid #a7b3c144;font-size:12px}.monthlyInstallments summary{cursor:pointer;font-weight:650;line-height:1.6}.monthlyInstallments .breakdownRow{gap:12px;align-items:start}.monthlyInstallments small{font-size:10px;line-height:1.7;opacity:.9}.monthlyInstallments .breakdownRow>b{white-space:nowrap}.installmentPreview{background:var(--selected,#2b4059);color:var(--ink,#edf3fa);border:1px solid var(--edge,#62748b);border-radius:9px;padding:13px;margin-top:12px;font-size:13px;line-height:1.7}.customColor .monthlyInstallments{color:var(--chosen-ink)}@media(max-width:680px){.monthlyInstallments .breakdownRow{flex-wrap:wrap}.monthlyInstallments small{font-size:11px}}

.seriesLegend{display:flex;flex-wrap:wrap;gap:12px 20px;margin:16px 0;font-size:12px;color:var(--ink)}.seriesLegend span{display:inline-flex;align-items:center;gap:7px}.seriesLegend i{display:inline-block;width:12px;height:12px;border-radius:3px}.seriesLegend .credit{background:var(--olive)}.seriesLegend .direct{background:var(--series)}.seriesLegend .saving{background:#d4a452}.seriesLegend .negative{background:#c95f65}html[data-theme] .yearBars i.saving{background:#d4a452}.dataActions [aria-pressed=true]{outline:2px solid var(--olive)}
