:root { color-scheme: light; --bg: #f3f5f1; --surface: #fff; --text: #20342b; --muted: #738076; --border: #dce3db; --accent: #304d3c; --error: #b3433d; }
@media(prefers-color-scheme:dark) { :root { color-scheme: dark; --bg: #141b16; --surface: #1b251e; --text: #e8efe7; --muted: #9faea1; --border: #344437; --accent: #c4d7b9; --error: #ef9b91; } .auth-submit { color: #1b251e !important; } }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: -apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Noto Sans KR",sans-serif; }
.auth-shell { max-width: 444px; padding: 64px 22px 32px; margin: auto; }
.auth-brand { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; color: var(--text); font-size: 17px; font-weight: 800; text-decoration: none; letter-spacing: -.04em; }
.auth-brand span { color: var(--muted); font-size: 9px; font-weight: 600; letter-spacing: .16em; }
.auth-card { padding: 32px; border: 1px solid var(--border); border-radius: 18px; background: var(--surface); box-shadow: 0 12px 36px #182f2110; }
.auth-lock { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--border); border-radius: 10px; margin-bottom: 27px; font-size: 21px; }
.auth-eyebrow { color: var(--muted); font-size: 9px; letter-spacing: .16em; font-weight: 700; }
h1 { margin: 9px 0; font-size: 27px; letter-spacing: -.06em; }
.auth-description { margin: 0 0 28px; color: var(--muted); font-size: 13px; line-height: 1.8; }
label { display: block; margin: 18px 0 8px; font-size: 12px; font-weight: 700; }
input { width: 100%; min-width: 0; padding: 13px 12px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); color: var(--text); font: inherit; font-size: 16px; }
input:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
.password-field { position: relative; }
.password-field input { padding-right: 55px; }
.password-field button { position: absolute; right: 5px; top: 7px; padding: 9px 8px; color: var(--muted); background: transparent; border: 0; font: inherit; font-size: 11px; cursor: pointer; }
.auth-status { min-height: 19px; margin: 15px 0 8px; color: var(--error); font-size: 12px; line-height: 1.6; }
.auth-submit { width: 100%; padding: 14px; border: 0; border-radius: 8px; color: #fff; background: var(--accent); font: inherit; font-size: 14px; font-weight: 750; cursor: pointer; }
.auth-submit:disabled { opacity: .6; cursor: wait; }
.auth-footnote,.auth-footer { color: var(--muted); font-size: 11px; line-height: 1.8; text-align: center; }
.auth-footnote { margin: 20px 0 0; }
.auth-footnote a { color: var(--text); }
.auth-footer { margin-top: 24px; }
[hidden] { display: none !important; }
@media(max-width:420px) { .auth-shell { padding-top: 35px; }.auth-card { padding: 25px 23px; } }
