/* =====================================================================
   CURRENT LAYOUT SYSTEM — dashboard
   Scope: hero, strategy grid/cards, market rows, allocation, trigger, footer.
   ===================================================================== */

#dashboardPage .dashboard-hero{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:24px!important;
  margin:0 0 16px!important;
}
#dashboardPage .dashboard-section-flat{margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
#dashboardPage .dashboard-strategy-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
}
#dashboardPage .dashboard-strategy-card{
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  min-height:0!important;
}
#dashboardPage .dashboard-card-head{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important}
#dashboardPage .dashboard-card-head>div{min-width:0!important}

/* ETF market row: one shared three-row structure for official and intraday. */
#dashboardPage .dashboard-market.dashboard-market-dual{
  display:grid!important;
  grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr)!important;
  column-gap:10px!important;
  align-items:start!important;
}
#dashboardPage .dashboard-market.dashboard-market-dual .dashboard-price-cell{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:18px 32px 16px!important;
  grid-template-areas:none!important;
  justify-items:start!important;
  align-content:start!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  position:static!important;
}
#dashboardPage .dashboard-market.dashboard-market-dual .dashboard-price-cell>span,
#dashboardPage .dashboard-market.dashboard-market-dual .dashboard-price-cell>strong,
#dashboardPage .dashboard-market.dashboard-market-dual .dashboard-price-cell>small,
#dashboardPage .dashboard-market.dashboard-market-dual .dashboard-price-cell>.dashboard-price-row{
  grid-area:auto!important;
  grid-column:1!important;
  justify-self:start!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  text-align:left!important;
}
#dashboardPage .dashboard-market.dashboard-market-dual .dashboard-price-cell>span{
  grid-row:1!important;
  display:block!important;
  font-size:10.5px!important;
  line-height:18px!important;
  font-weight:650!important;
  white-space:nowrap!important;
}
#dashboardPage .dashboard-market.dashboard-market-dual .dashboard-price-cell>strong,
#dashboardPage .dashboard-market.dashboard-market-dual .dashboard-price-cell>.dashboard-price-row{
  grid-row:2!important;
  align-self:start!important;
}
#dashboardPage .dashboard-market.dashboard-market-dual .dashboard-price-cell>.dashboard-price-row{display:block!important}
#dashboardPage .dashboard-market.dashboard-market-dual .dashboard-price-cell strong,
#dashboardPage .dashboard-market.dashboard-market-dual .dashboard-price-cell .dashboard-price-row strong{
  display:block!important;
  margin:0!important;
  padding:0!important;
  font-size:25px!important;
  line-height:32px!important;
  font-weight:735!important;
  white-space:nowrap!important;
}
#dashboardPage .dashboard-market.dashboard-market-dual .dashboard-price-cell>small{
  grid-row:3!important;
  display:block!important;
  font-size:9.5px!important;
  line-height:16px!important;
  font-weight:500!important;
  white-space:nowrap!important;
  overflow:visible!important;
  text-overflow:clip!important;
}
#dashboardPage .dashboard-market.dashboard-market-dual .dashboard-day-change{display:none!important}

#dashboardPage .dashboard-data-note{margin-top:10px!important}

@media(max-width:900px){
  #dashboardPage .dashboard-strategy-grid{grid-template-columns:1fr!important;gap:14px!important}
}
@media(max-width:700px){
  #dashboardPage .dashboard-hero{align-items:flex-start!important;flex-direction:column!important;gap:12px!important;margin-bottom:14px!important}
  #dashboardPage .dashboard-market.dashboard-market-dual{grid-template-columns:1fr 1fr!important;gap:14px!important}
}
