/* The viewport scrolls on html; body-only descendant rules miss its scrollbar. */
html:has(body.theme-admin) { color-scheme: dark; }
html:has(body.theme-admin),
body.theme-admin,
body.theme-admin * {
  scrollbar-width: thin;
  scrollbar-color: #344c68 transparent;
}
html:has(body.theme-admin)::-webkit-scrollbar,
body.theme-admin::-webkit-scrollbar,
body.theme-admin ::-webkit-scrollbar { width: 7px; height: 7px; }
html:has(body.theme-admin)::-webkit-scrollbar-track,
body.theme-admin::-webkit-scrollbar-track,
body.theme-admin ::-webkit-scrollbar-track { background: transparent; }
html:has(body.theme-admin)::-webkit-scrollbar-thumb,
body.theme-admin::-webkit-scrollbar-thumb,
body.theme-admin ::-webkit-scrollbar-thumb { background: #344c68; border-radius: 4px; }
html:has(body.theme-admin)::-webkit-scrollbar-thumb:hover,
body.theme-admin::-webkit-scrollbar-thumb:hover,
body.theme-admin ::-webkit-scrollbar-thumb:hover { background: #526e8d; }
html:has(body.theme-admin)::-webkit-scrollbar-corner,
body.theme-admin::-webkit-scrollbar-corner,
body.theme-admin ::-webkit-scrollbar-corner { background: transparent; }
