
/* LMS course management studio */
.lms-heading{margin:0 0 24px}.lms-heading h1,.lms-studio-head h1{font-size:clamp(28px,3.4vw,39px);letter-spacing:-.045em;margin:8px 0}.lms-heading p{margin:0}
.lms-banner{border-radius:18px;background:linear-gradient(115deg,#152c49,#254b77);color:white;padding:30px 35px;display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:22px}.lms-banner h2{font-size:28px;letter-spacing:-.04em;margin:8px 0}.lms-banner p{color:#c6d5e7;max-width:600px;margin:0;line-height:1.5}.lms-banner .eyebrow{color:#f2c779}.lms-create{background:#e6b960!important;border-color:#e6b960!important;color:#1b2b40!important;white-space:nowrap}
.lms-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;margin-bottom:22px}.lms-stats>div{padding:20px 22px;border:1px solid #e4eaf3;border-radius:14px;background:white}.lms-stats span{display:block;color:#77879c;font-size:12px}.lms-stats strong{display:block;font-size:29px;letter-spacing:-.03em;margin:8px 0 1px}
.lms-library{padding:25px}.lms-library-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.lms-library-top h2{margin:0 0 6px}.lms-library-top p{margin:0}.lms-library-top input{width:min(100%,330px);border:1px solid #d3deed;border-radius:10px;padding:12px 14px}
.lms-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.lms-course-card{border:1px solid #e4eaf2;border-radius:15px;overflow:hidden;min-width:0;background:#fff;box-shadow:0 5px 16px #172b4408}.lms-cover{height:155px;background:linear-gradient(130deg,#122e4f,#3b6189);overflow:hidden}.lms-cover img{width:100%;height:100%;object-fit:cover}.lms-cover-placeholder{display:flex;align-items:center;justify-content:center;flex-direction:column;color:#eac17c;font-size:42px;font-weight:900;height:100%;letter-spacing:-.08em}.lms-cover-placeholder span{font-size:10px;color:#d3e0ef;letter-spacing:.2em}
.lms-course-body{padding:19px}.lms-card-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#8190a1;font-size:11px}.lms-course-body h3{font-size:18px;margin:15px 0 8px}.lms-course-body>p{color:#74859b;font-size:13px;line-height:1.5;min-height:38px}.lms-card-details{display:flex;flex-wrap:wrap;gap:8px 12px;color:#7b8b9e;font-size:11px;border-bottom:1px solid #eaf0f6;padding:12px 0 17px}.lms-course-bottom{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:17px}.lms-course-bottom strong{font-size:18px}
.lms-back{display:flex;gap:8px;align-items:center;color:#73849a;font-size:12px;margin:0 0 22px}.lms-back button{background:transparent;border:0;color:#1b4b86;font-weight:750;padding:4px 0}.lms-studio-head{display:flex;justify-content:space-between;align-items:center;gap:18px;margin-bottom:24px}.lms-head-actions{display:flex;gap:9px}.lms-studio-meta{display:flex;align-items:center;flex-wrap:wrap;gap:12px;color:#8290a2;font-size:12px}.lms-tabs{display:flex;gap:26px;border-bottom:1px solid #dce4ee;margin:0 0 24px;overflow-x:auto}.lms-tabs button{background:transparent;border:0;padding:14px 4px;color:#7c8ca1;font-size:14px;font-weight:750;white-space:nowrap}.lms-tabs button.active{color:#184981;border-bottom:3px solid #c49b52}
.lms-two-col{display:grid;grid-template-columns:1.4fr 1fr;gap:20px}.lms-panel-head{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.lms-panel-head h2{margin:0 0 6px}.lms-panel-head p{margin:0}.lms-facts{margin:0}.lms-facts>div{padding:15px 0;border-bottom:1px solid #edf0f5}.lms-facts dt{font-size:11px;text-transform:uppercase;font-weight:800;letter-spacing:.06em;color:#8593a5}.lms-facts dd{margin:6px 0 0;overflow-wrap:anywhere}.lms-checklist p{padding:13px 0;border-bottom:1px solid #eaf0f6;margin:0;color:#435c79}.lms-checklist{margin-bottom:22px}
.lms-module{border:1px solid #dfe7f0;border-radius:13px;margin:18px 0;background:#fff;overflow:hidden}.lms-module-head{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:19px;background:#f8fafc;border-bottom:1px solid #e4ebf4}.lms-module-head>div:first-child{display:flex;align-items:center;gap:13px}.lms-number{width:35px;height:35px;border-radius:9px;background:#e8f0fa;display:grid;place-items:center;color:#23518d;font-weight:800}.lms-module-head h3{font-size:16px;margin:0 0 5px}.lms-module-head p{margin:0;color:#8090a4;font-size:12px}.lms-inline-actions{display:flex;flex-wrap:wrap;align-items:center;gap:7px}.lms-inline-actions button{background:#fff;border:1px solid #d8e2ee;border-radius:7px;padding:7px 9px;color:#24528c;font-size:12px}.lms-inline-actions button.destructive{color:#a23843;border-color:#efdadd}.lms-inline-actions button:disabled{opacity:.35}.lms-lesson-list{padding:10px 18px 18px}.lms-lesson-row{display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #e9edf3;padding:14px 4px}.lms-lesson-row>div:first-child{display:flex;align-items:center;gap:12px}.lms-lesson-icon{width:32px;height:32px;background:#eef3fa;border-radius:8px;color:#356190;display:grid;place-items:center}.lms-lesson-row strong,.lms-lesson-row small{display:block}.lms-lesson-row strong{font-size:13px}.lms-lesson-row small{font-size:11px;color:#8794a6;margin-top:5px;text-transform:capitalize}.lms-add-lesson{padding:13px;width:100%;border:1px dashed #aec0d7;border-radius:10px;background:#f7faff;color:#22518e;font-weight:750;margin-top:14px}.lms-empty{padding:34px 16px;text-align:center;color:#8493a4;background:#f6f9fc;border-radius:10px;font-size:13px}
.lms-status-row{display:flex;justify-content:space-between;align-items:center;padding:18px;background:#f6f9fc;border-radius:12px;margin:18px 0}.lms-drawer{width:min(740px,100%)}.lms-drawer .form-grid .field input[type=checkbox]{display:inline;width:auto;margin-right:8px}.lms-drawer textarea{min-height:120px}
@media(max-width:1250px){.lms-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.lms-two-col{grid-template-columns:1fr}}
@media(max-width:820px){.lms-card-grid{grid-template-columns:1fr}.lms-banner,.lms-studio-head{flex-direction:column;align-items:stretch}.lms-library-top{align-items:stretch;flex-direction:column}.lms-library-top input{width:100%}.lms-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.lms-module-head,.lms-lesson-row{flex-direction:column;align-items:flex-start}.lms-head-actions{flex-wrap:wrap}}
@media(max-width:460px){.lms-stats>div{padding:14px}.lms-stats strong{font-size:23px}.lms-library{padding:16px}.lms-banner{padding:24px}.lms-course-bottom{flex-wrap:wrap}}

/* Full-page course editor and branded confirmation surfaces */
.lms-fullpage-editor{max-width:1120px;padding:32px}
.lms-fullpage-editor .form-grid{margin:6px 0 26px;grid-template-columns:repeat(2,minmax(0,1fr))}
.lms-fullpage-editor .form-grid .field.wide{grid-column:1/-1}
.lms-fullpage-editor .form-grid textarea{min-height:145px;resize:vertical}
.lms-fullpage-editor .form-grid input[type=checkbox]{width:auto;display:inline;margin-right:8px}
.lms-fullpage-editor .form-actions{border-top:1px solid #e8edf4;padding-top:22px}
.lms-confirm-backdrop{position:fixed;inset:0;background:#091b33b3;z-index:70;display:grid;place-items:center;padding:20px}
.lms-confirm{background:white;width:min(100%,450px);border-radius:18px;padding:30px;box-shadow:0 25px 70px #08192d55}
.lms-confirm-brand{font-weight:900;color:#c39a50;font-size:25px;display:flex;align-items:center;gap:12px}
.lms-confirm-brand span{font-size:10px;color:#294360;letter-spacing:.15em}
.lms-confirm h2{font-size:25px;letter-spacing:-.04em;margin:23px 0 7px;color:#162d49}
.lms-confirm p{line-height:1.6;color:#657891;font-size:14px}
.lms-confirm .field{margin:20px 0}
.lms-confirm .field input{width:100%;display:block;margin-top:7px;border:1px solid #cfdaea;padding:12px;border-radius:10px}
.lms-confirm-actions{display:flex;gap:10px;justify-content:flex-end;margin-top:24px}
@media(max-width:720px){.lms-fullpage-editor{padding:18px}.lms-fullpage-editor .form-grid{grid-template-columns:1fr}.lms-confirm{padding:22px}}

/* Andre Erving visual curriculum builder — mockup-matched desktop layout */
.lms-builder-breadcrumb{display:flex;align-items:center;gap:8px;margin:0 0 24px;font-size:12px;color:#8490a1}
.lms-builder-breadcrumb button{border:0;background:none;padding:5px 0;color:#536781;font-size:13px;cursor:pointer}
.lms-builder-top{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:22px}
.lms-builder-identity{display:flex;align-items:center;gap:17px;min-width:0}
.lms-builder-book{flex:0 0 auto;width:50px;height:50px;display:grid;place-items:center;background:#fdf1de;color:#b07a25;border-radius:12px;font-size:28px}
.lms-builder-title{display:flex;gap:15px;align-items:center;flex-wrap:wrap}
.lms-builder-title h1{font-size:clamp(25px,2.6vw,33px);font-weight:800;letter-spacing:-.04em;margin:0;color:#14243d}
.lms-course-kind{background:#f9e8cd;border-radius:25px;padding:5px 13px;font-size:12px;color:#70460f;font-weight:750}
.lms-builder-sub{font-size:12px;margin-top:5px;color:#8592a5;text-transform:capitalize}
.lms-builder-sub span{margin-left:5px}
.lms-builder-actions{display:flex;align-items:center;gap:10px}
.lms-white-action,.lms-outline-add{white-space:nowrap;background:#fff;border:1px solid #d4deec;border-radius:11px;padding:11px 15px;font-size:13px;color:#213950;font-weight:700}
.lms-white-action:hover,.lms-outline-add:hover{background:#f6f9fd}
.lms-gold-action{background:#cb941e;border:1px solid #bf8817;color:#fff;font-size:13px;font-weight:800;border-radius:10px;padding:12px 21px;min-width:115px}
.lms-gold-action:hover{background:#b98315}
.lms-add-container{position:relative}
.lms-add-dropdown{position:absolute;right:0;top:calc(100% + 5px);min-width:215px;z-index:16;background:#fff;border:1px solid #dce5ee;border-radius:12px;box-shadow:0 15px 38px #09254022;padding:10px;display:grid}
.lms-add-dropdown[hidden],.lms-section-popover[hidden],.lms-builder-section-content[hidden]{display:none!important}
.lms-add-dropdown button,.lms-section-popover button{border:0;background:none;text-align:left;padding:11px 10px;border-radius:8px;color:#253b5c;font-size:13px}
.lms-add-dropdown button:hover,.lms-section-popover button:hover{background:#eef3f9}
.lms-menu-heading{font-size:10px;color:#95a0b1;letter-spacing:.12em;padding:9px 10px 5px;font-weight:800}
.lms-builder-tabs{display:flex;gap:28px;border-bottom:1px solid #e0e6ed;margin-bottom:24px;overflow-x:auto}
.lms-builder-tabs button{border:0;background:none;color:#35465b;padding:13px 5px 14px;font-size:14px;font-weight:650;white-space:nowrap}
.lms-builder-tabs button.active{border-bottom:3px solid #c39332;color:#8a5e16;font-weight:800}
.lms-builder-panel{border:1px solid #dfe6ee;border-radius:14px;background:#fff;padding:0 0 16px;box-shadow:0 5px 20px #18355406}
.lms-content-heading{padding:21px 23px;display:flex;align-items:center;justify-content:space-between;gap:20px;border-bottom:1px solid #e6ebf1;margin-bottom:0}
.lms-content-heading h2{margin:0;font-size:18px;letter-spacing:-.01em}
.lms-content-heading p{margin:5px 0 0;color:#8291a3;font-size:12px}
.lms-section-stack{padding:17px 20px 10px;display:grid;gap:15px}
.lms-builder-section{border:1px solid #dde5ef;border-radius:13px;background:#fff;min-width:0;box-shadow:0 1px 7px #0c244208}
.lms-builder-section-header{display:flex;align-items:center;gap:10px;padding:13px 17px;position:relative;min-height:62px}
.lms-drag-handle{font-size:20px;line-height:1;color:#70829a;cursor:grab;user-select:none;touch-action:none}
.lms-drag-handle:active{cursor:grabbing}
.lms-collapse,.lms-collapse-end,.lms-dots{border:0;background:transparent;color:#233d59;padding:5px;font-size:19px;cursor:pointer}
.lms-section-name{font-weight:800;font-size:15px;color:#14243b;text-align:left;background:transparent;border:0;padding:4px 0}
.lms-section-name:hover,.lms-step-name:hover{text-decoration:underline;text-decoration-color:#c89c4c;text-underline-offset:3px}
.lms-lesson-count{font-size:11px;color:#4c5c73;background:#e8eef6;border-radius:14px;padding:5px 10px;font-weight:750;white-space:nowrap}
.lms-inline-spacer{flex:1}
.lms-section-popover{display:grid;position:absolute;right:42px;top:44px;z-index:13;border:1px solid #dce5ee;border-radius:10px;background:#fff;box-shadow:0 14px 30px #132a452b;padding:7px;min-width:180px}
.lms-builder-section-content{padding:0 19px 10px 56px}
.lms-lesson-dropzone{border:1px solid #e0e7ef;border-radius:9px;overflow:hidden;min-height:42px}
.lms-step{display:flex;align-items:center;gap:15px;padding:9px 15px;min-height:52px;border-bottom:1px solid #e3e9f2;position:relative;background:#fff}
.lms-step:last-child{border-bottom:0}
.lms-step:hover,.lms-step:focus-within{background:#f0f5fc}
.lms-step-type-icon{width:20px;text-align:center;font-size:21px;color:#1d395b}
.lms-lesson-drag{font-size:17px}
.lms-step-name{background:none;border:0;color:#19324d;text-align:left;font-weight:600;font-size:13px;padding:5px 0;max-width:60%;overflow-wrap:anywhere}
.lms-type-badge{font-size:11px;font-weight:700;color:#2d4b70;border-radius:99px;padding:4px 10px;background:#e8effb;white-space:nowrap}
.lms-type-badge.video{background:#ece7ff;color:#5d4d9a}
.lms-type-badge.quiz{background:#def5e9;color:#246954}
.lms-type-badge.download{background:#fff0d8;color:#805517}
.lms-step-actions{margin-left:auto;display:flex;gap:5px;opacity:0;transition:opacity .12s}
.lms-step:hover .lms-step-actions,.lms-step:focus-within .lms-step-actions{opacity:1}
.lms-step-actions button{border:1px solid #e3e9f0;background:#fff;color:#244768;border-radius:7px;min-width:32px;height:30px;font-size:15px}
.lms-step-actions button:hover{background:#e7eef8}
.lms-step-actions .lms-delete-action{color:#bc3b45}
.lms-section-foot{display:flex;align-items:center;gap:14px;padding:13px 3px 5px}
.lms-section-foot button{border:0;background:none;color:#b47b16;font-size:12px;font-weight:750;padding:5px 0}
.lms-section-foot button:hover{text-decoration:underline}
.lms-foot-divider{height:16px;width:1px;background:#ccd8e8}
.lms-drop-empty{font-size:12px;color:#8191a6;text-align:center;padding:20px;background:#f8fafc}
.lms-blank-curriculum{border:1px dashed #aebed0;border-radius:12px;padding:45px}
.lms-dragging{opacity:.45}
.lms-drag-over{outline:3px solid #c99b49!important;outline-offset:-2px;background:#fdf5e6!important}
.lms-preview-content{padding:20px 23px}
.lms-preview-section{margin:0 0 20px;border-bottom:1px solid #e0e8f0;padding-bottom:20px}
.lms-preview-section h3{font-size:17px}.lms-preview-section>p{color:#7b8b9b}
.lms-preview-lesson{padding:12px;border:1px solid #e1e8f0;border-radius:8px;margin:8px 0}
.lms-preview-lesson strong{margin-right:12px}.lms-preview-lesson p{color:#667890;font-size:12px}
.lms-picker{width:min(100%,550px)}
.lms-choose-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:11px;margin-top:18px}
.lms-choose-grid button{display:flex;align-items:center;gap:13px;background:#f6f9fc;border:1px solid #dce5ed;border-radius:10px;padding:17px;text-align:left;font-weight:750;color:#243b56}
.lms-choose-grid button:hover{background:#e9f1fc;border-color:#d8ad5c}
.lms-choose-grid span{font-size:22px;color:#bd8a2c}
@media(max-width:1100px){.lms-builder-top{flex-wrap:wrap}.lms-builder-actions{width:100%;justify-content:flex-end}}
@media(max-width:750px){.lms-builder-actions{justify-content:flex-start;flex-wrap:wrap}.lms-builder-title h1{font-size:25px}.lms-content-heading{padding:16px;align-items:flex-start;flex-wrap:wrap}.lms-section-stack{padding:12px}.lms-builder-section-header{padding:10px;flex-wrap:wrap}.lms-builder-section-content{padding:0 8px 9px 12px}.lms-step{gap:8px;flex-wrap:wrap}.lms-step-name{max-width:calc(100% - 120px)}.lms-step-actions{opacity:1}.lms-white-action{padding:10px}.lms-choose-grid{grid-template-columns:1fr}}

/* AE lesson authoring workspace */
.ae-studio-page{max-width:1520px;margin:auto}.ae-studio-head{margin:0 0 25px}
.ae-studio-back{border:0;background:transparent;padding:7px 0;color:#2d598c;font-weight:750;font-size:13px;margin-bottom:17px}
.ae-studio-heading{display:flex;align-items:center;justify-content:space-between;gap:20px}
.ae-studio-heading h1{font-size:clamp(30px,3vw,41px);letter-spacing:-.05em;margin:7px 0}
.ae-studio-heading p{color:#8090a3;margin:0;font-size:13px}
.ae-studio-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#ae-studio-status{color:#77899e;font-size:12px;margin-right:7px}
.ae-studio-grid{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:22px;align-items:start}
.ae-studio-main{display:grid;gap:20px;min-width:0}
.ae-studio-card{border:1px solid #e0e8f2;border-radius:17px;background:#fff;padding:clamp(19px,2.3vw,28px);box-shadow:0 5px 19px #172d4907}
.ae-studio-card h2{font-size:19px;letter-spacing:-.02em;margin:10px 0 15px;color:#173050}
.ae-studio-card h3{font-size:17px;margin:0 0 18px;color:#193655}
.ae-studio-card>p{color:#7b8b9c;font-size:13px;line-height:1.65}
.ae-studio-title{border:0;border-bottom:1px solid #e1e7ee;background:transparent;display:block;width:100%;padding:17px 0;margin:6px 0 20px;font-size:clamp(21px,2vw,28px);font-weight:750;letter-spacing:-.025em;color:#162d49;outline:none}
.ae-studio-title:focus{border-bottom-color:#c7994d}
.ae-studio-types{display:flex;flex-wrap:wrap;gap:9px}
.ae-studio-types button{border:1px solid #d9e2ed;border-radius:10px;background:#f8fafd;color:#526b87;padding:11px 17px;font-size:13px;font-weight:750;display:flex;gap:10px;align-items:center}
.ae-studio-types button span{font-size:20px}
.ae-studio-types button.active{background:#fdf4e7;color:#956916;border-color:#cb9c4f;box-shadow:0 0 0 1px #cb9c4f1a}
.ae-studio-sidebar{display:grid;gap:17px}
.ae-studio-sidebar label{font-size:12px;font-weight:750;color:#415a77;display:block;margin-top:19px}
.ae-studio-sidebar select,.ae-studio-sidebar input[type=number]{display:block;margin-top:8px;width:100%;border:1px solid #d4dfed;border-radius:9px;padding:12px;color:#213c5a;background:#fff}
.ae-studio-sidebar .ae-studio-toggle{display:flex;align-items:center;gap:10px;margin:24px 0 0}
.ae-studio-sidebar .ae-studio-toggle input{accent-color:#c79443;width:17px;height:17px}
.ae-formatbar{display:flex;gap:5px;flex-wrap:wrap;background:#f8fafc;border:1px solid #e2e8f1;border-bottom:0;padding:9px;border-radius:10px 10px 0 0}
.ae-formatbar button{min-width:35px;padding:8px;border:0;border-radius:6px;background:transparent;color:#344b68;font-size:12px}
.ae-formatbar button:hover{background:#e6edf7}
.ae-rich{border:1px solid #dce5ef;padding:24px;outline:none;min-height:360px;border-radius:0 0 10px 10px;line-height:1.75;color:#243c5b;font-size:15px;overflow-wrap:anywhere}
.ae-rich:focus{border-color:#c49751}.ae-rich-short{min-height:145px;border-radius:10px}
.ae-rich:empty:before{content:attr(data-placeholder);color:#a2aebe}
.ae-rich h2{font-size:24px}.ae-rich h3{font-size:19px}
.ae-rich blockquote{border-left:3px solid #cea458;padding:10px 15px;margin-left:0;color:#657a90}
.ae-upload-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;border:2px dashed #adbed4;background:#f8fafc;border-radius:14px;min-height:225px;cursor:pointer;text-align:center;padding:24px;color:#244368}
.ae-upload-drop:hover,.ae-upload-drop.hover{border-color:#c39750;background:#fffaf2}
.ae-upload-drop input{position:absolute;width:1px;height:1px;opacity:0}
.ae-upload-drop strong{font-size:16px}
.ae-upload-drop small{font-size:12px;color:#7d8ea4}
.ae-upload-glyph{width:55px;height:55px;border-radius:14px;background:#e7edf7;display:grid;place-items:center;font-size:30px;color:#bc8d44}
#ae-video-name{margin:13px 0;font-size:12px;color:#516a88}
#ae-upload-progress{width:100%;height:11px;accent-color:#c49954;margin:5px 0 12px}
.ae-video-sample video{display:block;width:100%;max-height:440px;background:#10243f;border-radius:10px}
.ae-media-label{font-size:13px;font-weight:750;display:block}
.ae-media-label input{margin-top:10px;border:1px solid #d7e2ee;border-radius:10px;width:100%;padding:14px;font-size:13px}
.ae-question{border:1px solid #dfe8f0;border-radius:12px;padding:20px;margin:16px 0;background:#fbfcfe}
.ae-question-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}
.ae-question-heading strong{color:#214267}
.ae-question-heading button{background:transparent;border:0;color:#b13b44;font-size:12px}
.ae-question-prompt{display:block;width:100%;padding:13px;border:1px solid #dae3ee;border-radius:9px;margin-bottom:15px}
.ae-answer-row{display:flex;align-items:center;gap:12px;margin:9px 0}
.ae-answer-row>span{background:#ecf2f9;border-radius:8px;min-width:30px;height:32px;display:grid;place-items:center;color:#56718f;font-size:12px}
.ae-answer-row>input:last-child{width:100%;border:1px solid #dce4ee;border-radius:9px;padding:11px}
.ae-answer-row>input:first-child{accent-color:#c69a4b}
.ae-question small{font-size:11px;color:#8291a3}
.ae-add-block{padding:14px 19px;background:#f7faff;border:1px dashed #bdcce0;border-radius:9px;color:#295889;font-weight:750}
.ae-studio-preview{background:#fff;border-radius:17px;padding:25px;width:min(750px,95vw);max-height:85vh;overflow-y:auto}
.ae-preview-content{max-height:70vh;overflow-y:auto;padding:15px 0;line-height:1.8}
.ae-preview-content video{width:100%;max-height:420px}
@media(max-width:1050px){.ae-studio-grid{grid-template-columns:1fr}.ae-studio-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.ae-studio-heading{display:block}.ae-studio-actions{margin-top:18px}.ae-studio-sidebar{grid-template-columns:1fr}.ae-rich{padding:16px;min-height:260px}.ae-answer-row{gap:6px}.ae-studio-types button{padding:9px 12px}}

/* Inline curriculum canvas editing */
.ae-inline-section{display:grid;gap:12px;border:1px solid #cfb17e;background:#fffaf1;border-radius:12px;padding:20px;margin:0 0 15px;min-width:0}
.ae-inline-section input,.ae-inline-section textarea{border:1px solid #d7e1eb;border-radius:9px;background:#fff;padding:13px;font:inherit;font-size:14px;min-width:0;width:100%}
.ae-inline-section textarea{min-height:75px;resize:vertical}
.ae-inline-section>div{display:flex;gap:10px;align-items:center}
.ae-inline-section-small{display:flex;flex:1;align-items:center;margin:0 8px 0 0;padding:5px 7px;gap:8px}
.ae-inline-section-small input{flex:1;min-width:120px}
.ae-inline-section-small button{white-space:nowrap}
@media(max-width:750px){.ae-inline-section-small{flex-wrap:wrap}.ae-inline-section-small input{width:100%}}

/* Instructor preview — course-style learning workspace */
.ae-preview-shell{display:grid;grid-template-columns:minmax(235px,290px) minmax(0,1fr);min-height:620px;border:1px solid #e2e8f0;border-radius:16px;background:#fff;overflow:hidden}
.ae-preview-outline{background:#f9fbfe;border-right:1px solid #dfe8f1;max-height:780px;overflow:auto}
.ae-preview-outline-header{padding:24px 20px 20px;border-bottom:1px solid #e1e9f1}
.ae-preview-outline-header h2{font-size:20px;margin:8px 0;letter-spacing:-.03em;color:#1c3554}
.ae-preview-outline-header p{font-size:12px;color:#7d8da1;margin:0}
.ae-preview-outline-section{padding:13px 12px 5px}
.ae-preview-outline-section h3{font-size:12px;margin:8px;color:#516b88;line-height:1.4}
.ae-preview-select{display:flex;align-items:center;gap:12px;padding:12px;border:0;background:transparent;color:#294262;text-align:left;font-size:13px;width:100%;border-radius:10px}
.ae-preview-select span{font-size:18px;color:#9e7a3c}
.ae-preview-select:hover,.ae-preview-select.active{background:#e8f0fb;color:#153f77}
.ae-preview-select.active{box-shadow:inset 3px 0 #cca65d;font-weight:750}
.ae-preview-stage{padding:clamp(18px,3vw,36px);min-width:0}
.ae-preview-stage-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;padding-bottom:23px}
.ae-preview-stage-head h1{font-size:clamp(24px,3vw,35px);letter-spacing:-.045em;margin:8px 0;color:#142d4b}
.ae-preview-stage-head p{font-size:12px;color:#8a97aa;margin:0}
.ae-preview-stage-body{padding:clamp(20px,3vw,35px);border:1px solid #e0e7ef;border-radius:13px;min-height:300px;line-height:1.75;color:#263f60;overflow-wrap:anywhere}
.ae-preview-stage-body h2,.ae-preview-stage-body h3{color:#122e50;letter-spacing:-.025em}
.ae-preview-stage-body blockquote{margin-left:0;padding-left:20px;border-left:3px solid #cda25c}
.ae-preview-stage-foot{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:24px;font-size:12px;color:#8090a5}
.ae-preview-stage-foot button:disabled{opacity:.45;cursor:not-allowed}
.ae-preview-question{border:1px solid #e3eaf2;border-radius:11px;padding:18px;margin:15px 0}
.ae-preview-question h3{font-size:15px}
.ae-preview-option{padding:9px;background:#f6f8fb;border-radius:7px;margin:7px 0;font-size:13px}
.ae-preview-video{background:#11243d;color:#fff;min-height:220px;border-radius:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:7px;padding:20px}
.ae-preview-video span{font-size:40px;color:#dab76e}
.ae-preview-video p{margin:0;font-size:12px;color:#c1d2e3}
.ae-preview-resource{background:#f7f9fd;border:1px solid #e3eaf2;border-radius:12px;padding:20px}
.ae-preview-resource p{color:#71849b;font-size:13px}
.ae-resource-name{font-size:12px;color:#60748f;margin:14px 0}
.ae-resource-advanced{margin-top:15px;font-size:12px;color:#526e90}
.ae-resource-advanced summary{cursor:pointer;font-weight:700;margin-bottom:14px}
@media(max-width:850px){.ae-preview-shell{grid-template-columns:1fr}.ae-preview-outline{max-height:270px;border-right:0;border-bottom:1px solid #e2e8f0}.ae-preview-stage-head{flex-wrap:wrap}}

/* Enrolled learner progress scorecard */
.lms-participant-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:14px 0 23px}
.lms-participant-stats>div{border:1px solid #e1e9f3;border-radius:12px;background:#fafcff;padding:19px}
.lms-participant-stats span{display:block;font-size:12px;color:#7e91a5}
.lms-participant-stats strong{display:block;margin-top:8px;font-size:26px;letter-spacing:-.04em;color:#183352}
.lms-students-panel .tablewrap table{width:100%}
.lms-student-progress{min-width:150px}
.lms-student-progress-label{display:flex;justify-content:space-between;gap:13px;font-size:11px;color:#70859d;margin-bottom:7px}
.lms-student-progress-label strong{color:#25486d}
.lms-student-meter{height:7px;background:#e7edf5;border-radius:99px;overflow:hidden}
.lms-student-meter span{display:block;height:100%;background:#caa052;border-radius:inherit;transition:width .3s}
@media(max-width:720px){.lms-participant-stats{grid-template-columns:1fr;gap:9px}.lms-participant-stats>div{padding:14px}}

/* Multimedia lesson editing + mobile-friendly audio player */
.ae-lesson-help{padding:11px 14px;border:1px solid #e2e8f1;border-bottom:0;color:#70849c;font-size:12px;background:#fff}
.ae-toolbar-separator{display:inline-block;width:1px;background:#d6deea;margin:3px 8px}
.ae-formatbar #ae-insert-image,.ae-formatbar #ae-insert-audio{border:1px solid #e5c896;background:#fff9ef;color:#94641c;font-weight:750;padding:8px 13px}
.ae-formatbar #ae-insert-image:hover,.ae-formatbar #ae-insert-audio:hover{background:#faeacf}
.ae-formatbar button:disabled{opacity:.4;cursor:wait}
.ae-rich .ae-media-block,.ae-preview-content .ae-media-block,.ae-preview-stage-body .ae-media-block{display:block;margin:24px 0;padding:17px;border:1px solid #dce5f0;background:#f8fafd;border-radius:12px;line-height:1.45;color:#5c7290;max-width:100%;min-height:85px}
.ae-rich .ae-media-block{cursor:default;box-shadow:inset 3px 0 #cca35e}
.ae-media-block img{display:block;width:auto;max-width:100%;height:auto;max-height:600px;object-fit:contain;margin:auto;border-radius:7px}
.ae-media-block audio{width:100%;display:block;min-height:54px;accent-color:#c99d53}
.ae-media-block figcaption{margin-top:10px;font-size:12px;color:#687d96;text-align:center;overflow-wrap:anywhere}
.ae-preview-stage-body{font-size:15px}
@media(max-width:680px){.ae-formatbar{gap:4px}.ae-formatbar #ae-insert-image,.ae-formatbar #ae-insert-audio{flex:1}.ae-media-block{padding:10px!important}}
