/* DART primary-page hero contract. Loaded last to prevent page-level drift. */
.app-hero-card{
  box-sizing:border-box!important;
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  width:100%!important;
  height:300px!important;
  min-height:300px!important;
  display:grid!important;
  grid-template-rows:auto minmax(0,1fr) auto!important;
  margin:18px 0 0!important;
  padding:24px!important;
  border:0!important;
  border-radius:24px!important;
  background:#063e30!important;
  color:#fff!important;
  box-shadow:none!important;
}
.app-hero-card .evolution-hero-image{
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:cover!important;
  border-radius:inherit!important;
  opacity:1!important;
}
.app-hero-card:before{
  z-index:1!important;
  background:linear-gradient(90deg,rgba(0,37,28,.90),rgba(0,44,32,.76) 56%,rgba(0,34,26,.58))!important;
}
.app-hero-card:after{z-index:3!important}
.app-hero-card .evolution-hero-top,
.app-hero-card .evolution-hero-copy,
.app-hero-card .evolution-hero-metrics{position:relative!important;z-index:4!important}
.app-hero-card .evolution-hero-top{min-height:42px!important;align-items:flex-start!important}
.app-hero-card .approved-micro{
  padding-top:11px!important;
  color:rgba(255,255,255,.72)!important;
  font-family:var(--font-ui)!important;
  font-size:11px!important;
  font-weight:700!important;
  line-height:1.1!important;
  letter-spacing:.16em!important;
}
.app-hero-card .evolution-hero-copy{
  align-self:end!important;
  max-width:760px!important;
  padding:16px 0 18px!important;
}
.app-hero-card .evolution-hero-copy h1{
  max-width:680px!important;
  margin:0!important;
  color:#fff!important;
  font-family:var(--font-ui)!important;
  font-size:clamp(34px,4.4vw,52px)!important;
  font-weight:700!important;
  line-height:.98!important;
  letter-spacing:-.045em!important;
}
.app-hero-card .evolution-hero-copy p{
  max-width:700px!important;
  margin:9px 0 0!important;
  color:rgba(255,255,255,.74)!important;
  font-family:var(--font-ui)!important;
  font-size:15px!important;
  font-weight:400!important;
  line-height:1.35!important;
}
.app-hero-card .evolution-hero-metrics,
.app-hero-card .analyse-insight-metrics{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  margin:0!important;
  padding:0!important;
  border-top:1px solid rgba(255,255,255,.18)!important;
}
.app-hero-card .evolution-hero-metrics>div,
.app-hero-card .analyse-insight-metrics>div{
  min-width:0!important;
  padding:14px 16px 0!important;
  border-left:0!important;
  border-right:1px solid rgba(255,255,255,.16)!important;
}
.app-hero-card .evolution-hero-metrics>div:first-child,
.app-hero-card .analyse-insight-metrics>div:first-child{padding-left:0!important}
.app-hero-card .evolution-hero-metrics>div:last-child,
.app-hero-card .analyse-insight-metrics>div:last-child{border-right:0!important}
.app-hero-card .evolution-hero-metrics strong,
.app-hero-card .analyse-insight-metrics strong{
  overflow:hidden!important;
  color:#fff!important;
  font-family:var(--font-ui)!important;
  font-size:32px!important;
  font-weight:700!important;
  line-height:1!important;
  letter-spacing:-.035em!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.app-hero-card .evolution-hero-metrics span,
.app-hero-card .analyse-insight-metrics span{
  margin-top:6px!important;
  color:rgba(255,255,255,.62)!important;
  font-family:var(--font-ui)!important;
  font-size:10px!important;
  font-weight:650!important;
  line-height:1.2!important;
  letter-spacing:.09em!important;
  text-transform:uppercase!important;
}
.app-hero-card .analyse-insight-metrics small{
  margin-top:3px!important;
  color:rgba(255,255,255,.62)!important;
  font-family:var(--font-ui)!important;
  font-size:9px!important;
  line-height:1.2!important;
}
.app-hero-card .benchmark-picker{
  position:relative!important;
  z-index:8!important;
  width:124px!important;
  min-width:124px!important;
  max-width:124px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
.app-hero-card .benchmark-picker>.brand-picker-trigger{
  box-sizing:border-box!important;
  width:100%!important;
  min-height:42px!important;
  padding:0 12px!important;
  border:1px solid rgba(255,255,255,.28)!important;
  background:rgba(0,43,32,.78)!important;
  color:#fff!important;
  box-shadow:none!important;
  backdrop-filter:blur(12px)!important;
  -webkit-backdrop-filter:blur(12px)!important;
}
.app-hero-card .benchmark-picker>.brand-picker-trigger strong{color:#fff!important;font-size:12px!important;white-space:nowrap!important}
.app-hero-card .benchmark-picker .brand-picker-kicker{color:rgba(255,255,255,.62)!important}
.app-hero-card .benchmark-picker .brand-picker-chevron{color:var(--dart-mint)!important}
.app-hero-card .benchmark-picker .brand-picker-menu{right:0!important;left:auto!important}

/* Analyse and Progress keep only the time-range control in the page header. */
.analyse-page .approved-shot-header,
.progress-page .approved-shot-header{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 164px!important;
  align-items:center!important;
  column-gap:14px!important;
}
.analyse-page .approved-shot-header h1,
.progress-page .approved-shot-header h1{
  grid-column:1!important;
  width:auto!important;
  min-width:0!important;
  font-weight:700!important;
  white-space:nowrap!important;
}
.analyse-page .approved-header-controls,
.progress-page .approved-header-controls{display:contents!important}
.analyse-page .approved-shot-header .approved-range-control,
.progress-page .approved-shot-header .approved-range-control{
  grid-column:2!important;
  width:164px!important;
  min-width:164px!important;
  max-width:164px!important;
  height:46px!important;
  min-height:46px!important;
  border:1px solid var(--dart-border-strong, #123d36)!important;
  border-radius:24px!important;
  background:rgba(255,255,255,.42)!important;
}

@media(max-width:820px){
  .app-hero-card{height:300px!important;min-height:300px!important;padding:18px!important;border-radius:20px!important}
  .app-hero-card .evolution-hero-top{min-height:38px!important}
  .app-hero-card .approved-micro{padding-top:9px!important;font-size:9px!important}
  .app-hero-card .evolution-hero-copy{padding:12px 0 14px!important}
  .app-hero-card .evolution-hero-copy h1{max-width:310px!important;font-size:29px!important}
  .app-hero-card .evolution-hero-copy p{max-width:320px!important;font-size:11px!important}
  .app-hero-card .evolution-hero-metrics>div,
  .app-hero-card .analyse-insight-metrics>div{padding:11px 8px 0!important}
  .app-hero-card .evolution-hero-metrics>div:first-child,
  .app-hero-card .analyse-insight-metrics>div:first-child{padding-left:0!important}
  .app-hero-card .evolution-hero-metrics strong,
  .app-hero-card .analyse-insight-metrics strong{font-size:24px!important}
  .app-hero-card .evolution-hero-metrics span,
  .app-hero-card .analyse-insight-metrics span{margin-top:4px!important;font-size:8px!important}
  .app-hero-card .analyse-insight-metrics small{font-size:7.5px!important}
  .app-hero-card .benchmark-picker{width:116px!important;min-width:116px!important;max-width:116px!important}
  .app-hero-card .benchmark-picker>.brand-picker-trigger{min-height:38px!important;padding:0 10px!important}
  .app-hero-card .benchmark-picker>.brand-picker-trigger strong{font-size:11px!important}
  .analyse-page .approved-shot-header,
  .progress-page .approved-shot-header{grid-template-columns:minmax(0,1fr) 148px!important;column-gap:8px!important}
  .analyse-page .approved-shot-header h1,
  .progress-page .approved-shot-header h1{font-size:29px!important}
  .analyse-page .approved-shot-header .approved-range-control,
  .progress-page .approved-shot-header .approved-range-control{width:148px!important;min-width:148px!important;max-width:148px!important}
}

@media(max-width:374px){
  .app-hero-card{padding:16px!important}
  .app-hero-card .evolution-hero-copy h1{font-size:27px!important}
  .analyse-page .approved-shot-header,
  .progress-page .approved-shot-header{grid-template-columns:minmax(0,1fr) 140px!important;column-gap:6px!important}
  .analyse-page .approved-shot-header h1,
  .progress-page .approved-shot-header h1{font-size:24px!important}
  .analyse-page .approved-shot-header .approved-range-control,
  .progress-page .approved-shot-header .approved-range-control{width:140px!important;min-width:140px!important;max-width:140px!important}
}
