.auth-page {
  --auth-ink:#18251f;
  --auth-border:#c4cfc7;
  --auth-link:#255c45;
  display:flex;
  flex-direction:column;
  min-height:100vh;
  min-height:100dvh;
  color:var(--auth-ink);
  background:#fff;
}
.auth-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:22px clamp(20px,3.6vw,58px);
}
.auth-wordmark {display:flex;align-items:center;gap:15px;font-size:25px;font-weight:750;letter-spacing:-.07em;line-height:1.2}
.auth-wordmark span {border-left:1px solid #d3dcd5;padding-left:15px;font-size:13px;line-height:18px;font-weight:500;letter-spacing:.02em;color:#53635a}
.auth-demo {display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border-radius:20px;color:#44564b;font-size:13px;font-weight:550}
.auth-demo span {font:17px/1 system-ui,sans-serif}
.auth-demo:hover {background:#edf4ef}
.auth-stage {
  position:relative;
  isolation:isolate;
  display:grid;
  flex:1;
  place-items:center;
  min-width:0;
  margin:0 clamp(10px,1.4vw,24px) clamp(10px,1.4vw,24px);
  padding:clamp(34px,5vh,64px) 24px clamp(45px,10vh,108px);
  overflow:hidden;
  border-radius:26px;
  background:
    radial-gradient(ellipse at 3% 100%,#dcf2e4 0,transparent 42%),
    radial-gradient(ellipse at 98% 102%,#edf5df 0,transparent 43%),
    radial-gradient(ellipse at 50% 34%,#fff 5%,#f8fbf8 70%,#f1f6f0);
}
.auth-stage::before,.auth-stage::after {
  content:"";
  position:absolute;
  inset:auto auto -31% -15%;
  width:75%;
  height:65%;
  z-index:-1;
  pointer-events:none;
  transform:rotate(12deg);
  border-radius:50%;
  background:repeating-radial-gradient(ellipse at 50% 108%,transparent 0 17px,rgba(99,146,117,.12) 18px,transparent 19px 35px);
  mask-image:linear-gradient(0deg,#000 8%,transparent 95%);
}
.auth-stage::after {inset:auto -23% -41% auto;transform:rotate(-21deg);width:81%;height:78%}
.auth-card {width:min(100%,372px);min-width:0}
.auth-mascot {position:relative;width:52px;height:51px;overflow:hidden;margin:0 auto 16px}
.auth-mascot img {position:absolute;left:-25%;top:-25%;width:150%;max-width:none;height:auto}
.auth-welcome .auth-mascot {width:80px;height:78px;margin-bottom:22px}
.auth-card h1 {margin:0;text-align:center;color:var(--auth-ink);font-size:clamp(29px,3.2vw,41px);font-weight:700;line-height:1.24;letter-spacing:-.055em}
.auth-card h1:focus {outline:none}
.auth-description {margin:10px 0 0;text-align:center;font-size:15px;line-height:1.65;color:#53635a}
.auth-form {display:grid;gap:14px;margin-top:25px}
.auth-welcome .auth-form {margin-top:31px}
.auth-field {display:grid;min-width:0;gap:6px;font-size:13px;font-weight:600}
.auth-field input {
  width:100%;
  min-width:0;
  height:49px;
  padding:10px 15px;
  border:1px solid var(--auth-border);
  border-radius:13px;
  background:#fff;
  color:var(--auth-ink);
  font:400 16px/1.35 var(--font);
}
.auth-field input::placeholder {color:#748077}
.auth-field input:hover {border-color:#889c8e}
.auth-field input:focus-visible {outline:2px solid #397456;outline-offset:2px}
.auth-secret {position:relative}
.auth-secret input {padding-right:58px}
.auth-secret button {position:absolute;inset:3px 4px 3px auto;padding:0 10px;font-size:13px;color:var(--auth-link)}
.auth-pair {display:grid;grid-template-columns:1fr 1fr;gap:12px}
.auth-code {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:end}
.auth-code button,.auth-provider {min-height:49px;padding:8px 13px;border:1px solid var(--auth-border);border-radius:13px;background:white;font-size:14px;font-weight:550}
.auth-code button:hover,.auth-provider:hover {background:#f1f6f1}
.auth-provider {width:100%;margin-top:10px}
.auth-link,.auth-links button {color:var(--auth-link);font-weight:580;font-size:14px;padding:6px}
.auth-link:hover,.auth-links button:hover,.auth-secret button:hover {text-decoration:underline;text-underline-offset:3px}
.auth-recovery {display:flex;justify-content:flex-end;margin:-9px -6px -4px 0}
.auth-identity {display:flex;align-items:center;gap:9px;min-width:0;padding:5px 8px 5px 13px;border:1px solid #dce4dd;border-radius:13px;background:#f7faf6}
.auth-identity .icon {width:17px;color:#6f8273}
.auth-identity input {flex:1;width:0;min-width:0;padding:4px 0;border:0;background:transparent;color:var(--auth-ink);font-size:14px;text-overflow:ellipsis}
.auth-submit {
  display:flex;
  position:relative;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:50px;
  padding:10px 44px;
  border-radius:25px;
  background:#192c22;
  color:#fff;
  font-size:16px;
  font-weight:620;
}
.auth-submit:hover:enabled {background:#274534}
.auth-submit:active:enabled {background:#0f2118}
.auth-arrow {position:absolute;right:21px;width:15px;height:2px;background:currentColor}
.auth-arrow::after {content:"";position:absolute;top:-3px;right:0;width:7px;height:7px;border-top:2px solid;border-right:2px solid;transform:rotate(45deg)}
.auth-links {display:flex;align-items:center;justify-content:center;gap:14px;margin-top:18px}
.auth-links span {width:1px;height:12px;background:#c7d2c8}
.auth-feedback {margin:0;font-size:14px;line-height:1.5}
.auth-feedback:empty {display:none}
.auth-feedback.inlineError {color:#a02d24}
.auth-success {color:#276246}
@media(max-width:600px) {
  .auth-top {padding:16px 15px 15px 20px}
  .auth-wordmark {gap:10px;font-size:22px}
  .auth-wordmark span {padding-left:10px;font-size:12px}
  .auth-demo {font-size:12px;padding:7px 5px;gap:4px}
  .auth-stage {margin:0 8px 8px;padding:30px clamp(16px,6vw,30px) max(42px,8vh);border-radius:20px}
  .auth-welcome .auth-mascot {width:70px;height:68px}
  .auth-stage::before,.auth-stage::after {width:130%}
}
@media(max-height:640px) {
  .auth-top {padding-top:10px;padding-bottom:10px}
  .auth-stage {padding-block:20px}
  .auth-mascot,.auth-welcome .auth-mascot {width:44px;height:44px;margin-bottom:10px}
  .auth-form,.auth-welcome .auth-form {margin-top:16px}
}
@media(max-height:450px) and (orientation:landscape) {
  .auth-mascot {display:none}
  .auth-stage {padding-block:14px}
  .auth-links {margin-top:10px}
}
@media(prefers-reduced-motion:no-preference) {
  .auth-submit,.auth-demo,.auth-field input {transition:background-color .16s,border-color .16s}
}


@media(max-width:370px){.auth-wordmark span {display:none}}
