/* Mature course-authoring surfaces layered onto the EmergeLMS platform shell. */
.course-tabs{display:flex;gap:28px;margin:-6px 0 30px;border-bottom:1px solid var(--line)}
.course-tabs a{position:relative;padding:15px 2px 14px;color:var(--muted);font-size:13px;font-weight:750;text-decoration:none}
.course-tabs a:hover{color:#dcebf6;background:transparent}.course-tabs a.active{color:#fff;background:transparent;box-shadow:none}.course-tabs a.active:after{content:"";position:absolute;right:0;bottom:-1px;left:0;height:3px;border-radius:3px 3px 0 0;background:#53d3f5}
.course-form{width:100%;max-width:none}.course-form-panel .panel-heading{align-items:flex-start}.course-form-panel .panel-heading p{margin:5px 0 0;color:var(--muted);font-size:12px}.course-details-grid{display:grid;grid-template-columns:2fr 1fr;gap:22px}.course-details-grid>.field-span{grid-column:1/-1}.course-form>button[type=submit]{margin-top:22px;min-width:150px}
.course-more{position:relative;margin:0;padding:0;border:0}.course-more>summary{list-style:none;cursor:pointer}.course-more>summary::-webkit-details-marker,.builder-menu>summary::-webkit-details-marker{display:none}.course-menu,.builder-menu>div{position:absolute;right:0;z-index:20;width:210px;padding:7px;border:1px solid #28475c;border-radius:11px;background:#0a192b;box-shadow:0 20px 45px rgba(0,0,0,.42)}
.course-menu{top:calc(100% + 8px)}.course-menu button,.course-menu form button,.builder-menu>div button{display:block;width:100%;min-height:40px;padding:9px 12px;border:0;border-radius:7px;background:transparent;color:#dcebf6;text-align:left;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.course-menu button:hover,.builder-menu>div button:hover{background:rgba(88,154,211,.13)}.course-menu form{margin:0}.course-menu form .form-error{display:none}.course-menu form button{box-shadow:none}.course-menu form button:hover{transform:none;box-shadow:none}
.curriculum-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:0 0 18px}.curriculum-heading h2{margin:4px 0 5px;font-size:22px}.curriculum-heading p{margin:0;color:var(--muted);font-size:12px}.course-builder{display:grid;isolation:isolate;gap:16px}
.module-card{overflow:visible}.module-header{display:flex;align-items:flex-start;gap:13px;min-height:92px;padding:20px 22px;border-bottom:1px solid var(--line);background:linear-gradient(110deg,rgba(15,43,70,.72),rgba(8,24,42,.62));border-radius:inherit}.module-heading{flex:1;min-width:0}.module-heading .eyebrow{margin:0 0 7px;font-size:9px}.module-heading h3{margin:0;color:#f3f7fb;font-size:17px}.module-heading>p:last-child{margin:6px 0 0;color:var(--muted);font-size:12px;line-height:1.55}.content-count{margin-top:8px;color:var(--muted);font-size:10px;font-weight:750;white-space:nowrap}
.drag-handle,.module-toggle{display:inline-flex;align-items:center;justify-content:center;width:30px;height:34px;padding:0;border:0;background:transparent;color:#718aa2;font-size:18px;cursor:grab}.drag-handle:active{cursor:grabbing}.module-toggle{cursor:pointer;font-size:16px;transition:transform .18s}.module-card.collapsed .module-toggle{transform:rotate(-90deg)}.module-card.collapsed .module-body{display:none}.module-card.collapsed .module-header{border-bottom:0}
.builder-menu{position:relative;margin:0;padding:0;border:0}.builder-menu>summary{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border:1px solid #2b4b63;border-radius:9px;color:#b8c9d7;font-size:17px;letter-spacing:2px;cursor:pointer}.builder-menu>summary:hover{border-color:#4f7894;background:rgba(61,112,151,.16)}.builder-menu>div{top:44px}.builder-menu>div .danger{color:#ffb3bf}
.module-card,.module-item-row{position:relative;z-index:0}.module-card:has(.builder-menu[open]){z-index:40}.module-item-row:has(.builder-menu[open]){z-index:41}.builder-menu[open]{z-index:42}.builder-menu[open]>div{z-index:43}
.module-items{min-height:2px}.module-item-row{display:flex;align-items:center;gap:14px;min-height:72px;padding:12px 22px;border-bottom:1px solid rgba(39,66,88,.72);background:rgba(7,20,35,.28);transition:background .15s,border-color .15s}.module-item-row:hover{background:rgba(18,45,72,.52)}.module-item-row:last-child{border-bottom:0}.module-item-row .drag-handle{opacity:.4}.module-item-row:hover .drag-handle{opacity:1}.item-type-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;border:1px solid #31566f;border-radius:10px;background:#112941;color:#7edfff;font-size:16px}.item-type-icon.type-audio{color:#b6a8ff}.item-type-icon.type-video{color:#87e4c3}
.item-label{display:block;flex:1;min-width:0;color:inherit;text-decoration:none}.item-label[href]:hover strong{text-decoration:underline;text-underline-offset:4px}.item-label strong{display:block;color:#edf5fb;font-size:14px}.item-label small{display:block;margin-top:5px;color:var(--muted);font-size:10px}.module-empty{padding:24px;text-align:center;color:var(--muted)}
.add-content-row,.add-module-row{display:flex;align-items:center;gap:11px;width:100%;min-height:50px;padding:13px 24px;border:0;background:rgba(8,23,40,.56);color:#8edff5;font-size:12px;font-weight:750;text-decoration:none;cursor:pointer}.add-content-row:hover{background:rgba(18,52,80,.55)}.add-content-row span,.add-module-row span{font-size:18px;font-weight:400}.add-module-row{justify-content:center;margin:2px 0 0;border:1px dashed #34536a;border-radius:12px;background:transparent}.add-module-row:hover{border-color:#65cce9;background:rgba(29,91,126,.12)}
.builder-empty{padding:54px 28px;text-align:center}.builder-empty h2{margin:16px 0 7px}.builder-empty p{max-width:620px;margin:0 auto 22px;color:var(--muted);line-height:1.7}.module-dialog{width:min(620px,calc(100vw - 28px))}.module-dialog form{padding:22px}
[data-builder-node].is-dragging{opacity:.34}[data-builder-list].drag-target{outline:2px dashed rgba(88,210,242,.55);outline-offset:4px;border-radius:12px}
.content-picker-heading{margin:0 0 24px}.content-picker-heading h2{margin:5px 0 7px;font-size:23px}.content-picker-heading p{margin:0;color:var(--muted)}.type-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.content-type-card{display:flex;align-items:flex-start;gap:17px;min-height:138px;padding:22px;border:1px solid #28475c;border-radius:14px;background:linear-gradient(135deg,rgba(15,40,67,.78),rgba(7,21,38,.82));color:inherit;text-decoration:none;transition:transform .16s,border-color .16s,background .16s}.content-type-card:hover{transform:translateY(-2px);border-color:#5dbfdd;background:linear-gradient(135deg,rgba(20,53,86,.9),rgba(9,27,48,.94))}.content-type-card h2{margin:1px 0 7px;font-size:17px}.content-type-card p{min-height:38px;margin:0 0 13px;color:var(--muted);font-size:11px;line-height:1.55}.content-type-card strong{color:#76dcf7;font-size:11px}
.extension-list{overflow:hidden;border-top:1px solid var(--line)}.extension-list-row{display:grid;grid-template-columns:minmax(220px,1fr) auto minmax(300px,auto);align-items:center;gap:20px;padding:15px 2px;border-bottom:1px solid var(--line)}.extension-list-identity{display:flex;align-items:center;min-width:0;gap:12px}.extension-list-identity .item-type-icon{width:36px;height:36px;flex:0 0 36px;border-radius:9px}.extension-list-identity h2{margin:0 0 3px;font-size:15px}.extension-list-identity small{color:var(--muted);font-size:10px}.extension-list-status{min-width:82px;color:var(--muted);font-size:10px;font-weight:800;text-align:center;text-transform:uppercase;letter-spacing:.08em}.extension-list-status.enabled{color:#75e9bd}.extension-list-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px}.extension-list-actions .stack{gap:0}.extension-list-actions .form-error:not([hidden]){display:block;max-width:340px;white-space:normal;overflow-wrap:anywhere;margin:0 0 10px;font-size:12px;line-height:1.5}.extension-list-actions .form-error[hidden]{display:none}.extension-list-actions .button{min-height:34px;padding:8px 12px;font-size:10px}.extension-list-actions form .button{background:#10283e;border-color:#31536c;box-shadow:none}.extension-list-actions .extension-action-uninstall .button{border-color:transparent;background:transparent;color:#a6b5c6}.extension-list-actions .extension-action-uninstall .button:hover{border-color:#75404c;color:#ffd2da}.extension-settings-page{max-width:920px}
.item-editor-form{width:100%;max-width:none}.item-editor-meta{display:flex;align-items:center;gap:13px;margin:0 0 18px}.item-editor-meta .item-type-icon{width:34px;height:34px;flex-basis:34px;border-radius:9px}.item-editor-meta p{margin:0}.item-editor-meta .eyebrow{margin-bottom:4px}.item-editor-meta p:last-child{color:var(--muted);font-size:11px}.item-editor-canvas{overflow:hidden;border:1px solid var(--line);border-radius:15px;background:linear-gradient(135deg,rgba(14,39,65,.82),rgba(7,21,37,.88));box-shadow:0 18px 50px rgba(0,0,0,.18)}.item-title-field{padding:24px 28px;border-bottom:1px solid var(--line)}.item-title-field input{font-size:17px;font-weight:750}.item-extension-editor{padding:0}.item-extension-editor>.field,.item-extension-editor>.settings-grid,.item-extension-editor>[data-question-editor],.item-extension-editor>.button{margin-right:28px;margin-left:28px}.item-extension-editor>.field:first-child,.item-extension-editor>.settings-grid:first-child{margin-top:24px}.item-extension-editor>.field:last-child,.item-extension-editor>.settings-grid:last-child,.item-extension-editor>.button:last-child{margin-bottom:24px}.item-supplemental{padding:20px 28px;border-top:1px solid var(--line);background:rgba(4,15,27,.34)}.item-supplemental .field{margin:0}.item-supplemental .field>span:first-child{font-size:12px}.item-supplemental .check{margin-top:8px;color:var(--muted);font-size:11px}.editor-actions{position:sticky;z-index:8;bottom:0;display:flex;justify-content:flex-end;gap:10px;margin-top:24px;padding:14px 0;background:linear-gradient(180deg,transparent,#050b15 28%)}
.learner-shell .workspace .learner-main.course-player-main{width:auto;max-width:none;margin:0;padding:0 0 108px}.course-player-main{min-height:calc(100vh - 86px)}.course-player{position:relative;min-height:calc(100vh - 86px);padding-bottom:108px}.course-player-top{position:sticky;z-index:35;top:0;display:grid;grid-template-columns:auto minmax(160px,1fr) minmax(180px,260px) auto;align-items:center;gap:18px;min-height:76px;padding:11px clamp(18px,3vw,48px);border-bottom:1px solid #1c3449;background:rgba(5,13,25,.94);box-shadow:0 12px 30px rgba(0,0,0,.18);backdrop-filter:blur(18px)}
.course-player-brand{display:flex;align-items:center;gap:10px;color:#f4f8fc;text-decoration:none;white-space:nowrap}.course-player-brand img{display:block;width:auto;max-width:150px;height:38px;object-fit:contain}.course-player-brand>span{display:grid;width:38px;height:38px;place-items:center;border-radius:10px;background:linear-gradient(135deg,#27bde9,#6556ff);font-size:22px;font-weight:850}.course-player-brand strong{font-size:17px}.course-contents-button{min-height:42px;white-space:nowrap}.course-contents-button span{margin-right:5px;font-size:18px}.course-player-context{min-width:0;padding-left:4px}.course-player-context strong,.course-player-context span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.course-player-context strong{color:#edf5fb;font-size:13px}.course-player-context span{margin-top:3px;color:#7f96aa;font-size:11px}.course-player-progress>div{display:flex;justify-content:space-between;gap:10px;margin-bottom:7px;color:#8ba0b3;font-size:9px;font-weight:750;text-transform:uppercase;letter-spacing:.08em}.course-player-progress strong{color:#dceaf5}.course-player-progress progress{display:block;width:100%;height:5px;border:0;border-radius:99px;background:#14283b}.course-player-progress progress::-webkit-progress-bar{border-radius:99px;background:#14283b}.course-player-progress progress::-webkit-progress-value{border-radius:99px;background:linear-gradient(90deg,#28c1e9,#6559ff)}.course-player-progress progress::-moz-progress-bar{border-radius:99px;background:linear-gradient(90deg,#28c1e9,#6559ff)}.course-player-exit{white-space:nowrap}
.course-preview-mode{display:flex;align-items:center;justify-content:center;gap:24px;padding:9px 20px;border-bottom:1px solid rgba(76,172,211,.28);background:linear-gradient(90deg,rgba(20,101,143,.2),rgba(56,53,142,.18));color:#92a8ba;font-size:10px}.course-preview-mode>div{display:flex;align-items:center;gap:10px}.course-preview-mode strong{color:#91e6fb;text-transform:uppercase;letter-spacing:.1em}.course-preview-mode button{padding:0;border:0;background:transparent;color:#bcd2df;font:inherit;font-weight:750;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.course-player-stage{width:min(960px,calc(100% - 48px));margin:0 auto;padding:clamp(44px,7vw,88px) 0 40px}.course-player-content{min-height:520px}.course-item-heading{margin-bottom:34px;padding-bottom:22px;border-bottom:1px solid rgba(48,77,99,.72)}.course-item-heading .eyebrow{margin:0 0 12px}.course-item-heading h1{margin:0;color:#f5f8fc;font-size:clamp(32px,5vw,54px);line-height:1.05;letter-spacing:-.035em}.course-item-body{color:#d7e2eb;font-size:16px;line-height:1.85}.course-item-body h1,.course-item-body h2,.course-item-body h3{color:#f1f6fa;line-height:1.2}.course-item-body h2{margin:2.1em 0 .7em;font-size:28px}.course-item-body h3{margin:1.8em 0 .65em;font-size:21px}.course-item-body p{margin:0 0 1.45em}.course-item-body img{max-width:100%;height:auto;border-radius:12px}.course-item-body audio,.course-item-body video{display:block;width:100%;max-height:66vh;margin:24px 0}.course-item-body fieldset{padding:0;border:0}.course-item-body legend{margin-bottom:22px;color:#f2f7fb;font-size:20px;font-weight:750}

.course-item-body [data-course-primary]{margin-top:26px}
.course-player-actions{position:fixed;z-index:28;right:0;bottom:0;left:0;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:18px;min-height:86px;padding:14px max(24px,calc((100vw - 960px)/2));border-top:1px solid #20394e;background:rgba(6,15,27,.96);box-shadow:0 -15px 36px rgba(0,0,0,.28);backdrop-filter:blur(18px)}.course-player-actions>a:first-child{justify-self:start}.course-player-actions [data-player-primary]{justify-self:end}.course-player-actions [data-player-primary] .button{min-width:170px}.course-player-state{color:#88a0b3;font-size:10px;font-weight:750;text-align:center;text-transform:uppercase;letter-spacing:.08em}.course-player-state:before{content:"";display:inline-block;width:7px;height:7px;margin-right:7px;border-radius:50%;background:#42d3f1;box-shadow:0 0 12px rgba(66,211,241,.65)}
.course-drawer-backdrop{position:fixed;z-index:48;inset:0;display:none;width:100%;height:100%;padding:0;border:0;background:rgba(1,6,13,.72);backdrop-filter:blur(3px);cursor:pointer}.course-drawer{position:fixed;z-index:50;top:0;bottom:0;left:0;width:min(420px,92vw);overflow:hidden;border-right:1px solid #31536c;background:#071424;box-shadow:28px 0 70px rgba(0,0,0,.5);transform:translateX(-105%);transition:transform .22s ease}.drawer-open .course-drawer{transform:translateX(0)}.drawer-open .course-drawer-backdrop{display:block}.course-drawer>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;min-height:104px;padding:25px 24px;border-bottom:1px solid #203b50;background:linear-gradient(135deg,#0d2942,#101d38)}.course-drawer>header .eyebrow{margin:0 0 8px}.course-drawer>header h2{margin:0;font-size:20px}.course-drawer-scroll{height:calc(100% - 104px);overflow:auto;padding:12px 0 35px}.course-drawer-module{padding:17px 16px 8px}.course-drawer-module>p{margin:0 10px 4px;color:#54d6f4;font-size:8px;font-weight:800;letter-spacing:.16em}.course-drawer-module>h3{margin:0 10px 11px;color:#dfeaf2;font-size:13px}.course-drawer-module>a,.course-item-locked{display:grid;grid-template-columns:24px 1fr;align-items:center;gap:8px;margin:3px 0;padding:11px 10px;border:1px solid transparent;border-radius:9px;color:#9cb0c1;text-decoration:none}.course-drawer-module>a:hover{border-color:#27465c;background:#0e2338;color:#eaf3f8}.course-drawer-module>a.current{border-color:#37647f;background:linear-gradient(90deg,rgba(25,98,137,.35),rgba(36,48,107,.27));color:#fff}.course-drawer-module>a.locked{opacity:.48;cursor:not-allowed}.course-drawer-module>a>span:first-child,.course-item-locked>span:first-child{display:grid;width:22px;height:22px;place-items:center;border:1px solid #33536a;border-radius:50%;font-size:10px}.course-drawer-module>a.complete>span:first-child{border-color:#2b826f;background:#123e38;color:#83efd0}.course-drawer-module strong,.course-item-locked strong{display:block;font-size:11px}.course-drawer-module small,.course-item-locked small{display:block;margin-top:3px;color:#71899d;font-size:9px}.course-item-locked{opacity:.42}.media-preview .player-status,.course-item-body .player-status{color:var(--muted);font-size:11px}.course-player-empty{width:min(760px,calc(100% - 40px));margin:15vh auto 0;padding:45px;text-align:center}
@media(max-width:900px){.course-details-grid{grid-template-columns:1fr}.course-details-grid>.field-span{grid-column:auto}.content-count{display:none}}
@media(max-width:1000px){.course-player-top{grid-template-columns:auto auto 1fr auto}.course-player-progress{display:none}.course-player-context{grid-column:auto}.course-player-brand strong{display:none}}
@media(max-width:680px){.extension-list-row{grid-template-columns:1fr auto;gap:12px;padding:14px 0}.extension-list-status{min-width:0;text-align:right}.extension-list-actions{grid-column:1/-1;justify-content:flex-start;flex-wrap:wrap}.course-tabs{gap:20px;overflow:auto}.course-tabs a{white-space:nowrap}.curriculum-heading{align-items:stretch;flex-direction:column}.module-header{padding:16px 14px}.module-header>.drag-handle{display:none}.module-item-row{padding:12px 14px}.module-item-row>.drag-handle{display:none}.type-picker{grid-template-columns:1fr}.content-type-card{min-height:0}.item-title-field,.item-supplemental{padding-right:18px;padding-left:18px}.editor-actions .button{flex:1}.course-player{padding-bottom:96px}.course-player-top{grid-template-columns:auto 1fr auto;gap:9px;min-height:64px;padding:9px 12px}.course-player-brand img{max-width:92px;height:32px}.course-player-brand>span{width:34px;height:34px}.course-contents-button{padding:8px 10px;font-size:0}.course-contents-button span{margin:0;font-size:21px}.course-player-context{display:none}.course-player-exit{padding:9px 11px;font-size:10px}.course-preview-mode{align-items:flex-start;justify-content:space-between;padding:9px 12px}.course-preview-mode>div{display:block}.course-preview-mode span{display:block;margin-top:3px;line-height:1.4}.course-preview-mode button{white-space:nowrap}.course-player-stage{width:calc(100% - 32px);padding:38px 0 25px}.course-item-heading{margin-bottom:25px}.course-item-heading h1{font-size:34px}.course-item-body{font-size:15px;line-height:1.75}.course-player-actions{grid-template-columns:1fr 1fr;min-height:78px;padding:11px 16px calc(11px + env(safe-area-inset-bottom))}.course-player-actions>a:first-child{max-width:130px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.course-player-actions [data-player-primary]{width:100%}.course-player-actions [data-player-primary] .button{width:100%;min-width:0}.course-player-state{display:none}}

/* The course player lives inside the standard learner shell. */
.learner-shell .course-player-actions{left:252px}
@media(max-width:1150px){.learner-shell .course-player-actions{left:225px}}
@media(max-width:900px){.learner-shell .course-player-actions{left:0;bottom:calc(58px + env(safe-area-inset-bottom))}.course-drawer{bottom:calc(58px + env(safe-area-inset-bottom))}}

/* Connected learner course shell · 0.4.8 */
.learner-shell .workspace #main.course-player-main{
  width:100%;
  max-width:none;
  margin:0;
  padding:0 0 108px
}
.course-player-top{
  display:flex;
  width:100%;
  min-height:80px;
  padding:10px clamp(22px,3vw,48px);
  gap:22px
}
.course-player-context small{display:block;margin-bottom:4px;color:#71899e;font-size:8px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}
.course-player-context strong{display:block;overflow:hidden;color:#edf5fb;font-size:13px;font-weight:780;text-overflow:ellipsis;white-space:nowrap}
.course-player-context{flex:1 1 220px;min-width:130px;padding:4px 0 4px 22px;border-left:1px solid rgba(64,94,117,.55)}
.course-player-exit{padding:0;border:0;background:transparent;color:#b9cbd8;font:inherit;font-size:10px;font-weight:750;text-decoration:none;text-underline-offset:4px;cursor:pointer}.course-player-exit:hover{color:#8fe5fa;text-decoration:underline;background:transparent}
.course-player-progress{flex:0 0 clamp(160px,15vw,230px)}
.course-player-exit{display:inline-flex;align-items:center;min-height:42px;white-space:nowrap}
.course-player-stage{padding-top:clamp(42px,5vw,70px)}

@media(max-width:1050px){
  .course-player-context{display:none}
}
@media(max-width:760px){
  .learner-shell .workspace #main.course-player-main{padding-bottom:96px}
  .course-player-top{min-height:68px;padding:7px 12px;gap:10px}
  .course-player-progress{display:none}
  .course-player-exit{font-size:9px}
  .course-player-stage{width:calc(100% - 24px);padding-top:28px}
}

.cinematic-course-home .course-home-curriculum{margin:0;padding:54px 0;border:0;border-radius:0;background:transparent}
.cinematic-course-home .course-home-curriculum .course-outline-module:first-of-type{padding-top:10px}

/* Course presentation, Asset Library and People · 0.5.1 */
.course-artwork-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.image-field{display:grid;align-content:start;gap:10px;min-width:0}.image-field-label{color:#dce8f1;font-size:12px;font-weight:800}.asset-control{display:grid;grid-template-columns:150px minmax(0,1fr);grid-template-areas:"preview name" "preview actions";align-items:start;gap:9px 18px;min-height:198px;padding:16px;border:1px solid #29465d;border-radius:13px;background:rgba(7,22,39,.48)}.asset-control-preview{grid-area:preview;display:grid;width:150px;height:166px;place-items:center;overflow:hidden;border:1px solid #31536d;border-radius:10px;background:#071524;color:#71869a;font-size:11px}.asset-control.shape-portrait .asset-control-preview{width:132px;height:176px}.asset-control.shape-wide{grid-template-columns:230px minmax(0,1fr)}.asset-control.shape-wide .asset-control-preview{width:230px;height:130px}.asset-control-preview img{width:100%;height:100%;object-fit:cover}.asset-control-name{grid-area:name;align-self:end;overflow:hidden;color:#dce9f2;font-size:12px;text-overflow:ellipsis;white-space:nowrap}.asset-control-name:empty{display:none}.asset-control-actions{grid-area:actions;display:grid;align-content:start;gap:8px;width:min(190px,100%)}.asset-control-actions .button{width:100%;min-height:36px;padding:8px 12px}.asset-upload-button{border-color:#3981a7!important;background:rgba(43,111,151,.35)!important}.asset-remove{justify-self:center;border:0;background:transparent;color:#8fa4b5;font:inherit;font-size:10px;font-weight:720;cursor:pointer}.asset-remove:hover{color:#fff;text-decoration:underline}.image-library-dialog{width:min(760px,calc(100% - 28px));padding:0;overflow:hidden}.image-library-dialog .dialog-head{align-items:flex-start;margin:0;padding:24px;border-bottom:1px solid #29465d}.image-library-dialog .dialog-head p{margin:5px 0 0;color:#859aad}.image-library-body{display:grid;gap:18px;padding:18px 24px 0}.image-library-search{width:100%}.image-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;max-height:490px;overflow:auto;padding:1px}.image-library-choice{display:grid;grid-template-rows:150px auto auto;gap:5px;min-width:0;padding:7px;border:1px solid #29465d;border-radius:10px;background:#09182a;color:#e7f1f7;text-align:left;cursor:pointer}.image-library-choice:hover{border-color:#65d9f3;background:#0d2238}.image-library-choice img{width:100%;height:150px;border-radius:7px;object-fit:cover}.image-library-choice strong,.image-library-choice small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.image-library-choice strong{font-size:11px}.image-library-choice small{color:#7f94a7;font-size:9px}.image-library-choice[hidden]{display:none}.image-library-empty{grid-column:1/-1;padding:35px;color:#8196a8;text-align:center}.image-library-footer{display:flex;justify-content:flex-end;margin-top:18px;padding:16px 24px;border-top:1px solid #29465d}
.course-people-admin,.people-directory{display:grid;gap:14px}.course-person-row,.person-directory-card{display:grid;grid-template-columns:76px minmax(0,1fr) auto;align-items:center;gap:20px;padding:20px;border:1px solid #29465d;border-radius:13px;background:linear-gradient(120deg,rgba(14,42,66,.94),rgba(9,22,40,.94))}.course-person-row img,.person-directory-card img,.person-placeholder{display:grid;width:76px;height:76px;place-items:center;border:1px solid #315771;border-radius:50%;object-fit:cover;background:#132b45;color:#72def7;font-size:25px;font-weight:850}.course-person-row h3,.person-directory-card h2{margin:3px 0 5px}.course-person-row p,.person-directory-card p{margin:3px 0;color:#91a7b9}.row-actions{display:flex;align-items:center;gap:7px}.person-credentials{color:#75dff7!important;font-weight:760}
.asset-library-filter{display:flex;gap:10px;margin-bottom:22px}.asset-library-filter input{flex:1}.asset-library-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:18px}.asset-card{overflow:hidden;border:1px solid #29465d;border-radius:14px;background:#0a1c31}.asset-card-preview{display:grid;height:174px;place-items:center;background:radial-gradient(circle at 70% 15%,rgba(83,75,190,.25),transparent 45%),#071321;color:#6fdcf5;font-size:42px}.asset-card-preview img{width:100%;height:100%;object-fit:cover}.asset-card-body{padding:17px}.asset-card-body small{color:#64d9f4;font-size:9px;font-weight:800;letter-spacing:.12em}.asset-card-body h3{margin:7px 0;font-size:16px}.asset-card-body p{margin:5px 0;color:#8298aa;font-size:11px}.asset-card-actions{display:flex;align-items:center;gap:8px;margin-top:14px}
.image-processing-status{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 18px;padding:13px 16px;border:1px solid #29465d;border-radius:10px;background:rgba(8,27,46,.72)}.image-processing-status strong{font-size:12px}.image-processing-status span{color:#8fa5b7;font-size:10px}
.cinematic-course-home.course-home-stage{width:100%;max-width:none;padding:0 0 90px}.cinematic-hero{position:relative;min-height:460px;overflow:hidden;border-bottom:1px solid #2d4b62;background:radial-gradient(circle at 78% 20%,#17205b 0,transparent 45%),#081321}.cinematic-hero-backdrop{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.64}.cinematic-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,11,20,.98) 5%,rgba(3,11,20,.78) 48%,rgba(3,11,20,.24)),linear-gradient(0deg,#071321 0,transparent 48%)}.cinematic-hero-inner{position:relative;z-index:1;display:grid;grid-template-columns:220px minmax(0,720px) minmax(140px,1fr);align-items:end;gap:34px;width:min(1380px,calc(100% - 88px));min-height:460px;margin:0 auto;padding:70px 0 52px}.course-cover{display:block;align-self:center;width:220px;height:220px;aspect-ratio:1/1;border:1px solid rgba(177,216,238,.4);border-radius:12px;object-fit:cover;box-shadow:0 25px 70px rgba(0,0,0,.55)}.course-cover-placeholder{display:grid;place-items:end start;padding:22px;background:linear-gradient(145deg,#163b5b,#171743);color:#8fe6fa;font-size:11px;font-weight:850;letter-spacing:.2em}.cinematic-copy h1{max-width:760px;margin:8px 0 18px;color:#fff;font-size:clamp(38px,5vw,72px);line-height:.98;letter-spacing:-.045em}.cinematic-copy>p:not(.eyebrow){max-width:700px;color:#c0cfdb;font-size:15px;line-height:1.65}.hero-progress{align-self:end;justify-self:end;width:min(250px,100%);padding:18px;border:1px solid rgba(79,120,151,.58);border-radius:12px;background:rgba(5,16,29,.72);backdrop-filter:blur(10px)}.hero-progress strong{display:block;color:#fff;font-size:28px}.hero-progress span{display:block;margin:2px 0 10px;color:#839aae;font-size:10px;text-transform:uppercase}.hero-progress progress{width:100%;height:6px}
.course-home-tabs{position:sticky;z-index:20;top:165px;display:flex;gap:30px;padding:0 max(44px,calc((100% - 1380px)/2));border-bottom:1px solid #263f53;background:rgba(5,16,29,.94);backdrop-filter:blur(14px)}.course-home-tabs button{padding:20px 0 16px;border:0;border-bottom:3px solid transparent;background:transparent;color:#8299ab;font:inherit;font-size:12px;font-weight:800;cursor:pointer}.course-home-tabs button.active{border-bottom-color:#55d9f7;color:#edf8fc}.course-home-tab-panels{width:min(1180px,calc(100% - 64px));margin:0 auto}.course-home-panel{display:none;padding:54px 0}.course-home-panel.active{display:block}.course-home-panel[data-course-panel=overview]{grid-template-columns:minmax(0,1.4fr) minmax(300px,.8fr);gap:70px}.course-home-panel[data-course-panel=overview].active{display:grid}.course-overview-copy h2,.learning-objectives h2{margin:8px 0 20px;font-size:30px}.course-overview-copy>p:last-child{color:#b9c9d5;font-size:16px;line-height:1.85}.learning-objectives{padding:28px;border:1px solid #2b4b63;border-radius:14px;background:#0b1e34}.learning-objectives ul{display:grid;gap:13px;margin:0;padding-left:21px;color:#b5c7d4;line-height:1.55}.course-home-panel[data-course-panel=curriculum] .course-outline-module{padding:25px 0}.course-people-grid{display:grid;gap:20px}.course-person-card{display:grid;grid-template-columns:180px minmax(0,1fr);gap:28px;padding:26px;border:1px solid #29485f;border-radius:15px;background:linear-gradient(120deg,#0d2942,#0a182c)}.course-person-card>img,.course-person-card>.person-placeholder{width:180px;height:220px;border-radius:10px;object-fit:cover}.course-person-card h3{margin:6px 0;font-size:25px}.course-person-card p{color:#9eb1c0;line-height:1.65}
@media(max-width:900px){.cinematic-hero-inner{grid-template-columns:130px 1fr;width:calc(100% - 34px);gap:20px}.course-cover{width:130px;height:130px}.hero-progress{display:none}.course-home-tabs{top:138px;padding:0 18px;overflow:auto}.course-home-panel[data-course-panel=overview].active{grid-template-columns:1fr}.course-artwork-grid{grid-template-columns:1fr}}
@media(max-width:620px){.cinematic-hero-inner{grid-template-columns:1fr;align-items:end;padding:32px 0}.course-cover{width:96px;height:96px}.cinematic-copy h1{font-size:38px}.course-home-tab-panels{width:calc(100% - 30px)}.course-person-card{grid-template-columns:1fr}.course-person-card>img,.course-person-card>.person-placeholder{width:110px;height:130px}.course-person-row,.person-directory-card{grid-template-columns:58px 1fr}.course-person-row img,.person-directory-card img,.person-placeholder{width:58px;height:58px}.course-person-row .row-actions,.person-directory-card .row-actions{grid-column:1/-1}.asset-control,.asset-control.shape-wide{grid-template-columns:110px minmax(0,1fr);min-height:155px;padding:12px}.asset-control-preview,.asset-control.shape-portrait .asset-control-preview,.asset-control.shape-wide .asset-control-preview{width:110px;height:132px}.image-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.image-library-choice{grid-template-rows:110px auto auto}.image-library-choice img{height:110px}}

/* Restore the standard learner-page canvas after the configurable theme layer. */
.learner-shell .workspace #main.learner-main:not(.course-player-main){width:calc(100% - 80px);max-width:1540px;margin:0 auto;padding:38px 0 90px}
@media(max-width:1150px){.learner-shell .workspace #main.learner-main:not(.course-player-main){width:calc(100% - 50px);padding:28px 0 50px}}

/* Course home and workspace-width drop-down outline · 0.5.0 */
.learner-shell .learner-topbar{position:sticky;z-index:42;top:0}
.course-player-top{top:86px;display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:22px}
.course-player-leading{display:flex;align-items:center;flex:1 1 auto;min-width:0;gap:18px}
.course-player-breadcrumb{display:flex;align-items:center;min-width:0;gap:10px;color:#7f96aa;font-size:11px;font-weight:720;white-space:nowrap}
.course-player-breadcrumb a,.course-player-breadcrumb button,.course-player-breadcrumb span{display:block;overflow:hidden;max-width:190px;text-overflow:ellipsis}.course-player-breadcrumb a,.course-player-breadcrumb button{padding:0;border:0;border-radius:0;color:#8fa5b8;background:transparent;box-shadow:none;font:inherit;font-weight:inherit;text-decoration:none;cursor:pointer}.course-player-top .course-player-breadcrumb a:hover,.course-player-top .course-player-breadcrumb button:hover{padding:0;border:0;border-radius:0;color:#d9f7ff;background:transparent;box-shadow:none;font-weight:790;text-decoration:none;transform:none}.course-player-breadcrumb .breadcrumb-separator{flex:0 0 auto;color:#456078;font-weight:400}.course-player-breadcrumb .breadcrumb-current{max-width:230px;color:#edf5fb;font-weight:790}
.course-outline-trigger{display:inline-flex;align-items:center;gap:9px;min-height:42px;padding:0 13px;border:1px solid #31536c;border-radius:9px;background:rgba(13,35,56,.55);color:#dceaf3;font:inherit;font-size:10px;font-weight:780;text-decoration:none;cursor:pointer;white-space:nowrap}
.course-outline-trigger svg{width:18px;height:18px;fill:none;stroke:#69dcf7;stroke-width:2;stroke-linecap:round}.course-outline-trigger:hover{border-color:#63cde9;background:rgba(29,91,126,.18);color:#fff}.course-outline-trigger[aria-expanded=true]{border-color:#61d5f1;background:rgba(32,112,150,.22);box-shadow:inset 0 -2px #56d8f6}
.course-player-center{min-width:1px}.course-player-trailing{display:flex;align-items:center;justify-content:flex-end;gap:18px;min-width:0}.course-player-progress{width:clamp(280px,25vw,500px);flex:0 1 500px}
.course-outline-backdrop{position:fixed;z-index:32;top:var(--course-outline-top,166px);right:0;bottom:0;left:var(--course-outline-workspace-left,252px);display:block;padding:0;border:0;background:rgba(1,6,13,.38);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .2s,visibility .2s;backdrop-filter:blur(6px)}
.course-outline-drawer{position:fixed;z-index:34;top:var(--course-outline-top,166px);right:0;left:var(--course-outline-workspace-left,252px);width:auto;height:min(72vh,720px);max-height:calc(100vh - var(--course-outline-top,166px));overflow:hidden;border:0;border-bottom:1px solid #31536c;border-radius:0;background:radial-gradient(circle at 86% 0,rgba(61,58,155,.14),transparent 34%),#071424;box-shadow:0 30px 80px rgba(0,0,0,.55);transform:translateY(-105%);visibility:hidden;pointer-events:none;transition:transform .26s ease,visibility 0s linear .26s}
.outline-open .course-outline-backdrop{opacity:1;visibility:visible;pointer-events:auto}.outline-open .course-outline-drawer{transform:translateY(0);visibility:visible;pointer-events:auto;transition-delay:0s}
.course-outline-drawer>header{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;min-height:96px;padding:22px clamp(26px,4vw,72px);border-bottom:1px solid #203b50;background:linear-gradient(100deg,#0d2942,#101d38 58%,#15183b)}
.course-outline-drawer>header .eyebrow{margin:0 0 7px}.course-outline-drawer>header h2{margin:0;font-size:22px}.course-outline-scroll{display:block;height:calc(100% - 96px);overflow:auto;padding:8px clamp(26px,4vw,72px) 46px;overscroll-behavior:contain}
.course-outline-home{display:grid;grid-template-columns:34px minmax(0,1fr) auto;align-items:center;gap:12px;min-height:68px;margin:10px 0 2px;padding:11px 12px;border:1px solid rgba(74,140,181,.25);border-radius:10px;color:#dceaf4;background:linear-gradient(90deg,rgba(20,77,110,.24),rgba(25,34,76,.14));text-decoration:none}.course-outline-home:hover{border-color:rgba(91,211,242,.52);background:linear-gradient(90deg,rgba(24,99,137,.34),rgba(35,45,99,.2))}.course-outline-home>span:first-child{display:grid;width:32px;height:32px;place-items:center;border:1px solid #365b73;border-radius:9px;color:#74def7;background:#102a42;font-size:16px}.course-outline-home strong,.course-outline-home small{display:block}.course-outline-home strong{font-size:12px}.course-outline-home small{margin-top:4px;color:#7e94a7;font-size:9px}.course-outline-home>span:last-child{color:#6fdcf5;font-size:16px}
.course-outline-module{min-width:0;padding:24px 0}.course-outline-module+.course-outline-module{border-top:1px solid rgba(43,72,94,.58)}
.course-outline-module>header>p{margin:0 0 5px;color:#54d6f4;font-size:8px;font-weight:800;letter-spacing:.16em}.course-outline-module>header>h3{margin:0;color:#e4edf4;font-size:14px}.course-outline-module>header>small{display:block;margin-top:6px;color:#71899d;font-size:10px;line-height:1.45}
.course-outline-module>div{margin-top:11px}.course-outline-module a,.course-outline-module .course-item-locked{display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:10px;min-height:54px;margin:2px 0;padding:9px 10px;border:0;border-left:2px solid transparent;border-radius:0;color:#9cb0c1;text-decoration:none}
.course-outline-module a:hover{border-left-color:#506d82;background:rgba(18,45,72,.5);color:#edf6fb}.course-outline-module a.current{border-left-color:#55d5f3;background:linear-gradient(90deg,rgba(22,99,136,.3),rgba(30,43,91,.08));color:#fff}
.course-outline-state{display:grid;width:24px;height:24px;place-items:center;border:1px solid #33536a;border-radius:50%;font-size:10px}.course-outline-module a.complete .course-outline-state{border-color:#2b826f;background:#123e38;color:#83efd0}
.course-outline-copy{min-width:0}.course-outline-copy strong{display:block;overflow:hidden;color:inherit;font-size:11px;text-overflow:ellipsis;white-space:nowrap}.course-outline-copy small{display:block;margin-top:4px;color:#71899d;font-size:9px}.course-outline-status{color:#71899d;font-size:8px;font-weight:760;letter-spacing:.06em;text-transform:uppercase;white-space:nowrap}.course-outline-module .course-item-locked{opacity:.42}
.course-preview-controls{position:absolute;z-index:4;right:clamp(16px,2vw,30px);top:50%;transform:translateY(-50%)}.preview-controls-trigger{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:0 13px;border:1px solid rgba(91,214,243,.42);border-radius:9px;color:#aeeeff;background:rgba(20,76,106,.28);font:inherit;font-size:10px;font-weight:800;white-space:nowrap;cursor:pointer}.preview-controls-trigger:hover,.preview-controls-trigger[aria-expanded=true]{border-color:#68def7;color:#fff;background:rgba(28,102,139,.42)}.preview-controls-panel{position:absolute;right:0;bottom:calc(100% + 13px);width:290px;padding:0;border:1px solid #31536c;border-radius:13px;background:linear-gradient(145deg,#0e2942,#08172a);box-shadow:0 22px 60px rgba(0,0,0,.55);opacity:0;visibility:hidden;transform:translateY(10px);pointer-events:none;transition:opacity .16s,transform .16s,visibility 0s linear .16s}.preview-controls-open .preview-controls-panel{opacity:1;visibility:visible;transform:translateY(0);pointer-events:auto;transition-delay:0s}.preview-controls-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:16px 17px 13px;border-bottom:1px solid #27465d}.preview-controls-panel header p{margin:0 0 4px;color:#73def7;font-size:8px;font-weight:850;letter-spacing:.13em}.preview-controls-panel header strong{font-size:15px}.preview-controls-panel header button{padding:0;border:0;color:#9db1c2;background:transparent;font-size:20px;line-height:1;cursor:pointer}.preview-controls-panel>p{margin:0;padding:14px 17px 4px;color:#8fa5b6;font-size:10px;line-height:1.55}.preview-controls-panel>div{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:13px 17px 17px}.preview-controls-panel>div button,.preview-controls-panel>div a{display:flex;align-items:center;justify-content:center;min-height:38px;padding:8px 10px;border:1px solid rgba(112,180,220,.26);border-radius:8px;color:#dbe9f3;background:rgba(16,42,68,.7);font:inherit;font-size:10px;font-weight:800;text-decoration:none;cursor:pointer}.preview-controls-panel>div button:hover,.preview-controls-panel>div a:hover{border-color:#5cd6f4;color:#fff;background:rgba(26,69,105,.84)}.course-home-preview-actions{grid-template-columns:1fr auto 1fr}.course-home-preview-actions .course-preview-controls{right:clamp(16px,2vw,30px)}
.course-home-view{padding-bottom:0}.course-home-stage{width:min(1180px,calc(100% - 64px));margin:0 auto;padding:clamp(46px,6vw,78px) 0 90px}
.course-home-hero{padding:clamp(34px,5vw,62px);border:1px solid rgba(47,78,101,.75);border-radius:18px;background:radial-gradient(circle at 88% 5%,rgba(67,72,177,.17),transparent 38%),linear-gradient(145deg,rgba(15,37,60,.95),rgba(8,21,37,.98));box-shadow:0 28px 70px rgba(0,0,0,.22)}
.course-home-hero>.eyebrow{margin:0 0 13px}.course-home-hero h1{max-width:880px;margin:0;color:#f5f8fb;font-size:clamp(38px,5.2vw,62px);line-height:1.03;letter-spacing:-.04em}.course-home-description{max-width:820px;margin:22px 0 0;color:#aabccc;font-size:15px;line-height:1.75}
.course-home-meta{display:flex;flex-wrap:wrap;gap:9px 22px;margin-top:27px;color:#7f96aa;font-size:10px;font-weight:720;text-transform:uppercase;letter-spacing:.07em}.course-home-meta span+span:before{content:"·";margin-right:22px;color:#3f5b72}
.course-home-progress{width:min(520px,100%);margin-top:36px}.course-home-progress>div{display:flex;justify-content:space-between;margin-bottom:9px;color:#8fa5b7;font-size:10px;font-weight:760;text-transform:uppercase;letter-spacing:.08em}.course-home-progress>div strong{color:#dceaf4}.course-home-progress progress{display:block;width:100%;height:6px;border:0;border-radius:99px;background:#14283b}.course-home-progress progress::-webkit-progress-bar{border-radius:99px;background:#14283b}.course-home-progress progress::-webkit-progress-value{border-radius:99px;background:linear-gradient(90deg,#28c1e9,#6559ff)}.course-home-progress progress::-moz-progress-bar{border-radius:99px;background:linear-gradient(90deg,#28c1e9,#6559ff)}.course-home-progress small{display:block;margin-top:8px;color:#71899d;font-size:10px}
.course-resume{margin-top:25px;min-width:160px}
.course-home-curriculum,.course-home-objectives{margin-top:30px;padding:clamp(28px,4vw,46px);border:1px solid rgba(47,78,101,.7);border-radius:17px;background:rgba(8,23,40,.78)}
.course-home-section-heading{margin-bottom:17px;padding-bottom:21px;border-bottom:1px solid rgba(48,77,99,.7)}.course-home-section-heading .eyebrow,.course-home-objectives>.eyebrow{margin:0 0 8px}.course-home-section-heading h2,.course-home-objectives h2{margin:0;color:#eef5fa;font-size:23px}
.course-home-curriculum .course-outline-module{padding:25px 0}.course-home-curriculum .course-outline-module:first-of-type{padding-top:10px}.course-home-curriculum .course-outline-module>header>h3{font-size:17px}.course-home-curriculum .course-outline-module>header>small{max-width:760px;font-size:11px}.course-home-curriculum .course-outline-module a,.course-home-curriculum .course-outline-module .course-item-locked{min-height:64px;padding:11px 14px}.course-home-curriculum .course-outline-copy strong{font-size:13px}.course-home-curriculum .course-outline-copy small{font-size:10px}.course-home-curriculum .course-outline-status{font-size:9px}
.course-home-objectives p:last-child{max-width:820px;margin:18px 0 0;color:#aebdca;font-size:14px;line-height:1.8}
@media(max-width:900px){
  .learner-shell .learner-topbar{top:0}.course-player-top{top:70px}
  .course-outline-backdrop{left:0;bottom:calc(58px + env(safe-area-inset-bottom))}.course-outline-drawer{left:0;max-height:calc(100vh - var(--course-outline-top,138px) - 58px - env(safe-area-inset-bottom))}
}
@media(max-width:1200px){.course-player-actions.has-preview .course-preview-controls{top:auto;bottom:calc(100% + 10px);transform:none}}
@media(max-width:760px){
  .learner-shell .workspace #main.learner-main:not(.course-player-main){width:100%;padding:27px 17px 96px}
  .course-player-top{display:flex}
  .course-player-leading{flex:1 1 auto;gap:8px}.course-player-breadcrumb{font-size:10px;gap:6px}.course-player-breadcrumb a,.course-player-breadcrumb button,.course-player-breadcrumb span{max-width:92px}.course-player-breadcrumb .breadcrumb-current{max-width:110px}.course-player-breadcrumb .breadcrumb-module,.course-player-breadcrumb .breadcrumb-module+.breadcrumb-separator{display:none}
  .course-outline-trigger{width:40px;padding:0;justify-content:center}.course-outline-trigger span{display:none}
  .course-outline-drawer{height:min(72vh,620px)}.course-outline-drawer>header{min-height:84px;padding:18px 16px}.course-outline-scroll{height:calc(100% - 84px);padding:4px 16px 32px}
  .course-home-stage{width:calc(100% - 24px);padding:28px 0 50px}.course-home-hero{padding:29px 22px;border-radius:14px}.course-home-hero h1{font-size:36px}.course-home-description{font-size:13px}.course-home-meta{display:grid;gap:8px}.course-home-meta span+span:before{display:none}.course-home-progress{margin-top:28px}.course-resume{width:100%}
  .course-home-curriculum,.course-home-objectives{margin-top:18px;padding:24px 17px;border-radius:14px}.course-home-curriculum .course-outline-module a,.course-home-curriculum .course-outline-module .course-item-locked{grid-template-columns:28px minmax(0,1fr);padding:10px 7px}.course-home-curriculum .course-outline-status{display:none}.preview-controls-trigger{min-height:36px;padding:0 10px;font-size:9px}.preview-controls-panel{width:min(290px,calc(100vw - 24px))}
}

/* Keep the cinematic tab panel neutral after legacy course-home rules. */
.cinematic-course-home .course-home-curriculum{margin:0;padding:54px 0;border:0;border-radius:0;background:transparent}
@media(max-width:760px){.cinematic-course-home .course-home-curriculum{margin:0;padding:34px 0;border:0}}

/* Page hero artwork is always presented as a square crop. */
.asset-control.shape-square,.asset-control.shape-square-contain{grid-template-columns:150px minmax(0,1fr)}
.asset-control.shape-square .asset-control-preview,.asset-control.shape-square-contain .asset-control-preview{width:150px;height:150px;aspect-ratio:1/1}
.asset-control.shape-square-contain .asset-control-preview{background:#06111e}
.asset-control.shape-square-contain .asset-control-preview img{object-fit:contain}
@media(max-width:620px){.asset-control.shape-square,.asset-control.shape-square-contain{grid-template-columns:110px minmax(0,1fr)}.asset-control.shape-square .asset-control-preview,.asset-control.shape-square-contain .asset-control-preview{width:110px;height:110px}}

/* Course covers preserve their original proportions inside the square frame. */
.course-cover{background:#06111e;object-fit:contain}

/* Restrained editorial titles and Fandango-inspired course metadata · 0.6.5 */
body .course-player .course-player-content .course-item-heading h1{max-width:860px;font-size:clamp(24px,2vw,30px)!important;font-weight:650;line-height:1.18;letter-spacing:-.015em}
.cinematic-hero{min-height:420px}
.cinematic-hero-inner{grid-template-columns:220px minmax(0,1fr) clamp(300px,34vw,480px);align-items:end;gap:clamp(28px,3vw,48px);min-height:420px;padding:56px 0 46px}
.cinematic-copy h1{max-width:720px;margin:8px 0 0;font-size:clamp(30px,2.85vw,42px);font-weight:680;line-height:1.08;letter-spacing:-.025em}
.course-home-meta{margin-top:22px}
.course-home-meta .course-home-status{color:#82e3f8}
.course-hero-details{align-self:end;min-width:0}
.course-accreditation-display{display:grid;width:100%;max-width:100%;gap:9px;margin-bottom:14px}.course-accreditation-row{display:flex;width:100%;max-width:100%;flex-wrap:wrap;gap:9px}.course-accreditation-logo{display:grid;flex:0 0 52px;width:52px;height:52px;place-items:center;overflow:hidden;border:1px solid rgba(137,188,216,.42);border-radius:8px;background:transparent;box-shadow:0 8px 22px rgba(0,0,0,.2)}.course-accreditation-logo img{display:block;width:100%;height:100%;padding:0;border-radius:7px;object-fit:cover}
.course-hero-detail-copy{padding-top:18px;border-top:1px solid rgba(133,177,205,.28)}
.course-hero-classification{display:flex;flex-wrap:wrap;gap:7px 18px;color:#eff7fb;font-size:11px;font-weight:760}
.course-hero-classification span+span:before{content:"·";margin-right:18px;color:#587086}
.course-hero-detail-copy>p{max-width:470px;margin:18px 0 0;color:#c4d1da;font-size:13px;line-height:1.65}
.course-license-levels{display:flex;align-items:flex-start;gap:8px;margin-top:19px;color:#dceaf2;font-size:10px;line-height:1.5}
.course-license-levels>span{display:grid;flex:0 0 17px;width:17px;height:17px;place-items:center;border:1px solid #42ca85;border-radius:50%;color:#75e9a9;font-size:10px}
.course-license-levels div{display:grid;gap:2px}.course-license-levels small{color:#75e9a9;font-size:8px;font-weight:850;letter-spacing:.12em}.course-license-levels strong{font-weight:720}
.course-accreditation-picker{padding:18px;border:1px solid #29465d;border-radius:13px;background:rgba(7,22,39,.48)}.course-accreditation-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:20px}.course-accreditation-heading p{margin:5px 0 0;color:#8196a8;font-size:10px}.course-accreditation-heading>strong{color:#8fa7b8;font-size:10px;white-space:nowrap}.course-accreditation-list{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.course-accreditation-empty{margin:0;color:#71869a;font-size:11px}.course-accreditation-item{display:grid;box-sizing:border-box;width:122px;grid-template-columns:minmax(0,1fr);gap:8px;padding:10px 11px 11px;border:1px solid #29465d;border-radius:10px;background:#09182a}.course-accreditation-item.starts-new-row{border-color:#50c7e5;box-shadow:inset 3px 0 #50c7e5}.course-accreditation-item>div{display:grid;width:64px;height:64px;place-items:center;justify-self:center;overflow:hidden;border:1px solid rgba(95,146,179,.3);border-radius:8px;background:transparent}.course-accreditation-item img{display:block;width:100%;height:100%;padding:0;border-radius:7px;object-fit:cover}.course-accreditation-item>strong{overflow:hidden;color:#dce9f2;font-size:9px;text-align:center;text-overflow:ellipsis;white-space:nowrap}.course-accreditation-item>span{display:grid;width:100%;grid-template-columns:24px 24px minmax(0,1fr);gap:5px}.course-accreditation-item button{box-sizing:border-box;min-width:0;min-height:23px;padding:3px 4px;border:1px solid #2b4a62;border-radius:5px;background:#0b1d30;color:#b9cad5;font:inherit;font-size:8px;cursor:pointer}.course-accreditation-item button:hover{border-color:#59cde9;color:#fff}.course-accreditation-item button[data-accreditation-break]{grid-column:1/-1;color:#8edcf0}.course-accreditation-item button[data-accreditation-break][aria-pressed="true"]{border-color:#50c7e5;color:#fff;background:#12364c}.course-accreditation-item button:disabled{opacity:.45;cursor:not-allowed}.course-accreditation-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:15px}.course-accreditation-actions .button{min-height:36px;padding:8px 12px}
.course-form>.course-save-state{display:block;min-height:18px;margin:8px 0 0;color:#7f96aa;font-size:10px;font-weight:760;text-align:center;letter-spacing:.04em}.course-form.is-dirty>.course-save-state{color:#f2c777}.course-form.is-saving>.course-save-state{color:#82dff5}.course-form.is-saved>.course-save-state{color:#74e1ab}.course-form.is-saving>button[type=submit]{cursor:wait;opacity:.78}
.course-metadata-pickers{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.course-taxonomy-field{min-width:0;margin:0;padding:16px;border:1px solid #29465d;border-radius:11px;background:rgba(5,18,32,.42)}
.course-taxonomy-field legend{padding:0 7px;color:#dce8f1;font-size:12px;font-weight:800}
.course-taxonomy-field>div{display:flex;flex-wrap:wrap;gap:8px}
.course-taxonomy-field label{display:flex;align-items:center;gap:8px;min-height:34px;padding:7px 10px;border:1px solid rgba(94,151,188,.28);border-radius:8px;color:#aec0ce;background:rgba(11,32,52,.7);font-size:10px;cursor:pointer}
.course-taxonomy-field label:has(input:checked){border-color:rgba(87,213,244,.58);color:#edf9fc;background:rgba(28,105,142,.28)}
.course-taxonomy-field input{margin:0;accent-color:#55d7f5}.course-taxonomy-field label small{color:#71869a}.course-taxonomy-field>small{display:block;margin-top:12px;color:#74899b;font-size:9px}
@media(max-width:1050px){.cinematic-hero-inner{grid-template-columns:150px minmax(0,1fr);width:calc(100% - 44px)}.course-cover{width:150px;height:150px}.course-hero-details{grid-column:1/-1;width:min(760px,100%)}.course-hero-detail-copy>p{max-width:760px}}
@media(max-width:620px){.cinematic-hero{min-height:0}.cinematic-hero-inner{grid-template-columns:1fr;width:calc(100% - 30px);padding:30px 0 34px}.course-cover{width:112px;height:112px}.cinematic-copy h1{font-size:clamp(28px,8vw,34px)}.course-home-meta{display:flex;gap:8px 14px}.course-home-meta span+span:before{display:none}.course-hero-details{grid-column:auto}.course-accreditation-logo{flex-basis:42px;width:42px;height:42px}.course-hero-classification{display:grid;gap:7px}.course-hero-classification span+span:before{display:none}.course-metadata-pickers{grid-template-columns:1fr}.course-accreditation-heading{gap:10px}.course-accreditation-item{width:122px}body .course-player .course-player-content .course-item-heading h1{font-size:clamp(23px,7vw,26px)!important}}
.activity-stage{display:block;margin:7px 0 3px;color:#dff8ff}.activity-transfer{display:block;margin-top:5px;color:#85dff5}
.preview-controls-panel>.preview-extension-controls{display:block;padding:13px 17px 3px}.preview-extension-toggle{display:flex;align-items:flex-start;gap:10px;padding:11px;border:1px solid rgba(112,180,220,.22);border-radius:9px;background:rgba(5,18,32,.42);cursor:pointer}.preview-extension-toggle input{width:16px;height:16px;margin:1px 0 0;accent-color:#50d8f7}.preview-extension-toggle span{display:grid;gap:3px}.preview-extension-toggle strong{font-size:10px}.preview-extension-toggle small{color:#8fa5b6;font-size:9px;line-height:1.4}.preview-controls-panel>.preview-controls-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:13px 17px 17px}.preview-controls-panel>.preview-controls-actions button,.preview-controls-panel>.preview-controls-actions a{display:flex;align-items:center;justify-content:center;min-height:38px;padding:8px 10px;border:1px solid rgba(112,180,220,.26);border-radius:8px;color:#dbe9f3;background:rgba(16,42,68,.7);font:inherit;font-size:10px;font-weight:800;text-decoration:none;cursor:pointer}.preview-controls-panel>.preview-controls-actions button:hover,.preview-controls-panel>.preview-controls-actions a:hover{border-color:#5cd6f4;color:#fff;background:rgba(26,69,105,.84)}

/* Keep the curriculum video and its controls within the initial viewport. */
.course-player-stage:has([data-stream-player]){padding-top:20px;padding-bottom:16px}
.course-player-content:has([data-stream-player]){min-height:0}
.course-player-content:has([data-stream-player]) .course-item-heading{margin-bottom:16px;padding-bottom:14px}
.course-player-content:has([data-stream-player]) .course-item-heading .eyebrow{margin-bottom:6px}
.course-player-stage [data-stream-player]{width:min(100%,calc(var(--course-video-height, max(140px, calc(100dvh - 320px))) * 16 / 9));margin-inline:auto}
@media(max-width:680px){
  .course-player-stage:has([data-stream-player]){padding-top:14px}
  .course-player-content:has([data-stream-player]) .course-item-heading{margin-bottom:12px;padding-bottom:10px}
}

/* Reserve the authoring slot for every role so navigation never shifts. */
.course-player-actions{grid-template-columns:minmax(0,1fr) auto auto 148px;gap:12px}
.course-player-actions>.course-player-state{grid-column:1;grid-row:1;justify-self:start;text-align:left}
.course-player-actions>:first-child{grid-column:2;grid-row:1;justify-self:end}
.course-player-actions>[data-player-primary]{grid-column:3;grid-row:1;justify-self:end}
.course-player-actions .course-preview-controls,
.course-player-actions.has-preview .course-preview-controls{position:relative;grid-column:4;grid-row:1;justify-self:stretch;top:auto;right:auto;bottom:auto;transform:none}
.course-player-actions .preview-controls-trigger{width:100%;justify-content:center}
.course-player-actions .preview-controls-panel{width:min(290px,calc(100vw - 32px))}
@media(max-width:1100px){
  .course-player-actions{grid-template-columns:minmax(0,1fr) auto auto 44px}
  .course-player-actions .preview-controls-trigger{width:44px;min-height:42px;padding:0}
  .course-player-actions .authoring-tools-label{display:none}
}
@media(max-width:680px){
  .course-player-actions{grid-template-columns:minmax(0,1fr) auto minmax(0,auto) 44px;gap:8px}
  .course-player-actions>.course-player-state{display:block;grid-column:1/-1;grid-row:1;font-size:9px}
  .course-player-actions>:first-child{grid-column:2;grid-row:2}
  .course-player-actions>[data-player-primary]{grid-column:3;grid-row:2;width:auto;min-width:0}
  .course-player-actions>[data-player-primary] .button{min-width:0;white-space:normal;text-align:center}
  .course-player-actions .course-preview-controls,
  .course-player-actions.has-preview .course-preview-controls{grid-row:2}
}

button.add-content-row{width:100%;cursor:pointer;font:inherit}
.content-drawer{position:fixed;inset:0 auto 0 0;margin:0;width:min(390px,100vw);max-width:none;height:100dvh;max-height:100dvh;box-sizing:border-box;padding:28px 24px;border:0;border-right:1px solid #2c485f;border-radius:0;background:#0b1b2d;color:#e5eff8;box-shadow:20px 0 70px rgba(0,0,0,.35);overflow-y:auto;overscroll-behavior:contain}
.content-drawer[open]{animation:content-drawer-in .32s cubic-bezier(.22,.61,.36,1) both}
.content-drawer::backdrop{background:rgba(2,9,18,.5)}
.content-drawer>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.content-drawer h2{margin:4px 0 0;font-size:25px}
.content-drawer header .icon-button{flex-shrink:0;width:40px;height:40px}
.content-drawer-context{margin:22px 0 24px;padding:14px 16px;border:1px solid #294155;border-radius:10px;background:#102439;color:#a8c0d3;font-size:13px;line-height:1.6;overflow-wrap:anywhere}
.content-drawer-options{display:grid;gap:12px}
.content-drawer-option{display:flex;align-items:center;gap:14px;padding:18px 14px;border:1px solid #294155;border-radius:12px;color:inherit;text-decoration:none;background:#102439;transition:background .15s,border-color .15s}
.content-drawer-option>span:nth-child(2){flex:1;min-width:0;overflow-wrap:anywhere}
.content-drawer-option strong{display:block;font-size:15px;line-height:1.4}
.content-drawer-option small{display:block;margin-top:6px;color:#9fb7ca;font-size:12px;line-height:1.6}
.content-drawer-option>span:last-child{color:#79d9f5}
.content-drawer-option:hover,.content-drawer-option:focus-visible{border-color:#72d5f0;background:#163149;outline:2px solid transparent}
.content-just-added{box-shadow:inset 3px 0 #75ddf5;background:rgba(52,147,176,.2)!important;outline:1px solid #66cde9;outline-offset:-1px}
@keyframes content-drawer-in{from{transform:translateX(-100%)}to{transform:translateX(0)}}
@media(max-width:600px){.content-drawer{width:100vw;padding:24px 20px}.content-drawer-option{padding:18px 16px}}
@media(prefers-reduced-motion:reduce){.content-drawer[open]{animation:none}.content-insert,.content-drawer-option{transition:none}}
