/* Light/dark switch button (assets/theme.js). Shows the moon while the page is light, the sun while it is dark. */
.theme-toggle{display:inline-grid;place-items:center;flex:none;width:44px;height:44px;padding:0;border-radius:50%;border:1px solid var(--line2,var(--rule-strong,#8A94A3));background:var(--surface,var(--paper,#fff));color:var(--ink,#12223A);cursor:pointer}
.theme-toggle:hover{border-color:var(--ink,#12223A)}
.theme-toggle:focus-visible{outline:3px solid var(--green-ink,var(--focus,#0B7A5F));outline-offset:3px}
.theme-toggle svg{width:20px;height:20px;grid-area:1/1}
.theme-toggle .i-sun{display:none}
:root[data-theme="dark"] .theme-toggle .i-sun{display:block}
:root[data-theme="dark"] .theme-toggle .i-moon{display:none}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .theme-toggle .i-sun{display:block}
  :root:not([data-theme="light"]) .theme-toggle .i-moon{display:none}
}
header.top>.theme-toggle{margin-left:12px}
@media (max-width:640px){header.top>.theme-toggle{margin-left:8px}}
