/* Single, predictable palette for the Golden Rama back office. */
html:has(body[data-site="goldenrama440"][data-artist-name]){color-scheme:light;--paper:#f6f1e7;--panel:#fffdf8;--surface:#fffdf8;--ink:#24221e;--muted:#62594e;--line:#d4c5ae;--soft:#ede1ca;--text:#24221e;--gold:#b58a3b;--accent:#b58a3b;--gold-light:#e8d5aa}
html[data-theme="dark"]:has(body[data-site="goldenrama440"][data-artist-name]),html:has(body[data-site="goldenrama440"][data-artist-name].dark){color-scheme:dark;--paper:#171714;--panel:#27241f;--surface:#27241f;--ink:#fff5e2;--muted:#e1d2b7;--line:#807057;--soft:#332d25;--text:#fff5e2;--gold:#ebc77c;--accent:#ebc77c;--gold-light:#51422b}
body[data-site="goldenrama440"][data-artist-name]{background:var(--paper)!important;color:var(--ink)!important}
body[data-site="goldenrama440"][data-artist-name]>header{background:#171715!important;color:#fff8e9!important;border-color:#8f7a58!important}
body[data-site="goldenrama440"][data-artist-name]>header :is(a,a:visited,span,small,button,nav a){color:#fff8e9!important;-webkit-text-fill-color:#fff8e9!important;opacity:1!important}
body[data-site="goldenrama440"][data-artist-name]>header button{background:#403324!important;border:1px solid #d0aa6b!important}
body[data-site="goldenrama440"][data-artist-name] :is(main,.portal-layout aside){color:var(--ink)}
body[data-site="goldenrama440"][data-artist-name] :is(.card,.panel,.portal-layout aside,dialog){background:var(--panel);color:var(--ink);border-color:var(--line)}
body[data-site="goldenrama440"][data-artist-name] .portal-layout .sidebar-bottom{display:grid!important;visibility:visible!important}
body[data-site="goldenrama440"][data-artist-name] .portal-layout .sidebar-bottom :is(a,button){color:var(--ink)!important;opacity:1!important}
@media(max-width:700px){body[data-site="goldenrama440"][data-artist-name] .portal-layout .sidebar-bottom{display:flex!important;flex-wrap:wrap}}
/* Final authoritative header colors follow the selected theme. */
html[data-theme="light"] body[data-site="goldenrama440"][data-artist-name]>header{background:#fffaf0!important;color:#24211d!important;border-color:#cdbb9b!important}
html[data-theme="light"] body[data-site="goldenrama440"][data-artist-name]>header :is(a,a:visited,span,small,nav a,button){color:#24211d!important;-webkit-text-fill-color:#24211d!important}
html[data-theme="light"] body[data-site="goldenrama440"][data-artist-name]>header button{background:#f3e8d5!important;border:1px solid #a88548!important}
html[data-theme="dark"] body[data-site="goldenrama440"][data-artist-name]>header{background:#171715!important;color:#fff8e9!important}
html[data-theme="dark"] body[data-site="goldenrama440"][data-artist-name]>header :is(a,a:visited,span,small,nav a,button){color:#fff8e9!important;-webkit-text-fill-color:#fff8e9!important}
body[data-site="goldenrama440"][data-artist-name]>header .golden-theme-control{display:inline-flex!important;align-items:center;justify-content:center;min-height:44px;padding:9px 14px;border-radius:7px;font:700 13px system-ui;cursor:pointer;white-space:nowrap}

/* Contrast-safe controls, independent of original dark-only add-on styles. */
body[data-site="goldenrama440"][data-artist-name] :is(input,select,textarea){background:var(--panel)!important;color:var(--ink)!important;border-color:var(--line)!important}
body[data-site="goldenrama440"][data-artist-name] :is(main,.portal-layout) :is(h1,h2,h3,p,label,summary){color:var(--ink)}
body[data-site="goldenrama440"][data-artist-name] :is(.card,.panel,.portal-layout aside) a{color:var(--ink)}
body[data-site="goldenrama440"][data-artist-name] .portal-layout aside button{color:var(--ink)!important}
body[data-site="goldenrama440"][data-artist-name]>header nav a{background:transparent!important}
body[data-site="goldenrama440"][data-artist-name]>header :is(a,button):focus-visible{outline:3px solid #c59032!important;outline-offset:3px}
/* Theme contrast applies to every back-office header and navigation element. */
html[data-theme="light"] body[data-site="goldenrama440"][data-artist-name]{--paper:#f6f1e7;--panel:#fffdf8;--surface:#fffdf8;--ink:#24221e;--muted:#62594e;--line:#d4c5ae;--text:#24221e;--gold-light:#e8d5aa}
html[data-theme="dark"] body[data-site="goldenrama440"][data-artist-name]{--paper:#171714;--panel:#27241f;--surface:#27241f;--ink:#fff5e2;--muted:#e1d2b7;--line:#807057;--text:#fff5e2;--gold-light:#51422b}
html[data-theme="light"] body[data-site="goldenrama440"][data-artist-name] > header :is(.brand,.brand *,nav,nav *,#account,#account *,button,.nav-toggle,.theme-toggle){color:#24211d!important;-webkit-text-fill-color:#24211d!important;visibility:visible!important;opacity:1!important}
html[data-theme="dark"] body[data-site="goldenrama440"][data-artist-name] > header :is(.brand,.brand *,nav,nav *,#account,#account *,button,.nav-toggle,.theme-toggle){color:#fff8e9!important;-webkit-text-fill-color:#fff8e9!important;visibility:visible!important;opacity:1!important}
html[data-theme="light"] body[data-site="goldenrama440"][data-artist-name] > header :is(.nav-panel,.nav-toggle,.theme-toggle){background:#fffaf0!important;border-color:#a88548!important}
html[data-theme="dark"] body[data-site="goldenrama440"][data-artist-name] > header :is(.nav-panel,.nav-toggle,.theme-toggle){background:#302920!important;border-color:#bda06e!important}
html[data-theme="light"] body[data-site="goldenrama440"][data-artist-name] .portal-layout aside :is(a,button){color:#24211d!important;-webkit-text-fill-color:#24211d!important}
html[data-theme="dark"] body[data-site="goldenrama440"][data-artist-name] .portal-layout aside :is(a,button){color:#fff5e2!important;-webkit-text-fill-color:#fff5e2!important}
