/* 济川投研中心 · sign-in. A white dandelion clock against a clear, deep Jumpcan-blue sky (canvas,
   login.js): a long slender stem rising from below the screen, a backlit head and a string of seeds
   sailing off to the upper right toward the sun. The company's own words (企业精神 · 愿景) sit low on
   the left; the brand lockup in the corner is the workbench sidebar's, at its place and size. Over the
   scene the pointer moves as air. On success the flower flies onto that brand mark and the sky clears
   to the workbench's paper. Scales, colours and motion come from tokens.css (--jc-*); scene-only
   colours are --lg-*. */
@view-transition{navigation:auto}
html,body{height:100%}
body.lg{
 /* The sky: deep Jumpcan blue overhead, brightening toward the horizon; a deeper fall of blue on the
    left keeps the white type there well above 4.5:1; warm sunlight in the upper right. */
 --lg-sky-top:#0a4590;--lg-sky-high:#1259a8;--lg-sky-mid:#2367b6;--lg-sky-low:#4e8ed2;--lg-sky-horizon:#9cc8ee;
 --lg-sky-deep:#063a7c;--lg-sun:#fffaf0;--lg-sun-warm:#ffe9c4;--lg-sun-strength:1;--lg-cirrus:#ffffff;--lg-cirrus-strength:.13;
 --lg-ink:#ffffff;--lg-ink-soft:color-mix(in srgb,#fff 90%,transparent);--lg-ink-faint:color-mix(in srgb,#fff 66%,transparent);
 --lg-type-shadow:0 1px 18px color-mix(in srgb,#022a5c 38%,transparent);
 --lg-button:var(--jc-brand-blue);--lg-go:var(--jc-brand-green);
 /* Focus rings in one solid ink that holds 3:1 against what they surround, in both themes. */
 --lg-focus:var(--jc-brand-blue);
 /* The plant, read by login.js. Silk: pure white in front, a pale sky-white behind (soft, out of
    focus), a warm rim where the sun catches the flank; the head's light is kept low so the clock reads
    as fine silk against the blue, not as a milky disc. */
 --lg-silk:#ffffff;--lg-silk-far:#d6e6f6;--lg-silk-lit:1;--lg-silk-weight:1.15;--lg-rim:#fff1d2;--lg-rim-strength:.5;--lg-rim-blend:lighter;
 --lg-beak:#eef4fa;
 --lg-achene:#8a6748;--lg-achene-light:#b48c62;--lg-achene-deep:#4f3826;
 --lg-core:#6f5536;--lg-core-light:#a88859;--lg-core-deep:#3a2a18;
 --lg-bloom-glow:#ffffff;--lg-bloom-glow-strength:.18;--lg-veil:#ffffff;--lg-veil-strength:.16;
 --lg-stem:#a8c97e;--lg-stem-light:#f3fadf;--lg-stem-deep:#5f8c4a;--lg-stem-foot:#6f9a6a;
 --lg-bract:#8fb86b;--lg-bract-tip:#c6d79a;
 /* The pointer's air: fine white streams and the motes they carry. */
 --lg-air-ink:#ffffff;--lg-air-strength:1;--lg-mote:#fff8ea;
 --lg-card:color-mix(in srgb,#fff 82%,transparent);--lg-card-line:color-mix(in srgb,#fff 70%,var(--jc-border));--lg-card-rim:#fff1d6;
 --lg-field:color-mix(in srgb,#fff 90%,transparent);--lg-danger:#b2424c;
 /* The flower: its box width, where the head's centre sits (x, y). The box runs from above the head
    to below the screen's foot, so the stem always rises out of the bottom edge. */
 --lg-flower-w:min(94vh,50vw);--lg-flower-x:41vw;--lg-head-y:37vh;
 margin:0;min-height:100svh;overflow-x:hidden;color:var(--jc-text);font:var(--jc-font-md)/1.65 var(--jc-font-body);
 /* The workbench's paper: what the sky clears to on success. The sky itself is .lg-sky. */
 background:var(--jc-bg);
 -webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
html[data-theme="dark"] body.lg{
 /* A clear night: deep blue-black overhead, a little lighter toward the horizon, moonlight upper right. */
 --lg-sky-top:#030a16;--lg-sky-high:#06142a;--lg-sky-mid:#0b2343;--lg-sky-low:#12345e;--lg-sky-horizon:#1c4876;
 --lg-sky-deep:#020814;--lg-sun:#e8f0fb;--lg-sun-warm:#9fb8d6;--lg-sun-strength:.55;--lg-cirrus:#9fb8d6;--lg-cirrus-strength:.06;
 --lg-ink:#eef3f9;--lg-ink-soft:color-mix(in srgb,#eef3f9 78%,transparent);--lg-ink-faint:color-mix(in srgb,#eef3f9 58%,transparent);
 --lg-type-shadow:0 1px 18px color-mix(in srgb,#000 45%,transparent);
 --lg-button:#1d5fa6;--lg-go:#13874f;
 --lg-silk:#e9f1fa;--lg-silk-far:#7f9ab8;--lg-silk-lit:1;--lg-silk-weight:1;--lg-rim:#dce8f7;--lg-rim-strength:.5;--lg-rim-blend:lighter;
 --lg-beak:#a9bdd2;
 --lg-achene:#6c573f;--lg-achene-light:#8f7556;--lg-achene-deep:#3a2b1d;
 --lg-core:#6a5a40;--lg-core-light:#8e7b58;--lg-core-deep:#33291b;
 --lg-bloom-glow:#9fbbdc;--lg-bloom-glow-strength:.22;--lg-veil:#c9d9ec;--lg-veil-strength:.22;
 --lg-stem:#6e9071;--lg-stem-light:#b8d3b4;--lg-stem-deep:#36533f;--lg-stem-foot:#2c4637;
 --lg-bract:#5f8462;--lg-bract-tip:#8ea58a;
 --lg-air-ink:#dbe7f5;--lg-air-strength:.75;--lg-mote:#dbe7f5;
 --lg-card:color-mix(in srgb,#142334 80%,transparent);--lg-card-line:color-mix(in srgb,#fff 10%,transparent);--lg-card-rim:#c9d9ec;
 --lg-field:color-mix(in srgb,#0d1a28 70%,transparent);--lg-danger:#ef9aa1;color-scheme:dark}

/* ---------- scene ---------- */
.lg-scene{position:fixed;inset:0;z-index:0;overflow:hidden;pointer-events:none}
.lg-sky,.lg-flower-depth{will-change:transform}
.lg-sky{position:absolute;inset:-4%;
 background:
  radial-gradient(80% 72% at 0% 100%,color-mix(in srgb,var(--lg-sky-deep) 84%,transparent),color-mix(in srgb,var(--lg-sky-deep) 52%,transparent) 42%,transparent 78%),
  linear-gradient(180deg,var(--lg-sky-top) 0%,var(--lg-sky-high) 24%,var(--lg-sky-mid) 52%,var(--lg-sky-low) 80%,var(--lg-sky-horizon) 100%)}
/* The sun just off the upper-right corner: a small white core inside a wide, warm, thinning bloom. */
.lg-sun{position:absolute;right:-26vmax;top:-30vmax;width:76vmax;height:76vmax;opacity:var(--lg-sun-strength);
 background:radial-gradient(closest-side,var(--lg-sun) 0%,color-mix(in srgb,var(--lg-sun) 92%,transparent) 6%,color-mix(in srgb,var(--lg-sun-warm) 62%,transparent) 15%,color-mix(in srgb,var(--lg-sun-warm) 30%,transparent) 30%,color-mix(in srgb,var(--lg-sun-warm) 11%,transparent) 52%,transparent 100%)}
/* High cirrus: two long, faint veils drawn across the upper sky (no hard edges). */
.lg-cirrus{position:absolute;border-radius:50%;opacity:var(--lg-cirrus-strength);
 background:radial-gradient(closest-side,var(--lg-cirrus),color-mix(in srgb,var(--lg-cirrus) 45%,transparent) 45%,transparent 100%)}
.lg-cirrus--1{left:46%;top:14%;width:60%;height:13%;transform:rotate(-9deg)}
.lg-cirrus--2{left:58%;top:30%;width:46%;height:8%;transform:rotate(-14deg);opacity:calc(var(--lg-cirrus-strength) * .8)}
.lg-air{position:absolute;inset:0;z-index:3}
/* The flower's box: the head's centre at 0.36 of its width down; it runs on past the screen's foot. */
.lg-flower{position:absolute;z-index:1;left:calc(var(--lg-flower-x) - var(--lg-flower-w) * .5);top:calc(var(--lg-head-y) - var(--lg-flower-w) * .36);bottom:-3vh;width:var(--lg-flower-w)}
.lg-flower-depth{position:relative;width:100%;height:100%}
.lg-bloom{position:absolute;inset:0;width:100%;height:100%}

/* ---------- the pointer as moving air ----------
   Only with a mouse (or a fine pen that hovers), full motion and no request for more contrast. While
   the pointer moves over the scene the system cursor gives way to the air it stirs (body[data-gust],
   set by login.js); a moment after it stops the arrow is back. The card and its controls keep their
   usual cursors. The cursor is hidden from the root down, so the strip below the body on a scrolled
   page hides it too. */
@media(hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) and (prefers-contrast:no-preference){
 html.lg-gusty body[data-gust]{cursor:none}
 html.lg-gusty:has(>body[data-gust]){cursor:none}
 html.lg-gusty body[data-gust] .lg-card{cursor:auto}
}

/* ---------- brand lockup: the workbench sidebar's, at its place and size ----------
   Mark at the viewport's (16, 16), 40 × 40; the name beside it with the sidebar's gap, size, weight,
   tracking and Latin line (workbench-shell.css .jc-side-brand, tokens --jc-font-brand / --jc-brand-*).
   On the sky it is inked white; on success, as the sky clears to paper, it takes the sidebar's own inks
   (.is-paper), so the hand-off to the shell changes nothing. */
.lg-mark{position:fixed;z-index:5;left:16px;top:16px;display:flex;align-items:center;gap:var(--jc-brand-gap);height:40px;color:var(--lg-ink);pointer-events:none}
.lg-mark-icon{position:relative;flex:none;display:block;width:40px;height:40px;view-transition-name:jc-brand}
.lg-mark .fof-dandelion.fof-dandelion--brand{width:40px;height:40px;flex-basis:40px}
.lg-mark-name{width:max-content;font-size:var(--jc-font-brand);font-weight:var(--jc-brand-weight);line-height:1.1;white-space:nowrap;text-shadow:var(--lg-type-shadow)}
.lg-mark-name>*{display:block;text-align:justify;text-align-last:justify}
.lg-mark-title{margin-right:calc(-1 * var(--jc-brand-tracking));font-family:var(--jc-font-display);letter-spacing:var(--jc-brand-tracking)}
.lg-mark-name small{margin:var(--jc-space-1) calc(-1 * var(--jc-brand-en-tracking)) 0 0;font:500 var(--jc-font-brand-en)/1.3 var(--jc-font-latin);letter-spacing:var(--jc-brand-en-tracking);color:var(--lg-ink-soft)}
.lg-mark,.lg-mark-name small,.lg-mark-name{transition:color 420ms var(--jc-ease),text-shadow 420ms var(--jc-ease)}
.lg-mark .fof-dandelion--brand :is(path,circle,g){transition:stroke 420ms var(--jc-ease),fill 420ms var(--jc-ease),opacity 420ms var(--jc-ease)}
/* White ink on the sky. */
.lg-mark:not(.is-paper) .fof-dandelion__main-stem{stroke:#fff}
.lg-mark:not(.is-paper) .fof-dandelion__stem-light{stroke:color-mix(in srgb,#fff 55%,transparent)}
.lg-mark:not(.is-paper) .fof-dandelion__brand-leaf{fill:color-mix(in srgb,#fff 16%,transparent);stroke:color-mix(in srgb,#fff 70%,transparent)}
.lg-mark:not(.is-paper) .fof-dandelion__fine-leaf{stroke:color-mix(in srgb,#fff 50%,transparent)}
.lg-mark:not(.is-paper) :is(.fof-dandelion__filaments,.fof-dandelion__seed-stem){stroke:color-mix(in srgb,#fff 80%,transparent)}
.lg-mark:not(.is-paper) .fof-dandelion__silk,.lg-mark:not(.is-paper) .fof-dandelion__seed:nth-child(3n) .fof-dandelion__silk{stroke:#fff}
.lg-mark:not(.is-paper) .fof-dandelion__seed-body{fill:#ffe7b8;opacity:.9}
.lg-mark:not(.is-paper) .fof-dandelion__receptacle{fill:color-mix(in srgb,#fff 85%,transparent);stroke:color-mix(in srgb,#fff 85%,transparent)}
.lg-mark:not(.is-paper) .fof-dandelion__wind{stroke:color-mix(in srgb,#fff 60%,transparent)}
/* On paper: the sidebar's inks (dandelion.css for light; workbench-shell.css's dark overrides here). */
.lg-mark.is-paper{color:var(--jc-text)}
.lg-mark.is-paper .lg-mark-name{text-shadow:none}
.lg-mark.is-paper .lg-mark-name small{color:var(--jc-side-ink-soft)}
html[data-theme="dark"] .lg-mark.is-paper .fof-dandelion__main-stem{stroke:var(--jc-text-muted)}
html[data-theme="dark"] .lg-mark.is-paper :is(.fof-dandelion__stem-light,.fof-dandelion__brand-leaf){stroke:var(--jc-sage)}
html[data-theme="dark"] .lg-mark.is-paper .fof-dandelion__brand-leaf{fill:color-mix(in srgb,var(--jc-sage) 22%,var(--jc-bg))}
html[data-theme="dark"] .lg-mark.is-paper :is(.fof-dandelion__filaments,.fof-dandelion__seed-stem){stroke:var(--jc-text-subtle)}
html[data-theme="dark"] .lg-mark.is-paper .fof-dandelion__silk{stroke:var(--jc-text)}
html[data-theme="dark"] .lg-mark.is-paper .fof-dandelion__seed:nth-child(3n) .fof-dandelion__silk{stroke:color-mix(in srgb,var(--jc-brand-blue) 55%,var(--jc-text))}
html[data-theme="dark"] .lg-mark.is-paper .fof-dandelion__seed-body{fill:var(--jc-gold)}
html[data-theme="dark"] .lg-mark.is-paper .fof-dandelion__receptacle{fill:var(--jc-sage);stroke:var(--jc-sage)}

/* ---------- page frame ---------- */
.lg-main{position:relative;z-index:3;min-height:100svh;display:grid;grid-template-columns:minmax(0,1fr) minmax(340px,412px);align-items:center;gap:var(--jc-space-8);padding:96px max(24px,6vw) 72px;box-sizing:border-box}
/* The company's own words, set quietly: a small label, the spirit in two lines of Song type, a short
   rule, then the vision. White on the deeper blue at the left, with a faint shadow for the light sky. */
.lg-intro{align-self:end;max-width:360px;padding-bottom:9vh;color:var(--lg-ink);text-shadow:var(--lg-type-shadow)}
.lg-eyebrow{display:flex;align-items:center;gap:10px;margin:0 0 var(--jc-space-5);font-size:12px;line-height:1;letter-spacing:.42em;color:var(--lg-ink-soft)}
.lg-eyebrow i{width:3px;height:3px;border-radius:50%;background:currentColor;margin-right:.42em}
.lg-title{margin:0;font-family:var(--jc-font-display);font-weight:500;font-size:clamp(34px,3.3vw,46px);line-height:1.42;letter-spacing:.22em;color:var(--lg-ink)}
.lg-title span{display:block}
.lg-lede{display:flex;align-items:baseline;gap:14px;margin:var(--jc-space-6) 0 0;padding-top:var(--jc-space-5);font-size:14px;line-height:1.6;letter-spacing:.16em;color:var(--lg-ink-soft);
 background:linear-gradient(90deg,var(--lg-ink-faint),transparent) 0 0/36px 1px no-repeat}
.lg-lede-label{font-size:12px;letter-spacing:.3em;color:var(--lg-ink-soft)}
.lg-foot{position:fixed;z-index:3;left:max(24px,5vw);right:max(24px,5vw);bottom:20px;display:flex;justify-content:space-between;gap:var(--jc-space-4);font-size:11px;letter-spacing:.12em;color:var(--lg-ink-soft);text-shadow:var(--lg-type-shadow);pointer-events:none}

/* ---------- card ---------- */
.lg-panel{display:flex;justify-content:flex-end}
.lg-card{position:relative;width:100%;box-sizing:border-box;padding:36px 36px 28px;border:1px solid var(--lg-card-line);border-radius:var(--jc-radius-xl);background:var(--lg-card);
 -webkit-backdrop-filter:blur(22px) saturate(1.4);backdrop-filter:blur(22px) saturate(1.4);box-shadow:var(--jc-shadow-pop);view-transition-name:lg-card}
.lg-card::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;background:linear-gradient(200deg,color-mix(in srgb,#fff 40%,transparent),transparent 38%);opacity:.6}
/* The sun is in the upper right; the card's edge on that side catches a hairline of it. */
.lg-card::after{content:"";position:absolute;inset:-1px;border-radius:inherit;padding:1px;pointer-events:none;
 background:linear-gradient(232deg,var(--lg-card-rim),color-mix(in srgb,var(--lg-card-rim) 35%,transparent) 20%,transparent 42%);opacity:.75;
 -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;
 mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0)}
html[data-theme="dark"] .lg-card::before{opacity:.08}
html[data-theme="dark"] .lg-card::after{opacity:.4}
.lg-card-head{position:relative}
.lg-card-step{display:flex;align-items:center;gap:var(--jc-space-2);min-height:18px;margin:0 0 var(--jc-space-2);font-size:var(--jc-font-xs);letter-spacing:.24em;color:color-mix(in srgb,var(--jc-sage) 55%,var(--jc-text))}
.lg-card-step:not(:empty)::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--jc-brand-green);box-shadow:0 0 0 3px color-mix(in srgb,var(--jc-brand-green) 18%,transparent)}
.lg-card-title{margin:0;font-size:26px;font-weight:600;letter-spacing:.06em;line-height:1.35}
.lg-card-sub{margin:var(--jc-space-2) 0 0;font-size:13px;line-height:1.75;color:var(--jc-text-muted)}
.lg-form{position:relative;margin-top:var(--jc-space-6)}
.lg-form[hidden],.lg-field[hidden],.lg-remember[hidden],.lg-links [hidden],.lg-strength[hidden],.lg-help[hidden]{display:none!important}
.lg-field{margin-top:var(--jc-space-4)}
.lg-field:first-child{margin-top:0}
.lg-field label{display:block;margin-bottom:6px;font-size:13px;font-weight:500;color:var(--jc-text)}
.lg-field input{width:100%;box-sizing:border-box;height:46px;padding:0 var(--jc-space-4);border:1px solid color-mix(in srgb,var(--jc-border-strong) 70%,transparent);border-radius:var(--jc-radius-md);
 background:var(--lg-field);color:var(--jc-text);font:15px/1 var(--jc-font-body);letter-spacing:.02em;outline:none;
 transition:border-color var(--jc-motion-base) var(--jc-ease),box-shadow var(--jc-motion-base) var(--jc-ease),background var(--jc-motion-base) var(--jc-ease)}
.lg-field input:hover{border-color:var(--jc-border-strong)}
.lg-field input:focus-visible{border-color:var(--lg-focus);box-shadow:0 0 0 1px var(--lg-focus),var(--jc-focus-ring);background:var(--jc-surface)}
.lg-help{margin:6px 0 0;font-size:var(--jc-font-xs);color:var(--jc-text-muted)}
.lg-secret{position:relative}
.lg-secret input{padding-right:48px}
.lg-eye{position:absolute;right:4px;top:4px;width:38px;height:38px;display:grid;place-items:center;border:0;border-radius:8px;background:transparent;color:var(--jc-text-subtle);cursor:pointer;transition:color var(--jc-motion-fast),background var(--jc-motion-fast)}
.lg-eye:hover{color:var(--jc-accent);background:var(--jc-surface-hover)}
.lg-eye:focus-visible{outline:2px solid var(--lg-focus);outline-offset:-2px}
.lg-eye svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.lg-eye .lg-eye-slash{opacity:1;transition:opacity var(--jc-motion-fast)}
.lg-eye[aria-pressed="true"] .lg-eye-slash{opacity:0}
.lg-strength{display:flex;align-items:center;gap:var(--jc-space-3);margin-top:8px;font-size:var(--jc-font-xs);color:var(--jc-text-muted)}
.lg-bars{display:grid;grid-template-columns:repeat(4,22px);gap:4px}
.lg-bars i{height:4px;border-radius:2px;background:color-mix(in srgb,var(--jc-border-strong) 55%,transparent);transform-origin:left;transition:background var(--jc-motion-base) var(--jc-ease),transform var(--jc-motion-base) var(--jc-ease-out)}
.lg-bars[data-score="1"] i:nth-child(-n+1){background:var(--jc-warning)}
.lg-bars[data-score="2"] i:nth-child(-n+2){background:var(--jc-gold)}
.lg-bars[data-score="3"] i:nth-child(-n+3){background:var(--jc-brand-blue)}
.lg-bars[data-score="4"] i{background:var(--jc-brand-green)}
.lg-caps{display:flex;align-items:center;gap:6px;width:fit-content;margin:var(--jc-space-3) 0 0;padding:4px 10px;border-radius:var(--jc-radius-pill);background:var(--jc-warning-soft);color:var(--jc-warning);font-size:var(--jc-font-xs)}
.lg-caps[hidden]{display:none}
.lg-caps svg{width:13px;height:13px;fill:currentColor}
.lg-remember{display:flex;align-items:center;gap:10px;margin-top:var(--jc-space-4);font-size:13px;color:var(--jc-text-muted);cursor:pointer;user-select:none}
.lg-remember input{position:absolute;opacity:0;width:1px;height:1px}
.lg-check{position:relative;flex:none;width:18px;height:18px;border:1px solid var(--jc-border-strong);border-radius:5px;background:var(--lg-field);transition:background var(--jc-motion-base) var(--jc-ease),border-color var(--jc-motion-base) var(--jc-ease)}
.lg-check::after{content:"";position:absolute;left:5px;top:1.5px;width:5px;height:10px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg) scale(0);transition:transform var(--jc-motion-base) var(--jc-ease-spring)}
.lg-remember input:checked+.lg-check{background:var(--lg-button);border-color:var(--lg-button)}
.lg-remember input:checked+.lg-check::after{transform:rotate(45deg) scale(1)}
.lg-remember input:focus-visible+.lg-check{outline:2px solid var(--lg-focus);outline-offset:2px}
.lg-error{min-height:20px;margin:var(--jc-space-3) 0 0;font-size:13px;color:var(--lg-danger)}
.lg-submit{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;width:100%;height:48px;margin-top:var(--jc-space-2);padding:0 52px;overflow:hidden;border:0;border-radius:12px;cursor:pointer;
 background:var(--lg-button);color:var(--jc-text-inverse);
 font:600 15px/1 var(--jc-font-body);letter-spacing:.2em;font-variant-numeric:tabular-nums;white-space:nowrap;box-shadow:0 12px 26px -14px color-mix(in srgb,var(--lg-button) 90%,transparent),inset 0 1px 0 color-mix(in srgb,#fff 22%,transparent);
 transition:transform var(--jc-motion-fast) var(--jc-ease),box-shadow var(--jc-motion-base) var(--jc-ease),filter var(--jc-motion-base) var(--jc-ease),background var(--jc-motion-slow) var(--jc-ease)}
.lg-submit::after{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 35%,color-mix(in srgb,#fff 32%,transparent) 50%,transparent 65%);transform:translateX(-120%);pointer-events:none}
.lg-submit:hover:not(:disabled,[aria-disabled="true"]){transform:translateY(-1px);filter:brightness(1.06);box-shadow:0 16px 30px -14px color-mix(in srgb,var(--lg-button) 90%,transparent),inset 0 1px 0 color-mix(in srgb,#fff 22%,transparent)}
.lg-submit:hover:not(:disabled,[aria-disabled="true"])::after{transform:translateX(120%);transition:transform 760ms var(--jc-ease-out)}
.lg-submit:active:not(:disabled,[aria-disabled="true"]){transform:scale(.985)}
.lg-submit:focus-visible{outline:2px solid var(--lg-focus);outline-offset:3px}
/* Busy is aria-disabled (the button keeps its focus); locked out is disabled. */
.lg-submit:is(:disabled,[aria-disabled="true"]){cursor:default;opacity:.78}
/* A seed in a green dot at the end of the button: it lifts on hover; on success it flies off
   with the gust and leaves a tick. While busy or locked out the dot steps back (opacity and scale,
   never display, so the success flight still plays from it). */
.lg-submit-go{position:absolute;top:6px;right:6px;width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:var(--lg-go);
 box-shadow:0 6px 14px -8px color-mix(in srgb,var(--lg-go) 90%,transparent);
 transition:transform var(--jc-motion-slow) var(--jc-ease-circ),opacity var(--jc-motion-base) var(--jc-ease),background var(--jc-motion-slow) var(--jc-ease)}
.lg-submit-go svg{width:22px;height:22px;overflow:visible}
.lg-go-seed{transform-box:view-box;transform-origin:10px 10px;transform:rotate(38deg);transition:transform var(--jc-motion-slow) var(--jc-ease-spring),opacity var(--jc-motion-slow) var(--jc-ease)}
.lg-go-silk,.lg-go-stalk{fill:none;stroke:#fff;stroke-width:1.1;stroke-linecap:round}
.lg-go-body{fill:#fff}
.lg-go-check{fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;opacity:0;transition:opacity var(--jc-motion-base) var(--jc-ease) 180ms}
.lg-submit:hover:not(:disabled,[aria-disabled="true"]) .lg-submit-go{transform:scale(1.06)}
.lg-submit:hover:not(:disabled,[aria-disabled="true"]) .lg-go-seed{transform:translate(1px,-1.5px) rotate(48deg)}
.lg-spinner{display:none;width:16px;height:16px;border-radius:50%;border:2px solid color-mix(in srgb,#fff 35%,transparent);border-top-color:#fff;animation:lg-spin .8s linear infinite}
.lg-card.is-busy .lg-spinner{display:block}
.lg-card.is-busy .lg-submit-go,.lg-submit:disabled .lg-submit-go{opacity:0;transform:scale(.6)}
.lg-card.is-done .lg-submit{background:linear-gradient(135deg,var(--jc-brand-green),color-mix(in srgb,var(--jc-brand-green) 60%,var(--lg-button)));opacity:1}
.lg-card.is-done .lg-submit-go{opacity:1;transform:none;background:color-mix(in srgb,#fff 24%,transparent);box-shadow:none}
.lg-card.is-done .lg-go-seed{transform:translate(9px,-9px) rotate(64deg);opacity:0}
.lg-card.is-done .lg-go-check{opacity:1}
.lg-card.is-done .lg-spinner{display:none}
.lg-links{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:var(--jc-space-2) var(--jc-space-4);margin-top:var(--jc-space-4)}
.lg-link{padding:4px 0;border:0;background:none;color:var(--jc-accent);font:inherit;font-size:13px;cursor:pointer;background-image:linear-gradient(currentColor,currentColor);background-size:0 1px;background-repeat:no-repeat;background-position:0 100%;transition:background-size var(--jc-motion-base) var(--jc-ease-out)}
html[data-theme="dark"] .lg-link{color:var(--jc-brand-blue)}
.lg-link:hover{background-size:100% 1px}
.lg-link:focus-visible{outline:2px solid var(--lg-focus);outline-offset:2px;border-radius:2px}
.lg-forgot{margin-left:auto;font-size:13px;color:var(--lg-muted);text-align:right}
.lg-forgot summary{cursor:pointer;list-style:none;padding:4px 0}
.lg-forgot summary::-webkit-details-marker{display:none}
.lg-forgot summary:focus-visible{outline:2px solid var(--lg-focus);outline-offset:2px;border-radius:2px}
.lg-forgot[open]{flex-basis:100%;text-align:left}
.lg-forgot p{margin:var(--jc-space-2) 0;font-size:var(--jc-font-xs);line-height:1.8;color:var(--lg-muted)}
.lg-forgot code{display:block;padding:8px 10px;border-radius:8px;background:var(--jc-surface-soft);color:var(--jc-text);font:12px/1.5 ui-monospace,SFMono-Regular,Menlo,monospace;user-select:all;overflow-wrap:anywhere}
.lg-status{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* ---------- entrance ---------- */
@media(prefers-reduced-motion:no-preference){
 .lg-mark,.lg-eyebrow,.lg-title span,.lg-lede,.lg-card,.lg-foot{animation:lg-rise var(--jc-motion-scene) var(--jc-ease-out) both}
 .lg-mark{animation-name:lg-fade}
 .lg-eyebrow{animation-delay:260ms}.lg-title span:first-child{animation-delay:360ms}.lg-title span+span{animation-delay:470ms}
 .lg-lede{animation-delay:620ms}.lg-card{animation-delay:260ms}.lg-foot{animation-delay:760ms}
 .lg-sky{animation:lg-fade 900ms var(--jc-ease-out) both}
 .lg-flower{animation:lg-grow 1600ms var(--jc-ease-out) 120ms both}
 ::view-transition-group(*){animation-duration:var(--jc-motion-slow);animation-timing-function:var(--jc-ease-out)}
}
body.is-loading .lg-form{visibility:hidden}
@keyframes lg-rise{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}
@keyframes lg-grow{from{opacity:0;transform:translateY(3%)}to{opacity:1;transform:none}}
@keyframes lg-fade{from{opacity:0}to{opacity:1}}
@keyframes lg-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){
 *,*::before,*::after{animation-duration:1ms!important;animation-iteration-count:1!important;transition-duration:1ms!important}
 .lg-spinner{animation:lg-spin 1.6s linear infinite!important}
 ::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}
}

/* ---------- smaller screens ---------- */
@media(max-width:1100px){
 body.lg{--lg-flower-w:min(90vh,52vw);--lg-flower-x:36vw}
 .lg-intro{max-width:300px}
}
/* Narrow, short desktop windows (around 1024 × 640): a smaller head, between the words and the card. */
@media(min-width:861px) and (max-width:1100px) and (max-height:700px){
 body.lg{--lg-flower-w:min(80vh,44vw);--lg-flower-x:39vw;--lg-head-y:36vh}
 .lg-intro{padding-bottom:4vh}
 .lg-title{font-size:32px}
}
/* When the page has to scroll (a short window, or 200% zoom), the brand lockup scrolls with it
   instead of sitting over the words and the form. */
@media(max-height:560px){
 .lg-mark{position:absolute}
}
@media(max-width:860px){
 body.lg{--lg-flower-w:min(74vw,38vh);--lg-flower-x:62vw;--lg-head-y:calc(70px + var(--lg-flower-w) * .36)}
 /* The words sit right under the head here: the stem fades out into the sky before it reaches them. */
 .lg-flower{-webkit-mask-image:linear-gradient(180deg,#000 0,#000 calc(var(--lg-flower-w) * .6),transparent calc(var(--lg-flower-w) * .86));mask-image:linear-gradient(180deg,#000 0,#000 calc(var(--lg-flower-w) * .6),transparent calc(var(--lg-flower-w) * .86))}
 .lg-sun{right:-46vmax;top:-46vmax}
 .lg-main{grid-template-columns:minmax(0,1fr);align-content:start;gap:var(--jc-space-5);padding:calc(var(--lg-head-y) + var(--lg-flower-w) * .34) 16px 24px}
 .lg-intro{align-self:start;padding:0;max-width:none}
 .lg-eyebrow{margin-bottom:var(--jc-space-3);font-size:11px}
 .lg-title{font-size:28px;letter-spacing:.16em;line-height:1.4}
 .lg-title span{display:inline}
 .lg-title span+span{margin-left:.5em}
 .lg-lede{margin-top:var(--jc-space-3);padding-top:var(--jc-space-3);font-size:13px}
 .lg-panel{justify-content:stretch}
 .lg-card{padding:28px 22px 22px;border-radius:18px}
 .lg-mark{position:absolute}
 .lg-foot{position:relative;left:auto;right:auto;bottom:auto;z-index:3;padding:0 16px 20px;flex-direction:column;gap:2px;align-items:center}
}
@media(max-width:420px){
 .lg-card-title{font-size:23px}
}
@media(max-width:360px){
 .lg-submit{padding:0 46px;letter-spacing:.12em}
 .lg-mark-name small{display:none}
}
