:root {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  color: #17213b;
  background: #f6f7f9;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --muted: #758095;
  --primary: #4255d4;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 280px;
}
button,
input {
  font: inherit;
}
.login-shell {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
}
.welcome {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 46px 10.5%;
  border-right: 1px solid #e7eaf0;
  background: #f6f7f9;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  font-size: 15px;
  font-weight: 750;
  letter-spacing: 1.3px;
  white-space: nowrap;
}
.brand strong {
  color: #788195;
  font-size: 11px;
  font-weight: 550;
  letter-spacing: 1.8px;
  margin-left: 4px;
}
.brand-mark {
  width: 36px;
  height: 38px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  border-radius: 9px;
  background: var(--primary);
  color: white;
  font-size: 24px;
  font-weight: 500;
}
.brand-mark i {
  position: absolute;
  width: 24px;
  height: 5px;
  background: #aab7ff;
  transform: rotate(-45deg);
  right: -6px;
  bottom: 9px;
}
.welcome-content {
  margin: auto 0;
  padding-top: 65px;
}
.eyebrow {
  margin: 0 0 20px;
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.7;
}
h1 {
  margin: 0;
  font-size: clamp(34px, 3.3vw, 50px);
  font-weight: 650;
  line-height: 1.4;
  letter-spacing: -1.6px;
}
.welcome-description {
  margin: 23px 0 0;
  color: #758095;
  font-size: 14px;
  line-height: 2;
}
.workspace-illustration {
  height: 248px;
  max-width: 430px;
  position: relative;
  margin-top: 35px;
}
.illustration-orbit {
  position: absolute;
  border: 1px solid #e0e4f0;
  border-radius: 50%;
  width: 230px;
  height: 230px;
  top: 0;
  left: 70px;
  transform: rotate(-24deg) scaleX(1.4);
}
.orbit-two {
  width: 180px;
  height: 180px;
  top: 25px;
  left: 95px;
  border-color: #e9ecf3;
}
.illustration-line {
  position: absolute;
  width: 225px;
  height: 1px;
  top: 110px;
  left: 80px;
  background: #dce1f1;
  transform: rotate(36deg);
}
.illustration-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  height: 64px;
  padding: 0 18px;
  background: #fff;
  border: 1px solid #e5e8f1;
  border-radius: 12px;
  box-shadow: 0 8px 24px #17213b05;
  font-size: 12px;
  color: #566178;
}
.overview-card {
  top: 25px;
  left: 8px;
  width: 232px;
  transform: rotate(-3deg);
}
.position-card {
  top: 106px;
  left: 112px;
  width: 226px;
  transform: rotate(3deg);
}
.execution-card {
  top: 183px;
  left: 35px;
  width: 216px;
  transform: rotate(-2deg);
}
.illustration-icon {
  color: var(--primary);
  width: 29px;
  height: 29px;
  background: #f0f2ff;
  border-radius: 8px;
  display: grid;
  place-items: center;
  font-size: 19px;
}
.mini-lines {
  display: grid;
  gap: 6px;
  margin-left: auto;
}
.mini-lines i {
  display: block;
  height: 4px;
  width: 43px;
  border-radius: 4px;
  background: #e7eafb;
}
.mini-lines i:last-child {
  width: 29px;
  background: #cbd2f5;
}
.mini-bars {
  margin-left: auto;
  height: 25px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}
.mini-bars i {
  width: 6px;
  background: #c5cdf6;
  border-radius: 2px;
  height: 12px;
}
.mini-bars i:nth-child(2) {
  height: 20px;
}
.mini-bars i:nth-child(3) {
  height: 16px;
}
.mini-bars i:nth-child(4) {
  height: 25px;
  background: #6b7be7;
}
.mini-check {
  margin-left: auto;
  color: #6e9b91;
  border: 1px solid #dcece7;
  border-radius: 50%;
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
}
.welcome-footer {
  margin: 44px 0 0;
  color: #9199ab;
  font-size: 10px;
  letter-spacing: 1px;
}
.welcome-footer span {
  margin: 0 9px;
}
.login-panel {
  background: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 90px 48px;
}
.login-card {
  width: 100%;
  max-width: 348px;
}
.login-symbol {
  width: 46px;
  height: 46px;
  background: #f2f4fd;
  border: 1px solid #e8ebfa;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 32px;
}
.login-symbol svg {
  width: 23px;
  height: 23px;
  stroke: var(--primary);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.login-heading .eyebrow {
  margin-bottom: 8px;
  font-size: 9px;
  letter-spacing: 1.8px;
  color: #8891a5;
}
h2 {
  margin: 0;
  font-size: 27px;
  line-height: 1.6;
  font-weight: 650;
  letter-spacing: -0.5px;
}
.login-heading > p:last-child {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
  margin: 9px 0 32px;
}
label {
  display: block;
  margin: 0 0 9px;
  font-size: 12px;
  font-weight: 600;
  color: #3c465d;
}
input {
  width: 100%;
  height: 47px;
  border: 1px solid #dfe3eb;
  background: #fff;
  border-radius: 8px;
  padding: 0 14px;
  color: #17213b;
  font-size: 14px;
  outline: none;
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}
input::placeholder {
  color: #a1a8b7;
  font-size: 12px;
}
input:focus {
  border-color: #7683e9;
  box-shadow: 0 0 0 3px #3448db0c;
}
input + label {
  margin-top: 23px;
}
button {
  width: 100%;
  min-height: 47px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 28px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: white;
  background: var(--primary);
  cursor: pointer;
  font-size: 13px;
  font-weight: 550;
  transition:
    background 0.15s,
    box-shadow 0.15s;
}
button > span:last-child {
  position: absolute;
  right: 19px;
  font-size: 18px;
  font-weight: 400;
}
button:hover {
  background: #2b3ec7;
  box-shadow: 0 4px 12px #3448db18;
}
button:focus-visible {
  outline: 3px solid #a6b0ff;
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.6;
  cursor: wait;
}
#message {
  color: #ad3e43;
  font-size: 12px;
  line-height: 1.8;
  min-height: 22px;
  margin: 12px 0 15px;
  overflow-wrap: anywhere;
}
.note {
  margin: 0;
  padding-top: 21px;
  border-top: 1px solid #edf0f5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 11px;
  line-height: 1.8;
  color: #8a93a5;
}
.note svg {
  flex: 0 0 15px;
  width: 15px;
  height: 15px;
  margin-top: 2px;
  stroke: #929cae;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.panel-footer {
  position: absolute;
  bottom: 38px;
  margin: 0;
  color: #a0a7b5;
  font-size: 10px;
  letter-spacing: 1px;
}

@media (min-width: 1500px) {
  .welcome {
    padding-left: max(10.5%, calc((100vw - 1280px) / 2));
    padding-right: 12%;
  }
}

@media (max-width: 1000px) {
  .welcome {
    padding: 38px 9%;
  }
  .welcome-content {
    padding-top: 40px;
  }
  .workspace-illustration {
    transform: scale(0.84);
    transform-origin: left center;
  }
  .brand {
    gap: 10px;
  }
  .brand strong {
    font-size: 9px;
    letter-spacing: 1px;
  }
  .login-panel {
    padding: 80px 36px;
  }
}

@media (min-width: 701px) and (max-height: 800px) {
  .welcome {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .welcome-content {
    padding-top: 30px;
  }
  .workspace-illustration {
    margin-top: 20px;
    height: 205px;
    transform: scale(0.82);
    transform-origin: left top;
  }
  .welcome-footer {
    margin-top: 22px;
  }
  .login-panel {
    padding-top: 50px;
    padding-bottom: 70px;
  }
}

@media (max-width: 700px) {
  .login-shell {
    display: block;
  }
  .welcome {
    padding: 27px 28px 29px;
    border-right: 0;
    border-bottom: 1px solid #e7eaf0;
  }
  .welcome-content {
    padding-top: 28px;
  }
  .welcome-content .eyebrow {
    margin-bottom: 10px;
    font-size: 8px;
  }
  h1 {
    font-size: 27px;
    line-height: 1.45;
    letter-spacing: -0.5px;
  }
  h1 br {
    display: none;
  }
  .welcome-description {
    margin-top: 12px;
    font-size: 12px;
    line-height: 1.8;
  }
  .welcome-description br {
    display: none;
  }
  .workspace-illustration,
  .welcome-footer {
    display: none;
  }
  .login-panel {
    min-height: 540px;
    padding: 36px 28px 74px;
  }
  .login-card {
    max-width: 390px;
  }
  .login-symbol {
    display: none;
  }
  .login-heading .eyebrow {
    display: none;
  }
  h2 {
    font-size: 23px;
  }
  .login-heading > p:last-child {
    margin-bottom: 25px;
  }
  input {
    font-size: 16px;
  }
  .panel-footer {
    bottom: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  input,
  button {
    transition: none;
  }
}
