:root {
  color-scheme: light;
  --ink: #12382f;
  --muted: #6e7e78;
  --line: rgba(26, 83, 70, .14);
  --green: #0f594b;
  --green-strong: #083f36;
  --orange: #f27b32;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(34, 173, 148, .14), transparent 31%),
    radial-gradient(circle at 92% 88%, rgba(242, 123, 50, .12), transparent 30%),
    #eef4f1;
}

button, input { font: inherit; }
.login-shell {
  display: grid;
  width: min(1160px, calc(100% - 48px));
  min-height: 680px;
  margin: 48px auto;
  grid-template-columns: minmax(0, 1.28fr) minmax(370px, .72fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .86);
  border-radius: 30px;
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 34px 90px rgba(13, 63, 53, .14);
}

.login-intro {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  color: #f7fffc;
  background:
    linear-gradient(135deg, rgba(7, 54, 46, .96), rgba(12, 90, 75, .92)),
    #0b5849;
}
.login-intro::before,
.login-intro::after {
  position: absolute;
  content: "";
  border: 1px solid rgba(91, 235, 207, .15);
  border-radius: 50%;
  pointer-events: none;
}
.login-intro::before { width: 390px; height: 390px; right: -180px; top: -130px; }
.login-intro::after { width: 250px; height: 250px; left: -130px; bottom: -100px; }
.brand-lockup { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; }
.brand-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 17px;
  background: rgba(255, 255, 255, .14);
}
.brand-mark img { width: 38px; height: 38px; object-fit: contain; }
.brand-lockup div { display: flex; flex-direction: column; gap: 3px; }
.brand-lockup strong { font-size: 21px; letter-spacing: .03em; }
.brand-lockup span { font-size: 12px; color: rgba(237, 255, 250, .7); }
.intro-copy { position: relative; z-index: 1; max-width: 610px; }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: .16em; color: #75dcc8; }
.intro-copy h1 { max-width: 560px; margin: 18px 0 20px; font-size: clamp(38px, 4.4vw, 61px); line-height: 1.12; letter-spacing: -.035em; }
.intro-copy p { max-width: 540px; margin: 0; font-size: 17px; line-height: 1.85; color: rgba(240, 255, 251, .73); }
.scope-note {
  position: relative;
  z-index: 1;
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  border: 1px solid rgba(116, 227, 205, .2);
  border-radius: 16px;
  background: rgba(3, 41, 35, .28);
}
.scope-icon { display: grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border-radius: 11px; font-size: 14px; font-weight: 900; color: #073e35; background: #74dbc7; }
.scope-note div { display: flex; flex-direction: column; gap: 3px; }
.scope-note strong { font-size: 14px; }
.scope-note small { font-size: 12px; line-height: 1.45; color: rgba(240, 255, 251, .64); }

.login-panel { display: flex; flex-direction: column; justify-content: center; padding: 52px 48px; background: rgba(255, 255, 255, .96); }
.panel-heading > span { font-size: 11px; font-weight: 900; letter-spacing: .15em; color: var(--orange); }
.panel-heading h2 { margin: 12px 0 8px; font-size: 30px; letter-spacing: -.03em; }
.panel-heading p { margin: 0; font-size: 14px; color: var(--muted); }
form { display: grid; gap: 18px; margin-top: 34px; }
label { display: grid; gap: 8px; }
label span { font-size: 13px; font-weight: 800; color: #36584f; }
input {
  width: 100%;
  height: 50px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: none;
  color: var(--ink);
  background: #f6f9f7;
  transition: border-color .16s ease, box-shadow .16s ease, background .16s ease;
}
input:focus { border-color: rgba(15, 89, 75, .56); background: #fff; box-shadow: 0 0 0 4px rgba(15, 89, 75, .1); }
.login-error { min-height: 20px; font-size: 13px; line-height: 1.5; color: #bd432f; }
button {
  display: flex;
  width: 100%;
  height: 52px;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px 0 21px;
  border: 0;
  border-radius: 14px;
  cursor: pointer;
  font-weight: 900;
  color: #fff;
  background: var(--green);
  box-shadow: 0 14px 28px rgba(15, 89, 75, .2);
}
button:hover { background: var(--green-strong); }
button:active { transform: translateY(1px); }
button:disabled { cursor: wait; opacity: .65; }
button b { font-size: 24px; line-height: 1; }
.support-copy { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 12px; line-height: 1.65; color: #8a9893; }

@media (max-width: 820px) {
  .login-shell { width: min(100% - 24px, 560px); min-height: 0; margin: 18px auto; grid-template-columns: 1fr; border-radius: 24px; }
  .login-intro { min-height: 310px; padding: 28px; gap: 42px; }
  .intro-copy h1 { margin: 14px 0 12px; font-size: 34px; }
  .intro-copy p { font-size: 14px; line-height: 1.65; }
  .scope-note { display: none; }
  .login-panel { padding: 32px 28px 36px; }
}

@media (max-width: 390px) {
  .login-shell { width: calc(100% - 16px); margin: 8px auto; border-radius: 20px; }
  .login-intro { min-height: 280px; padding: 24px; }
  .brand-mark { width: 46px; height: 46px; }
  .brand-mark img { width: 34px; height: 34px; }
  .intro-copy h1 { font-size: 31px; }
  .login-panel { padding: 28px 24px 32px; }
}
