/* fortressBlock Investment V3 — reference-led premium dark dashboard */
.bv-dark{background:#17191c;color:#f5f7fb}.bv-dark *{box-sizing:border-box}.bv-shell{background:#17191c;min-height:100vh;grid-template-columns:220px minmax(0,1fr)!important}.bv-dark .sidebar{width:220px!important;min-width:220px!important;max-width:220px!important;background:#0d0f11!important;border-right:1px solid #24272b!important;padding:20px 14px!important;box-shadow:none!important}.bv-dark .side-top{flex-direction:row!important;justify-content:flex-start!important;padding:4px 8px 22px!important;border-bottom:0!important;gap:10px!important}.bv-dark .brand-logo{width:34px!important;height:34px!important;max-width:34px!important;margin:0!important;border-radius:9px;object-fit:contain}.bv-dark .brand-meta{text-align:left}.bv-dark .brand-meta .name{font-size:17px!important;text-transform:none!important;letter-spacing:-.4px!important}.bv-dark .brand-meta .tag{font-size:9px!important;color:#737982!important}.nav-label{font-size:9px;color:#5f646c;text-transform:uppercase;letter-spacing:.08em;padding:16px 10px 7px}.bv-dark .nav{gap:4px!important;margin-top:0!important}.bv-dark .nav a{border:0!important;background:transparent!important;color:#8f949c!important;border-radius:8px!important;padding:10px 11px!important;font-size:11px!important;text-transform:none!important;letter-spacing:0!important;font-weight:600!important}.bv-dark .nav a:hover,.bv-dark .nav a.active{background:#1a1d20!important;color:#fff!important;transform:none!important}.bv-dark .nav a.active{box-shadow:inset -2px 0 #2ea7ff}.bv-dark .side-bottom{margin-top:auto!important;background:#17191c!important;border:1px solid #272a2e!important;color:#7f858e!important;font-size:10px!important}.bv-main{padding:0 24px 24px!important;background:#121416;min-width:0}.bv-topbar{height:64px;border-bottom:1px solid #23262a;display:flex;align-items:center;justify-content:space-between}.bv-search{width:260px;height:36px;border:1px solid #292d31;border-radius:8px;background:#1a1d20;color:#777d85;display:flex;align-items:center;gap:8px;padding:0 11px;font-size:11px}.bv-search kbd{margin-left:auto;border:1px solid #34383d;border-radius:5px;padding:2px 5px;font:inherit}.bv-top-actions{display:flex;gap:8px;align-items:center}.icon-btn,.mini-avatar{width:34px;height:34px;border:1px solid #292d31;background:#1a1d20;color:#aab0b8;border-radius:8px;display:grid;place-items:center;font-size:12px}.mini-avatar{border-radius:50%;background:#25364b;color:#dceeff;font-weight:800}.welcome-row{display:flex;justify-content:space-between;align-items:flex-end;padding:26px 0 20px;gap:20px}.eyebrow,.panel-kicker{font-size:9px;letter-spacing:.1em;color:#666d76;font-weight:700}.welcome-row h1{font-size:24px;margin:5px 0 4px;letter-spacing:-.8px;color:#f7f8fa}.welcome-row p{margin:0;color:#777d85;font-size:11px}.wave{font-size:20px}.welcome-actions{display:flex;gap:8px}.date-chip{border:1px solid #2a2e32;background:#1a1d20;border-radius:8px;padding:9px 12px;font-size:10px;color:#a2a8b0}.bv-dark .btn{border-radius:8px!important;text-transform:none!important;letter-spacing:0!important;font-size:10px!important;padding:9px 13px!important;border-color:#30343a!important;background:#202327!important;color:#e9edf2!important}.bv-dark .btn.primary{background:#2499e8!important;border-color:#2499e8!important;color:#fff!important}.metric-grid{display:grid;grid-template-columns:1.35fr 1fr 1fr;gap:12px}.metric-card,.panel{background:#191b1e;border:1px solid #292c30;border-radius:12px;box-shadow:none}.metric-card{padding:15px;min-height:122px}.metric-head{display:flex;align-items:center;gap:8px;color:#d9dde2;font-size:11px;font-weight:600}.metric-icon{width:28px;height:28px;border-radius:7px;background:#24272b;display:grid;place-items:center;color:#bfc5cc}.currency,.dots{margin-left:auto;background:#24272b;padding:5px 7px;border-radius:6px;color:#9ca2aa;font-size:9px}.metric-value{font-size:28px;font-weight:750;letter-spacing:-1px;margin:12px 0 6px}.metric-value.small{font-size:23px}.metric-note{font-size:9px;color:#70767e}.positive{color:#3bb88b}.metric-actions{display:flex;gap:7px;margin-top:14px}.metric-actions .btn{flex:1}.dashboard-grid{display:grid;grid-template-columns:1fr 1.7fr;gap:12px;margin-top:12px;align-items:start}.panel{padding:15px;min-width:0}.panel-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.panel h2{font-size:14px;margin:4px 0;color:#eef1f5;text-transform:none;letter-spacing:-.2px}.live-dot,.legend,.view-all{font-size:9px;color:#777d85}.live-dot{color:#43bc91}.legend i{display:inline-block;width:5px;height:10px;border-radius:3px;background:#2ea7ff;margin-right:5px}.investment-amount,.wallet-total{font-size:25px;font-weight:750;margin:20px 0 14px;letter-spacing:-.8px}.plan-meta{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.plan-meta div{background:#202327;border-radius:8px;padding:9px}.plan-meta span{display:block;color:#737981;font-size:8px;margin-bottom:5px}.plan-meta strong{font-size:10px}.progress-track{height:5px;background:#272a2e;border-radius:10px;margin:16px 0;overflow:hidden}.progress-fill{height:100%;width:62%;background:#2ea7ff;border-radius:10px}.panel-foot{display:flex;justify-content:space-between;font-size:9px;color:#767c84}.panel-foot a,.view-all{color:#6abcf5}.overview-panel{grid-column:2;grid-row:1 / span 2}.chart-wrap{height:250px;margin-top:15px;display:flex;border-top:1px solid #23262a;background:repeating-linear-gradient(to bottom,transparent 0,transparent 61px,#222529 62px)}.axis{width:32px;display:flex;flex-direction:column;justify-content:space-between;padding:8px 0 22px;color:#5e646b;font-size:8px}.bars{flex:1;display:flex;align-items:flex-end;justify-content:space-around;gap:30px;padding:20px 24px 0}.bar-col{height:100%;flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:8px;color:#6e747c;font-size:9px}.bar{width:min(58px,70%);min-height:12px;background:#292c30;border-radius:7px 7px 2px 2px;transition:height .5s ease}.muted-bar{background:#34383d}.active-bar{background:linear-gradient(180deg,#3eb4ff,#176bb4);box-shadow:0 0 18px rgba(46,167,255,.2)}.wallet-panel p{color:#70767e;font-size:9px}.wallet-shortcuts{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:18px}.wallet-shortcuts a{height:62px;border:1px solid #292d31;border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#b9bec5;font-size:15px}.wallet-shortcuts span{font-size:8px}.transactions-panel{grid-column:1 / -1}.bv-dark .tableCard{background:transparent!important;border:0!important;margin-top:10px!important}.bv-dark table{min-width:0!important;color:#b9bec5}.bv-dark th{background:#202327!important;color:#747a82!important;border:0!important;font-size:8px!important;padding:8px 10px!important}.bv-dark td{border-bottom:1px solid #24272b!important;padding:10px!important;font-size:9px!important}.tx-ref{display:block;color:#666c74;font-size:7px;margin-top:3px;max-width:180px;overflow:hidden;text-overflow:ellipsis}.bv-dark .status{font-size:7px!important;padding:4px 7px!important;border-radius:10px!important}.bv-dark .status.completed{color:#55d3a5!important;background:rgba(48,184,136,.1)!important}.bv-dark .status.pending{color:#e2b958!important;background:rgba(226,185,88,.1)!important}.bv-dark .status.failed{color:#f27d86!important;background:rgba(242,125,134,.1)!important}.bv-dark .hamburger{background:#1a1d20!important;border-color:#292d31!important}.bv-dark .hamburger span{background:#fff!important}
@media(max-width:1040px){.bv-shell{grid-template-columns:1fr!important}.bv-dark .sidebar{position:fixed!important;left:-240px!important;height:100vh!important;z-index:100}.bv-dark .sidebar.open{left:0!important}.bv-main{padding:0 16px 18px!important}.bv-topbar .hamburger{display:flex!important}.metric-grid{grid-template-columns:1fr 1fr}.balance-card{grid-column:1/-1}.dashboard-grid{grid-template-columns:1fr}.overview-panel,.transactions-panel{grid-column:1;grid-row:auto}.chart-wrap{height:220px}}
@media(max-width:600px){.bv-search{display:none}.welcome-row{align-items:flex-start;flex-direction:column}.welcome-actions{width:100%}.welcome-actions>*{flex:1;text-align:center}.metric-grid{grid-template-columns:1fr}.balance-card{grid-column:auto}.dashboard-grid{grid-template-columns:1fr}.metric-card,.panel{border-radius:11px}.welcome-row h1{font-size:21px}.plan-meta{grid-template-columns:1fr}.overview-panel{overflow:hidden}.chart-wrap{height:190px}.bars{gap:10px;padding-left:5px;padding-right:5px}.bar{width:36px}.wallet-shortcuts{grid-template-columns:repeat(3,1fr)}.transactions-panel{overflow-x:auto}.transactions-panel table{min-width:520px!important}}

/* V3.1 visibility + content-fit patch */
.bv-dark,.bv-dark .bv-main{color:#f4f6f8!important}
.bv-dark .panel,.bv-dark .metric-card{overflow:visible!important}
.bv-dark .panel *,.bv-dark .metric-card *{opacity:1}
.bv-dark .panel p,.bv-dark .panel span,.bv-dark .panel div{visibility:visible}
.bv-dark .transactions-panel{overflow:hidden!important}
.bv-dark .transactions-panel .tableCard{overflow-x:auto!important}
.bv-dark .transactions-panel table{width:100%!important}
.bv-dark .metric-note,.bv-dark .panel-foot,.bv-dark .wallet-panel p,.bv-dark .legend,.bv-dark .view-all{color:#8b9199!important}
.bv-dark .tx-ref{color:#7d838b!important}
.bv-dark .investment-panel,.bv-dark .wallet-panel,.bv-dark .overview-panel,.bv-dark .transactions-panel{min-height:0!important;height:auto!important}
@media(max-width:1280px){
 .bv-main{padding-left:18px!important;padding-right:18px!important}
 .dashboard-grid{grid-template-columns:minmax(280px,.9fr) minmax(0,1.5fr)!important}
 .bars{gap:14px!important;padding-left:12px!important;padding-right:12px!important}
}
@media(max-width:1040px){
 .dashboard-grid{grid-template-columns:1fr!important}
 .overview-panel{grid-column:1!important;grid-row:auto!important}
 .transactions-panel{grid-column:1!important}
}
@media(max-width:600px){
 .bv-dark .transactions-panel{overflow:visible!important}
 .bv-dark .transactions-panel .tableCard{overflow-x:auto!important;-webkit-overflow-scrolling:touch}
 .metric-value{font-size:25px!important}
}

/* V3.2 dashboard visibility patch */
.bv-dark{overflow-x:hidden!important}
.bv-dark .bv-main{width:100%!important;min-width:0!important;overflow:visible!important}
.bv-dark .dashboard-grid,.bv-dark .top-metrics{min-width:0!important}
.bv-dark .panel,.bv-dark .metric-card{min-width:0!important;height:auto!important;max-height:none!important}
.bv-dark .panel-title,.bv-dark .metric-label,.bv-dark .metric-value,.bv-dark .welcome h1,.bv-dark .wallet-amount,.bv-dark td strong{color:#f6f7f9!important;opacity:1!important;visibility:visible!important}
.bv-dark .welcome p,.bv-dark .metric-note,.bv-dark .panel-foot,.bv-dark .tx-ref,.bv-dark .wallet-meta{color:#9298a0!important;opacity:1!important;visibility:visible!important}
.bv-dark .table-wrap{width:100%!important;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch}
.bv-dark table{min-width:620px!important}
@media(max-width:760px){.bv-dark .bv-main{padding:12px!important}.bv-dark .top-metrics{grid-template-columns:1fr!important}.bv-dark .dashboard-grid{grid-template-columns:1fr!important}.bv-dark .welcome-row{align-items:flex-start!important;gap:12px!important}.bv-dark .welcome h1{font-size:24px!important}.bv-dark .quick-actions{width:100%!important}.bv-dark .quick-actions a{flex:1 1 0!important}}
