* { box-sizing: border-box; }
:root { color-scheme: light; font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; color: #17212d; background: #f1f4f6; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; padding: 32px; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .55; }
button:focus-visible, input:focus-visible, a:focus-visible { outline: 3px solid #628400; outline-offset: 4px; }
[hidden] { display: none !important; }
.login-shell { width: min(940px, 100%); display: grid; grid-template-columns: .92fr 1fr; background: #fff; border: 1px solid #e1e6eb; border-radius: 28px; overflow: hidden; box-shadow: 0 24px 64px #17212d0a; }
.intro { display: flex; flex-direction: column; background: #19232f; color: #f7f9fb; padding: 42px; min-height: 600px; }
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; font-size: 22px; font-weight: 750; }
.brand span { display: flex; align-items: center; gap: 10px; }
.brand small { font-size: 10px; font-weight: 500; letter-spacing: 2px; color: #a1adba; }
.intro-copy { margin: auto 0; padding: 60px 0; }
.eyebrow { color: #c6ed7b; font-size: 10px; letter-spacing: 1.8px; font-weight: 700; }
.intro h1 { font-size: clamp(34px, 4.4vw, 46px); line-height: 1.3; letter-spacing: -2px; font-weight: 650; margin: 24px 0; }
.intro p { font-size: 14px; line-height: 1.9; color: #aab7c5; }
.intro-footer { display: flex; justify-content: space-between; color: #92a2b3; font-size: 11px; letter-spacing: .5px; }
.intro-footer span { color: #c6ed7b; font-size: 22px; }
.login-card { padding: 62px 48px 38px; align-self: center; min-width: 0; }
.step-label { color: #64747f; font-size: 10px; font-weight: 650; letter-spacing: 1.3px; }
h2 { font-size: 26px; letter-spacing: -1px; line-height: 1.35; margin: 18px 0 10px; }
.description { color: #71808c; font-size: 13px; line-height: 1.7; margin: 0 0 30px; }
label { display: block; margin: 0 0 10px; font-size: 12px; font-weight: 650; }
input { width: 100%; min-height: 52px; border: 1px solid #d8dfe5; border-radius: 10px; padding: 14px; color: #17212d; background: #fff; font-size: 16px; }
input::placeholder { color: #97a1ac; font-size: 13px; }
input:focus { border-color: #779448; }
.primary { width: 100%; margin-top: 16px; min-height: 50px; display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: #c5eb7c; color: #263913; border: 1px solid #c5eb7c; border-radius: 10px; font-size: 13px; font-weight: 700; }
.primary:hover:not(:disabled) { background: #bade72; }
.primary span { font-size: 18px; }
.recipient { font-size: 13px; color: #536573; overflow-wrap: anywhere; line-height: 1.6; margin-top: -12px; }
#code { font-size: 25px; letter-spacing: 8px; text-align: center; font-variant-numeric: tabular-nums; }
#code::placeholder { font-size: 20px; letter-spacing: 4px; }
.hint { color: #71808c; font-size: 11px; line-height: 1.7; }
#expiry { display: block; font-variant-numeric: tabular-nums; }
.code-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; }
.text-button { background: none; border: 0; color: #4d616e; font-size: 12px; padding: 10px 0; min-height: 36px; text-decoration: underline; text-underline-offset: 4px; }
.text-button:disabled { cursor: default; text-decoration: none; }
.feedback { font-size: 12px; line-height: 1.7; color: #566978; min-height: 21px; margin: 14px 0 20px; overflow-wrap: anywhere; }
.feedback.error { color: #a63c2d; }
.mail-tip { display: flex; gap: 12px; padding: 16px; border: 1px solid #e9edf0; border-radius: 12px; background: #f8fafb; }
.mail-tip > span { font-size: 20px; color: #647889; }
.mail-tip p { font-size: 11px; color: #74818c; line-height: 1.9; margin: 0; }
.mail-tip strong { color: #4b5c6a; font-weight: 600; }
.access-note { color: #6e7b87; font-size: 10px; line-height: 1.7; margin-top: 22px; text-align: center; }
@media (max-width: 700px) {
  body { padding: 18px; }
  .login-shell { max-width: 440px; grid-template-columns: 1fr; border-radius: 20px; }
  .intro { padding: 25px 26px; min-height: auto; }
  .intro-copy, .intro-footer { display: none; }
  .login-card { padding: 32px 26px 24px; }
  h2 { font-size: 25px; }
}
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
