/* Standalone authentication pages: no third-party assets or application shell. */
:root { color-scheme:light; font-family:"Yu Gothic UI",Meiryo,system-ui,-apple-system,sans-serif; color:#243447; background:#f4f5f3; font-size:16px; line-height:1.65; --auth-muted:#617078; --auth-line:#dce1df; }
* { box-sizing:border-box; }
body { margin:0; min-width:320px; }
button,input { font:inherit; }
a { color:#315f88; text-underline-offset:4px; }
a:hover { color:#183e60; }
:focus-visible { outline:3px solid #357b9a; outline-offset:4px; }
.auth-page { min-height:100vh; min-height:100svh; display:flex; flex-direction:column; }
.auth-header,.auth-footer { display:flex; align-items:center; justify-content:space-between; gap:20px; width:calc(100% - 96px); max-width:1728px; margin-inline:auto; }
.auth-header { min-height:106px; border-bottom:1px solid var(--auth-line); }
.auth-brand { display:flex; align-items:baseline; gap:13px; white-space:nowrap; }
.auth-brand span { font-size:13px; font-weight:700; letter-spacing:.13em; }
.auth-brand strong { font-size:23px; font-weight:650; letter-spacing:-.025em; }
.auth-header-label { color:var(--auth-muted); font-size:14px; }
.auth-main { flex:1; width:100%; padding:64px 24px 48px; display:flex; flex-direction:column; align-items:center; justify-content:center; }
.auth-panel { width:100%; max-width:484px; padding:42px 40px 36px; background:#fff; border:1px solid var(--auth-line); border-radius:16px; box-shadow:0 12px 36px #24344706,0 2px 5px #24344703; }
.auth-heading { margin-bottom:30px; }
.auth-eyebrow { display:flex; align-items:center; gap:9px; margin:0 0 14px; color:#526a6a; font-size:12px; font-weight:700; letter-spacing:.13em; }
.auth-eyebrow::before { content:""; width:6px; height:6px; border-radius:50%; background:#427d76; }
h1 { margin:0; font-size:28px; line-height:1.45; font-weight:650; letter-spacing:-.025em; overflow-wrap:anywhere; }
.auth-description { color:var(--auth-muted); margin:12px 0 0; }
.auth-form { display:grid; gap:22px; }
.auth-field { display:grid; gap:8px; min-width:0; }
.auth-field label { font-weight:600; }
.auth-field input { width:100%; min-width:0; min-height:50px; padding:11px 13px; background:#fff; border:1px solid #b9c4c8; border-radius:7px; color:#243447; }
.auth-field input:hover { border-color:#82959d; }
.auth-field input:focus { border-color:#357b9a; }
.auth-field input[aria-invalid="true"] { border-color:#b34b40; }
.auth-hint { margin:0; color:var(--auth-muted); font-size:14px; }
.auth-remember { display:flex; align-items:center; gap:10px; min-height:32px; color:#4c5c66; cursor:pointer; }
.auth-remember input { width:18px; height:18px; margin:0; accent-color:#243d55; flex-shrink:0; }
.auth-button { display:inline-flex; justify-content:center; align-items:center; width:100%; min-height:50px; padding:12px 16px; background:#233d54; color:#fff; border:1px solid #233d54; border-radius:7px; font-weight:600; text-decoration:none; cursor:pointer; }
.auth-button:hover { background:#162c40; color:#fff; }
.auth-panel-foot { border-top:1px solid #e8ecea; margin:28px 0 0; padding-top:22px; color:var(--auth-muted); font-size:14px; }
.auth-back { display:block; width:fit-content; margin:24px auto 0; padding:4px; }
.auth-support { margin:24px 0 0; color:var(--auth-muted); font-size:14px; text-align:center; }
.auth-mobile-break { display:none; }
.auth-footer { min-height:70px; color:#65727b; font-size:12px; }
.auth-notice { border:1px solid #e8d6b3; border-left:3px solid #b68a42; background:#fcf9f2; padding:14px 16px; border-radius:7px; margin:0 0 24px; overflow-wrap:anywhere; }
.auth-notice p { margin:6px 0 0; }
.auth-notice-error { color:#903c33; border-color:#ebc8c1; background:#fff6f4; }
.auth-notice-status { color:#32655c; border-color:#c8dfd8; background:#f2f8f5; }
.auth-notice ul { margin:6px 0 0; padding-left:20px; }
.auth-steps { margin:0 0 24px; padding-left:23px; }
.auth-steps li + li { margin-top:9px; }
.auth-secret { display:block; padding:14px; margin:12px 0; border:1px solid var(--auth-line); border-radius:7px; background:#f7f8f6; font:16px/1.7 ui-monospace,Consolas,monospace; overflow-wrap:anywhere; }
.auth-codes { list-style:none; padding:0; display:grid; gap:8px; margin:0 0 24px; }
.auth-codes li { padding:10px 14px; border:1px solid var(--auth-line); border-radius:6px; background:#f7f8f6; font-family:ui-monospace,Consolas,monospace; overflow-wrap:anywhere; }
.auth-recovery-note { margin-bottom:24px; }
@media(max-width:600px) {
    .auth-header,.auth-footer { width:calc(100% - 40px); }
    .auth-header { min-height:82px; }
    .auth-header-label { display:none; }
    .auth-main { padding:32px 20px; }
    .auth-panel { padding:28px 24px; border-radius:12px; }
    h1 { font-size:25px; }
    .auth-heading { margin-bottom:25px; }
    .auth-mobile-break { display:initial; }
    .auth-footer { min-height:62px; font-size:11px; }
}
@media(max-width:360px) { .auth-main { padding-inline:12px; } .auth-panel { padding-inline:20px; } }