:root { font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; color: #252b43; background: #f4f5f9; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; padding-block: 24px; }
.auth-shell { width: min(100% - 32px, 640px); padding: clamp(24px, 6vw, 56px); background: #fff; border: 1px solid #dce1ed; border-radius: 12px; box-shadow: 0 10px 35px #1117470a; }
.brand { font-size: 13px; letter-spacing: .035em; font-weight: 700; text-decoration: none; color: #23297a; }
.brand sup { font-size: 8px; }
.eyebrow { color: #596278; font-size: 14px; margin: 8px 0 30px; }
h1 { font-size: 28px; line-height: 1.4; letter-spacing: -.02em; font-weight: 650; color: #171d43; }
a { color: #23297a; text-underline-offset: 4px; }
a:hover { color: #111747; }
form p { margin: 18px 0; }
input, select { width: 100%; min-height: 46px; border: 1px solid #929bb0; border-radius: 5px; padding: 10px 12px; font: inherit; color: #252b43; background: #fff; }
input[type=checkbox], input[type=radio] { width: auto; min-height: 0; accent-color: #23297a; }
input:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid #3157ad; outline-offset: 3px; }
button, .btn { display: inline-block; border: 1px solid #23297a; border-radius: 5px; background: #23297a; color: #fff; padding: 11px 20px; min-height: 46px; font: inherit; font-weight: 600; cursor: pointer; text-decoration: none; margin: 8px 4px 8px 0; transition: background .18s, border-color .18s, color .18s; }
button:hover, .btn:hover { background: #111747; border-color: #111747; color: #fff; }
.btn-link { background: #fff; color: #23297a; border-color: #929bb0; }
.btn-link:hover { background: #f0f2fa; color: #111747; border-color: #23297a; }
.btn-danger { background: #a32036; color: #fff; border-color: #a32036; }
.btn-danger:hover { background: #811529; color: #fff; border-color: #811529; }
button:disabled, .btn[aria-disabled=true] { background: #e6e8ef; border-color: #ccd1de; color: #646b7c; cursor: not-allowed; }
.errorlist, .alert-danger { color: #a32036; }
.helptext, .form-text { font-size: 13px; color: #596278; }
label { display: block; font-weight: 600; }
.form-inline { display: flex; flex-wrap: wrap; gap: 12px; }
table { width: 100%; }
th { text-align: left; }
td, th { padding: 8px 0; overflow-wrap: anywhere; }
img { max-width: 100%; }
footer { border-top: 1px solid #dce1ed; padding-top: 22px; margin-top: 36px; font-size: 12px; color: #596278; }
ul { padding-left: 22px; }
.float-right { float: right; }
@media (prefers-reduced-motion: reduce) { button, .btn { transition: none; } }
@media (forced-colors: active) { .auth-shell, input, select, button, .btn { border-color: CanvasText; } input:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible { outline-color: Highlight; } }
