/* V2 hero dashboard — light only. Does not style the site header. */
#v2-hero-dash,#v1-hero-dash{
  box-sizing:border-box;
  margin:12px 16px 8px;
  padding:0;
  background:#f8fafc;
  color:#0f1d3a;
  border:1px solid #e4e4e7;
  border-radius:16px;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  height:72vh;
  max-height:calc(100vh - 69px - 7.5rem);
  min-height:280px;
}
#v2-hero-dash[hidden],#v1-hero-dash[hidden]{display:none!important}
#v2-hero-dash.is-collapsed,#v1-hero-dash.is-collapsed{
  height:auto;
  max-height:none;
  min-height:0;
}
.v2hd-bar{
  flex:none;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px 12px;
  padding:10px 16px;
  background:#fff;
  border-bottom:1px solid #e4e4e7;
}
#v2-hero-dash.is-collapsed .v2hd-bar,#v1-hero-dash.is-collapsed .v2hd-bar{border-bottom:0}
.v2hd-pills{
  display:inline-flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px;
}
.v2hd-pill{
  font:700 12px/1 Inter,system-ui,sans-serif;
  letter-spacing:.02em;
  padding:6px 12px;
  border-radius:999px;
  border:1px solid #0f1d3a;
  background:#fff;
  color:#0f1d3a;
  cursor:pointer;
}
.v2hd-pill[aria-pressed="true"],
.v2hd-pill[aria-selected="true"]{
  background:#0f1d3a;
  color:#fff;
}
.v2hd-meta{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:8px 14px;
  min-width:0;
  flex:1 1 auto;
}
#v2-hero-dash.is-collapsed .v2hd-meta,#v1-hero-dash.is-collapsed .v2hd-meta{display:none!important}
.v2hd-bar h2{
  margin:0;
  font:700 16px/1.2 Inter,system-ui,sans-serif;
  color:#0f1d3a;
  white-space:nowrap;
  flex:none;
}
.v2hd-src{
  margin:0;
  font:600 12px/1.2 Inter,system-ui,sans-serif;
  color:#0f1d3a;
  flex:none;
}
.v2hd-hint{
  margin:0;
  font:500 12px/1.2 Inter,system-ui,sans-serif;
  color:#475569;
}
.v2hd-tools{display:inline-flex;gap:6px;margin-left:auto}
#v2-hero-dash.is-collapsed .v2hd-tools,#v1-hero-dash.is-collapsed .v2hd-tools{display:none!important}
.v2hd-btn{
  font:700 11px Inter,system-ui,sans-serif;
  letter-spacing:.04em;
  padding:4px 9px;
  border-radius:6px;
  border:1px solid #0f1d3a;
  background:transparent;
  color:#0f1d3a;
  cursor:pointer;
}
.v2hd-btn[aria-pressed="true"]{background:#0f1d3a;color:#fff}
.v2hd-body{
  flex:1 1 auto;
  min-height:0;
  display:flex;
  flex-direction:column;
  background:#fff;
}
#v2-hero-dash.is-collapsed .v2hd-body,#v1-hero-dash.is-collapsed .v2hd-body{display:none!important}
.v2hd-chart{
  position:relative;
  flex:1 1 auto;
  min-height:200px;
  background:#fff;
}
.v2hd-chart .gl{position:absolute;inset:0}
.v2hd-chart canvas{display:block;width:100%;height:100%}
.v2hd-fallback{padding:16px 16px 8px;background:#fff}
.v2hd-fallback[hidden]{display:none!important}
.v2hd-fallback svg{width:100%;height:auto;display:block}
.v2hd-ai{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  z-index:1;
  padding:16px;
}
.v2hd-ai[hidden]{display:none!important}
.v2hd-ai-box{
  width:min(520px,100%);
  min-height:140px;
  background:#f4f4f5;
  color:#52525b;
  border:1px solid #e4e4e7;
  border-radius:12px;
  padding:24px;
  font:600 16px/1.4 Inter,system-ui,sans-serif;
  text-align:center;
  cursor:not-allowed;
  display:flex;
  align-items:center;
  justify-content:center;
}
.v2hd-scores{
  flex:none;
  display:flex;
  flex-wrap:wrap;
  gap:6px 8px;
  margin:0;
  padding:8px 16px 12px;
  list-style:none;
  background:#fff;
  border-top:1px solid #e4e4e7;
}
#v2-hero-dash.is-ai .v2hd-scores,#v1-hero-dash.is-ai .v2hd-scores{display:none!important}
.v2hd-scores li{
  display:inline-flex;
  align-items:center;
  gap:6px;
  font:600 12px/1.2 Inter,system-ui,sans-serif;
  color:#0f1d3a;
  background:#f8fafc;
  border:1px solid #e4e4e7;
  border-radius:999px;
  padding:4px 10px;
}
.v2hd-dot{width:8px;height:8px;border-radius:50%;flex:none}
.v2hd-na{font-weight:600;color:#64748b}
@media(max-width:700px){
  #v2-hero-dash,#v1-hero-dash{margin:8px 10px 6px;height:70vh;max-height:calc(100vh - 69px - 6.5rem);min-height:240px;border-radius:14px}
  #v2-hero-dash.is-collapsed,#v1-hero-dash.is-collapsed{height:auto;max-height:none;min-height:0}
  .v2hd-bar{padding:8px 12px}
  .v2hd-bar h2{white-space:normal}
  .v2hd-scores{padding:8px 12px 10px}
}

