/* Visual scope: Inicio and Mercado only. The portfolio and B2 keep their styles. */
html[data-theme=dark] body:has(#view-inicio.active),html[data-theme=dark] body:has(#view-inicio.active){--bg:#0c0d0f;--panel:#141619;--panel-alt:#1a1d21;--panel-soft:#23272c;--text:#eef0f2;--muted:#9da4ae;--border:#2a2e34;--sidebar:#101214;--accent:#58dbad;--accent-strong:#78e8be;--accent-bg:#153429;--warning-bg:#30291e}
html[data-theme=dark]:has(#view-inicio.active),html[data-theme=dark]:has(#view-inicio.active){--scroll-track:#0c0d0f;--scroll-thumb:#464b52}
body:has(#view-inicio.active) .content,body:has(#view-inicio.active) .content{padding-top:24px}
.v-coin{display:inline-grid;place-items:center;position:relative;width:32px;height:32px;min-width:32px!important;border-radius:50%;background:var(--panel-soft);color:var(--muted);font-size:12px;font-weight:600;flex-shrink:0;overflow:hidden}.v-coin img{position:absolute;inset:1px;width:30px;height:30px}.v-coin img[hidden]{display:none}
.v-asset{display:flex;align-items:center;gap:10px}.v-asset small{display:block;color:var(--muted);font-size:10px;font-weight:400;margin-top:3px}.v-table-scroll{overflow:auto;max-width:100%}
#view-inicio .h-intro{margin-bottom:16px}#view-inicio .h-intro h1{font-size:26px;letter-spacing:-.6px;margin:4px 0!important}#view-inicio .h-intro p{font-size:11px}#view-inicio .h-card{padding:19px;border-radius:12px;box-shadow:none}#view-inicio .h-main-grid{grid-template-columns:minmax(0,1.8fr) minmax(270px,1fr);gap:16px}#view-inicio .h-total{font-size:43px;letter-spacing:-1.5px;margin:12px 0 8px}#view-inicio .h-chart-heading{margin-top:18px}#view-inicio .h-chart{min-height:145px;margin-top:12px}#view-inicio .h-updated{font-size:9px!important}#view-inicio .h-intelligence{background:var(--panel)}#view-inicio .h-intelligence h2{font-size:19px!important;margin:14px 0 5px!important}#view-inicio .h-intelligence-intro{margin-bottom:10px!important}#view-inicio .h-story{padding:12px 0}#view-inicio .h-story-meta{margin-bottom:7px;letter-spacing:.7px}#view-inicio .h-story h3{font-size:13px}#view-inicio .h-detail{margin-top:4px}#view-inicio .h-detail summary{min-height:28px}#view-inicio .h-secondary-grid{grid-template-columns:minmax(0,1.8fr) minmax(270px,1fr);gap:16px;margin-top:16px}#view-inicio .h-allocation-bar{margin:14px 0 8px;height:5px}#view-inicio .h-risk-item{margin-top:12px;padding-top:12px}#view-inicio .h-risk-foot{font-size:9px;margin-top:10px}#view-inicio .h-radar{margin-top:22px}#view-inicio .h-radar-grid{gap:12px;margin-top:12px}#view-inicio .h-opportunity{padding:16px}#view-inicio .h-op-number{font-size:15px}#view-inicio .h-op-label{margin-top:10px}#view-inicio .h-assistant{margin-top:16px}#view-inicio .h-assistant-orb{width:40px;height:40px}#view-inicio .h-questions{margin-top:10px}#view-inicio .h-questions button{font-size:11px;padding:9px 12px}#view-inicio .h-assistant .h-subtitle{display:none}
#view-inicio .e-feature-card{padding:11px 16px;margin-bottom:16px;border-radius:10px;gap:12px;background:var(--panel)}#view-inicio .e-feature-icon{width:32px;height:32px}#view-inicio .e-feature-label{font-size:12px}#view-inicio .e-feature-card p{font-size:11px;margin:3px 0 0}#view-inicio .e-feature-card .e-button{font-size:11px;min-height:34px;padding:8px 10px}
.v-home-assets{border-collapse:collapse;width:100%;font-size:12px}.v-home-assets th,.v-home-assets td{padding:12px 8px;text-align:right;border-bottom:1px solid var(--border);white-space:nowrap;font-weight:500}.v-home-assets th:first-child{padding-left:0;text-align:left}.v-home-assets td:last-child{padding-right:0}.v-home-assets thead th{font-size:9px;color:var(--muted);font-weight:400}.v-home-assets td>small{display:block;font-size:10px;color:var(--muted);margin-top:3px}
#view-inicio .e-page-head{margin-bottom:18px}#view-inicio .e-page-head h1{font-size:27px}#view-inicio .e-toolbar{padding:16px;gap:14px}#view-inicio .e-search{flex:1;min-width:150px}#view-inicio .e-search input{width:100%;min-width:0}.v-market-status{display:flex;align-items:center;gap:10px;font-size:11px;color:var(--muted);margin-bottom:20px;flex-wrap:wrap}.v-market-status details{margin-left:auto;max-width:540px}.v-market-status summary{cursor:pointer;color:var(--accent-strong)}.v-market-status details p{line-height:1.7}.v-market-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(260px,1fr);gap:18px;align-items:start}.v-market-list{overflow:hidden}.v-filter{font-size:10px;display:flex;align-items:center;gap:8px;color:var(--muted)}.v-filter select{font:inherit;font-size:12px;padding:10px;border-radius:8px;border:1px solid var(--border);background:var(--panel);color:var(--text)}.v-market-table{width:100%;border-collapse:collapse;font-size:12px}.v-market-table td,.v-market-table th{text-align:right;padding:13px 12px;border-bottom:1px solid var(--border);white-space:nowrap}.v-market-table th:first-child{text-align:left;padding-left:18px}.v-market-table thead th{font-size:10px;color:var(--muted);font-weight:400}.v-market-table tbody th{font-weight:500}.v-market-table tbody tr:hover{background:var(--panel-alt)}.v-market-table .v-selected{background:var(--panel-alt)}.v-market-table .v-selected th:first-child{box-shadow:inset 2px 0 var(--muted)}.v-market-table .e-text-link{font-size:11px;white-space:nowrap}.v-no-chart{display:inline-flex;gap:6px;align-items:center;color:var(--muted)}.v-no-chart small{font-size:9px}.v-market-detail{padding:22px;border-radius:12px;scroll-margin-top:20px}.v-detail-head{display:flex;align-items:center;gap:11px}.v-detail-head h2{font-size:19px;font-weight:600;margin:0 0 3px}.v-detail-head span{font-size:11px;color:var(--muted)}.v-detail-price{margin:28px 0 20px}.v-detail-price>span,.v-detail-price small{display:block;color:var(--muted);font-size:11px}.v-detail-price strong{font-size:36px;display:block;margin:7px 0}.v-periods{display:flex;gap:4px;border-bottom:1px solid var(--border);padding-bottom:12px}.v-periods button{flex:1;border:0;border-radius:6px;padding:8px 4px;font-size:10px;background:var(--panel-alt);color:var(--muted);cursor:not-allowed}.v-chart-empty{height:190px;display:grid;place-items:center;text-align:center;background:repeating-linear-gradient(0deg,transparent 0,transparent 46px,var(--border) 47px,transparent 48px);margin:15px 0;color:var(--muted)}.v-chart-empty>span{display:flex;flex-direction:column;align-items:center;gap:10px;background:var(--panel);padding:14px}.v-chart-empty strong{font-size:12px;font-weight:500}.v-chart-empty small{font-size:10px;max-width:190px;line-height:1.6}.v-market-metrics{font-size:11px;margin:0}.v-market-metrics>div{display:flex;justify-content:space-between;gap:10px;padding:12px 0;border-top:1px solid var(--border)}.v-market-metrics dt{color:var(--muted)}.v-market-metrics dd{margin:0}
@media(max-width:1100px){.v-market-layout{grid-template-columns:1fr}.v-market-detail{max-width:none}#view-inicio .h-main-grid,#view-inicio .h-secondary-grid{grid-template-columns:minmax(0,1.5fr) minmax(230px,1fr)}.v-home-assets th,.v-home-assets td{padding:11px 6px}}
@media(max-width:760px){#view-inicio .h-main-grid,#view-inicio .h-secondary-grid{grid-template-columns:1fr}#view-inicio .h-intro h1{font-size:23px}#view-inicio .h-card{padding:16px}#view-inicio .h-total{font-size:37px}#view-inicio .h-data-status{text-align:left;font-size:10px}#view-inicio .h-radar-grid{grid-template-columns:1fr}#view-inicio .h-opportunity .h-detail{margin-top:0}#view-inicio .h-intro{gap:10px}#view-inicio .e-feature-card{grid-template-columns:28px 1fr}#view-inicio .e-feature-card .e-button{grid-column:2}#view-inicio .h-chart-controls>span{display:none}.v-home-assets{font-size:11px}.v-home-assets .v-coin{width:25px;height:25px;min-width:25px!important}.v-home-assets .v-coin img{width:23px;height:23px}.v-asset{gap:7px}.v-market-status details{margin-left:0}.v-market-table td,.v-market-table th{padding:12px 8px}.v-market-table th:first-child{padding-left:12px}.v-market-table .v-asset{gap:7px}.v-market-table .v-no-chart{flex-direction:column;gap:0}.v-market-table td:last-child{padding-left:3px}.v-market-table .e-text-link svg{display:none}.v-market-table{font-size:11px}.v-market-table .v-coin{min-width:26px!important;width:26px;height:26px}.v-market-table .v-coin img{width:24px;height:24px}.v-market-list .e-toolbar{flex-direction:column;align-items:stretch}.v-filter{justify-content:space-between}.v-filter select{flex:1}.v-market-detail{padding:18px}}
.v-overview{display:grid;gap:16px;align-content:start}#view-inicio .h-secondary-grid{grid-template-columns:1fr}#view-inicio .h-intelligence>.h-text-button{margin-top:5px}#view-inicio .v-overview .h-card{padding:16px}#view-inicio .v-overview .h-intelligence h2{margin-top:10px!important}#view-inicio .v-overview .h-story{padding:8px 0}

#view-inicio .h-secondary-grid{grid-template-columns:1fr}
