:root {
    color-scheme: light;
    font: 16px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif;
    --nxa-ink: #112d38;
    --nxa-muted: #4d6570;
    --nxa-border: #cfdee1;
    --nxa-accent: #006e70;
    --nxa-deep: #0b2833;
}
*, *::before, *::after { box-sizing: border-box; }
body.nxa-page {
    margin: 0;
    min-block-size: 100svh;
    display: grid;
    place-items: center;
    padding: clamp(16px, 4vw, 48px);
    color: var(--nxa-ink);
    background: radial-gradient(ellipse at 12% 2%, #e1f3ef, transparent 65%), #f4f8f8;
}
.nxa-shell {
    display: grid;
    grid-template-columns: minmax(0, .75fr) minmax(0, 1fr);
    width: min(100%, 880px);
    border: 1px solid #dce7e8;
    border-radius: 25px;
    overflow: hidden;
    background: white;
    box-shadow: 0 24px 75px #102b3416;
}
.nxa-brand {
    padding: clamp(28px, 4.5vw, 46px);
    display: flex;
    flex-direction: column;
    gap: 40px;
    justify-content: space-between;
    background: radial-gradient(ellipse at bottom right, #10666b, transparent 65%), #0b2833;
    color: #fff;
}
.nxa-logo, .nxa-roles, .nxa-links { display: flex; gap: 9px; align-items: center; }
.nxa-logo { gap: 11px; font-size: 1.35rem; letter-spacing: -.025em; }
.nxa-logo img { border-radius: 10px; background: #eef9f8; }
.nxa-brand-copy span { font-size: .75rem; font-weight: 650; color: #a5e4d8; }
.nxa-brand-copy .nxa-hero-title { font-size: clamp(1.8rem, 4vw, 3.15rem); line-height: 1.05; letter-spacing: -.046em; margin: 10px 0 0; }
.nxa-brand-copy p:not(.nxa-hero-title) { margin: 10px 0 0; font-size: .89rem; color: #c7dfdf; }
.nxa-brand-footer { font-size: .7rem; letter-spacing: .08em; color: #c7dfdf; }
.nxa-content { padding: clamp(22px, 4.5vw, 46px); min-width: 0; align-self: center; }
.nxa-content h1 { font-size: clamp(1.55rem, 4vw, 2.12rem); line-height: 1.12; letter-spacing: -.042em; margin: 0 0 9px; }
.nxa-content p, .nxa-content small { color: var(--nxa-muted); }
.nxa-content p { margin: 0 0 20px; font-size: .9rem; }
.nxa-roles {
    flex-wrap: wrap;
    gap: 3px;
    background: #eef4f4;
    border-radius: 12px;
    padding: 4px;
    margin: 0 0 25px;
}
.nxa-roles a {
    min-height: 38px;
    display: grid;
    align-content: center;
    grid-auto-flow: column;
    gap: 4px;
    padding: 4px 9px;
    flex: 1 0 auto;
    text-align: center;
    color: #35535d;
    font-weight: 650;
    font-size: .75rem;
    border-radius: 9px;
    text-decoration: none;
}
.nxa-roles a[aria-current] { background: white; color: #005b5d; box-shadow: 0 1px 4px #1838421f; }
.nxl-form { display: grid; gap: 13px; margin: 0 0 16px; }
.nxl-field label { display: block; font-size: .82rem; font-weight: 700; margin-bottom: 5px; }
.nxl-field input, .nxl-field select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--nxa-border);
    background: white;
    border-radius: 10px;
    padding: 9px 12px;
    font: inherit;
    color: inherit;
}
.nxl-check { display: flex; align-items: center; gap: 8px; font-size: .84rem; min-height: 30px; color: var(--nxa-muted); }
.nxl-check input { accent-color: var(--nxa-accent); }
.nxl-submit {
    border: 0;
    border-radius: 10px;
    min-height: 47px;
    background: var(--nxa-accent);
    padding: 10px 16px;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.nxl-submit:hover { background: #00595c; }
.nxa-links { flex-wrap: wrap; column-gap: 18px; row-gap: 0; }
.nxl-back, .nxa-links a { color: #005c5f; font-size: .84rem; font-weight: 650; display: inline-block; padding: 6px 0; }
.nxl-alert {
    margin: 10px 0;
    padding: 10px 12px;
    border: 1px solid #b9e2d0;
    border-radius: 8px;
    color: #165947;
    background: #eaf8f0;
    font-size: .86rem;
    overflow-wrap: anywhere;
}
.nxl-alert.is-error { background: #fdf1ef; color: #812923; border-color: #f2c8c3; }
.nxa-page :focus-visible { outline: 3px solid #087f88; outline-offset: 2px; }
@media (max-width: 670px) {
    body.nxa-page { display: block; padding: 0; background: white; }
    .nxa-shell { display: block; min-height: 100svh; border: 0; border-radius: 0; box-shadow: none; }
    .nxa-brand { padding: max(18px, env(safe-area-inset-top)) 22px 17px; flex-direction: row; align-items: center; gap: 12px; }
    .nxa-brand-copy p, .nxa-brand-footer { display: none; }
    .nxa-content { max-width: 500px; margin-inline: auto; padding-bottom: max(30px, env(safe-area-inset-bottom)); }
}
