:root { font-family: "Segoe UI", system-ui, sans-serif; color: #132334; background: #eaf2f2; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-height: 100svh; display: grid; place-items: center; padding: clamp(16px, 5vw, 56px); background: radial-gradient(ellipse at 10% 0%, #d3eee4, transparent 56%), #eaf2f2; }
.login { width: min(900px, 100%); display: grid; grid-template-columns: 1fr 1.05fr; border-radius: 26px; overflow: hidden; box-shadow: 0 22px 70px #12342b28; }
.intro, .panel { padding: clamp(24px, 5vw, 58px); }
.intro { display: flex; flex-direction: column; justify-content: center; background: radial-gradient(circle at 100% 15%, #206d60, transparent 57%), linear-gradient(145deg, #163d39, #102f36); color: #fff; }
.mark { font-size: 1.6rem; display: grid; place-items: center; width: 54px; height: 54px; border: 1px solid #ffffff58; border-radius: 16px; background: #ffffff14; margin-bottom: 24px; }
.eyebrow { font-size: .72rem; letter-spacing: .17em; font-weight: 750; margin: 0 0 12px; color: #0f6860; }
.intro .eyebrow, h1 span { color: #a2f2cd; }
h1 { font-size: clamp(2.6rem, 7vw, 5rem); letter-spacing: -.055em; line-height: .98; margin: 0; max-width: 8ch; }
.intro > p:last-child { color: #e0eeed; max-width: 27ch; line-height: 1.55; margin: 22px 0 0; }
.panel { background: #fff; min-width: 0; }
h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); letter-spacing: -.035em; margin: 0; }
.hint { color: #4e6374; line-height: 1.5; margin: 9px 0 26px; }
.fields { display: grid; gap: 8px; }
label { font-size: .9rem; font-weight: 650; }
label:not(:first-child) { margin-top: 8px; }
input, button { font: inherit; }
input { width: 100%; min-width: 0; padding: 12px; border: 1px solid #aebfc8; border-radius: 10px; color: #132334; }
:focus-visible { outline: 3px solid #168779; outline-offset: 2px; }
.password { display: flex; gap: 8px; }
button { cursor: pointer; border-radius: 10px; min-height: 44px; font-weight: 700; }
.toggle, #back { color: #195d56; background: #edf7f4; border: 1px solid #c2dcd8; padding: 0 12px; }
#submit { display: flex; justify-content: space-between; align-items: center; width: 100%; background: #146157; color: white; border: 0; padding: 12px 16px; }
#submit:hover { background: #0e4c44; }
#submit:disabled { opacity: .65; cursor: wait; }
#back { width: 100%; margin-top: 10px; }
#message { color: #a32031; font-size: .88rem; line-height: 1.4; margin: 14px 0; }
#message:empty { margin: 18px 0 0; }
@media (max-width: 650px) {
  .login { grid-template-columns: 1fr; }
  .intro { padding-block: 22px; }
  .intro h1 { max-width: none; }
  .mark, .intro > p:last-child { display: none; }
}
