:root { color-scheme:light; font-family:"Segoe UI",-apple-system,BlinkMacSystemFont,Arial,sans-serif; color:#182c48; background:#f7f8fa; font-synthesis:none; -webkit-font-smoothing:antialiased; }
* { box-sizing:border-box; }
body { margin:0; min-width:280px; }
button,input { font:inherit; }
button,a { -webkit-tap-highlight-color:transparent; }
a { color:inherit; }
button { cursor:pointer; }
[hidden] { display:none!important; }
:focus-visible { outline:3px solid #1e66d5; outline-offset:4px; }
.auth-shell { width:min(1184px,100%); margin:auto; padding:0 40px; }
.auth-header { min-height:112px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.brand { display:inline-flex; align-items:center; gap:12px; text-decoration:none; }
.brand-mark { width:46px; height:49px; display:grid; place-items:center; border-radius:11px 11px 11px 2px; background:#003da5; color:#fff; font-size:31px; font-weight:800; border-bottom:4px solid #f2a900; }
.brand-name { font-size:26px; font-weight:750; letter-spacing:-1px; line-height:1.2; }
.brand-name>span { display:block; margin-top:4px; font-size:9px; font-weight:700; letter-spacing:1.5px; }
.header-caption { font-size:13px; color:#647184; }
.auth-main { display:grid; grid-template-columns:1.1fr 1fr; align-items:center; gap:clamp(40px,7vw,100px); min-height:calc(100svh - 190px); padding:34px 0 56px; }
.auth-intro { padding:16px 0; min-width:0; }
.eyebrow { display:flex; align-items:center; gap:10px; font-size:10px; line-height:1.6; font-weight:750; letter-spacing:1.6px; color:#63738a; margin:0 0 24px; }
.eyebrow>span { width:25px; height:3px; background:#dda21a; }
h1 { font-size:clamp(38px,4.5vw,56px); line-height:1.13; letter-spacing:-2.2px; font-weight:720; margin:0 0 24px; color:#092c5c; }
h1 em { font-style:normal; color:#003da5; }
.intro-copy { font-size:16px; line-height:1.8; max-width:365px; margin:0; color:#607086; }
.intro-illustration { width:280px; max-width:85%; margin:42px 0 0; color:#315d97; opacity:.85; }
.intro-illustration svg { display:block; width:100%; height:auto; }
.intro-illustration .brewery-doodle-container>div { display:none; }
.intro-footnote { margin:2px 0 0; color:#63738a; font-size:12px; letter-spacing:.6px; }
.auth-panel { min-width:0; width:100%; max-width:440px; justify-self:end; background:#fff; border:1px solid #e4e8ee; border-radius:22px; padding:38px; box-shadow:0 14px 42px -25px #173b6940; }
.panel-heading .eyebrow { color:#87703b; margin-bottom:12px; font-size:10px; }
h2 { margin:0; font-size:29px; font-weight:700; line-height:1.22; letter-spacing:-.9px; color:#152f51; }
.panel-heading>p:last-child,.dialog-body>p:not(.eyebrow) { color:#677386; font-size:14px; line-height:1.65; margin:13px 0 27px; }
label { display:block; font-size:13px; font-weight:650; margin:20px 0 9px; }
input:not([type=hidden]) { display:block; width:100%; min-width:0; height:51px; border-radius:9px; border:1px solid #cdd5df; padding:0 14px; background:#fff; color:#152f51; font-size:16px; transition:border-color .15s; }
input::placeholder { color:#68758a; font-size:14px; opacity:1; }
input:focus { border-color:#003da5; outline:3px solid #e5edfb; outline-offset:0; }
.password-field { position:relative; }
.password-field input { padding-right:78px; }
.password-toggle { position:absolute; right:3px; top:3px; min-width:68px; height:45px; background:transparent; border:0; border-radius:7px; color:#355786; font-size:12px; font-weight:650; }
.password-toggle:hover { background:#f0f4fa; }
.primary-button { width:100%; min-height:50px; display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:25px; padding:13px 18px; border:1px solid transparent; border-radius:9px; background:#003da5; color:#fff; font-size:14px; font-weight:650; transition:background .15s; }
.primary-button:hover { background:#003187; }
.primary-button:disabled { opacity:.7; cursor:wait; }
.primary-button>[aria-hidden] { font-size:21px; line-height:1; }
.form-help { margin:14px 0 0; text-align:center; color:#626f82; font-size:12px; line-height:1.6; }
.form-error { color:#9d2532; background:#fff2f3; border:1px solid #efd3d6; border-radius:8px; padding:12px; margin:16px 0 0; font-size:13px; line-height:1.5; overflow-wrap:anywhere; }
.panel-footer { display:flex; align-items:center; gap:12px; margin-top:27px; padding-top:22px; border-top:1px solid #edf0f4; }
.help-icon { display:grid; place-items:center; flex:0 0 28px; height:28px; background:#f4f6f9; border-radius:50%; color:#697d96; font-size:14px; }
.panel-footer p { margin:0; font-size:12px; color:#626f82; line-height:1.8; }
.panel-footer strong { color:#3f5778; font-weight:600; }
.auth-footer { display:flex; align-items:center; justify-content:space-between; gap:16px; padding:23px 0 30px; border-top:1px solid #e4e8ee; color:#626f82; font-size:12px; }
.back-link { display:block; margin:22px 0 0; color:#526a88; font-size:12px; text-align:center; background:none; border:0; width:100%; line-height:1.6; }
.skip-link { position:fixed; top:8px; left:8px; padding:12px; background:#fff; z-index:20; transform:translateY(-160%); }
.skip-link:focus { transform:translateY(0); }
dialog { width:min(440px,calc(100% - 32px)); max-height:calc(100svh - 32px); margin:auto; padding:0; overflow:auto; border:1px solid #dce3ec; border-radius:18px; box-shadow:0 24px 90px #13233d40; color:#182c48; }
dialog::backdrop { background:#10263d70; }
.dialog-body { padding:30px; }
.dialog-body .eyebrow { margin-bottom:12px; }
.field-hint { font-size:11px; color:#626f82; line-height:1.65; margin:8px 0 0; }
@media(max-width:860px) {
    .auth-shell { max-width:540px; padding:0 24px; }
    .auth-header { min-height:100px; }
    .auth-intro { display:none; }
    .auth-main { display:block; min-height:auto; padding:12px 0 42px; }
    .auth-panel { max-width:none; padding:32px; }
    .auth-footer { padding:21px 0; }
}
@media(max-width:420px) {
    .auth-shell { padding:0 18px; }
    .auth-header { min-height:88px; gap:12px; }
    .header-caption { max-width:80px; text-align:right; font-size:11px; line-height:1.5; }
    .brand-mark { width:39px; height:42px; font-size:27px; }
    .brand-name { font-size:23px; }
    .brand-name>span { font-size:8px; letter-spacing:.9px; }
    .auth-main { padding:6px 0 28px; }
    .auth-panel { padding:25px 22px; border-radius:16px; }
    h2 { font-size:27px; }
    .panel-heading>p:last-child { font-size:13px; margin-bottom:21px; }
    .auth-footer { flex-direction:column; align-items:flex-start; gap:8px; }
    .dialog-body { padding:24px; }
}
@media(prefers-reduced-motion:reduce) { * { transition:none!important; } }
