:root {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #102a43;
  background: #e9f4f2;
  font-synthesis: none;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 15%, rgba(255,255,255,.9), transparent 30rem),
    linear-gradient(145deg, #e8f5f2, #dcebea);
}

.login-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: min(100%, 420px);
  padding: 38px 34px;
  border: 1px solid rgba(15, 118, 110, .16);
  border-radius: 24px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 20px 55px rgba(15, 57, 64, .13);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 26px;
  border-radius: 15px;
  color: #fff;
  background: #0f766e;
}

.brand-mark svg { width: 32px; fill: none; stroke: currentColor; stroke-width: 2; }
.eyebrow { margin: 0 0 7px; color: #0f766e; font-size: .875rem; font-weight: 700; letter-spacing: .08em; }
h1 { margin: 0; font-size: clamp(1.8rem, 6vw, 2.35rem); line-height: 1.2; }
.intro { margin: 12px 0 28px; color: #627d8d; font-size: 1rem; }
label { display: block; margin-bottom: 9px; font-weight: 700; }
input, button { width: 100%; min-height: 50px; border-radius: 12px; font: inherit; }
input { border: 1px solid #a9c4c1; padding: 0 15px; color: #102a43; background: #fff; font-size: 1.05rem; }
input:focus { outline: 3px solid rgba(13, 148, 136, .2); border-color: #0f766e; }
button { border: 0; margin-top: 8px; color: #fff; background: #0f766e; font-weight: 750; cursor: pointer; }
button:hover { background: #0b5f59; }
button:focus-visible { outline: 3px solid rgba(13, 148, 136, .32); outline-offset: 2px; }
button:disabled { opacity: .6; cursor: wait; }
.message { min-height: 24px; margin: 8px 0 2px; color: #b42318; font-size: .9rem; line-height: 1.5; }

@media (max-width: 480px) {
  .login-shell { padding: 14px; }
  .login-card { padding: 30px 22px; border-radius: 19px; }
}
