.theme-toggle{position:relative;isolation:isolate;display:inline-flex;align-items:center;justify-content:space-between;flex-shrink:0;width:76px;height:44px;padding:0 12px;border:1px solid var(--border);border-radius:24px;background:color-mix(in srgb,var(--text) 7%,var(--surface));color:var(--text-secondary);cursor:pointer;touch-action:manipulation;transition:background-color .18s ease,border-color .18s ease}.theme-toggle svg{width:18px;height:18px;z-index:1;transition:transform .22s ease,color .18s ease}.theme-toggle-thumb{position:absolute;left:4px;top:4px;width:34px;height:34px;border-radius:50%;background:var(--surface);box-shadow:0 2px 8px #00000014;transition:transform .22s cubic-bezier(.2,.8,.2,1),background-color .18s ease}.theme-toggle .theme-sun{color:var(--accent-text);transform:rotate(0)}.theme-toggle[aria-checked=true]{background:color-mix(in srgb,var(--text) 12%,var(--surface));border-color:var(--border);color:var(--text-secondary)}.theme-toggle[aria-checked=true] .theme-toggle-thumb{transform:translate(32px);background:color-mix(in srgb,var(--text) 20%,var(--surface))}.theme-toggle[aria-checked=true] .theme-sun{color:#a6a6af;transform:rotate(65deg) scale(.85)}.theme-toggle[aria-checked=true] .theme-moon{color:var(--accent);transform:rotate(-12deg)}.theme-toggle:focus-visible{outline:3px solid var(--accent);outline-offset:4px}.signin-theme{display:flex;justify-content:flex-end;margin-bottom:16px}.landing .l-header-inner>.theme-toggle{order:1}.landing .l-header-inner>.l-menu{order:2}.landing .l-header-inner>.l-nav{order:3}.landing .l-header-inner>.l-brand{margin-right:auto}.landing .l-header-inner{gap:20px}.tg .l-header-inner>.l-text-link{order:2}@media(max-width:600px){.landing .l-header .l-brand img{width:34px;height:32px}.landing .l-header-inner{gap:12px}.toolbar__inner>.theme-toggle{margin-left:auto}}@media(prefers-reduced-motion:reduce){.theme-toggle,.theme-toggle *{transition:none!important;animation:none!important}}
