/* Shared look of the inner pages. Loaded last. The light look is the Google palette written in each page's own stylesheet and is not changed here.
   This file adds the switch and the dark look of the parts every inner page shares: the navigation row, the sign-in dialog and the account badge. */
.sitenav .theme-toggle{flex:none;margin-inline-start:auto;min-height:42px;padding:0 14px;border:1px solid #cfe0fb;border-radius:999px;background:#fff;color:#3c4452;font:600 14px/1 inherit;cursor:pointer}
.sitenav .theme-toggle:hover{background:#eef4ff;color:#174ea6}
.sitenav .theme-toggle[aria-pressed=true]{background:#4285F4;border-color:#4285F4;color:#fff}
.sitenav .theme-toggle:focus-visible{outline:3px solid #FBBC05;outline-offset:2px}

/* DARK: the default. The palette of the main site: near-black ground, mint, lilac, coral and amber. */
html[data-theme=dark]{--bg:#05060a;--ink:#f5f6f8;--ink2:#b7bec9;--line:#ffffff24;--blue:#7945ff;--red:#ff6688;--yellow:#ffb84d;--green:#68f5d5;--card:#10131c;--soft:#171b27;--link:#c9b8ff;--lilac:#b980ff;color-scheme:dark}
:where([data-theme=dark]) body{background:radial-gradient(900px 480px at 88% -6%,#21152e,transparent 70%),radial-gradient(720px 420px at 0 0,#141b29,transparent 65%),#05060a;background-attachment:fixed}
:where([data-theme=dark]) ::selection{background:#7945ff66;color:#fff}

:where([data-theme=dark]) .sitenav a,:where([data-theme=dark]) .sitenav .theme-toggle{border-color:#ffffff24;background:#171b27;color:#b7bec9}
:where([data-theme=dark]) .sitenav a:hover,:where([data-theme=dark]) .sitenav .theme-toggle:hover{background:#7945ff26;color:#fff}
:where([data-theme=dark]) .sitenav a[aria-current=page]{background:#7945ff;border-color:#7945ff;color:#fff}
:where([data-theme=dark]) .sitenav a:focus-visible,:where([data-theme=dark]) .sitenav .theme-toggle:focus-visible{outline-color:#ffb84d}

:where([data-theme=dark]) .si-sheet{color:#f5f6f8}
:where([data-theme=dark]) .si-sheet::backdrop{background:rgba(0,0,0,.62)}
:where([data-theme=dark]) .si-box,:where([data-theme=dark]) .si-box:has(.si-profile-head){background:linear-gradient(145deg,#141b29,#11131d 60%,#21152e);border-color:#ffffff24;box-shadow:0 24px 90px #0008}
:where([data-theme=dark]) .si-muted,:where([data-theme=dark]) .si-field label,:where([data-theme=dark]) .si-check,:where([data-theme=dark]) .si-note{color:#b7bec9}
:where([data-theme=dark]) .si-close{background:#ffffff14;color:#f5f6f8}
:where([data-theme=dark]) .si-field input,:where([data-theme=dark]) .si-field select{background:#0b101b;color:#f5f6f8;border-color:#ffffff30}
:where([data-theme=dark]) .si-field input:focus{outline-color:#ffb84d;border-color:#b980ff}
:where([data-theme=dark]) .si-field .code-cells input{caret-color:#68f5d5}
:where([data-theme=dark]) .si-field .code-cells input::selection{background:#7945ff66}
:where([data-theme=dark]) .si-check input{accent-color:#b980ff}
:where([data-theme=dark]) .si-check a{color:#c9b8ff}
:where([data-theme=dark]) .si-primary{background:linear-gradient(120deg,#ffb84d,#ffe998);color:#140d02}
:where([data-theme=dark]) .si-primary:hover{background:linear-gradient(120deg,#ffc266,#fff0b3)}
:where([data-theme=dark]) .si-ghost{background:transparent;border-color:#ffffff30;color:#c9b8ff}
:where([data-theme=dark]) .si-link{background:#171b27;border-color:#ffffff24;color:#c9b8ff}
:where([data-theme=dark]) .si-box button:focus-visible,:where([data-theme=dark]) .si-link:focus-visible{outline-color:#ffb84d}
:where([data-theme=dark]) .si-monogram{color:#f5f6f8;border-color:#68f5d5;border-right-color:#b980ff;border-bottom-color:#ff6688;border-left-color:#ffb84d}
:where([data-theme=dark]) .si-profile-head h2{color:#f5f6f8}

:where([data-theme=dark]) .acct-login{background:linear-gradient(120deg,#ffb84d,#ffe998);color:#140d02}
:where([data-theme=dark]) .acct-login:hover{background:linear-gradient(120deg,#ffc266,#fff0b3)}
:where([data-theme=dark]) .acct-login:focus-visible,:where([data-theme=dark]) .acct-avatar:focus-visible,:where([data-theme=dark]) .acct-open:focus-visible{outline-color:#ffb84d}
:where([data-theme=dark]) .acct-ring{background:conic-gradient(#68f5d5 0 calc(var(--pct)*.25*1%),#b980ff calc(var(--pct)*.25*1%) calc(var(--pct)*.5*1%),#ff6688 calc(var(--pct)*.5*1%) calc(var(--pct)*.75*1%),#ffb84d calc(var(--pct)*.75*1%) calc(var(--pct)*1%),#ffffff1f calc(var(--pct)*1%) 100%)}
:where([data-theme=dark]) .acct-initial{background:#10131c;color:#f5f6f8}
:where([data-theme=dark]) .acct-pop,:where([data-theme=dark]) .invite-note{background:#141b29;color:#f5f6f8;border-color:#ffffff24;box-shadow:0 18px 50px #000a}
:where([data-theme=dark]) .acct-list li{color:#b7bec9}
:where([data-theme=dark]) .acct-list li[data-done=true]{color:#68f5d5}
:where([data-theme=dark]) .acct-mail{border-top-color:#ffffff24;color:#68f5d5}
:where([data-theme=dark]) .acct-next,:where([data-theme=dark]) .invite-note a{color:#c9b8ff}
:where([data-theme=dark]) .acct-open{border-color:#b980ff;color:#c9b8ff}
:where([data-theme=dark]) .acct-open:hover{background:#7945ff26}
:where([data-theme=dark]) .acct-closed{background:#ffffff14;color:#b7bec9}
