:root {
  --color-navy: #0b2235;
  --color-hero: #edf5fb;
  --color-panel: #ffffff;
  --color-muted: #526883;
  --color-border: #bccbdc;
  --color-divider: #dae5ef;
  --color-orange: #ff7614;
  --color-heading-accent: #d95608;
  --color-action: #c64b00;
  --color-action-hover: #a83f00;
  --color-link: #b34300;
  --color-error: #b42318;
  --color-focus: #176a9e;
  --font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --radius-input: 8px;
  --height-input: 56px;
  --content-gutter: clamp(32px, 4.1vw, 76px);
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--color-navy); background: white; font-family: var(--font-family); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
a { color: var(--color-link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
button { cursor: pointer; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 4px; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 10; padding: 12px 18px; background: white; border: 2px solid var(--color-focus); border-radius: 6px; }
.skip-link:focus { top: 12px; }
.login-layout { min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr) clamp(420px, 30.45vw, 600px); }
.hero-panel { background: var(--color-hero); padding-top: 34px; display: flex; flex-direction: column; min-width: 0; }
.wenalytics-logo { display: block; width: clamp(238px, 18.6vw, 360px); height: auto; margin-left: var(--content-gutter); }
.hero-copy { margin: clamp(42px, 3.15vw, 64px) var(--content-gutter) 0; position: relative; z-index: 1; }
.hero-copy h1 { margin: 0; font-weight: 700; font-size: clamp(43px, 3.7vw, 72px); line-height: 1.065; letter-spacing: -0.035em; }
.hero-copy h1 span { color: var(--color-heading-accent); }
.hero-copy p { margin: 18px 0 0; color: var(--color-muted); font-size: clamp(19px, 1.51vw, 28px); line-height: 1.3; letter-spacing: -0.015em; }
.facility-art { display: block; width: 96%; margin: auto auto 0; padding-top: 0; }
.facility-art img { display: block; width: 100%; height: auto; }
.features { margin: 0 var(--content-gutter); padding: 2px 0 0; display: grid; grid-template-columns: 1.2fr 1fr 1.1fr; list-style: none; }
.features li { display: flex; align-items: center; justify-content: center; gap: 14px; font-size: clamp(13px, 1.02vw, 19px); line-height: 1.35; min-height: 38px; padding: 0 14px; }
.features li + li { border-left: 1px solid #adc2d6; }
.features li:first-child { padding-left: 0; }
.features img { flex: 0 0 32px; }
.copyright { margin: 20px 0 24px; padding: 0 var(--content-gutter); color: var(--color-muted); font-size: 14px; line-height: 1.5; }
.auth-panel { padding: 28px clamp(28px, 3.05vw, 58px) 22px; border-left: 1px solid var(--color-divider); display: flex; flex-direction: column; min-width: 0; background: var(--color-panel); }
.help-row { text-align: right; font-size: 16px; line-height: 24px; }
.help-row a { display: inline-flex; align-items: center; min-height: 32px; }
.auth-content { width: 100%; max-width: 460px; margin: 0 auto; }
.workspace-brand { text-align: center; padding-top: 64px; }
.workspace-brand img { display: block; width: clamp(184px, 13.7vw, 240px); height: auto; margin: 0 auto; }
.workspace-brand p { margin: 27px 0 0; color: var(--color-muted); font-size: 12px; line-height: 18px; letter-spacing: .22em; text-transform: uppercase; }
.auth-heading { margin-top: 47px; }
.auth-heading h2 { font-weight: 700; font-size: clamp(32px, 2.5vw, 44px); line-height: 1.15; letter-spacing: -.025em; margin: 0; }
.auth-heading p { color: var(--color-muted); font-size: clamp(17px, 1.15vw, 20px); line-height: 1.45; margin: 8px 0 0; }
form { margin-top: 36px; }
.field-group { margin-bottom: 24px; }
.field-group > label { display: block; font-size: 16px; line-height: 22px; margin-bottom: 8px; }
.field-group input { height: var(--height-input); width: 100%; min-width: 0; border: 1px solid var(--color-border); border-radius: var(--radius-input); padding: 0 17px; color: var(--color-navy); background: #fff; font-size: 17px; }
.field-group input::placeholder { color: #64758b; opacity: 1; }
.field-group input:focus { border-color: var(--color-focus); }
.field-group input[aria-invalid="true"] { border: 2px solid var(--color-error); }
.password-field { position: relative; }
.password-field input { padding-right: 56px; }
.visibility-toggle { position: absolute; right: 3px; top: 4px; width: 48px; height: 48px; border: 0; background: transparent; color: var(--color-muted); border-radius: 6px; display: grid; place-items: center; }
.form-options { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 15px; margin-top: -5px; }
.remember { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; color: var(--color-muted); }
.remember input { width: 20px; height: 20px; margin: 0; accent-color: var(--color-action); }
.form-options a { min-height: 44px; display: inline-flex; align-items: center; text-decoration: none; }
.form-options a:hover { text-decoration: underline; }
.sign-in { width: 100%; border: 0; border-radius: 8px; background: var(--color-action); color: #fff; min-height: 58px; padding: 12px 24px; display: flex; justify-content: center; align-items: center; gap: 17px; margin-top: 17px; font-size: 20px; font-weight: 600; }
.sign-in:hover:not(:disabled) { background: var(--color-action-hover); }
.sign-in:disabled { cursor: wait; opacity: .75; }
.sign-in:disabled svg { display: none; }
.access-note { font-size: 15px; line-height: 1.5; text-align: center; margin: 18px 0 0; color: var(--color-muted); }
.access-note a { color: var(--color-muted); text-decoration: none; }
.access-note a:hover { text-decoration: underline; }
.field-error { color: var(--color-error); margin: 7px 0 0; font-size: 14px; line-height: 1.4; }
.form-status { background: #f3f6f9; border-radius: 6px; border-left: 3px solid var(--color-focus); color: var(--color-navy); padding: 12px 14px; font-size: 14px; line-height: 1.45; margin: 15px 0 0; }
.form-status.error { border-color: var(--color-error); }
.auth-footer { display: flex; gap: 13px; justify-content: flex-end; flex-wrap: wrap; align-items: center; margin-top: auto; padding-top: 28px; color: var(--color-muted); font-size: 14px; line-height: 1.5; }
.auth-footer a { color: var(--color-muted); text-decoration: none; padding: 4px 0; }
.auth-footer a:hover { text-decoration: underline; }
.mobile-copyright { display: none; }
@media (min-width: 2000px) {
  .login-layout { grid-template-columns: minmax(0, 1fr) 31%; }
  .hero-panel { padding-top: 44px; }
  .hero-copy { margin-top: 64px; }
  .facility-art { max-width: 1600px; }
  .workspace-brand { padding-top: 100px; }
}
@media (min-width: 900px) and (max-width: 1199px) {
  .login-layout { grid-template-columns: minmax(0, 1fr) 42%; }
  .auth-panel { padding-inline: 28px; }
  .hero-copy h1 { font-size: 44px; }
  .hero-copy { margin-top: 50px; }
  .hero-copy p { font-size: 19px; }
  .wide-break { display: none; }
  .features { margin-inline: 24px; }
  .features li { gap: 6px; font-size: 12px; padding: 0 7px; }
  .features img { width: 24px; height: 24px; flex-basis: 24px; }
  .workspace-brand { padding-top: 50px; }
  .auth-heading { margin-top: 38px; }
  .auth-heading h2 { font-size: 33px; }
  .facility-art { margin-top: auto; margin-bottom: auto; }
}
@media (max-width: 899px) {
  .login-layout { display: block; }
  .hero-panel { padding: 23px 24px; border-bottom: 1px solid var(--color-divider); }
  .wenalytics-logo { width: 212px; max-width: 70%; margin: 0; }
  .hero-copy, .facility-art, .features, .copyright { display: none; }
  .auth-panel { min-height: calc(100svh - 84px); padding: 14px 24px 22px; border: 0; }
  .help-row { font-size: 14px; }
  .workspace-brand { padding-top: 14px; }
  .workspace-brand img { width: 155px; }
  .workspace-brand p { margin-top: 16px; font-size: 11px; }
  .auth-heading { margin-top: 30px; }
  .auth-heading h2 { font-size: 32px; }
  .auth-heading p { font-size: 17px; }
  form { margin-top: 27px; }
  .field-group { margin-bottom: 22px; }
  .form-options { font-size: 14px; gap: 6px; }
  .auth-footer { justify-content: center; margin-top: 28px; padding-top: 16px; }
  .mobile-copyright { display: block; text-align: center; color: var(--color-muted); font-size: 12px; line-height: 1.5; margin: 12px 0 0; }
  .access-note { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
