/*
 * Presentation source: Emery/src/styles.css @ ae33c682a680982d007623b9f1058be173a537d122cefb6db6d861570be27251
 * Composition source: Emery/src/ui/authScreens.js blob 579d87ad8
 * Only EOC product copy, providers, and credential field bindings differ.
 */
@font-face {
  font-family: "Inter Variable";
  src: url("/assets/fonts/inter/InterVariable.woff2?v=693b77d4f32ee9b8bfc995589b5fad5e99adf2832738661f5402f9978429a8e3") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Inter Tight";
  src: url("/assets/fonts/inter-tight/InterTight-Variable.ttf?v=b81b73dcb64df3c230cabade7df6c5773bf863233f24c9ee51087519f1f88b6f") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #162033;
  --muted: #526075;
  --bg: #f4f6f9;
  --surface-raised: #ffffff;
  --surface-soft: #fafbfc;
  --surface-muted: #f1f4f8;
  --field: #ffffff;
  --placeholder: #718096;
  --line: #e1e7ef;
  --line-strong: #c8d2df;
  --rail-bg: #fbfcfe;
  --rail-ink: #1f2a3d;
  --rail-muted: #607087;
  --rail-border: #e0e6ee;
  --auth-brand-bg: #101828;
  --auth-brand-ink: #f8fafc;
  --auth-brand-muted: #c5ceda;
  --auth-status-ok: #86d3aa;
  --accent: #5f95dc;
  --accent-ink: #1f5b9c;
  --accent-soft: #e9f2ff;
  --danger: #b42318;
  --focus-ring: color-mix(in srgb, var(--accent) 42%, transparent);
  --panel-bg: var(--surface-raised);
  --panel-bg-subtle: var(--surface-soft);
  --panel-bg-muted: var(--surface-muted);
  --border-soft: var(--line);
  --border-strong: var(--line-strong);
  --text-primary: var(--ink);
  --text-secondary: var(--muted);
  --button-primary-bg: var(--accent-ink);
  --button-primary-fg: #ffffff;
  --button-primary-hover-bg: color-mix(in srgb, var(--accent-ink) 86%, #000000);
  --button-secondary-bg: var(--accent-soft);
  --button-secondary-fg: var(--accent-ink);
  --button-secondary-border: color-mix(in srgb, var(--accent) 72%, var(--line));
  --shadow-card: none;
  --font-sans: "Inter Variable", Inter, "Segoe UI Variable", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Inter Tight", "Inter Variable", Inter, "Segoe UI Variable Display", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --heading-weight: 680;
  --heading-tracking: -.014em;
  font-family: var(--font-sans);
}

* { box-sizing: border-box; }
html, body { min-width: 0; min-height: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--panel-bg-subtle);
  font-family: var(--font-sans);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, p { margin-top: 0; }
h1 { margin-bottom: 0; font-family: var(--font-display); font-weight: var(--heading-weight); letter-spacing: var(--heading-tracking); }
button, input, select { font: inherit; }
button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--button-secondary-border);
  border-radius: 7px;
  background: var(--button-secondary-bg);
  color: var(--button-secondary-fg);
  cursor: pointer;
  font-size: 12px;
  font-weight: 640;
  line-height: 1.2;
  letter-spacing: -.005em;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease, box-shadow 140ms ease;
}
button:hover:not(:disabled) { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 28%, var(--surface-raised)); color: var(--accent-ink); }
button:disabled { cursor: not-allowed; opacity: .5; filter: saturate(.62); }
button.primary { border-color: var(--button-primary-bg); background: var(--button-primary-bg); color: var(--button-primary-fg); }
button.primary:hover:not(:disabled), button.primary:focus-visible:not(:disabled) { border-color: var(--button-primary-hover-bg); background: var(--button-primary-hover-bg); color: var(--button-primary-fg); }
input, select {
  width: 100%;
  min-height: 33px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--field);
  color: var(--ink);
  font-size: 12.5px;
  line-height: 1.4;
}
input::placeholder { color: var(--placeholder); font-weight: 400; opacity: 1; }
:where(a, button, input, select, [tabindex]):focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; box-shadow: 0 0 0 3px var(--focus-ring); }
label { display: grid; gap: 6px; color: var(--ink); font-size: 12px; font-weight: 650; }

.product-wordmark { display: inline-block; width: 3.95em; height: 1.95em; flex: 0 0 auto; line-height: 0; vertical-align: -.55em; }
.product-wordmark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.product-wordmark-inverted { display: none !important; }
.auth-brand-panel .product-wordmark-default { display: none; }
.auth-brand-panel .product-wordmark-inverted { display: block !important; }

.login-screen { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.auth-screen { place-items: stretch; padding: 0; background: var(--panel-bg-subtle); }
.auth-layout { min-height: 100vh; display: grid; grid-template-columns: minmax(390px, 45vw) minmax(420px, 1fr); background: var(--panel-bg); }
.auth-brand-panel {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  height: 100vh;
  padding: 62px 64px 34px;
  display: grid;
  grid-template-rows: auto minmax(300px, 1fr) auto auto;
  gap: 34px;
  overflow: hidden;
  border-right: 1px solid var(--rail-border);
  background: var(--auth-brand-bg);
  color: var(--auth-brand-ink);
}
.auth-brand-panel::before { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--auth-brand-bg) 92%, var(--accent-soft)); pointer-events: none; }
.auth-brand-panel > * { position: relative; z-index: 1; }
.auth-brand-top { display: grid; gap: 46px; align-content: start; }
.auth-product { display: grid; gap: 9px; }
.auth-product strong { display: flex; align-items: center; gap: 10px; color: var(--panel-bg); font-size: 60px; line-height: 1; font-weight: 650; }
.auth-product > span { max-width: 420px; color: var(--auth-brand-muted); font-size: 14px; }
.eoc-auth-suffix { align-self: center; color: var(--auth-brand-muted); font-size: 18px; font-weight: 750; letter-spacing: .04em; }
.auth-workflow { width: min(106%, 740px); align-self: center; justify-self: center; border: 0; border-radius: 0; object-fit: contain; opacity: 1; filter: saturate(1.04) brightness(1.38) contrast(1.1); mix-blend-mode: lighten; box-shadow: none; }
.auth-status-row { display: flex; max-width: 560px; align-items: center; justify-content: space-between; gap: 14px; padding-top: 8px; color: var(--auth-brand-muted); font-size: 12px; }
.auth-status-row strong { color: var(--auth-status-ok); font-size: 12px; }
.auth-footer { display: grid; min-width: 0; grid-template-columns: minmax(96px, 1fr) auto minmax(96px, 1fr); align-items: center; column-gap: 28px; }
.auth-logo { width: 60px; min-width: 60px; height: 14px; display: grid; place-items: center start; overflow: visible; }
.auth-logo img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; object-position: left center; }
.auth-footer .auth-logo { grid-column: 1; justify-self: start; }
.auth-copyright { grid-column: 2; justify-self: center; margin: 0; color: var(--text-secondary); font-size: 12px; line-height: 14px; white-space: nowrap; transform: translateY(4px); }

.auth-panel { min-height: 100vh; display: grid; place-items: center; padding: 48px; background: var(--panel-bg-subtle); }
.auth-panel-inner { width: min(520px, 100%); display: grid; gap: 22px; }
.auth-copy { display: grid; gap: 9px; }
.eyebrow { margin: 0; color: var(--accent-ink); font-size: 10.5px; font-weight: 750; letter-spacing: .045em; text-transform: uppercase; }
.auth-copy h1 { font-size: 32px; line-height: 1.12; letter-spacing: 0; }
.auth-copy h1 .product-wordmark { width: 125px; height: 62px; vertical-align: -.52em; }
.auth-copy h1 .eoc-auth-suffix { color: var(--ink); font-size: 20px; }
.auth-copy p:not(.eyebrow) { max-width: 500px; margin: 0; color: var(--text-secondary); font-size: 14px; line-height: 1.45; }
.auth-form { display: grid; gap: 14px; }
.auth-form[hidden], .corporate-auth[hidden], .auth-divider[hidden] { display: none; }
.auth-form label { color: var(--text-primary); font-size: 13px; }
.auth-form input, .auth-form select { min-height: 46px; border-color: var(--border-soft); background: var(--panel-bg); font-size: 14px; }
.auth-form input:focus, .auth-form select:focus { outline: 2px solid color-mix(in srgb, var(--accent) 16%, transparent); border-color: var(--accent); }
.auth-submit { width: 100%; min-height: 46px; margin-top: 6px; font-size: 14px; font-weight: 760; }
.corporate-auth, .sso-block { display: grid; gap: 10px; }
.corporate-auth button { width: 100%; min-height: 44px; }
.auth-divider { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px; color: var(--text-secondary); font-size: 12px; }
.auth-divider::before, .auth-divider::after { content: ""; height: 1px; background: var(--border-soft); }
.status { min-height: 20px; margin: 0; color: var(--danger); font-size: 13px; }
.status:empty { display: none; }
.auth-help { margin: 0; color: var(--text-secondary); font-size: 13px; }

@media (max-width: 1100px) {
  .auth-layout { grid-template-columns: minmax(320px, 42vw) minmax(360px, 1fr); }
  .auth-brand-panel { padding: 42px 36px 28px; }
  .auth-product strong { font-size: 51px; }
  .auth-panel { padding: 36px; }
}

@media (min-width: 760px) and (max-width: 900px) {
  .auth-layout { grid-template-columns: 1fr; }
  .auth-brand-panel { min-height: auto; height: auto; grid-template-rows: auto auto; padding: 28px 22px; gap: 18px; }
  .auth-brand-top { gap: 20px; }
  .auth-product strong { font-size: 45px; }
  .auth-workflow { width: 100%; max-height: 250px; object-fit: cover; object-position: center; }
  .auth-status-row, .auth-footer { display: none; }
  .auth-panel { min-height: auto; padding: 28px 20px 36px; place-items: start center; }
  .auth-copy h1 { font-size: 28px; }
}

@media (max-width: 759px) {
  html, body { min-width: 0; background: var(--bg); }
  .auth-screen { min-height: 100dvh; padding: 0; }
  .auth-layout { min-height: 100dvh; grid-template-columns: minmax(0, 1fr); }
  .auth-brand-panel { display: none; }
  .auth-panel { min-height: 100dvh; padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom)); place-items: center; background: var(--bg) !important; }
  .auth-panel-inner { width: min(100%, 420px); padding: 24px 20px; gap: 20px; border: 1px solid var(--border-soft); border-radius: 14px; background: var(--surface-raised) !important; box-shadow: var(--shadow-card); }
  .auth-copy h1 { font-size: 26px; line-height: 1.15; }
  .auth-copy h1 .product-wordmark { width: 102px; height: 50px; }
  .auth-copy p:not(.eyebrow) { font-size: 13px; }
  .auth-form input, .auth-form select, .auth-submit { min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
