/**
 * Auth — split poster + underline desk. Not a centered glass card.
 * Admin palette via #rx-brand-theme. No motion.
 */

*,
*::before,
*::after {
    box-sizing: border-box;
    animation: none !important;
    transition: none !important;
}

html, body.nv-auth {
    margin: 0;
    min-height: 100dvh;
    background: var(--brand-page);
    color: var(--brand-text);
    font-family: var(--brand-font, Outfit, system-ui, sans-serif);
}

.hidden { display: none !important; }

.nv-auth-app {
    min-height: 100dvh;
    display: grid;
}

@media (min-width: 860px) {
    .nv-auth-app {
        grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 0.7fr);
    }
}

.nv-auth-poster {
    display: none;
    flex-direction: column;
    justify-content: flex-end;
    gap: 12px;
    padding: 36px 40px 40px;
    background: var(--lx-oil);
    color: var(--brand-on-accent);
    box-shadow: var(--brand-shadow-glow);
}

@media (min-width: 860px) {
    .nv-auth-poster { display: flex; }
}

.nv-auth-kicker {
    margin: 0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.nv-auth-mark {
    width: 48px;
    height: 48px;
    object-fit: cover;
    background: var(--brand-on-accent);
}

.nv-auth-mark--txt {
    display: grid;
    place-items: center;
    font-weight: 800;
    color: var(--brand-1);
}

.nv-auth-poster h1 {
    margin: 8px 0 0;
    font-family: var(--brand-display);
    font-size: clamp(42px, 6vw, 84px);
    line-height: 0.86;
    letter-spacing: -0.06em;
    text-transform: uppercase;
}

.nv-auth-lead {
    margin: 0;
    max-width: 36ch;
    font-size: 15px;
    opacity: 0.88;
}

.nv-auth-facts {
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.nv-auth-facts div {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 10px;
    border-top: 1px solid color-mix(in srgb, var(--brand-on-accent) 28%, transparent);
    padding-top: 10px;
}

.nv-auth-facts dt {
    font-family: var(--brand-display);
    font-weight: 800;
}

.nv-auth-facts dd { margin: 0; }

.nv-auth-desk {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 22px 40px;
    background: var(--brand-page);
}

@media (min-width: 860px) {
    .nv-auth-desk {
        padding: 48px 48px 56px;
        border-left: 8px solid var(--brand-2);
    }
}

.nv-auth-desk__top p {
    margin: 0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand-2);
}

.nv-auth-desk__top h2 {
    margin: 6px 0 18px;
    font-family: var(--brand-display);
    font-size: clamp(28px, 6vw, 44px);
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.nv-auth-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 0 0 18px;
    border-bottom: 1px solid var(--lx-line);
}

.nv-auth-tabs button,
.nv-auth-tabs a {
    appearance: none;
    background: transparent;
    border: 0;
    width: 100%;
    text-align: center;
    padding: 10px 0;
    text-decoration: none;
    color: var(--lx-mute);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
}

.nv-auth-tabs button.is-active,
.nv-auth-tabs a.is-active {
    color: var(--brand-text);
    box-shadow: inset 0 -3px 0 var(--brand-2);
}

.nv-auth-panel { display: none; }
.nv-auth-panel.is-on { display: block; }

.nv-auth-textlink {
    appearance: none;
    background: none;
    border: 0;
    padding: 0;
    color: var(--brand-2);
    font-weight: 800;
    font-size: inherit;
    cursor: pointer;
    font-family: inherit;
}

.nv-auth-msg {
    margin: 0 0 12px;
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 700;
    border-left: 4px solid var(--brand-2);
    background: color-mix(in srgb, var(--brand-2) 12%, var(--brand-surface));
}

.nv-auth-msg.is-error {
    border-left-color: #ef4444;
    background: color-mix(in srgb, #7f1d1d 40%, var(--brand-surface));
    color: #fecaca;
}

.nv-auth-msg.is-ok {
    border-left-color: #22c55e;
    background: color-mix(in srgb, #14532d 40%, var(--brand-surface));
    color: #bbf7d0;
}

.nv-field {
    display: block;
    margin: 0 0 14px;
}

.nv-field > span:first-child {
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--lx-mute);
    margin-bottom: 4px;
}

.nv-field__row {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    height: 40px;
    border-bottom: 2px solid var(--lx-line);
    border-radius: var(--rx-cut);
}

.nv-field input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    height: 40px;
    min-height: 0;
    border: 0;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.08);
    color: var(--brand-text, #fff);
    -webkit-text-fill-color: var(--brand-text, #fff);
    caret-color: var(--brand-text, #fff);
    font: inherit;
    font-size: 16px;
    outline: none;
    padding: 0 8px;
    animation: unset !important;
}

.nv-field:focus-within .nv-field__row {
    border-bottom-color: var(--brand-2);
}

.nv-field__ico,
.nv-eye {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 0;
    background: transparent;
    color: var(--brand-2);
    font-size: 15px;
    line-height: 1;
}

.nv-eye {
    cursor: pointer;
    padding: 0;
}

.nv-auth-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin: 4px 0 18px;
    font-size: 13px;
}

.nv-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-text);
}

.nv-check--block {
    margin: 4px 0 16px;
}

.nv-check a,
.nv-auth-link,
.nv-auth-foot a {
    color: var(--brand-2);
    font-weight: 800;
    text-decoration: none;
}

.nv-auth-go {
    width: 100%;
    min-height: 48px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: var(--lx-oil);
    color: var(--brand-text);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: var(--brand-shadow-glow);
    border-radius: var(--rx-cut);
}

.nv-auth-foot {
    margin: 18px 0 0;
    text-align: left;
    font-size: 13px;
    color: var(--lx-mute);
}
