/* ShiftHands sign in / create account (site/login.html, site/signup.html; logic in site/auth.js).
   Self-contained: loaded after fonts.css (Figtree + --sh-* brand tokens), not styles.css.

   Layout: >= 900px a split screen (dark brand panel with the mascot + a slow aurora on the left, the
   form card on the right); below that one column with a compact brand header.
   <html data-mode="login|signup"> picks which mode-only bits show; <html data-host="web|mac"> is set by
   auth.js (mac = inside the ShiftHands desktop app: Sign in | Create account toggle, no marketing links).
   Palette: Meta blue on Facebook dark surfaces, light variant for light-mode systems. No green, orange
   or purple. Amber only means "needs you"; red only errors. Every animation is transform/opacity only
   and stops under prefers-reduced-motion. */

:root {
  color-scheme: dark;
  --bg: var(--sh-bg);
  --surface: var(--sh-card);
  --field: #1C1D1F;
  --field-border: #3E4042;
  --field-hover: #57595C;
  --text: var(--sh-text);
  --muted: var(--sh-text-2);
  --faint: var(--sh-muted);
  --line: var(--sh-line);
  --line-2: var(--sh-line-2);
  --blue: var(--sh-blue);
  --blue-text: var(--sh-blue-text);
  --focus: var(--sh-blue-text);
  --ring: rgba(24, 119, 242, 0.32);
  --red: var(--sh-red);
  --red-text: var(--sh-red-text);
  --err-bg: var(--sh-red-soft);
  --err-line: rgba(240, 40, 73, 0.45);
  --err-text: #FFD0D7;
  --chip-bg: rgba(255, 255, 255, 0.05);
  --card-shadow: 0 40px 90px -40px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.04);
  --ease: cubic-bezier(.2, .8, .2, 1);
}
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --bg: #F0F2F5;
    --surface: #FFFFFF;
    --field: #FFFFFF;
    --field-border: #CED0D4;
    --field-hover: #A8ABAF;
    --text: #1C1E21;
    --muted: #65676B;
    --faint: #8A8D91;
    --line: rgba(0, 0, 0, 0.07);
    --line-2: rgba(0, 0, 0, 0.12);
    --blue-text: #0866FF;
    --focus: #0866FF;
    --ring: rgba(8, 102, 255, 0.22);
    --red-text: #C80F33;
    --err-bg: rgba(240, 40, 73, 0.07);
    --err-line: rgba(240, 40, 73, 0.4);
    --err-text: #8F0A25;
    --chip-bg: rgba(0, 0, 0, 0.03);
    --card-shadow: 0 30px 70px -36px rgba(20, 24, 30, 0.35), 0 0 0 1px rgba(0, 0, 0, 0.05);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.5 var(--sh-font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; }
a { color: var(--blue-text); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 8px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 50;
  background: var(--sh-blue); color: #fff; padding: 10px 14px; border-radius: 10px; font-weight: 600;
}
.skip-link:focus { top: 12px; text-decoration: none; }

/* Host / mode switches (html attributes) */
html[data-host="mac"] .web-only, html[data-host="web"] .mac-only { display: none !important; }
html[data-mode="login"] .only-signup, html[data-mode="signup"] .only-login { display: none !important; }

/* ---------- Shell ---------- */
.auth { min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: minmax(0, 1fr); }

/* ---------- Brand panel (always dark: it is the brand, not the theme) ---------- */
.brand {
  position: relative; overflow: hidden; isolation: isolate;
  background: #0E0F11; color: #F5F6F7;
  padding: 16px 16px 38px;
}
.aurora { position: absolute; inset: 0; z-index: -1; pointer-events: none; contain: strict; }
.blob {
  position: absolute; border-radius: 50%; will-change: transform;
  animation: drift 26s ease-in-out infinite alternate;
}
.b1 { width: 90vmax; height: 90vmax; left: -40vmax; top: -48vmax; background: radial-gradient(closest-side, rgba(8, 102, 255, 0.55), rgba(8, 102, 255, 0) 70%); }
.b2 { width: 70vmax; height: 70vmax; right: -34vmax; bottom: -40vmax; background: radial-gradient(closest-side, rgba(24, 119, 242, 0.42), rgba(24, 119, 242, 0) 70%); animation-duration: 32s; animation-delay: -9s; }
.b3 { width: 46vmax; height: 46vmax; left: 20%; top: 30%; background: radial-gradient(closest-side, rgba(150, 196, 255, 0.16), rgba(150, 196, 255, 0) 70%); animation-duration: 22s; animation-delay: -4s; }
.grain {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.09) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 20%, transparent 75%);
}
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(6vmax, 4vmax, 0) scale(1.08); }
  100% { transform: translate3d(-4vmax, 7vmax, 0) scale(0.96); }
}

.brand-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 750; font-size: 17.5px; letter-spacing: -0.02em; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 32px; height: 32px; border-radius: 10px; overflow: hidden; background: #2A2B2D; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1); }
.logo-mark img { width: 100%; height: 100%; object-fit: cover; }
.home-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border-radius: 999px;
  color: #D6D9DE; font-size: 14px; font-weight: 600; background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}
.home-link:hover { color: #fff; background: rgba(255, 255, 255, 0.1); text-decoration: none; }

.brand-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; margin-top: 14px; }
.brand-title {
  margin: 0; font-size: 24px; line-height: 1.12; font-weight: 800; letter-spacing: -0.035em; color: #fff;
  text-wrap: balance;
}
.brand-title em {
  font-style: normal;
  background: linear-gradient(92deg, #7FB0FF 0%, #CFE2FF 60%, #7FB0FF 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.points { display: none; }
.brand-foot { display: none; }

/* Mascot stage: the typing plush, a soft halo, and three crew status chips floating around it. */
.stage { position: relative; width: 92px; height: 98px; grid-row: 1; grid-column: 2; }
.halo {
  position: absolute; left: 50%; top: 54%; width: 150%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(69, 153, 255, 0.34), rgba(69, 153, 255, 0) 72%);
  animation: breathe 6s ease-in-out infinite;
}
/* The type sheet's frames are 190 x 206 canvas px starting at canvas (28, 86); the boxes below keep the plush where
   the stage expects it (stage = canvas (16, 74) at 0.45x on mobile, 1x at 78/20 on desktop). */
.mascot {
  position: absolute; left: 5.4px; top: 5.4px; width: 85.7px; height: 92.6px;
  background: url("/site/hero-mascot/assets/type.webp") 0 0 / 500% 500% no-repeat;
  animation: typing 1s steps(1, end) infinite;
  filter: drop-shadow(0 14px 20px rgba(0, 0, 0, 0.45));
}
.chip { display: none; }
@keyframes breathe { 0%, 100% { opacity: .75; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes typing {
  0.000% { background-position: 0% 0%; }
  4.167% { background-position: 25% 0%; }
  8.333% { background-position: 50% 0%; }
  12.500% { background-position: 75% 0%; }
  16.667% { background-position: 100% 0%; }
  20.833% { background-position: 0% 25%; }
  25.000% { background-position: 25% 25%; }
  29.167% { background-position: 50% 25%; }
  33.333% { background-position: 75% 25%; }
  37.500% { background-position: 100% 25%; }
  41.667% { background-position: 0% 50%; }
  45.833% { background-position: 25% 50%; }
  50.000% { background-position: 50% 50%; }
  54.167% { background-position: 75% 50%; }
  58.333% { background-position: 100% 50%; }
  62.500% { background-position: 0% 75%; }
  66.667% { background-position: 25% 75%; }
  70.833% { background-position: 50% 75%; }
  75.000% { background-position: 75% 75%; }
  79.167% { background-position: 100% 75%; }
  83.333% { background-position: 0% 100%; }
  87.500% { background-position: 25% 100%; }
  91.667% { background-position: 50% 100%; }
  95.833% { background-position: 75% 100%; }
  100% { background-position: 75% 100%; }
}

/* ---------- Form side ---------- */
.panel {
  position: relative; display: flex; flex-direction: column; align-items: center; padding: 16px 16px 28px;
  margin-top: -18px; border-radius: 22px 22px 0 0; background: var(--bg);
}
.panel::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 420px; pointer-events: none; border-radius: inherit;
  background: radial-gradient(60% 70% at 50% 0%, rgba(8, 102, 255, 0.1), transparent 70%);
}
.card {
  position: relative; width: 100%; max-width: 448px;
  background: var(--surface); border-radius: 24px; box-shadow: var(--card-shadow);
  padding: 26px 20px 24px;
  transition: height .32s var(--ease), transform .45s var(--ease), opacity .4s ease;
}
.card:focus { outline: none; }
.card.is-switching { overflow: hidden; }
.card.is-switching .swap { animation: swap-in .34s var(--ease) both; }
.card.is-switching .swap + .swap { animation-delay: .03s; }
@keyframes swap-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Sign in | Create account (desktop app) */
.seg {
  position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; margin: 0 0 22px;
  background: var(--chip-bg); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line-2);
}
.seg-btn {
  position: relative; z-index: 1; min-height: 42px; border: 0; background: transparent; cursor: pointer;
  color: var(--muted); font-weight: 650; font-size: 15px; border-radius: 10px; transition: color .2s ease;
}
.seg-btn[aria-pressed="true"] { color: #fff; }
.seg-btn:hover { color: var(--text); }
.seg-btn[aria-pressed="true"]:hover { color: #fff; }
.seg-pill {
  position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 10px;
  background: var(--sh-blue); box-shadow: 0 6px 16px -6px rgba(8, 102, 255, 0.7);
  transition: transform .34s var(--ease);
}
html[data-mode="signup"] .seg-pill { transform: translateX(100%); }

.card-head h1 { margin: 0; font-size: 28px; line-height: 1.1; font-weight: 800; letter-spacing: -0.035em; }
.card-head .sub { margin: 8px 0 22px; color: var(--muted); font-size: 15.5px; }

/* Fields */
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 650; color: var(--text); }
.input-wrap { position: relative; }
.input {
  width: 100%; height: 54px; padding: 0 16px; border-radius: 14px;
  background: var(--field); color: var(--text); border: 1px solid var(--field-border);
  font: 500 16.5px var(--sh-font); letter-spacing: -0.005em;
  transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.input::placeholder { color: var(--faint); font-weight: 400; }
.input:hover { border-color: var(--field-hover); }
.input:focus { outline: none; border-color: var(--sh-blue-fb); box-shadow: 0 0 0 4px var(--ring); }
.input[aria-invalid="true"] { border-color: var(--red); }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 4px rgba(240, 40, 73, 0.22); }
.input.has-toggle { padding-right: 58px; }
.input:-webkit-autofill, .input:-webkit-autofill:hover, .input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text); caret-color: var(--text);
  -webkit-box-shadow: 0 0 0 1000px var(--field) inset; transition: background-color 9999s;
}
.toggle-pass {
  position: absolute; right: 6px; top: 50%; translate: 0 -50%; width: 44px; height: 42px; border-radius: 10px;
  display: grid; place-items: center; background: transparent; border: 0; color: var(--muted); cursor: pointer;
}
.toggle-pass:hover { color: var(--text); background: var(--chip-bg); }
.toggle-pass .eye-off, .toggle-pass[aria-pressed="true"] .eye-on { display: none; }
.toggle-pass[aria-pressed="true"] .eye-off { display: block; }

.field-note { display: flex; align-items: center; gap: 6px; font-size: 13.5px; margin: 0; }
.caps { color: var(--muted); }
.caps svg { color: var(--blue-text); flex: none; }
.field-error { font-size: 13.5px; color: var(--red-text); margin: 0; }
.field-error:empty { display: none; }

/* Password strength (create account) */
.strength { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.strength .bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; flex: 1; max-width: 168px; }
.strength .bars i { height: 4px; border-radius: 4px; background: var(--line-2); transition: background-color .25s ease; }
.strength[data-level="1"] .bars i:nth-child(-n+1) { background: var(--red); }
.strength[data-level="2"] .bars i:nth-child(-n+2) { background: rgba(69, 153, 255, 0.55); }
.strength[data-level="3"] .bars i:nth-child(-n+3) { background: var(--blue-text); }
.strength[data-level="4"] .bars i { background: var(--sh-blue); }
.strength[data-level="1"] .strength-label { color: var(--red-text); }

/* Form error box */
.form-error {
  display: flex; gap: 10px; align-items: flex-start; margin-bottom: 16px;
  background: var(--err-bg); border: 1px solid var(--err-line); color: var(--err-text);
  border-radius: 14px; padding: 12px 14px; font-size: 14.5px;
  animation: pop-in .28s var(--ease) both;
}
.form-error svg { flex: none; color: var(--red-text); margin-top: 2px; }
.form-error a { color: inherit; font-weight: 650; text-decoration: underline; }
@keyframes pop-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Submit */
.submit {
  position: relative; width: 100%; min-height: 54px; margin-top: 6px; border: 0; border-radius: 14px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  background: linear-gradient(180deg, #1877F2 0%, #0866FF 100%); color: #fff;
  font: 700 16.5px var(--sh-font); letter-spacing: -0.01em;
  box-shadow: 0 10px 24px -12px rgba(8, 102, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: filter .15s ease, transform .1s ease, box-shadow .2s ease;
}
.submit:hover { filter: brightness(1.08); }
.submit:active { transform: translateY(1px); filter: brightness(.95); }
.submit:focus-visible { outline-offset: 3px; border-radius: 14px; }
.submit[disabled] { cursor: progress; }
.submit.is-loading { filter: saturate(.85); }
.spinner, .check { display: none; flex: none; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: spin .7s linear infinite; }
.is-loading .spinner { display: inline-block; }
.is-success .check { display: inline-block; animation: check-pop .2s var(--ease) both; }
.is-success .check path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: draw .18s .04s ease-out forwards; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes check-pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Below the form */
.foot { margin-top: 20px; text-align: center; display: grid; gap: 10px; }
.foot p { margin: 0; }
.foot .alt { color: var(--muted); font-size: 15px; }
/* A link inside a sentence needs more than colour (WCAG 1.4.1): the blue is 1.2–1.4:1 against the grey words. */
.foot .alt a { text-decoration: underline; text-underline-offset: 2px; }
.foot .small { font-size: 13.5px; }
.foot .fine { color: var(--faint); font-size: 13px; line-height: 1.5; }
.download-link, .create-link { font-weight: 650; }
.legal { margin: 22px 0 0; text-align: center; color: var(--faint); font-size: 13px; }
.legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

/* Success: the card lifts away and the page fades into the app. */
html.is-leaving .card { transform: translateY(-10px) scale(.985); opacity: 0; transition-delay: .06s; }
html.is-leaving .brand .stage { transform: scale(1.06); transition: transform .24s var(--ease); }
html.is-leaving body { animation: fade-out .18s .06s ease both; }
@keyframes fade-out { to { opacity: 0; } }

/* ---------- Desktop app window (hiddenInset title bar: traffic lights at 18,18) ---------- */
html[data-host="mac"] .drag { position: fixed; inset: 0 0 auto 0; height: 38px; z-index: 40; -webkit-app-region: drag; }
html[data-host="mac"] .brand { padding-top: 52px; }
html[data-host="mac"] a, html[data-host="mac"] button, html[data-host="mac"] input { -webkit-app-region: no-drag; }

/* ---------- Phones ---------- */
@media (max-width: 380px) {
  .brand-title { font-size: 21px; }
  .stage { width: 80px; height: 86px; }
}

/* ---------- Tablets ---------- */
@media (min-width: 560px) and (max-width: 899px) {
  .brand { padding: 20px 28px 44px; }
  .brand-title { font-size: 30px; }
  .stage { width: 120px; height: 128px; }
  .panel { padding-top: 32px; }
  .card { padding: 32px 32px 28px; }
}

/* ---------- Split layout ---------- */
@media (min-width: 900px) {
  .auth { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); }
  .brand {
    position: sticky; top: 0; height: 100vh; height: 100dvh;
    display: flex; flex-direction: column; padding: 32px clamp(32px, 5vw, 72px) 28px;
  }
  html[data-host="mac"] .brand { padding-top: 56px; }
  .brand-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 0; margin: 0; max-width: 520px; }
  .stage { width: 360px; max-width: 100%; height: 250px; margin: 0 0 28px -20px; }
  .mascot { left: 90px; top: 32px; width: 190px; height: 206px; }
  .halo { left: 180px; top: 138px; width: 330px; }
  .brand-title { font-size: clamp(38px, 3.6vw, 52px); line-height: 1.04; letter-spacing: -0.04em; }
  .points { display: grid; gap: 14px; list-style: none; margin: 28px 0 0; padding: 0; }
  .points li { display: flex; gap: 12px; align-items: flex-start; color: #D3D6DB; font-size: 16.5px; line-height: 1.45; }
  .points svg {
    flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 8px; margin-top: -1px;
    color: #9CC3FF; background: rgba(8, 102, 255, 0.18); box-shadow: inset 0 0 0 1px rgba(69, 153, 255, 0.3);
  }
  .brand-foot { display: block; margin: 0; color: rgba(255, 255, 255, 0.45); font-size: 13px; }

  .chip {
    position: absolute; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
    padding: 7px 12px 7px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #E9EBEE;
    background: rgba(36, 37, 38, 0.72); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    animation: bob 7s ease-in-out infinite;
  }
  .chip .dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
  .dot.working { background: #4599FF; box-shadow: 0 0 0 3px rgba(69, 153, 255, 0.25); animation: pulse 1.6s ease-in-out infinite; }
  .dot.needs { background: var(--sh-amber); box-shadow: 0 0 0 3px var(--sh-amber-soft); }
  .dot.done { background: #B0B3B8; }
  .c1 { left: 250px; top: 36px; }
  .c2 { left: 0; top: 150px; animation-delay: -2.4s; }
  .c3 { left: 262px; top: 188px; animation-delay: -4.6s; }
  @keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
  @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

  .panel { justify-content: center; padding: 40px clamp(24px, 4vw, 64px); min-height: 100vh; min-height: 100dvh; margin: 0; border-radius: 0; }
  .panel::before { inset: 0; height: auto; background: radial-gradient(55% 45% at 50% 38%, rgba(8, 102, 255, 0.09), transparent 70%); }
  .card { padding: 38px 38px 32px; }
  .card-head h1 { font-size: 32px; }
}
@media (min-width: 900px) and (max-height: 760px) {
  .stage { height: 200px; margin-bottom: 18px; }
  .mascot { top: 12px; transform: scale(.85); transform-origin: 50% -12px; }
  .halo { top: 110px; width: 280px; }
  .c3 { top: 150px; }
  .points { margin-top: 20px; gap: 10px; }
  .panel { padding-top: 24px; padding-bottom: 24px; }
  .card { padding-top: 30px; padding-bottom: 26px; }
}

/* ---------- Reduced motion: everything still, first frame of the mascot ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0s !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: 0s !important; }
  .mascot { animation: none !important; background-position: 0 0; }
  .blob, .chip, .halo, .dot.working { animation: none !important; }
  .spinner { animation: spin 1.4s linear infinite !important; }
  .is-success .check path { stroke-dashoffset: 0; }
}

/* ---------- Forgot / reset password (site/forgot.html, site/reset.html; logic in site/recover.js) ---------- */
/* "Forgot password?" sits on the password label's row (sign-in mode only). */
.label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.forgot-link { font-size: 13.5px; font-weight: 600; }
/* Done / problem panels replace the form in place. */
.done { text-align: center; }
.done:focus, .done h1:focus { outline: none; }
.done-icon {
  display: inline-grid; place-items: center; width: 60px; height: 60px; margin: 2px auto 18px; border-radius: 18px;
  color: #fff; background: linear-gradient(180deg, #1877F2 0%, #0866FF 100%);
  box-shadow: 0 14px 30px -14px rgba(8, 102, 255, 0.9), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: check-pop .3s var(--ease) both;
}
.done-icon.is-muted { color: var(--muted); background: var(--chip-bg); box-shadow: inset 0 0 0 1px var(--line-2); }
.done h1 { margin: 0; font-size: 26px; line-height: 1.15; font-weight: 800; letter-spacing: -0.03em; }
.done .sub { margin: 10px 0 18px; color: var(--muted); font-size: 15.5px; overflow-wrap: anywhere; }
.done .sub b { color: var(--text); font-weight: 650; }
.done-note { margin: 0 0 18px; color: var(--faint); font-size: 14px; }
.linkish {
  display: inline; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--blue-text); font: inherit; font-weight: 600;
}
.linkish:hover { text-decoration: underline; }
.linkish[disabled] { color: var(--faint); cursor: default; text-decoration: none; }
.submit.as-link { text-decoration: none; }
.code-hint { margin: 0; color: var(--muted); font-size: 13.5px; }
.submit.as-link:hover { text-decoration: none; }
