/* The look of the page on millionshort.com (site mode, lib/site.js): that site's blue, its
   lettering and its logo, in light, dark and "auto". Tokens only: the layout is ms.css's.
   The site's server puts class="site" on <html> and may set --site-logo / --site-logo-dark. */
:root.site{
  --surface:#f5f9fd; --surface-2:#eaf2fb; --line:#dfe8f2; --line-strong:#c6d3e2;
  --text:#1f2937; --text-2:#4b5563; --text-3:#6b7280;
  --accent:#0161d2; --accent-ink:#ffffff; --accent-soft:#e5eef8; --link:#0161d2;
  --boost:#0161d2; --boost-soft:#e5eef8;
  --brand:#30a9ff;
  --font:"Open Sans",system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  --logo:var(--site-logo,none);
}
:root.site[data-theme="dark"]{
  --surface:#171c22; --surface-2:#1f262e; --line:#27303a; --line-strong:#374352;
  --text:#e8eaed; --text-2:#b0b8c1; --text-3:#87909a;
  --accent:#30a9ff; --accent-ink:#04121d; --accent-soft:#12293a; --link:#8ab4f8;
  --boost:#30a9ff; --boost-soft:#12293a;
  --logo:var(--site-logo-dark,var(--site-logo,none));
}
@media (prefers-color-scheme:dark){
  :root.site:not([data-theme="light"]){
    --surface:#171c22; --surface-2:#1f262e; --line:#27303a; --line-strong:#374352;
    --text:#e8eaed; --text-2:#b0b8c1; --text-3:#87909a;
    --accent:#30a9ff; --accent-ink:#04121d; --accent-soft:#12293a; --link:#8ab4f8;
    --boost:#30a9ff; --boost-soft:#12293a;
    --logo:var(--site-logo-dark,var(--site-logo,none));
  }
}

/* the logo in place of the lettered wordmark; the words stay for screen readers and for a
   browser that cannot load the picture (alt text of a background has no other home) */
.site .wordmark.has-logo{display:inline-block;flex:none;background:var(--logo) no-repeat left center/contain;
  aspect-ratio:494/92;height:26px;font-size:0;line-height:0;color:transparent;overflow:hidden}
.site .wordmark.has-logo b{color:transparent}
.site .hero .wordmark.has-logo{height:58px;max-width:86vw;background-position:center;font-size:0}
.site .cr-top .wordmark.has-logo{height:26px}

/* the allowance line in the footer */
.site #foot-left{font-weight:600;color:var(--text-2)}
.site .hero-tabs button[aria-pressed="true"]{color:var(--accent)}
