/* Shared appearance controls; existing component styles stay in their templates. */
html {scrollbar-gutter: stable}
@supports not (scrollbar-gutter:stable) {html {overflow-y:scroll}}
html[data-theme-runtime] [data-theme-logo]:not([data-theme-bound]) {visibility:hidden}
.theme-control {min-width:0; max-width:660px}
.theme-control-label {display:block; margin:0 0 7px; color:var(--muted); font-size:11px; letter-spacing:1.6px; text-transform:uppercase}
.theme-choices {display:flex; flex-wrap:wrap; gap:8px}
.theme-choices button {font:inherit; font-size:12px; padding:10px 14px; min-height:44px; max-width:100%; white-space:normal; text-align:left}
.theme-choices button[aria-pressed=true] {border-color:var(--green); color:var(--green); box-shadow:inset 0 0 0 1px var(--green); font-weight:750}
.theme-choices button:focus-visible {outline:2px solid var(--green); outline-offset:3px}
.grid > *, .panel {min-width:0}
@media(max-width:720px) {
  nav {grid-template-columns:repeat(7,minmax(0,1fr))}
  nav button {font-size:clamp(8px,2.3vw,10px); padding-inline:1px}
}
@media(max-width:430px) {
  .header-actions {grid-template-columns:minmax(0,1fr) auto}
  .header-actions .account {grid-column:1/-1}
  .header-actions .refresh {max-width:135px}
}
.theme-scheme-control {margin:20px 0 10px; max-width:340px}
.theme-scheme-control[hidden] {display:none!important}
.theme-scheme-switch {display:inline-flex; gap:4px; padding:4px; margin-top:9px; border:1px solid var(--line); border-radius:999px}
.theme-scheme-switch button {padding:9px 16px; min-height:40px; border-radius:999px; background:transparent; color:var(--muted); border-color:transparent}
.theme-scheme-switch button[aria-pressed=true] {background:var(--green); color:#062018; font-weight:750}
.theme-scheme-switch button:focus-visible {outline:2px solid var(--green); outline-offset:3px}
