:root {
    color-scheme: light;
    --staff-ink: #163639;
    --staff-muted: #52696c;
    --staff-accent: #096361;
    --staff-line: #cbdcdb;
    font-family: 'Noto Sans Ethiopic', system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
body.nxl-sign-in { margin: 0; color: var(--staff-ink); background: #f4f8f7; }
button, input { font: inherit; }
a { color: var(--staff-accent); text-underline-offset: .25em; }
:focus-visible { outline: 3px solid #0d8581; outline-offset: 3px; }
.nxl-skip { position: fixed; z-index: 5; top: 12px; left: 12px; padding: 10px; background: #fff; transform: translateY(-170%); }
.nxl-skip:focus { transform: none; }
.nxl-shell { display: grid; grid-template-columns: minmax(0, .87fr) minmax(0, 1.13fr); min-height: 100vh; min-height: 100dvh; }
.nxl-story {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 24px;
    padding: clamp(30px, 5vw, 76px);
    background: #103b3d;
    background: radial-gradient(ellipse at 10% 85%, color-mix(in srgb, var(--nxl-school-color, #208278) 46%, #123339), transparent 76%), #112e33;
    color: #fbfefd;
}
.nxl-story::before, .nxl-story::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: auto -28% -28% auto;
    width: clamp(340px, 55vw, 850px);
    aspect-ratio: 1;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 28%;
    transform: rotate(-25deg);
    pointer-events: none;
}
.nxl-story::after { inset: auto -22% -24% auto; }
.nxl-story-kicker, .nxl-story-footer {
    color: #d5e8e6;
    font-size: .74rem;
    letter-spacing: .11em;
    font-weight: 700;
}
.nxl-story-kicker { text-transform: uppercase; }
.nxl-school { display: grid; justify-items: start; align-content: center; min-width: 0; gap: 26px; }
.nxl-school-mark {
    display: grid;
    flex: none;
    place-items: center;
    width: clamp(80px, 8vw, 122px);
    aspect-ratio: 1;
    padding: 12px;
    overflow: hidden;
    border-radius: 24%;
    background: #fff;
    border: 1px solid #dcebe9;
    box-shadow: 0 13px 32px #091d213d;
}
.nxl-school-mark img { display: block; width: 100%; height: 100%; max-height: 100%; object-fit: contain; }
.nxl-story-copy { min-width: 0; }
.nxl-story-copy p {
    margin: 0;
    max-width: 16ch;
    font-size: clamp(2rem, 4.15vw, 4.2rem);
    line-height: 1.09;
    letter-spacing: -.04em;
    font-weight: 740;
    overflow-wrap: anywhere;
}
html[lang=am] .nxl-story-copy p { letter-spacing: 0; line-height: 1.23; }
.nxl-story-copy span { display: block; margin-top: .65em; color: #d5e8e6; font-size: clamp(.9rem, 1.6vw, 1.08rem); }
.nxl-access { display: flex; flex-direction: column; align-items: center; padding: 28px clamp(24px, 5vw, 86px) 22px; min-width: 0; }
.nxl-toolbar, .nxl-access-footer { display: flex; justify-content: space-between; align-items: center; gap: 6px 14px; flex-wrap: wrap; width: 100%; font-size: .78rem; }
.nxl-toolbar { position: relative; z-index: 2; }
.nxl-portal-links { display: flex; flex-wrap: wrap; column-gap: 16px; }
.nxl-parent-link { min-height: 40px; align-content: center; font-weight: 700; }
.nxl-toolbar .nx-parent-languages { color: var(--staff-ink); }
.nxl-toolbar .nx-parent-languages summary { min-height: 40px; }
.nxl-form-area { width: 100%; max-width: 464px; margin: auto; padding: 26px 0; }
.nxl-form {
    display: grid; gap: 15px; padding: clamp(20px, 3.4vw, 42px); background: #fff;
    border: 1px solid #deebe9; border-radius: 22px; box-shadow: 0 15px 45px #18413a12;
}
.nxl-form.is-hidden, .nxl-sign-in [hidden] { display: none; }
.nxl-form-heading h1 { margin: 0 0 5px; font-size: clamp(1.44rem, 2.7vw, 2.12rem); line-height: 1.2; letter-spacing: -.03em; overflow-wrap: anywhere; }
html[lang=am] .nxl-form-heading h1 { line-height: 1.35; letter-spacing: 0; }
.nxl-form-heading p { margin: 0 0 5px; font-size: .91rem; line-height: 1.4; color: var(--staff-muted); }
.nxl-field label { display: block; margin-bottom: 5px; font-size: .85rem; font-weight: 680; }
.nxl-field .input-wrap { display: flex; align-items: center; min-width: 0; min-height: 48px; gap: 9px; padding-inline-start: 12px; border: 1px solid var(--staff-line); border-radius: 12px; background: #f9fbfa; }
.nxl-field .input-wrap:focus-within { border-color: #0b7771; box-shadow: 0 0 0 3px #0b77711e; }
.nxl-field .input-wrap > svg { flex: none; width: 18px; height: 18px; color: #36696d; }
.nxl-field input { width: 100%; min-width: 0; flex: 1; min-height: 46px; padding: 0; border: 0; outline: 0; border-radius: inherit; color: inherit; font-size: 16px; background: transparent; }
.nxl-field input:last-child { padding-inline-end: 12px; }
.nxl-input-hint { color: var(--staff-muted); padding-inline-end: 12px; font-size: .73rem; text-align: end; }
.nxl-code-message { margin: 5px 0 0; color: #852d25; font-size: .8rem; }
.nxl-code-message:empty { display: none; }
.nxl-eye { display: grid; place-items: center; align-self: stretch; min-width: 44px; padding: 5px; border: 0; background: none; color: var(--staff-accent); cursor: pointer; }
.nxl-eye svg, .nxl-submit svg { width: 20px; height: 20px; }
.nxl-caps { margin: 3px 0 0; font-size: .83rem; color: var(--staff-muted); }
.nxl-options { display: flex; align-items: center; justify-content: space-between; gap: 4px 12px; flex-wrap: wrap; }
.nxl-check, .nxl-text-button, .nxl-request { display: inline-flex; align-items: center; min-height: 44px; font-size: .83rem; font-weight: 640; }
.nxl-check { gap: 8px; cursor: pointer; }
.nxl-check input { width: 18px; height: 18px; margin: 0; accent-color: var(--staff-accent); }
.nxl-text-button { justify-content: center; padding: 0; border: 0; background: none; color: var(--staff-accent); cursor: pointer; text-underline-offset: .25em; }
.nxl-text-button:hover { text-decoration: underline; }
.nxl-submit { display: flex; justify-content: center; align-items: center; gap: 11px; min-height: 48px; padding: 8px 14px; border-radius: 12px; border: 0; color: #fff; background: #095f5c; background: color-mix(in srgb, var(--nxl-school-color, #0a8075) 37%, #083137); font-weight: 700; cursor: pointer; }
.nxl-submit:hover { filter: brightness(.92); }
.nxl-submit:disabled { opacity: .72; cursor: wait; }
.nxl-request, .nxl-back { justify-self: center; }
.nxl-alert { padding: 10px 12px; border: 1px solid #b5d9cc; background: #e8f5ef; color: #185042; border-radius: 9px; font-size: .85rem; }
.nxl-alert.is-error { border-color: #f0c7c0; background: #fff2ee; color: #852d25; }
.nxl-access-footer { justify-content: flex-end; color: var(--staff-muted); }
.nxl-access-footer strong { display: none; letter-spacing: .09em; font-size: .69rem; }
@media (max-width: 760px) {
    .nxl-shell { display: flex; flex-direction: column; }
    .nxl-story { display: block; padding: calc(14px + env(safe-area-inset-top, 0px)) max(21px, env(safe-area-inset-right)) 26px max(21px, env(safe-area-inset-left)); }
    .nxl-school { display: flex; align-items: center; gap: 13px; }
    .nxl-school-mark { width: 54px; padding: 6px; }
    .nxl-story-copy p { max-width: none; font-size: clamp(1.05rem, 4.3vw, 1.5rem); letter-spacing: -.02em; }
    .nxl-story-copy span { margin-top: 3px; font-size: .76rem; }
    .nxl-story-kicker, .nxl-story-footer { display: none; }
    .nxl-access { flex: 1; z-index: 1; margin-top: -13px; padding: 8px max(20px, env(safe-area-inset-right)) calc(9px + env(safe-area-inset-bottom, 0px)) max(20px, env(safe-area-inset-left)); border-radius: 22px 22px 0 0; background: #f6faf9; }
    .nxl-form-area { padding: 6px 0 10px; }
    .nxl-form { gap: 8px; padding: 15px; border-radius: 16px; }
    .nxl-form-heading p, .nxl-field label { margin-bottom: 3px; }
    .nxl-access-footer { justify-content: space-between; margin-top: auto; }
    .nxl-access-footer strong { display: inline; }
}
@media (max-width: 380px), (max-width: 760px) and (max-height: 650px) {
    .nxl-story { padding-top: calc(9px + env(safe-area-inset-top, 0px)); padding-bottom: 14px; }
    .nxl-school-mark { width: 44px; }
    .nxl-access { padding-top: 4px; padding-inline: 13px; }
    .nxl-form-area { padding: 3px 0 4px; }
    .nxl-form { padding: 10px 12px; gap: 5px; }
    .nxl-form-heading h1 { font-size: 1.22rem; }
    .nxl-form-heading p { font-size: .83rem; }
    .nxl-options { gap: 0 8px; }
    .nxl-field .input-wrap { min-height: 44px; }
    .nxl-field input { min-height: 42px; }
    .nxl-access-footer { justify-content: center; }
    .nxl-access-footer strong { display: none; }
}
