.theme-toggle{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:44px;height:44px;padding:10px;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--fg);cursor:pointer}
.theme-toggle:hover{border-color:var(--accent)}
.theme-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.theme-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.theme-toggle .theme-sun{display:none}
:root[data-theme="dark"] .theme-toggle .theme-sun{display:block}
:root[data-theme="dark"] .theme-toggle .theme-moon{display:none}
@media(max-width:600px){header.top .wrap{height:auto;min-height:60px;flex-wrap:wrap;gap:10px;padding-block:8px}header.top nav{order:3;flex-basis:100%;display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap}header.top nav a{margin:0;min-height:36px;display:flex;align-items:center}}
@media(max-width:420px){.nav .wrap{gap:8px}}
