/* Rollbackable LMS administration UI patch. Remove this stylesheet link to revert presentation. */
.classic-lms-ui{--lam-navy:#123d5b;--lam-blue:#1d5278;--lam-blue2:#276d99;--lam-ink:#17212b;--lam-muted:#5d6874;--lam-line:#c5d3de;--lam-bg:#f4f7fa;--lam-white:#fff;--lam-focus:#ffbf47;--lam-green:#17663a;--lam-red:#9b1c1c}
.lms-admin-modern{max-width:1500px;margin:0 auto;color:var(--lam-ink);font:400 1rem/1.5 Arial,Helvetica,sans-serif}.lam-head{display:flex;justify-content:space-between;align-items:center;gap:1rem;background:#fff;border:1px solid var(--lam-line);border-left:5px solid var(--lam-blue);padding:1rem 1.15rem;margin-bottom:.8rem}.lam-head h1{margin:0!important;color:var(--lam-navy)!important;font-size:clamp(1.45rem,1.2rem + .6vw,2rem)!important}.lam-head p{margin:.25rem 0 0;color:var(--lam-muted)}.lam-badge{background:var(--lam-navy);color:#fff;padding:.35rem .65rem;font-weight:700}.lam-card{background:#fff;border:1px solid var(--lam-line);padding:1rem;margin-bottom:.8rem}.lam-card h2{margin:0 0 .7rem!important;color:var(--lam-navy)!important;font-size:1.25rem!important}.lam-card-head{display:flex;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:.7rem}.lam-table-wrap{overflow:auto}.lam-card table{width:100%;border-collapse:collapse;min-width:720px}.lam-card th{background:#dbe6ee!important;color:#17364d!important;text-align:left;padding:.65rem;border-bottom:2px solid #7f9bae}.lam-card td{padding:.65rem;border-bottom:1px solid #d8e0e6;color:#202b34!important}.lam-card tbody tr:hover{background:#f3f8fb}.lam-btn{display:inline-flex!important;align-items:center;justify-content:center;min-height:2.5rem!important;padding:.5rem .85rem!important;border:2px solid var(--lam-blue)!important;background:var(--lam-blue)!important;color:#fff!important;text-decoration:none!important;font-weight:700!important;cursor:pointer}.lam-btn:hover{background:#fff!important;color:var(--lam-navy)!important}.lam-btn.ghost{background:#fff!important;color:var(--lam-navy)!important}.lam-btn.ghost:hover{background:#e8f1f7!important}.lam-btn.danger{border-color:var(--lam-red)!important;background:var(--lam-red)!important}.lam-btn:disabled{opacity:.55;cursor:not-allowed}.lam-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.8rem;align-items:end}.lam-form label,.lam-inline label{display:flex;flex-direction:column;gap:.25rem;font-weight:700}.lam-form input,.lam-form select,.lam-inline input,.lam-search{min-height:2.5rem!important;background:#fff!important;color:#17212b!important;border:1px solid #8099aa!important;padding:.4rem .55rem!important;font-size:1rem!important}.lam-inline,.lam-actions{display:flex;align-items:end;gap:.5rem;flex-wrap:wrap}.lam-actions form{display:inline}.lam-tabs{display:flex;gap:.25rem;margin-bottom:.7rem}.lam-tabs a{padding:.55rem .8rem;border:1px solid var(--lam-line);background:#e5edf3;color:var(--lam-navy)!important;font-weight:700;text-decoration:none!important}.lam-tabs a.active,.lam-tabs a:hover{background:var(--lam-blue);color:#fff!important}.lam-status{display:inline-flex;padding:.2rem .45rem;border:1px solid currentColor;font-weight:700}.lam-status.on{color:var(--lam-green)}.lam-status.off{color:var(--lam-red)}.lam-notice{padding:.7rem .85rem;margin-bottom:.7rem;background:#fff;border-left:5px solid}.lam-notice.ok{border-color:var(--lam-green)}.lam-notice.bad{border-color:var(--lam-red)}.lam-help{margin-top:.8rem;padding:.7rem;background:#eef4f8;border-left:4px solid var(--lam-blue);color:#334754}.lam-empty{text-align:center;color:var(--lam-muted)!important;padding:1.5rem!important}.lam-health{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:.7rem}.lam-health article{display:flex;gap:.65rem;border:1px solid var(--lam-line);padding:.75rem}.lam-health article p{margin:.15rem 0 0;color:var(--lam-muted)}.lam-health-icon{width:2rem;height:2rem;display:grid;place-items:center;border-radius:50%;font-weight:900;border:2px solid}.lam-health-icon.good{color:var(--lam-green)}.lam-health-icon.warn{color:var(--lam-red)}
.lms-admin-modern :focus-visible{outline:3px solid var(--lam-focus)!important;outline-offset:2px!important}
/* Back/Forward intentionally use the exact LMS/Dashboard button treatment. */
.classic-lms-ui .lms-classic-nav a,.classic-lms-ui .lms-classic-nav button{background:#1d5278!important;color:#fff!important;border:1px solid #d6e3ed!important;font-size:.92rem!important;font-weight:700!important}
@media(max-width:800px){.lam-head,.lam-card-head{align-items:stretch;flex-direction:column}.lam-form{grid-template-columns:1fr}.lam-badge{align-self:flex-start}.lam-search{width:100%}}
@media(forced-colors:active){.lam-btn,.lam-status{border:2px solid ButtonText!important}.lms-admin-modern :focus-visible{outline:3px solid Highlight!important}}
.forum-modern>.card{background:#fff!important;border:1px solid var(--lam-line)!important;border-radius:0!important;box-shadow:none!important;margin-bottom:.8rem!important;padding:1rem!important}.forum-modern>.card h2,.forum-modern>.card h3{color:var(--lam-navy)!important}.forum-modern>.card button,.forum-modern>.card .btn{min-height:2.35rem!important;font-weight:700!important}.forum-modern>.card table th{background:#dbe6ee!important;color:#17364d!important}.forum-modern>.card input,.forum-modern>.card select,.forum-modern>.card textarea{background:#fff!important;color:#17212b!important;border:1px solid #8099aa!important}
