.atlas-wrap{--atlas:#4f46e5;--ink:#101828;--muted:#667085;--line:#e5e7eb;--bg:#f8faff;color:var(--ink);font-family:Inter,system-ui,-apple-system,"Segoe UI",sans-serif;max-width:1180px;margin:24px auto 64px;line-height:1.55}.atlas-wrap *{box-sizing:border-box}.atlas-wrap a{text-decoration:none}.atlas-hero{background:linear-gradient(125deg,#111c47,#3730a3 65%,#6d28d9);border-radius:22px;padding:clamp(28px,5vw,66px);color:white;margin-bottom:26px}.atlas-hero h1,.atlas-hero h2{color:white;line-height:1.18;font-size:clamp(28px,4.8vw,47px);margin:12px 0}.atlas-hero p{color:#e0e7ff;max-width:700px;font-size:1.1rem}.atlas-eyebrow{letter-spacing:.14em;font-weight:800;font-size:.75rem;text-transform:uppercase;color:#a5b4fc}.atlas-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.atlas-card,.atlas-panel{background:white;border:1px solid var(--line);border-radius:18px;box-shadow:0 8px 28px rgba(27,39,78,.05);overflow:hidden}.atlas-panel{padding:clamp(20px,3vw,36px);margin-bottom:20px}.atlas-card-body{padding:24px}.atlas-card h3{margin:12px 0 8px;font-size:1.24rem;line-height:1.3}.atlas-card h3 a{color:var(--ink)}.atlas-card p,.atlas-meta{color:var(--muted)}.atlas-cover,.atlas-placeholder{height:190px;width:100%;object-fit:cover}.atlas-placeholder{display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#c7d2fe,#ede9fe);font-size:76px;color:#4f46e5}.atlas-tag{color:#4338ca;background:#eef2ff;border-radius:100px;padding:5px 11px;font-size:.76rem;font-weight:700}.atlas-meta{margin:18px 0;font-size:.86rem}.atlas-btn{display:inline-block;background:#4f46e5;color:white!important;border:0;border-radius:10px;padding:11px 18px;cursor:pointer;font:inherit;font-weight:700;transition:background .2s}.atlas-btn:hover{background:#3730a3}.atlas-unit{display:flex;align-items:center;gap:16px;padding:17px 0;border-bottom:1px solid var(--line)}.atlas-unit>div{flex:1}.atlas-unit small{display:block;color:var(--muted)}.atlas-unit a{font-weight:700}.atlas-num{background:#eef2ff;border-radius:10px;padding:7px 13px;color:#4338ca;font-weight:800}.atlas-meter{height:9px;background:#e9eaf2;border-radius:99px;overflow:hidden}.atlas-meter span{display:block;height:100%;background:linear-gradient(90deg,#6366f1,#16a6af);border-radius:inherit}.atlas-alert{padding:16px 22px;background:#ecfdf3;border:1px solid #a6f4c5;border-radius:12px}.atlas-success{color:#027a48;font-weight:700}.atlas-action{margin-top:24px}.atlas-quiz fieldset{border:1px solid var(--line);border-radius:12px;margin:16px 0;padding:16px}.atlas-quiz legend{font-weight:700;padding:0 8px}.atlas-quiz label{display:block;padding:8px;cursor:pointer}.atlas-certificate{border:12px double #4f46e5;text-align:center;background:#fff;padding:70px 25px;border-radius:8px;max-width:900px}.atlas-certificate h2{font-size:clamp(30px,5vw,54px);margin:25px 0}.atlas-certificate h3{font-size:26px}.atlas-cert-page{background:#eff2ff;padding:30px}.atlas-admin-cards{display:flex;gap:15px;margin:25px 0}.atlas-admin-card{background:white;border:1px solid #ddd;padding:24px 40px;border-radius:10px;text-decoration:none}.atlas-admin-card strong{font-size:28px}@media(max-width:850px){.atlas-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.atlas-grid{grid-template-columns:1fr}.atlas-hero{border-radius:14px}.atlas-unit{gap:9px;flex-wrap:wrap}.atlas-card-body{padding:20px}}@media print{body,.atlas-cert-page{background:white!important}.atlas-no-print{display:none}.atlas-certificate{margin:0 auto;box-shadow:none}}

.atlas-search{display:flex;flex-wrap:wrap;align-items:end;gap:12px;margin:24px 0}.atlas-search label{font-weight:600}.atlas-search input,.atlas-search select{padding:10px 12px;border:1px solid #cbd5e1;border-radius:9px;min-width:180px}.atlas-study-item{padding:12px 0;border-bottom:1px solid #ddd}.atlas-study-item summary{cursor:pointer;font-weight:600}@media(max-width:640px){.atlas-search{flex-direction:column;align-items:stretch}.atlas-search input,.atlas-search select{width:100%}}

.atlas-review{margin-top:1.5rem;padding:1rem;border:1px solid #d8e0ed;border-radius:12px;background:#f8fafc;color:#14243a}.atlas-review li{margin:0 0 .75rem}.atlas-review p{margin:.3rem 0}.atlas-history{margin-top:1rem;padding:1rem;border:1px solid #e0e7ef;border-radius:10px}.atlas-history summary{cursor:pointer;font-weight:600}

/* v2 dashboard summary */
.atlas-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px;margin:20px 0 28px}.atlas-stats>div{border:1px solid #e1e6ed;background:#fff;border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:5px}.atlas-stats strong{font-size:clamp(1.5rem,2.5vw,2.1rem);line-height:1.15;color:#17365d}.atlas-stats span{font-size:.88rem;color:#495468}.atlas-meter{overflow:hidden}
/* Self-hosted lesson tutor, accessible and mobile-friendly. */
.atlas-tutor { margin-block: 1.4rem; }
.atlas-tutor-form { display:flex; flex-direction:column; align-items:flex-start; gap:.65rem; }
.atlas-tutor-form textarea { font:inherit; width:100%; min-width:0; box-sizing:border-box; padding:.8rem; border:1px solid #8e99a4; border-radius:.5rem; color:inherit; background:transparent; }
.atlas-tutor-response { white-space:pre-wrap; overflow-wrap:anywhere; line-height:1.65; margin-block:1rem; }
.atlas-tutor-response:empty { display:none; }
.atlas-tutor small {display:block;opacity:.85;}

/* v3.1 learning paths */
.atlas-prerequisites{border-left:4px solid #635bce}
.atlas-prerequisites ul{margin:1rem 0 0;padding-left:1.5rem}
.atlas-prerequisites li{margin:.6rem 0;line-height:1.5;overflow-wrap:anywhere}
.atlas-prerequisites small{color:#586174;margin-left:.4rem}
.atlas-locked{background:#fffbeb;color:#78350f;border:1px solid #fde68a;padding:12px 16px;border-radius:12px;font-weight:600}
.atlas-tag-locked{display:inline-block;background:#fff2cf;color:#784b13;margin:0 0 0 .35rem}

/* v3.2 read-only gradebook and transcript tables */
.atlas-report-scroll{overflow-x:auto;margin:1rem 0}
.atlas-report-scroll table{border-collapse:collapse;width:100%;min-width:590px;font-size:.94rem}
.atlas-report-scroll th,.atlas-report-scroll td{text-align:left;border-bottom:1px solid #dfe5ee;padding:.7rem .6rem;vertical-align:top}
.atlas-report-scroll th{font-weight:650;background:#f5f7fb}
@media (prefers-color-scheme:dark){.atlas-report-scroll th{background:rgba(128,128,128,.12)}}

/* v3.5 release scheduling */
.atlas-release{color:#755309;background:#fffbeb;border:1px solid #f5d78b;padding:.35rem .65rem;border-radius:8px;font-size:.85rem;max-width:45%;line-height:1.4;overflow-wrap:anywhere}
@media(max-width:600px){.atlas-release{max-width:100%;width:100%;margin-left:2.5rem}}
/* v3.7 private notebook and instructor overview */
.atlas-notebook-box,.atlas-notebook-item{border:1px solid #d9e1e7;padding:1rem;border-radius:12px;margin:1rem 0;background:var(--atlas-surface,#fff)}
.atlas-notebook-item h3{margin:.1rem 0 .35rem}.atlas-notebook-course{font-size:.88rem;opacity:.75}
.atlas-notebook-box textarea{box-sizing:border-box;max-width:100%;line-height:1.55}
.atlas-insights-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,205px),1fr));gap:12px;margin:1.2rem 0}
.atlas-insights-stat{border:1px solid #d9e1e7;padding:14px;border-radius:12px;display:flex;flex-direction:column;gap:8px;min-width:0}
.atlas-insights-stat strong{font-size:1.5rem}.atlas-insights-stat .atlas-meter{width:100%}

/* v3.9 certificate designer: CSS-only presets, keyboard-friendly and printable. */
.atlas-cert-preview{max-width:1000px;border:1px solid #dce1ed;border-radius:10px;padding:12px;background:#f1f5f9;overflow-x:auto}
.atlas-certificate{--atlas-cert-accent:#3730a3;--atlas-cert-soft:#eef2ff;--atlas-cert-contrast:#fff;--atlas-cert-ink:#101828;position:relative;isolation:isolate;overflow:hidden;background:white;color:var(--atlas-cert-ink);width:100%;max-width:900px;min-height:580px;margin:0 auto 24px;padding:clamp(28px,5vw,66px) clamp(18px,4vw,55px);border:10px double var(--atlas-cert-accent);border-radius:8px;text-align:center;box-sizing:border-box}
.atlas-cert-color-teal{--atlas-cert-accent:#115e59;--atlas-cert-soft:#ccfbf1}
.atlas-cert-color-navy{--atlas-cert-accent:#17365d;--atlas-cert-soft:#dbeafe}
.atlas-cert-color-plum{--atlas-cert-accent:#6b2159;--atlas-cert-soft:#fce7f3}
.atlas-certificate .atlas-eyebrow{color:var(--atlas-cert-accent);font-weight:800;letter-spacing:.14em;text-transform:uppercase;font-size:.82rem}
.atlas-certificate .atlas-cert-header{display:flex;flex-direction:column;align-items:center;gap:10px}
.atlas-certificate .atlas-cert-emblem{font-size:31px;color:var(--atlas-cert-accent)}
.atlas-certificate .atlas-cert-body{margin:38px auto 28px}.atlas-certificate .atlas-cert-prelude{font-style:italic}
.atlas-certificate .atlas-cert-body h2{font-size:clamp(26px,5vw,50px);line-height:1.2;color:var(--atlas-cert-ink);margin:16px 0;overflow-wrap:anywhere}
.atlas-certificate .atlas-cert-body h3{font-size:clamp(20px,3.5vw,30px);color:var(--atlas-cert-accent);margin:13px 0;overflow-wrap:anywhere}
.atlas-certificate .atlas-cert-issuer{border-top:1px solid var(--atlas-cert-accent);margin:0 auto 14px;padding:12px 0 0;max-width:310px;display:flex;flex-direction:column;gap:6px}
.atlas-certificate .atlas-cert-issuer strong{font-size:1rem}.atlas-certificate .atlas-cert-issuer span{font-size:.88rem}
.atlas-certificate .atlas-cert-footer{font-size:.8rem;color:#475467}.atlas-certificate .atlas-cert-code{font-size:.77rem;overflow-wrap:anywhere;line-height:1.7}
.atlas-certificate .atlas-cert-code code{white-space:normal;overflow-wrap:anywhere;user-select:all}
.atlas-certificate .atlas-cert-verification{font-size:.88rem}.atlas-certificate .atlas-cert-verification a{color:var(--atlas-cert-accent);text-decoration:underline}
.atlas-cert-layout-modern{border:1px solid #d5dce6;border-radius:14px;box-shadow:0 8px 28px #15233c16;padding-top:0}
.atlas-cert-layout-modern .atlas-cert-header{background:var(--atlas-cert-accent);color:#fff;padding:30px 20px;margin:0 calc(-1 * clamp(18px,4vw,55px)) 35px}
.atlas-cert-layout-modern .atlas-eyebrow,.atlas-cert-layout-modern .atlas-cert-emblem{color:#fff}
.atlas-cert-layout-modern .atlas-cert-body h2{border-bottom:3px solid var(--atlas-cert-soft);padding-bottom:18px}
.atlas-cert-layout-minimal{border:1px solid #b8c2d6;border-left:7px solid var(--atlas-cert-accent);border-radius:0;text-align:left;min-height:500px}
.atlas-cert-layout-minimal .atlas-cert-header{align-items:flex-start;flex-direction:row;justify-content:space-between}
.atlas-cert-layout-minimal .atlas-cert-body{margin:55px 0 32px}
.atlas-cert-layout-minimal .atlas-cert-issuer{margin:0 0 16px;align-items:flex-start}
.atlas-cert-layout-minimal .atlas-cert-bottom{text-align:left}
.atlas-cert-page{background:#f1f4f9;padding:clamp(8px,3vw,32px)}
@media(max-width:600px){.atlas-cert-layout-modern .atlas-cert-header{margin-left:-18px;margin-right:-18px}.atlas-certificate{min-height:0}.atlas-cert-layout-minimal .atlas-cert-header{flex-wrap:wrap}}
@media print{@page{size:A4 landscape;margin:9mm}html,body,.atlas-cert-page{background:#fff!important;margin:0!important;padding:0!important}.atlas-certificate{max-width:none;width:100%;height:auto;min-height:170mm;break-inside:avoid;margin:0!important;box-shadow:none!important;border-color:var(--atlas-cert-accent)!important;-webkit-print-color-adjust:exact;print-color-adjust:exact}.atlas-cert-layout-modern .atlas-cert-header{background:var(--atlas-cert-accent)!important}.atlas-no-print{display:none!important}}
