.theme-toggle{display:inline-flex;align-items:center;justify-content:center;flex:none;width:44px;height:44px;padding:9px;border:1px solid #d9deeb;border-radius:11px;background:#fff;color:#394268;cursor:pointer;transition:background .2s,border-color .2s}
.theme-toggle:hover{background:#f4f5fc;border-color:#a7afd0}
.theme-toggle:focus-visible{outline:2px solid #7660db;outline-offset:3px}
.theme-toggle-icon{display:block;width:22px;height:22px;flex:none}
html[data-theme="dark"] .theme-sun,html[data-theme="light"] .theme-moon{display:none}
.login-theme-row{display:flex;justify-content:flex-end;margin:-12px -12px 2px}
.theme-choice{border:1px solid var(--line);border-radius:14px;padding:15px 17px;margin:3px 0 17px;min-width:0}
.theme-choice legend{font-size:.86rem;font-weight:800;padding:0 7px}
.theme-options{display:flex;flex-wrap:wrap;gap:10px}
.settings-grid .theme-options label{display:inline-flex;align-items:center;gap:8px;margin:0;padding:10px 15px;border:1px solid var(--line);border-radius:10px;cursor:pointer;background:var(--surface)}
.theme-options label:has(input:checked){border-color:var(--accent);box-shadow:0 0 0 1px var(--accent)}
.theme-options input{accent-color:var(--accent);margin:0}
.theme-choice .help-text{margin:11px 0 0}
html[data-theme="dark"] .theme-toggle{background:#192234;border-color:#3a4860;color:#e7eeff}
html[data-theme="dark"] .theme-toggle:hover{background:#27334a;border-color:#7986a8}
html[data-theme="dark"] .theme-options label{background:#192335}
@media(max-width:600px){.topnav{gap:9px}}
@media(max-width:430px){.topbar-inner{gap:8px}.identity small{display:none}.nav-panel{padding:8px;font-size:.68rem}.store-context strong{flex:1}.admin-header-actions{gap:7px}.admin-header-actions>a{white-space:nowrap}}
@media(max-width:350px){.topnav{gap:6px}.nav-panel span{display:none}.identity img{width:32px;height:32px}}
