/* Login-only layout; shared administration pages retain their existing styles. */
html[data-theme] body.refreshed-login{--login-ink:#163047;--login-muted:#617487;background:#eef4f6;color:var(--login-ink)}
html[data-theme] .refreshed-login .login-wrap{display:grid;grid-template-columns:1fr 480px;align-items:stretch;justify-items:stretch;gap:0;min-height:100svh;max-width:1200px;margin:auto;padding:56px 32px;overflow:visible;background:none}
.login-intro{display:flex;flex-direction:column;justify-content:space-between;padding:44px 48px;background:linear-gradient(145deg,#102f48,#105869 75%,#13766e);color:#fff;border-radius:26px 0 0 26px;position:relative;overflow:hidden}
.login-intro::after{content:"";position:absolute;width:330px;height:330px;border:1px solid #ffffff14;border-radius:50%;right:-190px;bottom:-130px;box-shadow:0 0 0 55px #ffffff06,0 0 0 110px #ffffff04;pointer-events:none}
.login-brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;font-size:21px;font-weight:750;letter-spacing:.6px}
.brand-mark{display:grid;place-items:center;width:42px;height:42px;border:1px solid #ffffff45;background:#ffffff10;border-radius:12px;font-size:24px}
.intro-copy{margin:60px 0 48px;position:relative;z-index:1}.intro-eyebrow,.login-eyebrow{font-size:11px;font-weight:700;letter-spacing:2px}.intro-eyebrow{color:#9de1db}
.intro-copy h2{font-size:clamp(30px,3.3vw,46px);line-height:1.16;letter-spacing:-1.7px;margin:20px 0;color:#fff;font-weight:700}.intro-copy p{font-size:15px;line-height:1.8;max-width:340px;color:#c5dce3}
.intro-features{display:grid;gap:18px;margin-top:36px}.intro-features span{display:flex;gap:18px;font-size:12px;color:#84c6c7}.intro-features b{font-size:14px;font-weight:500;color:#e6f1f3}.intro-footer{font-size:12px;line-height:1.6;color:#bbd3dc}
html[data-theme] .refreshed-login .login-card{width:100%;max-width:none;margin:0;padding:44px 40px;border:1px solid #dce6eb;border-left:0;border-radius:0 26px 26px 0;background:#fff;box-shadow:0 16px 48px #17384b0a;text-align:left;animation:none}
.login-eyebrow{color:#168078}html[data-theme] .refreshed-login .login-card h1{font-size:30px;letter-spacing:-1px;color:var(--login-ink);margin:10px 0 6px}html[data-theme] .refreshed-login .login-card .tag{font-size:14px;color:var(--login-muted);margin-bottom:26px}
html[data-theme] .refreshed-login .finger{width:100%;height:52px;margin:0;display:flex;align-items:center;justify-content:center;gap:12px;border:1px solid #cbdcde;border-radius:10px;background:#f4fafa;color:#1f5d65;font:600 13px Inter,sans-serif;box-shadow:none;transform:none}
html[data-theme] .refreshed-login .finger svg{width:28px;height:28px;flex-shrink:0}.refreshed-login .finger:hover{filter:brightness(.97)}.refreshed-login .finger:disabled{opacity:.65;cursor:wait}.refreshed-login #fmsg{font-size:12px;line-height:1.5;margin-top:8px;text-align:center;color:var(--login-muted)}
.refreshed-login .divider{margin:22px 0;font-size:10px}.refreshed-login .form-row{margin-bottom:18px}.refreshed-login label{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:13px;margin-bottom:8px;color:var(--login-ink)}.refreshed-login label small{font-weight:400;font-size:11px;color:var(--login-muted)}
html[data-theme] .refreshed-login input{height:48px;min-width:0;border:1px solid #d8e3e9;border-radius:9px;background:#fbfcfd;color:var(--login-ink);font-size:14px;padding:12px 14px}.refreshed-login input::placeholder{color:#8292a1}.refreshed-login input:focus{outline:none;border-color:#138b85;box-shadow:0 0 0 3px #138b8518}
.password-field{position:relative}.password-field input{padding-right:65px!important}.password-field button{position:absolute;right:5px;top:4px;min-height:40px;padding:0 12px;border:0;background:transparent;color:#177871;font-size:12px;font-weight:700;cursor:pointer;border-radius:6px}.refreshed-login #company-code-help{display:block;margin-top:8px;font-size:12px;line-height:1.6;color:var(--login-muted)}
html[data-theme] .refreshed-login .btn.wide{display:flex;align-items:center;justify-content:center;gap:14px;min-height:49px;background:#0c817b;border:1px solid #0c817b;border-radius:10px;box-shadow:0 7px 18px #0c817b20;color:white;font-size:14px;margin-top:24px}.refreshed-login .btn.wide:hover{background:#096b66!important}.refreshed-login button:focus-visible,.refreshed-login a:focus-visible{outline:3px solid #3eada6;outline-offset:3px}.refreshed-login .alert{font-size:13px;line-height:1.6}
html[data-theme="dark"] body.refreshed-login{--login-ink:#e5eef5;--login-muted:#a0b3c5;background:#0b1520}html[data-theme="dark"] .refreshed-login .login-card{background:#122231;border-color:#2b4051}html[data-theme="dark"] .refreshed-login input{background:#10202e;border-color:#344a5d}html[data-theme="dark"] .refreshed-login .finger{background:#18343e;border-color:#34555c;color:#bce5e2}html[data-theme="dark"] .refreshed-login .login-eyebrow,html[data-theme="dark"] .password-field button{color:#71d3c5}
@media(min-width:1500px){html[data-theme] .refreshed-login .login-wrap{align-content:center}}
@media(max-width:900px){html[data-theme] .refreshed-login .login-wrap{grid-template-columns:minmax(0,1fr) minmax(340px,1fr);padding:60px 20px 24px}.login-intro{padding:32px 28px}.intro-copy h2{font-size:33px}html[data-theme] .refreshed-login .login-card{padding:34px 28px}}
@media(max-width:700px){html[data-theme] .refreshed-login .login-wrap{display:block;max-width:480px;padding:66px 16px 24px}.login-intro{padding:0 8px 22px;background:none;border-radius:0}.login-brand{color:var(--login-ink);font-size:20px}.brand-mark{background:#0c817b;color:#fff;border:0}.intro-copy,.intro-footer,.login-intro::after{display:none}html[data-theme] .refreshed-login .login-card{padding:28px 24px;border:1px solid #dce6eb;border-radius:20px}html[data-theme] .refreshed-login input{font-size:16px}html[data-theme="dark"] .refreshed-login .login-card{border-color:#2b4051}.refreshed-login .login-theme{top:12px;right:16px}}
@media(prefers-reduced-motion:reduce){.refreshed-login *{animation:none!important;transition:none!important}}
.login-recovery-link{margin:18px 0 0;text-align:center;font-size:13px;line-height:1.6}.login-recovery-link a{color:#0c817b;font-weight:600}html[data-theme="dark"] .login-recovery-link a{color:#71d3c5}
html[data-theme] .refreshed-login .login-wrap.recovery-wrap{display:block;max-width:520px;margin:auto;padding:48px 16px}.recovery-wrap .login-card{width:100%}.refreshed-login .recovery-help{margin-top:20px;line-height:1.6}.recovery-wrap .form-row small{display:block;margin-top:7px;color:var(--login-muted);font-size:12px;line-height:1.6}
