/* The two-sided sign-in (drop 1866): the form on the start side, the brand panel — ways to join, or for staff the brand
   alone — on the other. One column on phones, the form first. The panel is the brand's navy in both themes. */
.js-split { min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.js-split > :first-child { min-height: 100vh; min-width: 0; }
@media (max-width: 900px) { .js-split { grid-template-columns: minmax(0, 1fr); } .js-split > :first-child { min-height: 0; } }
/* inside a page (the candidate sign-in): the two sides sit in the page, not the whole screen */
.js-split.is-inline { min-height: 0; border-radius: 18px; overflow: hidden; margin: 2rem auto; max-width: 1100px; }
.js-split.is-inline > :first-child { min-height: 0; }
.js-split.is-inline .js-side { padding-block: 2.5rem; }
.js-side {
  --js-bg: #14213A; --js-fg: #ECEFF5; --js-fg2: #B9C2D3; --js-line: #2A3955; --js-gold: #E2AA3C;
  background: var(--js-bg); color: var(--js-fg); position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center;
  padding: 3rem max(16px, env(safe-area-inset-right, 0px)) 3rem max(16px, env(safe-area-inset-left, 0px));
}
[data-theme="dark"] .js-side { --js-bg: #0B1220; --js-line: #26324A; }
.js-side::before { content: ""; position: absolute; inset: auto -120px -120px auto; width: 360px; height: 360px; border-radius: 50%; box-shadow: inset 0 0 0 60px color-mix(in srgb, var(--js-gold) 9%, var(--js-bg)); pointer-events: none; }
[dir="rtl"] .js-side::before, .js-side[dir="rtl"]::before { inset: auto auto -120px -120px; }
.js-in { width: 100%; max-width: 480px; display: grid; gap: 1.4rem; position: relative; }
.js-eye { font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--js-gold); }
[dir="rtl"] .js-eye { letter-spacing: 0; }
.js-h { margin: .35rem 0 0; font-size: 1.6rem; line-height: 1.25; text-wrap: balance; color: var(--js-fg); }
.js-lead { margin: .4rem 0 0; color: var(--js-fg2); line-height: 1.6; }
.js-ways { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.js-way { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: .8rem; align-items: center; padding: .75rem .9rem; border-radius: 14px; border: 1px solid var(--js-line);
  background: color-mix(in srgb, var(--js-fg) 4%, var(--js-bg)); color: inherit; text-decoration: none; transition: border-color .15s; }
.js-way:hover, .js-way:focus-visible { border-color: var(--js-gold); outline: none; }
.js-way.is-lead { border-color: var(--js-gold); background: color-mix(in srgb, var(--js-gold) 14%, var(--js-bg)); }
.js-ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: color-mix(in srgb, var(--js-gold) 20%, transparent); color: var(--js-gold); }
.js-ic svg { width: 20px; height: 20px; }
.js-tx { display: grid; gap: 1px; min-width: 0; }
.js-tx b { font-size: .95rem; }
.js-tx small { color: var(--js-fg2); font-size: .8rem; }
.js-arr { color: var(--js-gold); font-weight: 700; }
[dir="rtl"] .js-arr { transform: scaleX(-1); }
.js-more { margin: 0; font-size: .875rem; }
.js-more a { color: var(--js-gold); font-weight: 700; text-decoration: none; }
.js-more a:hover { text-decoration: underline; }
/* the staff sign-in: its body is a padded flex column; the split takes the whole screen */
.js-split.is-staff { width: calc(100% + 3rem); margin: -1.5rem; }
.js-main { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem max(16px, env(safe-area-inset-left, 0px)); }
@media (max-width: 900px) { .js-side::before { display: none; } }
