/*
 * learner.css — espace connecté : menu latéral et pages apprenant (préfixe .lx-).
 * Chargé après ui.css. Même identité : bleu SMRT, anthracite #1E1E1E, Arial, fonds blancs / bleu très clair.
 *
 * Sommaire : 1. menu latéral · 2. mise en page · 3. cartes et en-têtes · 4. boutons et pastilles
 *            5. « À faire » · 6. formations · 7. paiements · 8. tableaux et détails · 9. mobile
 */

/* 1. Menu latéral ------------------------------------------------------------ */
body.workspace-page .workspace-nav-group {
    margin: 4px 0 14px;
}
body.workspace-page .workspace-group-label {
    font: 700 0.68rem/1.2 var(--brand-font, Arial, sans-serif);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #7a8596;
    padding: 10px 12px 6px;
}
body.workspace-page .workspace-nav-group > a {
    display: flex;
    align-items: center;
    gap: 11px;
    min-height: 40px;
    padding: 8px 12px;
    border-radius: 8px;
    color: #3b4452;
    font-size: 0.86rem;
    font-weight: 600;
    box-shadow: none;
}
body.workspace-page .workspace-nav-group > a > .nav-icon {
    display: inline-flex;
    width: 20px;
    color: #8792a3;
}
body.workspace-page .workspace-nav-group > a .icon {
    width: 19px;
    height: 19px;
}
body.workspace-page .workspace-nav-group > a .nav-label {
    flex: 1;
    width: auto;
    text-align: left;
    color: inherit;
    font-size: inherit;
}
body.workspace-page .workspace-nav-group > a:hover {
    background: #f2f6fc;
    color: var(--blue);
}
body.workspace-page .workspace-nav-group > a:hover > .nav-icon {
    color: var(--blue);
}
body.workspace-page .workspace-nav-group > a.is-active,
body.workspace-page .workspace-nav-group > a[aria-current="page"] {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 91, 227, 0.22);
}
body.workspace-page .workspace-nav-group > a.is-active > .nav-icon {
    color: #fff;
}
body.workspace-page .workspace-nav-group > a > .nav-badge,
.nav-badge {
    flex: 0 0 auto;
    width: auto;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 10px;
    background: #e5484d;
    color: #fff;
    font-size: 0.7rem;
    font-family: var(--brand-font, Arial, sans-serif);
    font-weight: 700;
    line-height: 20px;
    text-align: center;
}
.workspace-nav-group > a.is-active .nav-badge {
    background: #fff;
    color: var(--blue);
}
body.workspace-page .workspace-back {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 18px 12px 0;
    padding-top: 14px;
    border-top: 1px solid var(--border, #dfe6f0);
    font-size: 0.82rem;
    font-weight: 600;
}
.workspace-back .icon,
.workspace-toggle .icon {
    width: 18px;
    height: 18px;
}

/* 2. Mise en page -------------------------------------------------------------- */
.lx-page {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
    padding: 28px 0 56px;
    color: #1e1e1e;
}
.lx-narrow {
    width: min(560px, calc(100% - 32px));
}
.lx-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 24px;
    align-items: start;
}
.lx-main,
.lx-side,
.lx-stack {
    display: grid;
    gap: 20px;
    min-width: 0;
}
.lx-page .icon {
    flex-shrink: 0;
}

/* 3. Cartes et en-têtes ----------------------------------------------------------- */
.lx-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}
.lx-hero h1 {
    margin: 0;
    font-size: clamp(1.6rem, 2.6vw, 2.1rem);
    line-height: 1.15;
    color: #1e1e1e;
    letter-spacing: -0.01em;
}
.lx-date {
    margin: 0 0 6px;
    color: var(--blue);
    font-weight: 700;
    font-size: 0.85rem;
}
.lx-lead {
    margin: 8px 0 0;
    color: #5b6676;
    font-size: 1rem;
    max-width: 62ch;
}
.lx-card {
    background: #fff;
    border: 1px solid #e3e9f2;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
    min-width: 0;
}
.lx-card h2 {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 14px;
    font-size: 1.05rem;
    color: #1e1e1e;
}
.lx-card h2 .icon {
    color: var(--blue);
}
.lx-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.lx-card-head h2 {
    margin: 0;
}
.lx-count {
    min-width: 26px;
    height: 26px;
    border-radius: 13px;
    display: inline-grid;
    place-items: center;
    background: #fff3e0;
    color: #8a5a00;
    font-weight: 700;
    font-size: 0.8rem;
}
.lx-center {
    text-align: center;
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 36px 28px;
}
.lx-center h1 {
    margin: 0;
    font-size: 1.6rem;
}
.lx-big-icon {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #edf4ff;
    color: var(--blue);
}
.lx-big-icon .icon {
    width: 30px;
    height: 30px;
}
.lx-result.lx-tone-success .lx-big-icon {
    background: #eaf7ef;
    color: #1b7a43;
}
.lx-result.lx-tone-danger .lx-big-icon {
    background: #fdeeec;
    color: #b42318;
}
.lx-result.lx-tone-warning .lx-big-icon {
    background: #fff6e0;
    color: #8a5a00;
}
.lx-muted {
    color: #5b6676;
    font-size: 0.9rem;
    margin: 0;
}
.lx-muted .icon {
    width: 16px;
    height: 16px;
    vertical-align: -3px;
}
.lx-kicker {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--blue);
    margin-bottom: 4px;
}
.lx-empty {
    display: grid;
    justify-items: center;
    gap: 10px;
    text-align: center;
    padding: 28px 16px;
    color: #5b6676;
}
.lx-empty > .icon {
    width: 34px;
    height: 34px;
    color: #9fb3d1;
}
.lx-empty h2 {
    justify-content: center;
}

/* 4. Boutons, liens et pastilles ---------------------------------------------------- */
.lx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid var(--blue);
    border-radius: 9px;
    background: var(--blue);
    color: #fff;
    font: 700 0.9rem/1 var(--brand-font, Arial, sans-serif);
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.lx-btn:hover {
    background: #004bbd;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 91, 227, 0.25);
}
.lx-btn:focus-visible,
.lx-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 91, 227, 0.25);
}
.lx-btn .icon {
    width: 18px;
    height: 18px;
}
.lx-btn-ghost {
    background: #fff;
    color: var(--blue);
    border-color: #c9d8ef;
}
.lx-btn-ghost:hover {
    background: #f2f6fc;
    color: var(--blue);
    box-shadow: none;
}
.lx-btn-small {
    min-height: 36px;
    padding: 0 14px;
    font-size: 0.84rem;
}
.lx-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: none;
    color: var(--blue);
    font: 600 0.88rem/1.3 var(--brand-font, Arial, sans-serif);
    text-decoration: none;
    cursor: pointer;
}
.lx-link:hover {
    text-decoration: underline;
}
.lx-link .icon {
    width: 16px;
    height: 16px;
}
.lx-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.lx-actions-center {
    justify-content: center;
    margin-top: 6px;
}
.lx-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.76rem;
    font-weight: 700;
    white-space: nowrap;
    background: #eef1f5;
    color: #4a5463;
    margin: 0;
}
.lx-pill-success { background: #eaf7ef; color: #1b7a43; }
.lx-pill-warning { background: #fff3dc; color: #8a5a00; }
.lx-pill-danger { background: #fdeeec; color: #b42318; }
.lx-pill-info { background: #edf4ff; color: #0048b5; }
.lx-ok { color: #1b7a43; }
.lx-danger { color: #b42318; }

/* 5. « À faire maintenant » et alertes --------------------------------------------- */
.lx-todo {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}
.lx-todo-item,
.lx-alert {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border-radius: 11px;
    border: 1px solid #e3e9f2;
    border-left-width: 4px;
    background: #fff;
}
.lx-todo-item strong,
.lx-alert strong {
    display: block;
    font-size: 0.93rem;
    color: #1e1e1e;
}
.lx-todo-item span,
.lx-alert span {
    display: block;
    font-size: 0.86rem;
    color: #5b6676;
    margin-top: 2px;
}
.lx-todo-icon {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #edf4ff;
    color: var(--blue);
}
.lx-alert > .icon {
    width: 22px;
    height: 22px;
}
.lx-tone-danger { border-left-color: #d92d20; }
.lx-tone-danger .lx-todo-icon { background: #fdeeec; color: #b42318; }
.lx-alert.lx-tone-danger { background: #fffafa; }
.lx-alert.lx-tone-danger > .icon { color: #b42318; }
.lx-tone-warning { border-left-color: #f0a400; }
.lx-tone-warning .lx-todo-icon { background: #fff3dc; color: #8a5a00; }
.lx-tone-info { border-left-color: var(--blue); }
.lx-alert.lx-tone-info > .icon { color: var(--blue); }
.lx-alert {
    margin: 0 0 14px;
}
.lx-allgood {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border-radius: 11px;
    background: #f3fbf6;
    color: #1b7a43;
}
.lx-allgood .icon {
    width: 28px;
    height: 28px;
}
.lx-allgood strong {
    display: block;
    color: #145c32;
}
.lx-allgood span {
    color: #4d6b59;
    font-size: 0.88rem;
}
.lx-rule {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    margin-bottom: 22px;
    border-radius: 12px;
    background: #edf4ff;
    color: #1f3a66;
    font-size: 0.9rem;
    line-height: 1.55;
}
.lx-rule p {
    margin: 0;
}
.lx-rule > .icon {
    color: var(--blue);
    margin-top: 2px;
}

/* 6. Formations --------------------------------------------------------------------- */
.lx-course-list {
    display: grid;
    gap: 4px;
}
.lx-course {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px 4px;
    border-top: 1px solid #edf1f6;
}
.lx-course:first-child {
    border-top: 0;
}
.lx-course-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #edf4ff;
    color: var(--blue);
}
.lx-course-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 10px;
}
.lx-course h3 {
    margin: 0;
    font-size: 0.98rem;
}
.lx-course p {
    margin: 3px 0 6px;
    font-size: 0.86rem;
    color: #5b6676;
}
.lx-course small {
    color: #6b7686;
    font-size: 0.78rem;
}
.lx-progress {
    height: 6px;
    border-radius: 3px;
    background: #e8eef7;
    overflow: hidden;
    margin: 6px 0 5px;
    max-width: 340px;
}
.lx-progress > span {
    display: block;
    height: 100%;
    border-radius: 3px;
    background: var(--blue);
}
.lx-enrollment {
    scroll-margin-top: 100px;
}
.lx-enrollment-head {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    margin-bottom: 16px;
}
.lx-enrollment-head h2 {
    margin: 0 0 3px;
    font-size: 1.15rem;
}
.lx-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin: 0 0 18px;
    padding: 0;
    counter-reset: step;
}
.lx-steps li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #8a94a3;
    text-align: center;
}
.lx-steps li::before {
    content: "";
    position: absolute;
    top: 14px;
    left: calc(-50% + 18px);
    right: calc(50% + 18px);
    height: 2px;
    background: #e3e9f2;
}
.lx-steps li:first-child::before {
    display: none;
}
.lx-steps li > span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #eef1f5;
    color: #7a8596;
    font-size: 0.8rem;
}
.lx-steps li > span .icon {
    width: 15px;
    height: 15px;
}
.lx-steps li.is-done {
    color: #1b7a43;
}
.lx-steps li.is-done > span {
    background: #1b7a43;
    color: #fff;
}
.lx-steps li.is-done::before,
.lx-steps li.is-current::before {
    background: #7cc49a;
}
.lx-steps li.is-current {
    color: var(--blue);
}
.lx-steps li.is-current > span {
    background: var(--blue);
    color: #fff;
    box-shadow: 0 0 0 4px #dce9ff;
}
.lx-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}
.lx-stats > div {
    padding: 14px;
    border-radius: 11px;
    background: #f7f9fc;
}
.lx-stats small {
    display: block;
    color: #5b6676;
    font-size: 0.78rem;
    margin-bottom: 4px;
}
.lx-stats strong {
    font-size: 1.3rem;
    color: #1e1e1e;
}
.lx-stats .lx-muted {
    display: block;
    font-size: 0.78rem;
}
.lx-enrollment > .lx-muted,
.lx-enrollment > .lx-actions {
    margin-bottom: 12px;
}
.lx-sessions {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
}
.lx-sessions li {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
    padding: 9px 0;
    border-top: 1px solid #edf1f6;
    font-size: 0.86rem;
}
.lx-sessions span {
    color: #5b6676;
}
.lx-sessions em {
    font-style: normal;
    font-weight: 600;
}
.lx-rows {
    list-style: none;
    margin: 0;
    padding: 0;
}
.lx-row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 12px 0;
    border-top: 1px solid #edf1f6;
}
.lx-row:first-child {
    border-top: 0;
}
.lx-row-icon {
    color: var(--blue);
}
.lx-row-body strong {
    display: block;
    font-size: 0.93rem;
}
.lx-row-body span {
    font-size: 0.85rem;
    color: #5b6676;
}
.lx-row-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

/* 7. Paiements ------------------------------------------------------------------- */
.lx-paybox {
    padding: 18px;
    border-radius: 12px;
    background: #f7f9fc;
    border: 1px solid #e3e9f2;
    margin-bottom: 14px;
}
.lx-paybox h3 {
    margin: 0 0 12px;
    font-size: 1rem;
}
.lx-pay-options {
    display: grid;
    gap: 14px;
}
.lx-payform {
    display: grid;
    gap: 10px;
    justify-items: start;
}
.lx-secure {
    color: #5b6676;
    font-size: 0.78rem;
}
.lx-check {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    font-size: 0.86rem;
    color: #3b4452;
    line-height: 1.45;
    font-weight: 500;
}
.lx-page label.lx-check {
    display: flex;
    flex-direction: row;
    grid-template-columns: none;
}
.lx-page .lx-check input[type="checkbox"] {
    display: inline-block;
    min-height: 0;
    padding: 0;
    margin: 3px 0 0;
    width: 17px;
    height: 17px;
    flex-shrink: 0;
    accent-color: var(--blue);
}
.lx-consent {
    padding: 10px 12px;
    border-radius: 9px;
    background: #fff;
    border: 1px dashed #c9d8ef;
    font-size: 0.8rem;
}
.lx-consent[hidden] {
    display: none;
}
.lx-transfer {
    border: 1px solid #e3e9f2;
    border-radius: 10px;
    background: #fff;
    padding: 0 14px;
}
.lx-transfer > summary {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    cursor: pointer;
    font-weight: 600;
    color: var(--blue);
    font-size: 0.9rem;
    list-style: none;
}
.lx-transfer > summary::-webkit-details-marker {
    display: none;
}
.lx-transfer[open] {
    padding-bottom: 14px;
}
.lx-transfer p {
    font-size: 0.86rem;
}
.lx-bank {
    display: grid;
    gap: 3px;
    justify-items: start;
    padding: 12px;
    margin: 10px 0;
    border-radius: 9px;
    background: #f7f9fc;
    font-size: 0.86rem;
}
.lx-bank code,
.lx-transfer code {
    font-size: 0.9rem;
    background: #fff;
    padding: 3px 7px;
    border-radius: 5px;
    border: 1px solid #e3e9f2;
}
.lx-bank small {
    color: #5b6676;
}
.lx-form {
    display: grid;
    gap: 12px;
    margin-top: 10px;
}
.lx-form label {
    display: grid;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #3b4452;
}
.lx-form select,
.lx-form input[type="file"] {
    min-height: 40px;
    border: 1px solid #cfd9e7;
    border-radius: 8px;
    padding: 8px 10px;
    background: #fff;
    font: inherit;
    font-weight: 400;
}
.lx-due-list {
    display: grid;
    gap: 14px;
}
.lx-due {
    padding: 16px;
    border: 1px solid #e3e9f2;
    border-radius: 12px;
    display: grid;
    gap: 12px;
}
.lx-due-window {
    border-color: #f3d48a;
    background: #fffdf6;
}
.lx-due-late {
    border-color: #f1b5ae;
    background: #fffafa;
}
.lx-due-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
}
.lx-due-head h3 {
    margin: 0;
    font-size: 0.98rem;
}
.lx-amount {
    font-size: 1.25rem;
    color: #1e1e1e;
    white-space: nowrap;
}
.lx-due-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin: 0;
    font-size: 0.86rem;
    color: #5b6676;
}
.lx-failure {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #b42318;
    font-size: 0.85rem;
}
.lx-failure .icon {
    width: 17px;
    height: 17px;
}
.lx-kv {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 10px;
    font-size: 0.88rem;
}
.lx-kv span {
    color: #5b6676;
}
.lx-kv strong {
    text-align: right;
}
.lx-cardchip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    margin-bottom: 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0b2f73, var(--blue));
    color: #fff;
}
.lx-cardchip small {
    display: block;
    opacity: 0.85;
    font-size: 0.78rem;
    margin-top: 3px;
}
.lx-side .lx-muted {
    margin-bottom: 12px;
}
.lx-next .lx-next-date {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--blue);
}
.lx-next {
    display: grid;
    gap: 6px;
    justify-items: start;
}
.lx-next h2 {
    margin-bottom: 6px;
}
.lx-next span {
    color: #5b6676;
    font-size: 0.88rem;
}
.lx-notes {
    list-style: none;
    margin: 0;
    padding: 0;
}
.lx-notes li {
    padding: 10px 0 10px 14px;
    border-top: 1px solid #edf1f6;
    position: relative;
}
.lx-notes li:first-child {
    border-top: 0;
}
.lx-notes li.is-unread::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--blue);
}
.lx-notes strong,
.lx-notes span,
.lx-notes small {
    display: block;
}
.lx-notes strong {
    font-size: 0.86rem;
}
.lx-notes span {
    font-size: 0.82rem;
    color: #5b6676;
    margin: 2px 0;
}
.lx-notes small {
    font-size: 0.74rem;
    color: #8a94a3;
}
.lx-sim-banner {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 12px;
    margin: 0 0 16px;
    border-radius: 9px;
    background: #fff3dc;
    color: #8a5a00;
    font-size: 0.86rem;
    font-weight: 600;
}
.lx-sim h1 {
    margin: 0 0 6px;
    font-size: 2rem;
}

/* 8. Tableaux et détails --------------------------------------------------------- */
.lx-table-wrap {
    overflow-x: auto;
    margin: 6px 0 10px;
}
.lx-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.86rem;
}
.lx-table th {
    text-align: left;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6b7686;
    padding: 8px 10px;
    border-bottom: 1px solid #e3e9f2;
    white-space: nowrap;
}
.lx-table td {
    padding: 10px;
    border-bottom: 1px solid #f0f3f8;
    vertical-align: middle;
}
.lx-num {
    text-align: right !important;
    white-space: nowrap;
}
.lx-details {
    border-top: 1px solid #edf1f6;
    padding-top: 10px;
    margin-top: 12px;
}
.lx-details > summary {
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    color: #3b4452;
    padding: 4px 0;
}
.lx-attempts {
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
}
.lx-attempts li {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px;
    align-items: center;
    padding: 8px 0;
    border-top: 1px solid #f0f3f8;
    font-size: 0.85rem;
}

/* 9. Écrans étroits ---------------------------------------------------------------- */
@media (max-width: 1080px) {
    .lx-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .lx-side {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    }
}
@media (max-width: 640px) {
    .lx-page {
        width: calc(100% - 32px);
        padding-top: 20px;
    }
    .lx-hero {
        flex-direction: column;
        align-items: flex-start;
    }
    .lx-card {
        padding: 16px;
        border-radius: 12px;
    }
    .lx-todo-item,
    .lx-alert,
    .lx-course,
    .lx-row,
    .lx-enrollment-head {
        grid-template-columns: auto minmax(0, 1fr);
    }
    .lx-todo-item > .lx-btn,
    .lx-alert > .lx-btn,
    .lx-alert > .lx-link,
    .lx-course > .lx-btn,
    .lx-row-actions,
    .lx-enrollment-head > .lx-pill {
        grid-column: 2;
        justify-self: start;
    }
    .lx-stats {
        grid-template-columns: minmax(0, 1fr);
    }
    .lx-steps li {
        font-size: 0.68rem;
    }
    .lx-btn {
        white-space: normal;
        text-align: center;
    }
    .lx-sessions li {
        grid-template-columns: minmax(0, 1fr);
        gap: 2px;
    }
    .lx-due-head {
        flex-direction: column;
        gap: 6px;
    }
}
