:root{color-scheme:light;--ink:#12324d;--muted:#748696;--accent:#159eb3;--login-background-image:none;--login-character-image:none}
*{box-sizing:border-box}
body{margin:0;padding:7px;min-height:100vh;background:#fff;font-family:'Segoe UI',Arial,sans-serif;color:var(--ink)}
.login-stage{position:relative;isolation:isolate;display:grid;grid-template-columns:1.2fr 1fr;align-items:center;min-height:calc(100svh - 14px);overflow:hidden;border:1px solid #b4c9d4;border-radius:12px;background-image:var(--login-background-image),radial-gradient(ellipse at 73% 12%,#8bd6ce99,transparent 57%),linear-gradient(112deg,#143f77 0%,#286e95 40%,#39abb7 76%,#087f9c 100%);background-position:center;background-size:cover}
.brand-scene{position:relative;align-self:stretch;display:flex;align-items:center;justify-content:center;min-width:0}
.character-slot{position:absolute;inset:0;background-image:var(--login-character-image);background-size:contain;background-position:left bottom;background-repeat:no-repeat;pointer-events:none}
.brand-lockup{position:relative;text-align:center;padding:35px;transform:translateY(55px)}
.wordmark{font-family:Georgia,'Times New Roman',serif;font-size:clamp(45px,5.4vw,100px);font-weight:400;letter-spacing:5px;color:#052947;line-height:1.2}
.brand-lockup p{font-size:clamp(17px,1.45vw,27px);font-weight:600;color:#f0f9fa;margin:45px 0 0;line-height:1.5}
.login-column{position:relative;width:100%;max-width:750px;padding:60px 65px 45px 15px;justify-self:start}
.login-card{background:#fff;border-radius:25px;padding:52px 52px 56px;box-shadow:0 1px 1px #133b4b05}
.product-label{font-size:14px;font-weight:800;letter-spacing:3px;color:var(--accent);margin:0 0 13px}
h1{font-size:clamp(32px,2.8vw,44px);letter-spacing:-1px;line-height:1.2;margin:0 0 14px;font-weight:750}
.intro{font-size:17px;color:var(--muted);line-height:1.6;margin:0}
form{margin-top:39px}.field{margin-bottom:26px}
label{display:block;font-size:15px;font-weight:650;color:#445966;margin-bottom:10px}
input:not([type=hidden]){display:block;width:100%;height:60px;border:1px solid #c9d6e0;border-radius:12px;background:#fff;padding:0 16px;color:var(--ink);font:inherit;outline:none;transition:box-shadow .15s,border-color .15s}
input:not([type=hidden]):focus{border-color:#12a7bf;box-shadow:0 0 0 5px #148faa17,0 10px 28px #123d5410}
.password-field{position:relative}.password-field input{padding-right:60px}
.password-toggle{position:absolute;right:7px;top:8px;width:44px;height:44px;display:grid;place-items:center;background:none;border:0;color:#6b8190;border-radius:8px;cursor:pointer}
.password-toggle[hidden]{display:none}.password-toggle svg{width:25px;height:25px}
button{font:inherit}button:focus-visible{outline:3px solid #0c728d;outline-offset:4px}
.login-button{display:block;width:100%;height:62px;margin-top:36px;border:0;border-radius:12px;color:#fff;background:linear-gradient(100deg,#1a527d,#159db0);box-shadow:0 12px 28px #166a8626;font-weight:600;font-size:16px;cursor:pointer}
.login-button:hover{filter:brightness(1.06)}
.form-error{padding:13px 15px;background:#fff1ed;border:1px solid #e8bcae;border-radius:8px;color:#873c28;font-size:14px;line-height:1.5;margin-bottom:24px}
footer{text-align:center;color:#d0e7ee;font-size:14px;margin-top:38px}
@media(min-width:1600px){.login-column{padding-right:65px;max-width:770px}.login-card{padding:56px 54px 62px}form{margin-top:43px}.login-stage{grid-template-columns:1.3fr 1fr}}
@media(max-width:1100px){.login-column{padding:45px 30px 35px 5px}.login-card{padding:35px 30px}.intro{font-size:15px}.brand-lockup{padding:25px}.wordmark{letter-spacing:2px}.brand-lockup p{margin-top:28px}}
@media(max-width:760px){body{padding:5px}.login-stage{display:flex;flex-direction:column;justify-content:center;min-height:calc(100svh - 10px);padding:32px 18px 26px}.brand-scene{align-self:stretch;flex:none}.brand-lockup{padding:5px 0 25px;transform:none}.wordmark{font-size:43px;color:#f2f8f8;letter-spacing:3px}.brand-lockup p{font-size:14px;margin:12px 0 0}.login-column{padding:0;width:100%;max-width:480px}.login-card{padding:30px 25px 35px;border-radius:20px}h1{font-size:33px}.product-label{font-size:11px}form{margin-top:29px}.field{margin-bottom:22px}input:not([type=hidden]){height:56px}.password-toggle{top:6px}.login-button{height:56px;margin-top:28px}footer{font-size:12px;margin-top:25px}}
@media(prefers-reduced-motion:reduce){input:not([type=hidden]){transition:none}}

/* Supplied WÆCCAN artwork includes the raven character. */
:root{--login-background-image:url('login-background.png?v=2')}
.login-stage{background-position:left center}
.brand-lockup{align-self:flex-end;transform:none;padding:24px 28px 32px;width:100%;background:none}
.wordmark{font-size:clamp(38px,4vw,68px);color:#f2f8fa;text-shadow:0 2px 16px #05294755}
.brand-lockup p{font-size:clamp(14px,1.2vw,21px);margin-top:12px}
@media(max-width:760px){.login-stage{background-position:62% center}.brand-lockup{padding:5px 0 25px;background:none}.wordmark{font-size:43px}.brand-lockup p{font-size:14px}}


.login-logo{display:block;width:270px;max-width:100%;height:auto;margin:0 0 22px}@media(max-width:760px){.login-logo{width:225px;margin-bottom:20px}}

/* Match the shared RÆDEL layout: logo and tagline over the left artwork. */
.brand-lockup{align-self:center;transform:translate(4%,30px);padding:24px 20px;width:100%;background:none}
.brand-lockup .login-logo{width:clamp(300px,27vw,520px);max-width:90%;height:auto;margin:0 auto 30px}
.brand-lockup p{margin:0;font-size:clamp(16px,1.4vw,27px)}
@media(max-width:760px){.brand-lockup{transform:none;padding:5px 0 25px}.brand-lockup .login-logo{width:290px;max-width:95%;margin-bottom:16px}.brand-lockup p{font-size:14px}}

