:root { color-scheme: light; font-family: Inter, system-ui, sans-serif; color: #171717; background: #f8f7f4; }
* { box-sizing: border-box; }
body { margin: 0; }
.hub-login { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.hub-login-brand, .hub-login-content { display: grid; place-items: center; padding: clamp(24px, 6vw, 88px); }
.hub-login-brand { background: radial-gradient(ellipse at 15% 100%, #322615, transparent 72%), #0a0a0a; color: #fff; }
.hub-login-brand > div, .hub-login-form { width: min(100%, 400px); }
.hub-login-brand img { width: 72px; height: 72px; display: block; margin-bottom: 34px; }
.hub-login-brand p { margin: 0; }
.hub-login-brand .brand-name { font-size: .875rem; letter-spacing: .13em; text-transform: uppercase; color: #e8ca78; }
.hub-login-brand .hub-name { font-size: clamp(2.4rem, 5vw, 4.75rem); line-height: 1.06; font-weight: 650; margin-top: 12px; }
.hub-login-brand .brand-caption { margin-top: 18px; color: #ded4be; }
.hub-login-content { background: #f8f7f4; }
.hub-login-form h1 { margin: 0 0 8px; font-size: clamp(1.75rem, 3.4vw, 2.35rem); }
.hub-login-form p { line-height: 1.5; }
.hub-login-form .intro { color: #58544d; margin: 0 0 24px; }
.hub-login-form form { display: grid; gap: 15px; }
.hub-login-form label { display: block; font-weight: 600; font-size: .9rem; }
.hub-login-form input:not([type=checkbox]) { display: block; width: 100%; height: 48px; margin-top: 6px; border: 1px solid #b9b1a2; border-radius: 7px; padding: 0 12px; font: inherit; background: #fff; color: #171717; }
.hub-password { position: relative; }
.hub-password input { padding-right: 66px !important; }
.hub-password button { position: absolute; right: 4px; top: 2px; height: 44px; min-width: 58px; border: 0; background: transparent; color: #684b15; cursor: pointer; font: inherit; }
.hub-password button[hidden] { display: none; }
.hub-login-options { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: .9rem; }
.hub-login-options label { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.hub-login-form a { color: #684b15; text-underline-offset: .2em; }
.hub-login-form .sign-in { min-height: 48px; border: 1px solid #a77819; border-radius: 7px; background: #e8ca78; color: #171717; font: inherit; font-weight: 650; cursor: pointer; }
.hub-login-form .sign-in:disabled { color: #5c5549; background: #eae3d4; border-color: #d8ceba; cursor: default; }
.hub-login-form .login-note { margin: 0 0 24px; color: #5e5544; font-size: .9rem; }
.hub-login-form .return { display: inline-block; margin-top: 24px; font-size: .9rem; }
:focus-visible { outline: 3px solid #916513; outline-offset: 3px; }
@media (max-width: 700px) {
    .hub-login { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
    .hub-login-brand img { width: 48px; height: 48px; margin-bottom: 12px; }
    .hub-login-brand .hub-name { font-size: 2.25rem; }
    .hub-login-brand .brand-caption { margin-top: 8px; }
}

.hub-login-brand{position:relative;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 75% 20%,#c6a15b35,transparent 42%),linear-gradient(145deg,#101010,#231d12 78%,#4a3517)}.hub-login-brand:before,.hub-login-brand:after{content:"";position:absolute;width:clamp(130px,32vw,390px);height:clamp(130px,32vw,390px);border:1px solid #e8d29c48;right:-8%;bottom:-10%;transform:rotate(45deg);box-shadow:0 0 0 14px #c6a15b14,0 0 0 30px #c6a15b09;z-index:-1}.hub-login-brand:after{width:100px;height:100px;right:12%;top:12%;bottom:auto;box-shadow:0 0 36px #c6a15b24;animation:login-diamond 4s ease-in-out 2}.hub-login-brand img{animation:login-reveal .9s ease-out both;filter:drop-shadow(0 0 15px #e8d29c55);border-radius:12px}.hub-login-brand .hub-name{font-family:Georgia,serif;letter-spacing:-.055em;color:#fff3d7;font-weight:400}.hub-login-brand .brand-caption{color:#e8d29c}.hub-login-content{background:radial-gradient(ellipse at top right,#e8d29c66,transparent 58%),#f7f4ec}.hub-login-form h1{font-family:Georgia,serif;font-weight:400;letter-spacing:-.035em}.hub-login-form .preview-link{border:1px solid #d4bc82;background:linear-gradient(145deg,#fffdf7,#eee0b9);border-radius:13px;padding:17px 16px;transition:transform .18s,box-shadow .18s;color:#3a2a10}.hub-login-form .preview-link:hover{transform:translateY(-2px);box-shadow:0 8px 22px #3a2a1017}.hub-login-form .role-options a:nth-child(2){background:linear-gradient(145deg,#315c4d,#1e3d32);color:#fff;border-color:#315c4d}.hub-login-form .role-options a:nth-child(2) small{color:#e1ece3}.hub-login-form .role-options a:nth-child(3){background:linear-gradient(145deg,#232019,#101010);color:#e8d29c;border-color:#322617}.hub-login-form .role-options a:nth-child(3) small{color:#e8d29c}.hub-login-form .sign-in:not(:disabled){background:linear-gradient(115deg,#c6a15b,#e8d29c);color:#101010}.hub-login-form:focus-within{isolation:isolate}@keyframes login-reveal{from{opacity:0;transform:translateY(10px) scale(.8) rotate(-8deg)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes login-diamond{0%,100%{transform:rotate(45deg) translateY(0)}50%{transform:rotate(45deg) translateY(-8px)}}@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
