/* Small quiet header switch; 44px hit area around a 30px face. */
.nx-header .nx-header-inner {gap:16px}
.nx-header .nx-nav {margin-left:auto;margin-right:0}
.nx-header .nx-theme-toggle {position:relative;display:inline-grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:0;border-radius:50%;background:transparent;box-shadow:none;color:var(--nx-muted,#667080);cursor:pointer}
.nx-header .nx-theme-toggle::before {content:"";position:absolute;inset:7px;border-radius:50%;background:var(--dm-surface,var(--fn-face,#f1f4f8));border:1px solid var(--turbo-control-border,var(--dm-line,#d8dee7));box-shadow:var(--turbo-control-shadow,var(--fn-small,1px 2px 4px #27364d1a,inset 1px 1px 1px #fff));pointer-events:none}
.nx-header .nx-theme-toggle svg {position:relative;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.nx-header .nx-theme-toggle .nx-theme-sun {display:none}
:root[data-nexin-theme="dark"] .nx-header .nx-theme-toggle .nx-theme-sun {display:block}
:root[data-nexin-theme="dark"] .nx-header .nx-theme-toggle .nx-theme-moon {display:none}
.nx-header .nx-theme-toggle:is(:hover,:focus-visible) {color:var(--nx-blue,var(--nx-light-blue-0030fd,#0030fd))}
.nx-header .nx-theme-toggle:focus-visible {outline:2px solid var(--nx-blue,var(--nx-light-blue-0030fd,#0030fd));outline-offset:1px}
:root[data-soft-ui="codex"][data-neu-world="full"] .nx-header .nx-theme-toggle:active {background:transparent!important;box-shadow:none!important}
.nx-header .nx-theme-toggle:active::before {box-shadow:var(--fn-inset,inset 1px 2px 3px #27364d2a)}
@media(max-width:720px) {
 .nx-header .nx-brand {margin-right:auto}
 .nx-header .nx-menu-toggle {order:1}
 .nx-header .nx-theme-toggle {order:2}
 .nx-header .nx-nav {order:3;margin-left:0}
 .nx-header .nx-header-inner {column-gap:8px}
}
@media(forced-colors:active) {.nx-header .nx-theme-toggle::before {background:ButtonFace;border-color:ButtonText;box-shadow:none}}
