/* CHIEL_YELLOW_EVERYWHERE_V137 — UI-only musical gold theme.
   Explicit opt-in on supplementary CHIEL pages.
   Never changes camera/video/canvas pixels, functional states, controls or JS. */
html[data-chiel-music-yellow="130"]{
  color-scheme:dark;
  --bg:#0f0d09;
  --bg-2:#21190a;
  --background:#0f0d09;
  --card:#2d2514;
  --card2:#3d2e13;
  --panel:#2c2314;
  --panel-strong:#362a16;
  --surface:#211b10;
  --surface-2:#3b2c12;
  --line:rgba(255,213,76,.30);
  --line-strong:rgba(255,213,76,.51);
  --border:rgba(255,213,76,.30);
  --text:#fff8e7;
  --muted:#d9cba9;
  --accent:#ffd43b;
  --primary:#ffd43b;
  --blue:#ffd43b;
  --blue-2:#eeb52b;
  --gold:#ffe185;
  --chiel-blue:#ffd43b;
  --chiel-yellow:#ffd43b;
  --chiel-gold:#ffe185;
  --chiel-bg:#0f0d09;
  --chiel-surface:#2d2514;
  --chiel-surface-raised:#3d2e13;
  --chiel-border:rgba(255,213,76,.31);
  --chiel-text:#fff8e7;
  --chiel-text-muted:#d9cba9;
  background:#0f0d09!important;
}
html[data-chiel-music-yellow="130"] body{
  color:#fff8e7!important;
  background:radial-gradient(circle at 75% -12%,rgba(255,205,48,.16),transparent 42%),
    linear-gradient(150deg,#211706 0%,#10100c 51%,#0b0c0a 100%)!important;
}
html[data-chiel-music-yellow="130"] body
:is(.app,.app-shell,.shell,.page,.page-wrap,.layout,.main-wrap,.dashboard,.content-wrap,
 .dashboard-shell,.site-shell,.music-shell,.outer-shell){
  border-color:rgba(255,211,78,.26);
}
html[data-chiel-music-yellow="130"] body
:is(.side-rail,.sidebar,.side-menu,.sidenav,.drawer,.nav-drawer,.menu-panel,
 .topbar,.top-bar,.topnav,.header-bar,.appbar,.main-nav,.nav-shell,.nav-list,
 .sticky-header,.toolbar,.nav-header,.cc-topbar-3451){
  border-color:rgba(255,213,77,.30)!important;
  background-color:#241c0e!important;
  background-image:linear-gradient(160deg,rgba(50,36,12,.96),rgba(24,22,15,.97))!important;
}
html[data-chiel-music-yellow="130"] body
:is(.card,.panel,.tile,.service-card,.settings-card,.info-card,.status-card,.device-card,
 .floor-card,.room-card,.control-card,.metric-card,.dashboard-card,.camera-card,.music-card,
 .summary-card,.stat-card,.energy-card,.list-card,.settings-panel,.form-panel,.setup-card,
 .setup-wrap main,.media-panel,.group,.group-card,.box,.dialog,.modal-content,.section-panel,
 .content-card,.dashboard-panel,.widget,.weather-card,.stage-card,.shortcut-card){
  background-color:#2d2412!important;
  background-image:linear-gradient(142deg,rgba(53,39,13,.97),rgba(27,25,16,.98))!important;
  border-color:rgba(255,216,85,.33)!important;
  box-shadow:0 14px 44px rgba(0,0,0,.25),inset 0 1px rgba(255,232,149,.07)!important;
}
html[data-chiel-music-yellow="130"] body :is(.hero,.banner,.welcome,.masthead,.feature-hero){
  border-color:rgba(255,215,84,.42)!important;
  /* Do not override photographic or 3D hero backgrounds. */
}
html[data-chiel-music-yellow="130"] body :is(.stage,.cast-splash,.fallback){
  background-color:#211a0e!important;
  background-image:radial-gradient(circle at 50% 43%,#64430e 0%,#231b0d 61%,#0b0b0a 100%)!important;
}
html[data-chiel-music-yellow="130"] body :is(.mark,.brand-mark,.brand-icon,.app-mark){
  border-color:rgba(255,216,93,.45)!important;
  background:linear-gradient(145deg,#dca91e,#705011)!important;
  color:#fff6d5!important;
}
html[data-chiel-music-yellow="130"] body
:is(.nav-link.active,.menu-item.active,.sidebar-link.active,.tab.active,.tab-btn.active,
 .pill.active,.chip.active,.segmented.active,.navigation a[aria-current="page"],
 [role="tab"][aria-selected="true"],.nav-item.active){
  color:#211806!important;
  background:#ffd43b!important;
  border-color:#ffdf85!important;
}
html[data-chiel-music-yellow="130"] body
:is(.nav-link:hover,.menu-item:hover,.sidebar-link:hover,.tab-btn:hover){
  border-color:rgba(255,216,90,.51)!important;
}
html[data-chiel-music-yellow="130"] body :is(h1,h2,h3,.page-title,.heading,.title){
  color:#fff7df;
  text-shadow:0 2px 17px rgba(222,157,27,.065);
}
html[data-chiel-music-yellow="130"] body
:is(.eyebrow,.section-kicker,.overline,.meta-label,.badge-yellow,.brand-accent){
  color:#ffe285!important;
}
html[data-chiel-music-yellow="130"] body
:is(.btn-primary,.button-primary,.primary-btn,.button.primary,button.primary,
 .btn.primary,button[type="submit"]:not(.danger):not(.error),
 input[type="submit"]:not(.danger):not(.error)){
  color:#291e05!important;
  border-color:#ffe18a!important;
  background:linear-gradient(135deg,#ffe583,#ffc633)!important;
  box-shadow:0 8px 24px rgba(145,93,3,.19)!important;
}
html[data-chiel-music-yellow="130"] body
:is(input:not([type="checkbox"]):not([type="radio"]),select,textarea){
  border-color:rgba(255,216,90,.43)!important;
  background:rgba(18,17,12,.94)!important;
  color:#fff8e6!important;
}
html[data-chiel-music-yellow="130"] body
:is(input[type="checkbox"],input[type="radio"]){accent-color:#ffd43b!important}
html[data-chiel-music-yellow="130"] body
:is(a,button,input,select,textarea,[tabindex]):focus-visible{
  outline:3px solid #ffda4c!important;
  outline-offset:3px!important;
}
html[data-chiel-music-yellow="130"] body :is(.setup-link,.back,.breadcrumb a,.nav-back){
  border-color:rgba(255,219,91,.36)!important;
  color:#ffe49a!important;
}
html[data-chiel-music-yellow="130"] ::selection{background:rgba(255,211,68,.36);color:#fff}
@media(max-width:700px){
 html[data-chiel-music-yellow="130"] body
 :is(.card,.panel,.tile,.setup-card,.dialog){max-width:100%;box-sizing:border-box}
}
@media(prefers-reduced-motion:reduce){
 html[data-chiel-music-yellow="130"] body
 :is(.card,.panel,.nav-link,.tab,.button){transition:none!important}
}
/* Preserve green online, orange warnings, red faults; cast/camera images remain unfiltered. */