:root {
  color-scheme: light;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color: #182a26;
  background: #f5f7f4;
  --muted: #586a63;
  --line: #d8e3da;
  --primary: #195c45;
  --accent: #d9f39f;
  --forest: #10231f;
}
* { box-sizing: border-box; }
body { min-width: 280px; margin: 0; }
h1, h2, p { margin: 0; }
input, button { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #25865e; outline-offset: 3px; }
.sign-in { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.identity {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 640px;
  padding: clamp(28px, 5vw, 76px);
  color: #eef6ef;
  background: radial-gradient(ellipse at 85% 92%, #254c3a, transparent 70%), var(--forest);
}
.brand { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 750; letter-spacing: -.035em; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--accent); color: #163428; }
.brand-mark svg { width: 22px; height: 22px; }
.workspace-copy { margin: clamp(58px, 13vh, 140px) 0 40px; z-index: 1; }
.workspace-en { color: var(--accent); font-size: 14px; font-weight: 650; }
.workspace-copy h1 { margin: 11px 0 15px; font-size: clamp(2.4rem, 4.6vw, 4.5rem); line-height: 1.08; letter-spacing: -.05em; }
.workspace-summary { max-width: 340px; color: #b8cec1; line-height: 1.6; }
.identity-art { position: relative; flex: 1; min-height: 145px; width: min(100%, 470px); margin: 0 auto; opacity: .9; }
.art-track {
  position: absolute;
  inset: -10% -25% -70%;
  z-index: -1;
  background-image: linear-gradient(#a3d2941a 1px, transparent 1px), linear-gradient(90deg, #a3d2941a 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(ellipse at center, #000 14%, transparent 69%);
}
.art-message, .art-reply {
  position: absolute;
  display: grid;
  align-content: center;
  gap: 10px;
  height: 86px;
  padding: 0 20px;
  border-radius: 15px;
}
.art-message { width: 59%; bottom: 40%; left: 5%; background: #28463a; border: 1px solid #456a53; border-bottom-left-radius: 4px; }
.art-reply { width: 50%; bottom: 5%; right: 3%; background: var(--accent); border-bottom-right-radius: 4px; }
.art-message span, .art-reply span { display: block; width: 100%; height: 5px; border-radius: 6px; }
.art-message span { background: #b2d3b4; opacity: .67; }
.art-reply span { background: #3b6949; opacity: .68; }
.art-message span:last-child, .art-reply span:last-child { width: 60%; }
.access { display: grid; place-items: center; padding: clamp(23px, 5vw, 72px); }
.access-card { width: min(100%, 445px); padding: clamp(24px, 3vw, 42px); border: 1px solid #e0e8e1; border-radius: 15px; background: white; box-shadow: 0 9px 28px #10231f0a; }
.access-heading { margin-bottom: 26px; }
.access-heading h2 { font-size: 30px; line-height: 1.2; letter-spacing: -.04em; }
.access-heading p { margin-top: 9px; color: var(--muted); line-height: 1.55; font-size: 14px; }
.field + .field { margin-top: 16px; }
.field label { display: block; margin-bottom: 7px; font-size: 14px; font-weight: 650; }
.field input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; color: inherit; background: white; }
.password { position: relative; }
.password input { padding-inline-end: 64px; }
.reveal { position: absolute; inset-inline-end: 5px; top: 5px; bottom: 5px; padding: 0 10px; border: 0; border-radius: 6px; color: var(--primary); background: transparent; font-size: 14px; font-weight: 650; }
.reveal:hover { background: #eff4eb; }
.primary { width: 100%; min-height: 45px; margin-top: 24px; padding: 10px 14px; border: 1px solid var(--primary); border-radius: 8px; background: var(--primary); color: white; font-size: 15px; font-weight: 650; }
.primary:hover { background: #104b37; }
.feedback { margin: 0 0 16px; padding: 9px 11px; border-radius: 7px; font-size: 14px; line-height: 1.5; }
.error { background: #fce9e8; color: #8d302c; }
.success { background: #e9f4e9; color: #235e42; }
.logout-actions .primary { margin-top: 0; }
.cancel { display: block; margin-top: 15px; color: var(--primary); text-align: center; font-size: 14px; }
@media (max-width: 760px) {
  .sign-in { grid-template-columns: minmax(0, 1fr); }
  .identity { min-height: 0; padding: 24px; }
  .workspace-copy { margin: 27px 0 0; }
  .workspace-copy h1 { font-size: clamp(2rem, 9vw, 2.9rem); margin-top: 6px; margin-bottom: 9px; }
  .identity-art { display: none; }
  .access { align-items: start; padding-block: 25px 36px; }
}
