/* Sign-in and help pages: the website's grey paper, near-black ink and orange (after Teenage Engineering), flat. theme.js sets data-theme from the
   visitor's choice (Light by default) before the first paint; without it, the pages stay light. */
@font-face{font-family:Geist Mono;font-style:normal;font-weight:400 500;font-display:optional;src:url(/assets/fonts/geist-mono-v6.woff2) format("woff2")}
@font-face{font-family:"ScoreStarling Inter";font-style:normal;font-weight:100 900;font-display:swap;src:url(/assets/fonts/inter-variable.woff2) format("woff2")}
:root{
  color-scheme:light;
  --app:#efefed;--sheet:#f9f9f8;--field:#ffffff;
  --text:#0f0e12;--text-2:#5d5c61;--text-3:#67666b;
  --border:rgba(15,14,18,.1);--border-2:rgba(15,14,18,.18);--fill:rgba(15,14,18,.05);
  --primary:#0f0e12;--primary-hover:#2a292e;--on-primary:#ffffff;
  --accent:#e8501a;--accent-text:#b83b12;--accent-soft:rgba(232,80,26,.08);--danger:#c42b12;--focus:rgba(232,80,26,.5);
  --shadow:none;
  --display:"ScoreStarling Inter",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --sans:"ScoreStarling Inter",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --mono:"Geist Mono",ui-monospace,"SF Mono",Menlo,Consolas,monospace;
  --logo:url(/favicon.png);
  /* The website's spacing and line-height scale (apps/website/styles.css): margins and gaps use these steps,
     paddings the same 4px grid. Chinese editions raise the line-heights at the end. */
  --space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;
  --space-7:32px;--space-8:40px;--space-9:48px;--space-10:64px;--space-11:96px;
  --lh-heading:1.2;--lh-snug:1.35;--lh-ui:1.5;--lh-body:1.6;
  /* The website's type and corner steps (apps/website/styles.css); tests/workspace/check_type_scale.py keeps both. */
  --display-1:clamp(44px,6.6vw,94px);--display-2:clamp(36px,5vw,72px);--display-3:clamp(28px,3vw,40px);
  --display-4:clamp(22px,2.2vw,30px);--lede:clamp(17px,1.4vw,20px);
  --radius-xs:6px;--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-pill:999px;
}
:root[data-theme=dark]{
  color-scheme:dark;
  --app:#121311;--sheet:#1a1b19;--field:#232422;
  --text:#ededeb;--text-2:#a7a6a1;--text-3:#8e8d89;
  --border:rgba(255,255,255,.08);--border-2:rgba(255,255,255,.15);--fill:rgba(255,255,255,.07);
  --primary:#f2f1ee;--primary-hover:#ffffff;--on-primary:#1c1c1a;
  --accent:#ff7a45;--accent-text:#ff7a45;--accent-soft:rgba(255,122,69,.12);--danger:#ff8a80;--focus:rgba(255,122,69,.6);
  --shadow:none;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{min-height:100vh;min-height:100dvh;margin:0;background:var(--app);color:var(--text);font:14px/var(--lh-ui) var(--sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
[hidden]{display:none!important}
.theme-switching *,.theme-switching *::before,.theme-switching *::after{transition:none!important}
a{color:inherit}
button,input{font:inherit;color:inherit}
button{cursor:pointer;-webkit-tap-highlight-color:transparent}
button:disabled{cursor:default;opacity:.45}
:focus-visible{outline:2px solid var(--focus);outline-offset:2px}
.brand{display:inline-flex;align-items:center;gap:var(--space-2);color:var(--text);font:400 20px/1 var(--display);letter-spacing:-.02em;text-decoration:none;white-space:nowrap}
.mark{flex:none;width:28px;height:28px;background:var(--text);-webkit-mask:var(--logo) center/contain no-repeat;mask:var(--logo) center/contain no-repeat}

/* Buttons and fields */
.button{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);min-height:40px;padding:8px 16px;border:1px solid var(--border-2);border-radius:var(--radius-sm);background:transparent;font-size:14px;font-weight:500;line-height:var(--lh-snug);text-decoration:none;text-align:center;transition:background-color .15s,border-color .15s,transform .12s}
.button:hover:not(:disabled){background:var(--fill)}
.button.primary{border-color:var(--primary);background:var(--primary);color:var(--on-primary)}
.button.primary:hover:not(:disabled){border-color:var(--primary-hover);background:var(--primary-hover)}
.button.small{min-height:36px;padding:8px 12px;font-size:14px}
.button.block{width:100%}
.button.apple{margin-top:var(--space-3)}
.button svg{flex:none;width:18px;height:18px}
.link{padding:2px 0;border:0;background:none;color:var(--text-2);font-size:14px;text-decoration:underline;text-decoration-color:var(--border-2);text-underline-offset:3px}
.link:hover{color:var(--text);text-decoration-color:currentColor}
.field{display:block;margin:0 0 var(--space-4)}
.field span{display:block;margin:0 0 var(--space-2);font-size:13px;font-weight:500;color:var(--text-2)}
.field input{display:block;width:100%;height:40px;padding:0 12px;border:1px solid var(--border-2);border-radius:var(--radius-sm);background:var(--field);outline:none;transition:border-color .15s,box-shadow .15s}
.field input:focus{border-color:var(--accent);box-shadow:0 0 0 3px var(--accent-soft)}
.field .field-head{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-3);margin:0 0 var(--space-2);font-size:13px}
.field-head label{font-weight:500;color:var(--text-2)}
.field-head .link{font-size:13px}
/* The pressed button spins while its request runs and while the next page loads. */
.button.busy{position:relative;color:transparent}
.button.busy:disabled{opacity:1}
.button.busy svg{visibility:hidden}
.button.busy::after{content:"";position:absolute;top:50%;left:50%;width:18px;height:18px;margin:-9px 0 0 -9px;border:2px solid var(--border-2);border-top-color:var(--text);border-radius:50%;animation:spin .7s linear infinite}
.button.primary.busy::after{border-color:color-mix(in srgb,var(--on-primary) 30%,transparent);border-top-color:var(--on-primary)}

/* Sign in: one card that changes with the step */
body.auth{display:flex;flex-direction:column;align-items:center;padding:clamp(28px,9vh,96px) 20px 32px}
.auth>.brand{margin-bottom:var(--space-6)}
.auth-card{width:min(420px,100%);padding:32px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--sheet);box-shadow:var(--shadow)}
.auth-head{margin-bottom:var(--space-6);text-align:center}
.auth-head h1{margin:0;font:350 28px/var(--lh-heading) var(--display);letter-spacing:-.025em}
.auth-head p{margin:var(--space-2) 0 0;font-size:14px;color:var(--text-2);text-wrap:balance}
.auth-head strong{color:var(--text);font-weight:600}
.or{display:flex;align-items:center;gap:var(--space-3);margin:var(--space-5) 0;font-size:13px;color:var(--text-2)}
.or::before,.or::after{content:"";flex:1;height:1px;background:var(--border)}
#login .button,#reset-password .button,#accept .button{margin-top:var(--space-2)}
.auth-links{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--space-2) var(--space-5);margin-top:var(--space-5)}
/* Creating an account (or going back to sign in) sits under the card, the way most sign-in pages do. */
.auth-switch{margin:var(--space-6) 0 0;font-size:14px;color:var(--text-2);text-align:center}
.auth-switch .link{color:var(--text);font-size:inherit;font-weight:500;text-decoration:none}
.auth-switch .link:hover{text-decoration:underline}
/* theme.js marks a remembered sign-in, so the card shows the check instead of the form until login.js runs. */
:root[data-signed-in] .auth-card[data-state=initial]>*{display:none!important}
:root[data-signed-in] .auth-card[data-state=initial]>.loading{display:grid!important}
.note{margin:0 0 var(--space-5);padding:12px 16px;border-radius:var(--radius-sm);background:var(--fill);font-size:13px;color:var(--text-2);text-align:left;overflow-wrap:anywhere}
.note:empty{display:none}
.note[data-tone=error]{background:var(--accent-soft);color:var(--danger)}
/* Consent: the app and ScoreStarling side by side, the account, what the app may do, two short facts, the answer. */
.pair{display:flex;align-items:center;justify-content:center;gap:var(--space-2);margin-bottom:var(--space-5)}
.tile{display:grid;place-items:center;width:48px;height:48px;border:1px solid var(--border);border-radius:var(--radius-md);background:var(--fill);font:400 22px/1 var(--display);color:var(--text)}
.tile.ours{background:var(--sheet)}
.tile .mark{width:26px;height:26px}
.pair-line{width:28px;border-top:2px dotted var(--border-2)}
.consent-head h1{text-wrap:balance;overflow-wrap:anywhere}
.grants,.facts{margin:0;padding:0;list-style:none}
.grants{display:grid;gap:var(--space-3);margin-bottom:var(--space-5)}
.grants li,.facts li{display:flex;align-items:flex-start;gap:var(--space-3)}
.grants li{font-size:14px}
.grants svg,.facts svg{flex:none;width:18px;height:18px;margin-top:2px;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.grants svg{stroke:var(--accent)}
.facts{display:grid;gap:var(--space-2);text-wrap:pretty;padding:12px 16px;border-radius:var(--radius-sm);background:var(--fill);font-size:13px;color:var(--text-2)}
.facts svg{width:16px;height:16px;stroke:var(--text-3);stroke-width:1.8}
.facts li[hidden]{display:none}
#destination{overflow-wrap:anywhere}
.fine{margin:0 0 var(--space-3);font-size:13px;color:var(--text-2)}
.fine:empty{display:none}
/* A line under a button (the terms when creating an account) sits a step below it, centred like the card. */
.button+.fine{margin:var(--space-3) 0 0;text-align:center}
.row{display:flex;gap:var(--space-3);margin-top:var(--space-5)}
.row .button{flex:1}
.loading{display:grid;place-items:center;min-height:120px}
.spinner{width:22px;height:22px;border:2px solid var(--border-2);border-top-color:var(--text-2);border-radius:50%;animation:spin .8s linear infinite}
.auth-foot{margin-top:var(--space-6);font-size:13px}
.auth-foot nav{display:flex;flex-wrap:wrap;justify-content:center;gap:var(--space-2) var(--space-5)}
.auth-foot a{color:var(--text-2);text-decoration:none}
.auth-foot a:hover{color:var(--text)}

/* System, Light and Dark switch from account.js: page footers and the account menu */
.theme-switch{display:inline-flex;flex:none;gap:2px;padding:3px;border:1px solid var(--border);border-radius:var(--radius-pill);background:var(--sheet)}
.theme-option{display:grid;place-items:center;width:32px;height:26px;padding:0;border:0;border-radius:var(--radius-pill);background:transparent;color:var(--text-3);transition:background-color .15s,color .15s}
.theme-option:hover{color:var(--text)}
.theme-option[aria-checked=true]{background:var(--fill);color:var(--text)}
.theme-option .account-icon{width:15px;height:15px}

/* Help and legal pages: the public site's header as it is on a narrower screen (the wordmark on two lines, its pages as
   lower-case words in ink, account links), apps/website/styles.css */
.doc-bar{position:sticky;top:0;z-index:5;background:color-mix(in srgb,var(--app) 86%,transparent);-webkit-backdrop-filter:saturate(1.4) blur(14px);backdrop-filter:saturate(1.4) blur(14px)}
@supports (animation-timeline:scroll()){.doc-bar{animation:doc-bar-line linear both;animation-timeline:scroll();animation-range:0 24px}}
@keyframes doc-bar-line{from{box-shadow:0 1px 0 transparent}to{box-shadow:0 1px 0 var(--border)}}
.doc-bar-inner{width:min(1240px,100% - clamp(40px,8vw,96px));margin:0 auto}
.doc-bar-inner{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:var(--space-7);height:72px}
.doc-bar .brand{justify-self:start;align-items:center;gap:var(--space-3)}
/* The website header's name (apps/website/assets/wordmark.svg) and its small mono capitals, the way in the one orange word. */
.doc-bar .brand span:not(.mark){--mark:17px;display:block;width:calc(var(--mark) * 7.2751);height:var(--mark);font-size:0;background:currentColor;-webkit-mask:url(/assets/wordmark.svg) center/contain no-repeat;mask:url(/assets/wordmark.svg) center/contain no-repeat}
.doc-bar .mark{width:26px;height:26px}
.doc-bar nav{display:flex;align-items:center;font:500 12px/1 var(--mono);letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}
.doc-bar nav a:not(.button){display:inline-flex;align-items:center;min-height:44px;color:var(--text);text-decoration:none;transition:color .15s}
.doc-bar nav a:not(.button):hover{color:var(--accent-text)}
.doc-bar .doc-actions .button.primary{gap:var(--space-2);height:44px;padding:0;border:0;border-radius:0;background:none;color:var(--accent-text);font:inherit}
.doc-bar .doc-actions .button.primary:hover:not(:disabled){background:none}
.doc-bar .doc-actions .button.primary::after{content:"\2192";transition:transform .2s}
.doc-bar .doc-actions .button.primary:hover::after{transform:translateX(2px)}
:root:lang(zh) .doc-bar nav{font-family:var(--sans);font-size:14px;letter-spacing:0}
.doc-nav{gap:var(--space-7)}
.doc-actions{justify-self:end;gap:var(--space-6)}
@media (forced-colors:active){.doc-bar .brand span:not(.mark),.footer-brand .brand span{width:auto;height:auto;background:none;-webkit-mask:none;mask:none;font:600 20px/1 var(--sans);text-transform:uppercase}}
.prose{width:min(680px,100% - 40px);margin:0 auto;padding:64px 0 96px}
.prose h1{margin:0 0 var(--space-5);font:350 var(--display-2)/1.08 var(--display);letter-spacing:-.025em}
.updated{margin:0 0 var(--space-8);font-size:14px;color:var(--text-3)}
.prose h2{margin:var(--space-9) 0 var(--space-3);font:400 24px/var(--lh-heading) var(--display);letter-spacing:-.01em}
.prose p{margin:0 0 var(--space-4);font-size:16px;line-height:var(--lh-body);color:var(--text-2)}
.prose a:not(.button){color:var(--text);text-decoration-color:var(--border-2);text-decoration-thickness:1px;text-underline-offset:3px}
.prose a:not(.button):hover{text-decoration-color:var(--accent)}
.prose .button{margin:var(--space-2) 0 var(--space-1)}
/* The website's footer (apps/website/styles.css), copied into the help, account and invitation pages by publish.py. */
.site-footer{padding:0 0 32px;background:var(--app)}
.site-footer .wrap{width:min(1240px,100% - clamp(40px,8vw,96px));margin-inline:auto}
.footer-grid{display:grid;grid-template-columns:1.6fr repeat(4,1fr);gap:var(--space-8) var(--space-7);padding-top:28px;border-top:2px solid var(--text)}
.footer-brand .brand{align-items:center;gap:var(--space-3)}
.footer-brand .brand span{--mark:17px;display:block;width:calc(var(--mark) * 7.2751);height:var(--mark);font-size:0;background:currentColor;-webkit-mask:url(/assets/wordmark.svg) center/contain no-repeat;mask:url(/assets/wordmark.svg) center/contain no-repeat}
.footer-brand .brand img{width:26px;height:26px}
:root[data-theme=dark] .footer-brand .brand img{filter:invert(1) brightness(.93)}
.footer-brand p{margin:var(--space-4) 0 0;font-size:15px;line-height:var(--lh-snug);color:var(--text-2)}
.footer-social{display:flex;gap:var(--space-1);margin:var(--space-4) 0 0 -12px}
.footer-social a{display:grid;place-items:center;width:44px;height:44px;color:var(--text-2);transition:color .15s}
.footer-social a:hover{color:var(--text)}
.footer-social svg{width:18px;height:18px;fill:currentColor}
.footer-nav{display:grid;align-content:start;gap:var(--space-3)}
.footer-h{margin:0 0 var(--space-2);font:500 12px/1 var(--mono);letter-spacing:.04em;text-transform:uppercase;color:var(--text-3)}
.footer-nav a{width:fit-content;font-size:15px;color:var(--text);text-decoration:underline 1px transparent;text-underline-offset:4px;transition:text-decoration-color .15s}
.footer-nav a:hover{text-decoration-color:currentColor}
.footer-base{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-3) var(--space-7);margin-top:var(--space-10);padding-top:16px;border-top:1px solid var(--text);font:500 12px/var(--lh-ui) var(--mono);color:var(--text-3)}
.fine-mark{display:inline-flex;margin-left:auto}
.fine-mark svg{width:28px;height:32.5px;overflow:visible;fill:currentColor;stroke:currentColor}
.fine-mark .fine-staff{stroke-width:.8;opacity:.55}
.fine-mark .fine-bar{stroke-width:1.1}
.fine-mark rect,.fine-mark circle{stroke:none}
.fine-mark .fine-arc{fill:none;stroke-width:1.5;stroke-linecap:round}
.sr-only{position:absolute!important;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
@media (min-width:761px) and (max-width:1100px){.footer-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.footer-brand{grid-column:1/-1}}
@media (max-width:760px){.footer-grid{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}}

/* Who is approving: the signed-in account in one slim row, shown above what the app asks for. */
.who{display:flex;align-items:center;gap:var(--space-3);margin:0 0 var(--space-5);padding:8px;border:1px solid var(--border);border-radius:var(--radius-pill)}
.who .account-avatar{width:32px;height:32px;font-size:14px}
.who-text{display:flex;flex-direction:column;min-width:0;flex:1}
.who-text strong{overflow:hidden;font-size:14px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.who-text span{overflow:hidden;font-size:12px;color:var(--text-2);text-overflow:ellipsis;white-space:nowrap}
.who .link{flex:none;height:32px;padding:0 12px;border:1px solid var(--border-2);border-radius:var(--radius-pill);font-size:13px;text-decoration:none;transition:background-color .15s,color .15s}
.who .link:hover{background:var(--fill);color:var(--text)}

/* Account pages (admin, billing): white panels whose content sits in rows. */
.panel{margin-top:var(--space-6);padding:24px 32px;border:1px solid var(--border);border-radius:var(--radius-lg);background:var(--sheet);box-shadow:var(--shadow)}
.panel h2{margin:0 0 var(--space-5);font:500 20px/var(--lh-heading) var(--display);letter-spacing:-.01em}
.panel>.fine{margin:0}
.count{font:500 14px var(--sans);color:var(--text-3)}
.items{margin:var(--space-5) 0 0;padding:0;list-style:none}
.items li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:var(--space-2) var(--space-4);padding:16px 0;border-top:1px solid var(--border)}
.items strong{display:block;font-weight:600}
.items .fine{margin:2px 0 0}
.items .empty{color:var(--text-3);font-size:14px}
.badge{display:inline-block;padding:2px 12px;border-radius:var(--radius-pill);background:var(--fill);font-size:12px;color:var(--text-2);white-space:nowrap}
.badge.on{background:var(--accent-soft);color:var(--accent-text)}
@media (max-width:520px){.panel{padding:24px 20px}}

/* Signed-in header: account.js swaps "Sign in" for this avatar menu (the workspace and website mirror it). */
.account{position:relative;display:flex}
.account-button{display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;background:none}
.account-avatar{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;background:var(--accent-soft);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--accent) 28%,transparent);color:var(--accent);font:600 14px/1 var(--sans)}
.account-button:hover .account-avatar,.account-button[aria-expanded=true] .account-avatar{box-shadow:inset 0 0 0 1px var(--accent)}
.account-menu{position:absolute;top:calc(100% + 10px);right:0;z-index:10;width:260px;max-width:calc(100vw - 32px);padding:8px;border:1px solid var(--border);border-radius:12px;background:var(--sheet);box-shadow:0 12px 32px -16px rgba(15,14,18,.28),0 24px 48px -20px rgba(0,0,0,.35)}
.account-avatar{position:relative;overflow:hidden}
.account-avatar img{position:absolute;inset:0;width:100%;height:100%;border-radius:50%;object-fit:cover}
.account-avatar.has-image{color:transparent}
.account-menu:focus{outline:none}
.account-head{display:flex;align-items:center;gap:var(--space-3);padding:8px 8px 12px}
.account-who{display:flex;flex-direction:column;gap:1px;min-width:0}
.account-caption{font-size:12px;color:var(--text-3)}
.account-caption[aria-busy=true]{min-width:128px;min-height:16px;border-radius:6px;background:var(--fill);color:transparent}
.account-email{overflow:hidden;font-size:14px;font-weight:600;text-overflow:ellipsis;white-space:nowrap}
.account-section{margin-top:var(--space-1);padding-top:4px;border-top:1px solid var(--border)}
.account-item{display:flex;align-items:center;gap:var(--space-3);width:100%;min-height:40px;padding:8px 12px;border:0;border-radius:var(--radius-sm);background:none;font-size:14px;color:var(--text);text-align:left;text-decoration:none}
.account-item:hover,.account-item:focus-visible{background:var(--fill);outline:none}
.account-balance{height:auto;min-height:56px;padding:8px 12px}
.account-balance .account-plan{font-size:14px;font-weight:600}
.account-balance>.account-icon:last-child{margin-left:auto;flex:none;color:var(--text-3)}
.doc-bar .account-menu .account-item{color:var(--text)}
.account-item .account-icon{width:18px;height:18px;color:var(--text-2)}
.account-theme{display:flex;align-items:center;justify-content:space-between;gap:var(--space-3);padding:8px 4px 2px 12px}
.account-theme-label{font-size:14px}
.account-theme .theme-switch{border:0;background:var(--fill)}
.account-theme .theme-option[aria-checked=true]{background:var(--sheet);box-shadow:inset 0 0 0 1px var(--border-2)}
/* Language, under the theme: a row naming the choice that opens a language submenu, with a check on the chosen one. */
.account-theme+.account-language{margin-top:0;border-top:0}
.account-value{margin-left:auto;font-size:13px;color:var(--text-3);white-space:nowrap}
.account-item .account-value+.account-icon{width:15px;height:15px;margin-left:-4px;color:var(--text-3)}
.account-languages{position:absolute;z-index:1;width:200px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);overflow:auto;padding:8px;border:inherit;border-radius:12px;background:inherit;box-shadow:inherit}
.account-languages [role=menuitemradio] .account-icon{visibility:hidden;color:var(--accent-text)}
.account-languages [role=menuitemradio][aria-checked=true] .account-icon{visibility:visible}
/* Until account.js answers, a remembered account keeps "Sign in" from flashing. */
:root[data-signed-in] .doc-actions [data-signin]{visibility:hidden}

/* Narrow screens keep the site's pages in the footer. */
@media (max-width:960px){
  .doc-bar-inner{grid-template-columns:1fr auto}
  .doc-bar .doc-nav{display:none}
}
@media (max-width:520px){
  body.auth{padding-top:32px}
  .auth-card{padding:24px 24px}
  .auth-head h1{font-size:24px}
  .button,.button.small,.account-item{min-height:44px}
  .field input{height:44px;font-size:16px}
  .auth-links .link,.auth-switch .link,.picture-actions .link,.settings-out .link{min-height:44px}
  .account-button{width:44px;height:44px}
  .theme-option{width:40px;height:36px}
  .doc-bar-inner{height:64px}
  .doc-bar .mark{width:28px;height:28px}
  /* "Open workspace" already leads signed-out visitors to sign in. */
  .doc-bar .doc-actions a:not(.button){display:none}
  .prose{padding:48px 0 64px}
}
@media (max-width:359px){.doc-bar .brand span:last-child{display:none}}
/* Signed in, the avatar joins Open workspace: on phones the bird alone stands for the brand, so both still fit. */
@media (max-width:480px){:root[data-signed-in] .doc-bar .brand span:last-child{display:none}}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
@keyframes spin{to{transform:rotate(360deg)}}
/* Placeholders while a page's data loads, the same shimmer as the workspace's (ui.css): shaped like what replaces them. */
.skeleton{display:block;border-radius:var(--radius-sm);background:linear-gradient(90deg,var(--fill) 30%,var(--border) 50%,var(--fill) 70%);background-size:300% 100%;animation:shimmer 1.4s ease-in-out infinite}
.skeleton.title{width:38%;height:14px}
.skeleton.text{width:62%;height:10px;margin-top:var(--space-2)}
.skeleton.pill{flex:none;width:92px;height:32px;border-radius:var(--radius-pill)}
.skeleton.cell{width:72%;height:11px}
@keyframes shimmer{0%{background-position:100% 0}100%{background-position:0 0}}
@media (prefers-reduced-motion:reduce){.skeleton{animation:none}}

/* Email verification uses the existing auth card and shared controls. */
#code{font-family:ui-monospace,"SF Mono",Menlo,monospace;font-size:24px;letter-spacing:.15em;text-align:center}
#verify-code .button{margin-top:var(--space-2)}

/* Public reading pages share the website identity without changing account or workspace controls. */
@font-face{font-family:"ScoreStarling Public Poster";font-style:normal;font-weight:700 900;font-display:swap;src:url(/assets/fonts/scorestarling-display-v1.woff2) format("woff2")}
.public-document{--app:#ffffff;--sheet:#f6f6f5;--poster:"ScoreStarling Public Poster","Arial Narrow",var(--sans)}
:root[data-theme=dark] .public-document{--app:#121311;--sheet:#1a1b19;--text:#ecebe6;--text-2:#a3a199;--text-3:#a3a199}
.public-document :is(.prose,.help) h1{font-family:var(--poster);font-weight:900;letter-spacing:0;text-transform:uppercase;line-height:1}
.public-document :is(.prose,.help) h2{font-family:var(--poster);font-weight:800;letter-spacing:0;text-transform:uppercase}
.public-document .doc-bar{background:var(--app);-webkit-backdrop-filter:none;backdrop-filter:none;border-bottom:1px solid var(--border);animation:none}
.public-document .doc-bar nav{font:500 15px/var(--lh-ui) var(--sans);letter-spacing:0;text-transform:none}
.public-document :is(.help-search,.help-facts,.help-contact,.help-empty){border-radius:0;box-shadow:none;background:transparent}
.public-document .help-search:focus-within{outline:2px solid var(--focus);outline-offset:2px}
.public-document .prose .updated{font-family:var(--mono)}
:root:lang(zh) .public-document{--poster:var(--sans)}
:root:lang(zh) .public-document :is(.prose,.help) :is(h1,h2){font-family:var(--poster);font-weight:600;line-height:var(--lh-heading);text-transform:none;letter-spacing:0}
:root:lang(zh) .public-document .doc-bar nav{font-family:var(--sans);font-size:15px}

/* Chinese editions (apps/website/publish.py writes apps/web/zh-hans/ and zh-hant/): each platform's Chinese faces after
   the Latin ones, never Windows' SimSun; Han characters stand upright, are never tracked tight and get a taller line. */
:root:lang(zh-Hans){
  --display:"ScoreStarling Inter",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans CJK SC","Noto Sans SC",Roboto,"Helvetica Neue",Arial,sans-serif;
  --sans:"ScoreStarling Inter",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Hiragino Sans GB","Microsoft YaHei","Noto Sans CJK SC","Noto Sans SC",Roboto,"Helvetica Neue",Arial,sans-serif;
}
:root:lang(zh-Hant){
  --display:"ScoreStarling Inter",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang TC","Hiragino Sans CNS","Microsoft JhengHei","Noto Sans CJK TC","Noto Sans TC",Roboto,"Helvetica Neue",Arial,sans-serif;
  --sans:"ScoreStarling Inter",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang TC","Hiragino Sans CNS","Microsoft JhengHei","Noto Sans CJK TC","Noto Sans TC",Roboto,"Helvetica Neue",Arial,sans-serif;
}
:root:lang(zh){font-synthesis-style:none;--lh-heading:1.3;--lh-snug:1.45;--lh-ui:1.6;--lh-body:1.75;
  --display-1:clamp(38px,5.8vw,84px);--display-2:clamp(32px,4.2vw,56px);--display-3:clamp(26px,2.6vw,32px);--display-4:clamp(22px,2.1vw,26px)}
:root:lang(zh) body{line-height:var(--lh-ui)}
:root:lang(zh) .brand .brand-names{display:grid;gap:var(--space-1);line-height:var(--lh-heading);letter-spacing:0}
:root:lang(zh) .brand-names small{font-size:12px;font-weight:400;color:var(--text-3)}
@media (max-width:600px){:root:lang(zh) .doc-bar .brand-names small{display:none}}
:root:lang(zh) :is(h1,h2,h3){letter-spacing:0;line-height:1.3}
:root:lang(zh) :is(em,i){font-style:normal}
