/* Identidad Mi Bolsillo 2.0. Presentación únicamente; colores personales conservados. */
:root[data-appearance=dark]{--surface:#162a42;--field:#10243a;--edge:#37516c;--quiet:#bfcee1;--selected:#274360;--ink:#f4f7fd;--olive:#72d9bc;--oliveInk:#0c302b;--series:#d394ba;--bankInk:#f5f7ff}
:root[data-theme=night]{--page:#091a2e;--sidebar:#061322;--bank:#243d61}
:root[data-theme=slate]{--page:#142b40;--sidebar:#0c2032;--bank:#2e4d6b}
:root[data-theme=graphite]{--page:#222d39;--sidebar:#182430;--surface:#2b3b4c;--selected:#3b5269;--field:#233549;--bank:#364b62}
html[data-appearance=dark] body{background:radial-gradient(ellipse at 100% 0,color-mix(in srgb,var(--page) 60%,#6e80bb),var(--page) 48%,color-mix(in srgb,var(--page) 88%,#000)) fixed;color:var(--ink)}
.main{max-width:1640px;padding:32px 34px 90px;min-width:0}.app{grid-template-columns:218px minmax(0,1fr)}
html[data-appearance=dark] .side{background:linear-gradient(165deg,var(--sidebar),color-mix(in srgb,var(--sidebar) 80%,#000));border-color:var(--edge);padding-top:31px}
.brandIcon{font-size:0!important;background:transparent!important;width:30px!important;height:32px!important;position:relative;border-radius:0!important;box-shadow:none!important;flex:none}
.brandIcon:before{content:'';position:absolute;left:0;bottom:0;width:7px;height:15px;border-radius:4px;background:linear-gradient(#a1edda,#2aad92);box-shadow:10px -5px 0 #4ac4bb,20px -12px 0 #7eacee}
.brand b{letter-spacing:-.6px}.side{gap:30px}.nav{gap:5px}.navBtn{padding:11px 12px;font-size:13px}.navIcon{font-size:17px}
html[data-appearance=dark] .navBtn.active{background:linear-gradient(110deg,#287dbb,#294e88);border:1px solid #609bd174;box-shadow:0 5px 16px #0d74d52b,inset 0 1px 0 #c8e6ff15;color:#fff}
html[data-appearance=dark] .navBtn.active .navIcon{color:#e3f5ff}.navBtn{border:1px solid transparent}
.title{font-size:32px;letter-spacing:-1px}.head .headActions{gap:10px}.head{gap:20px 25px}.headTitle .eyebrow{font-size:10px;letter-spacing:2px}.btn{min-height:37px}
html[data-appearance=dark] .btn.primary{background:linear-gradient(135deg,#358ec1,#2c5f91);border:1px solid #67a7d8;color:#fff;box-shadow:inset 0 1px 0 #ffffff16}
.quickLaunch{background:linear-gradient(130deg,#7b61b8,#453e76)!important;border-color:#a698d6!important;color:#fff!important;box-shadow:0 4px 15px #8571b025;white-space:nowrap}
html[data-appearance=dark] .panel{background:radial-gradient(ellipse at 0 0,#6e99c518,transparent 75%),linear-gradient(145deg,var(--surface),color-mix(in srgb,var(--surface) 82%,#000));border-color:var(--edge);box-shadow:0 9px 23px #00000018,inset 0 1px 0 #ffffff05}
.panel{border-radius:17px}.panelTitle{gap:12px}.panelTitle h2{font-size:16px}.panelTitle>div>small{display:block;margin-top:5px}.smallLink{white-space:nowrap}.panelTitle .brandHeading{flex:1}
.dashboardFocus{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:20px;align-items:stretch}.dashboardCategory{min-width:0}.dashboardCategory .donutLayout{gap:18px;margin:19px 0}.dashboardCategory .categoryDonut{width:clamp(125px,12vw,180px);height:auto;aspect-ratio:1;flex-shrink:0}.dashboardCategory .donutCenter{width:70%;height:70%}.dashboardCategory .donutCenter strong{font-size:24px}.dashboardCategory .donutLegend{min-width:100px}.dashboardCategory .donutChoice{padding:7px 3px;font-size:11px}.dashboardCategory .chartDetail{font-size:11px;padding:11px 0 0}
.dashboardFocus .overviewHero{min-height:250px;height:100%;align-items:center;gap:12px;padding:25px;box-sizing:border-box}.dashboardFocus .heroAmount{font-size:clamp(29px,3.1vw,44px);overflow-wrap:anywhere;letter-spacing:-1.5px}.dashboardFocus .heroRingBox{width:110px}.dashboardFocus .heroRing{width:104px;height:104px}.dashboardFocus .heroRingInside{width:82px;height:82px}.dashboardFocus .heroRingInside b{font-size:24px}.dashboardFocus .heroRingInside span{font-size:9px}.dashboardFocus .heroEyebrow{font-size:10px;line-height:1.5;letter-spacing:1.2px}.dashboardFocus .overviewHero p{max-width:330px;font-size:11px}
html[data-appearance=dark] .overviewHero{background:radial-gradient(ellipse at 8% 0,#9588ef35,transparent 65%),linear-gradient(115deg,#2a426a,#18374e);border:1px solid #5b79a0;color:#fff;box-shadow:0 9px 24px #0002}
html[data-appearance=dark] .overviewHero :is(.heroAmount,.heroEyebrow,p,.heroLinks button){color:#f0f4fc}html[data-appearance=dark] .heroRingInside{background:#233d5b}html[data-appearance=dark] .heroRing{background:conic-gradient(#93dac6 var(--pct),#ffffff14 0)}
.dashboardMetrics .metric{min-width:0;padding:20px;border-radius:16px}.dashboardMetrics .metric .v{font-size:clamp(22px,2.1vw,31px)!important;letter-spacing:-.8px;overflow-wrap:anywhere}.dashboardMetrics .metric .k{font-size:12px}.dashboardMetrics .metric .hint{font-size:10px}.summaryMetric>summary{position:relative}.summaryMetric .sym{flex:none}
html[data-appearance=dark] .summaryMetric:not(.summaryCustom){color:#fff;border:1px solid #ffffff35;box-shadow:0 9px 23px #0002,inset 0 1px 0 #ffffff22}
html[data-appearance=dark] .summaryMetric.tone-income:not(.summaryCustom){background:radial-gradient(ellipse at 0 0,#60edc650,transparent 70%),linear-gradient(125deg,#177c70,#153d49)}
html[data-appearance=dark] .summaryMetric.tone-expense:not(.summaryCustom){background:radial-gradient(ellipse at 0 0,#ffb5d045,transparent 70%),linear-gradient(125deg,#994876,#3c284a)}
html[data-appearance=dark] .summaryMetric.tone-cards:not(.summaryCustom){background:radial-gradient(ellipse at 0 0,#d0bcff50,transparent 70%),linear-gradient(125deg,#7357ad,#30294f)}
html[data-appearance=dark] .summaryMetric.tone-saving:not(.summaryCustom){background:radial-gradient(ellipse at 0 0,#ffdf8750,transparent 70%),linear-gradient(125deg,#ab8137,#49382b)}
html[data-appearance=dark] .summaryMetric:not(.summaryCustom) :is(.k,.v,.hint,.expandHint,.metricBreakdown,.sym){color:#fff!important}html[data-appearance=dark] .summaryMetric:not(.summaryCustom) .metricBreakdown :is(p,b,strong,span){color:#f5f8ff!important}.summaryMetric:not(.summaryCustom) .sym{background:#ffffff12}
.dashboardMetrics .summaryMetric summary{padding:18px}.dashboardMetrics .metric .v{margin:14px 0 8px}.dashboardMetrics .expandHint{margin-top:11px}.head{margin-bottom:23px}
.dashboardConsumption{margin-top:20px;padding:20px 22px}.consumptionGrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.consumptionItem{border:1px solid var(--edge);border-radius:12px;background:color-mix(in srgb,var(--selected) 65%,transparent);color:var(--ink);padding:13px;display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left;min-width:0;cursor:pointer}.consumptionIdentity{display:flex;align-items:center;gap:10px;min-width:0}.consumptionIdentity strong{font-size:12px;overflow-wrap:anywhere;display:block}.consumptionIdentity small{font-size:10px;color:var(--quiet);display:block;margin-top:3px}.consumptionAmount{text-align:right;font-size:15px;font-weight:650;font-variant-numeric:tabular-nums;white-space:nowrap}.consumptionAmount small{font-size:10px;display:block;color:var(--quiet);font-weight:400;margin-top:3px}.consumptionItem .institutionLogo,.consumptionItem .institutionFallback{width:33px;height:33px;border-radius:9px}.consumptionItem:hover{background:var(--selected);border-color:#7ea7cb}
.dashboardLower{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start;margin-top:20px}.dashboardLower .panel{min-width:0}.dashboardLower .chartDetail{font-size:11px}.dashboardLower .flowValue{font-size:10px}.dashboardLower .flowVizHeader small{font-size:11px}
.institutionLogo{width:40px;height:40px;border-radius:11px;background:#fff;padding:4px;object-fit:contain;display:inline-block;flex:none;box-sizing:border-box;box-shadow:0 3px 9px #0002}.institutionFallback{display:inline-grid;place-items:center;flex:none;width:40px;height:40px;border-radius:11px;background:linear-gradient(130deg,#8cb9dc,#567ba6);color:#102944;font-size:17px;font-weight:650}.brandHeading,.brandInline{display:inline-flex;gap:10px;align-items:center;min-width:0}.brandHeading h2{margin:0;overflow-wrap:anywhere}.brandInline .institutionLogo{width:28px;height:28px;border-radius:7px}.smartTop .bankMark{font-size:inherit}.smartIdentity{display:flex;align-items:center;justify-content:space-between;gap:14px}.cardNetworkLogo{width:50px;height:31px;border-radius:7px;padding:4px;object-fit:contain;background:#152945;flex:none}
.smartCard{border-radius:18px}.smartGrid{gap:20px}.smartCard .spendingFocus .smartNumber{font-size:32px}.smartCard .smartName{font-size:18px}.smartCard:not(.customColor){background:radial-gradient(ellipse at 0 0,#b3a2ed35,transparent 75%),linear-gradient(130deg,#534783,#1a2d4b)!important;border:1px solid #867dbb88!important}.smartCard:not(.customColor).tone1{background:radial-gradient(ellipse at 0 0,#efbd7550,transparent 75%),linear-gradient(130deg,#856035,#2c2a43)!important;border-color:#b7956588!important}.smartCard:not(.customColor).tone2{background:radial-gradient(ellipse at 0 0,#86d4d140,transparent 75%),linear-gradient(130deg,#2e6867,#1b3049)!important;border-color:#79a3ab88!important}
.smartCard.customColor{background:radial-gradient(ellipse at top left,#ffffff1c,transparent 65%),linear-gradient(130deg,color-mix(in srgb,var(--chosen-surface) 87%,white),var(--chosen-surface))!important}
.bankAccountsGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.bankUnified .brokerPositions{grid-template-columns:1fr;gap:16px;margin-top:16px}.bankUnified .brokerPosition{padding-top:14px}.bankUnified .fundAmount{font-size:clamp(22px,2vw,30px);letter-spacing:-.7px}.bankUnified .panelTitle{gap:10px}.bankUnified .bankHeading .btn{font-size:11px;min-height:31px;padding:6px 9px}.bankHeading .brandHeading{flex-basis:55%}.bankUnified .bankEquivalent{padding-top:14px;margin-top:17px}.bankUnified .dataActions .btn{font-size:12px}.brokerUnified .brandHeading{flex:1}.brokerUnified .fundAmount{font-size:clamp(25px,2.5vw,35px)}.brokerUnified{overflow:hidden}
html[data-appearance=dark] .bankUnified:not(.financeColored){background:radial-gradient(ellipse at 0 0,#87a6eb28,transparent 75%),linear-gradient(135deg,#294b71,#142941);color:#f5f7ff;border-color:#587fa188}
html[data-appearance=dark] .bankUnified.institutionTheme-galicia:not(.financeColored){background:radial-gradient(ellipse at 0 0,#ffbb5d40,transparent 75%),linear-gradient(135deg,#895036,#282c45);border-color:#b98a6488}
html[data-appearance=dark] .bankUnified.institutionTheme-mp:not(.financeColored){background:radial-gradient(ellipse at 0 0,#58b8ff45,transparent 75%),linear-gradient(135deg,#245e8b,#142c48);border-color:#619bc888}
html[data-appearance=dark] .bankUnified.institutionTheme-bna:not(.financeColored){background:radial-gradient(ellipse at 0 0,#5fe2c340,transparent 75%),linear-gradient(135deg,#24776c,#132e3e);border-color:#51a99b88}
html[data-appearance=dark] .bankUnified:not(.financeColored) :is(h2,h3,.help,p,small,strong,b,summary){color:inherit}
.panel.financeColored{background:radial-gradient(ellipse at 0 0,#ffffff20,transparent 70%),var(--chosen-surface)!important}
.bankCompact .institutionLogo{width:34px;height:34px}.bankCompact .brandHeading h2{font-size:15px}
.reportMetrics{grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:20px}.reportMetrics .metric .v{font-size:28px!important}.reportsGrid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.reportsGrid .panel{min-width:0}.reportsGrid .categoryDonut{width:clamp(140px,12vw,180px);height:auto;aspect-ratio:1}.reportsGrid .donutCenter{width:70%;height:70%}.reportsGrid .donutCenter strong{font-size:23px}.reportsGrid .donutLayout{gap:18px}.reportCategoryDetail{margin-top:16px;padding-top:16px;border-top:1px solid var(--edge)}.reportCategoryDetail h3{font-size:14px}.reportTrend{position:relative;height:215px;border-bottom:1px solid var(--edge);margin-top:25px}.reportTrend svg{position:absolute;inset:0 0 30px;width:100%;height:calc(100% - 30px);overflow:visible}.reportLine{fill:none;stroke:#b894ed;stroke-width:3;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 4px 7px #9e73db40)}.reportTrend circle{fill:#c0a3ef;stroke:#ebdfff;stroke-width:1;vector-effect:non-scaling-stroke}.reportZero{stroke:var(--edge);stroke-width:1;vector-effect:non-scaling-stroke}.reportTrendHits{position:absolute;inset:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr))}.reportTrendHits button{border:0;background:transparent;display:flex;align-items:flex-end;justify-content:center;padding:0 0 5px;color:var(--quiet);font-size:12px;cursor:pointer;min-width:0}.reportTrendHits button:hover{background:#bca6e510;border-radius:7px}.reportTrendRange{display:grid;gap:10px;margin-top:15px;font-size:12px;color:var(--quiet)}.reportTrendRange strong{color:var(--ink);font-size:13px}.reportDueRows{display:grid;gap:8px}.reportDueRow{display:grid;grid-template-columns:150px minmax(0,1fr) 130px;gap:16px;align-items:center;background:transparent;border:1px solid transparent;border-radius:9px;padding:13px;color:var(--ink);cursor:pointer;font-size:12px;text-align:left}.reportDueRow strong{text-align:right;white-space:nowrap}.reportDueRow[aria-pressed=true]{background:var(--selected);border-color:var(--edge)}.reportDueTrack{height:12px;display:block;background:color-mix(in srgb,var(--edge) 35%,transparent);border-radius:5px}.reportDueTrack i{height:100%;display:block;background:linear-gradient(90deg,#8260b8,#c3a2f0);border-radius:5px}
html[data-appearance=dark] :is(.trendBars i,.flowStackCredit,.yearBars i,.legendNew i.legendCredit,.yearLegend i,.seriesLegend .credit){background:linear-gradient(#8be2c6,#3d9e8d)}html[data-appearance=dark] :is(.trendBars .out,.flowStackDirect,.yearBars i.expense,.legendNew i.legendDirect,.yearLegend .out i,.seriesLegend .direct){background:linear-gradient(#e4a5c5,#9c557f)}
html[data-theme=mist] .smartCard:not(.customColor){color:#f5f7ff!important}html[data-theme=mist] .smartCard:not(.customColor) :is(.smartName,.smartNumber,.smartLabel,.smartStats span,.smartStats strong,.smartBottom,.spendingHint,.cardCupo,.cardPill,.editBank){color:#f5f7ff!important}
@media(max-width:1300px){.consumptionGrid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboardFocus{grid-template-columns:1fr 1fr}.dashboardFocus .heroRingBox{width:90px}.dashboardFocus .heroRing{width:88px;height:88px}.dashboardFocus .heroRingInside{width:69px;height:69px}.dashboardFocus .heroRingInside span{font-size:8px}.dashboardFocus .heroRingInside b{font-size:21px}.dashboardFocus .overviewHero{padding:23px}.dashboardCategory .donutLayout{flex-wrap:wrap}.dashboardCategory .donutLegend{min-width:125px}.dashboardCategory .categoryDonut{width:145px}.dashboardLower .chartSwitch{gap:5px}.dashboardLower .chartSwitch button{padding:9px 10px}}
@media(max-width:1100px){.main{padding:26px 25px 95px}.dashboardFocus{grid-template-columns:1fr}.dashboardFocus .overviewHero{min-height:205px}.dashboardFocus .heroRingBox{width:125px}.dashboardFocus .heroRing{width:110px;height:110px}.dashboardFocus .heroRingInside{width:86px;height:86px}.dashboardFocus .heroRingInside span{font-size:10px}.dashboardCategory .donutLayout{flex-wrap:nowrap}.dashboardCategory .categoryDonut{width:180px}.dashboardLower,.reportsGrid{grid-template-columns:1fr}.reportMetrics .metric .v{font-size:24px!important}.bankAccountsGrid{grid-template-columns:1fr}.reportsGrid .donutCenter{width:125px;height:125px}}
@media(max-width:900px){.dashboardMetrics{grid-template-columns:repeat(2,minmax(0,1fr))}.consumptionGrid{grid-template-columns:1fr}.app{grid-template-columns:200px minmax(0,1fr)}}
@media(max-width:680px){.app{display:block}.main{padding:23px 17px 118px}.title{font-size:27px}.head .headActions{gap:8px}.headActions .btn{font-size:12px;padding:11px 12px;min-height:42px}.dashboardMetrics{gap:10px}.dashboardMetrics .metric{padding:16px 13px}.dashboardMetrics .metric .v{font-size:23px!important}.dashboardMetrics .metric .k{font-size:11px}.dashboardMetrics .metric .sym{width:25px;height:25px}.dashboardFocus .overviewHero{min-height:200px;padding:21px;gap:9px}.dashboardFocus .heroAmount{font-size:32px}.dashboardFocus .heroRingBox{width:85px}.dashboardFocus .heroRing{width:82px;height:82px}.dashboardFocus .heroRingInside{width:64px;height:64px}.dashboardFocus .heroRingInside b{font-size:20px}.dashboardFocus .heroRingInside span{font-size:8px}.dashboardFocus .heroEyebrow{font-size:9px}.dashboardConsumption{padding:18px}.dashboardConsumption .panelTitle{align-items:flex-start;flex-wrap:wrap}.dashboardConsumption .panelTitle h2{font-size:15px}.dashboardConsumption .panelTitle small{font-size:11px}.dashboardFocus{gap:17px}.dashboardCategory .donutLayout{gap:15px;flex-wrap:wrap}.dashboardCategory .categoryDonut{width:154px}.dashboardCategory .donutLegend{min-width:120px}.dashboardLower{gap:17px;margin-top:17px}.dashboardFocus .overviewHero p{font-size:11px}.consumptionItem{padding:12px;gap:8px}.consumptionAmount{font-size:15px}.consumptionIdentity strong{font-size:12px}.bankUnified .brandHeading{flex-basis:100%}.bankUnified .fundAmount{font-size:27px}.bankHeading .btn{margin-top:2px}.reportMetrics{grid-template-columns:1fr}.reportMetrics .metric{padding:17px}.reportMetrics .metric .v{font-size:27px!important}.reportDueRow{grid-template-columns:86px minmax(0,1fr) 105px;padding:10px 4px;gap:8px;font-size:11px}.reportsGrid .donutLayout{flex-wrap:wrap}.reportsGrid .donutLegend{min-width:125px}.reportTrend{height:185px}.reportTrendHits button{font-size:11px}.institutionLogo{width:37px;height:37px}.smartCard .spendingFocus .smartNumber{font-size:30px}.smartIdentity .smartName{font-size:18px}.mobileBar{overflow-x:auto;grid-auto-columns:72px;justify-content:start;gap:2px;padding:8px 6px}.mobileBar button{min-width:68px;font-size:9px}.brandHeading h2{font-size:15px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
@media(max-width:430px){.dashboardMetrics{grid-template-columns:1fr}.dashboardMetrics .summaryMetric summary{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 12px;padding:14px 15px;align-items:center}.dashboardMetrics .summaryMetric .k{grid-column:1;grid-row:1;font-size:11px}.dashboardMetrics .summaryMetric .sym{display:none}.dashboardMetrics .summaryMetric .v{grid-column:2;grid-row:1/3;white-space:nowrap;font-size:22px!important;margin:0;letter-spacing:-.7px;overflow-wrap:normal}.dashboardMetrics .summaryMetric .hint{grid-column:1;grid-row:2;font-size:9px;margin:0}.dashboardMetrics .expandHint{grid-column:1/-1;grid-row:3;margin-top:3px;font-size:10px}.dashboardMetrics .metric{padding:0!important}}
.mobileBar{scrollbar-width:none}.mobileBar::-webkit-scrollbar{display:none}
/* Balance chart and monthly consumption: readable at the same scale as their panels. */
.dashboardFocus .heroRingBox{display:flex;width:180px;position:relative;z-index:1}
.dashboardFocus .heroRing{width:180px;height:180px}
.dashboardFocus .heroRingInside{width:140px;height:140px}
.dashboardFocus .heroRingInside b{font-size:38px}
.dashboardFocus .heroRingInside span{font-size:12px;line-height:1.4}
.consumptionItem{padding:18px;min-height:88px}
.consumptionIdentity strong{font-size:15px}
.consumptionIdentity small,.consumptionAmount small{font-size:11px}
.consumptionAmount{font-size:20px}
.consumptionItem .institutionLogo,.consumptionItem .institutionFallback{width:42px;height:42px}
@media(max-width:1300px){.dashboardFocus .heroRingBox{width:142px}.dashboardFocus .heroRing{width:142px;height:142px}.dashboardFocus .heroRingInside{width:110px;height:110px}.dashboardFocus .heroRingInside b{font-size:30px}.dashboardFocus .heroRingInside span{font-size:10px}}
@media(max-width:1100px) and (min-width:681px){.dashboardFocus .heroRingBox{width:180px}.dashboardFocus .heroRing{width:180px;height:180px}.dashboardFocus .heroRingInside{width:140px;height:140px}.dashboardFocus .heroRingInside b{font-size:38px}.dashboardFocus .heroRingInside span{font-size:12px}}
@media(max-width:680px){.dashboardFocus .overviewHero{flex-direction:column;align-items:stretch;gap:20px}.dashboardFocus .heroRingBox{width:140px}.dashboardFocus .heroRing{width:140px;height:140px}.dashboardFocus .heroRingInside{width:108px;height:108px}.dashboardFocus .heroRingInside b{font-size:30px}.dashboardFocus .heroRingInside span{font-size:10px}.consumptionItem{padding:15px;min-height:82px}.consumptionIdentity strong{font-size:14px}.consumptionAmount{font-size:18px}}
