/* 1.14.33: one edge-to-edge learning canvas; authored lesson content stays intact. */
body.slm-wide-lesson-page{margin-left:0!important;margin-right:0!important;overflow-x:clip}
body.slm-wide-lesson-page .slm-learning-host{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important}
body .slm-app.slm-learning.slm-wide-learning,
body .slm-learning.slm-wide-learning{position:relative!important;left:auto!important;right:auto!important;transform:none!important;width:var(--slm-canvas-width,100%)!important;max-width:none!important;margin:0!important;margin-left:var(--slm-canvas-offset,0px)!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff}
body .slm-learning.slm-wide-learning .slm-player{width:100%;max-width:none;min-height:100vh;margin:0;border:0!important;border-radius:0!important;box-shadow:none!important}
body .slm-learning.slm-wide-learning .slm-content{width:100%;max-width:none;border:0;border-radius:0;box-shadow:none}
body .slm-app.slm-learning.slm-wide-learning .slm-player .slm-lesson{width:100%!important;max-width:1200px!important;margin:0 auto!important;padding:clamp(20px,3vw,48px)!important;border:0;border-radius:0;box-shadow:none}
body .slm-app.slm-learning.slm-wide-learning .slm-player .slm-lesson:has(.slm-html-frame-wrap){padding:clamp(20px,3vw,48px)!important}
body .slm-learning.slm-wide-learning .slm-lesson-body,
body .slm-learning.slm-wide-learning .slm-html-frame-wrap{width:100%;max-width:none;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent}
body .slm-learning.slm-wide-learning .slm-html-lesson{border:0;border-radius:0}
body .slm-learning.slm-wide-learning .slm-sidebar{border-radius:0}
body .slm-learning.slm-wide-learning .slm-lesson-footer{border-radius:0;box-shadow:none}

/* Window-anchored outline controls remain available after toggling/scolling. */
.slm-outline-portaled{position:fixed!important;z-index:9990;display:inline-flex!important;align-items:center;justify-content:center;width:auto;height:40px;max-width:calc(100vw - 28px);margin:0!important;padding:0 14px;border:1px solid #dce1e5;border-radius:12px;background:#fff;color:#373e48;font:600 13px/1.3 inherit;box-shadow:0 2px 8px #14223312;cursor:pointer}
.slm-outline-portaled[hidden],.slm-outline-panel[hidden]{display:none!important}
.slm-outline-slot{display:none;height:64px;flex:0 0 64px}
.slm-player.is-collapsed:not(.is-one-page) .slm-outline-slot{display:block}
.slm-outline-panel{position:fixed!important;z-index:9980;top:var(--slm-panel-top,0px)!important;left:var(--slm-panel-left,0px)!important;bottom:auto!important;right:auto!important;width:var(--slm-panel-width,340px)!important;height:var(--slm-panel-height,calc(100dvh - var(--slm-panel-top,0px)))!important;max-height:none!important;margin:0!important;display:flex;flex-direction:column;border:0;border-right:1px solid #dce1e5;border-radius:0;background:#f5f2fa;overflow:hidden!important;color:var(--slm-ink,#373e48);box-sizing:border-box}
.slm-outline-panel *{box-sizing:border-box}
.slm-outline-panel .slm-curriculum{flex:1;min-height:0;max-height:none;overflow:auto;overscroll-behavior:contain}
.slm-outline-panel .slm-side-top,.slm-outline-panel .slm-course-title,.slm-outline-panel .slm-side-progress{flex-shrink:0}
.slm-outline-panel .slm-lesson-link span{font-weight:500}
.slm-outline-panel .slm-lesson-link.is-active{background:#f5f2fa;color:#373e48!important}
@media(max-width:900px){.slm-outline-slot{display:none!important}}
/* Reserve the outline column while the full-height panel lives at body level. */
@media(min-width:901px){body .slm-learning.slm-wide-learning .slm-player:not(.is-one-page)>.slm-content{grid-column:2}}

/* My Learning: quiet sections instead of large nested outer cards. */
body .slm-app.slm-unified-dashboard{box-sizing:border-box;width:100%;max-width:1240px;margin:0 auto;padding:24px 0 36px;}
body .slm-unified-dashboard .slm-dashboard-head{margin:0 0 32px}
body .slm-unified-dashboard .slm-dashboard-head h2{font-size:clamp(32px,4vw,46px);line-height:1.15;margin:6px 0 12px}
body .slm-unified-dashboard .slm-dashboard-head p{margin:0;color:var(--slm-muted)}
body .slm-unified-dashboard .slm-dashboard-section{margin:0;padding:30px 0 0;border:0;border-top:1px solid var(--slm-line,#e3deed);border-radius:0;background:transparent;box-shadow:none}
body .slm-unified-dashboard .slm-dashboard-section+.slm-dashboard-section{margin-top:36px}
body .slm-unified-dashboard .slm-dashboard-section-head{align-items:center;margin:0 0 20px;gap:18px}
body .slm-unified-dashboard .slm-dashboard-section-head .slm-eyebrow{display:none}
body .slm-unified-dashboard .slm-dashboard-section-head h3{font-family:inherit;font-size:clamp(23px,3vw,28px);font-weight:700;line-height:1.2;letter-spacing:-.025em;margin:0 0 7px}
body .slm-unified-dashboard .slm-dashboard-section-head p{font-size:14px;line-height:1.5}
body .slm-unified-dashboard .slm-dashboard-section-head>strong{width:34px;min-width:34px;height:34px;flex:0 0 34px;border:1px solid #e3deed;border-radius:50%;background:#f4f4f2!important;color:var(--slm-ink,#373e48)!important;font-size:12px}
body .slm-unified-dashboard .slm-dashboard-note{padding:22px 24px;border:1px solid #e3e3df;border-radius:12px;background:#f8f8f6;box-shadow:none;gap:18px}
body .slm-unified-dashboard .slm-dashboard-note h4{font-size:17px;margin:0 0 6px}
body .slm-unified-dashboard .slm-dashboard-note p{margin:0;font-size:14px;line-height:1.6}
@media(max-width:760px){body .slm-unified-dashboard .slm-dashboard-note{padding:18px;align-items:flex-start}body .slm-unified-dashboard .slm-dashboard-section-head{align-items:flex-start}body .slm-unified-dashboard .slm-dashboard-head{margin-bottom:26px}}
.slm-outline-panel{line-height:1.55}
.slm-outline-panel a{text-decoration:none}
.slm-outline-panel .slm-module-title{font-family:inherit;font-size:13px;font-weight:600}

/* Keep the outline visually aligned with the lesson rather than the site footer. */
.slm-outline-panel{background:#f5f2fa;border-right-color:#dce5ed}
.slm-outline-panel .slm-module-title{font-weight:500}
.slm-outline-panel .slm-lesson-link.is-active span{font-weight:700}

.slm-outline-panel{transition:none!important}

/* Native sticky rail: sidebar is bounded by the lesson without scroll-position writes. */
.slm-outline-rail{grid-column:1;grid-row:1;align-self:stretch;min-width:0;position:relative;background:#f5f2fa}
.slm-outline-rail[hidden]{display:none!important}
body .slm-learning .slm-outline-rail>.slm-outline-panel{position:sticky!important;top:var(--slm-outline-sticky-top,0px)!important;left:auto!important;right:auto!important;bottom:auto!important;width:100%!important;height:var(--slm-outline-visible-height,calc(100dvh - var(--slm-outline-sticky-top,0px)))!important;max-height:var(--slm-outline-visible-height,calc(100dvh - var(--slm-outline-sticky-top,0px)))!important;transform:none!important;opacity:1!important;visibility:visible!important;transition:none!important;z-index:30}
body .slm-learning .slm-outline-rail>.slm-outline-panel[hidden]{display:none!important}
body .slm-learning.slm-wide-learning .slm-player>.slm-content{grid-row:1}
/* Retire the original arrow-only pseudo-control and any legacy reopening button. */
body .slm-player.is-collapsed .slm-content::before{content:none!important;display:none!important}
.slm-sidebar-reopen:not([data-slm-outline-button="primary"]){display:none!important}
/* A stable, in-page toolbar replaces the floating outline control. */
body .slm-learning .slm-outline-slot{display:flex!important;align-items:center;justify-content:space-between;gap:16px;min-height:64px;height:auto;flex:0 0 auto;padding:12px clamp(20px,3vw,48px);border-bottom:1px solid #e5e9ed;background:#fff}
body .slm-learning .slm-sidebar-reopen.slm-outline-inline{position:static!important;top:auto!important;left:auto!important;right:auto!important;display:inline-flex!important;align-items:center;justify-content:center;width:auto;max-width:100%;height:40px;align-self:auto;margin:0;padding:0 14px;border:1px solid #d4dde5;border-radius:9px;background:#fff;color:#373e48;font:600 13px/1.3 inherit;box-shadow:none;cursor:pointer;animation:none}
body .slm-learning .slm-sidebar-reopen.slm-outline-inline[hidden]{display:none!important}
body .slm-learning .slm-player.is-one-page .slm-outline-slot{display:none!important}
.slm-player.slm-outline-booting,.slm-outline-booting .slm-sidebar{transition:none!important}
.slm-lesson-status-badge{display:inline-flex;align-items:center;gap:6px;margin-left:auto;border:1px solid #dfe5e9;border-radius:99px;padding:7px 12px;font-size:12px;font-weight:650;line-height:1.3;color:#536272;background:#f4f6f7;white-space:nowrap}
.slm-lesson-status-badge.is-complete{border-color:#abd3b7;background:#eaf6ee;color:#145c36}
body .slm-learning .slm-lesson-link.is-done{background:#f0f8f3}
body .slm-learning .slm-lesson-link.is-done>i{background:#176647!important;border-color:#176647!important;color:#fff!important}
body .slm-learning .slm-lesson-link .slm-lesson-completion-label{color:#176647;font-weight:750;font-size:11px;margin-top:5px}
body .slm-learning .slm-lesson-link.is-done.is-active{border-left-color:#176647;background:#e7f3ec}
.slm-completion-notice{margin:0 clamp(20px,3vw,48px) 24px;padding:16px 20px;border:1px solid #abd3b7;border-radius:10px;color:#145c36;background:#eaf6ee;font-weight:650;font-size:15px;line-height:1.5}
.slm-completion-notice[hidden]{display:none!important}
body .slm-learning .slm-complete.is-complete{background:#176647!important;color:#fff!important;opacity:1;cursor:default}
@media(max-width:900px){body .slm-learning .slm-outline-slot{min-height:48px;padding:10px 20px}}
.slm-player.is-one-page>.slm-outline-rail{display:none!important}
.slm-player.is-collapsed>.slm-outline-rail{overflow:hidden;pointer-events:none}

body .slm-learning .slm-sidebar-reopen.slm-outline-inline{transform:none!important;float:none!important}

/* Use one border-box height for both desktop toolbar rows. The content row
   needs 40px for its control, 24px padding and a 1px divider. */
@media(min-width:901px){
  body .slm-learning .slm-player{--slm-toolbar-height:65px}
  body .slm-learning .slm-side-top,
  body .slm-learning .slm-outline-slot{
    box-sizing:border-box!important;
    height:var(--slm-toolbar-height)!important;
    min-height:var(--slm-toolbar-height)!important;
    max-height:var(--slm-toolbar-height)!important;
    flex:0 0 var(--slm-toolbar-height)!important;
    margin:0!important;
    border-bottom:1px solid var(--slm-line,#e3deed)!important;
  }
  body .slm-learning .slm-side-top{padding-block:0!important}
  body .slm-learning .slm-outline-slot{padding-block:12px!important}
}

/* Keep a visible scroll affordance for long desktop lesson lists. */
.slm-outline-panel .slm-curriculum{scrollbar-gutter:stable;scrollbar-width:thin}

/* 1.14.47 — Focused course canvas for the companion theme.
   The theme footer is a direct child of body; the lesson navigation footer
   stays inside the Stellar player and is not affected. */
body.slm-open-pivot-learner-page > footer.footer{
  display:none!important;
}

/* 1.14.49: the dashboard introduction is a heading, not another outer card.
   Match the specificity of course-cards.css so these resets actually win. */
body .slm-app.slm-unified-dashboard .slm-dashboard-head{
  padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;
  margin:0 0 28px;
}
body .slm-app.slm-unified-dashboard .slm-dashboard-head h2{
  font-size:clamp(24px,2.7vw,32px);line-height:1.2;margin:6px 0 10px;
}
body .slm-app.slm-unified-dashboard{
  border:0;border-radius:0;box-shadow:none;background:transparent;
}
/* Use the companion site's own palette only on its account dashboard. */
body .slm-app.slm-unified-dashboard.slm-theme-open-pivot{
  --slm-hub-ink:var(--op-ink,#373e48);
  --slm-hub-muted:var(--op-muted,#5b666a);
  --slm-hub-line:var(--op-line,#dce3df);
  --slm-hub-soft:var(--op-lavender,#f1eef8);
  --op-gold-deep:var(--op-purple,#362c66);
  --slm-brand:var(--op-purple,#362c66);
  --slm-accent:var(--op-teal,#597b7c);
  --slm-button:var(--op-purple,#362c66);
  position:static;left:auto;transform:none;width:100%;max-width:1120px;
  margin:0 auto;padding:36px clamp(16px,3vw,32px) 48px;
}
body .slm-app.slm-unified-dashboard.slm-theme-open-pivot .slm-dashboard-section-head h3{
  font-family:inherit;font-size:clamp(24px,2.7vw,30px);font-weight:400;
}
body .slm-app.slm-unified-dashboard.slm-theme-open-pivot .slm-dashboard-section{
  padding-top:24px;
}

/* 1.14.50: end Open Pivot course routes at the learning canvas so the sticky
   outline does not collapse while the page scrolls through the site footer. */
body.slm-learner-route > footer.op-footer{
  display:none!important;
}
