/* CHIEL_WOW_MEDIA_V143 — cinematic gold finishing on Video, 3D Energy & Dashboard.
   Applies only to HTML with data-chiel-wow="140", after v140/141.
   No modifications to video pixels, 3D model, energy measurement values, 
   color-coded statuses, scripts or interaction behavior. */

/* VIDEO — replace the remaining navy showcase panels with warm theater-black. */
html[data-chiel-wow="140"][data-machiel-ecosystem="video"] .hero{
  background:
    radial-gradient(ellipse 75% 115% at 50% -5%,rgba(193,132,39,.24),transparent 72%),
    linear-gradient(155deg,#392813,#201b16 60%,#151717)!important;
  border:1px solid rgba(255,211,113,.31)!important;
  border-radius:28px!important;
  padding-inline:clamp(14px,3vw,35px)!important;
  box-shadow:inset 0 1px rgba(255,234,174,.1),0 24px 64px rgba(0,0,0,.24)!important;
}
html[data-chiel-wow="140"][data-machiel-ecosystem="video"] .hero h1{
  color:#fff8e9!important;
  letter-spacing:-.052em!important;
}
html[data-chiel-wow="140"][data-machiel-ecosystem="video"] .hero h1 span{
  background:linear-gradient(104deg,#fff0c1 4%,#f5c46b 65%,#f7e2ad 100%)!important;
  -webkit-background-clip:text!important;
  background-clip:text!important;
  color:transparent!important;
}
html[data-chiel-wow="140"][data-machiel-ecosystem="video"] .hero .lead{
  color:#e6d6bc!important;
  line-height:1.55!important;
}
html[data-chiel-wow="140"][data-machiel-ecosystem="video"] .hero .eyebrow{
  background:rgba(41,32,21,.92)!important;
  border-color:rgba(255,208,102,.53)!important;
  color:#fce4aa!important;
}
html[data-chiel-wow="140"][data-machiel-ecosystem="video"] .programs{
  gap:12px!important;
}
html[data-chiel-wow="140"][data-machiel-ecosystem="video"] .program-card{
  color:#fff2d9!important;
  border:1px solid rgba(255,213,116,.40)!important;
  background:linear-gradient(146deg,#46321c 0%,#2a241c 60%,#1b1d1b 100%)!important;
  border-radius:18px!important;
  box-shadow:inset 0 1px rgba(255,235,193,.10),0 10px 24px rgba(0,0,0,.22)!important;
}
html[data-chiel-wow="140"][data-machiel-ecosystem="video"] .program-card:is(:hover,:focus-visible){
  transform:translateY(-2px);
  border-color:rgba(255,222,142,.72)!important;
  background:linear-gradient(145deg,#59401f,#32271d)!important;
  box-shadow:0 15px 31px rgba(0,0,0,.28)!important;
}
html[data-chiel-wow="140"][data-machiel-ecosystem="video"] .program-card.is-active{
  border-color:rgba(255,228,150,.88)!important;
  background:linear-gradient(135deg,#60431f,#32281a)!important;
  box-shadow:inset 0 0 0 1px rgba(255,226,150,.17),0 15px 38px rgba(0,0,0,.3)!important;
}
html[data-chiel-wow="140"][data-machiel-ecosystem="video"] .program-card .program-icon{
  border-color:rgba(255,221,136,.52)!important;
  background:linear-gradient(145deg,#725026,#372a1c)!important;
  color:#ffebbe!important;
}
html[data-chiel-wow="140"][data-machiel-ecosystem="video"] .program-card b{
  color:#fff7e8!important;
}
html[data-chiel-wow="140"][data-machiel-ecosystem="video"] .program-card small{
  color:#d6c5a7!important;
}
html[data-chiel-wow="140"][data-machiel-ecosystem="video"] .program-arrow{
  color:#f4cd80!important;
}
html[data-chiel-wow="140"][data-machiel-ecosystem="video"] :is(.chapter,.feature,.status-box){
  border-color:rgba(255,210,116,.33)!important;
  background:linear-gradient(146deg,#35291c,#1b201e)!important;
  color:#f7ecd6!important;
}
html[data-chiel-wow="140"][data-machiel-ecosystem="video"] .chapter.is-active{
  border-color:#f9d27b!important;
  background:linear-gradient(145deg,#58401f,#282820)!important;
  box-shadow:inset 0 0 0 1px rgba(255,223,149,.14)!important;
}
html[data-chiel-wow="140"][data-machiel-ecosystem="video"] .chapter .num{
  background:#695028!important;
  color:#ffe5ad!important;
}
html[data-chiel-wow="140"][data-machiel-ecosystem="video"] :is(.chapter small,.chapter-time,.feature span,.status-box span){
  color:#d4c2a2!important;
}
html[data-chiel-wow="140"][data-machiel-ecosystem="video"] .player-shell{
  border-color:rgba(255,214,120,.49)!important;
  box-shadow:0 22px 68px rgba(0,0,0,.4)!important;
}
/* Retain movie/video imagery and playback state; style only frame and toolbar. */
html[data-chiel-wow="140"][data-machiel-ecosystem="video"] .controls{
  border-color:rgba(255,217,144,.31)!important;
  background:rgba(24,21,18,.86)!important;
}
html[data-chiel-wow="140"][data-machiel-ecosystem="video"] .played{
  background:linear-gradient(90deg,#e5ad4d,#ffe29d)!important;
}
html[data-chiel-wow="140"][data-machiel-ecosystem="video"] .center-play{
  border-color:rgba(255,225,158,.56)!important;
  background:rgba(66,43,22,.70)!important;
}
html[data-chiel-wow="140"][data-machiel-ecosystem="video"] .chiel-ecosystem-nav a{
  min-height:44px!important;
}
html[data-chiel-wow="140"][data-machiel-ecosystem="video"] .chiel-ecosystem-nav a.active,
html[data-chiel-wow="140"][data-machiel-ecosystem="video"] .chiel-ecosystem-nav a[aria-current="page"]{
  background:linear-gradient(136deg,#ffe5a2,#f6c467)!important;
  color:#2a1c0b!important;
}

/* ENERGY — premium solar/utility card surfaces. Keep genuine meter and status
   icon colors for solar, battery, grid and water. */
html[data-chiel-wow="140"] body.showcase-page .showcase-nav{
  border-bottom-color:rgba(255,212,121,.41)!important;
}
html[data-chiel-wow="140"] body.showcase-page .showcase-nav-link{
  background:linear-gradient(142deg,#5c4326,#29251c)!important;
  border-color:rgba(255,216,130,.53)!important;
  color:#ffe6ae!important;
  min-height:44px!important;
  display:inline-flex;
  align-items:center;
}
html[data-chiel-wow="140"] body.showcase-page .showcase-brand{
  color:#fff4df!important;
  min-height:44px!important;
  display:inline-flex;
  align-items:center;
  gap:7px;
}
html[data-chiel-wow="140"] body.showcase-page .showcase-mark{
  background:linear-gradient(142deg,#765121,#38291b)!important;
  border-color:rgba(255,220,132,.61)!important;
  color:#ffe9b7!important;
}
html[data-chiel-wow="140"] body.showcase-page .showcase-hero h1{
  color:#fff8e9!important;
  letter-spacing:-.055em!important;
}
html[data-chiel-wow="140"] body.showcase-page .showcase-hero h1 span{
  color:#f5cb74!important;
}
html[data-chiel-wow="140"] body.showcase-page .showcase-hero p{
  color:#ddceb7!important;
}
html[data-chiel-wow="140"] body.showcase-page .e3-card{
  border:1px solid rgba(252,211,119,.39)!important;
  background:linear-gradient(155deg,#41301e 0%,#28241d 57%,#1d211f 100%)!important;
  box-shadow:inset 0 1px rgba(255,234,184,.11),0 16px 42px rgba(0,0,0,.25)!important;
  border-radius:20px!important;
}
html[data-chiel-wow="140"] body.showcase-page .e3-card::after{
  background:radial-gradient(circle,rgba(241,188,82,.09),transparent 70%)!important;
}
html[data-chiel-wow="140"] body.showcase-page .e3-card small{
  color:#edddbf!important;
}
html[data-chiel-wow="140"] body.showcase-page .e3-card strong{
  color:#fff5e2!important;
  font-variant-numeric:tabular-nums;
}
html[data-chiel-wow="140"] body.showcase-page .e3-card p{
  color:#d2c2a9!important;
}
html[data-chiel-wow="140"] body.showcase-page .e3-card[data-available="no"] strong{
  color:#a9a293!important;
}
html[data-chiel-wow="140"] body.showcase-page :is(.e3-premium-detail,.showcase-info,.e3h-context-card){
  border-color:rgba(246,201,111,.34)!important;
  background:linear-gradient(150deg,#35291d,#1d211e)!important;
}
html[data-chiel-wow="140"] body.showcase-page :is(.e3-premium-action,.showcase-info-chips span){
  border-color:rgba(247,211,130,.46)!important;
  background:linear-gradient(145deg,#4f3a24,#28251f)!important;
  color:#ffebc2!important;
}
html[data-chiel-wow="140"] body.showcase-page .model3d-pills button{
  min-height:44px!important;
}
/* Dashboard: one remaining cyan energy shortcut (not the interactive floorplan). */
html[data-chiel-wow="140"][data-machiel-ecosystem="dashboard"] .chiel-focus-energy-link{
  background:linear-gradient(130deg,rgba(99,68,29,.84),rgba(44,33,23,.91))!important;
  border-color:rgba(251,212,117,.65)!important;
  color:#ffe5b0!important;
}
html[data-chiel-wow="140"][data-machiel-ecosystem="dashboard"] .chiel-focus-energy-link:is(:hover,:focus-visible){
  background:linear-gradient(137deg,#6f4b22,#3f3021)!important;
  border-color:#ffe4a4!important;
}
@media(max-width:700px){
  html[data-chiel-wow="140"][data-machiel-ecosystem="video"] .hero{
    padding:24px 12px 22px!important;
    border-radius:23px!important;
  }
  html[data-chiel-wow="140"][data-machiel-ecosystem="video"] .hero h1{
    font-size:clamp(36px,10vw,50px)!important;
  }
  html[data-chiel-wow="140"][data-machiel-ecosystem="video"] .hero .lead{
    font-size:clamp(15px,4vw,18px)!important;
  }
  html[data-chiel-wow="140"][data-machiel-ecosystem="video"] .program-card{
    min-height:90px!important;
  }
  html[data-chiel-wow="140"] body.showcase-page .e3-card{
    padding:17px 15px!important;
  }
}
/* Specific site-local legacy blue border rules have stronger selectors.
   Override them only for decorative card chrome, never progress/status lines. */
html[data-chiel-wow="140"][data-machiel-ecosystem="video"] body .hero .programs .program-card:not(.is-active){
  background:linear-gradient(146deg,#46321c,#2a241c 62%,#1b1d1b)!important;
  border-color:rgba(255,213,116,.43)!important;
}
html[data-chiel-wow="140"][data-machiel-ecosystem="video"] body .hero .programs .program-card.is-active{
  border-color:rgba(255,228,150,.89)!important;
}
html[data-chiel-wow="140"][data-machiel-ecosystem="video"] body .player-shell{
  border-color:rgba(255,215,123,.48)!important;
}
html[data-chiel-wow="140"] body.showcase-page .showcase-nav .showcase-nav-link{
  border-color:rgba(255,216,130,.55)!important;
}
html[data-chiel-wow="140"] body.showcase-page .e3-grid>.e3-card{
  border-color:rgba(252,211,119,.40)!important;
}
@media(prefers-reduced-motion:reduce){
  html[data-chiel-wow="140"][data-machiel-ecosystem="video"] .program-card{
    transition:none!important;
  }
  html[data-chiel-wow="140"][data-machiel-ecosystem="video"] .program-card:is(:hover,:focus-visible){
    transform:none!important;
  }
}
