.auth-split { --auth-ink: #102657; --auth-muted: #60729c; min-height: 100vh; min-height: 100dvh; display: grid; grid-template-columns: 1fr 1fr; color: var(--auth-ink); background: #fff; }
.auth-split__visual { position: sticky; top: 0; height: 100vh; height: 100dvh; min-height: 42rem; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: clamp(2rem, 3.2vw, 3.5rem); background: #193948 url('/assets/auth-conversation.png') center center / cover no-repeat; isolation: isolate; }
.auth-split__visual::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(3,25,39,.26), transparent 34%, rgba(5,26,49,.1) 45%, rgba(5,26,49,.9) 100%); }
.auth-split__visual--register { background-image: url('/assets/auth-register-human.jpg'); background-position: 64% center; }
.auth-split__visual--register::before { background: linear-gradient(180deg, rgba(3,25,39,.48), rgba(3,25,39,.04) 38%, rgba(5,26,49,.12) 52%, rgba(5,26,49,.91) 100%); }
.auth-split__visual--video { background-image: url('/assets/auth-login-poster.jpg'); }
.auth-split__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center; pointer-events: none; }
.auth-split__video[hidden] { display: none; }
.auth-split__brand { display: inline-flex; align-self: flex-start; width: clamp(11rem, 14vw, 13rem); }
.auth-split__brand img { display: block; width: 100%; height: auto; }
.auth-split__visual-copy { color: #fff; }
.auth-split__statement { margin: 0 0 1rem; font-size: clamp(2.7rem, 4.35vw, 4.8rem); line-height: .99; font-weight: 800; letter-spacing: -.045em; }
.auth-split__tagline { margin: 0; font-size: clamp(1.1rem, 1.55vw, 1.7rem); line-height: 1.38; }
.auth-split__content { min-width: 0; min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; padding: 1.85rem clamp(2rem, 4.3vw, 5rem) 1.7rem; }
.auth-split__top { display: flex; justify-content: flex-end; }
.auth-split__back { display: inline-flex; align-items: center; gap: .75rem; color: #4d6289; text-decoration: none; font-size: .94rem; white-space: nowrap; }
.auth-split__back span { font-size: 1.3rem; line-height: 1; }
.auth-split__back:hover, .auth-split__footer a:hover { color: #008f89; }
.auth-split__main { width: min(100%, 36.5rem); flex: 1; display: flex; flex-direction: column; justify-content: center; align-self: center; padding: 2rem 0 1.2rem; }
.auth-split__card { width: 100%; }
.auth-split__intro { margin: 0 0 2rem; }
.auth-split__intro h1 { margin: 0; font-size: clamp(2.5rem, 3.5vw, 3.9rem); line-height: 1.07; letter-spacing: -.055em; font-weight: 800; }
.auth-split__intro p { margin: .25rem 0 0; color: var(--auth-muted); font-size: clamp(1.04rem, 1.4vw, 1.45rem); line-height: 1.4; }
.auth-split__form { display: grid; gap: 1.1rem; }
.auth-split__roles { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin: 0; padding: 0; border: 0; }
.auth-split__roles legend { margin-bottom: .35rem; padding: 0; font-size: .99rem; font-weight: 750; }
.auth-split__role { position: relative; min-width: 0; cursor: pointer; }
.auth-split__role input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.auth-split__role-face { min-height: 4.1rem; display: flex; align-items: center; gap: 1rem; border: 1px solid #b8cce8; border-radius: .53rem; padding: .6rem 1.1rem; background: #fff; font-size: .98rem; font-weight: 750; transition: border-color .15s, background .15s, box-shadow .15s; }
.auth-split__role-face svg { width: 1.85rem; height: 1.85rem; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.auth-split__role-check { width: 1.55rem; height: 1.55rem; display: none; place-items: center; margin-left: auto; border-radius: 50%; color: #fff; background: #308782; font-size: .9rem; }
.auth-split__role input:checked + .auth-split__role-face { border-color: #178f89; color: #165858; background: #f1fbfa; box-shadow: inset 0 0 0 1px #178f89; }
.auth-split__role input:checked + .auth-split__role-face .auth-split__role-check { display: grid; }
.auth-split__role input:focus-visible + .auth-split__role-face { outline: 3px solid rgba(0,153,143,.3); outline-offset: 2px; }
.auth-split__names { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.auth-split__field { min-width: 0; display: grid; gap: .45rem; font-size: .98rem; font-weight: 750; }
.auth-split__field > input, .auth-split__password > input { width: 100%; min-width: 0; height: 3.5rem; border: 1px solid #b8cce8; border-radius: .52rem; padding: 0 1.2rem; color: var(--auth-ink); background: #fff; font-size: 1rem; font-weight: 400; }
.auth-split__field input::placeholder { color: #7d8da9; opacity: 1; }
.auth-split__field input:focus { outline: 0; border-color: #079d96; box-shadow: 0 0 0 3px rgba(0,153,143,.12); }
.auth-split__password > input.is-invalid { border-color: #cf4055; box-shadow: 0 0 0 3px rgba(207,64,85,.1); }
.auth-split__password > input.is-valid { border-color: #168b79; }
.auth-split__field-hint { margin-top: -.1rem; color: #64769e; font-size: .8rem; font-weight: 600; line-height: 1.35; }
.auth-split__field-hint.is-invalid { color: #b82f45; }
.auth-split__field-hint.is-valid { color: #167b6c; }
.auth-split__password { position: relative; display: block; }
.auth-split__password > input { padding-right: 3.6rem; }
.auth-split__eye { position: absolute; top: 0; right: .3rem; width: 3.2rem; height: 3.5rem; display: grid; place-items: center; border: 0; color: #6e7d98; background: transparent; cursor: pointer; }
.auth-split__eye:hover { color: #087f7a; }
.auth-split__eye svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.auth-split__terms { display: flex; align-items: flex-start; gap: .7rem; font-size: .94rem; line-height: 1.45; }
.auth-split__terms input { width: 1.3rem; height: 1.3rem; flex: 0 0 auto; margin: .05rem 0 0; accent-color: #258b85; }
.auth-split__terms a, .auth-split__switch a, .auth-split__form-links a { color: #26756f; font-weight: 750; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.auth-split__submit { width: 100%; min-height: 3.45rem; display: flex; align-items: center; justify-content: center; gap: 1rem; border: 0; border-radius: .5rem; color: #fff; background: #278681; font-size: 1.02rem; font-weight: 750; cursor: pointer; transition: background .15s, transform .15s; }
.auth-split__submit:hover { background: #137771; transform: translateY(-1px); }
.auth-split__submit span { font-size: 1.5rem; font-weight: 400; line-height: 1; }
.auth-split__note { margin: 1rem 0 0; color: #64769e; font-size: .83rem; text-align: center; }
.auth-split__switch { margin: 1rem 0 0; color: #53688f; font-size: .97rem; text-align: center; }
.auth-split__switch--secondary { margin-top: .6rem; font-size: .83rem; }
.auth-split__form-links { margin: -.15rem 0 .15rem; text-align: right; font-size: .91rem; }
.auth-split__footer { display: flex; justify-content: center; flex-wrap: wrap; gap: 1.9rem; padding-top: 1.1rem; color: #64769e; font-size: .8rem; }
.auth-split__footer a { text-decoration: none; }
.auth-split .notice { margin: 0 0 1.1rem; }
@media (max-width: 920px) {
  .auth-split { grid-template-columns: minmax(16rem, 40%) 1fr; }
  .auth-split__visual { padding: 2rem; }
  .auth-split__statement { font-size: clamp(2.4rem, 4vw, 3.5rem); }
  .auth-split__tagline { font-size: 1.08rem; }
  .auth-split__content { padding-inline: clamp(1.5rem, 4vw, 3rem); }
  .auth-split__role-face { gap: .5rem; padding-inline: .7rem; }
}
@media (max-width: 680px) {
  .auth-split { display: block; }
  .auth-split__visual { position: relative; height: 16rem; min-height: 0; padding: 1.3rem 1.5rem; background-position: center 36%; }
  .auth-split__visual--register { background-position: 64% 40%; }
  .auth-split__video { object-position: center 36%; }
  .auth-split__visual::before { background: linear-gradient(180deg, rgba(3,25,39,.45), transparent 45%, rgba(5,26,49,.85)); }
  .auth-split__brand { width: 9.7rem; }
  .auth-split__statement { margin: 0 0 .3rem; font-size: 2rem; }
  .auth-split__tagline { font-size: .92rem; }
  .auth-split__tagline br { display: none; }
  .auth-split__content { min-height: calc(100dvh - 16rem); padding: 1.3rem 1.3rem 1.5rem; }
  .auth-split__top--login { display: none; }
  .auth-split__main { padding: 2rem 0 2.2rem; }
  .auth-split__intro { margin-bottom: 1.7rem; }
  .auth-split__intro h1 { font-size: clamp(2.25rem, 9vw, 3rem); }
  .auth-split__footer { gap: 1rem 1.5rem; }
}
@media (max-width: 420px) {
  .auth-split__names { grid-template-columns: 1fr; }
  .auth-split__role-face { min-height: 3.7rem; font-size: .9rem; }
  .auth-split__role-face svg { width: 1.5rem; height: 1.5rem; }
  .auth-split__role-check { width: 1.25rem; height: 1.25rem; }
}
