:root{
    --nxlms-navy:var(--nxlms-theme-primary,#0B1F3A);
    --nxlms-text:#1B1B1B;
    --nxlms-muted:#6E6E6E;
    --nxlms-canvas:var(--nxlms-theme-background,#FAF8F3);
    --nxlms-surface:#FFFFFF;
    --nxlms-line:#E5E0D7;

    --nxlms-success-bg:#EDF7EF;
    --nxlms-warning-bg:#FFF7E8;
    --nxlms-error-bg:#FFF1F1;
    --nxlms-info-bg:#EEF4FA;

    --nxlms-radius-sm:var(--nxlms-theme-radius,6px);
    --nxlms-radius-md:8px;
    --nxlms-radius-lg:12px;

    --nxlms-space-1:4px;
    --nxlms-space-2:8px;
    --nxlms-space-3:12px;
    --nxlms-space-4:16px;
    --nxlms-space-5:20px;
    --nxlms-space-6:24px;
    --nxlms-space-8:32px;
    --nxlms-space-10:40px;

    --nxlms-content:1100px;
    --nxlms-touch:44px;
}

*{
    box-sizing:border-box;
}

body{
    margin:0;
    color:var(--nxlms-text);
    background:var(--nxlms-canvas);
    font-family:Arial,sans-serif;
    line-height:1.6;
}

.nxlms-wrap{
    width:min(calc(100% - 32px),var(--nxlms-content));
    margin-inline:auto;
}

.nxlms-surface{
    background:var(--nxlms-surface);
    border:1px solid var(--nxlms-line);
    border-radius:var(--nxlms-radius-lg);
    padding:var(--nxlms-space-5);
}

.nxlms-page-title,
.nxlms-section-title{
    color:var(--nxlms-navy);
}

.nxlms-page-title{
    margin:0;
    font-size:clamp(1.75rem,4vw,2.25rem);
    line-height:1.25;
}

.nxlms-section-title{
    margin:0 0 var(--nxlms-space-3);
    font-size:1.25rem;
}

.nxlms-muted{
    color:var(--nxlms-muted);
}

.nxlms-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:var(--nxlms-touch);
    padding:8px 16px;
    border:1px solid transparent;
    border-radius:var(--nxlms-radius-md);
    font:inherit;
    font-weight:700;
    text-decoration:none;
    cursor:pointer;
}

.nxlms-btn-primary{
    background:var(--nxlms-navy);
    color:#fff;
}

.nxlms-btn-secondary{
    background:var(--nxlms-surface);
    color:var(--nxlms-navy);
    border-color:var(--nxlms-line);
}

.nxlms-control{
    min-height:var(--nxlms-touch);
    padding:8px 10px;
    border:1px solid #BBB;
    border-radius:var(--nxlms-radius-md);
    background:#fff;
    color:var(--nxlms-text);
    font:inherit;
}

.nxlms-btn:focus-visible,
.nxlms-control:focus-visible,
a:focus-visible{
    outline:3px solid currentColor;
    outline-offset:3px;
}

.nxlms-message{
    padding:12px 14px;
    border:1px solid var(--nxlms-line);
    border-radius:var(--nxlms-radius-md);
}

.nxlms-message-success{background:var(--nxlms-success-bg)}
.nxlms-message-warning{background:var(--nxlms-warning-bg)}
.nxlms-message-error{background:var(--nxlms-error-bg)}
.nxlms-message-info{background:var(--nxlms-info-bg)}

@media(max-width:650px){
    .nxlms-wrap{
        width:min(calc(100% - 24px),var(--nxlms-content));
    }

    .nxlms-mobile-full{
        width:100%;
    }
}

/* I20-A3 — Student interface pattern */
.nxlms-student-main{
    width:min(calc(100% - 32px),960px);
    margin-inline:auto;
    padding-block:32px 64px;
}

.nxlms-student-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
}

.nxlms-student-card{
    background:var(--nxlms-surface);
    border:1px solid var(--nxlms-line);
    border-radius:var(--nxlms-radius-lg);
    padding:var(--nxlms-space-5);
}

.nxlms-student-section{
    margin-block:24px;
}

.nxlms-student-section > h2:first-child{
    color:var(--nxlms-navy);
}

@media(max-width:700px){
    .nxlms-student-main{
        width:min(calc(100% - 24px),960px);
        padding-block:24px 48px;
    }

    .nxlms-student-grid{
        grid-template-columns:1fr;
    }
}

/* I20-A4 — Staff / Admin interface pattern */
.nxlms-staff-main{
    width:min(calc(100% - 32px),1100px);
    margin-inline:auto;
    padding-block:32px 64px;
}

.nxlms-staff-section{
    background:var(--nxlms-surface);
    border:1px solid var(--nxlms-line);
    border-radius:var(--nxlms-radius-lg);
    padding:var(--nxlms-space-5);
    margin-block:16px;
}

.nxlms-staff-row{
    padding-block:14px;
    border-top:1px solid var(--nxlms-line);
}

.nxlms-staff-row:first-child{
    border-top:0;
}

.nxlms-staff-card{
    background:var(--nxlms-surface);
    border:1px solid var(--nxlms-line);
    border-radius:var(--nxlms-radius-lg);
    padding:var(--nxlms-space-4);
}

.nxlms-staff-main button,
.nxlms-staff-main select,
.nxlms-staff-main input{
    min-height:var(--nxlms-touch);
}

@media(max-width:700px){
    .nxlms-staff-main{
        width:min(calc(100% - 24px),1100px);
        padding-block:24px 48px;
    }
}

/* I20-A5 — Shared buttons, forms and feedback */
.nxlms-field{
    display:flex;
    flex-direction:column;
    gap:6px;
    margin-block:12px;
}

.nxlms-field-label{
    font-weight:700;
    color:var(--nxlms-text);
}

.nxlms-help{
    color:var(--nxlms-muted);
    font-size:.92rem;
}

.nxlms-actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    align-items:center;
    margin-top:16px;
}

.nxlms-btn-danger{
    background:#8B1E1E;
    color:#fff;
}

.nxlms-btn-quiet{
    background:transparent;
    color:var(--nxlms-navy);
    border-color:transparent;
}

.nxlms-btn[disabled],
.nxlms-control[disabled]{
    opacity:.55;
    cursor:not-allowed;
}

.nxlms-message[role="alert"]{
    border-inline-start-width:4px;
}

@media(max-width:650px){
    .nxlms-actions{
        flex-direction:column;
        align-items:stretch;
    }

    .nxlms-actions .nxlms-btn{
        width:100%;
    }
}

/* I20-A6 — Shared navigation and responsive behavior */
.nxlms-nav{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    align-items:center;
}

.nxlms-nav a,
.nxlms-nav button{
    min-height:var(--nxlms-touch);
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.nxlms-nav-primary{
    font-weight:700;
    color:var(--nxlms-navy);
}

.nxlms-responsive-safe{
    min-width:0;
    max-width:100%;
}

img,
video,
iframe{
    max-width:100%;
}

@media(max-width:650px){
    .nxlms-nav{
        width:100%;
        flex-direction:column;
        align-items:stretch;
    }

    .nxlms-nav a,
    .nxlms-nav button{
        width:100%;
    }
}

/* I20-A7 — Cards, tables, lists and component states */

.nxlms-list{
    margin:0;
    padding:0;
    list-style:none;
}

.nxlms-list > li{
    padding:12px 0;
    border-top:1px solid var(--nxlms-line);
}

.nxlms-list > li:first-child{
    border-top:0;
}

.nxlms-table-wrap{
    width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
}

.nxlms-table{
    width:100%;
    border-collapse:collapse;
}

.nxlms-table th,
.nxlms-table td{
    padding:12px;
    text-align:start;
    border-bottom:1px solid var(--nxlms-line);
    vertical-align:top;
}

.nxlms-table th{
    color:var(--nxlms-navy);
    font-weight:700;
}

.nxlms-state{
    display:inline-flex;
    align-items:center;
    min-height:32px;
    padding:4px 9px;
    border-radius:var(--nxlms-radius-sm);
    border:1px solid var(--nxlms-line);
    font-size:.9rem;
    font-weight:700;
}

.nxlms-state-success{
    background:var(--nxlms-success-bg);
}

.nxlms-state-warning{
    background:var(--nxlms-warning-bg);
}

.nxlms-state-error{
    background:var(--nxlms-error-bg);
}

.nxlms-state-info{
    background:var(--nxlms-info-bg);
}

.nxlms-btn:hover:not([disabled]){
    filter:brightness(.96);
}

.nxlms-btn:active:not([disabled]){
    transform:translateY(1px);
}

@media(max-width:650px){
    .nxlms-table th,
    .nxlms-table td{
        padding:10px;
    }
}

/* I21-A1 — Locale direction foundation */
[dir="rtl"]{
    text-align:start;
}

[dir="ltr"]{
    text-align:start;
}

.nxlms-bidi-auto{
    direction:auto;
    unicode-bidi:plaintext;
}

.nxlms-bidi-ltr{
    direction:ltr;
    unicode-bidi:isolate;
}

.nxlms-bidi-rtl{
    direction:rtl;
    unicode-bidi:isolate;
}

input[type="email"],
input[type="url"],
input[name="slug"],
.nxlms-machine-text{
    direction:ltr;
    unicode-bidi:isolate;
}

/* I21-A3 — Mixed text direction safety */
.nxlms-mixed{
    unicode-bidi:plaintext;
}

.nxlms-code,
.nxlms-id,
.nxlms-email,
.nxlms-url,
.nxlms-filename{
    direction:ltr;
    unicode-bidi:isolate;
    text-align:start;
    overflow-wrap:anywhere;
    word-break:break-word;
}

.nxlms-content-ar{
    direction:rtl;
    unicode-bidi:isolate;
}

.nxlms-content-en{
    direction:ltr;
    unicode-bidi:isolate;
}


/* I21-A4 — Form and validation language */
.nxlms-required{
    font-weight:700;
}

.nxlms-field-error{
    color:#8B1E1E;
    font-size:.92rem;
    margin-top:4px;
}

.nxlms-field-error[role="alert"]{
    display:block;
}

.nxlms-control[aria-invalid="true"]{
    border-color:#8B1E1E;
}

.nxlms-control::placeholder{
    text-align:start;
}


/* I21-A7 — Admin and shared locale adoption */
.nxlms-locale-shell{
    direction:inherit;
    text-align:start;
}

.nxlms-locale-shell table,
.nxlms-locale-shell form,
.nxlms-locale-shell nav{
    direction:inherit;
}

.nxlms-locale-label{
    white-space:normal;
    overflow-wrap:anywhere;
}

/* I22-A1 — Core accessibility foundation */

.nxlms-sr-only{
    position:absolute !important;
    width:1px !important;
    height:1px !important;
    padding:0 !important;
    margin:-1px !important;
    overflow:hidden !important;
    clip:rect(0,0,0,0) !important;
    white-space:nowrap !important;
    border:0 !important;
}

.nxlms-sr-only-focusable:focus{
    position:static !important;
    width:auto !important;
    height:auto !important;
    margin:0 !important;
    overflow:visible !important;
    clip:auto !important;
    white-space:normal !important;
}

.nxlms-skip-link{
    position:absolute;
    inset-inline-start:12px;
    top:-100px;
    z-index:10000;
    min-height:44px;
    padding:10px 14px;
    display:inline-flex;
    align-items:center;
    background:var(--nxlms-navy);
    color:#fff;
    border-radius:var(--nxlms-radius-md);
    text-decoration:none;
}

.nxlms-skip-link:focus{
    top:12px;
}

:focus-visible{
    outline:3px solid currentColor;
    outline-offset:3px;
}

.nxlms-live{
    min-height:1.4em;
}

img,
video,
audio,
svg,
canvas{
    max-width:100%;
}

@media(prefers-reduced-motion:reduce){
    *,
    *::before,
    *::after{
        scroll-behavior:auto !important;
        animation-duration:.01ms !important;
        animation-iteration-count:1 !important;
        transition-duration:.01ms !important;
    }
}

/* I22-A3 — Accessible forms foundation */

.nxlms-fieldset{
    border:1px solid var(--nxlms-line);
    border-radius:var(--nxlms-radius-md);
    padding:16px;
    margin:0 0 20px;
    min-width:0;
}

.nxlms-fieldset legend{
    padding-inline:6px;
    font-weight:700;
    color:var(--nxlms-text);
}

.nxlms-control{
    font-size:1rem;
    line-height:1.4;
}

.nxlms-control:focus-visible{
    outline:3px solid currentColor;
    outline-offset:2px;
}

.nxlms-control[aria-invalid="true"]{
    border-width:2px;
}

.nxlms-control[aria-describedby]{
    scroll-margin-block:24px;
}

.nxlms-form-note{
    display:block;
    margin-top:6px;
    color:var(--nxlms-muted);
    line-height:1.5;
}

.nxlms-error-summary{
    border-inline-start:4px solid #8B1E1E;
    padding:12px 14px;
    margin-bottom:18px;
    background:var(--nxlms-error-bg);
}

.nxlms-error-summary:focus{
    outline:3px solid currentColor;
    outline-offset:3px;
}

@media(max-width:650px){
    .nxlms-fieldset{
        padding:14px;
    }
}

/* I22-A4 — Media accessibility foundation */

.nxlms-media{
    width:100%;
    max-width:100%;
}

.nxlms-media video,
.nxlms-media audio{
    width:100%;
    max-width:100%;
}

.nxlms-media-caption,
.nxlms-media-transcript,
.nxlms-media-description{
    margin-top:10px;
    line-height:1.6;
}

.nxlms-media-transcript{
    padding:12px 14px;
    border:1px solid var(--nxlms-line);
    border-radius:var(--nxlms-radius-md);
    background:var(--nxlms-surface);
}

.nxlms-media img[alt=""]{
    user-select:none;
}

@media(max-width:650px){
    .nxlms-media{
        min-width:0;
        overflow:hidden;
    }
}

/* I22-A5 — Small-screen data responsiveness */

.nxlms-data-region{
    min-width:0;
    max-width:100%;
}

.nxlms-data-region table{
    width:100%;
}

.nxlms-data-card{
    display:none;
}

.nxlms-data-label{
    font-weight:700;
    color:var(--nxlms-text);
}

.nxlms-data-value{
    min-width:0;
    overflow-wrap:anywhere;
}

@media(max-width:650px){
    .nxlms-table-wrap{
        overflow-x:auto;
        max-width:100%;
    }

    .nxlms-data-stack{
        display:grid;
        gap:10px;
    }

    .nxlms-data-card{
        display:block;
        padding:14px;
        border:1px solid var(--nxlms-line);
        border-radius:var(--nxlms-radius-md);
        background:var(--nxlms-surface);
    }

    .nxlms-data-card-row{
        display:grid;
        grid-template-columns:minmax(100px,.8fr) minmax(0,1.2fr);
        gap:10px;
        padding:7px 0;
        border-top:1px solid var(--nxlms-line);
    }

    .nxlms-data-card-row:first-child{
        border-top:0;
    }
}

@media(max-width:420px){
    .nxlms-data-card-row{
        grid-template-columns:1fr;
        gap:3px;
    }
}

/* I22-A6 — Text readability and zoom safety */

html{
    -webkit-text-size-adjust:100%;
    text-size-adjust:100%;
}

body{
    line-height:1.6;
}

p,
li,
label,
input,
select,
textarea,
button{
    font-size:max(1rem,16px);
}

.nxlms-readable{
    max-width:72ch;
    line-height:1.7;
}

.nxlms-readable p{
    margin-block:0 1em;
}

.nxlms-wrap,
.nxlms-student-main,
.nxlms-staff-main{
    width:min(100%,var(--nxlms-content));
    max-width:100%;
}

input,
select,
textarea,
button{
    max-width:100%;
}

@media(max-height:520px){
    .nxlms-actions{
        position:static;
    }

    .nxlms-wrap,
    .nxlms-student-main,
    .nxlms-staff-main{
        padding-block:12px;
    }
}

/* I22-A7 — Accessible feedback and status */

.nxlms-status{
    display:block;
    padding:10px 12px;
    border-radius:var(--nxlms-radius-md);
    line-height:1.5;
}

.nxlms-status[role="status"]{
    background:var(--nxlms-success-bg);
}

.nxlms-status[role="alert"]{
    background:var(--nxlms-error-bg);
    border-inline-start:4px solid #8B1E1E;
}

.nxlms-status:focus{
    outline:3px solid currentColor;
    outline-offset:3px;
}

.nxlms-status-message{
    margin:0;
}

.nxlms-status-action{
    margin-top:8px;
}

/* I22-A7 — Accessible feedback and status */

.nxlms-status{
    display:block;
    padding:10px 12px;
    border-radius:var(--nxlms-radius-md);
    line-height:1.5;
}

.nxlms-status[role="status"]{
    background:var(--nxlms-success-bg);
}

.nxlms-status[role="alert"]{
    background:var(--nxlms-error-bg);
    border-inline-start:4px solid #8B1E1E;
}

.nxlms-status:focus{
    outline:3px solid currentColor;
    outline-offset:3px;
}

.nxlms-status-message{
    margin:0;
}

.nxlms-status-action{
    margin-top:8px;
}

/* I22-A9 — Screen-reader semantics foundation */

.nxlms-section[aria-labelledby]{
    scroll-margin-block:24px;
}

.nxlms-semantic-heading{
    margin-block-start:0;
}

.nxlms-icon-only{
    min-width:44px;
    min-height:44px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
}

.nxlms-icon-only svg{
    pointer-events:none;
}

.nxlms-visually-described{
    position:relative;
}

.nxlms-screenreader-status{
    min-height:1px;
}

/* I38-A7B — Shared Action Center */
.nxlms-action-center{
    margin:0 0 28px;
    padding:22px;
    border:1px solid #e5e0d7;
    border-radius:12px;
    background:#fff;
}

.nxlms-action-center-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:18px;
    margin-bottom:18px;
}

.nxlms-action-center-kicker{
    margin:0 0 5px;
    color:#6e6e6e;
    font-size:13px;
}

.nxlms-action-center h2{
    margin:0;
    color:#0b1f3a;
    font-size:22px;
}

.nxlms-action-center-counts{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.nxlms-action-center-counts span{
    min-height:36px;
    display:inline-flex;
    align-items:center;
    gap:5px;
    padding:0 10px;
    border:1px solid #e5e0d7;
    border-radius:8px;
    background:#faf8f3;
    font-size:13px;
}

.nxlms-action-center-list{
    display:grid;
    gap:10px;
}

.nxlms-action-center-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:15px 0;
    border-top:1px solid #eee9df;
}

.nxlms-action-center-item:first-child{
    border-top:0;
}

.nxlms-action-center-item h3{
    margin:5px 0 0;
    color:#0b1f3a;
    font-size:16px;
}

.nxlms-action-center-item p{
    margin:5px 0 0;
    color:#606060;
    line-height:1.6;
}

.nxlms-action-center-meta{
    display:flex;
    flex-wrap:wrap;
    gap:8px 12px;
    color:#6e6e6e;
    font-size:12px;
}

.nxlms-action-center-state{
    font-weight:700;
    color:#0b1f3a;
}

.nxlms-action-center-link{
    min-width:72px;
    min-height:44px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 14px;
    border-radius:8px;
    background:#0b1f3a;
    color:#fff;
    text-decoration:none;
    font-weight:700;
}

.nxlms-action-center-empty{
    padding:16px;
    border-radius:8px;
    background:#faf8f3;
    color:#666;
}

@media(max-width:640px){
    .nxlms-action-center{
        padding:18px;
    }

    .nxlms-action-center-head,
    .nxlms-action-center-item{
        flex-direction:column;
        align-items:stretch;
    }

    .nxlms-action-center-link{
        width:100%;
    }
}


/* I38-A9B — Shared Contextual Tasks */
.nxlms-contextual-tasks{
    margin:0 0 28px;
    padding:22px;
    border:1px solid #e5e0d7;
    border-radius:12px;
    background:#fff;
}

.nxlms-contextual-tasks-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:18px;
    margin-bottom:18px;
}

.nxlms-contextual-tasks-kicker{
    margin:0 0 5px;
    color:#6e6e6e;
    font-size:13px;
}

.nxlms-contextual-tasks h2{
    margin:0;
    color:#0b1f3a;
    font-size:22px;
}

.nxlms-contextual-task-counts{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.nxlms-contextual-task-counts span{
    min-height:36px;
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:0 10px;
    border:1px solid #e5e0d7;
    border-radius:8px;
    background:#faf8f3;
    font-size:13px;
}

.nxlms-contextual-task-list{
    display:grid;
    gap:10px;
}

.nxlms-contextual-task{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    padding:15px 0;
    border-top:1px solid #eee9df;
}

.nxlms-contextual-task:first-child{
    border-top:0;
}

.nxlms-contextual-task-body{
    min-width:0;
}

.nxlms-contextual-task h3{
    margin:5px 0 0;
    color:#0b1f3a;
    font-size:16px;
}

.nxlms-contextual-task p{
    margin:5px 0 0;
    color:#606060;
    line-height:1.6;
    overflow-wrap:anywhere;
}

.nxlms-contextual-task-meta{
    display:flex;
    flex-wrap:wrap;
    gap:8px 12px;
    color:#6e6e6e;
    font-size:12px;
}

.nxlms-contextual-task-state{
    font-weight:700;
    color:#0b1f3a;
}

.nxlms-contextual-task-blocked{
    font-weight:700;
}

.nxlms-contextual-task[data-state="BLOCKED"]{
    background:#fff7e8;
}

.nxlms-contextual-task[data-state="EXPIRED"],
.nxlms-contextual-task[data-state="CANCELLED"]{
    opacity:.78;
}

.nxlms-contextual-task-link{
    min-width:72px;
    min-height:44px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 14px;
    border-radius:8px;
    background:#0b1f3a;
    color:#fff;
    text-decoration:none;
    font-weight:700;
    flex:0 0 auto;
}

@media(max-width:640px){
    .nxlms-contextual-tasks{
        padding:18px;
    }

    .nxlms-contextual-tasks-head,
    .nxlms-contextual-task{
        flex-direction:column;
        align-items:stretch;
    }

    .nxlms-contextual-task-link{
        width:100%;
    }
}


/* I38-A10E — Shared Activity Timeline */
.nxlms-activity-timeline{
    margin:0 0 28px;
    padding:22px;
    border:1px solid #e5e0d7;
    border-radius:12px;
    background:#fff;
}

.nxlms-activity-timeline-head{
    margin-bottom:18px;
}

.nxlms-activity-timeline-kicker{
    margin:0 0 5px;
    color:#6e6e6e;
    font-size:13px;
}

.nxlms-activity-timeline h2{
    margin:0;
    color:#0b1f3a;
    font-size:22px;
}

.nxlms-activity-timeline-list{
    list-style:none;
    margin:0;
    padding:0;
}

.nxlms-activity-timeline-item{
    position:relative;
    display:grid;
    grid-template-columns:18px minmax(0,1fr);
    gap:12px;
    padding:14px 0;
    border-top:1px solid #eee9df;
}

.nxlms-activity-timeline-item:first-child{
    border-top:0;
}

.nxlms-activity-timeline-marker{
    width:10px;
    height:10px;
    margin-top:5px;
    border:2px solid #0b1f3a;
    border-radius:50%;
    background:#fff;
}

.nxlms-activity-timeline-content{
    min-width:0;
}

.nxlms-activity-timeline-content h3{
    margin:0;
    color:#0b1f3a;
    font-size:16px;
    line-height:1.5;
}

.nxlms-activity-timeline-meta{
    display:flex;
    flex-wrap:wrap;
    gap:6px 12px;
    margin-top:5px;
    color:#6e6e6e;
    font-size:12px;
    overflow-wrap:anywhere;
}

@media(max-width:640px){
    .nxlms-activity-timeline{
        padding:18px;
    }

    .nxlms-activity-timeline-item{
        grid-template-columns:14px minmax(0,1fr);
        gap:10px;
    }
}


/* I38-A11C — Shared Smart Alerts */
.nxlms-smart-alerts{
    margin:0 0 28px;
    padding:20px;
    border:1px solid #e5e0d7;
    border-radius:12px;
    background:#fff;
}

.nxlms-smart-alert-kicker{
    margin:0 0 5px;
    color:#6e6e6e;
    font-size:13px;
}

.nxlms-smart-alert-head h2{
    margin:0;
    color:#0b1f3a;
    font-size:22px;
}

.nxlms-smart-alert-summary{
    display:grid;
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(140px,1fr)
        );
    gap:12px;
    margin-top:16px;
}

.nxlms-smart-alert-stat{
    padding:14px;
    border:1px solid #eee9df;
    border-radius:8px;
    background:#faf8f3;
}

.nxlms-smart-alert-stat strong{
    display:block;
    margin-bottom:4px;
    color:#0b1f3a;
    font-size:24px;
}

.nxlms-smart-alert-stat span{
    color:#6e6e6e;
    font-size:13px;
}

.nxlms-smart-alert-capacity{
    list-style:none;
    margin:16px 0 0;
    padding:0;
}

.nxlms-smart-alert-capacity li{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    padding:12px 0;
    border-top:1px solid #eee9df;
}

.nxlms-smart-alert-capacity span{
    min-width:0;
    overflow-wrap:anywhere;
}

.nxlms-smart-alert-capacity strong{
    flex:0 0 auto;
    color:#0b1f3a;
}

@media(max-width:640px){
    .nxlms-smart-alerts{
        padding:18px;
    }

    .nxlms-smart-alert-summary{
        grid-template-columns:1fr;
    }
}

@media(max-width:640px){
    .nxlms-student-main .nxlms-action-center-list,
    .nxlms-student-main .nxlms-contextual-task-list{
        min-width:0;
        max-width:100%;
        grid-template-columns:minmax(0,1fr);
    }

    .nxlms-student-main .nxlms-action-center-item,
    .nxlms-student-main .nxlms-action-center-item-copy,
    .nxlms-student-main .nxlms-contextual-task,
    .nxlms-student-main .nxlms-contextual-task-body{
        min-width:0;
        max-width:100%;
    }

    .nxlms-student-main .nxlms-action-center-meta > span,
    .nxlms-student-main .nxlms-contextual-task-meta > span,
    .nxlms-student-main .nxlms-smart-alert-head h2{
        min-width:0;
        max-width:100%;
        overflow-wrap:anywhere;
    }
}

/* I38-A12E2 Dashboard Personalization */

.nxlms-personalization-entry{
    display:flex;
    justify-content:flex-end;
    margin:0 0 12px;
}

.nxlms-personalization-header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    margin-bottom:20px;
}

.nxlms-personalization-kicker{
    margin:0 0 4px;
    color:var(--nxlms-muted);
    font-weight:700;
}

.nxlms-personalization-tabs{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:0 0 18px;
}

.nxlms-personalization-tab{
    min-height:var(--nxlms-touch);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:9px 14px;
    border:1px solid var(--nxlms-line);
    border-radius:var(--nxlms-radius-md);
    text-decoration:none;
    color:var(--nxlms-navy);
    background:var(--nxlms-surface);
}

.nxlms-personalization-tab.is-active{
    font-weight:700;
    border-width:2px;
}

.nxlms-personalization-list{
    display:grid;
    gap:10px;
    margin-top:18px;
}

.nxlms-personalization-row{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(120px,180px);
    gap:16px;
    align-items:center;
    padding:14px;
    border:1px solid var(--nxlms-line);
    border-radius:var(--nxlms-radius-md);
    min-width:0;
}

.nxlms-personalization-toggle{
    display:flex;
    align-items:center;
    gap:10px;
    min-width:0;
    font-weight:700;
}

.nxlms-personalization-toggle input{
    width:22px;
    height:22px;
    min-height:22px;
    flex:0 0 auto;
}

.nxlms-personalization-toggle span{
    min-width:0;
    overflow-wrap:anywhere;
}

.nxlms-personalization-order{
    display:grid;
    grid-template-columns:auto minmax(70px,1fr);
    gap:8px;
    align-items:center;
}

.nxlms-personalization-order input{
    width:100%;
}

.nxlms-personalization-safety{
    margin-top:16px;
    padding:14px 16px;
    border-inline-start:4px solid var(--nxlms-navy);
    background:var(--nxlms-surface);
    border-radius:var(--nxlms-radius-md);
}

@media(max-width:700px){
    .nxlms-personalization-header{
        flex-direction:column;
        align-items:stretch;
    }

    .nxlms-personalization-entry{
        justify-content:stretch;
    }

    .nxlms-personalization-entry a{
        width:100%;
        justify-content:center;
    }

    .nxlms-personalization-tabs{
        flex-direction:column;
    }

    .nxlms-personalization-tab{
        width:100%;
    }

    .nxlms-personalization-row{
        grid-template-columns:1fr;
    }

    .nxlms-personalization-order{
        grid-template-columns:1fr;
    }
}

/* PHASE 38-03B — Read-Only Sheet View UI */
.nxlms-sheet{
    min-width:0;
}

.nxlms-sheet-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:18px;
    flex-wrap:wrap;
    margin-bottom:18px;
}

.nxlms-sheet-kicker{
    margin:0 0 4px;
    color:var(--nxlms-muted);
    font-weight:700;
}

.nxlms-sheet-head h2{
    margin:0;
    color:var(--nxlms-navy);
}

.nxlms-sheet-domains{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
}

.nxlms-sheet-domain{
    min-height:44px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:8px 13px;
    border:1px solid var(--nxlms-line);
    border-radius:var(--nxlms-radius-md);
    background:var(--nxlms-surface);
    color:var(--nxlms-navy);
    text-decoration:none;
    font-weight:700;
}

.nxlms-sheet-domain.is-active{
    border-color:var(--nxlms-navy);
    background:var(--nxlms-navy);
    color:#fff;
}

.nxlms-sheet-controls{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:12px;
    align-items:end;
    margin-bottom:18px;
    padding:16px;
    border:1px solid var(--nxlms-line);
    border-radius:var(--nxlms-radius-lg);
    background:var(--nxlms-surface);
}

.nxlms-sheet-control{
    display:grid;
    gap:6px;
    min-width:0;
    font-weight:700;
}

.nxlms-sheet-control input,
.nxlms-sheet-control select{
    width:100%;
    min-height:44px;
}

.nxlms-sheet-controls .nxlms-btn,
.nxlms-sheet-pagination .nxlms-btn{
    min-height:44px;
}

.nxlms-sheet-table-wrap{
    min-width:0;
    max-width:100%;
    overflow-x:auto;
    overscroll-behavior-inline:contain;
    border:1px solid var(--nxlms-line);
    border-radius:var(--nxlms-radius-lg);
    background:var(--nxlms-surface);
}

.nxlms-sheet-table-wrap:focus-visible{
    outline:3px solid var(--nxlms-navy);
    outline-offset:3px;
}

.nxlms-sheet-table{
    width:100%;
    min-width:760px;
    border-collapse:collapse;
}

.nxlms-sheet-table th,
.nxlms-sheet-table td{
    padding:12px 14px;
    border-bottom:1px solid var(--nxlms-line);
    text-align:start;
    vertical-align:top;
    overflow-wrap:anywhere;
}

.nxlms-sheet-table th{
    color:var(--nxlms-navy);
    background:#faf8f3;
    white-space:nowrap;
}

.nxlms-sheet-table tbody tr:last-child td{
    border-bottom:0;
}

.nxlms-sheet-state{
    padding:18px;
    border:1px solid var(--nxlms-line);
    border-radius:var(--nxlms-radius-lg);
    background:#faf8f3;
    color:var(--nxlms-text);
}

.nxlms-sheet-state-error{
    border-inline-start:4px solid currentColor;
}

.nxlms-sheet-pagination{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
    margin-top:16px;
}

.nxlms-sheet-page{
    font-weight:700;
    color:var(--nxlms-muted);
}

.nxlms-sheet .is-disabled{
    opacity:.55;
    pointer-events:none;
}

@media(max-width:820px){
    .nxlms-sheet-controls{
        grid-template-columns:repeat(2,minmax(0,1fr));
    }
}

@media(max-width:520px){
    .nxlms-sheet-head,
    .nxlms-sheet-domains,
    .nxlms-sheet-pagination{
        align-items:stretch;
    }

    .nxlms-sheet-domains{
        display:grid;
        grid-template-columns:1fr 1fr;
        width:100%;
    }

    .nxlms-sheet-controls{
        grid-template-columns:1fr;
    }

    .nxlms-sheet-controls .nxlms-btn,
    .nxlms-sheet-pagination .nxlms-btn{
        width:100%;
    }
}

/* PHASE 38-04B — Advanced Filter Query Contract UI */
.nxlms-sheet-advanced{
    grid-column:1 / -1;
    border:1px solid var(--nxlms-line);
    border-radius:var(--nxlms-radius-md);
    background:#faf8f3;
    padding:10px 14px;
}

.nxlms-sheet-advanced summary{
    cursor:pointer;
    font-weight:700;
    color:var(--nxlms-navy);
    min-height:44px;
    display:flex;
    align-items:center;
}

.nxlms-sheet-advanced summary:focus-visible{
    outline:3px solid var(--nxlms-navy);
    outline-offset:3px;
}

.nxlms-sheet-advanced-rows{
    display:grid;
    gap:10px;
    margin-top:10px;
}

.nxlms-sheet-advanced-row{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(0,1fr);
    gap:10px;
    align-items:center;
}

.nxlms-sheet-advanced-field{
    font-weight:700;
    min-width:0;
    overflow-wrap:anywhere;
}

.nxlms-sheet-advanced-row select,
.nxlms-sheet-advanced-row input{
    width:100%;
    min-height:44px;
}

@media(max-width:650px){
    .nxlms-sheet-advanced-row{
        grid-template-columns:1fr;
    }
}

/* PHASE 38-05 — Exports */
.nxlms-sheet-export{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:16px;
}

.nxlms-sheet-export .nxlms-btn{
    min-height:44px;
}

@media(max-width:520px){
    .nxlms-sheet-export{
        flex-direction:column;
    }

    .nxlms-sheet-export .nxlms-btn{
        width:100%;
    }
}

/* PHASE 44-02A — Student Mobile Bottom Navigation */
.nxlms-student-mobile-nav{
    display:none;
}

@media(max-width:820px){
    main:has(+ .nxlms-student-mobile-nav){
        padding-bottom:calc(96px + env(safe-area-inset-bottom, 0px));
    }

    .nxlms-student-mobile-nav{
        position:fixed;
        inset-inline:0;
        bottom:0;
        z-index:1200;
        display:grid;
        grid-template-columns:repeat(4,minmax(0,1fr));
        gap:0;
        min-width:0;
        width:100%;
        max-width:100%;
        padding:8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
        box-sizing:border-box;
        background:var(--nxlms-surface);
        border-top:1px solid var(--nxlms-line);
        box-shadow:0 -6px 18px rgba(11,31,58,.10);
        overflow:hidden;
    }

    .nxlms-student-mobile-nav__item{
        position:relative;
        display:flex;
        align-items:center;
        justify-content:center;
        min-width:0;
        min-height:44px;
        padding:8px 6px;
        border-inline:1px solid transparent;
        border-radius:var(--nxlms-radius-md);
        color:var(--nxlms-text);
        text-decoration:none;
        font-weight:700;
        text-align:center;
        overflow-wrap:anywhere;
    }

    .nxlms-student-mobile-nav__item:focus-visible{
        outline:3px solid currentColor;
        outline-offset:2px;
    }

    .nxlms-student-mobile-nav__item.is-active{
        color:var(--nxlms-navy);
        background:var(--nxlms-info-bg);
        box-shadow:inset 0 -3px 0 var(--nxlms-navy);
    }

    .nxlms-student-mobile-nav__item.is-active::after{
        content:"";
        position:absolute;
        inset-inline:18%;
        bottom:4px;
        height:2px;
        background:currentColor;
        border-radius:999px;
    }

    @media(prefers-reduced-motion:reduce){
        .nxlms-student-mobile-nav,
        .nxlms-student-mobile-nav__item{
            scroll-behavior:auto;
            transition:none;
        }
    }
}

@media(max-width:520px){
    .nxlms-student-mobile-nav{
        padding-inline:4px;
    }

    .nxlms-student-mobile-nav__item{
        padding-inline:4px;
    }
}

/* EXP02-W1 authenticated shared shell foundation */
.nxlms-auth-skip{position:fixed;inset-inline-start:12px;top:8px;z-index:1200;transform:translateY(-180%);min-height:44px;display:inline-flex;align-items:center;padding:8px 12px;border:2px solid #C9A24B;border-radius:6px;background:#fff;color:#0B1F3A;text-decoration:none;font-weight:700}
.nxlms-auth-skip:focus{transform:none}
.nxlms-auth-shell{background:#FAF8F3;border-block-end:1px solid rgba(11,31,58,.16);color:#1A1A1A}
.nxlms-auth-shell-inner{width:min(100% - 32px,1440px);margin:auto;padding:14px 0;display:grid;grid-template-columns:minmax(0,auto) minmax(0,1fr) auto;gap:18px;align-items:start}
.nxlms-auth-brand{min-width:0;min-height:44px;display:flex;align-items:center;gap:10px;color:#0B1F3A;text-decoration:none}
.nxlms-auth-brand-mark{min-width:44px;min-height:44px;padding-inline:8px;display:inline-grid;place-items:center;border:1px solid #C9A24B;border-radius:6px;font-weight:800}
.nxlms-auth-brand strong{min-width:0;overflow-wrap:anywhere}
.nxlms-auth-desktop{min-width:0;display:flex;gap:14px;align-items:flex-start;flex-wrap:wrap}
.nxlms-auth-nav-group{min-width:0}
.nxlms-auth-nav-label{display:block;margin-block-end:4px;font-size:.75rem;color:#5A6470;font-weight:700}
.nxlms-auth-nav-links{display:flex;gap:4px;flex-wrap:wrap}
.nxlms-auth-nav-links a{min-width:44px}
.nxlms-auth-nav-links a,.nxlms-auth-tools>a,.nxlms-auth-mobile-panel>a,.nxlms-auth-mobile summary,.nxlms-auth-logout button{min-height:44px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;padding:8px 10px;border-radius:6px;color:#0B1F3A;background:transparent;border:1px solid transparent;text-decoration:none;font:inherit;font-weight:700;line-height:1.35;text-align:center;overflow-wrap:anywhere}
.nxlms-auth-nav-links a.is-current{background:#0B1F3A;color:#fff}
.nxlms-auth-tools{display:flex;gap:6px;align-items:flex-start;flex-wrap:wrap;justify-content:flex-end;min-width:0}
.nxlms-auth-tools>a,.nxlms-auth-logout button,.nxlms-auth-mobile summary{border-color:rgba(11,31,58,.2);background:#fff}
.nxlms-auth-logout{margin:0}.nxlms-auth-logout button{cursor:pointer}
.nxlms-auth-mobile{display:none;position:relative;min-width:0}
.nxlms-auth-mobile:not([open]) .nxlms-auth-mobile-panel{display:none}
.nxlms-auth-mobile summary{cursor:pointer;list-style:none;width:100%}
.nxlms-auth-mobile summary::-webkit-details-marker{display:none}
.nxlms-auth-mobile-panel{position:absolute;inset-inline-end:0;top:calc(100% + 8px);z-index:1100;width:min(340px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:72vh;overflow:auto;padding:12px;border:1px solid rgba(11,31,58,.18);border-radius:8px;background:#fff;box-shadow:0 12px 30px rgba(11,31,58,.12)}
.nxlms-auth-mobile-panel .nxlms-auth-nav-group{margin-block-end:10px}
.nxlms-auth-mobile-panel .nxlms-auth-nav-links{display:grid}
.nxlms-auth-mobile-panel .nxlms-auth-nav-links a,.nxlms-auth-mobile-panel>a,.nxlms-auth-mobile-panel .nxlms-auth-logout button{width:100%}
.nxlms-auth-shell a:focus-visible,.nxlms-auth-shell button:focus-visible,.nxlms-auth-shell summary:focus-visible,.nxlms-auth-skip:focus-visible{outline:3px solid var(--nxlms-theme-text,#0B1F3A);outline-offset:3px}
.nxlms-auth-state{margin:16px 0;padding:16px;border:1px solid #E5E0D7;border-radius:10px;background:#fff}
.nxlms-auth-state strong{display:block;margin-block-end:6px;color:#0B1F3A}.nxlms-auth-state p{margin:0;line-height:1.6}
.nxlms-auth-state-error{border-color:#d8b6b6;background:#fff6f6}
@media(max-width:820px){.nxlms-auth-shell-inner{grid-template-columns:minmax(0,1fr) auto;align-items:center}.nxlms-auth-desktop,.nxlms-auth-tools{display:none}.nxlms-auth-mobile{display:block}.nxlms-auth-brand strong{white-space:normal}}
@media(max-width:420px){.nxlms-auth-shell-inner{width:min(100% - 24px,1440px);display:flex;flex-wrap:wrap;gap:10px}.nxlms-auth-brand{flex:1 1 150px}.nxlms-auth-mobile{flex:1 1 120px}.nxlms-auth-mobile-panel{width:calc(100vw - 24px);max-width:calc(100vw - 24px)}.nxlms-auth-nav-links a,.nxlms-auth-mobile-panel>a,.nxlms-auth-logout button{white-space:normal;overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){.nxlms-auth-skip{transition:none}}

.satr-brand-logo,.nxlms-auth-brand-logo,.satr-admin-brand-logo{display:block;max-width:148px;max-height:48px;width:auto;height:auto;object-fit:contain;flex:0 1 auto}.satr-brand-names,.nxlms-auth-brand,.satr-admin-brand{min-width:0;overflow-wrap:anywhere}.satr-brand-names strong,.satr-brand-names span,.nxlms-auth-brand strong,.satr-admin-brand strong{overflow-wrap:anywhere;word-break:break-word}.nxlms-auth-brand-logo,.satr-admin-brand-logo{max-width:120px;max-height:40px}@media(max-width:430px){.satr-brand-logo,.nxlms-auth-brand-logo,.satr-admin-brand-logo{max-width:96px;max-height:36px}}


.nxlms-auth-shell{background:var(--nxlms-theme-background);color:var(--nxlms-theme-text);border-color:var(--nxlms-theme-line)}.nxlms-auth-shell .nxlms-auth-brand,.nxlms-auth-shell a,.nxlms-auth-shell button,.nxlms-auth-mobile summary{color:var(--nxlms-theme-text)}.nxlms-auth-shell .nxlms-auth-nav-links a.is-current{background:var(--nxlms-theme-primary);color:var(--nxlms-theme-on-primary)}.nxlms-auth-shell[data-experience-mode="kids"] .nxlms-auth-shell-inner{padding-block:18px}.nxlms-auth-shell[data-experience-mode="kids"] a,.nxlms-auth-shell[data-experience-mode="kids"] button,.nxlms-auth-shell[data-experience-mode="kids"] summary{min-height:48px;font-size:1.04rem}.nxlms-auth-shell[data-learning-header="compact"] .nxlms-auth-desktop,.nxlms-auth-shell[data-learning-header="compact"] .nxlms-auth-tools{display:none}.nxlms-auth-shell[data-learning-header="compact"] .nxlms-auth-mobile{display:block}.nxlms-experience-page{width:min(100% - 32px,980px);margin:auto;padding:34px 0 72px}.nxlms-kicker{font-weight:800;color:var(--nxlms-theme-text)}.nxlms-experience-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--nxlms-experience-gap);padding:22px;border:1px solid var(--nxlms-theme-line);border-radius:var(--nxlms-experience-radius);background:var(--nxlms-theme-surface)}.nxlms-experience-grid label{display:grid;gap:8px;font-weight:700}.nxlms-experience-grid select{min-height:var(--nxlms-experience-target);padding:8px 12px;border:1px solid var(--nxlms-theme-line);border-radius:8px;background:var(--nxlms-theme-background);color:var(--nxlms-theme-text);font:inherit}.nxlms-experience-grid .nxlms-check{display:flex;align-items:center;gap:10px;min-height:var(--nxlms-experience-target)}.nxlms-learning-footer{border-block-start:1px solid var(--nxlms-theme-line);background:var(--nxlms-theme-surface);color:var(--nxlms-theme-text)}.nxlms-learning-footer-inner{width:min(100% - 32px,1180px);margin:auto;min-height:72px;display:flex;align-items:center;justify-content:space-between;gap:16px;padding-block:14px}.nxlms-learning-footer nav{display:flex;flex-wrap:wrap}.nxlms-learning-footer a{min-height:44px;display:inline-flex;align-items:center;padding:8px 10px;border-radius:var(--nxlms-experience-radius);color:var(--nxlms-theme-text);text-decoration:none}.nxlms-learning-footer a:focus-visible{outline:3px solid var(--nxlms-theme-text);outline-offset:3px}@media(max-width:700px){.nxlms-experience-grid{grid-template-columns:1fr}.nxlms-experience-page{width:min(100% - 24px,980px);padding-top:24px}.nxlms-experience-actions .nxlms-btn,.nxlms-experience-reset .nxlms-btn{width:100%;justify-content:center}.nxlms-learning-footer-inner{width:min(100% - 24px,1180px);align-items:flex-start;flex-direction:column}.nxlms-learning-footer nav{width:100%;display:grid}.nxlms-learning-footer a{width:100%;box-sizing:border-box}}@media(prefers-reduced-motion:reduce){.nxlms-auth-shell *,.nxlms-experience-page *{animation-duration:.001ms!important;transition-duration:.001ms!important;scroll-behavior:auto!important}}


/* AUTH694: student/instructor shared portal navigation — responsive RTL/LTR
   Two intentional horizontal rows on desktop; never distribute nav and actions
   to opposite viewport edges. Retain compact/kids modes and mobile details. */
@media (min-width:821px){
  .nxlms-auth-shell-inner{
    width:min(100% - 40px,1100px);
    grid-template-columns:auto minmax(0,1fr);
    grid-template-rows:auto auto;
    column-gap:22px;
    row-gap:8px;
    align-items:center;
    padding-block:12px;
  }
  .nxlms-auth-shell-inner > .nxlms-auth-brand{
    grid-column:1;
    grid-row:1;
    align-self:center;
  }
  .nxlms-auth-shell-inner > .nxlms-auth-desktop{
    grid-column:2;
    grid-row:1;
    justify-content:flex-start;
    align-items:center;
    gap:10px 16px;
  }
  .nxlms-auth-shell-inner > .nxlms-auth-tools{
    grid-column:1 / -1;
    grid-row:2;
    justify-content:flex-start;
    align-items:center;
    gap:6px 8px;
    padding-block-start:8px;
    border-block-start:1px solid var(--nxlms-theme-line,#E5E0D7);
  }
  .nxlms-auth-shell-inner .nxlms-auth-nav-links,
  .nxlms-auth-shell-inner .nxlms-auth-nav-group{
    align-items:center;
  }
  .nxlms-auth-shell-inner .nxlms-auth-tools > a,
  .nxlms-auth-shell-inner .nxlms-auth-logout button{
    min-height:40px;
    padding:7px 10px;
  }
  .nxlms-auth-shell[data-learning-header="compact"] .nxlms-auth-shell-inner{
    grid-template-columns:auto minmax(0,1fr);
  }
  .nxlms-auth-shell[data-learning-header="compact"] .nxlms-auth-mobile{
    grid-column:2;
    grid-row:1;
    justify-self:end;
  }
}
@media (max-width:820px) {
  .nxlms-auth-shell-inner{
    width:min(100% - 24px,1100px);
    gap:12px;
  }
}
.nxlms-learning-footer-inner{
  width:min(100% - 32px,1100px);
}
/* Keep skip link visible on focus only — keyboard accessibility is not a bug. */
