:root {
  --bg: #f4f5f7; --surface: #fff; --text: #111827; --text-2: #4b5563; --text-3: #9ca3af; --line: #e5e7eb; --line-2: #cfd4dc;
  --accent: #3b5bdb; --accent-hover: #2f4bc4; --accent-soft: #eef2ff; --neg: #dc2626; --neg-soft: #fef2f2;
  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: var(--font); font-size: 14px; color: var(--text); background: radial-gradient(1200px 600px at 50% -10%, #e8edff 0%, var(--bg) 60%); -webkit-font-smoothing: antialiased; }
.wrap { min-height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 24px 16px; }
.card { width: 100%; max-width: 400px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 40px rgba(17, 24, 39, .08); padding: 28px 28px 24px; }
.brand { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.logo { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: #fff; font-weight: 700; font-size: 22px; flex-shrink: 0; }
h1 { margin: 0; font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.brand p { margin: 2px 0 0; font-size: 12px; color: var(--text-3); }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field > span:first-child { font-size: 12px; font-weight: 600; color: var(--text-2); }
input[type="text"], input[type="password"] { font: inherit; font-size: 16px; width: 100%; height: 46px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 10px; color: var(--text); background: var(--surface); }
input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.pw { position: relative; display: block; }
.pw input { padding-right: 64px; }
.eye { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); height: 30px; padding: 0 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--text-2); font: inherit; font-size: 12px; cursor: pointer; }
/* 로그인 유지 (2026-10-13 검증 개선-29): 체크 칸을 누르기 쉽게 줄 전체를 라벨로 */
.keep { display: flex; align-items: center; gap: 8px; margin: -2px 0 14px; font-size: 13px; color: var(--text-2); cursor: pointer; user-select: none; }
.keep input { width: 18px; height: 18px; margin: 0; accent-color: var(--accent); flex-shrink: 0; cursor: pointer; }
.keep small { color: var(--text-3); font-size: 12px; }
.msg { font-size: 13px; color: var(--neg); background: var(--neg-soft); border: 1px solid #fecaca; border-radius: 8px; padding: 9px 12px; margin-bottom: 12px; }
.msg.ok { color: #15803d; background: #f0fdf4; border-color: #bbf7d0; }
.submit { width: 100%; height: 48px; border: 0; border-radius: 10px; background: var(--accent); color: #fff; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; margin-top: 4px; }
.submit:hover { background: var(--accent-hover); }
.submit:disabled { opacity: .6; cursor: wait; }
.note { margin: 18px 0 0; font-size: 12px; color: var(--text-3); line-height: 1.6; }
.note b { color: var(--text-2); font-weight: 600; }
.foot { margin-top: 18px; font-size: 11px; color: var(--text-3); }
