:root {
    --auth-brand: #157f82;
    --auth-brand-deep: #0d6267;
    --auth-action: #e87863;
    --auth-action-hover: #d96753;
    --auth-ink: #19343c;
    --auth-muted: #64777c;
    --auth-border: #dbe5e3;
    --auth-error: #a93636;
    --auth-surface: #fff;
    --auth-page: #f3f7f6;
    --auth-radius: 18px;
}

* { box-sizing: border-box; }
.auth-body { min-width: 0; background: var(--auth-page); }
.auth-page { min-height: 100svh; display: grid; place-items: center; padding: clamp(20px, 4vw, 52px); }
.auth-shell { width: min(100%, 1080px); min-height: min(680px, calc(100svh - 80px)); display: grid; grid-template-columns: minmax(0, .95fr) minmax(420px, 1.05fr); overflow: hidden; background: var(--auth-surface); border: 1px solid rgba(24, 87, 89, .14); border-radius: var(--auth-radius); box-shadow: 0 22px 55px rgba(27, 66, 68, .1); }
.auth-brand-panel { position: relative; display: flex; flex-direction: column; padding: clamp(38px, 5vw, 68px); overflow: hidden; color: #f7ffff; background: linear-gradient(145deg, var(--auth-brand), var(--auth-brand-deep)); }
.auth-brand-panel::after { content: ""; position: absolute; right: -110px; bottom: -135px; width: 330px; height: 330px; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; box-shadow: 0 0 0 44px rgba(255,255,255,.035), 0 0 0 88px rgba(255,255,255,.025); pointer-events: none; }
.auth-brand { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 12px; width: fit-content; color: #fff; font-size: 1.25rem; font-weight: 650; text-decoration: none; }
.auth-brand img { width: 50px; height: 50px; object-fit: contain; filter: brightness(0) invert(1); }
.auth-brand strong { color: #a8efea; font-weight: 750; }
.auth-brand-copy { position: relative; z-index: 1; max-width: 440px; margin: auto 0 44px; }
.auth-eyebrow, .auth-form-kicker { margin: 0 0 12px; font-size: .78rem; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.auth-eyebrow { color: #b8efeb; }
.auth-brand-copy h2 { margin: 0; font-size: clamp(2rem, 3vw, 2.7rem); line-height: 1.12; letter-spacing: -.035em; }
.auth-brand-copy > p:last-child { max-width: 40ch; margin: 22px 0 0; color: rgba(247,255,255,.82); line-height: 1.65; }
.auth-benefits { position: relative; z-index: 1; display: grid; gap: 15px; margin: 0; padding: 0; list-style: none; color: rgba(255,255,255,.92); font-size: .92rem; }
.auth-benefits li { display: flex; align-items: center; gap: 11px; }
.auth-benefits li span { width: 19px; height: 19px; flex: 0 0 auto; border: 1px solid rgba(255,255,255,.52); border-radius: 50%; }
.auth-benefits li span::after { content: ""; display: block; width: 6px; height: 3px; margin: 6px 0 0 5px; border-bottom: 1.5px solid #fff; border-left: 1.5px solid #fff; transform: rotate(-45deg); }
.auth-form-panel { display: grid; place-items: center; padding: clamp(38px, 6vw, 74px); background: var(--auth-surface); }
.auth-form-wrap { width: min(100%, 410px); }
.auth-form-header { margin-bottom: 34px; }
.auth-form-kicker { color: var(--auth-brand); }
.auth-form-header h1 { margin: 0; color: var(--auth-ink); font-size: clamp(1.9rem, 3vw, 2.35rem); line-height: 1.15; letter-spacing: -.035em; }
.auth-form-header > p:last-child { margin: 12px 0 0; color: var(--auth-muted); line-height: 1.55; }
.auth-form { display: grid; gap: 20px; }
.auth-field { display: grid; gap: 8px; min-width: 0; }
.auth-field label { color: var(--auth-ink); font-size: .92rem; font-weight: 700; }
.auth-label-row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.auth-label-row a { color: var(--auth-brand-deep); font-size: .84rem; font-weight: 650; text-decoration: none; }
.auth-field input { width: 100%; min-width: 0; min-height: 50px; padding: 12px 14px; color: var(--auth-ink); background: #fbfdfc; border: 1px solid #bdccca; border-radius: 10px; outline: none; transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease; }
.auth-field input::placeholder { color: #94a4a5; }
.auth-field input:focus { background: #fff; border-color: var(--auth-brand); box-shadow: 0 0 0 3px rgba(21,127,130,.15); }
.auth-field input.input-validation-error, .auth-field input.invalid { border-color: var(--auth-error); outline: none; }
.auth-field-hint { color: var(--auth-muted); font-size: .8rem; }
.auth-validation-message, .auth-validation-summary { color: var(--auth-error); font-size: .86rem; line-height: 1.45; }
.auth-validation-message:empty, .auth-validation-summary:empty, .auth-validation-summary.validation-summary-valid { display: none; }
.auth-validation-summary { padding: 11px 13px; background: #fff5f3; border: 1px solid #efcbc4; border-radius: 9px; }
.auth-validation-summary ul { margin: 0; padding-left: 18px; }
.auth-primary-action { width: 100%; min-height: 52px; margin-top: 4px; padding: 12px 18px; color: #fff; background: var(--auth-action); border: 0; border-radius: 10px; box-shadow: 0 7px 18px rgba(204,88,68,.18); font-weight: 750; cursor: pointer; transition: background 150ms ease, box-shadow 150ms ease, transform 150ms ease; }
.auth-primary-action:hover { background: var(--auth-action-hover); box-shadow: 0 9px 22px rgba(204,88,68,.24); }
.auth-primary-action:active { transform: translateY(1px); }
.auth-primary-action:focus-visible, .auth-brand:focus-visible, .auth-form a:focus-visible, .auth-secondary-action a:focus-visible { outline: 3px solid rgba(21,127,130,.28); outline-offset: 3px; }
.auth-next-step { margin: -7px 0 0; color: var(--auth-muted); font-size: .82rem; line-height: 1.45; text-align: center; }
.auth-secondary-action { display: flex; justify-content: center; gap: 6px; margin-top: 30px; padding-top: 24px; color: var(--auth-muted); border-top: 1px solid var(--auth-border); font-size: .9rem; text-align: center; }
.auth-secondary-action a { color: var(--auth-brand-deep); font-weight: 750; text-decoration: none; }
.auth-label-row a:hover, .auth-secondary-action a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 820px) {
    .auth-page { display: block; padding: 0; background: #fff; }
    .auth-shell { min-height: 100svh; display: block; border: 0; border-radius: 0; box-shadow: none; }
    .auth-brand-panel { display: block; min-height: 0; padding: 22px clamp(20px, 6vw, 36px) 24px; }
    .auth-brand img { width: 40px; height: 40px; }
    .auth-brand-copy { margin: 18px 0 0; }
    .auth-brand-copy h2 { font-size: clamp(1.35rem, 6vw, 1.7rem); line-height: 1.2; }
    .auth-brand-copy h2 br, .auth-eyebrow, .auth-brand-copy > p:last-child, .auth-benefits { display: none; }
    .auth-form-panel { display: block; padding: 34px clamp(20px, 6vw, 36px) 40px; }
    .auth-form-wrap { margin: 0 auto; }
    .auth-body .mc-consent { bottom: 12px; }
    .auth-body .mc-consent-settings { bottom: 8px; }
}

@media (max-width: 420px) {
    .auth-form-header { margin-bottom: 28px; }
    .auth-label-row { display: grid; gap: 5px; }
    .auth-secondary-action { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    .auth-field input, .auth-primary-action { transition: none; }
}
